Skip to content

Commit 82e57dd

Browse files
1 parent 4283df5 commit 82e57dd

File tree

8 files changed

+294
-15
lines changed

8 files changed

+294
-15
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-rev20250717-2.0.0</version>
25+
<version>v1-rev20250720-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-rev20250717-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20250720-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 9 additions & 5 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-
* Output only. Annotations associated with the plain-text body of the message. To add basic
21-
* formatting to a text message, see [Format text
20+
* Annotations can be associated with the plain-text body of the message or with chips that link to
21+
* Google Workspace resources like Google Docs or Sheets with a `start_index` and `length` of 0. To
22+
* add basic formatting to a text message, see [Format text
2223
* messages](https://developers.google.com/workspace/chat/format-messages). Example plain-text
2324
* message body: ``` Hello @FooBot how are you!" ``` The corresponding annotations metadata: ```
2425
* "annotations":[{ "type":"USER_MENTION", "startIndex":6, "length":7, "userMention": { "user": {
@@ -43,7 +44,8 @@ public final class Annotation extends com.google.api.client.json.GenericJson {
4344
private CustomEmojiMetadata customEmojiMetadata;
4445

4546
/**
46-
* Length of the substring in the plain-text message body this annotation corresponds to.
47+
* Length of the substring in the plain-text message body this annotation corresponds to. If not
48+
* present, indicates a length of 0.
4749
* The value may be {@code null}.
4850
*/
4951
@com.google.api.client.util.Key
@@ -102,15 +104,17 @@ public Annotation setCustomEmojiMetadata(CustomEmojiMetadata customEmojiMetadata
102104
}
103105

104106
/**
105-
* Length of the substring in the plain-text message body this annotation corresponds to.
107+
* Length of the substring in the plain-text message body this annotation corresponds to. If not
108+
* present, indicates a length of 0.
106109
* @return value or {@code null} for none
107110
*/
108111
public java.lang.Integer getLength() {
109112
return length;
110113
}
111114

112115
/**
113-
* Length of the substring in the plain-text message body this annotation corresponds to.
116+
* Length of the substring in the plain-text message body this annotation corresponds to. If not
117+
* present, indicates a length of 0.
114118
* @param length length or {@code null} for none
115119
*/
116120
public Annotation setLength(java.lang.Integer length) {
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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+
* Data for Calendar event links.
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 CalendarEventLinkData extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The [Calendar
34+
* identifier](https://developers.google.com/workspace/calendar/api/v3/reference/calendars) of the
35+
* linked Calendar.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String calendarId;
40+
41+
/**
42+
* The [Event
43+
* identifier](https://developers.google.com/workspace/calendar/api/v3/reference/events) of the
44+
* linked Calendar event.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String eventId;
49+
50+
/**
51+
* The [Calendar
52+
* identifier](https://developers.google.com/workspace/calendar/api/v3/reference/calendars) of the
53+
* linked Calendar.
54+
* @return value or {@code null} for none
55+
*/
56+
public java.lang.String getCalendarId() {
57+
return calendarId;
58+
}
59+
60+
/**
61+
* The [Calendar
62+
* identifier](https://developers.google.com/workspace/calendar/api/v3/reference/calendars) of the
63+
* linked Calendar.
64+
* @param calendarId calendarId or {@code null} for none
65+
*/
66+
public CalendarEventLinkData setCalendarId(java.lang.String calendarId) {
67+
this.calendarId = calendarId;
68+
return this;
69+
}
70+
71+
/**
72+
* The [Event
73+
* identifier](https://developers.google.com/workspace/calendar/api/v3/reference/events) of the
74+
* linked Calendar event.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getEventId() {
78+
return eventId;
79+
}
80+
81+
/**
82+
* The [Event
83+
* identifier](https://developers.google.com/workspace/calendar/api/v3/reference/events) of the
84+
* linked Calendar event.
85+
* @param eventId eventId or {@code null} for none
86+
*/
87+
public CalendarEventLinkData setEventId(java.lang.String eventId) {
88+
this.eventId = eventId;
89+
return this;
90+
}
91+
92+
@Override
93+
public CalendarEventLinkData set(String fieldName, Object value) {
94+
return (CalendarEventLinkData) super.set(fieldName, value);
95+
}
96+
97+
@Override
98+
public CalendarEventLinkData clone() {
99+
return (CalendarEventLinkData) super.clone();
100+
}
101+
102+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
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+
* Data for Meet space links.
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 MeetSpaceLinkData extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Output only. If the Meet is a Huddle, indicates the status of the huddle. Otherwise,
34+
* this is unset.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String huddleStatus;
39+
40+
/**
41+
* Meeting code of the linked Meet space.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String meetingCode;
46+
47+
/**
48+
* Indicates the type of the Meet space.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String type;
53+
54+
/**
55+
* Optional. Output only. If the Meet is a Huddle, indicates the status of the huddle. Otherwise,
56+
* this is unset.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getHuddleStatus() {
60+
return huddleStatus;
61+
}
62+
63+
/**
64+
* Optional. Output only. If the Meet is a Huddle, indicates the status of the huddle. Otherwise,
65+
* this is unset.
66+
* @param huddleStatus huddleStatus or {@code null} for none
67+
*/
68+
public MeetSpaceLinkData setHuddleStatus(java.lang.String huddleStatus) {
69+
this.huddleStatus = huddleStatus;
70+
return this;
71+
}
72+
73+
/**
74+
* Meeting code of the linked Meet space.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getMeetingCode() {
78+
return meetingCode;
79+
}
80+
81+
/**
82+
* Meeting code of the linked Meet space.
83+
* @param meetingCode meetingCode or {@code null} for none
84+
*/
85+
public MeetSpaceLinkData setMeetingCode(java.lang.String meetingCode) {
86+
this.meetingCode = meetingCode;
87+
return this;
88+
}
89+
90+
/**
91+
* Indicates the type of the Meet space.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.lang.String getType() {
95+
return type;
96+
}
97+
98+
/**
99+
* Indicates the type of the Meet space.
100+
* @param type type or {@code null} for none
101+
*/
102+
public MeetSpaceLinkData setType(java.lang.String type) {
103+
this.type = type;
104+
return this;
105+
}
106+
107+
@Override
108+
public MeetSpaceLinkData set(String fieldName, Object value) {
109+
return (MeetSpaceLinkData) super.set(fieldName, value);
110+
}
111+
112+
@Override
113+
public MeetSpaceLinkData clone() {
114+
return (MeetSpaceLinkData) super.clone();
115+
}
116+
117+
}

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public final class Message extends com.google.api.client.json.GenericJson {
5555
private ActionResponse actionResponse;
5656

5757
/**
58-
* Output only. Annotations associated with the `text` in this message.
58+
* Output only. Annotations can be associated with the plain-text body of the message or with
59+
* chips that link to Google Workspace resources like Google Docs or Sheets with a `start_index`
60+
* and `length` of 0.
5961
* The value may be {@code null}.
6062
*/
6163
@com.google.api.client.util.Key
@@ -365,15 +367,19 @@ public Message setActionResponse(ActionResponse actionResponse) {
365367
}
366368

367369
/**
368-
* Output only. Annotations associated with the `text` in this message.
370+
* Output only. Annotations can be associated with the plain-text body of the message or with
371+
* chips that link to Google Workspace resources like Google Docs or Sheets with a `start_index`
372+
* and `length` of 0.
369373
* @return value or {@code null} for none
370374
*/
371375
public java.util.List<Annotation> getAnnotations() {
372376
return annotations;
373377
}
374378

375379
/**
376-
* Output only. Annotations associated with the `text` in this message.
380+
* Output only. Annotations can be associated with the plain-text body of the message or with
381+
* chips that link to Google Workspace resources like Google Docs or Sheets with a `start_index`
382+
* and `length` of 0.
377383
* @param annotations annotations or {@code null} for none
378384
*/
379385
public Message setAnnotations(java.util.List<Annotation> annotations) {

0 commit comments

Comments
 (0)