Class: Google::Apis::DatamigrationV1::SourceObjectConfig

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

Config for a single migration job object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceObjectConfig

Returns a new instance of SourceObjectConfig.



4905
4906
4907
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4905

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

Instance Attribute Details

#object_identifierGoogle::Apis::DatamigrationV1::SourceObjectIdentifier

An identifier for the Migration Job Object. Corresponds to the JSON property objectIdentifier



4903
4904
4905
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4903

def object_identifier
  @object_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4910
4911
4912
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4910

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