Google Cloud Public Certificate Authority V1beta1 Client - Class CreateExternalAccountKeyRequest (0.3.4)

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

Creates a new ExternalAccountKey in a given project.

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

Namespace

Google \ Cloud \ Security \ PublicCA \ V1beta1

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 Google\Cloud\Security\PublicCA\V1beta1\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
Google\Cloud\Security\PublicCA\V1beta1\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 Google\Cloud\Security\PublicCA\V1beta1\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 Google\Cloud\Security\PublicCA\V1beta1\PublicCertificateAuthorityServiceClient::locationName() for help formatting this field.

externalAccountKey Google\Cloud\Security\PublicCA\V1beta1\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
Google\Cloud\Security\PublicCA\V1beta1\CreateExternalAccountKeyRequest