Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 37bf069

Browse files
committedAug 8, 2023
feat(youtube): update the api
#### youtube:v3 The following keys were deleted: - schemas.PlaylistStatus.properties.podcastStatus.type (Total Keys: 1) The following keys were added: - schemas.CuepointSchedule (Total Keys: 8) - schemas.LiveBroadcast.properties.monetizationDetails.$ref (Total Keys: 1) - schemas.LiveBroadcastMonetizationDetails (Total Keys: 3)
1 parent 36420b6 commit 37bf069

File tree

3 files changed

+106
-17
lines changed

3 files changed

+106
-17
lines changed
 

‎docs/dyn/youtube_v3.liveBroadcasts.html

+56
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ <h3>Method Details</h3>
147147
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
148148
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
149149
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
150+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
151+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
152+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
153+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
154+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
155+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
156+
},
157+
},
150158
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
151159
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
152160
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
@@ -256,6 +264,14 @@ <h3>Method Details</h3>
256264
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
257265
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
258266
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
267+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
268+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
269+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
270+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
271+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
272+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
273+
},
274+
},
259275
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
260276
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
261277
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
@@ -345,6 +361,14 @@ <h3>Method Details</h3>
345361
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
346362
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
347363
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
364+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
365+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
366+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
367+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
368+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
369+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
370+
},
371+
},
348372
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
349373
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
350374
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
@@ -501,6 +525,14 @@ <h3>Method Details</h3>
501525
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
502526
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
503527
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
528+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
529+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
530+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
531+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
532+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
533+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
534+
},
535+
},
504536
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
505537
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
506538
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
@@ -630,6 +662,14 @@ <h3>Method Details</h3>
630662
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
631663
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
632664
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
665+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
666+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
667+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
668+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
669+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
670+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
671+
},
672+
},
633673
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
634674
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
635675
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
@@ -719,6 +759,14 @@ <h3>Method Details</h3>
719759
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
720760
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
721761
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
762+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
763+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
764+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
765+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
766+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
767+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
768+
},
769+
},
722770
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
723771
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
724772
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.
@@ -808,6 +856,14 @@ <h3>Method Details</h3>
808856
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
809857
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
810858
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
859+
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
860+
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
861+
&quot;enabled&quot;: True or False, # This field is semantically required. If it is set false or not set, other fields in this message will be ignored.
862+
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
863+
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
864+
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
865+
},
866+
},
811867
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
812868
&quot;actualEndTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually ended. This information is only available once the broadcast&#x27;s state is complete.
813869
&quot;actualStartTime&quot;: &quot;A String&quot;, # The date and time that the broadcast actually started. This information is only available once the broadcast&#x27;s state is live.

‎docs/dyn/youtube_v3.playlists.html

-5
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ <h3>Method Details</h3>
181181
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
182182
},
183183
&quot;status&quot;: { # The status object contains status information for the playlist.
184-
&quot;podcastStatus&quot;: &quot;A String&quot;,
185184
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
186185
},
187186
}
@@ -256,7 +255,6 @@ <h3>Method Details</h3>
256255
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
257256
},
258257
&quot;status&quot;: { # The status object contains status information for the playlist.
259-
&quot;podcastStatus&quot;: &quot;A String&quot;,
260258
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
261259
},
262260
}</pre>
@@ -348,7 +346,6 @@ <h3>Method Details</h3>
348346
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
349347
},
350348
&quot;status&quot;: { # The status object contains status information for the playlist.
351-
&quot;podcastStatus&quot;: &quot;A String&quot;,
352349
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
353350
},
354351
},
@@ -449,7 +446,6 @@ <h3>Method Details</h3>
449446
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
450447
},
451448
&quot;status&quot;: { # The status object contains status information for the playlist.
452-
&quot;podcastStatus&quot;: &quot;A String&quot;,
453449
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
454450
},
455451
}
@@ -523,7 +519,6 @@ <h3>Method Details</h3>
523519
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
524520
},
525521
&quot;status&quot;: { # The status object contains status information for the playlist.
526-
&quot;podcastStatus&quot;: &quot;A String&quot;,
527522
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
528523
},
529524
}</pre>

