@@ -41,13 +41,29 @@ public final class GoogleAppsCardV1DecoratedText extends com.google.api.client.j
4141 @ com .google .api .client .util .Key
4242 private java .lang .String bottomLabel ;
4343
44+ /**
45+ * `TextParagraph` equivalent of `bottom_label`. Always wraps. Allows for more complex formatting
46+ * than `bottom_label`. [Google Chat apps](https://developers.google.com/workspace/chat):
47+ * The value may be {@code null}.
48+ */
49+ @ com .google .api .client .util .Key
50+ private GoogleAppsCardV1TextParagraph bottomLabelText ;
51+
4452 /**
4553 * A button that a user can click to trigger an action.
4654 * The value may be {@code null}.
4755 */
4856 @ com .google .api .client .util .Key
4957 private GoogleAppsCardV1Button button ;
5058
59+ /**
60+ * `TextParagraph` equivalent of `text`. Allows for more complex formatting than `text`. [Google
61+ * Chat apps](https://developers.google.com/workspace/chat):
62+ * The value may be {@code null}.
63+ */
64+ @ com .google .api .client .util .Key
65+ private GoogleAppsCardV1TextParagraph contentText ;
66+
5167 /**
5268 * An icon displayed after the text. Supports [built-
5369 * in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and
@@ -78,6 +94,14 @@ public final class GoogleAppsCardV1DecoratedText extends com.google.api.client.j
7894 @ com .google .api .client .util .Key
7995 private GoogleAppsCardV1Icon startIcon ;
8096
97+ /**
98+ * Optional. Vertical alignment of the start icon. If not set, the icon will be vertically
99+ * centered. [Google Chat apps](https://developers.google.com/workspace/chat):
100+ * The value may be {@code null}.
101+ */
102+ @ com .google .api .client .util .Key
103+ private java .lang .String startIconVerticalAlignment ;
104+
81105 /**
82106 * A switch widget that a user can click to change its state and trigger an action.
83107 * The value may be {@code null}.
@@ -103,6 +127,14 @@ public final class GoogleAppsCardV1DecoratedText extends com.google.api.client.j
103127 @ com .google .api .client .util .Key
104128 private java .lang .String topLabel ;
105129
130+ /**
131+ * `TextParagraph` equivalent of `top_label`. Always truncates. Allows for more complex formatting
132+ * than `top_label`. [Google Chat apps](https://developers.google.com/workspace/chat):
133+ * The value may be {@code null}.
134+ */
135+ @ com .google .api .client .util .Key
136+ private GoogleAppsCardV1TextParagraph topLabelText ;
137+
106138 /**
107139 * The wrap text setting. If `true`, the text wraps and displays on multiple lines. Otherwise, the
108140 * text is truncated. Only applies to `text`, not `topLabel` and `bottomLabel`.
@@ -128,6 +160,25 @@ public GoogleAppsCardV1DecoratedText setBottomLabel(java.lang.String bottomLabel
128160 return this ;
129161 }
130162
163+ /**
164+ * `TextParagraph` equivalent of `bottom_label`. Always wraps. Allows for more complex formatting
165+ * than `bottom_label`. [Google Chat apps](https://developers.google.com/workspace/chat):
166+ * @return value or {@code null} for none
167+ */
168+ public GoogleAppsCardV1TextParagraph getBottomLabelText () {
169+ return bottomLabelText ;
170+ }
171+
172+ /**
173+ * `TextParagraph` equivalent of `bottom_label`. Always wraps. Allows for more complex formatting
174+ * than `bottom_label`. [Google Chat apps](https://developers.google.com/workspace/chat):
175+ * @param bottomLabelText bottomLabelText or {@code null} for none
176+ */
177+ public GoogleAppsCardV1DecoratedText setBottomLabelText (GoogleAppsCardV1TextParagraph bottomLabelText ) {
178+ this .bottomLabelText = bottomLabelText ;
179+ return this ;
180+ }
181+
131182 /**
132183 * A button that a user can click to trigger an action.
133184 * @return value or {@code null} for none
@@ -145,6 +196,25 @@ public GoogleAppsCardV1DecoratedText setButton(GoogleAppsCardV1Button button) {
145196 return this ;
146197 }
147198
199+ /**
200+ * `TextParagraph` equivalent of `text`. Allows for more complex formatting than `text`. [Google
201+ * Chat apps](https://developers.google.com/workspace/chat):
202+ * @return value or {@code null} for none
203+ */
204+ public GoogleAppsCardV1TextParagraph getContentText () {
205+ return contentText ;
206+ }
207+
208+ /**
209+ * `TextParagraph` equivalent of `text`. Allows for more complex formatting than `text`. [Google
210+ * Chat apps](https://developers.google.com/workspace/chat):
211+ * @param contentText contentText or {@code null} for none
212+ */
213+ public GoogleAppsCardV1DecoratedText setContentText (GoogleAppsCardV1TextParagraph contentText ) {
214+ this .contentText = contentText ;
215+ return this ;
216+ }
217+
148218 /**
149219 * An icon displayed after the text. Supports [built-
150220 * in](https://developers.google.com/workspace/chat/format-messages#builtinicons) and
@@ -217,6 +287,25 @@ public GoogleAppsCardV1DecoratedText setStartIcon(GoogleAppsCardV1Icon startIcon
217287 return this ;
218288 }
219289
290+ /**
291+ * Optional. Vertical alignment of the start icon. If not set, the icon will be vertically
292+ * centered. [Google Chat apps](https://developers.google.com/workspace/chat):
293+ * @return value or {@code null} for none
294+ */
295+ public java .lang .String getStartIconVerticalAlignment () {
296+ return startIconVerticalAlignment ;
297+ }
298+
299+ /**
300+ * Optional. Vertical alignment of the start icon. If not set, the icon will be vertically
301+ * centered. [Google Chat apps](https://developers.google.com/workspace/chat):
302+ * @param startIconVerticalAlignment startIconVerticalAlignment or {@code null} for none
303+ */
304+ public GoogleAppsCardV1DecoratedText setStartIconVerticalAlignment (java .lang .String startIconVerticalAlignment ) {
305+ this .startIconVerticalAlignment = startIconVerticalAlignment ;
306+ return this ;
307+ }
308+
220309 /**
221310 * A switch widget that a user can click to change its state and trigger an action.
222311 * @return value or {@code null} for none
@@ -276,6 +365,25 @@ public GoogleAppsCardV1DecoratedText setTopLabel(java.lang.String topLabel) {
276365 return this ;
277366 }
278367
368+ /**
369+ * `TextParagraph` equivalent of `top_label`. Always truncates. Allows for more complex formatting
370+ * than `top_label`. [Google Chat apps](https://developers.google.com/workspace/chat):
371+ * @return value or {@code null} for none
372+ */
373+ public GoogleAppsCardV1TextParagraph getTopLabelText () {
374+ return topLabelText ;
375+ }
376+
377+ /**
378+ * `TextParagraph` equivalent of `top_label`. Always truncates. Allows for more complex formatting
379+ * than `top_label`. [Google Chat apps](https://developers.google.com/workspace/chat):
380+ * @param topLabelText topLabelText or {@code null} for none
381+ */
382+ public GoogleAppsCardV1DecoratedText setTopLabelText (GoogleAppsCardV1TextParagraph topLabelText ) {
383+ this .topLabelText = topLabelText ;
384+ return this ;
385+ }
386+
279387 /**
280388 * The wrap text setting. If `true`, the text wraps and displays on multiple lines. Otherwise, the
281389 * text is truncated. Only applies to `text`, not `topLabel` and `bottomLabel`.
0 commit comments