Class: Google::Apis::DatamigrationV1::AssignSpecificValue

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

Set to a specific value (value is converted to fit the target data type)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssignSpecificValue

Returns a new instance of AssignSpecificValue.



200
201
202
# File 'lib/google/apis/datamigration_v1/classes.rb', line 200

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

Instance Attribute Details

#valueString

Required. Specific value to be assigned Corresponds to the JSON property value

Returns:

  • (String)


198
199
200
# File 'lib/google/apis/datamigration_v1/classes.rb', line 198

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



205
206
207
# File 'lib/google/apis/datamigration_v1/classes.rb', line 205

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