Class: Google::Apis::MigrationcenterV1::ImportJob

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportJob

Returns a new instance of ImportJob.



2136
2137
2138
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2136

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#asset_sourceString

Required. Reference to a source. Corresponds to the JSON property assetSource

Returns:

  • (String)


2089
2090
2091
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2089

def asset_source
  @asset_source
end

#complete_timeString

Output only. The timestamp when the import job was completed. Corresponds to the JSON property completeTime

Returns:

  • (String)


2094
2095
2096
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2094

def complete_time
  @complete_time
end

#create_timeString

Output only. The timestamp when the import job was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2099
2100
2101
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2099

def create_time
  @create_time
end

#display_nameString

Optional. User-friendly display name. Maximum length is 256 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


2104
2105
2106
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2104

def display_name
  @display_name
end

#execution_reportGoogle::Apis::MigrationcenterV1::ExecutionReport

A resource that reports result of the import job execution. Corresponds to the JSON property executionReport



2109
2110
2111
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2109

def execution_report
  @execution_report
end

#labelsHash<String,String>

Labels as key value pairs. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


2114
2115
2116
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2114

def labels
  @labels
end

#nameString

Output only. The full name of the import job. Corresponds to the JSON property name

Returns:

  • (String)


2119
2120
2121
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2119

def name
  @name
end

#stateString

Output only. The state of the import job. Corresponds to the JSON property state

Returns:

  • (String)


2124
2125
2126
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2124

def state
  @state
end

#update_timeString

Output only. The timestamp when the import job was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2129
2130
2131
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2129

def update_time
  @update_time
end

#validation_reportGoogle::Apis::MigrationcenterV1::ValidationReport

A resource that aggregates errors across import job files. Corresponds to the JSON property validationReport



2134
2135
2136
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2134

def validation_report
  @validation_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2141

def update!(**args)
  @asset_source = args[:asset_source] if args.key?(:asset_source)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @execution_report = args[:execution_report] if args.key?(:execution_report)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
  @validation_report = args[:validation_report] if args.key?(:validation_report)
end