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.



712
713
714
# File 'lib/google/apis/datamanager_v1/classes.rb', line 712

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)


705
706
707
# File 'lib/google/apis/datamanager_v1/classes.rb', line 705

def field
  @field
end

#valueString

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

Returns:

  • (String)


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