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 added:
- resources.playlistImages.methods.update.mediaUpload (Total Keys: 6)
- resources.playlistImages.methods.update.supportsMediaUpload (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Mar 5, 2024
1 parent 3e9c09d commit a54435f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/dyn/youtube_v3.playlistImages.html
Expand Up @@ -90,7 +90,7 @@ <h2>Instance Methods</h2>
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#update">update(body=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)</a></code></p>
<code><a href="#update">update(body=None, media_body=None, media_mime_type=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing resource.</p>
<h3>Method Details</h3>
<div class="method">
Expand Down Expand Up @@ -213,7 +213,7 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="update">update(body=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)</code>
<code class="details" id="update">update(body=None, media_body=None, media_mime_type=None, onBehalfOfContentOwner=None, part=None, x__xgafv=None)</code>
<pre>Updates an existing resource.

Args:
Expand All @@ -231,6 +231,8 @@ <h3>Method Details</h3>
},
}

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&#x27;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.
Expand Down
23 changes: 21 additions & 2 deletions googleapiclient/discovery_cache/documents/youtube.v3.json
Expand Up @@ -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": {
Expand All @@ -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
}
}
},
Expand Down Expand Up @@ -4018,7 +4037,7 @@
}
}
},
"revision": "20240225",
"revision": "20240303",
"rootUrl": "https://youtube.googleapis.com/",
"schemas": {
"AbuseReport": {
Expand Down

0 comments on commit a54435f

Please sign in to comment.