class Google::Apis::ChatV1::GoogleAppsCardV1ImageComponent
Attributes
alt_text[RW]
The accessibility label for the image. Corresponds to the JSON property `altText` @return [String]
border_style[RW]
Represents the complete border style applied to widgets. Corresponds to the JSON property `borderStyle` @return [Google::Apis::ChatV1::GoogleAppsCardV1BorderStyle]
crop_style[RW]
Represents the crop style applied to an image. Corresponds to the JSON property `cropStyle` @return [Google::Apis::ChatV1::GoogleAppsCardV1ImageCropStyle]
image_uri[RW]
The image URL. Corresponds to the JSON property `imageUri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 1587 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 1592 def update!(**args) @alt_text = args[:alt_text] if args.key?(:alt_text) @border_style = args[:border_style] if args.key?(:border_style) @crop_style = args[:crop_style] if args.key?(:crop_style) @image_uri = args[:image_uri] if args.key?(:image_uri) end