Skip to content

Commit

Permalink
feat(youtube): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Aug 8, 2023
1 parent 36420b6 commit 37bf069
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 17 deletions.
56 changes: 56 additions & 0 deletions docs/dyn/youtube_v3.liveBroadcasts.html
Expand Up @@ -147,6 +147,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down Expand Up @@ -256,6 +264,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down Expand Up @@ -345,6 +361,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down Expand Up @@ -501,6 +525,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down Expand Up @@ -630,6 +662,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down Expand Up @@ -719,6 +759,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down Expand Up @@ -808,6 +856,14 @@ <h3>Method Details</h3>
&quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
&quot;id&quot;: &quot;A String&quot;, # The ID that YouTube assigns to uniquely identify the broadcast.
&quot;kind&quot;: &quot;youtube#liveBroadcast&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#liveBroadcast&quot;.
&quot;monetizationDetails&quot;: { # Monetization settings of a broadcast. # The monetizationDetails object contains information about the event&#x27;s monetization details.
&quot;cuepointSchedule&quot;: { # Schedule to insert cuepoints into a broadcast by ads automator.
&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.
&quot;pauseAdsUntil&quot;: &quot;A String&quot;, # If set, automatic cuepoint insertion is paused until this timestamp (&quot;No Ad Zone&quot;).
&quot;repeatInterval&quot;: &quot;A String&quot;, # Interval frequency that api uses to insert cuepoints automatically.
&quot;scheduleStrategy&quot;: &quot;A String&quot;, # The strategy to use when scheduling cuepoints.
},
},
&quot;snippet&quot;: { # Basic broadcast information. # The snippet object contains basic details about the event, including its title, description, start time, and end time.
&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.
&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.
Expand Down
5 changes: 0 additions & 5 deletions docs/dyn/youtube_v3.playlists.html
Expand Up @@ -181,7 +181,6 @@ <h3>Method Details</h3>
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
},
&quot;status&quot;: { # The status object contains status information for the playlist.
&quot;podcastStatus&quot;: &quot;A String&quot;,
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
},
}
Expand Down Expand Up @@ -256,7 +255,6 @@ <h3>Method Details</h3>
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
},
&quot;status&quot;: { # The status object contains status information for the playlist.
&quot;podcastStatus&quot;: &quot;A String&quot;,
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
},
}</pre>
Expand Down Expand Up @@ -348,7 +346,6 @@ <h3>Method Details</h3>
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
},
&quot;status&quot;: { # The status object contains status information for the playlist.
&quot;podcastStatus&quot;: &quot;A String&quot;,
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
},
},
Expand Down Expand Up @@ -449,7 +446,6 @@ <h3>Method Details</h3>
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
},
&quot;status&quot;: { # The status object contains status information for the playlist.
&quot;podcastStatus&quot;: &quot;A String&quot;,
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
},
}
Expand Down Expand Up @@ -523,7 +519,6 @@ <h3>Method Details</h3>
&quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
},
&quot;status&quot;: { # The status object contains status information for the playlist.
&quot;podcastStatus&quot;: &quot;A String&quot;,
&quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
},
}</pre>
Expand Down
62 changes: 50 additions & 12 deletions googleapiclient/discovery_cache/documents/youtube.v3.json
Expand Up @@ -3833,7 +3833,7 @@
}
}
},
"revision": "20230801",
"revision": "20230807",
"rootUrl": "https://youtube.googleapis.com/",
"schemas": {
"AbuseReport": {
Expand Down Expand Up @@ -7434,6 +7434,41 @@
},
"type": "object"
},
"CuepointSchedule": {
"description": "Schedule to insert cuepoints into a broadcast by ads automator.",
"id": "CuepointSchedule",
"properties": {
"enabled": {
"description": "This field is semantically required. If it is set false or not set, other fields in this message will be ignored.",
"type": "boolean"
},
"pauseAdsUntil": {
"description": "If set, automatic cuepoint insertion is paused until this timestamp (\"No Ad Zone\").",
"format": "google-datetime",
"type": "string"
},
"repeatInterval": {
"description": "Interval frequency that api uses to insert cuepoints automatically.",
"format": "google-duration",
"type": "string"
},
"scheduleStrategy": {
"description": "The strategy to use when scheduling cuepoints.",
"enum": [
"scheduleStrategyUnspecified",
"concurrent",
"nonConcurrent"
],
"enumDescriptions": [
"",
"Strategy to schedule cuepoints at one time for all viewers.",
"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."
],
"type": "string"
}
},
"type": "object"
},
"Entity": {
"id": "Entity",
"properties": {
Expand Down Expand Up @@ -7894,6 +7929,10 @@
"description": "Identifies what kind of resource this is. Value: the fixed string \"youtube#liveBroadcast\".",
"type": "string"
},
"monetizationDetails": {
"$ref": "LiveBroadcastMonetizationDetails",
"description": "The monetizationDetails object contains information about the event's monetization details."
},
"snippet": {
"$ref": "LiveBroadcastSnippet",
"description": "The snippet object contains basic details about the event, including its title, description, start time, and end time."
Expand Down Expand Up @@ -8083,6 +8122,16 @@
},
"type": "object"
},
"LiveBroadcastMonetizationDetails": {
"description": "Monetization settings of a broadcast.",
"id": "LiveBroadcastMonetizationDetails",
"properties": {
"cuepointSchedule": {
"$ref": "CuepointSchedule"
}
},
"type": "object"
},
"LiveBroadcastSnippet": {
"description": "Basic broadcast information.",
"id": "LiveBroadcastSnippet",
Expand Down Expand Up @@ -9802,17 +9851,6 @@
"PlaylistStatus": {
"id": "PlaylistStatus",
"properties": {
"podcastStatus": {
"enum": [
"enabled",
"disabled"
],
"enumDescriptions": [
"",
""
],
"type": "string"
},
"privacyStatus": {
"description": "The playlist's privacy status.",
"enum": [
Expand Down

0 comments on commit 37bf069

Please sign in to comment.