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.
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.
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.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getPemCertificate
Output only. The PEM-encoded certificate chain.
Returns
Type
Description
string
setPemCertificate
Output only. The PEM-encoded certificate chain.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getExpireTime
Output only. The expiry timestamp of a Certificate.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Certificate Manager V1 Client - Class Certificate (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-certificate-manager/latest/V1.Certificate)\n- [1.0.3](/php/docs/reference/cloud-certificate-manager/1.0.3/V1.Certificate)\n- [0.7.3](/php/docs/reference/cloud-certificate-manager/0.7.3/V1.Certificate)\n- [0.6.0](/php/docs/reference/cloud-certificate-manager/0.6.0/V1.Certificate)\n- [0.5.2](/php/docs/reference/cloud-certificate-manager/0.5.2/V1.Certificate)\n- [0.4.2](/php/docs/reference/cloud-certificate-manager/0.4.2/V1.Certificate)\n- [0.3.7](/php/docs/reference/cloud-certificate-manager/0.3.7/V1.Certificate) \nReference documentation and code samples for the Google Cloud Certificate Manager V1 Client class Certificate.\n\nDefines TLS certificate.\n\nGenerated from protobuf message `google.cloud.certificatemanager.v1.Certificate`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CertificateManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nA user-defined name of the certificate. Certificate names must be unique\nglobally and match pattern `projects/*/locations/*/certificates/*`.\n\n### setName\n\nA user-defined name of the certificate. Certificate names must be unique\nglobally and match pattern `projects/*/locations/*/certificates/*`.\n\n### getDescription\n\nOne or more paragraphs of text description of a certificate.\n\n### setDescription\n\nOne or more paragraphs of text description of a certificate.\n\n### getCreateTime\n\nOutput only. The creation timestamp of a Certificate.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The creation timestamp of a Certificate.\n\n### getUpdateTime\n\nOutput only. The last update timestamp of a Certificate.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The last update timestamp of a Certificate.\n\n### getLabels\n\nSet of labels associated with a Certificate.\n\n### setLabels\n\nSet of labels associated with a Certificate.\n\n### getSelfManaged\n\nIf set, defines data of a self-managed certificate.\n\n### hasSelfManaged\n\n### setSelfManaged\n\nIf set, defines data of a self-managed certificate.\n\n### getManaged\n\nIf set, contains configuration and state of a managed certificate.\n\n### hasManaged\n\n### setManaged\n\nIf set, contains configuration and state of a managed certificate.\n\n### getSanDnsnames\n\nOutput only. The list of Subject Alternative Names of dnsName type defined\nin the certificate (see RFC 5280 4.2.1.6). Managed certificates that\nhaven't been provisioned yet have this field populated with a value of the\nmanaged.domains field.\n\n### setSanDnsnames\n\nOutput only. The list of Subject Alternative Names of dnsName type defined\nin the certificate (see RFC 5280 4.2.1.6). Managed certificates that\nhaven't been provisioned yet have this field populated with a value of the\nmanaged.domains field.\n\n### getPemCertificate\n\nOutput only. The PEM-encoded certificate chain.\n\n### setPemCertificate\n\nOutput only. The PEM-encoded certificate chain.\n\n### getExpireTime\n\nOutput only. The expiry timestamp of a Certificate.\n\n### hasExpireTime\n\n### clearExpireTime\n\n### setExpireTime\n\nOutput only. The expiry timestamp of a Certificate.\n\n### getScope\n\nImmutable. The scope of the certificate.\n\n### setScope\n\nImmutable. The scope of the certificate.\n\n### getType"]]