Skip to content

Commit 9757f4e

Browse files
1 parent c8640a5 commit 9757f4e

File tree

5 files changed

+141
-6
lines changed

5 files changed

+141
-6
lines changed

clients/google-api-services-chat/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-chat</artifactId>
25-
<version>v1-rev20250911-2.0.0</version>
25+
<version>v1-rev20250916-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-chat:v1-rev20250911-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20250916-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/GoogleAppsCardV1DecoratedText.java

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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`.

clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/GoogleAppsCardV1TextParagraph.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ public final class GoogleAppsCardV1TextParagraph extends com.google.api.client.j
5353
@com.google.api.client.util.Key
5454
private java.lang.String text;
5555

56+
/**
57+
* The syntax of the text. If not set, the text is rendered as HTML. [Google Chat
58+
* apps](https://developers.google.com/workspace/chat):
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String textSyntax;
63+
5664
/**
5765
* The maximum number of lines of text that are displayed in the widget. If the text exceeds the
5866
* specified maximum number of lines, the excess content is concealed behind a **show more**
@@ -95,6 +103,25 @@ public GoogleAppsCardV1TextParagraph setText(java.lang.String text) {
95103
return this;
96104
}
97105

106+
/**
107+
* The syntax of the text. If not set, the text is rendered as HTML. [Google Chat
108+
* apps](https://developers.google.com/workspace/chat):
109+
* @return value or {@code null} for none
110+
*/
111+
public java.lang.String getTextSyntax() {
112+
return textSyntax;
113+
}
114+
115+
/**
116+
* The syntax of the text. If not set, the text is rendered as HTML. [Google Chat
117+
* apps](https://developers.google.com/workspace/chat):
118+
* @param textSyntax textSyntax or {@code null} for none
119+
*/
120+
public GoogleAppsCardV1TextParagraph setTextSyntax(java.lang.String textSyntax) {
121+
this.textSyntax = textSyntax;
122+
return this;
123+
}
124+
98125
@Override
99126
public GoogleAppsCardV1TextParagraph set(String fieldName, Object value) {
100127
return (GoogleAppsCardV1TextParagraph) super.set(fieldName, value);

clients/google-api-services-chat/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-chat</artifactId>
11-
<version>v1-rev20250911-2.0.0</version>
12-
<name>Google Chat API v1-rev20250911-2.0.0</name>
11+
<version>v1-rev20250916-2.0.0</version>
12+
<name>Google Chat API v1-rev20250916-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-chat/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-chat</artifactId>
25-
<version>v1-rev20250911-2.0.0</version>
25+
<version>v1-rev20250916-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-chat:v1-rev20250911-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20250916-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)