Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::ImageComponent.
Represents an image.
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
- (::Google::Apps::Card::V1::BorderStyle) — The border style to apply to the image.
#border_style=
def border_style=(value) -> ::Google::Apps::Card::V1::BorderStyle
Parameter
- value (::Google::Apps::Card::V1::BorderStyle) — The border style to apply to the image.
Returns
- (::Google::Apps::Card::V1::BorderStyle) — The border style to apply to the image.
#crop_style
def crop_style() -> ::Google::Apps::Card::V1::ImageCropStyle
Returns
- (::Google::Apps::Card::V1::ImageCropStyle) — The crop style to apply to the image.
#crop_style=
def crop_style=(value) -> ::Google::Apps::Card::V1::ImageCropStyle
Parameter
- value (::Google::Apps::Card::V1::ImageCropStyle) — The crop style to apply to the image.
Returns
- (::Google::Apps::Card::V1::ImageCropStyle) — The crop style to apply to the image.
#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.