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.
1272 1273 1274 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1272 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
1265 1266 1267 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1265 def field @field end |
#value ⇒ String
Optional. The value the field to set.
Corresponds to the JSON property value
1270 1271 1272 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1270 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1277 1278 1279 1280 |
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1277 def update!(**args) @field = args[:field] if args.key?(:field) @value = args[:value] if args.key?(:value) end |