blob: dc32797dbdcaba17e161095f48f64f357e3ba39d [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 Kim4ed7d3f2020-05-27 12:20:54 -070078 <code><a href="#delete">delete(onBehalfOfContentOwner=None, id=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 Kim4ed7d3f2020-05-27 12:20:54 -070084 <code><a href="#list">list(onBehalfOfContentOwner=None, pageToken=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 Kim4ed7d3f2020-05-27 12:20:54 -070094 <code class="details" id="delete">delete(onBehalfOfContentOwner=None, id=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 <pre>Deletes a group.
96
97Args:
98 onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:**
99This parameter is intended exclusively for YouTube content partners that
100own and manage many different YouTube channels.
101
Bu Sun Kim65020912020-05-20 12:08:20 -0700102The `onBehalfOfContentOwner` parameter indicates that the request&#x27;s
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103authorization credentials identify a YouTube user who is acting on behalf
104of the content owner specified in the parameter value. It allows content
105owners to authenticate once and get access to all their video and channel
106data, without having to provide authentication credentials for each
107individual channel. The account that the user authenticates with must be
108linked to the specified YouTube content owner.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700109 id: string, The `id` parameter specifies the YouTube group ID of the group that is
110being deleted.
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;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125 # used to identify the error in the logs
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 &quot;error&quot;: [ # Specific error description and codes
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700127 { # Describes one specific error.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700128 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
129 # shared externally.
130 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
131 # given the error domain and code. Different error codes require different
132 # arguments.
133 &quot;A String&quot;,
134 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 &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 -0700136 # a value of the enum type whose name is in domain. See
137 # the core error domain in error_domain.proto.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
139 # domain and error codes. This should normally be
140 # the name of an enum type, such as: gdata.CoreErrorDomain
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700141 &quot;locationType&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700142 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
143 #
144 # If location_type is PATH, this should be a path to a field that&#x27;s
145 # relative to the request, using FieldPath notation
146 # (net/proto2/util/public/field_path.h).
147 #
148 # Examples:
149 # authenticated_user.gaia_id
150 # resource.address[2].country
Bu Sun Kim65020912020-05-20 12:08:20 -0700151 &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 -0700152 #
153 # Please set domain, code and arguments whenever possible instead of this
154 # error message so that external APIs can build safe error messages
155 # themselves.
156 #
157 # External messages built in a RoSy interface will most likely refer to
158 # information and concepts that are not available externally and should not
159 # be exposed. It is safer if external APIs can understand the errors and
160 # decide what the error message should look like.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700161 },
162 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700163 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
164 # Set custom error codes in ErrorProto.domain and ErrorProto.code
165 # instead.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700166 },
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 Kim4ed7d3f2020-05-27 12:20:54 -0700179 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
180 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700181 #
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700182 # The presence of an error field signals that the operation
183 # has failed.
184 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
185 # used to identify the error in the logs
186 &quot;error&quot;: [ # Specific error description and codes
187 { # Describes one specific error.
188 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
189 # shared externally.
190 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
191 # given the error domain and code. Different error codes require different
192 # arguments.
193 &quot;A String&quot;,
194 ],
195 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
196 # a value of the enum type whose name is in domain. See
197 # the core error domain in error_domain.proto.
198 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
199 # domain and error codes. This should normally be
200 # the name of an enum type, such as: gdata.CoreErrorDomain
201 &quot;locationType&quot;: &quot;A String&quot;,
202 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
203 #
204 # If location_type is PATH, this should be a path to a field that&#x27;s
205 # relative to the request, using FieldPath notation
206 # (net/proto2/util/public/field_path.h).
207 #
208 # Examples:
209 # authenticated_user.gaia_id
210 # resource.address[2].country
211 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
212 #
213 # Please set domain, code and arguments whenever possible instead of this
214 # error message so that external APIs can build safe error messages
215 # themselves.
216 #
217 # External messages built in a RoSy interface will most likely refer to
218 # information and concepts that are not available externally and should not
219 # be exposed. It is safer if external APIs can understand the errors and
220 # decide what the error message should look like.
221 },
222 ],
223 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
224 # Set custom error codes in ErrorProto.domain and ErrorProto.code
225 # instead.
226 },
227 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#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;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
231 #
232 # Valid values for this property are:
233 # * `youtube#channel`
234 # * `youtube#playlist`
235 # * `youtube#video`
236 # * `youtubePartner#asset`
237 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
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;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
242 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
243 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
244 },
245 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700268 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
269 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim65020912020-05-20 12:08:20 -0700270 #
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700271 # The presence of an error field signals that the operation
272 # has failed.
273 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
274 # used to identify the error in the logs
275 &quot;error&quot;: [ # Specific error description and codes
276 { # Describes one specific error.
277 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
278 # shared externally.
279 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
280 # given the error domain and code. Different error codes require different
281 # arguments.
282 &quot;A String&quot;,
283 ],
284 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
285 # a value of the enum type whose name is in domain. See
286 # the core error domain in error_domain.proto.
287 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
288 # domain and error codes. This should normally be
289 # the name of an enum type, such as: gdata.CoreErrorDomain
290 &quot;locationType&quot;: &quot;A String&quot;,
291 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
292 #
293 # If location_type is PATH, this should be a path to a field that&#x27;s
294 # relative to the request, using FieldPath notation
295 # (net/proto2/util/public/field_path.h).
296 #
297 # Examples:
298 # authenticated_user.gaia_id
299 # resource.address[2].country
300 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
301 #
302 # Please set domain, code and arguments whenever possible instead of this
303 # error message so that external APIs can build safe error messages
304 # themselves.
305 #
306 # External messages built in a RoSy interface will most likely refer to
307 # information and concepts that are not available externally and should not
308 # be exposed. It is safer if external APIs can understand the errors and
309 # decide what the error message should look like.
310 },
311 ],
312 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
313 # Set custom error codes in ErrorProto.domain and ErrorProto.code
314 # instead.
315 },
316 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#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;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
320 #
321 # Valid values for this property are:
322 # * `youtube#channel`
323 # * `youtube#playlist`
324 # * `youtube#video`
325 # * `youtubePartner#asset`
326 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
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;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
331 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
332 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
333 },
334 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
335 }</pre>
Bu Sun Kim65020912020-05-20 12:08:20 -0700336</div>
337
338<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700339 <code class="details" id="list">list(onBehalfOfContentOwner=None, pageToken=None, id=None, mine=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 <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:
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:**
346This parameter is intended exclusively for YouTube content partners that
347own and manage many different YouTube channels.
348
349The `onBehalfOfContentOwner` parameter indicates that the request&#x27;s
350authorization credentials identify a YouTube user who is acting on behalf
351of the content owner specified in the parameter value. It allows content
352owners to authenticate once and get access to all their video and channel
353data, without having to provide authentication credentials for each
354individual channel. The account that the user authenticates with must be
355linked to the specified YouTube content owner.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700356 pageToken: string, The `pageToken` parameter identifies a specific page in the result set that
357should be returned. In an API response, the `nextPageToken` property
358identifies the next page that can be retrieved.
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700382 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
383 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700384 #
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700385 # The presence of an error field signals that the operation
386 # has failed.
387 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
388 # used to identify the error in the logs
389 &quot;error&quot;: [ # Specific error description and codes
390 { # Describes one specific error.
391 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
392 # shared externally.
393 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
394 # given the error domain and code. Different error codes require different
395 # arguments.
396 &quot;A String&quot;,
397 ],
398 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
399 # a value of the enum type whose name is in domain. See
400 # the core error domain in error_domain.proto.
401 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
402 # domain and error codes. This should normally be
403 # the name of an enum type, such as: gdata.CoreErrorDomain
404 &quot;locationType&quot;: &quot;A String&quot;,
405 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
406 #
407 # If location_type is PATH, this should be a path to a field that&#x27;s
408 # relative to the request, using FieldPath notation
409 # (net/proto2/util/public/field_path.h).
410 #
411 # Examples:
412 # authenticated_user.gaia_id
413 # resource.address[2].country
414 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
415 #
416 # Please set domain, code and arguments whenever possible instead of this
417 # error message so that external APIs can build safe error messages
418 # themselves.
419 #
420 # External messages built in a RoSy interface will most likely refer to
421 # information and concepts that are not available externally and should not
422 # be exposed. It is safer if external APIs can understand the errors and
423 # decide what the error message should look like.
424 },
425 ],
426 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
427 # Set custom error codes in ErrorProto.domain and ErrorProto.code
428 # instead.
429 },
430 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#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;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
434 #
435 # Valid values for this property are:
436 # * `youtube#channel`
437 # * `youtube#playlist`
438 # * `youtube#video`
439 # * `youtubePartner#asset`
440 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
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;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
445 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
446 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
447 },
448 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700449 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700450 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700451 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be
452 # `youtube#groupListResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700453 &quot;errors&quot;: { # Request Error information. # Apiary error details
454 #
455 # The presence of an error field signals that the operation
456 # has failed.
Bu Sun Kim65020912020-05-20 12:08:20 -0700457 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
458 # used to identify the error in the logs
459 &quot;error&quot;: [ # Specific error description and codes
460 { # Describes one specific error.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700461 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
462 # shared externally.
463 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
464 # given the error domain and code. Different error codes require different
465 # arguments.
466 &quot;A String&quot;,
467 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700468 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
469 # a value of the enum type whose name is in domain. See
470 # the core error domain in error_domain.proto.
471 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
472 # domain and error codes. This should normally be
473 # the name of an enum type, such as: gdata.CoreErrorDomain
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700474 &quot;locationType&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
476 #
477 # If location_type is PATH, this should be a path to a field that&#x27;s
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700478 # relative to the request, using FieldPath notation
479 # (net/proto2/util/public/field_path.h).
480 #
481 # Examples:
482 # authenticated_user.gaia_id
483 # resource.address[2].country
Bu Sun Kim65020912020-05-20 12:08:20 -0700484 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
485 #
486 # Please set domain, code and arguments whenever possible instead of this
487 # error message so that external APIs can build safe error messages
488 # themselves.
489 #
490 # External messages built in a RoSy interface will most likely refer to
491 # information and concepts that are not available externally and should not
492 # be exposed. It is safer if external APIs can understand the errors and
493 # decide what the error message should look like.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700494 },
495 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700496 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
497 # Set custom error codes in ErrorProto.domain and ErrorProto.code
498 # instead.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700499 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700500 &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 Kim4ed7d3f2020-05-27 12:20:54 -0700528 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
529 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700530 #
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700531 # The presence of an error field signals that the operation
532 # has failed.
533 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
534 # used to identify the error in the logs
535 &quot;error&quot;: [ # Specific error description and codes
536 { # Describes one specific error.
537 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
538 # shared externally.
539 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
540 # given the error domain and code. Different error codes require different
541 # arguments.
542 &quot;A String&quot;,
543 ],
544 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
545 # a value of the enum type whose name is in domain. See
546 # the core error domain in error_domain.proto.
547 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
548 # domain and error codes. This should normally be
549 # the name of an enum type, such as: gdata.CoreErrorDomain
550 &quot;locationType&quot;: &quot;A String&quot;,
551 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
552 #
553 # If location_type is PATH, this should be a path to a field that&#x27;s
554 # relative to the request, using FieldPath notation
555 # (net/proto2/util/public/field_path.h).
556 #
557 # Examples:
558 # authenticated_user.gaia_id
559 # resource.address[2].country
560 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
561 #
562 # Please set domain, code and arguments whenever possible instead of this
563 # error message so that external APIs can build safe error messages
564 # themselves.
565 #
566 # External messages built in a RoSy interface will most likely refer to
567 # information and concepts that are not available externally and should not
568 # be exposed. It is safer if external APIs can understand the errors and
569 # decide what the error message should look like.
570 },
571 ],
572 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
573 # Set custom error codes in ErrorProto.domain and ErrorProto.code
574 # instead.
575 },
576 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#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;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
580 #
581 # Valid values for this property are:
582 # * `youtube#channel`
583 # * `youtube#playlist`
584 # * `youtube#video`
585 # * `youtubePartner#asset`
586 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
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;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
591 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
592 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
593 },
594 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
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 Kim4ed7d3f2020-05-27 12:20:54 -0700617 &quot;id&quot;: &quot;A String&quot;, # The ID that YouTube uses to uniquely identify the group.
618 &quot;errors&quot;: { # Request Error information. # Apiary error details
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700619 #
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700620 # The presence of an error field signals that the operation
621 # has failed.
622 &quot;requestId&quot;: &quot;A String&quot;, # Request identifier generated by the service, which can be
623 # used to identify the error in the logs
624 &quot;error&quot;: [ # Specific error description and codes
625 { # Describes one specific error.
626 &quot;debugInfo&quot;: &quot;A String&quot;, # Debugging information, which should not be
627 # shared externally.
628 &quot;argument&quot;: [ # Error arguments, to be used when building user-friendly error messages
629 # given the error domain and code. Different error codes require different
630 # arguments.
631 &quot;A String&quot;,
632 ],
633 &quot;code&quot;: &quot;A String&quot;, # Error code in the error domain. This should correspond to
634 # a value of the enum type whose name is in domain. See
635 # the core error domain in error_domain.proto.
636 &quot;domain&quot;: &quot;A String&quot;, # Error domain. RoSy services can define their own
637 # domain and error codes. This should normally be
638 # the name of an enum type, such as: gdata.CoreErrorDomain
639 &quot;locationType&quot;: &quot;A String&quot;,
640 &quot;location&quot;: &quot;A String&quot;, # Location of the error, as specified by the location type.
641 #
642 # If location_type is PATH, this should be a path to a field that&#x27;s
643 # relative to the request, using FieldPath notation
644 # (net/proto2/util/public/field_path.h).
645 #
646 # Examples:
647 # authenticated_user.gaia_id
648 # resource.address[2].country
649 &quot;externalErrorMessage&quot;: &quot;A String&quot;, # A short explanation for the error, which can be shared outside Google.
650 #
651 # Please set domain, code and arguments whenever possible instead of this
652 # error message so that external APIs can build safe error messages
653 # themselves.
654 #
655 # External messages built in a RoSy interface will most likely refer to
656 # information and concepts that are not available externally and should not
657 # be exposed. It is safer if external APIs can understand the errors and
658 # decide what the error message should look like.
659 },
660 ],
661 &quot;code&quot;: &quot;A String&quot;, # Global error code. Deprecated and ignored.
662 # Set custom error codes in ErrorProto.domain and ErrorProto.code
663 # instead.
664 },
665 &quot;kind&quot;: &quot;A String&quot;, # Identifies the API resource&#x27;s type. The value will be `youtube#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;itemType&quot;: &quot;A String&quot;, # The type of resources that the group contains.
669 #
670 # Valid values for this property are:
671 # * `youtube#channel`
672 # * `youtube#playlist`
673 # * `youtube#video`
674 # * `youtubePartner#asset`
675 &quot;itemCount&quot;: &quot;A String&quot;, # The number of items in the group.
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;publishedAt&quot;: &quot;A String&quot;, # The date and time that the group was created. The value is specified in
680 # ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
681 &quot;title&quot;: &quot;A String&quot;, # The group name. The value must be a non-empty string.
682 },
683 &quot;etag&quot;: &quot;A String&quot;, # The Etag of this resource.
684 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700685</div>
686
687</body></html>