Class: Google::Apps::Card::V1::Image

Inherits:
Object
  • Object
show all
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.

Google Workspace Add-ons and Chat apps:

Instance Attribute Summary collapse

Instance Attribute Details

#alt_text::String

Returns The alternative text of this image that's used for accessibility.

Returns:

  • (::String)

    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
```.

Returns:

  • (::String)

    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

#on_click::Google::Apps::Card::V1::OnClick

Returns When a user clicks the image, the click triggers this action.

Returns:



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