Google Chat V1 API - Class Google::Apps::Card::V1::ImageComponent (v0.1.1)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::ImageComponent.

Represents an image.

Google Workspace Add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#alt_text

def alt_text() -> ::String
Returns
  • (::String) — The accessibility label for the image.

#alt_text=

def alt_text=(value) -> ::String
Parameter
  • value (::String) — The accessibility label for the image.
Returns
  • (::String) — The accessibility label for the image.

#border_style

def border_style() -> ::Google::Apps::Card::V1::BorderStyle
Returns

#border_style=

def border_style=(value) -> ::Google::Apps::Card::V1::BorderStyle
Parameter
Returns

#crop_style

def crop_style() -> ::Google::Apps::Card::V1::ImageCropStyle
Returns

#crop_style=

def crop_style=(value) -> ::Google::Apps::Card::V1::ImageCropStyle
Parameter
Returns

#image_uri

def image_uri() -> ::String
Returns
  • (::String) — The image URL.

#image_uri=

def image_uri=(value) -> ::String
Parameter
  • value (::String) — The image URL.
Returns
  • (::String) — The image URL.