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.



2120
2121
2122
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2120

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)


2113
2114
2115
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2113

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


2118
2119
2120
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2118

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2125
2126
2127
2128
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2125

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