Class: Google::Apis::CloudsearchV1::Button
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Button
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#image_button ⇒ Google::Apis::CloudsearchV1::ImageButton
Corresponds to the JSON property
imageButton. -
#text_button ⇒ Google::Apis::CloudsearchV1::TextButton
Corresponds to the JSON property
textButton.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Button
constructor
A new instance of Button.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Button
Returns a new instance of Button.
5075 5076 5077 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_button ⇒ Google::Apis::CloudsearchV1::ImageButton
Corresponds to the JSON property imageButton
5068 5069 5070 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5068 def @image_button end |
#text_button ⇒ Google::Apis::CloudsearchV1::TextButton
Corresponds to the JSON property textButton
5073 5074 5075 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5073 def @text_button end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5080 5081 5082 5083 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5080 def update!(**args) @image_button = args[:image_button] if args.key?(:image_button) @text_button = args[:text_button] if args.key?(:text_button) end |