Class: Google::Apis::ContentV2_1::InputValueCheckboxInputValue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::InputValueCheckboxInputValue
- 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 checkbox input field.
Instance Attribute Summary collapse
-
#value ⇒ Boolean
(also: #value?)
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InputValueCheckboxInputValue
constructor
A new instance of InputValueCheckboxInputValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InputValueCheckboxInputValue
Returns a new instance of InputValueCheckboxInputValue.
5451 5452 5453 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ Boolean Also known as: value?
Required. True if the merchant checked the box field. False otherwise.
Corresponds to the JSON property value
5448 5449 5450 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5448 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5456 5457 5458 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 5456 def update!(**args) @value = args[:value] if args.key?(:value) end |