# Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::ImportJob (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::ImportJob.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #asset_source

    def asset_source() -> ::String

**Returns**

- (::String) --- Required. Reference to a source.

### #asset_source=

    def asset_source=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Reference to a source.
**Returns**

- (::String) --- Required. Reference to a source.

### #complete_time

    def complete_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the import job was completed.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the import job was created.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- User-friendly display name. Maximum length is 63 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- User-friendly display name. Maximum length is 63 characters.
**Returns**

- (::String) --- User-friendly display name. Maximum length is 63 characters.

### #execution_report

    def execution_report() -> ::Google::Cloud::MigrationCenter::V1::ExecutionReport

**Returns**

- ([::Google::Cloud::MigrationCenter::V1::ExecutionReport](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-ExecutionReport)) --- Output only. The report with the results of running the import job.


  Note: The following fields are mutually exclusive: `execution_report`, `validation_report`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels as key value pairs.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Labels as key value pairs.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels as key value pairs.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The full name of the import job.

### #state

    def state() -> ::Google::Cloud::MigrationCenter::V1::ImportJob::ImportJobState

**Returns**

- ([::Google::Cloud::MigrationCenter::V1::ImportJob::ImportJobState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-ImportJob-ImportJobState)) --- Output only. The state of the import job.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the import job was last updated.

### #validation_report

    def validation_report() -> ::Google::Cloud::MigrationCenter::V1::ValidationReport

**Returns**

- ([::Google::Cloud::MigrationCenter::V1::ValidationReport](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-ValidationReport)) --- Output only. The report with the validation results of the import job.


  Note: The following fields are mutually exclusive: `validation_report`, `execution_report`. If a field in that set is populated, all other fields in the set will automatically be cleared.