Google Cloud Certificate Manager V1 Client - Class TrustConfig (1.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class TrustConfig.
Defines a trust config.
Generated from protobuf message google.cloud.certificatemanager.v1.TrustConfig
Namespace
Google \ Cloud \ CertificateManager \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
Identifier. A user-defined name of the trust config. TrustConfig names must
be unique globally and match pattern
projects/*/locations/*/trustConfigs/*.
Returns
Type
Description
string
setName
Identifier. A user-defined name of the trust config. TrustConfig names must
be unique globally and match pattern
projects/*/locations/*/trustConfigs/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The creation timestamp of a TrustConfig.
Returns
Type
Description
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation timestamp of a TrustConfig.
Parameter
Name
Description
var
Google\Protobuf\Timestamp
Returns
Type
Description
$this
getUpdateTime
Output only. The last update timestamp of a TrustConfig.
Returns
Type
Description
Google\Protobuf\Timestamp|null
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last update timestamp of a TrustConfig.
Parameter
Name
Description
var
Google\Protobuf\Timestamp
Returns
Type
Description
$this
getLabels
Optional. Set of labels associated with a TrustConfig.
Returns
Type
Description
Google\Protobuf\Internal\MapField
setLabels
Optional. Set of labels associated with a TrustConfig.
Parameter
Name
Description
var
array|Google\Protobuf\Internal\MapField
Returns
Type
Description
$this
getDescription
Optional. One or more paragraphs of text description of a TrustConfig.
Returns
Type
Description
string
setDescription
Optional. One or more paragraphs of text description of a TrustConfig.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEtag
This checksum is computed by the server based on the value of other
fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.
Returns
Type
Description
string
setEtag
This checksum is computed by the server based on the value of other
fields, and may be sent on update and delete requests to ensure the
client has an up-to-date value before proceeding.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSpiffeTrustStores
Optional. Defines a mapping from a trust domain to a TrustStore. This is
used for SPIFFE certificate validation.
Returns
Type
Description
Google\Protobuf\Internal\MapField
setSpiffeTrustStores
Optional. Defines a mapping from a trust domain to a TrustStore. This is
used for SPIFFE certificate validation.
Parameter
Name
Description
var
array|Google\Protobuf\Internal\MapField
Returns
Type
Description
$this
getTrustStores
Optional. Set of trust stores to perform validation against.
This field is supported when TrustConfig is configured with Load Balancers,
currently not supported for SPIFFE certificate validation.
Only one TrustStore specified is currently allowed.
Optional. Set of trust stores to perform validation against.
This field is supported when TrustConfig is configured with Load Balancers,
currently not supported for SPIFFE certificate validation.
Only one TrustStore specified is currently allowed.
Optional. A certificate matching an allowlisted certificate is always
considered valid as long as the certificate is parseable, proof of private
key possession is established, and constraints on the certificate's SAN
field are met.
Optional. A certificate matching an allowlisted certificate is always
considered valid as long as the certificate is parseable, proof of private
key possession is established, and constraints on the certificate's SAN
field are met.
Optional. Input only. Immutable. Tag keys/values directly bound to this
resource. For example:
"123/environment": "production",
"123/costCenter": "marketing"
Returns
Type
Description
Google\Protobuf\Internal\MapField
setTags
Optional. Input only. Immutable. Tag keys/values directly bound to this
resource. For example:
"123/environment": "production",
"123/costCenter": "marketing"
[[["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-10-28 UTC."],[],[]]