Class: Google::Apis::ContentV2_1::InputFieldCheckboxInput

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

Checkbox input allows merchants to provide a boolean value. Corresponds to the html input type=checkbox. If merchant checks the box, the input value for the field is true, otherwise it is false. This type of input is often used as a confirmation that the merchant completed required steps before they are allowed to start the action. In such a case, the input field is marked as required and the button to trigger the action should stay disabled until the merchant checks the box.

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InputFieldCheckboxInput

Returns a new instance of InputFieldCheckboxInput.



5298
5299
5300
# File 'lib/google/apis/content_v2_1/classes.rb', line 5298

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

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5303
5304
# File 'lib/google/apis/content_v2_1/classes.rb', line 5303

def update!(**args)
end