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.



5489
5490
5491
# File 'lib/google/apis/content_v2_1/classes.rb', line 5489

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

Instance Attribute Details

#valueString

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

Returns:

  • (String)


5487
5488
5489
# File 'lib/google/apis/content_v2_1/classes.rb', line 5487

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5494
5495
5496
# File 'lib/google/apis/content_v2_1/classes.rb', line 5494

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