Skip to content

Commit 079ca97

Browse files
1 parent 3905a14 commit 079ca97

File tree

9 files changed

+64
-45
lines changed

9 files changed

+64
-45
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-rev20241103-2.0.0</version>
25+
<version>v1-rev20241105-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-rev20241103-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20241105-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3917,21 +3917,30 @@ public Create setMessageId(java.lang.String messageId) {
39173917

39183918
/**
39193919
* Optional. Specifies whether a message starts a thread or replies to one. Only supported
3920-
* in named spaces.
3920+
* in named spaces. When [responding to user
3921+
* interactions](https://developers.google.com/workspace/chat/receive-respond-interactions),
3922+
* this field is ignored. For interactions within a thread, the reply is created in the same
3923+
* thread. Otherwise, the reply is created as a new thread.
39213924
*/
39223925
@com.google.api.client.util.Key
39233926
private java.lang.String messageReplyOption;
39243927

39253928
/** Optional. Specifies whether a message starts a thread or replies to one. Only supported in named
3926-
spaces.
3929+
spaces. When [responding to user
3930+
interactions](https://developers.google.com/workspace/chat/receive-respond-interactions), this
3931+
field is ignored. For interactions within a thread, the reply is created in the same thread.
3932+
Otherwise, the reply is created as a new thread.
39273933
*/
39283934
public java.lang.String getMessageReplyOption() {
39293935
return messageReplyOption;
39303936
}
39313937

39323938
/**
39333939
* Optional. Specifies whether a message starts a thread or replies to one. Only supported
3934-
* in named spaces.
3940+
* in named spaces. When [responding to user
3941+
* interactions](https://developers.google.com/workspace/chat/receive-respond-interactions),
3942+
* this field is ignored. For interactions within a thread, the reply is created in the same
3943+
* thread. Otherwise, the reply is created as a new thread.
39353944
*/
39363945
public Create setMessageReplyOption(java.lang.String messageReplyOption) {
39373946
this.messageReplyOption = messageReplyOption;

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
public final class Attachment extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* A reference to the attachment data. This field is used with the media API to download the
34-
* attachment data.
33+
* Optional. A reference to the attachment data. This field is used to create or update messages
34+
* with attachments, or with the media API to download the attachment data.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
@@ -68,7 +68,7 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
6868
private DriveDataRef driveDataRef;
6969

7070
/**
71-
* Resource name of the attachment, in the form
71+
* Optional. Resource name of the attachment, in the form
7272
* `spaces/{space}/messages/{message}/attachments/{attachment}`.
7373
* The value may be {@code null}.
7474
*/
@@ -91,17 +91,17 @@ public final class Attachment extends com.google.api.client.json.GenericJson {
9191
private java.lang.String thumbnailUri;
9292

9393
/**
94-
* A reference to the attachment data. This field is used with the media API to download the
95-
* attachment data.
94+
* Optional. A reference to the attachment data. This field is used to create or update messages
95+
* with attachments, or with the media API to download the attachment data.
9696
* @return value or {@code null} for none
9797
*/
9898
public AttachmentDataRef getAttachmentDataRef() {
9999
return attachmentDataRef;
100100
}
101101

102102
/**
103-
* A reference to the attachment data. This field is used with the media API to download the
104-
* attachment data.
103+
* Optional. A reference to the attachment data. This field is used to create or update messages
104+
* with attachments, or with the media API to download the attachment data.
105105
* @param attachmentDataRef attachmentDataRef or {@code null} for none
106106
*/
107107
public Attachment setAttachmentDataRef(AttachmentDataRef attachmentDataRef) {
@@ -182,7 +182,7 @@ public Attachment setDriveDataRef(DriveDataRef driveDataRef) {
182182
}
183183

184184
/**
185-
* Resource name of the attachment, in the form
185+
* Optional. Resource name of the attachment, in the form
186186
* `spaces/{space}/messages/{message}/attachments/{attachment}`.
187187
* @return value or {@code null} for none
188188
*/
@@ -191,7 +191,7 @@ public java.lang.String getName() {
191191
}
192192

193193
/**
194-
* Resource name of the attachment, in the form
194+
* Optional. Resource name of the attachment, in the form
195195
* `spaces/{space}/messages/{message}/attachments/{attachment}`.
196196
* @param name name or {@code null} for none
197197
*/

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,33 @@
3030
public final class AttachmentDataRef extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque
34-
* string and used to create or update Chat messages with attachments.
33+
* Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as
34+
* an opaque string and used to create or update Chat messages with attachments.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.lang.String attachmentUploadToken;
3939

4040
/**
41-
* The resource name of the attachment data. This field is used with the media API to download the
42-
* attachment data.
41+
* Optional. The resource name of the attachment data. This field is used with the media API to
42+
* download the attachment data.
4343
* The value may be {@code null}.
4444
*/
4545
@com.google.api.client.util.Key
4646
private java.lang.String resourceName;
4747

4848
/**
49-
* Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque
50-
* string and used to create or update Chat messages with attachments.
49+
* Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as
50+
* an opaque string and used to create or update Chat messages with attachments.
5151
* @return value or {@code null} for none
5252
*/
5353
public java.lang.String getAttachmentUploadToken() {
5454
return attachmentUploadToken;
5555
}
5656

5757
/**
58-
* Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque
59-
* string and used to create or update Chat messages with attachments.
58+
* Optional. Opaque token containing a reference to an uploaded attachment. Treated by clients as
59+
* an opaque string and used to create or update Chat messages with attachments.
6060
* @param attachmentUploadToken attachmentUploadToken or {@code null} for none
6161
*/
6262
public AttachmentDataRef setAttachmentUploadToken(java.lang.String attachmentUploadToken) {
@@ -65,17 +65,17 @@ public AttachmentDataRef setAttachmentUploadToken(java.lang.String attachmentUpl
6565
}
6666

6767
/**
68-
* The resource name of the attachment data. This field is used with the media API to download the
69-
* attachment data.
68+
* Optional. The resource name of the attachment data. This field is used with the media API to
69+
* download the attachment data.
7070
* @return value or {@code null} for none
7171
*/
7272
public java.lang.String getResourceName() {
7373
return resourceName;
7474
}
7575

7676
/**
77-
* The resource name of the attachment data. This field is used with the media API to download the
78-
* attachment data.
77+
* Optional. The resource name of the attachment data. This field is used with the media API to
78+
* download the attachment data.
7979
* @param resourceName resourceName or {@code null} for none
8080
*/
8181
public AttachmentDataRef setResourceName(java.lang.String resourceName) {

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

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
public final class GoogleAppsCardV1SelectionInput extends com.google.api.client.json.GenericJson {
3838

3939
/**
40-
* An external data source, such as a relational data base.
40+
* An external data source, such as a relational database.
4141
* The value may be {@code null}.
4242
*/
4343
@com.google.api.client.util.Key
@@ -70,9 +70,12 @@ public final class GoogleAppsCardV1SelectionInput extends com.google.api.client.
7070
private java.lang.Integer multiSelectMaxSelectedItems;
7171

7272
/**
73-
* For multiselect menus, the number of text characters that a user inputs before the app queries
74-
* autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters
75-
* for static data sources and 3 characters for external data sources.
73+
* For multiselect menus, the number of text characters that a user inputs before the menu returns
74+
* suggested selection items. If unset, the multiselect menu uses the following default values: *
75+
* If the menu uses a static array of `SelectionInput` items, defaults to 0 characters and
76+
* immediately populates items from the array. * If the menu uses a dynamic data source
77+
* (`multi_select_data_source`), defaults to 3 characters before querying the data source to
78+
* return suggested items.
7679
* The value may be {@code null}.
7780
*/
7881
@com.google.api.client.util.Key
@@ -113,15 +116,15 @@ public final class GoogleAppsCardV1SelectionInput extends com.google.api.client.
113116
private java.lang.String type;
114117

115118
/**
116-
* An external data source, such as a relational data base.
119+
* An external data source, such as a relational database.
117120
* @return value or {@code null} for none
118121
*/
119122
public GoogleAppsCardV1Action getExternalDataSource() {
120123
return externalDataSource;
121124
}
122125

123126
/**
124-
* An external data source, such as a relational data base.
127+
* An external data source, such as a relational database.
125128
* @param externalDataSource externalDataSource or {@code null} for none
126129
*/
127130
public GoogleAppsCardV1SelectionInput setExternalDataSource(GoogleAppsCardV1Action externalDataSource) {
@@ -191,19 +194,25 @@ public GoogleAppsCardV1SelectionInput setMultiSelectMaxSelectedItems(java.lang.I
191194
}
192195

193196
/**
194-
* For multiselect menus, the number of text characters that a user inputs before the app queries
195-
* autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters
196-
* for static data sources and 3 characters for external data sources.
197+
* For multiselect menus, the number of text characters that a user inputs before the menu returns
198+
* suggested selection items. If unset, the multiselect menu uses the following default values: *
199+
* If the menu uses a static array of `SelectionInput` items, defaults to 0 characters and
200+
* immediately populates items from the array. * If the menu uses a dynamic data source
201+
* (`multi_select_data_source`), defaults to 3 characters before querying the data source to
202+
* return suggested items.
197203
* @return value or {@code null} for none
198204
*/
199205
public java.lang.Integer getMultiSelectMinQueryLength() {
200206
return multiSelectMinQueryLength;
201207
}
202208

203209
/**
204-
* For multiselect menus, the number of text characters that a user inputs before the app queries
205-
* autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters
206-
* for static data sources and 3 characters for external data sources.
210+
* For multiselect menus, the number of text characters that a user inputs before the menu returns
211+
* suggested selection items. If unset, the multiselect menu uses the following default values: *
212+
* If the menu uses a static array of `SelectionInput` items, defaults to 0 characters and
213+
* immediately populates items from the array. * If the menu uses a dynamic data source
214+
* (`multi_select_data_source`), defaults to 3 characters before querying the data source to
215+
* return suggested items.
207216
* @param multiSelectMinQueryLength multiSelectMinQueryLength or {@code null} for none
208217
*/
209218
public GoogleAppsCardV1SelectionInput setMultiSelectMinQueryLength(java.lang.Integer multiSelectMinQueryLength) {

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
package com.google.api.services.chat.v1.model;
1818

1919
/**
20-
* An item that users can select in a selection input, such as a checkbox or switch. [Google
21-
* Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
20+
* An item that users can select in a selection input, such as a checkbox or switch. Supports up to
21+
* 100 items. [Google Workspace Add-ons and Chat
22+
* apps](https://developers.google.com/workspace/extend):
2223
*
2324
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2425
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.chat.v1.model;
1818

1919
/**
20-
* The response of the updated widget. Used to provide autocomplete options for a widget.
20+
* For `selectionInput` widgets, returns autocomplete suggestions for a multiselect menu.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:

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-rev20241103-2.0.0</version>
12-
<name>Google Chat API v1-rev20241103-2.0.0</name>
11+
<version>v1-rev20241105-2.0.0</version>
12+
<name>Google Chat API v1-rev20241105-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-rev20241103-2.0.0</version>
25+
<version>v1-rev20241105-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-rev20241103-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20241105-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)