Google Cloud Public Certificate Authority V1 Client - Class CreateExternalAccountKeyRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Public Certificate Authority V1 Client class CreateExternalAccountKeyRequest.

Creates a new ExternalAccountKey in a given project.

Generated from protobuf message google.cloud.security.publicca.v1.CreateExternalAccountKeyRequest

Namespace

Google \ Cloud \ Security \ PublicCA \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

↳ external_account_key ExternalAccountKey

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

getParent

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

Returns
Type Description
string

setParent

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported.

Parameter
Name Description
var string
Returns
Type Description
$this

getExternalAccountKey

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

Returns
Type Description
ExternalAccountKey|null

hasExternalAccountKey

clearExternalAccountKey

setExternalAccountKey

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

Parameter
Name Description
var ExternalAccountKey
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this external_account_key will be created. Format: projects/[project_id]/locations/[location]. At present only the "global" location is supported. Please see PublicCertificateAuthorityServiceClient::locationName() for help formatting this field.

externalAccountKey ExternalAccountKey

Required. The external account key to create. This field only exists to future-proof the API. At present, all fields in ExternalAccountKey are output only and all values are ignored. For the purpose of the CreateExternalAccountKeyRequest, set it to a default/empty value.

Returns
Type Description
CreateExternalAccountKeyRequest