Class: Google::Apis::DatamigrationV1::SourceObjectsConfig

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

List of configurations for the source objects to be migrated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceObjectsConfig

Returns a new instance of SourceObjectsConfig.



5222
5223
5224
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5222

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

Instance Attribute Details

#object_configsArray<Google::Apis::DatamigrationV1::SourceObjectConfig>

Optional. The list of the objects to be migrated. Corresponds to the JSON property objectConfigs



5215
5216
5217
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5215

def object_configs
  @object_configs
end

#objects_selection_typeString

Optional. The objects selection type of the migration job. Corresponds to the JSON property objectsSelectionType

Returns:

  • (String)


5220
5221
5222
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5220

def objects_selection_type
  @objects_selection_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5227
5228
5229
5230
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5227

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