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.



1969
1970
1971
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1969

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

Instance Attribute Details

#asset_sourceString

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

Returns:

  • (String)


1922
1923
1924
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1922

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)


1927
1928
1929
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1927

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)


1932
1933
1934
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1932

def create_time
  @create_time
end

#display_nameString

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

Returns:

  • (String)


1937
1938
1939
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1937

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



1942
1943
1944
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1942

def execution_report
  @execution_report
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1947
1948
1949
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1947

def labels
  @labels
end

#nameString

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

Returns:

  • (String)


1952
1953
1954
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1952

def name
  @name
end

#stateString

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

Returns:

  • (String)


1957
1958
1959
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1957

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)


1962
1963
1964
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1962

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



1967
1968
1969
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1967

def validation_report
  @validation_report
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1974

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