blob: a36f186d1743d1eaa3daadb42b4b47d762987cdf [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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="youtubeAnalytics_v2.html">YouTube Analytics API</a> . <a href="youtubeAnalytics_v2.groups.html">groups</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070078 <code><a href="#delete">delete(id=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Deletes a group.</p>
80<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#insert">insert(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070082<p class="firstline">Creates a group.</p>
83<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <code><a href="#list">list(pageToken=None, onBehalfOfContentOwner=None, id=None, mine=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070085<p class="firstline">Returns a collection of groups that match the API request parameters. For</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070090 <code><a href="#update">update(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070091<p class="firstline">Modifies a group. For example, you could change a group's title.</p>
92<h3>Method Details</h3>
93<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -070094 <code class="details" id="delete">delete(id=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 <pre>Deletes a group.
96
97Args:
Bu Sun Kim65020912020-05-20 12:08:20 -070098 id: string, The `id` parameter specifies the YouTube group ID of the group that is
99being deleted.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100 onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:**
101This parameter is intended exclusively for YouTube content partners that
102own and manage many different YouTube channels.
103
Bu Sun Kim65020912020-05-20 12:08:20 -0700104The `onBehalfOfContentOwner` parameter indicates that the request&#x27;s
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105authorization credentials identify a YouTube user who is acting on behalf
106of the content owner specified in the parameter value. It allows content
107owners to authenticate once and get access to all their video and channel
108data, without having to provide authentication credentials for each
109individual channel. The account that the user authenticates with must be
110linked to the specified YouTube content owner.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116Returns:
117 An object of the form:
118
119 { # Empty response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700121 #
122 # The presence of an error field signals that the operation
123 # has failed.
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125 # Set custom error codes in ErrorProto.domain and ErrorProto.code
126 # instead.
Bu Sun Kim65020912020-05-20 12:08:20 -0700127 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128 # used to identify the error in the logs
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;error&quot;: [ # Specific error description and codes
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700130 { # Describes one specific error.
Bu Sun Kim65020912020-05-20 12:08:20 -0700131 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700132 # a value of the enum type whose name is in domain. See
133 # the core error domain in error_domain.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700134 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
135 # domain and error codes. This should normally be
136 # the name of an enum type, such as: gdata.CoreErrorDomain
137 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
138 #
139 # If location_type is PATH, this should be a path to a field that&#x27;s
140 # relative to the request, using FieldPath notation
141 # (net/proto2/util/public/field_path.h).
142 #
143 # Examples:
144 # authenticated_user.gaia_id
145 # resource.address[2].country
146 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
147 # given the error domain and code. Different error codes require different
148 # arguments.
149 &quot;A String&quot;,
150 ],
151 &quot;locationType&quot;: &quot;A String&quot;,
152 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700153 #
154 # Please set domain, code and arguments whenever possible instead of this
155 # error message so that external APIs can build safe error messages
156 # themselves.
157 #
158 # External messages built in a RoSy interface will most likely refer to
159 # information and concepts that are not available externally and should not
160 # be exposed. It is safer if external APIs can understand the errors and
161 # decide what the error message should look like.
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700163 # shared externally.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700164 },
165 ],
166 },
167 }</pre>
168</div>
169
170<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700171 <code class="details" id="insert">insert(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700172 <pre>Creates a group.
173
174Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700175 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700176 The object takes the form of:
177
178{ # A group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700179 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
180 &quot;errors&quot;: { # Request Error information. # Apiary error details
181 #
182 # The presence of an error field signals that the operation
183 # has failed.
184 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
185 # Set custom error codes in ErrorProto.domain and ErrorProto.code
186 # instead.
187 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
188 # used to identify the error in the logs
189 &quot;error&quot;: [ # Specific error description and codes
190 { # Describes one specific error.
191 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
192 # a value of the enum type whose name is in domain. See
193 # the core error domain in error_domain.proto.
194 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
195 # domain and error codes. This should normally be
196 # the name of an enum type, such as: gdata.CoreErrorDomain
197 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
198 #
199 # If location_type is PATH, this should be a path to a field that&#x27;s
200 # relative to the request, using FieldPath notation
201 # (net/proto2/util/public/field_path.h).
202 #
203 # Examples:
204 # authenticated_user.gaia_id
205 # resource.address[2].country
206 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
207 # given the error domain and code. Different error codes require different
208 # arguments.
209 &quot;A String&quot;,
210 ],
211 &quot;locationType&quot;: &quot;A String&quot;,
212 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
213 #
214 # Please set domain, code and arguments whenever possible instead of this
215 # error message so that external APIs can build safe error messages
216 # themselves.
217 #
218 # External messages built in a RoSy interface will most likely refer to
219 # information and concepts that are not available externally and should not
220 # be exposed. It is safer if external APIs can understand the errors and
221 # decide what the error message should look like.
222 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
223 # shared externally.
224 },
225 ],
226 },
227 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
228 &quot;contentDetails&quot;: { # A group&#x27;s content details. # The `contentDetails` object contains additional information about the
229 # group, such as the number and type of items that it contains.
230 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
231 &quot;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700232 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 # Valid values for this property are:
234 # * `youtube#channel`
235 # * `youtube#playlist`
236 # * `youtube#video`
237 # * `youtubePartner#asset`
238 },
239 &quot;snippet&quot;: { # A group snippet. # The `snippet` object contains basic information about the group, including
240 # its creation date and name.
241 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
242 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
243 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
244 },
245 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#group`.
246}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700247
248 onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:**
249This parameter is intended exclusively for YouTube content partners that
250own and manage many different YouTube channels.
251
Bu Sun Kim65020912020-05-20 12:08:20 -0700252The `onBehalfOfContentOwner` parameter indicates that the request&#x27;s
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700253authorization credentials identify a YouTube user who is acting on behalf
254of the content owner specified in the parameter value. It allows content
255owners to authenticate once and get access to all their video and channel
256data, without having to provide authentication credentials for each
257individual channel. The account that the user authenticates with must be
258linked to the specified YouTube content owner.
259 x__xgafv: string, V1 error format.
260 Allowed values
261 1 - v1 error format
262 2 - v2 error format
263
264Returns:
265 An object of the form:
266
267 { # A group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700268 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
269 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700270 #
271 # The presence of an error field signals that the operation
272 # has failed.
Bu Sun Kim65020912020-05-20 12:08:20 -0700273 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700274 # Set custom error codes in ErrorProto.domain and ErrorProto.code
275 # instead.
Bu Sun Kim65020912020-05-20 12:08:20 -0700276 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700277 # used to identify the error in the logs
Bu Sun Kim65020912020-05-20 12:08:20 -0700278 &quot;error&quot;: [ # Specific error description and codes
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700279 { # Describes one specific error.
Bu Sun Kim65020912020-05-20 12:08:20 -0700280 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700281 # a value of the enum type whose name is in domain. See
282 # the core error domain in error_domain.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
284 # domain and error codes. This should normally be
285 # the name of an enum type, such as: gdata.CoreErrorDomain
286 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
287 #
288 # If location_type is PATH, this should be a path to a field that&#x27;s
289 # relative to the request, using FieldPath notation
290 # (net/proto2/util/public/field_path.h).
291 #
292 # Examples:
293 # authenticated_user.gaia_id
294 # resource.address[2].country
295 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
296 # given the error domain and code. Different error codes require different
297 # arguments.
298 &quot;A String&quot;,
299 ],
300 &quot;locationType&quot;: &quot;A String&quot;,
301 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700302 #
303 # Please set domain, code and arguments whenever possible instead of this
304 # error message so that external APIs can build safe error messages
305 # themselves.
306 #
307 # External messages built in a RoSy interface will most likely refer to
308 # information and concepts that are not available externally and should not
309 # be exposed. It is safer if external APIs can understand the errors and
310 # decide what the error message should look like.
Bu Sun Kim65020912020-05-20 12:08:20 -0700311 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700312 # shared externally.
Bu Sun Kim65020912020-05-20 12:08:20 -0700313 },
314 ],
315 },
316 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
317 &quot;contentDetails&quot;: { # A group&#x27;s content details. # The `contentDetails` object contains additional information about the
318 # group, such as the number and type of items that it contains.
319 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
320 &quot;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
321 #
322 # Valid values for this property are:
323 # * `youtube#channel`
324 # * `youtube#playlist`
325 # * `youtube#video`
326 # * `youtubePartner#asset`
327 },
328 &quot;snippet&quot;: { # A group snippet. # The `snippet` object contains basic information about the group, including
329 # its creation date and name.
330 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
331 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
332 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
333 },
334 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#group`.
335 }</pre>
336</div>
337
338<div class="method">
339 <code class="details" id="list">list(pageToken=None, onBehalfOfContentOwner=None, id=None, mine=None, x__xgafv=None)</code>
340 <pre>Returns a collection of groups that match the API request parameters. For
341example, you can retrieve all groups that the authenticated user owns,
342or you can retrieve one or more groups by their unique IDs.
343
344Args:
345 pageToken: string, The `pageToken` parameter identifies a specific page in the result set that
346should be returned. In an API response, the `nextPageToken` property
347identifies the next page that can be retrieved.
348 onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:**
349This parameter is intended exclusively for YouTube content partners that
350own and manage many different YouTube channels.
351
352The `onBehalfOfContentOwner` parameter indicates that the request&#x27;s
353authorization credentials identify a YouTube user who is acting on behalf
354of the content owner specified in the parameter value. It allows content
355owners to authenticate once and get access to all their video and channel
356data, without having to provide authentication credentials for each
357individual channel. The account that the user authenticates with must be
358linked to the specified YouTube content owner.
359 id: string, The `id` parameter specifies a comma-separated list of the YouTube group
360ID(s) for the resource(s) that are being retrieved. Each group must be
361owned by the authenticated user. In a `group` resource, the `id` property
362specifies the group&#x27;s YouTube group ID.
363
364Note that if you do not specify a value for the `id` parameter, then you
365must set the `mine` parameter to `true`.
366 mine: boolean, This parameter can only be used in a properly authorized request. Set this
367parameter&#x27;s value to true to retrieve all groups owned by the authenticated
368user.
369 x__xgafv: string, V1 error format.
370 Allowed values
371 1 - v1 error format
372 2 - v2 error format
373
374Returns:
375 An object of the form:
376
377 { # Response message for GroupsService.ListGroups.
378 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
379 &quot;items&quot;: [ # A list of groups that match the API request parameters. Each item in the
380 # list represents a `group` resource.
381 { # A group.
382 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
383 &quot;errors&quot;: { # Request Error information. # Apiary error details
384 #
385 # The presence of an error field signals that the operation
386 # has failed.
387 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
388 # Set custom error codes in ErrorProto.domain and ErrorProto.code
389 # instead.
390 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
391 # used to identify the error in the logs
392 &quot;error&quot;: [ # Specific error description and codes
393 { # Describes one specific error.
394 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
395 # a value of the enum type whose name is in domain. See
396 # the core error domain in error_domain.proto.
397 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
398 # domain and error codes. This should normally be
399 # the name of an enum type, such as: gdata.CoreErrorDomain
400 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
401 #
402 # If location_type is PATH, this should be a path to a field that&#x27;s
403 # relative to the request, using FieldPath notation
404 # (net/proto2/util/public/field_path.h).
405 #
406 # Examples:
407 # authenticated_user.gaia_id
408 # resource.address[2].country
409 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
410 # given the error domain and code. Different error codes require different
411 # arguments.
412 &quot;A String&quot;,
413 ],
414 &quot;locationType&quot;: &quot;A String&quot;,
415 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
416 #
417 # Please set domain, code and arguments whenever possible instead of this
418 # error message so that external APIs can build safe error messages
419 # themselves.
420 #
421 # External messages built in a RoSy interface will most likely refer to
422 # information and concepts that are not available externally and should not
423 # be exposed. It is safer if external APIs can understand the errors and
424 # decide what the error message should look like.
425 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
426 # shared externally.
427 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700428 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700429 },
430 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
431 &quot;contentDetails&quot;: { # A group&#x27;s content details. # The `contentDetails` object contains additional information about the
432 # group, such as the number and type of items that it contains.
433 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
434 &quot;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700435 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700436 # Valid values for this property are:
437 # * `youtube#channel`
438 # * `youtube#playlist`
439 # * `youtube#video`
440 # * `youtubePartner#asset`
441 },
442 &quot;snippet&quot;: { # A group snippet. # The `snippet` object contains basic information about the group, including
443 # its creation date and name.
444 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
445 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
446 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
447 },
448 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#group`.
449 },
450 ],
451 &quot;errors&quot;: { # Request Error information. # Apiary error details
452 #
453 # The presence of an error field signals that the operation
454 # has failed.
455 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
456 # Set custom error codes in ErrorProto.domain and ErrorProto.code
457 # instead.
458 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
459 # used to identify the error in the logs
460 &quot;error&quot;: [ # Specific error description and codes
461 { # Describes one specific error.
462 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
463 # a value of the enum type whose name is in domain. See
464 # the core error domain in error_domain.proto.
465 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
466 # domain and error codes. This should normally be
467 # the name of an enum type, such as: gdata.CoreErrorDomain
468 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
469 #
470 # If location_type is PATH, this should be a path to a field that&#x27;s
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700471 # relative to the request, using FieldPath notation
472 # (net/proto2/util/public/field_path.h).
473 #
474 # Examples:
475 # authenticated_user.gaia_id
476 # resource.address[2].country
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
478 # given the error domain and code. Different error codes require different
479 # arguments.
480 &quot;A String&quot;,
481 ],
482 &quot;locationType&quot;: &quot;A String&quot;,
483 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
484 #
485 # Please set domain, code and arguments whenever possible instead of this
486 # error message so that external APIs can build safe error messages
487 # themselves.
488 #
489 # External messages built in a RoSy interface will most likely refer to
490 # information and concepts that are not available externally and should not
491 # be exposed. It is safer if external APIs can understand the errors and
492 # decide what the error message should look like.
493 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
494 # shared externally.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700495 },
496 ],
497 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be
499 # `youtube#groupListResponse`.
500 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token that can be used as the value of the `pageToken` parameter to
501 # retrieve the next page in the result set.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700502 }</pre>
503</div>
504
505<div class="method">
506 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
507 <pre>Retrieves the next page of results.
508
509Args:
510 previous_request: The request for the previous page. (required)
511 previous_response: The response from the request for the previous page. (required)
512
513Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700514 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700515 page. Returns None if there are no more items in the collection.
516 </pre>
517</div>
518
519<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700520 <code class="details" id="update">update(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700521 <pre>Modifies a group. For example, you could change a group&#x27;s title.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700522
523Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700524 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700525 The object takes the form of:
526
527{ # A group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700528 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
529 &quot;errors&quot;: { # Request Error information. # Apiary error details
530 #
531 # The presence of an error field signals that the operation
532 # has failed.
533 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
534 # Set custom error codes in ErrorProto.domain and ErrorProto.code
535 # instead.
536 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
537 # used to identify the error in the logs
538 &quot;error&quot;: [ # Specific error description and codes
539 { # Describes one specific error.
540 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
541 # a value of the enum type whose name is in domain. See
542 # the core error domain in error_domain.proto.
543 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
544 # domain and error codes. This should normally be
545 # the name of an enum type, such as: gdata.CoreErrorDomain
546 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
547 #
548 # If location_type is PATH, this should be a path to a field that&#x27;s
549 # relative to the request, using FieldPath notation
550 # (net/proto2/util/public/field_path.h).
551 #
552 # Examples:
553 # authenticated_user.gaia_id
554 # resource.address[2].country
555 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
556 # given the error domain and code. Different error codes require different
557 # arguments.
558 &quot;A String&quot;,
559 ],
560 &quot;locationType&quot;: &quot;A String&quot;,
561 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
562 #
563 # Please set domain, code and arguments whenever possible instead of this
564 # error message so that external APIs can build safe error messages
565 # themselves.
566 #
567 # External messages built in a RoSy interface will most likely refer to
568 # information and concepts that are not available externally and should not
569 # be exposed. It is safer if external APIs can understand the errors and
570 # decide what the error message should look like.
571 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
572 # shared externally.
573 },
574 ],
575 },
576 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
577 &quot;contentDetails&quot;: { # A group&#x27;s content details. # The `contentDetails` object contains additional information about the
578 # group, such as the number and type of items that it contains.
579 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
580 &quot;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700581 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700582 # Valid values for this property are:
583 # * `youtube#channel`
584 # * `youtube#playlist`
585 # * `youtube#video`
586 # * `youtubePartner#asset`
587 },
588 &quot;snippet&quot;: { # A group snippet. # The `snippet` object contains basic information about the group, including
589 # its creation date and name.
590 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
591 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
592 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
593 },
594 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#group`.
595}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700596
597 onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:**
598This parameter is intended exclusively for YouTube content partners that
599own and manage many different YouTube channels.
600
Bu Sun Kim65020912020-05-20 12:08:20 -0700601The `onBehalfOfContentOwner` parameter indicates that the request&#x27;s
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700602authorization credentials identify a YouTube user who is acting on behalf
603of the content owner specified in the parameter value. It allows content
604owners to authenticate once and get access to all their video and channel
605data, without having to provide authentication credentials for each
606individual channel. The account that the user authenticates with must be
607linked to the specified YouTube content owner.
608 x__xgafv: string, V1 error format.
609 Allowed values
610 1 - v1 error format
611 2 - v2 error format
612
613Returns:
614 An object of the form:
615
616 { # A group.
Bu Sun Kim65020912020-05-20 12:08:20 -0700617 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
618 &quot;errors&quot;: { # Request Error information. # Apiary error details
619 #
620 # The presence of an error field signals that the operation
621 # has failed.
622 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
623 # Set custom error codes in ErrorProto.domain and ErrorProto.code
624 # instead.
625 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
626 # used to identify the error in the logs
627 &quot;error&quot;: [ # Specific error description and codes
628 { # Describes one specific error.
629 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
630 # a value of the enum type whose name is in domain. See
631 # the core error domain in error_domain.proto.
632 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
633 # domain and error codes. This should normally be
634 # the name of an enum type, such as: gdata.CoreErrorDomain
635 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
636 #
637 # If location_type is PATH, this should be a path to a field that&#x27;s
638 # relative to the request, using FieldPath notation
639 # (net/proto2/util/public/field_path.h).
640 #
641 # Examples:
642 # authenticated_user.gaia_id
643 # resource.address[2].country
644 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
645 # given the error domain and code. Different error codes require different
646 # arguments.
647 &quot;A String&quot;,
648 ],
649 &quot;locationType&quot;: &quot;A String&quot;,
650 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
651 #
652 # Please set domain, code and arguments whenever possible instead of this
653 # error message so that external APIs can build safe error messages
654 # themselves.
655 #
656 # External messages built in a RoSy interface will most likely refer to
657 # information and concepts that are not available externally and should not
658 # be exposed. It is safer if external APIs can understand the errors and
659 # decide what the error message should look like.
660 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
661 # shared externally.
662 },
663 ],
664 },
665 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
666 &quot;contentDetails&quot;: { # A group&#x27;s content details. # The `contentDetails` object contains additional information about the
667 # group, such as the number and type of items that it contains.
668 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
669 &quot;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700670 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700671 # Valid values for this property are:
672 # * `youtube#channel`
673 # * `youtube#playlist`
674 # * `youtube#video`
675 # * `youtubePartner#asset`
676 },
677 &quot;snippet&quot;: { # A group snippet. # The `snippet` object contains basic information about the group, including
678 # its creation date and name.
679 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
680 &quot;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
681 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
682 },
683 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#group`.
684 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700685</div>
686
687</body></html>