Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedIcon
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedIcon
- 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
-
#alt_text ⇒ String
The description of the icon, used for accessibility.
-
#icon_url ⇒ String
The icon specified by a URL.
-
#image_type ⇒ String
The crop style applied to the image.
-
#known_icon ⇒ String
The icon specified by the string name of a list of known icons Corresponds to the JSON property
knownIcon.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedIcon
constructor
A new instance of AppsDynamiteSharedIcon.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedIcon
Returns a new instance of AppsDynamiteSharedIcon.
2496 2497 2498 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alt_text ⇒ String
The description of the icon, used for accessibility. The default value is
provided if you don't specify one.
Corresponds to the JSON property altText
2478 2479 2480 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2478 def alt_text @alt_text end |
#icon_url ⇒ String
The icon specified by a URL.
Corresponds to the JSON property iconUrl
2483 2484 2485 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2483 def icon_url @icon_url end |
#image_type ⇒ String
The crop style applied to the image. In some cases, applying a CIRCLE crop
causes the image to be drawn larger than a standard icon.
Corresponds to the JSON property imageType
2489 2490 2491 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2489 def image_type @image_type end |
#known_icon ⇒ String
The icon specified by the string name of a list of known icons
Corresponds to the JSON property knownIcon
2494 2495 2496 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2494 def known_icon @known_icon end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2501 2502 2503 2504 2505 2506 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2501 def update!(**args) @alt_text = args[:alt_text] if args.key?(:alt_text) @icon_url = args[:icon_url] if args.key?(:icon_url) @image_type = args[:image_type] if args.key?(:image_type) @known_icon = args[:known_icon] if args.key?(:known_icon) end |