Class: Google::Apis::DatamanagerV1::ExperimentalField
- Inherits:
-
Object
- Object
- Google::Apis::DatamanagerV1::ExperimentalField
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb
Overview
Experimental field representing unofficial fields.
Instance Attribute Summary collapse
-
#field ⇒ String
Optional.
-
#value ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExperimentalField
constructor
A new instance of ExperimentalField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExperimentalField
Returns a new instance of ExperimentalField.
712 713 714 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 712 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field ⇒ String
Optional. The name of the field to use.
Corresponds to the JSON property field
705 706 707 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 705 def field @field end |
#value ⇒ String
Optional. The value the field to set.
Corresponds to the JSON property value
710 711 712 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 710 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
717 718 719 720 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 717 def update!(**args) @field = args[:field] if args.key?(:field) @value = args[:value] if args.key?(:value) end |