Class: Google::Apis::DatamanagerV1::ExperimentalField

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExperimentalField

Returns a new instance of ExperimentalField.



858
859
860
# File 'lib/google/apis/datamanager_v1/classes.rb', line 858

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

Instance Attribute Details

#fieldString

Optional. The name of the field to use. Corresponds to the JSON property field

Returns:

  • (String)


851
852
853
# File 'lib/google/apis/datamanager_v1/classes.rb', line 851

def field
  @field
end

#valueString

Optional. The value the field to set. Corresponds to the JSON property value

Returns:

  • (String)


856
857
858
# File 'lib/google/apis/datamanager_v1/classes.rb', line 856

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



863
864
865
866
# File 'lib/google/apis/datamanager_v1/classes.rb', line 863

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