Google Chat V1 API - Module Google::Apps::Card::V1::ImageCropStyle::ImageCropType (v0.2.0)

Reference documentation and code samples for the Google Chat V1 API module Google::Apps::Card::V1::ImageCropStyle::ImageCropType.

Represents the crop style applied to an image.

Google Workspace Add-ons and Chat apps:

Constants

IMAGE_CROP_TYPE_UNSPECIFIED

value: 0
Don't use. Unspecified.

SQUARE

value: 1
Default value. Applies a square crop.

CIRCLE

value: 2
Applies a circular crop.

RECTANGLE_CUSTOM

value: 3
Applies a rectangular crop with a custom aspect ratio. Set the custom aspect ratio with aspectRatio.

RECTANGLE_4_3

value: 4
Applies a rectangular crop with a 4:3 aspect ratio.