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.



2230
2231
2232
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2230

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)


2223
2224
2225
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2223

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>)


2228
2229
2230
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2228

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2235
2236
2237
2238
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2235

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