Google Cloud Certificate Manager V1 Client - Class TrustConfig (1.1.2)

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

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

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

Set of labels associated with a TrustConfig.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Set of labels associated with a TrustConfig.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getDescription

One or more paragraphs of text description of a TrustConfig.

Returns
Type Description
string

setDescription

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

getTrustStores

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.

Returns
Type Description
Google\Protobuf\RepeatedField<TrustConfig\TrustStore>

setTrustStores

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.

Parameter
Name Description
var array<TrustConfig\TrustStore>
Returns
Type Description
$this