Class: Google::Apis::DatamigrationV1::AssignSpecificValue
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::AssignSpecificValue
- 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
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssignSpecificValue
constructor
A new instance of AssignSpecificValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssignSpecificValue
Returns a new instance of AssignSpecificValue.
208 209 210 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 208 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
Required. Specific value to be assigned
Corresponds to the JSON property value
206 207 208 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 206 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
213 214 215 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 213 def update!(**args) @value = args[:value] if args.key?(:value) end |