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) — One or more paragraphs of text description of a certificate.
#description=
def description=(value) -> ::String
- value (::String) — One or more paragraphs of text description of a certificate.
- (::String) — 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}) — Set of labels associated with a Certificate.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Set of labels associated with a Certificate.
- (::Google::Protobuf::Map{::String => ::String}) — 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
. 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
. 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
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#name
def name() -> ::String
-
(::String) — 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) — A user-defined name of the certificate. Certificate names must be unique
globally and match pattern
projects/*/locations/*/certificates/*
.
-
(::String) — 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) — Immutable. The scope of the certificate.
#scope=
def scope=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::Scope
- value (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Immutable. The scope of the certificate.
- (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — 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
. 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
. 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
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of a Certificate.