Skip to content

Commit 3fad09d

Browse files
1 parent d3207ed commit 3fad09d

File tree

7 files changed

+89
-22
lines changed

7 files changed

+89
-22
lines changed

clients/google-api-services-youtube/v3/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-youtube</artifactId>
25-
<version>v3-rev20250224-2.0.0</version>
25+
<version>v3-rev20250331-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-youtube:v3-rev20250224-2.0.0'
38+
implementation 'com.google.apis:google-api-services-youtube:v3-rev20250331-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/YouTube.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3950,6 +3950,22 @@ public List setPageToken(java.lang.String pageToken) {
39503950
return this;
39513951
}
39523952

3953+
/** Returns the comment threads of the specified post. */
3954+
@com.google.api.client.util.Key
3955+
private java.lang.String postId;
3956+
3957+
/** Returns the comment threads of the specified post.
3958+
*/
3959+
public java.lang.String getPostId() {
3960+
return postId;
3961+
}
3962+
3963+
/** Returns the comment threads of the specified post. */
3964+
public List setPostId(java.lang.String postId) {
3965+
this.postId = postId;
3966+
return this;
3967+
}
3968+
39533969
/**
39543970
* Limits the returned comment threads to those matching the specified key words. Not
39553971
* compatible with the 'id' filter.

clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/CommentSnippet.java

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public final class CommentSnippet extends com.google.api.client.json.GenericJson
6565

6666
/**
6767
* The id of the corresponding YouTube channel. In case of a channel comment this is the channel
68-
* the comment refers to. In case of a video comment it's the video's channel.
68+
* the comment refers to. In case of a video or post comment it's the video/post's channel.
6969
* The value may be {@code null}.
7070
*/
7171
@com.google.api.client.util.Key
@@ -87,12 +87,19 @@ public final class CommentSnippet extends com.google.api.client.json.GenericJson
8787
private java.lang.String moderationStatus;
8888

8989
/**
90-
* The unique id of the parent comment, only set for replies.
90+
* The unique id of the top-level comment, only set for replies.
9191
* The value may be {@code null}.
9292
*/
9393
@com.google.api.client.util.Key
9494
private java.lang.String parentId;
9595

