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
Returns
- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of a Certificate.
#description
def description() -> ::String
Returns
- (::String) — One or more paragraphs of text description of a certificate.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — One or more paragraphs of text description of a certificate.
Returns
- (::String) — One or more paragraphs of text description of a certificate.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The expiry timestamp of a Certificate.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Set of labels associated with a Certificate.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Set of labels associated with a Certificate.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Set of labels associated with a Certificate.
#managed
def managed() -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate
Returns
- (::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate) — If set, contains configuration and state of a managed certificate.
#managed=
def managed=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate
Parameter
- value (::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate) — If set, contains configuration and state of a managed certificate.
Returns
- (::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate) — If set, contains configuration and state of a managed certificate.
#name
def name() -> ::String
Returns
-
(::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
Parameter
-
value (::String) — A user-defined name of the certificate. Certificate names must be unique
globally and match pattern
projects/*/locations/*/certificates/*
.
Returns
-
(::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
Returns
- (::String) — Output only. The PEM-encoded certificate chain.
#san_dnsnames
def san_dnsnames() -> ::Array<::String>
Returns
- (::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
Returns
- (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Immutable. The scope of the certificate.
#scope=
def scope=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::Scope
Parameter
- value (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Immutable. The scope of the certificate.
Returns
- (::Google::Cloud::CertificateManager::V1::Certificate::Scope) — Immutable. The scope of the certificate.
#self_managed
def self_managed() -> ::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate
Returns
- (::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate) — If set, defines data of a self-managed certificate.
#self_managed=
def self_managed=(value) -> ::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate
Parameter
- value (::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate) — If set, defines data of a self-managed certificate.
Returns
- (::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate) — If set, defines data of a self-managed certificate.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of a Certificate.