Google Cloud Certificate Manager V1 Client - Class CreateTrustConfigRequest (0.7.2)

Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class CreateTrustConfigRequest.

Request for the CreateTrustConfig method.

Generated from protobuf message google.cloud.certificatemanager.v1.CreateTrustConfigRequest

Namespace

Google \ Cloud \ CertificateManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

↳ trust_config_id string

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

↳ trust_config Google\Cloud\CertificateManager\V1\TrustConfig

Required. A definition of the TrustConfig to create.

getParent

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

Returns
Type Description
string

setParent

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getTrustConfigId

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

Returns
Type Description
string

setTrustConfigId

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

Parameter
Name Description
var string
Returns
Type Description
$this

getTrustConfig

Required. A definition of the TrustConfig to create.

Returns
Type Description
Google\Cloud\CertificateManager\V1\TrustConfig|null

hasTrustConfig

clearTrustConfig

setTrustConfig

Required. A definition of the TrustConfig to create.

Parameter
Name Description
var Google\Cloud\CertificateManager\V1\TrustConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the TrustConfig. Must be in the format projects/*/locations/*. Please see Google\Cloud\CertificateManager\V1\CertificateManagerClient::locationName() for help formatting this field.

trustConfig Google\Cloud\CertificateManager\V1\TrustConfig

Required. A definition of the TrustConfig to create.

trustConfigId string

Required. A user-provided name of the TrustConfig. Must match the regexp [a-z0-9-]{1,63}.

Returns
Type Description
Google\Cloud\CertificateManager\V1\CreateTrustConfigRequest