Google Cloud Migration Center V1 Client - Class ImportJob (1.0.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ImportJob.

A resource that represents the background job that imports asset frames.

Generated from protobuf message google.cloud.migrationcenter.v1.ImportJob

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The full name of the import job.

↳ display_name string

User-friendly display name. Maximum length is 63 characters.

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp when the import job was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The timestamp when the import job was last updated.

↳ complete_time Google\Protobuf\Timestamp

Output only. The timestamp when the import job was completed.

↳ state int

Output only. The state of the import job.

↳ labels array|Google\Protobuf\Internal\MapField

Labels as key value pairs.

↳ asset_source string

Required. Reference to a source.

↳ validation_report Google\Cloud\MigrationCenter\V1\ValidationReport

Output only. The report with the validation results of the import job.

↳ execution_report Google\Cloud\MigrationCenter\V1\ExecutionReport

Output only. The report with the results of running the import job.

getName

Output only. The full name of the import job.

Returns
Type Description
string

setName

Output only. The full name of the import job.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

User-friendly display name. Maximum length is 63 characters.

Returns
Type Description
string

setDisplayName

User-friendly display name. Maximum length is 63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The timestamp when the import job was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the import job was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The timestamp when the import job was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the import job was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCompleteTime

Output only. The timestamp when the import job was completed.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCompleteTime

clearCompleteTime

setCompleteTime

Output only. The timestamp when the import job was completed.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getState

Output only. The state of the import job.

Returns
Type Description
int

setState

Output only. The state of the import job.

Parameter
Name Description
var int
Returns
Type Description
$this

getLabels

Labels as key value pairs.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getAssetSource

Required. Reference to a source.

Returns
Type Description
string

setAssetSource

Required. Reference to a source.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidationReport

Output only. The report with the validation results of the import job.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\ValidationReport|null

hasValidationReport

setValidationReport

Output only. The report with the validation results of the import job.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\ValidationReport
Returns
Type Description
$this

getExecutionReport

Output only. The report with the results of running the import job.

Returns
Type Description
Google\Cloud\MigrationCenter\V1\ExecutionReport|null

hasExecutionReport

setExecutionReport

Output only. The report with the results of running the import job.

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\ExecutionReport
Returns
Type Description
$this

getReport

Returns
Type Description
string