Skip to content

Commit 4a783e4

Browse files
1 parent fb851e0 commit 4a783e4

File tree

7 files changed

+107
-19
lines changed

7 files changed

+107
-19
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-rev20250116-2.0.0</version>
25+
<version>v1-rev20250126-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-rev20250116-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20250126-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: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5391,10 +5391,9 @@ public Reactions reactions() {
53915391
public class Reactions {
53925392

53935393
/**
5394-
* Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example,
5395-
* see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-reactions).
5396-
* Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-
5397-
* authorize-chat-user).
5394+
* Creates a reaction and adds it to a message. For an example, see [Add a reaction to a
5395+
* message](https://developers.google.com/workspace/chat/create-reactions). Requires [user
5396+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
53985397
*
53995398
* Create a request for the method "reactions.create".
54005399
*
@@ -5419,9 +5418,8 @@ public class Create extends HangoutsChatRequest<com.google.api.services.chat.v1.
54195418
java.util.regex.Pattern.compile("^spaces/[^/]+/messages/[^/]+$");
54205419

54215420
/**
5422-
* Creates a reaction and adds it to a message. Only unicode emojis are supported. For an example,
5423-
* see [Add a reaction to a message](https://developers.google.com/workspace/chat/create-
5424-
* reactions). Requires [user
5421+
* Creates a reaction and adds it to a message. For an example, see [Add a reaction to a
5422+
* message](https://developers.google.com/workspace/chat/create-reactions). Requires [user
54255423
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
54265424
*
54275425
* Create a request for the method "reactions.create".
@@ -5533,7 +5531,7 @@ public Create set(String parameterName, Object value) {
55335531
}
55345532
}
55355533
/**
5536-
* Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete a
5534+
* Deletes a reaction to a message. For an example, see [Delete a
55375535
* reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user
55385536
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
55395537
*
@@ -5560,8 +5558,8 @@ public class Delete extends HangoutsChatRequest<com.google.api.services.chat.v1.
55605558
java.util.regex.Pattern.compile("^spaces/[^/]+/messages/[^/]+/reactions/[^/]+$");
55615559

55625560
/**
5563-
* Deletes a reaction to a message. Only unicode emojis are supported. For an example, see [Delete
5564-
* a reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user
5561+
* Deletes a reaction to a message. For an example, see [Delete a
5562+
* reaction](https://developers.google.com/workspace/chat/delete-reactions). Requires [user
55655563
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
55665564
*
55675565
* Create a request for the method "reactions.delete".

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
@SuppressWarnings("javadoc")
3636
public final class Annotation extends com.google.api.client.json.GenericJson {
3737

38+
/**
39+
* The metadata for a custom emoji.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private CustomEmojiMetadata customEmojiMetadata;
44+
3845
/**
3946
* Length of the substring in the plain-text message body this annotation corresponds to.
4047
* The value may be {@code null}.
@@ -77,6 +84,23 @@ public final class Annotation extends com.google.api.client.json.GenericJson {
7784
@com.google.api.client.util.Key
7885
private UserMentionMetadata userMention;
7986

87+
/**
88+
* The metadata for a custom emoji.
89+
* @return value or {@code null} for none
90+
*/
91+
public CustomEmojiMetadata getCustomEmojiMetadata() {
92+
return customEmojiMetadata;
93+
}
94+
95+
/**
96+
* The metadata for a custom emoji.
97+
* @param customEmojiMetadata customEmojiMetadata or {@code null} for none
98+
*/
99+
public Annotation setCustomEmojiMetadata(CustomEmojiMetadata customEmojiMetadata) {
100+
this.customEmojiMetadata = customEmojiMetadata;
101+
return this;
102+
}
103+
80104
/**
81105
* Length of the substring in the plain-text message body this annotation corresponds to.
82106
* @return value or {@code null} for none
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Annotation metadata for custom emoji.
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 CustomEmojiMetadata extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The custom emoji.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private CustomEmoji customEmoji;
38+
39+
/**
40+
* The custom emoji.
41+
* @return value or {@code null} for none
42+
*/
43+
public CustomEmoji getCustomEmoji() {
44+
return customEmoji;
45+
}
46+
47+
/**
48+
* The custom emoji.
49+
* @param customEmoji customEmoji or {@code null} for none
50+
*/
51+
public CustomEmojiMetadata setCustomEmoji(CustomEmoji customEmoji) {
52+
this.customEmoji = customEmoji;
53+
return this;
54+
}
55+
56+
@Override
57+
public CustomEmojiMetadata set(String fieldName, Object value) {
58+
return (CustomEmojiMetadata) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public CustomEmojiMetadata clone() {
63+
return (CustomEmojiMetadata) super.clone();
64+
}
65+
66+
}

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

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

3232
/**
33-
* Output only. A custom emoji.
33+
* A custom emoji.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
@@ -44,15 +44,15 @@ public final class Emoji extends com.google.api.client.json.GenericJson {
4444
private java.lang.String unicode;
4545

4646
/**
47-
* Output only. A custom emoji.
47+
* A custom emoji.
4848
* @return value or {@code null} for none
4949
*/
5050
public CustomEmoji getCustomEmoji() {
5151
return customEmoji;
5252
}
5353

5454
/**
55-
* Output only. A custom emoji.
55+
* A custom emoji.
5656
* @param customEmoji customEmoji or {@code null} for none
5757
*/
5858
public Emoji setCustomEmoji(CustomEmoji customEmoji) {

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

0 commit comments

Comments
 (0)