Cloud KMS V1 Client - Class CreateImportJobRequest (1.15.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImportJobId

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

Returns
TypeDescription
string

setImportJobId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImportJob

Required. An ImportJob with initial field values.

Returns
TypeDescription
Google\Cloud\Kms\V1\ImportJob|null

hasImportJob

clearImportJob

setImportJob

Required. An ImportJob with initial field values.

Parameter
NameDescription
var Google\Cloud\Kms\V1\ImportJob
Returns
TypeDescription
$this