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.



5766
5767
5768
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5766

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



5759
5760
5761
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5759

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)


5764
5765
5766
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5764

def objects_selection_type
  @objects_selection_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5771
5772
5773
5774
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5771

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