Skip to content

Commit 21779d5

Browse files
Regenerate youtube client (googleapis#7736)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-04-09 04:05:09,317 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-youtube nothing to commit, working tree clean 2021-04-09 04:05:09,754 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-04-09 04:05:10,178 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-04-09 04:05:10,181 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-04-09 04:05:11,909 synthtool [INFO] > Generating youtubereporting v1. INFO:synthtool:Generating youtubereporting v1. 2021-04-09 04:05:11,909 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties Empty: OrderedDict([(u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'id', u'Empty'), (u'properties', OrderedDict()), (u'type', u'object')]) Writing json metadata to clients/google-api-services-youtubereporting/v1.metadata.json 2021-04-09 04:05:12,583 synthtool [INFO] > Generating youtubeAnalytics v2. INFO:synthtool:Generating youtubeAnalytics v2. 2021-04-09 04:05:12,583 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 Writing json metadata to clients/google-api-services-youtubeAnalytics/v2.metadata.json 2021-04-09 04:05:13,147 synthtool [INFO] > Generating youtube v3. INFO:synthtool:Generating youtube v3. 2021-04-09 04:05:13,148 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties TestItemTestItemSnippet: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'TestItemTestItemSnippet')]) WARNING:root:object without properties TokenPagination: OrderedDict([(u'id', u'TokenPagination'), (u'type', u'object'), (u'properties', OrderedDict()), (u'description', u'Stub token pagination template to suppress results.')]) WARNING:root:object without properties VideoProjectDetails: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'description', u'DEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/youtube/src/python/servers/data_api/common.py?l=1565-1569&rcl=344141677'), (u'id', u'VideoProjectDetails')]) Writing json metadata to clients/google-api-services-youtube/v3.metadata.json 2021-04-09 04:05:16,815 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-youtube/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-youtube/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/cb8c034b-6574-4ae1-88d8-46a2a9111d0c/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
1 parent aea364e commit 21779d5

File tree

6 files changed

+23
-17
lines changed

6 files changed

+23
-17
lines changed

clients/google-api-services-youtube/v3.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-youtube",
5-
"version": "v3-rev20210406-1.31.0"
5+
"version": "v3-rev20210407-1.31.0"
66
}
77
}

clients/google-api-services-youtube/v3/1.31.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-rev20210406-1.31.0</version>
25+
<version>v3-rev20210407-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-youtube:v3-rev20210406-1.31.0'
38+
compile 'com.google.apis:google-api-services-youtube:v3-rev20210407-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-youtube/v3/1.31.0/com/google/api/services/youtube/model/LiveBroadcastSnippet.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ public final class LiveBroadcastSnippet extends com.google.api.client.json.Gener
8282
private com.google.api.client.util.DateTime publishedAt;
8383

8484
/**
85-
* The date and time that the broadcast is scheduled to start.
85+
* The date and time that the broadcast is scheduled to end.
8686
* The value may be {@code null}.
8787
*/
8888
@com.google.api.client.util.Key
8989
private com.google.api.client.util.DateTime scheduledEndTime;
9090

9191
/**
92-
* The date and time that the broadcast is scheduled to end.
92+
* The date and time that the broadcast is scheduled to start.
9393
* The value may be {@code null}.
9494
*/
9595
@com.google.api.client.util.Key
@@ -239,15 +239,15 @@ public LiveBroadcastSnippet setPublishedAt(com.google.api.client.util.DateTime p
239239
}
240240

241241
/**
242-
* The date and time that the broadcast is scheduled to start.
242+
* The date and time that the broadcast is scheduled to end.
243243
* @return value or {@code null} for none
244244
*/
245245
public com.google.api.client.util.DateTime getScheduledEndTime() {
246246
return scheduledEndTime;
247247
}
248248

249249
/**
250-
* The date and time that the broadcast is scheduled to start.
250+
* The date and time that the broadcast is scheduled to end.
251251
* @param scheduledEndTime scheduledEndTime or {@code null} for none
252252
*/
253253
public LiveBroadcastSnippet setScheduledEndTime(com.google.api.client.util.DateTime scheduledEndTime) {
@@ -256,15 +256,15 @@ public LiveBroadcastSnippet setScheduledEndTime(com.google.api.client.util.DateT
256256
}
257257

258258
/**
259-
* The date and time that the broadcast is scheduled to end.
259+
* The date and time that the broadcast is scheduled to start.
260260
* @return value or {@code null} for none
261261
*/
262262
public com.google.api.client.util.DateTime getScheduledStartTime() {
263263
return scheduledStartTime;
264264
}
265265

266266
/**
267-
* The date and time that the broadcast is scheduled to end.
267+
* The date and time that the broadcast is scheduled to start.
268268
* @param scheduledStartTime scheduledStartTime or {@code null} for none
269269
*/
270270
public LiveBroadcastSnippet setScheduledStartTime(com.google.api.client.util.DateTime scheduledStartTime) {

clients/google-api-services-youtube/v3/1.31.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-rev20210406-1.31.0</version>
12-
<name>YouTube Data API v3 v3-rev20210406-1.31.0</name>
11+
<version>v3-rev20210407-1.31.0</version>
12+
<name>YouTube Data API v3 v3-rev20210407-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-youtube/v3/1.31.0/resources/youtube.v3.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2723,7 +2723,7 @@
27232723
"3d"
27242724
],
27252725
"enumDescriptions": [
2726-
"",
2726+
"Include both 3D and non-3D videos in returned results. This is the default value.",
27272727
"Restrict search results to exclude 3D videos.",
27282728
"Restrict search results to only include 3D videos."
27292729
],
@@ -3764,7 +3764,7 @@
37643764
}
37653765
}
37663766
},
3767-
"revision": "20210406",
3767+
"revision": "20210407",
37683768
"rootUrl": "https://youtube.googleapis.com/",
37693769
"schemas": {
37703770
"AbuseReport": {
@@ -7915,12 +7915,18 @@
79157915
"type": "string"
79167916
},
79177917
"scheduledEndTime": {
7918-
"description": "The date and time that the broadcast is scheduled to start.",
7918+
"description": "The date and time that the broadcast is scheduled to end.",
79197919
"format": "date-time",
79207920
"type": "string"
79217921
},
79227922
"scheduledStartTime": {
7923-
"description": "The date and time that the broadcast is scheduled to end.",
7923+
"annotations": {
7924+
"required": [
7925+
"youtube.liveBroadcasts.insert",
7926+
"youtube.liveBroadcasts.update"
7927+
]
7928+
},
7929+
"description": "The date and time that the broadcast is scheduled to start.",
79247930
"format": "date-time",
79257931
"type": "string"
79267932
},

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-rev20210406-1.31.0</version>
25+
<version>v3-rev20210407-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-youtube:v3-rev20210406-1.31.0'
38+
compile 'com.google.apis:google-api-services-youtube:v3-rev20210407-1.31.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)