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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\Security\PublicCA\V1beta1\ExternalAccountKey
Returns
TypeDescription
$this