Class: Google::Apis::CloudsearchV1::FixedFooter

Inherits:
Object
  • Object
show all
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

Overview

A persistent (sticky) footer that is added to the bottom of the card.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FixedFooter

Returns a new instance of FixedFooter.



9128
9129
9130
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9128

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

Instance Attribute Details

#buttonsArray<Google::Apis::CloudsearchV1::Button>

Corresponds to the JSON property buttons



9116
9117
9118
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9116

def buttons
  @buttons
end

#primary_buttonGoogle::Apis::CloudsearchV1::TextButton

Corresponds to the JSON property primaryButton



9121
9122
9123
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9121

def primary_button
  @primary_button
end

#secondary_buttonGoogle::Apis::CloudsearchV1::TextButton

Corresponds to the JSON property secondaryButton



9126
9127
9128
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9126

def secondary_button
  @secondary_button
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9133
9134
9135
9136
9137
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9133

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