Google Apps Chat V1 Client - Class HorizontalSizeStyle (0.3.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class HorizontalSizeStyle.

Specifies how a column fills the width of the card. The width of each column depends on both the HorizontalSizeStyle and the width of the widgets within the column.

Google Workspace Add-ons and Chat apps: Columns for Google Workspace Add-ons are in Developer Preview.

Protobuf type google.apps.card.v1.Columns.Column.HorizontalSizeStyle

Namespace

Google \ Apps \ Card \ V1 \ Columns \ Column

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

HORIZONTAL_SIZE_STYLE_UNSPECIFIED

Value: 0

Don't use. Unspecified.

Generated from protobuf enum HORIZONTAL_SIZE_STYLE_UNSPECIFIED = 0;

FILL_AVAILABLE_SPACE

Value: 1

Default value. Column fills the available space, up to 70% of the card's width. If both columns are set to FILL_AVAILABLE_SPACE, each column fills 50% of the space.

Generated from protobuf enum FILL_AVAILABLE_SPACE = 1;

FILL_MINIMUM_SPACE

Value: 2

Column fills the least amount of space possible and no more than 30% of the card's width.

Generated from protobuf enum FILL_MINIMUM_SPACE = 2;