From a54435f985e7b3a56f1e5903ff988bb0fa3e566f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 5 Mar 2024 07:08:09 +0000 Subject: [PATCH] feat(youtube): update the api #### youtube:v3 The following keys were added: - resources.playlistImages.methods.update.mediaUpload (Total Keys: 6) - resources.playlistImages.methods.update.supportsMediaUpload (Total Keys: 1) --- docs/dyn/youtube_v3.playlistImages.html | 6 +++-- .../discovery_cache/documents/youtube.v3.json | 23 +++++++++++++++++-- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/docs/dyn/youtube_v3.playlistImages.html b/docs/dyn/youtube_v3.playlistImages.html index e5cf63823c..a2514d4461 100644 --- a/docs/dyn/youtube_v3.playlistImages.html +++ b/docs/dyn/youtube_v3.playlistImages.html @@ -90,7 +90,7 @@

Instance Methods

list_next()

Retrieves the next page of results.

- update(body=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)

+ update(body=None, media_body=None, media_mime_type=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)

Updates an existing resource.

Method Details

@@ -213,7 +213,7 @@

Method Details

- update(body=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None) + update(body=None, media_body=None, media_mime_type=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)
Updates an existing resource.
 
 Args:
@@ -231,6 +231,8 @@ 

Method Details

}, } + media_body: string, The filename of the media request body, or an instance of a MediaUpload object. + media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object. onBehalfOfContentOwner: string, *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. part: string, The *part* parameter specifies the properties that the API response will include. (repeated) x__xgafv: string, V1 error format. diff --git a/googleapiclient/discovery_cache/documents/youtube.v3.json b/googleapiclient/discovery_cache/documents/youtube.v3.json index a338efe0af..53fb700696 100644 --- a/googleapiclient/discovery_cache/documents/youtube.v3.json +++ b/googleapiclient/discovery_cache/documents/youtube.v3.json @@ -2313,6 +2313,24 @@ "flatPath": "youtube/v3/playlistImages", "httpMethod": "PUT", "id": "youtube.playlistImages.update", +"mediaUpload": { +"accept": [ +"image/jpeg", +"image/png", +"application/octet-stream" +], +"maxSize": "2097152", +"protocols": { +"resumable": { +"multipart": true, +"path": "/resumable/upload/youtube/v3/playlistImages" +}, +"simple": { +"multipart": true, +"path": "/upload/youtube/v3/playlistImages" +} +} +}, "parameterOrder": [], "parameters": { "onBehalfOfContentOwner": { @@ -2338,7 +2356,8 @@ "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" -] +], +"supportsMediaUpload": true } } }, @@ -4018,7 +4037,7 @@ } } }, -"revision": "20240225", +"revision": "20240303", "rootUrl": "https://youtube.googleapis.com/", "schemas": { "AbuseReport": {