Reference documentation and code samples for the Certificate Manager V1 API class Google::Cloud::CertificateManager::V1::Certificate.
Defines TLS certificate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of a Certificate.
#description
def description() -> ::String- (::String) — Optional. One or more paragraphs of text description of a certificate.
#description=
def description=(value) -> ::String- value (::String) — Optional. One or more paragraphs of text description of a certificate.
- (::String) — Optional. One or more paragraphs of text description of a certificate.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The expiry timestamp of a Certificate.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with a Certificate.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with a Certificate.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with a Certificate.
#managed
def managed() -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate-
(::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate) — If set, contains configuration and state of a managed certificate.
Note: The following fields are mutually exclusive:
managed,self_managed,managed_identity. If a field in that set is populated, all other fields in the set will automatically be cleared.
#managed=
def managed=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate-
value (::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate) — If set, contains configuration and state of a managed certificate.
Note: The following fields are mutually exclusive:
managed,self_managed,managed_identity. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate) — If set, contains configuration and state of a managed certificate.
Note: The following fields are mutually exclusive:
managed,self_managed,managed_identity. If a field in that set is populated, all other fields in the set will automatically be cleared.
#managed_identity
def managed_identity() -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedIdentityCertificate-
(::Google::Cloud::CertificateManager::V1::Certificate::ManagedIdentityCertificate) — If set, contains configuration and state of a managed identity
certificate.
Note: The following fields are mutually exclusive:
managed_identity,self_managed,managed. If a field in that set is populated, all other fields in the set will automatically be cleared.
#managed_identity=
def managed_identity=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedIdentityCertificate-
value (::Google::Cloud::CertificateManager::V1::Certificate::ManagedIdentityCertificate) — If set, contains configuration and state of a managed identity
certificate.
Note: The following fields are mutually exclusive:
managed_identity,self_managed,managed. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CertificateManager::V1::Certificate::ManagedIdentityCertificate) — If set, contains configuration and state of a managed identity
certificate.
Note: The following fields are mutually exclusive:
managed_identity,self_managed,managed. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
def name() -> ::String-
(::String) — Identifier. A user-defined name of the certificate. Certificate names must
be unique globally and match pattern
projects/*/locations/*/certificates/*.
#name=
def name=(value) -> ::String-
value (::String) — Identifier. A user-defined name of the certificate. Certificate names must
be unique globally and match pattern
projects/*/locations/*/certificates/*.
-
(::String) — Identifier. A user-defined name of the certificate. Certificate names must
be unique globally and match pattern
projects/*/locations/*/certificates/*.
#pem_certificate
def pem_certificate() -> ::String- (::String) — Output only. The PEM-encoded certificate chain.
#san_dnsnames
def san_dnsnames() -> ::Array<::String>- (::Array<::String>) — Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.
#scope
def scope() -> ::Google::Cloud::CertificateManager::V1::Certificate::Scope- (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Optional. Immutable. The scope of the certificate.
#scope=
def scope=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::Scope- value (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Optional. Immutable. The scope of the certificate.
- (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Optional. Immutable. The scope of the certificate.
#self_managed
def self_managed() -> ::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate-
(::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate) — If set, defines data of a self-managed certificate.
Note: The following fields are mutually exclusive:
self_managed,managed,managed_identity. If a field in that set is populated, all other fields in the set will automatically be cleared.
#self_managed=
def self_managed=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate-
value (::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate) — If set, defines data of a self-managed certificate.
Note: The following fields are mutually exclusive:
self_managed,managed,managed_identity. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate) — If set, defines data of a self-managed certificate.
Note: The following fields are mutually exclusive:
self_managed,managed,managed_identity. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tags
def tags() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
#tags=
def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing"
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of a Certificate.
#used_by
def used_by() -> ::Array<::Google::Cloud::CertificateManager::V1::Certificate::UsedBy>- (::Array<::Google::Cloud::CertificateManager::V1::Certificate::UsedBy>) — Output only. The list of resources that use this Certificate.