Skip to content

Commit b4699d2

Browse files
1 parent 6d2a18b commit b4699d2

File tree

4 files changed

+280
-6
lines changed

4 files changed

+280
-6
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-rev20250422-2.0.0</version>
25+
<version>v3-rev20250714-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-rev20250422-2.0.0'
38+
implementation 'com.google.apis:google-api-services-youtube:v3-rev20250714-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18154,6 +18154,280 @@ public UpdateCommentThreads set(String parameterName, Object value) {
1815418154
}
1815518155
}
1815618156

18157+
/**
18158+
* An accessor for creating requests from the LiveChat collection.
18159+
*
18160+
* <p>The typical use is:</p>
18161+
* <pre>
18162+
* {@code YouTube youtube = new YouTube(...);}
18163+
* {@code YouTube.LiveChat.List request = youtube.liveChat().list(parameters ...)}
18164+
* </pre>
18165+
*
18166+
* @return the resource collection
18167+
*/
18168+
public LiveChat liveChat() {
18169+
return new LiveChat();
18170+
}
18171+
18172+
/**
18173+
* The "liveChat" collection of methods.
18174+
*/
18175+
public class LiveChat {
18176+
18177+
/**
18178+
* An accessor for creating requests from the Messages collection.
18179+
*
18180+
* <p>The typical use is:</p>
18181+
* <pre>
18182+
* {@code YouTube youtube = new YouTube(...);}
18183+
* {@code YouTube.Messages.List request = youtube.messages().list(parameters ...)}
18184+
* </pre>
18185+
*
18186+
* @return the resource collection
18187+
*/
18188+
public Messages messages() {
18189+
return new Messages();
18190+
}
18191+
18192+
/**
18193+
* The "messages" collection of methods.
18194+
*/
18195+
public class Messages {
18196+
18197+
/**
18198+
* Allows a user to load live chat through a server-streamed RPC.
18199+
*
18200+
* Create a request for the method "messages.stream".
18201+
*
18202+
* This request holds the parameters needed by the youtube server. After setting any optional
18203+
* parameters, call the {@link Stream#execute()} method to invoke the remote operation.
18204+
*
18205+
* @return the request
18206+
*/
18207+
public Stream stream() throws java.io.IOException {
18208+
Stream result = new Stream();
18209+
initialize(result);
18210+
return result;
18211+
}
18212+
18213+
public class Stream extends YouTubeRequest<com.google.api.services.youtube.model.LiveChatMessageListResponse> {
18214+
18215+
private static final String REST_PATH = "youtube/v3/liveChat/messages/stream";
18216+
18217+
/**
18218+
* Allows a user to load live chat through a server-streamed RPC.
18219+
*
18220+
* Create a request for the method "messages.stream".
18221+
*
18222+
* This request holds the parameters needed by the the youtube server. After setting any optional
18223+
* parameters, call the {@link Stream#execute()} method to invoke the remote operation. <p> {@link
18224+
* Stream#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
18225+
* be called to initialize this instance immediately after invoking the constructor. </p>
18226+
*
18227+
* @since 1.13
18228+
*/
18229+
protected Stream() {
18230+
super(YouTube.this, "GET", REST_PATH, null, com.google.api.services.youtube.model.LiveChatMessageListResponse.class);
18231+
}
18232+
18233+
@Override
18234+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
18235+
return super.executeUsingHead();
18236+
}
18237+
18238+
@Override
18239+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
18240+
return super.buildHttpRequestUsingHead();
18241+
}
18242+
18243+
@Override
18244+
public Stream set$Xgafv(java.lang.String $Xgafv) {
18245+
return (Stream) super.set$Xgafv($Xgafv);
18246+
}
18247+
18248+
@Override
18249+
public Stream setAccessToken(java.lang.String accessToken) {
18250+
return (Stream) super.setAccessToken(accessToken);
18251+
}
18252+
18253+
@Override
18254+
public Stream setAlt(java.lang.String alt) {
18255+
return (Stream) super.setAlt(alt);
18256+
}
18257+
18258+
@Override
18259+
public Stream setCallback(java.lang.String callback) {
18260+
return (Stream) super.setCallback(callback);
18261+
}
18262+
18263+
@Override
18264+
public Stream setFields(java.lang.String fields) {
18265+
return (Stream) super.setFields(fields);
18266+
}
18267+
18268+
@Override
18269+
public Stream setKey(java.lang.String key) {
18270+
return (Stream) super.setKey(key);
18271+
}
18272+
18273+
@Override
18274+
public Stream setOauthToken(java.lang.String oauthToken) {
18275+
return (Stream) super.setOauthToken(oauthToken);
18276+
}
18277+
18278+
@Override
18279+
public Stream setPrettyPrint(java.lang.Boolean prettyPrint) {
18280+
return (Stream) super.setPrettyPrint(prettyPrint);
18281+
}
18282+
18283+
@Override
18284+
public Stream setQuotaUser(java.lang.String quotaUser) {
18285+
return (Stream) super.setQuotaUser(quotaUser);
18286+
}
18287+
18288+
@Override
18289+
public Stream setUploadType(java.lang.String uploadType) {
18290+
return (Stream) super.setUploadType(uploadType);
18291+
}
18292+
18293+
@Override
18294+
public Stream setUploadProtocol(java.lang.String uploadProtocol) {
18295+
return (Stream) super.setUploadProtocol(uploadProtocol);
18296+
}
18297+
18298+
/**
18299+
* Specifies the localization language in which the system messages should be returned.
18300+
*/
18301+
@com.google.api.client.util.Key
18302+
private java.lang.String hl;
18303+
18304+
/** Specifies the localization language in which the system messages should be returned.
18305+
*/
18306+
public java.lang.String getHl() {
18307+
return hl;
18308+
}
18309+
18310+
/**
18311+
* Specifies the localization language in which the system messages should be returned.
18312+
*/
18313+
public Stream setHl(java.lang.String hl) {
18314+
this.hl = hl;
18315+
return this;
18316+
}
18317+
18318+
/** The id of the live chat for which comments should be returned. */
18319+
@com.google.api.client.util.Key
18320+
private java.lang.String liveChatId;
18321+
18322+
/** The id of the live chat for which comments should be returned.
18323+
*/
18324+
public java.lang.String getLiveChatId() {
18325+
return liveChatId;
18326+
}
18327+
18328+
/** The id of the live chat for which comments should be returned. */
18329+
public Stream setLiveChatId(java.lang.String liveChatId) {
18330+
this.liveChatId = liveChatId;
18331+
return this;
18332+
}
18333+
18334+
/**
18335+
* The *maxResults* parameter specifies the maximum number of items that should be
18336+
* returned in the result set. Not used in the streaming RPC.
18337+
*/
18338+
@com.google.api.client.util.Key
18339+
private java.lang.Long maxResults;
18340+
18341+
/** The *maxResults* parameter specifies the maximum number of items that should be returned in the
18342+
result set. Not used in the streaming RPC. [default: 500] [minimum: 200] [maximum: 2000]
18343+
*/
18344+
public java.lang.Long getMaxResults() {
18345+
return maxResults;
18346+
}
18347+
18348+
/**
18349+
* The *maxResults* parameter specifies the maximum number of items that should be
18350+
* returned in the result set. Not used in the streaming RPC.
18351+
*/
18352+
public Stream setMaxResults(java.lang.Long maxResults) {
18353+
this.maxResults = maxResults;
18354+
return this;
18355+
}
18356+
18357+
/**
18358+
* The *pageToken* parameter identifies a specific page in the result set that should be
18359+
* returned. In an API response, the nextPageToken property identify other pages that
18360+
* could be retrieved.
18361+
*/
18362+
@com.google.api.client.util.Key
18363+
private java.lang.String pageToken;
18364+
18365+
/** The *pageToken* parameter identifies a specific page in the result set that should be returned. In
18366+
an API response, the nextPageToken property identify other pages that could be retrieved.
18367+
*/
18368+
public java.lang.String getPageToken() {
18369+
return pageToken;
18370+
}
18371+
18372+
/**
18373+
* The *pageToken* parameter identifies a specific page in the result set that should be
18374+
* returned. In an API response, the nextPageToken property identify other pages that
18375+
* could be retrieved.
18376+
*/
18377+
public Stream setPageToken(java.lang.String pageToken) {
18378+
this.pageToken = pageToken;
18379+
return this;
18380+
}
18381+
18382+
/**
18383+
* The *part* parameter specifies the liveChatComment resource parts that the API
18384+
* response will include. Supported values are id, snippet, and authorDetails.
18385+
*/
18386+
@com.google.api.client.util.Key
18387+
private java.util.List<java.lang.String> part;
18388+
18389+
/** The *part* parameter specifies the liveChatComment resource parts that the API response will
18390+
include. Supported values are id, snippet, and authorDetails.
18391+
*/
18392+
public java.util.List<java.lang.String> getPart() {
18393+
return part;
18394+
}
18395+
18396+
/**
18397+
* The *part* parameter specifies the liveChatComment resource parts that the API
18398+
* response will include. Supported values are id, snippet, and authorDetails.
18399+
*/
18400+
public Stream setPart(java.util.List<java.lang.String> part) {
18401+
this.part = part;
18402+
return this;
18403+
}
18404+
18405+
/** Specifies the size of the profile image that should be returned for each user. */
18406+
@com.google.api.client.util.Key
18407+
private java.lang.Long profileImageSize;
18408+
18409+
/** Specifies the size of the profile image that should be returned for each user.
18410+
18411+
[minimum: 16] [maximum: 720]
18412+
*/
18413+
public java.lang.Long getProfileImageSize() {
18414+
return profileImageSize;
18415+
}
18416+
18417+
/** Specifies the size of the profile image that should be returned for each user. */
18418+
public Stream setProfileImageSize(java.lang.Long profileImageSize) {
18419+
this.profileImageSize = profileImageSize;
18420+
return this;
18421+
}
18422+
18423+
@Override
18424+
public Stream set(String parameterName, Object value) {
18425+
return (Stream) super.set(parameterName, value);
18426+
}
18427+
}
18428+
18429+
}
18430+
}
1815718431
}
1815818432
}
1815918433

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-rev20250422-2.0.0</version>
12-
<name>YouTube Data API v3 v3-rev20250422-2.0.0</name>
11+
<version>v3-rev20250714-2.0.0</version>
12+
<name>YouTube Data API v3 v3-rev20250714-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-rev20250422-2.0.0</version>
25+
<version>v3-rev20250714-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-rev20250422-2.0.0'
38+
implementation 'com.google.apis:google-api-services-youtube:v3-rev20250714-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)