Google Cloud Migration Center V1 Client - Class ImportJob (0.1.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

hasCreateTime

clearCreateTime

setCreateTime

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

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

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

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
Name
Description
Returns
Type
Description
$this

getCompleteTime

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

Returns
Type
Description

hasCompleteTime

clearCompleteTime

setCompleteTime

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

Parameter
Name
Description
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

setLabels

Labels as key value pairs.

Parameter
Name
Description
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

hasValidationReport

setValidationReport

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

Parameter
Name
Description
Returns
Type
Description
$this

getExecutionReport

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

Returns
Type
Description

hasExecutionReport

setExecutionReport

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

Parameter
Name
Description
Returns
Type
Description
$this

getReport

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: