Google Certificate Authority Service V1 Client - Class Certificate (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Certificate Authority Service V1 Client class Certificate.
Output only. The resource name of the issuing
CertificateAuthority
in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.
Returns
Type
Description
string
setIssuerCertificateAuthority
Output only. The resource name of the issuing
CertificateAuthority
in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLifetime
Required. Immutable. The desired lifetime of a certificate. Used to create
the "not_before_time" and "not_after_time" fields inside an X.509
certificate. Note that the lifetime may be truncated if it would extend
past the life of any certificate authority in the issuing chain.
Required. Immutable. The desired lifetime of a certificate. Used to create
the "not_before_time" and "not_after_time" fields inside an X.509
certificate. Note that the lifetime may be truncated if it would extend
past the life of any certificate authority in the issuing chain.
Immutable. The resource name for a
CertificateTemplate
used to issue this certificate, in the format
projects/*/locations/*/certificateTemplates/*.
If this is specified, the caller must have the necessary permission to
use this template. If this is omitted, no template will be used.
This template must be in the same location as the
Certificate.
Returns
Type
Description
string
setCertificateTemplate
Immutable. The resource name for a
CertificateTemplate
used to issue this certificate, in the format
projects/*/locations/*/certificateTemplates/*.
If this is specified, the caller must have the necessary permission to
use this template. If this is omitted, no template will be used.
This template must be in the same location as the
Certificate.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSubjectMode
Immutable. Specifies how the
Certificate's identity
fields are to be decided. If this is omitted, the DEFAULT subject mode
will be used.
[[["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 2026-03-18 UTC."],[],[]]