Class: Google::Apps::Card::V1::Image
- Inherits:
-
Object
- Object
- Google::Apps::Card::V1::Image
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/apps/card/v1/card.rb
Overview
An image that is specified by a URL and can have an onClick
action. For an
example, see Add an
image.
Instance Attribute Summary collapse
-
#alt_text ⇒ ::String
The alternative text of this image that's used for accessibility.
-
#image_url ⇒ ::String
The HTTPS URL that hosts the image.
-
#on_click ⇒ ::Google::Apps::Card::V1::OnClick
When a user clicks the image, the click triggers this action.
Instance Attribute Details
#alt_text ⇒ ::String
Returns The alternative text of this image that's used for accessibility.
734 735 736 737 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 734 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#image_url ⇒ ::String
Returns The HTTPS URL that hosts the image.
For example:
https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png
```.
734 735 736 737 |
# File 'proto_docs/google/apps/card/v1/card.rb', line 734 class Image include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |