Class: Google::Apis::CloudsearchV1::Toolbar
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::Toolbar
- 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
The Toolbar markup has been deprecated. The information is now specified in the manifest.
Instance Attribute Summary collapse
-
#color ⇒ String
Background color of the toolbar in RBG hex representation.
-
#icon_url ⇒ String
Corresponds to the JSON property
iconUrl. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Toolbar
constructor
A new instance of Toolbar.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Toolbar
Returns a new instance of Toolbar.
16867 16868 16869 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#color ⇒ String
Background color of the toolbar in RBG hex representation.
Corresponds to the JSON property color
16855 16856 16857 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16855 def color @color end |
#icon_url ⇒ String
Corresponds to the JSON property iconUrl
16860 16861 16862 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16860 def icon_url @icon_url end |
#name ⇒ String
Corresponds to the JSON property name
16865 16866 16867 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16865 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16872 16873 16874 16875 16876 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16872 def update!(**args) @color = args[:color] if args.key?(:color) @icon_url = args[:icon_url] if args.key?(:icon_url) @name = args[:name] if args.key?(:name) end |