Class: Google::Apis::DatamigrationV1::ImportRulesJobDetails

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

Overview

Details regarding an Import Rules background job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportRulesJobDetails

Returns a new instance of ImportRulesJobDetails.



2261
2262
2263
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2261

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

Instance Attribute Details

#file_formatString

Output only. The requested file format. Corresponds to the JSON property fileFormat

Returns:

  • (String)


2254
2255
2256
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2254

def file_format
  @file_format
end

#filesArray<String>

Output only. File names used for the import rules job. Corresponds to the JSON property files

Returns:

  • (Array<String>)


2259
2260
2261
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2259

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2266
2267
2268
2269
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2266

def update!(**args)
  @file_format = args[:file_format] if args.key?(:file_format)
  @files = args[:files] if args.key?(:files)
end