Protobuf type google.apps.card.v1.Widget.HorizontalAlignment
Namespace
Google \ Apps \ Card \ V1 \ Widget
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
HORIZONTAL_ALIGNMENT_UNSPECIFIED
Value: 0
Don't use. Unspecified.
Generated from protobuf enum HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;
START
Value: 1
Default value. Aligns widgets to the start position of the column. For
left-to-right layouts, aligns to the left. For right-to-left layouts,
aligns to the right.
Generated from protobuf enum START = 1;
CENTER
Value: 2
Aligns widgets to the center of the column.
Generated from protobuf enum CENTER = 2;
END
Value: 3
Aligns widgets to the end position of the column. For left-to-right
layouts, aligns widgets to the right. For right-to-left layouts, aligns
widgets to the left.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Apps Chat V1 Client - Class HorizontalAlignment (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Card.V1.Widget.HorizontalAlignment)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Card.V1.Widget.HorizontalAlignment)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Card.V1.Widget.HorizontalAlignment)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Card.V1.Widget.HorizontalAlignment)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Card.V1.Widget.HorizontalAlignment)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Card.V1.Widget.HorizontalAlignment)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Card.V1.Widget.HorizontalAlignment)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Card.V1.Widget.HorizontalAlignment)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Card.V1.Widget.HorizontalAlignment)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Card.V1.Widget.HorizontalAlignment)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Card.V1.Widget.HorizontalAlignment)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Card.V1.Widget.HorizontalAlignment) \nReference documentation and code samples for the Google Apps Chat V1 Client class HorizontalAlignment.\n\nSpecifies whether widgets align to the left, right, or center of a column.\n\n[Google Chat apps](https://developers.google.com/workspace/chat):\n\nProtobuf type `google.apps.card.v1.Widget.HorizontalAlignment`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Card \\\\ V1 \\\\ Widget\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### HORIZONTAL_ALIGNMENT_UNSPECIFIED\n\n Value: 0\n\nDon't use. Unspecified.\n\nGenerated from protobuf enum `HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0;`\n\n### START\n\n Value: 1\n\nDefault value. Aligns widgets to the start position of the column. For\nleft-to-right layouts, aligns to the left. For right-to-left layouts,\naligns to the right.\n\nGenerated from protobuf enum `START = 1;`\n\n### CENTER\n\n Value: 2\n\nAligns widgets to the center of the column.\n\nGenerated from protobuf enum `CENTER = 2;`\n\n### END\n\n Value: 3\n\nAligns widgets to the end position of the column. For left-to-right\nlayouts, aligns widgets to the right. For right-to-left layouts, aligns\nwidgets to the left.\n\nGenerated from protobuf enum `END = 3;`"]]