Class: Google::Apis::MigrationcenterV1::ImportJob
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ImportJob
- 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
-
#asset_source ⇒ String
Required.
-
#complete_time ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#execution_report ⇒ Google::Apis::MigrationcenterV1::ExecutionReport
A resource that reports result of the import job execution.
-
#labels ⇒ Hash<String,String>
Labels as key value pairs.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#validation_report ⇒ Google::Apis::MigrationcenterV1::ValidationReport
A resource that aggregates errors across import job files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportJob
constructor
A new instance of ImportJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImportJob
Returns a new instance of ImportJob.
2011 2012 2013 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_source ⇒ String
Required. Reference to a source.
Corresponds to the JSON property assetSource
1964 1965 1966 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1964 def asset_source @asset_source end |
#complete_time ⇒ String
Output only. The timestamp when the import job was completed.
Corresponds to the JSON property completeTime
1969 1970 1971 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1969 def complete_time @complete_time end |
#create_time ⇒ String
Output only. The timestamp when the import job was created.
Corresponds to the JSON property createTime
1974 1975 1976 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1974 def create_time @create_time end |
#display_name ⇒ String
Optional. User-friendly display name. Maximum length is 256 characters.
Corresponds to the JSON property displayName
1979 1980 1981 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1979 def display_name @display_name end |
#execution_report ⇒ Google::Apis::MigrationcenterV1::ExecutionReport
A resource that reports result of the import job execution.
Corresponds to the JSON property executionReport
1984 1985 1986 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1984 def execution_report @execution_report end |
#labels ⇒ Hash<String,String>
Labels as key value pairs.
Corresponds to the JSON property labels
1989 1990 1991 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1989 def labels @labels end |
#name ⇒ String
Output only. The full name of the import job.
Corresponds to the JSON property name
1994 1995 1996 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1994 def name @name end |
#state ⇒ String
Output only. The state of the import job.
Corresponds to the JSON property state
1999 2000 2001 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1999 def state @state end |
#update_time ⇒ String
Output only. The timestamp when the import job was last updated.
Corresponds to the JSON property updateTime
2004 2005 2006 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2004 def update_time @update_time end |
#validation_report ⇒ Google::Apis::MigrationcenterV1::ValidationReport
A resource that aggregates errors across import job files.
Corresponds to the JSON property validationReport
2009 2010 2011 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2009 def validation_report @validation_report end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2016 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 |