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.



4955
4956
4957
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4955

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

Instance Attribute Details

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

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



4948
4949
4950
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4948

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)


4953
4954
4955
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4953

def objects_selection_type
  @objects_selection_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4960
4961
4962
4963
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4960

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