Class: Google::Apis::ContentV2_1::InputValueTextInputValue

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Value for text input field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InputValueTextInputValue

Returns a new instance of InputValueTextInputValue.



5537
5538
5539
# File 'lib/google/apis/content_v2_1/classes.rb', line 5537

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

Instance Attribute Details

#valueString

Required. Text provided by the merchant. Corresponds to the JSON property value

Returns:

  • (String)


5535
5536
5537
# File 'lib/google/apis/content_v2_1/classes.rb', line 5535

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5542
5543
5544
# File 'lib/google/apis/content_v2_1/classes.rb', line 5542

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