Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class Certificate.
Defines TLS certificate.
Generated from protobuf message google.cloud.certificatemanager.v1.Certificate
Namespace
Google \ Cloud \ CertificateManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*
.
↳ description
string
One or more paragraphs of text description of a certificate.
↳ create_time
↳ update_time
↳ labels
↳ self_managed
Google\Cloud\CertificateManager\V1\Certificate\SelfManagedCertificate
If set, defines data of a self-managed certificate.
↳ managed
Google\Cloud\CertificateManager\V1\Certificate\ManagedCertificate
If set, contains configuration and state of a managed certificate.
↳ san_dnsnames
array
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.
↳ pem_certificate
string
Output only. The PEM-encoded certificate chain.
↳ expire_time
↳ scope
int
Immutable. The scope of the certificate.
getName
A user-defined name of the certificate. Certificate names must be unique
globally and match pattern projects/*/locations/*/certificates/*
.
string
setName
A user-defined name of the certificate. Certificate names must be unique
globally and match pattern projects/*/locations/*/certificates/*
.
var
string
$this
getDescription
One or more paragraphs of text description of a certificate.
string
setDescription
One or more paragraphs of text description of a certificate.
var
string
$this
getCreateTime
Output only. The creation timestamp of a Certificate.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation timestamp of a Certificate.
$this
getUpdateTime
Output only. The last update timestamp of a Certificate.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update timestamp of a Certificate.
$this
getLabels
Set of labels associated with a Certificate.
setLabels
Set of labels associated with a Certificate.
$this
getSelfManaged
If set, defines data of a self-managed certificate.
hasSelfManaged
setSelfManaged
If set, defines data of a self-managed certificate.
$this
getManaged
If set, contains configuration and state of a managed certificate.
hasManaged
setManaged
If set, contains configuration and state of a managed certificate.
$this
getSanDnsnames
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.
setSanDnsnames
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.
var
string[]
$this
getPemCertificate
Output only. The PEM-encoded certificate chain.
string
setPemCertificate
Output only. The PEM-encoded certificate chain.
var
string
$this
getExpireTime
Output only. The expiry timestamp of a Certificate.
hasExpireTime
clearExpireTime
setExpireTime
Output only. The expiry timestamp of a Certificate.
$this
getScope
Immutable. The scope of the certificate.
int
setScope
Immutable. The scope of the certificate.
var
int
$this
getType
string