Skip to content

Commit 4020538

Browse files
1 parent 1bc1804 commit 4020538

File tree

7 files changed

+948
-6
lines changed

7 files changed

+948
-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-rev20240815-2.0.0</version>
25+
<version>v1-rev20240818-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-rev20240815-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20240818-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: 671 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* [Developer Preview](https://developers.google.com/workspace/preview). Represents the count of
21+
* memberships of a space, grouped into categories.
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 MembershipCount extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Count of human users that have directly joined the space, not counting users joined by having
35+
* membership in a joined group.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.Integer joinedDirectHumanUserCount;
40+
41+
/**
42+
* Count of all groups that have directly joined the space.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Integer joinedGroupCount;
47+
48+
/**
49+
* Count of human users that have directly joined the space, not counting users joined by having
50+
* membership in a joined group.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.lang.Integer getJoinedDirectHumanUserCount() {
54+
return joinedDirectHumanUserCount;
55+
}
56+
57+
/**
58+
* Count of human users that have directly joined the space, not counting users joined by having
59+
* membership in a joined group.
60+
* @param joinedDirectHumanUserCount joinedDirectHumanUserCount or {@code null} for none
61+
*/
62+
public MembershipCount setJoinedDirectHumanUserCount(java.lang.Integer joinedDirectHumanUserCount) {
63+
this.joinedDirectHumanUserCount = joinedDirectHumanUserCount;
64+
return this;
65+
}
66+
67+
/**
68+
* Count of all groups that have directly joined the space.
69+
* @return value or {@code null} for none
70+
*/
71+
public java.lang.Integer getJoinedGroupCount() {
72+
return joinedGroupCount;
73+
}
74+
75+
/**
76+
* Count of all groups that have directly joined the space.
77+
* @param joinedGroupCount joinedGroupCount or {@code null} for none
78+
*/
79+
public MembershipCount setJoinedGroupCount(java.lang.Integer joinedGroupCount) {
80+
this.joinedGroupCount = joinedGroupCount;
81+
return this;
82+
}
83+
84+
@Override
85+
public MembershipCount set(String fieldName, Object value) {
86+
return (MembershipCount) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public MembershipCount clone() {
91+
return (MembershipCount) super.clone();
92+
}
93+
94+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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+
* Response with a list of spaces corresponding to the search spaces request.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SearchSpacesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A token that can be used to retrieve the next page. If this field is empty, there are no
34+
* subsequent pages.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nextPageToken;
39+
40+
/**
41+
* A page of the requested spaces.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<Space> spaces;
46+
47+
/**
48+
* The total number of spaces that match the query, across all pages. If the result is over 10,000
49+
* spaces, this value is an estimate.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Integer totalSize;
54+
55+
/**
56+
* A token that can be used to retrieve the next page. If this field is empty, there are no
57+
* subsequent pages.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getNextPageToken() {
61+
return nextPageToken;
62+
}
63+
64+
/**
65+
* A token that can be used to retrieve the next page. If this field is empty, there are no
66+
* subsequent pages.
67+
* @param nextPageToken nextPageToken or {@code null} for none
68+
*/
69+
public SearchSpacesResponse setNextPageToken(java.lang.String nextPageToken) {
70+
this.nextPageToken = nextPageToken;
71+
return this;
72+
}
73+
74+
/**
75+
* A page of the requested spaces.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.util.List<Space> getSpaces() {
79+
return spaces;
80+
}
81+
82+
/**
83+
* A page of the requested spaces.
84+
* @param spaces spaces or {@code null} for none
85+
*/
86+
public SearchSpacesResponse setSpaces(java.util.List<Space> spaces) {
87+
this.spaces = spaces;
88+
return this;
89+
}
90+
91+
/**
92+
* The total number of spaces that match the query, across all pages. If the result is over 10,000
93+
* spaces, this value is an estimate.
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.Integer getTotalSize() {
97+
return totalSize;
98+
}
99+
100+
/**
101+
* The total number of spaces that match the query, across all pages. If the result is over 10,000
102+
* spaces, this value is an estimate.
103+
* @param totalSize totalSize or {@code null} for none
104+
*/
105+
public SearchSpacesResponse setTotalSize(java.lang.Integer totalSize) {
106+
this.totalSize = totalSize;
107+
return this;
108+
}
109+
110+
@Override
111+
public SearchSpacesResponse set(String fieldName, Object value) {
112+
return (SearchSpacesResponse) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public SearchSpacesResponse clone() {
117+
return (SearchSpacesResponse) super.clone();
118+
}
119+
120+
}

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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,23 @@ public final class Space extends com.google.api.client.json.GenericJson {
9191
@com.google.api.client.util.Key
9292
private java.lang.Boolean importMode;
9393

94+
/**
95+
* Output only. Timestamp of the last message in the space. [Developer
96+
* Preview](https://developers.google.com/workspace/preview).
97+
* The value may be {@code null}.
98+
*/
99+
@com.google.api.client.util.Key
100+
private String lastActiveTime;
101+
102+
/**
103+
* Output only. The count of joined memberships grouped by member type. Populated when the
104+
* `space_type` is `SPACE`, `DIRECT_MESSAGE` or `GROUP_CHAT`. [Developer
105+
* Preview](https://developers.google.com/workspace/preview).
106+
* The value may be {@code null}.
107+
*/
108+
@com.google.api.client.util.Key
109+
private MembershipCount membershipCount;
110+
94111
/**
95112
* Resource name of the space. Format: `spaces/{space}`
96113
* The value may be {@code null}.
@@ -296,6 +313,46 @@ public Space setImportMode(java.lang.Boolean importMode) {
296313
return this;
297314
}
298315

316+
/**
317+
* Output only. Timestamp of the last message in the space. [Developer
318+
* Preview](https://developers.google.com/workspace/preview).
319+
* @return value or {@code null} for none
320+
*/
321+
public String getLastActiveTime() {
322+
return lastActiveTime;
323+
}
324+
325+
/**
326+
* Output only. Timestamp of the last message in the space. [Developer
327+
* Preview](https://developers.google.com/workspace/preview).
328+
* @param lastActiveTime lastActiveTime or {@code null} for none
329+
*/
330+
public Space setLastActiveTime(String lastActiveTime) {
331+
this.lastActiveTime = lastActiveTime;
332+
return this;
333+
}
334+
335+
/**
336+
* Output only. The count of joined memberships grouped by member type. Populated when the
337+
* `space_type` is `SPACE`, `DIRECT_MESSAGE` or `GROUP_CHAT`. [Developer
338+
* Preview](https://developers.google.com/workspace/preview).
339+
* @return value or {@code null} for none
340+
*/
341+
public MembershipCount getMembershipCount() {
342+
return membershipCount;
343+
}
344+
345+
/**
346+
* Output only. The count of joined memberships grouped by member type. Populated when the
347+
* `space_type` is `SPACE`, `DIRECT_MESSAGE` or `GROUP_CHAT`. [Developer
348+
* Preview](https://developers.google.com/workspace/preview).
349+
* @param membershipCount membershipCount or {@code null} for none
350+
*/
351+
public Space setMembershipCount(MembershipCount membershipCount) {
352+
this.membershipCount = membershipCount;
353+
return this;
354+
}
355+
299356
/**
300357
* Resource name of the space. Format: `spaces/{space}`
301358
* @return value or {@code null} for none

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

0 commit comments

Comments
 (0)