96+
/**
97+
* The ID of the post the comment refers to, if any.
98+
* The value may be {@code null}.
99+
*/
100+
@com.google.api.client.util.Key
101+
private java.lang.String postId;
102+
96103
/**
97104
* The date and time when the comment was originally published.
98105
* The value may be {@code null}.
@@ -225,7 +232,7 @@ public CommentSnippet setCanRate(java.lang.Boolean canRate) {
225232

226233
/**
227234
* The id of the corresponding YouTube channel. In case of a channel comment this is the channel
228-
* the comment refers to. In case of a video comment it's the video's channel.
235+
* the comment refers to. In case of a video or post comment it's the video/post's channel.
229236
* @return value or {@code null} for none
230237
*/
231238
public java.lang.String getChannelId() {
@@ -234,7 +241,7 @@ public java.lang.String getChannelId() {
234241

235242
/**
236243
* The id of the corresponding YouTube channel. In case of a channel comment this is the channel
237-
* the comment refers to. In case of a video comment it's the video's channel.
244+
* the comment refers to. In case of a video or post comment it's the video/post's channel.
238245
* @param channelId channelId or {@code null} for none
239246
*/
240247
public CommentSnippet setChannelId(java.lang.String channelId) {
@@ -279,22 +286,39 @@ public CommentSnippet setModerationStatus(java.lang.String moderationStatus) {
279286
}
280287

281288
/**
282-
* The unique id of the parent comment, only set for replies.
289+
* The unique id of the top-level comment, only set for replies.
283290
* @return value or {@code null} for none
284291
*/
285292
public java.lang.String getParentId() {
286293
return parentId;
287294
}
288295

289296
/**
290-
* The unique id of the parent comment, only set for replies.
297+
* The unique id of the top-level comment, only set for replies.
291298
* @param parentId parentId or {@code null} for none
292299
*/
293300
public CommentSnippet setParentId(java.lang.String parentId) {
294301
this.parentId = parentId;
295302
return this;
296303
}
297304

305+
/**
306+
* The ID of the post the comment refers to, if any.
307+
* @return value or {@code null} for none
308+
*/
309+
public java.lang.String getPostId() {
310+
return postId;
311+
}
312+
313+
/**
314+
* The ID of the post the comment refers to, if any.
315+
* @param postId postId or {@code null} for none
316+
*/
317+
public CommentSnippet setPostId(java.lang.String postId) {
318+
this.postId = postId;
319+
return this;
320+
}
321+
298322
/**
299323
* The date and time when the comment was originally published.
300324
* @return value or {@code null} for none

clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/CommentSnippetAuthorChannelId.java

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

1919
/**
20-
* The id of the author's YouTube channel, if any.
20+
* Contains the id of the author's YouTube channel, if any.
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 YouTube Data API v3. For a detailed explanation see:
@@ -30,19 +30,22 @@
3030
public final class CommentSnippetAuthorChannelId extends com.google.api.client.json.GenericJson {
3131

3232
/**
33+
* The id of the author's YouTube channel.
3334
* The value may be {@code null}.
3435
*/
3536
@com.google.api.client.util.Key
3637
private java.lang.String value;
3738

3839
/**
40+
* The id of the author's YouTube channel.
3941
* @return value or {@code null} for none
4042
*/
4143
public java.lang.String getValue() {
4244
return value;
4345
}
4446

4547
/**
48+
* The id of the author's YouTube channel.
4649
* @param value value or {@code null} for none
4750
*/
4851
public CommentSnippetAuthorChannelId setValue(java.lang.String value) {

clients/google-api-services-youtube/v3/2.0.0/com/google/api/services/youtube/model/CommentThreadSnippet.java

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public final class CommentThreadSnippet extends com.google.api.client.json.Gener
3939

4040
/**
4141
* The YouTube channel the comments in the thread refer to or the channel with the video the
42-
* comments refer to. If video_id isn't set the comments refer to the channel itself.
42+
* comments refer to. If neither video_id nor post_id is set the comments refer to the channel
43+
* itself.
4344
* The value may be {@code null}.
4445
*/
4546
@com.google.api.client.util.Key
@@ -52,6 +53,13 @@ public final class CommentThreadSnippet extends com.google.api.client.json.Gener
5253
@com.google.api.client.util.Key
5354
private java.lang.Boolean isPublic;
5455

56+
/**
57+
* The ID of the post the comments refer to, if any.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String postId;
62+
5563
/**
5664
* The top level comment of this thread.
5765
* The value may be {@code null}.
@@ -67,8 +75,7 @@ public final class CommentThreadSnippet extends com.google.api.client.json.Gener
6775
private java.lang.Long totalReplyCount;
6876

6977
/**
70-
* The ID of the video the comments refer to, if any. No video_id implies a channel discussion
71-
* comment.
78+
* The ID of the video the comments refer to, if any.
7279
* The value may be {@code null}.
7380
*/
7481
@com.google.api.client.util.Key
@@ -95,7 +102,8 @@ public CommentThreadSnippet setCanReply(java.lang.Boolean canReply) {
95102

96103
/**
97104
* The YouTube channel the comments in the thread refer to or the channel with the video the
98-
* comments refer to. If video_id isn't set the comments refer to the channel itself.
105+
* comments refer to. If neither video_id nor post_id is set the comments refer to the channel
106+
* itself.
99107
* @return value or {@code null} for none
100108
*/
101109
public java.lang.String getChannelId() {
@@ -104,7 +112,8 @@ public java.lang.String getChannelId() {
104112

105113
/**
106114
* The YouTube channel the comments in the thread refer to or the channel with the video the
107-
* comments refer to. If video_id isn't set the comments refer to the channel itself.
115+
* comments refer to. If neither video_id nor post_id is set the comments refer to the channel
116+
* itself.
108117
* @param channelId channelId or {@code null} for none
109118
*/
110119
public CommentThreadSnippet setChannelId(java.lang.String channelId) {
@@ -129,6 +138,23 @@ public CommentThreadSnippet setIsPublic(java.lang.Boolean isPublic) {
129138
return this;
130139
}
131140

141+
/**
142+
* The ID of the post the comments refer to, if any.
143+
* @return value or {@code null} for none
144+
*/
145+
public java.lang.String getPostId() {
146+
return postId;
147+
}
148+
149+
/**
150+
* The ID of the post the comments refer to, if any.
151+
* @param postId postId or {@code null} for none
152+
*/
153+
public CommentThreadSnippet setPostId(java.lang.String postId) {
154+
this.postId = postId;
155+
return this;
156+
}
157+
132158
/**
133159
* The top level comment of this thread.
134160
* @return value or {@code null} for none
@@ -164,17 +190,15 @@ public CommentThreadSnippet setTotalReplyCount(java.lang.Long totalReplyCount) {
164190
}
165191

166192
/**
167-
* The ID of the video the comments refer to, if any. No video_id implies a channel discussion
168-
* comment.
193+
* The ID of the video the comments refer to, if any.
169194
* @return value or {@code null} for none
170195
*/
171196
public java.lang.String getVideoId() {
172197
return videoId;
173198
}
174199

175200
/**
176-
* The ID of the video the comments refer to, if any. No video_id implies a channel discussion
177-
* comment.
201+
* The ID of the video the comments refer to, if any.
178202
* @param videoId videoId or {@code null} for none
179203
*/
180204
public CommentThreadSnippet setVideoId(java.lang.String videoId) {

clients/google-api-services-youtube/v3/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-youtube</artifactId>
11-
<version>v3-rev20250224-2.0.0</version>
12-
<name>YouTube Data API v3 v3-rev20250224-2.0.0</name>
11+
<version>v3-rev20250331-2.0.0</version>
12+
<name>YouTube Data API v3 v3-rev20250331-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-youtube/v3/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-youtube</artifactId>
25-
<version>v3-rev20250224-2.0.0</version>
25+
<version>v3-rev20250331-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-youtube:v3-rev20250224-2.0.0'
38+
implementation 'com.google.apis:google-api-services-youtube:v3-rev20250331-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)