Google Cloud Certificate Manager V1 Client - Class TrustConfig (1.0.0-RC1)

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.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation timestamp of a TrustConfig.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update timestamp of a TrustConfig.

↳ labels array|Google\Protobuf\Internal\MapField

Set of labels associated with a TrustConfig.

↳ description string

One or more paragraphs of text description of a TrustConfig.

↳ etag string

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.

↳ trust_stores array<Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore>

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.

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\Internal\RepeatedField

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<Google\Cloud\CertificateManager\V1\TrustConfig\TrustStore>
Returns
Type Description
$this