Debian Codegraph @

docs/dyn/youtube_v3.playlists.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.playlists.html">playlists</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes a resource.</p>
83 <p class="toc_element">
84 <code><a href="#insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Inserts a new resource into this collection.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(part, channelId=None, hl=None, id=None, maxResults=None, mine=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves a list of resources, possibly filtered.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates an existing resource.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="delete">delete(id, onBehalfOfContentOwner=None, x__xgafv=None)</code>
103 <pre>Deletes a resource.
104
105 Args:
106 id: string, A parameter (required)
107 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.
108 x__xgafv: string, V1 error format.
109 Allowed values
110 1 - v1 error format
111 2 - v2 error format
112 </pre>
113 </div>
114
115 <div class="method">
116 <code class="details" id="insert">insert(part, body=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, x__xgafv=None)</code>
117 <pre>Inserts a new resource into this collection.
118
119 Args:
120 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. (required) (repeated)
121 body: object, The request body.
122 The object takes the form of:
123
124 { # A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company&#x27;s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
125 &quot;contentDetails&quot;: { # The contentDetails object contains information like video count.
126 &quot;itemCount&quot;: 42, # The number of videos in the playlist.
127 },
128 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
129 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the playlist.
130 &quot;kind&quot;: &quot;youtube#playlist&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#playlist&quot;.
131 &quot;localizations&quot;: { # Localizations for different languages
132 &quot;a_key&quot;: { # Playlist localization setting
133 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
134 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
135 },
136 },
137 &quot;player&quot;: { # The player object contains information that you would use to play the playlist in an embedded player.
138 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the playlist.
139 },
140 &quot;snippet&quot;: { # Basic details about a playlist, including title, description and thumbnails. # The snippet object contains basic details about the playlist, such as its title and description.
141 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that published the playlist.
142 &quot;channelTitle&quot;: &quot;A String&quot;, # The channel title of the channel that the video belongs to.
143 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the playlist&#x27;s default title and description.
144 &quot;description&quot;: &quot;A String&quot;, # The playlist&#x27;s description.
145 &quot;localized&quot;: { # Playlist localization setting # Localized title and description, read-only.
146 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
147 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
148 },
149 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the playlist was created.
150 &quot;tags&quot;: [ # Keyword tags associated with the playlist.
151 &quot;A String&quot;,
152 ],
153 &quot;thumbnailVideoId&quot;: &quot;A String&quot;, # Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
154 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
155 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
156 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
157 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
158 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
159 },
160 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
161 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
162 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
163 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
164 },
165 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
166 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
167 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
168 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
169 },
170 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
171 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
172 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
173 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
174 },
175 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
176 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
177 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
178 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
179 },
180 },
181 &quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
182 },
183 &quot;status&quot;: { # The status object contains status information for the playlist.
184 &quot;podcastStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s podcast status.
185 &quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
186 },
187 }
188
189 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.
190 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
191 x__xgafv: string, V1 error format.
192 Allowed values
193 1 - v1 error format
194 2 - v2 error format
195
196 Returns:
197 An object of the form:
198
199 { # A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company&#x27;s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
200 &quot;contentDetails&quot;: { # The contentDetails object contains information like video count.
201 &quot;itemCount&quot;: 42, # The number of videos in the playlist.
202 },
203 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
204 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the playlist.
205 &quot;kind&quot;: &quot;youtube#playlist&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#playlist&quot;.
206 &quot;localizations&quot;: { # Localizations for different languages
207 &quot;a_key&quot;: { # Playlist localization setting
208 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
209 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
210 },
211 },
212 &quot;player&quot;: { # The player object contains information that you would use to play the playlist in an embedded player.
213 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the playlist.
214 },
215 &quot;snippet&quot;: { # Basic details about a playlist, including title, description and thumbnails. # The snippet object contains basic details about the playlist, such as its title and description.
216 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that published the playlist.
217 &quot;channelTitle&quot;: &quot;A String&quot;, # The channel title of the channel that the video belongs to.
218 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the playlist&#x27;s default title and description.
219 &quot;description&quot;: &quot;A String&quot;, # The playlist&#x27;s description.
220 &quot;localized&quot;: { # Playlist localization setting # Localized title and description, read-only.
221 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
222 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
223 },
224 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the playlist was created.
225 &quot;tags&quot;: [ # Keyword tags associated with the playlist.
226 &quot;A String&quot;,
227 ],
228 &quot;thumbnailVideoId&quot;: &quot;A String&quot;, # Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
229 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
230 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
231 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
232 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
233 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
234 },
235 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
236 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
237 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
238 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
239 },
240 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
241 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
242 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
243 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
244 },
245 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
246 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
247 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
248 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
249 },
250 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
251 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
252 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
253 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
254 },
255 },
256 &quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
257 },
258 &quot;status&quot;: { # The status object contains status information for the playlist.
259 &quot;podcastStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s podcast status.
260 &quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
261 },
262 }</pre>
263 </div>
264
265 <div class="method">
266 <code class="details" id="list">list(part, channelId=None, hl=None, id=None, maxResults=None, mine=None, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, pageToken=None, x__xgafv=None)</code>
267 <pre>Retrieves a list of resources, possibly filtered.
268
269 Args:
270 part: string, The *part* parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set *part=snippet*, the API response will contain all of those properties. (required) (repeated)
271 channelId: string, Return the playlists owned by the specified channel ID.
272 hl: string, Return content in specified language
273 id: string, Return the playlists with the given IDs for Stubby or Apiary. (repeated)
274 maxResults: integer, The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
275 mine: boolean, Return the playlists owned by the authenticated user.
276 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.
277 onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
278 pageToken: string, The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284 Returns:
285 An object of the form:
286
287 {
288 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
289 &quot;eventId&quot;: &quot;A String&quot;, # Serialized EventId of the request which produced this response.
290 &quot;items&quot;: [ # A list of playlists that match the request criteria
291 { # A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company&#x27;s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
292 &quot;contentDetails&quot;: { # The contentDetails object contains information like video count.
293 &quot;itemCount&quot;: 42, # The number of videos in the playlist.
294 },
295 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
296 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the playlist.
297 &quot;kind&quot;: &quot;youtube#playlist&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#playlist&quot;.
298 &quot;localizations&quot;: { # Localizations for different languages
299 &quot;a_key&quot;: { # Playlist localization setting
300 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
301 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
302 },
303 },
304 &quot;player&quot;: { # The player object contains information that you would use to play the playlist in an embedded player.
305 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the playlist.
306 },
307 &quot;snippet&quot;: { # Basic details about a playlist, including title, description and thumbnails. # The snippet object contains basic details about the playlist, such as its title and description.
308 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that published the playlist.
309 &quot;channelTitle&quot;: &quot;A String&quot;, # The channel title of the channel that the video belongs to.
310 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the playlist&#x27;s default title and description.
311 &quot;description&quot;: &quot;A String&quot;, # The playlist&#x27;s description.
312 &quot;localized&quot;: { # Playlist localization setting # Localized title and description, read-only.
313 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
314 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
315 },
316 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the playlist was created.
317 &quot;tags&quot;: [ # Keyword tags associated with the playlist.
318 &quot;A String&quot;,
319 ],
320 &quot;thumbnailVideoId&quot;: &quot;A String&quot;, # Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
321 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
322 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
323 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
324 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
325 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
326 },
327 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
328 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
329 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
330 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
331 },
332 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
333 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
334 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
335 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
336 },
337 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
338 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
339 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
340 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
341 },
342 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
343 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
344 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
345 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
346 },
347 },
348 &quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
349 },
350 &quot;status&quot;: { # The status object contains status information for the playlist.
351 &quot;podcastStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s podcast status.
352 &quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
353 },
354 },
355 ],
356 &quot;kind&quot;: &quot;youtube#playlistListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#playlistListResponse&quot;.
357 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
358 &quot;pageInfo&quot;: { # Paging details for lists of resources, including total number of items available and number of resources returned in a single page. # General pagination information.
359 &quot;resultsPerPage&quot;: 42, # The number of results included in the API response.
360 &quot;totalResults&quot;: 42, # The total number of results in the result set.
361 },
362 &quot;prevPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
363 &quot;tokenPagination&quot;: { # Stub token pagination template to suppress results.
364 },
365 &quot;visitorId&quot;: &quot;A String&quot;, # The visitorId identifies the visitor.
366 }</pre>
367 </div>
368
369 <div class="method">
370 <code class="details" id="list_next">list_next()</code>
371 <pre>Retrieves the next page of results.
372
373 Args:
374 previous_request: The request for the previous page. (required)
375 previous_response: The response from the request for the previous page. (required)
376
377 Returns:
378 A request object that you can call &#x27;execute()&#x27; on to request the next
379 page. Returns None if there are no more items in the collection.
380 </pre>
381 </div>
382
383 <div class="method">
384 <code class="details" id="update">update(part, body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
385 <pre>Updates an existing resource.
386
387 Args:
388 part: string, The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For example, a playlist&#x27;s description is contained in the snippet part, which must be included in the request body. If the request does not specify a value for the snippet.description property, the playlist&#x27;s existing description will be deleted. (required) (repeated)
389 body: object, The request body.
390 The object takes the form of:
391
392 { # A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company&#x27;s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
393 &quot;contentDetails&quot;: { # The contentDetails object contains information like video count.
394 &quot;itemCount&quot;: 42, # The number of videos in the playlist.
395 },
396 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
397 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the playlist.
398 &quot;kind&quot;: &quot;youtube#playlist&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#playlist&quot;.
399 &quot;localizations&quot;: { # Localizations for different languages
400 &quot;a_key&quot;: { # Playlist localization setting
401 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
402 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
403 },
404 },
405 &quot;player&quot;: { # The player object contains information that you would use to play the playlist in an embedded player.
406 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the playlist.
407 },
408 &quot;snippet&quot;: { # Basic details about a playlist, including title, description and thumbnails. # The snippet object contains basic details about the playlist, such as its title and description.
409 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that published the playlist.
410 &quot;channelTitle&quot;: &quot;A String&quot;, # The channel title of the channel that the video belongs to.
411 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the playlist&#x27;s default title and description.
412 &quot;description&quot;: &quot;A String&quot;, # The playlist&#x27;s description.
413 &quot;localized&quot;: { # Playlist localization setting # Localized title and description, read-only.
414 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
415 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
416 },
417 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the playlist was created.
418 &quot;tags&quot;: [ # Keyword tags associated with the playlist.
419 &quot;A String&quot;,
420 ],
421 &quot;thumbnailVideoId&quot;: &quot;A String&quot;, # Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
422 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
423 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
424 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
425 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
426 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
427 },
428 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
429 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
430 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
431 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
432 },
433 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
434 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
435 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
436 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
437 },
438 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
439 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
440 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
441 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
442 },
443 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
444 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
445 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
446 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
447 },
448 },
449 &quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
450 },
451 &quot;status&quot;: { # The status object contains status information for the playlist.
452 &quot;podcastStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s podcast status.
453 &quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
454 },
455 }
456
457 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.
458 x__xgafv: string, V1 error format.
459 Allowed values
460 1 - v1 error format
461 2 - v2 error format
462
463 Returns:
464 An object of the form:
465
466 { # A *playlist* resource represents a YouTube playlist. A playlist is a collection of videos that can be viewed sequentially and shared with other users. A playlist can contain up to 200 videos, and YouTube does not limit the number of playlists that each user creates. By default, playlists are publicly visible to other users, but playlists can be public or private. YouTube also uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history - watch later To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company&#x27;s videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistItems.list method to retrieve any of those lists. You can also add or remove items from those lists by calling the playlistItems.insert and playlistItems.delete methods.
467 &quot;contentDetails&quot;: { # The contentDetails object contains information like video count.
468 &quot;itemCount&quot;: 42, # The number of videos in the playlist.
469 },
470 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
471 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the playlist.
472 &quot;kind&quot;: &quot;youtube#playlist&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#playlist&quot;.
473 &quot;localizations&quot;: { # Localizations for different languages
474 &quot;a_key&quot;: { # Playlist localization setting
475 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
476 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
477 },
478 },
479 &quot;player&quot;: { # The player object contains information that you would use to play the playlist in an embedded player.
480 &quot;embedHtml&quot;: &quot;A String&quot;, # An &lt;iframe&gt; tag that embeds a player that will play the playlist.
481 },
482 &quot;snippet&quot;: { # Basic details about a playlist, including title, description and thumbnails. # The snippet object contains basic details about the playlist, such as its title and description.
483 &quot;channelId&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the channel that published the playlist.
484 &quot;channelTitle&quot;: &quot;A String&quot;, # The channel title of the channel that the video belongs to.
485 &quot;defaultLanguage&quot;: &quot;A String&quot;, # The language of the playlist&#x27;s default title and description.
486 &quot;description&quot;: &quot;A String&quot;, # The playlist&#x27;s description.
487 &quot;localized&quot;: { # Playlist localization setting # Localized title and description, read-only.
488 &quot;description&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s description.
489 &quot;title&quot;: &quot;A String&quot;, # The localized strings for playlist&#x27;s title.
490 },
491 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the playlist was created.
492 &quot;tags&quot;: [ # Keyword tags associated with the playlist.
493 &quot;A String&quot;,
494 ],
495 &quot;thumbnailVideoId&quot;: &quot;A String&quot;, # Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
496 &quot;thumbnails&quot;: { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the playlist. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
497 &quot;default&quot;: { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
498 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
499 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
500 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
501 },
502 &quot;high&quot;: { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
503 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
504 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
505 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
506 },
507 &quot;maxres&quot;: { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
508 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
509 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
510 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
511 },
512 &quot;medium&quot;: { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
513 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
514 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
515 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
516 },
517 &quot;standard&quot;: { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
518 &quot;height&quot;: 42, # (Optional) Height of the thumbnail image.
519 &quot;url&quot;: &quot;A String&quot;, # The thumbnail image&#x27;s URL.
520 &quot;width&quot;: 42, # (Optional) Width of the thumbnail image.
521 },
522 },
523 &quot;title&quot;: &quot;A String&quot;, # The playlist&#x27;s title.
524 },
525 &quot;status&quot;: { # The status object contains status information for the playlist.
526 &quot;podcastStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s podcast status.
527 &quot;privacyStatus&quot;: &quot;A String&quot;, # The playlist&#x27;s privacy status.
528 },
529 }</pre>
530 </div>
531
532 </body></html>