Skip to content

Commit 2433cd3

Browse files
1 parent c9a4408 commit 2433cd3

File tree

5 files changed

+47
-52
lines changed

5 files changed

+47
-52
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-rev20240813-2.0.0</version>
25+
<version>v1-rev20240815-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-rev20240813-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20240815-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: 32 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,27 +1929,17 @@ public Members members() {
19291929
public class Members {
19301930

19311931
/**
1932-
* Creates a human membership or app membership for the calling app. Creating memberships for other
1933-
* apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a
1934-
* space](https://developers.google.com/workspace/chat/create-members). When creating a membership,
1935-
* if the specified member has their auto-accept policy turned off, then they're invited, and must
1936-
* accept the space invitation before joining. Otherwise, creating a membership adds the member
1937-
* directly to the specified space. Requires [user
1938-
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
1939-
* To specify the member to add, set the `membership.member.name` for the human or app member, or
1940-
* set the `membership.group_member.name` for the group member. - To add the calling app to a space
1941-
* or a direct message between two human users, use `users/app`. Unable to add other apps to the
1942-
* space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the
1943-
* user. For users in the same Workspace organization `{user}` can also be the `id` for the person
1944-
* from the People API, or the `id` for the user in the Directory API. For example, if the People
1945-
* API Person profile ID for `[email protected]` is `123456789`, you can add the user to the space by
1946-
* setting the `membership.member.name` to `users/[email protected]` or `users/123456789`. - To add
1947-
* or invite a Google group in a named space, use `groups/{group}`, where `{group}` is the `id` for
1948-
* the group from the Cloud Identity Groups API. For example, you can use [Cloud Identity Groups
1949-
* lookup API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve
1950-
* the ID `123456789` for group email `[email protected]`, then you can add or invite the group to a
1951-
* named space by setting the `membership.group_member.name` to `groups/123456789`. Group email is
1952-
* not supported, and Google groups can only be added as members in named spaces.
1932+
* Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships
1933+
* for other Chat apps isn't supported. When creating a membership, if the specified member has
1934+
* their auto-accept policy turned off, then they're invited, and must accept the space invitation
1935+
* before joining. Otherwise, creating a membership adds the member directly to the specified space.
1936+
* Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-
1937+
* authorize-chat-user). For example usage, see: - [Invite or add a user to a
1938+
* space](https://developers.google.com/workspace/chat/create-members#create-user-membership). -
1939+
* [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-
1940+
* members#create-group-membership). - [Add the Chat app to a
1941+
* space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-
1942+
* api).
19531943
*
19541944
* Create a request for the method "members.create".
19551945
*
@@ -1974,28 +1964,18 @@ public class Create extends HangoutsChatRequest<com.google.api.services.chat.v1.
19741964
java.util.regex.Pattern.compile("^spaces/[^/]+$");
19751965

19761966
/**
1977-
* Creates a human membership or app membership for the calling app. Creating memberships for
1978-
* other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a
1979-
* space](https://developers.google.com/workspace/chat/create-members). When creating a
1980-
* membership, if the specified member has their auto-accept policy turned off, then they're
1981-
* invited, and must accept the space invitation before joining. Otherwise, creating a membership
1982-
* adds the member directly to the specified space. Requires [user
1967+
* Creates a membership for the calling Chat app, a user, or a Google Group. Creating memberships
1968+
* for other Chat apps isn't supported. When creating a membership, if the specified member has
1969+
* their auto-accept policy turned off, then they're invited, and must accept the space invitation
1970+
* before joining. Otherwise, creating a membership adds the member directly to the specified
1971+
* space. Requires [user
19831972
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
1984-
* To specify the member to add, set the `membership.member.name` for the human or app member, or
1985-
* set the `membership.group_member.name` for the group member. - To add the calling app to a
1986-
* space or a direct message between two human users, use `users/app`. Unable to add other apps to
1987-
* the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address
1988-
* for the user. For users in the same Workspace organization `{user}` can also be the `id` for
1989-
* the person from the People API, or the `id` for the user in the Directory API. For example, if
1990-
* the People API Person profile ID for `[email protected]` is `123456789`, you can add the user to
1991-
* the space by setting the `membership.member.name` to `users/[email protected]` or
1992-
* `users/123456789`. - To add or invite a Google group in a named space, use `groups/{group}`,
1993-
* where `{group}` is the `id` for the group from the Cloud Identity Groups API. For example, you
1994-
* can use [Cloud Identity Groups lookup
1995-
* API](https://cloud.google.com/identity/docs/reference/rest/v1/groups/lookup) to retrieve the ID
1996-
* `123456789` for group email `[email protected]`, then you can add or invite the group to a
1997-
* named space by setting the `membership.group_member.name` to `groups/123456789`. Group email is
1998-
* not supported, and Google groups can only be added as members in named spaces.
1973+
* For example usage, see: - [Invite or add a user to a
1974+
* space](https://developers.google.com/workspace/chat/create-members#create-user-membership). -
1975+
* [Invite or add a Google Group to a space](https://developers.google.com/workspace/chat/create-
1976+
* members#create-group-membership). - [Add the Chat app to a
1977+
* space](https://developers.google.com/workspace/chat/create-members#create-membership-calling-
1978+
* api).
19991979
*
20001980
* Create a request for the method "members.create".
20011981
*
@@ -3613,7 +3593,10 @@ public Get set(String parameterName, Object value) {
36133593
}
36143594
/**
36153595
* Lists messages in a space that the caller is a member of, including messages from blocked members
3616-
* and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list). Requires
3596+
* and spaces. If you list messages from a space with no messages, the response is an empty object.
3597+
* When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an
3598+
* example, see [List
3599+
* messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires
36173600
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
36183601
* user).
36193602
*
@@ -3640,9 +3623,12 @@ public class List extends HangoutsChatRequest<com.google.api.services.chat.v1.mo
36403623

36413624
/**
36423625
* Lists messages in a space that the caller is a member of, including messages from blocked
3643-
* members and spaces. For an example, see [List messages](/chat/api/guides/v1/messages/list).
3644-
* Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-
3645-
* authorize-chat-user).
3626+
* members and spaces. If you list messages from a space with no messages, the response is an
3627+
* empty object. When using a REST/HTTP interface, the response contains an empty JSON object,
3628+
* `{}`. For an example, see [List
3629+
* messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires
3630+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
3631+
* user).
36463632
*
36473633
* Create a request for the method "messages.list".
36483634
*

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public final class GoogleAppsCardV1PlatformDataSource extends com.google.api.cli
4141

4242
/**
4343
* A data source that's unique to a Google Workspace host application, such spaces in Google Chat.
44+
* This field supports the Google API Client Libraries but isn't available in the Cloud Client
45+
* Libraries. To learn more, see [Install the client
46+
* libraries](https://developers.google.com/workspace/chat/libraries).
4447
* The value may be {@code null}.
4548
*/
4649
@com.google.api.client.util.Key
@@ -67,6 +70,9 @@ public GoogleAppsCardV1PlatformDataSource setCommonDataSource(java.lang.String c
6770

6871
/**
6972
* A data source that's unique to a Google Workspace host application, such spaces in Google Chat.
73+
* This field supports the Google API Client Libraries but isn't available in the Cloud Client
74+
* Libraries. To learn more, see [Install the client
75+
* libraries](https://developers.google.com/workspace/chat/libraries).
7076
* @return value or {@code null} for none
7177
*/
7278
public HostAppDataSourceMarkup getHostAppDataSource() {
@@ -75,6 +81,9 @@ public HostAppDataSourceMarkup getHostAppDataSource() {
7581

7682
/**
7783
* A data source that's unique to a Google Workspace host application, such spaces in Google Chat.
84+
* This field supports the Google API Client Libraries but isn't available in the Cloud Client
85+
* Libraries. To learn more, see [Install the client
86+
* libraries](https://developers.google.com/workspace/chat/libraries).
7887
* @param hostAppDataSource hostAppDataSource or {@code null} for none
7988
*/
8089
public GoogleAppsCardV1PlatformDataSource setHostAppDataSource(HostAppDataSourceMarkup hostAppDataSource) {

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

0 commit comments

Comments
 (0)