Class: Google::Apps::Chat::V1::WidgetMarkup::Image
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::WidgetMarkup::Image
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/widgets.rb
Overview
An image that's specified by a URL and can have an onclick
action.
Instance Attribute Summary collapse
-
#aspect_ratio ⇒ ::Float
The aspect ratio of this image (width and height).
-
#image_url ⇒ ::String
The URL of the image.
-
#on_click ⇒ ::Google::Apps::Chat::V1::WidgetMarkup::OnClick
The
onclick
action.
Instance Attribute Details
#aspect_ratio ⇒ ::Float
Returns The aspect ratio of this image (width and height). This field lets you reserve the right height for the image while waiting for it to load. It's not meant to override the built-in aspect ratio of the image. If unset, the server fills it by prefetching the image.
148 149 150 151 |
# File 'proto_docs/google/chat/v1/widgets.rb', line 148 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |