Cloud KMS V1 Client - Class CreateImportJobRequest (1.22.1)

Reference documentation and code samples for the Cloud KMS V1 Client class CreateImportJobRequest.

Request message for KeyManagementService.CreateImportJob.

Generated from protobuf message google.cloud.kms.v1.CreateImportJobRequest

Namespace

Google \ Cloud \ Kms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the KeyRing associated with the ImportJobs.

↳ import_job_id string

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

↳ import_job Google\Cloud\Kms\V1\ImportJob

Required. An ImportJob with initial field values.

getParent

Required. The name of the KeyRing associated with the ImportJobs.

Returns
Type Description
string

setParent

Required. The name of the KeyRing associated with the ImportJobs.

Parameter
Name Description
var string
Returns
Type Description
$this

getImportJobId

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

Returns
Type Description
string

setImportJobId

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

Parameter
Name Description
var string
Returns
Type Description
$this

getImportJob

Required. An ImportJob with initial field values.

Returns
Type Description
Google\Cloud\Kms\V1\ImportJob|null

hasImportJob

clearImportJob

setImportJob

Required. An ImportJob with initial field values.

Parameter
Name Description
var Google\Cloud\Kms\V1\ImportJob
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The name of the KeyRing associated with the ImportJobs. Please see Google\Cloud\Kms\V1\KeyManagementServiceClient::keyRingName() for help formatting this field.

importJobId string

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

importJob Google\Cloud\Kms\V1\ImportJob

Required. An ImportJob with initial field values.

Returns
Type Description
Google\Cloud\Kms\V1\CreateImportJobRequest