Skip to content

Commit 30ee8d9

Browse files
1 parent 31ac5b9 commit 30ee8d9

19 files changed

+1092
-12
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-rev20250731-2.0.0</version>
25+
<version>v1-rev20250812-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-rev20250731-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20250812-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ public final class GoogleAppsCardV1Card extends com.google.api.client.json.Gener
7272
@com.google.api.client.util.Key
7373
private java.lang.String displayStyle;
7474

75+
/**
76+
* The expression data for the card. Only supported by Google Workspace Workflow, but not Google
77+
* Chat apps or Google Workspace add-ons.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private java.util.List<GoogleAppsCardV1ExpressionData> expressionData;
82+
7583
/**
7684
* The fixed footer shown at the bottom of this card. Setting `fixedFooter` without specifying a
7785
* `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed
@@ -173,6 +181,25 @@ public GoogleAppsCardV1Card setDisplayStyle(java.lang.String displayStyle) {
173181
return this;
174182
}
175183

184+
/**
185+
* The expression data for the card. Only supported by Google Workspace Workflow, but not Google
186+
* Chat apps or Google Workspace add-ons.
187+
* @return value or {@code null} for none
188+
*/
189+
public java.util.List<GoogleAppsCardV1ExpressionData> getExpressionData() {
190+
return expressionData;
191+
}
192+
193+
/**
194+
* The expression data for the card. Only supported by Google Workspace Workflow, but not Google
195+
* Chat apps or Google Workspace add-ons.
196+
* @param expressionData expressionData or {@code null} for none
197+
*/
198+
public GoogleAppsCardV1Card setExpressionData(java.util.List<GoogleAppsCardV1ExpressionData> expressionData) {
199+
this.expressionData = expressionData;
200+
return this;
201+
}
202+
176203
/**
177204
* The fixed footer shown at the bottom of this card. Setting `fixedFooter` without specifying a
178205
* `primaryButton` or a `secondaryButton` causes an error. For Chat apps, you can use fixed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chat.v1.model;
18+
19+
/**
20+
* Represents an action that is not specific to a widget. Only supported by Google Workspace
21+
* Workflow, but not Google Chat apps or Google Workspace add-ons.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleAppsCardV1CommonWidgetAction extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The action to update the visibility of a widget.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleAppsCardV1UpdateVisibilityAction updateVisibilityAction;
39+
40+
/**
41+
* The action to update the visibility of a widget.
42+
* @return value or {@code null} for none
43+
*/
44+
public GoogleAppsCardV1UpdateVisibilityAction getUpdateVisibilityAction() {
45+
return updateVisibilityAction;
46+
}
47+
48+
/**
49+
* The action to update the visibility of a widget.
50+
* @param updateVisibilityAction updateVisibilityAction or {@code null} for none
51+
*/
52+
public GoogleAppsCardV1CommonWidgetAction setUpdateVisibilityAction(GoogleAppsCardV1UpdateVisibilityAction updateVisibilityAction) {
53+
this.updateVisibilityAction = updateVisibilityAction;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleAppsCardV1CommonWidgetAction set(String fieldName, Object value) {
59+
return (GoogleAppsCardV1CommonWidgetAction) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleAppsCardV1CommonWidgetAction clone() {
64+
return (GoogleAppsCardV1CommonWidgetAction) super.clone();
65+
}
66+
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chat.v1.model;
18+
19+
/**
20+
* Represents a condition that can be used to trigger an action. Only supported by Google Workspace
21+
* Workflow, but not Google Chat apps or Google Workspace add-ons.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleAppsCardV1Condition extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The unique identifier of the ActionRule.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String actionRuleId;
39+
40+
/**
41+
* The condition that is determined by the expression data.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleAppsCardV1ExpressionDataCondition expressionDataCondition;
46+
47+
/**
48+
* The unique identifier of the ActionRule.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.String getActionRuleId() {
52+
return actionRuleId;
53+
}
54+
55+
/**
56+
* The unique identifier of the ActionRule.
57+
* @param actionRuleId actionRuleId or {@code null} for none
58+
*/
59+
public GoogleAppsCardV1Condition setActionRuleId(java.lang.String actionRuleId) {
60+
this.actionRuleId = actionRuleId;
61+
return this;
62+
}
63+
64+
/**
65+
* The condition that is determined by the expression data.
66+
* @return value or {@code null} for none
67+
*/
68+
public GoogleAppsCardV1ExpressionDataCondition getExpressionDataCondition() {
69+
return expressionDataCondition;
70+
}
71+
72+
/**
73+
* The condition that is determined by the expression data.
74+
* @param expressionDataCondition expressionDataCondition or {@code null} for none
75+
*/
76+
public GoogleAppsCardV1Condition setExpressionDataCondition(GoogleAppsCardV1ExpressionDataCondition expressionDataCondition) {
77+
this.expressionDataCondition = expressionDataCondition;
78+
return this;
79+
}
80+
81+
@Override
82+
public GoogleAppsCardV1Condition set(String fieldName, Object value) {
83+
return (GoogleAppsCardV1Condition) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GoogleAppsCardV1Condition clone() {
88+
return (GoogleAppsCardV1Condition) super.clone();
89+
}
90+
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.chat.v1.model;
18+
19+
/**
20+
* A configuration object that helps configure the data sources for a widget. Only supported by
21+
* Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleAppsCardV1DataSourceConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The data is from a Google Workspace application.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private GoogleAppsCardV1PlatformDataSource platformDataSource;
39+
40+
/**
41+
* The data is from a remote data provider.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private GoogleAppsCardV1Action remoteDataSource;
46+
47+
/**
48+
* The data is from a Google Workspace application.
49+
* @return value or {@code null} for none
50+
*/
51+
public GoogleAppsCardV1PlatformDataSource getPlatformDataSource() {
52+
return platformDataSource;
53+
}
54+
55+
/**
56+
* The data is from a Google Workspace application.
57+
* @param platformDataSource platformDataSource or {@code null} for none
58+
*/
59+
public GoogleAppsCardV1DataSourceConfig setPlatformDataSource(GoogleAppsCardV1PlatformDataSource platformDataSource) {
60+
this.platformDataSource = platformDataSource;
61+
return this;
62+
}
63+
64+
/**
65+
* The data is from a remote data provider.
66+
* @return value or {@code null} for none
67+
*/
68+
public GoogleAppsCardV1Action getRemoteDataSource() {
69+
return remoteDataSource;
70+
}
71+
72+
/**
73+
* The data is from a remote data provider.
74+
* @param remoteDataSource remoteDataSource or {@code null} for none
75+
*/
76+
public GoogleAppsCardV1DataSourceConfig setRemoteDataSource(GoogleAppsCardV1Action remoteDataSource) {
77+
this.remoteDataSource = remoteDataSource;
78+
return this;
79+
}
80+
81+
@Override
82+
public GoogleAppsCardV1DataSourceConfig set(String fieldName, Object value) {
83+
return (GoogleAppsCardV1DataSourceConfig) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public GoogleAppsCardV1DataSourceConfig clone() {
88+
return (GoogleAppsCardV1DataSourceConfig) super.clone();
89+
}
90+
91+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
@SuppressWarnings("javadoc")
3838
public final class GoogleAppsCardV1DateTimePicker extends com.google.api.client.json.GenericJson {
3939

40+
/**
41+
* A data source that's unique to a Google Workspace host application, such as Gmail emails,
42+
* Google Calendar events, or Google Chat messages. Only supported by Google Workspace Workflows,
43+
* but not Google Chat API or Google Workspace Add-ons.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private HostAppDataSourceMarkup hostAppDataSource;
48+
4049
/**
4150
* The text that prompts users to input a date, a time, or a date and time. For example, if users
4251
* are scheduling an appointment, use a label such as `Appointment date` or `Appointment date and
@@ -90,6 +99,27 @@ public final class GoogleAppsCardV1DateTimePicker extends com.google.api.client.
9099
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
91100
private java.lang.Long valueMsEpoch;
92101

102+
/**
103+
* A data source that's unique to a Google Workspace host application, such as Gmail emails,
104+
* Google Calendar events, or Google Chat messages. Only supported by Google Workspace Workflows,
105+
* but not Google Chat API or Google Workspace Add-ons.
106+
* @return value or {@code null} for none
107+
*/
108+
public HostAppDataSourceMarkup getHostAppDataSource() {
109+
return hostAppDataSource;
110+
}
111+
112+
/**
113+
* A data source that's unique to a Google Workspace host application, such as Gmail emails,
114+
* Google Calendar events, or Google Chat messages. Only supported by Google Workspace Workflows,
115+
* but not Google Chat API or Google Workspace Add-ons.
116+
* @param hostAppDataSource hostAppDataSource or {@code null} for none
117+
*/
118+
public GoogleAppsCardV1DateTimePicker setHostAppDataSource(HostAppDataSourceMarkup hostAppDataSource) {
119+
this.hostAppDataSource = hostAppDataSource;
120+
return this;
121+
}
122+
93123
/**
94124
* The text that prompts users to input a date, a time, or a date and time. For example, if users
95125
* are scheduling an appointment, use a label such as `Appointment date` or `Appointment date and

0 commit comments

Comments
 (0)