class Google::Apis::ChatV1::GoogleAppsCardV1Icon
Attributes
alt_text[RW]
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` @return [String]
icon_url[RW]
The icon specified by a URL. Corresponds to the JSON property `iconUrl` @return [String]
image_type[RW]
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` @return [String]
known_icon[RW]
The icon specified by the string name of a list of known icons Corresponds to the JSON property `knownIcon` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 1519 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/chat_v1/classes.rb, line 1524 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