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

setName

Output only. The full name of the import job.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

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

Returns
TypeDescription
string

setDisplayName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCompleteTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCompleteTime

clearCompleteTime

setCompleteTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. The state of the import job.

Returns
TypeDescription
int

setState

Output only. The state of the import job.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLabels

Labels as key value pairs.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels as key value pairs.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getAssetSource

Required. Reference to a source.

Returns
TypeDescription
string

setAssetSource

Required. Reference to a source.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidationReport

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

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ValidationReport|null

hasValidationReport

setValidationReport

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

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ValidationReport
Returns
TypeDescription
$this

getExecutionReport

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

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\ExecutionReport|null

hasExecutionReport

setExecutionReport

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

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\ExecutionReport
Returns
TypeDescription
$this

getReport

Returns
TypeDescription
string