Skip to content

Commit

Permalink
feat(youtube)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### youtube:v3

The following keys were deleted:
- schemas.CuepointSchedule.properties.pauseAdsUntil.format
- schemas.CuepointSchedule.properties.repeatInterval.description
- schemas.CuepointSchedule.properties.repeatInterval.format
- schemas.CuepointSchedule.properties.repeatInterval.type

The following keys were added:
- resources.search.methods.list.parameters.videoPaidProductPlacement.enum
- resources.search.methods.list.parameters.videoPaidProductPlacement.enumDescriptions
- resources.search.methods.list.parameters.videoPaidProductPlacement.location
- resources.search.methods.list.parameters.videoPaidProductPlacement.type
- schemas.CuepointSchedule.properties.repeatIntervalSecs.description
- schemas.CuepointSchedule.properties.repeatIntervalSecs.format
- schemas.CuepointSchedule.properties.repeatIntervalSecs.type

The following keys were changed:
- schemas.CuepointSchedule.properties.pauseAdsUntil.description
  • Loading branch information
yoshi-automation committed Sep 21, 2023
1 parent 831f6aa commit 0d7760e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
27 changes: 20 additions & 7 deletions discovery/youtube-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2793,6 +2793,20 @@
"location": "query",
"type": "string"
},
"videoPaidProductPlacement": {
"enum": [
"videoPaidProductPlacementUnspecified",
"any",
"true"
],
"enumDescriptions": [
"",
"Return all videos, paid product placement or not.",
"Restrict results to only videos with paid product placement."
],
"location": "query",
"type": "string"
},
"videoSyndicated": {
"description": "Filter on syndicated videos.",
"enum": [
Expand Down Expand Up @@ -3833,7 +3847,7 @@
}
}
},
"revision": "20230807",
"revision": "20230918",
"rootUrl": "https://youtube.googleapis.com/",
"schemas": {
"AbuseReport": {
Expand Down Expand Up @@ -7443,14 +7457,13 @@
"type": "boolean"
},
"pauseAdsUntil": {
"description": "If set, automatic cuepoint insertion is paused until this timestamp (\"No Ad Zone\").",
"format": "google-datetime",
"description": "If set, automatic cuepoint insertion is paused until this timestamp (\"No Ad Zone\"). The value is specified in ISO 8601 format.",
"type": "string"
},
"repeatInterval": {
"description": "Interval frequency that api uses to insert cuepoints automatically.",
"format": "google-duration",
"type": "string"
"repeatIntervalSecs": {
"description": "Interval frequency in seconds that api uses to insert cuepoints automatically.",
"format": "int32",
"type": "integer"
},
"scheduleStrategy": {
"description": "The strategy to use when scheduling cuepoints.",
Expand Down
10 changes: 7 additions & 3 deletions src/apis/youtube/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1688,13 +1688,13 @@ export namespace youtube_v3 {
*/
enabled?: boolean | null;
/**
* If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone").
* If set, automatic cuepoint insertion is paused until this timestamp ("No Ad Zone"). The value is specified in ISO 8601 format.
*/
pauseAdsUntil?: string | null;
/**
* Interval frequency that api uses to insert cuepoints automatically.
* Interval frequency in seconds that api uses to insert cuepoints automatically.
*/
repeatInterval?: string | null;
repeatIntervalSecs?: number | null;
/**
* The strategy to use when scheduling cuepoints.
*/
Expand Down Expand Up @@ -10652,6 +10652,10 @@ export namespace youtube_v3 {
* Filter on the license of the videos.
*/
videoLicense?: string;
/**
*
*/
videoPaidProductPlacement?: string;
/**
* Filter on syndicated videos.
*/
Expand Down

0 comments on commit 0d7760e

Please sign in to comment.