‎googleapiclient/discovery_cache/documents/youtube.v3.json

+50-12
Original file line numberDiff line numberDiff line change
@@ -3833,7 +3833,7 @@
38333833
}
38343834
}
38353835
},
3836-
"revision": "20230801",
3836+
"revision": "20230807",
38373837
"rootUrl": "https://youtube.googleapis.com/",
38383838
"schemas": {
38393839
"AbuseReport": {
@@ -7434,6 +7434,41 @@
74347434
},
74357435
"type": "object"
74367436
},
7437+
"CuepointSchedule": {
7438+
"description": "Schedule to insert cuepoints into a broadcast by ads automator.",
7439+
"id": "CuepointSchedule",
7440+
"properties": {
7441+
"enabled": {
7442+
"description": "This field is semantically required. If it is set false or not set, other fields in this message will be ignored.",
7443+
"type": "boolean"
7444+
},
7445+
"pauseAdsUntil": {
7446+
"description": "If set, automatic cuepoint insertion is paused until this timestamp (\"No Ad Zone\").",
7447+
"format": "google-datetime",
7448+
"type": "string"
7449+
},
7450+
"repeatInterval": {
7451+
"description": "Interval frequency that api uses to insert cuepoints automatically.",
7452+
"format": "google-duration",
7453+
"type": "string"
7454+
},
7455+
"scheduleStrategy": {
7456+
"description": "The strategy to use when scheduling cuepoints.",
7457+
"enum": [
7458+
"scheduleStrategyUnspecified",
7459+
"concurrent",
7460+
"nonConcurrent"
7461+
],
7462+
"enumDescriptions": [
7463+
"",
7464+
"Strategy to schedule cuepoints at one time for all viewers.",
7465+
"Strategy to schedule cuepoints at an increased rate to allow viewers to receive cuepoints when eligible. See go/lcr-non-concurrent-ads for more details."
7466+
],
7467+
"type": "string"
7468+
}
7469+
},
7470+
"type": "object"
7471+
},
74377472
"Entity": {
74387473
"id": "Entity",
74397474
"properties": {
@@ -7894,6 +7929,10 @@
78947929
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcast\".",
78957930
"type": "string"
78967931
},
7932+
"monetizationDetails": {
7933+
"$ref": "LiveBroadcastMonetizationDetails",
7934+
"description": "The monetizationDetails object contains information about the event's monetization details."
7935+
},
78977936
"snippet": {
78987937
"$ref": "LiveBroadcastSnippet",
78997938
"description": "The snippet object contains basic details about the event, including its title, description, start time, and end time."
@@ -8083,6 +8122,16 @@
80838122
},
80848123
"type": "object"
80858124
},
8125+
"LiveBroadcastMonetizationDetails": {
8126+
"description": "Monetization settings of a broadcast.",
8127+
"id": "LiveBroadcastMonetizationDetails",
8128+
"properties": {
8129+
"cuepointSchedule": {
8130+
"$ref": "CuepointSchedule"
8131+
}
8132+
},
8133+
"type": "object"
8134+
},
80868135
"LiveBroadcastSnippet": {
80878136
"description": "Basic broadcast information.",
80888137
"id": "LiveBroadcastSnippet",
@@ -9802,17 +9851,6 @@
98029851
"PlaylistStatus": {
98039852
"id": "PlaylistStatus",
98049853
"properties": {
9805-
"podcastStatus": {
9806-
"enum": [
9807-
"enabled",
9808-
"disabled"
9809-
],
9810-
"enumDescriptions": [
9811-
"",
9812-
""
9813-
],
9814-
"type": "string"
9815-
},
98169854
"privacyStatus": {
98179855
"description": "The playlist's privacy status.",
98189856
"enum": [

0 commit comments

Comments
 (0)
Please sign in to comment.