Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,8 @@ class Certificate(proto.Message):
Certificate.
scope (google.cloud.certificate_manager_v1.types.Certificate.Scope):
Immutable. The scope of the certificate.
used_by (MutableSequence[google.cloud.certificate_manager_v1.types.Certificate.UsedBy]):
Output only. The list of resources that use this Certificate.
"""

class Scope(proto.Enum):
Expand Down Expand Up @@ -921,6 +923,25 @@ class SelfManagedCertificate(proto.Message):
number=2,
)

class UsedBy(proto.Message):
r"""Defines a resource that uses the certificate.

Attributes:
name (str):
Output only. Full name of the resource, as defined in
`AIP-122 <https://google.aip.dev/122#full-resource-names>`_,
e.g.
``//certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/*``
or
``//compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*``.
"""

name: str = proto.Field(
proto.STRING,
number=1,
)


class ManagedCertificate(proto.Message):
r"""Configuration and state of a Managed Certificate.
Certificate Manager provisions and renews Managed Certificates
Expand Down Expand Up @@ -1203,6 +1224,13 @@ class FailureReason(proto.Enum):
number=12,
enum=Scope,
)
used_by: MutableSequence[UsedBy] = proto.RepeatedField(
proto.MESSAGE,
number=10,
message=UsedBy,
)
Comment thread
mervin008 marked this conversation as resolved.




Comment thread
mervin008 marked this conversation as resolved.
class CertificateMap(proto.Message):
Expand Down
Loading