Class: Google::Apis::ContentV2_1::InputValueTextInputValue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::InputValueTextInputValue
- 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
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InputValueTextInputValue
constructor
A new instance of InputValueTextInputValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#value ⇒ String
Required. Text provided by the merchant.
Corresponds to the JSON property value
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 |