Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 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="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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 78 | <code><a href="#delete">delete(id=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 79 | <p class="firstline">Deletes a group.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#insert">insert(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 82 | <p class="firstline">Creates a group.</p> |
| 83 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 84 | <code><a href="#list">list(pageToken=None, onBehalfOfContentOwner=None, id=None, mine=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 85 | <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'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 90 | <code><a href="#update">update(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 91 | <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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 94 | <code class="details" id="delete">delete(id=None, onBehalfOfContentOwner=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 95 | <pre>Deletes a group. |
| 96 | |
| 97 | Args: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 98 | id: string, The `id` parameter specifies the YouTube group ID of the group that is |
| 99 | being deleted. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 100 | onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:** |
| 101 | This parameter is intended exclusively for YouTube content partners that |
| 102 | own and manage many different YouTube channels. |
| 103 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 104 | The `onBehalfOfContentOwner` parameter indicates that the request's |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 105 | authorization credentials identify a YouTube user who is acting on behalf |
| 106 | of the content owner specified in the parameter value. It allows content |
| 107 | owners to authenticate once and get access to all their video and channel |
| 108 | data, without having to provide authentication credentials for each |
| 109 | individual channel. The account that the user authenticates with must be |
| 110 | linked to the specified YouTube content owner. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 111 | x__xgafv: string, V1 error format. |
| 112 | Allowed values |
| 113 | 1 - v1 error format |
| 114 | 2 - v2 error format |
| 115 | |
| 116 | Returns: |
| 117 | An object of the form: |
| 118 | |
| 119 | { # Empty response. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 120 | "errors": { # Request Error information. # Apiary error details |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 121 | # |
| 122 | # The presence of an error field signals that the operation |
| 123 | # has failed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 124 | "code": "A String", # Global error code. Deprecated and ignored. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 125 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 126 | # instead. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 127 | "requestId": "A String", # Request identifier generated by the service, which can be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 128 | # used to identify the error in the logs |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 129 | "error": [ # Specific error description and codes |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 130 | { # Describes one specific error. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 131 | "code": "A String", # Error code in the error domain. This should correspond to |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 132 | # a value of the enum type whose name is in domain. See |
| 133 | # the core error domain in error_domain.proto. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 134 | "domain": "A String", # 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 | "location": "A String", # 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'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 | "argument": [ # 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 | "A String", |
| 150 | ], |
| 151 | "locationType": "A String", |
| 152 | "externalErrorMessage": "A String", # A short explanation for the error, which can be shared outside Google. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 153 | # |
| 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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 162 | "debugInfo": "A String", # Debugging information, which should not be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 163 | # shared externally. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 164 | }, |
| 165 | ], |
| 166 | }, |
| 167 | }</pre> |
| 168 | </div> |
| 169 | |
| 170 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 171 | <code class="details" id="insert">insert(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 172 | <pre>Creates a group. |
| 173 | |
| 174 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 175 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 176 | The object takes the form of: |
| 177 | |
| 178 | { # A group. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 179 | "etag": "A String", # The Etag of this resource. |
| 180 | "errors": { # Request Error information. # Apiary error details |
| 181 | # |
| 182 | # The presence of an error field signals that the operation |
| 183 | # has failed. |
| 184 | "code": "A String", # Global error code. Deprecated and ignored. |
| 185 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 186 | # instead. |
| 187 | "requestId": "A String", # Request identifier generated by the service, which can be |
| 188 | # used to identify the error in the logs |
| 189 | "error": [ # Specific error description and codes |
| 190 | { # Describes one specific error. |
| 191 | "code": "A String", # 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 | "domain": "A String", # 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 | "location": "A String", # 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'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 | "argument": [ # 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 | "A String", |
| 210 | ], |
| 211 | "locationType": "A String", |
| 212 | "externalErrorMessage": "A String", # 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 | "debugInfo": "A String", # Debugging information, which should not be |
| 223 | # shared externally. |
| 224 | }, |
| 225 | ], |
| 226 | }, |
| 227 | "id": "A String", # The ID that YouTube uses to uniquely identify the group. |
| 228 | "contentDetails": { # A group'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 | "itemCount": "A String", # The number of items in the group. |
| 231 | "itemType": "A String", # The type of resources that the group contains. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 232 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 233 | # Valid values for this property are: |
| 234 | # * `youtube#channel` |
| 235 | # * `youtube#playlist` |
| 236 | # * `youtube#video` |
| 237 | # * `youtubePartner#asset` |
| 238 | }, |
| 239 | "snippet": { # A group snippet. # The `snippet` object contains basic information about the group, including |
| 240 | # its creation date and name. |
| 241 | "title": "A String", # The group name. The value must be a non-empty string. |
| 242 | "publishedAt": "A String", # 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 | "kind": "A String", # Identifies the API resource's type. The value will be `youtube#group`. |
| 246 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 247 | |
| 248 | onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:** |
| 249 | This parameter is intended exclusively for YouTube content partners that |
| 250 | own and manage many different YouTube channels. |
| 251 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 252 | The `onBehalfOfContentOwner` parameter indicates that the request's |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 253 | authorization credentials identify a YouTube user who is acting on behalf |
| 254 | of the content owner specified in the parameter value. It allows content |
| 255 | owners to authenticate once and get access to all their video and channel |
| 256 | data, without having to provide authentication credentials for each |
| 257 | individual channel. The account that the user authenticates with must be |
| 258 | linked 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 | |
| 264 | Returns: |
| 265 | An object of the form: |
| 266 | |
| 267 | { # A group. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 268 | "etag": "A String", # The Etag of this resource. |
| 269 | "errors": { # Request Error information. # Apiary error details |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 270 | # |
| 271 | # The presence of an error field signals that the operation |
| 272 | # has failed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 273 | "code": "A String", # Global error code. Deprecated and ignored. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 274 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 275 | # instead. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 276 | "requestId": "A String", # Request identifier generated by the service, which can be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 277 | # used to identify the error in the logs |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 278 | "error": [ # Specific error description and codes |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 279 | { # Describes one specific error. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 280 | "code": "A String", # Error code in the error domain. This should correspond to |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 281 | # a value of the enum type whose name is in domain. See |
| 282 | # the core error domain in error_domain.proto. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 283 | "domain": "A String", # 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 | "location": "A String", # 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'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 | "argument": [ # 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 | "A String", |
| 299 | ], |
| 300 | "locationType": "A String", |
| 301 | "externalErrorMessage": "A String", # A short explanation for the error, which can be shared outside Google. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 302 | # |
| 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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 311 | "debugInfo": "A String", # Debugging information, which should not be |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 312 | # shared externally. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 313 | }, |
| 314 | ], |
| 315 | }, |
| 316 | "id": "A String", # The ID that YouTube uses to uniquely identify the group. |
| 317 | "contentDetails": { # A group'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 | "itemCount": "A String", # The number of items in the group. |
| 320 | "itemType": "A String", # 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 | "snippet": { # A group snippet. # The `snippet` object contains basic information about the group, including |
| 329 | # its creation date and name. |
| 330 | "title": "A String", # The group name. The value must be a non-empty string. |
| 331 | "publishedAt": "A String", # 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 | "kind": "A String", # Identifies the API resource'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 |
| 341 | example, you can retrieve all groups that the authenticated user owns, |
| 342 | or you can retrieve one or more groups by their unique IDs. |
| 343 | |
| 344 | Args: |
| 345 | pageToken: string, The `pageToken` parameter identifies a specific page in the result set that |
| 346 | should be returned. In an API response, the `nextPageToken` property |
| 347 | identifies the next page that can be retrieved. |
| 348 | onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:** |
| 349 | This parameter is intended exclusively for YouTube content partners that |
| 350 | own and manage many different YouTube channels. |
| 351 | |
| 352 | The `onBehalfOfContentOwner` parameter indicates that the request's |
| 353 | authorization credentials identify a YouTube user who is acting on behalf |
| 354 | of the content owner specified in the parameter value. It allows content |
| 355 | owners to authenticate once and get access to all their video and channel |
| 356 | data, without having to provide authentication credentials for each |
| 357 | individual channel. The account that the user authenticates with must be |
| 358 | linked to the specified YouTube content owner. |
| 359 | id: string, The `id` parameter specifies a comma-separated list of the YouTube group |
| 360 | ID(s) for the resource(s) that are being retrieved. Each group must be |
| 361 | owned by the authenticated user. In a `group` resource, the `id` property |
| 362 | specifies the group's YouTube group ID. |
| 363 | |
| 364 | Note that if you do not specify a value for the `id` parameter, then you |
| 365 | must set the `mine` parameter to `true`. |
| 366 | mine: boolean, This parameter can only be used in a properly authorized request. Set this |
| 367 | parameter's value to true to retrieve all groups owned by the authenticated |
| 368 | user. |
| 369 | x__xgafv: string, V1 error format. |
| 370 | Allowed values |
| 371 | 1 - v1 error format |
| 372 | 2 - v2 error format |
| 373 | |
| 374 | Returns: |
| 375 | An object of the form: |
| 376 | |
| 377 | { # Response message for GroupsService.ListGroups. |
| 378 | "etag": "A String", # The Etag of this resource. |
| 379 | "items": [ # A list of groups that match the API request parameters. Each item in the |
| 380 | # list represents a `group` resource. |
| 381 | { # A group. |
| 382 | "etag": "A String", # The Etag of this resource. |
| 383 | "errors": { # Request Error information. # Apiary error details |
| 384 | # |
| 385 | # The presence of an error field signals that the operation |
| 386 | # has failed. |
| 387 | "code": "A String", # Global error code. Deprecated and ignored. |
| 388 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 389 | # instead. |
| 390 | "requestId": "A String", # Request identifier generated by the service, which can be |
| 391 | # used to identify the error in the logs |
| 392 | "error": [ # Specific error description and codes |
| 393 | { # Describes one specific error. |
| 394 | "code": "A String", # 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 | "domain": "A String", # 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 | "location": "A String", # 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'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 | "argument": [ # 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 | "A String", |
| 413 | ], |
| 414 | "locationType": "A String", |
| 415 | "externalErrorMessage": "A String", # 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 | "debugInfo": "A String", # Debugging information, which should not be |
| 426 | # shared externally. |
| 427 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 428 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 429 | }, |
| 430 | "id": "A String", # The ID that YouTube uses to uniquely identify the group. |
| 431 | "contentDetails": { # A group'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 | "itemCount": "A String", # The number of items in the group. |
| 434 | "itemType": "A String", # The type of resources that the group contains. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 435 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 436 | # Valid values for this property are: |
| 437 | # * `youtube#channel` |
| 438 | # * `youtube#playlist` |
| 439 | # * `youtube#video` |
| 440 | # * `youtubePartner#asset` |
| 441 | }, |
| 442 | "snippet": { # A group snippet. # The `snippet` object contains basic information about the group, including |
| 443 | # its creation date and name. |
| 444 | "title": "A String", # The group name. The value must be a non-empty string. |
| 445 | "publishedAt": "A String", # 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 | "kind": "A String", # Identifies the API resource's type. The value will be `youtube#group`. |
| 449 | }, |
| 450 | ], |
| 451 | "errors": { # Request Error information. # Apiary error details |
| 452 | # |
| 453 | # The presence of an error field signals that the operation |
| 454 | # has failed. |
| 455 | "code": "A String", # Global error code. Deprecated and ignored. |
| 456 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 457 | # instead. |
| 458 | "requestId": "A String", # Request identifier generated by the service, which can be |
| 459 | # used to identify the error in the logs |
| 460 | "error": [ # Specific error description and codes |
| 461 | { # Describes one specific error. |
| 462 | "code": "A String", # 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 | "domain": "A String", # 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 | "location": "A String", # 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's |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 471 | # 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 Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 477 | "argument": [ # 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 | "A String", |
| 481 | ], |
| 482 | "locationType": "A String", |
| 483 | "externalErrorMessage": "A String", # 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 | "debugInfo": "A String", # Debugging information, which should not be |
| 494 | # shared externally. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 495 | }, |
| 496 | ], |
| 497 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 498 | "kind": "A String", # Identifies the API resource's type. The value will be |
| 499 | # `youtube#groupListResponse`. |
| 500 | "nextPageToken": "A String", # 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 Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 502 | }</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 | |
| 509 | Args: |
| 510 | previous_request: The request for the previous page. (required) |
| 511 | previous_response: The response from the request for the previous page. (required) |
| 512 | |
| 513 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 514 | A request object that you can call 'execute()' on to request the next |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 515 | page. Returns None if there are no more items in the collection. |
| 516 | </pre> |
| 517 | </div> |
| 518 | |
| 519 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 520 | <code class="details" id="update">update(body=None, onBehalfOfContentOwner=None, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 521 | <pre>Modifies a group. For example, you could change a group's title. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 522 | |
| 523 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 524 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 525 | The object takes the form of: |
| 526 | |
| 527 | { # A group. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 528 | "etag": "A String", # The Etag of this resource. |
| 529 | "errors": { # Request Error information. # Apiary error details |
| 530 | # |
| 531 | # The presence of an error field signals that the operation |
| 532 | # has failed. |
| 533 | "code": "A String", # Global error code. Deprecated and ignored. |
| 534 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 535 | # instead. |
| 536 | "requestId": "A String", # Request identifier generated by the service, which can be |
| 537 | # used to identify the error in the logs |
| 538 | "error": [ # Specific error description and codes |
| 539 | { # Describes one specific error. |
| 540 | "code": "A String", # 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 | "domain": "A String", # 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 | "location": "A String", # 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'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 | "argument": [ # 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 | "A String", |
| 559 | ], |
| 560 | "locationType": "A String", |
| 561 | "externalErrorMessage": "A String", # 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 | "debugInfo": "A String", # Debugging information, which should not be |
| 572 | # shared externally. |
| 573 | }, |
| 574 | ], |
| 575 | }, |
| 576 | "id": "A String", # The ID that YouTube uses to uniquely identify the group. |
| 577 | "contentDetails": { # A group'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 | "itemCount": "A String", # The number of items in the group. |
| 580 | "itemType": "A String", # The type of resources that the group contains. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 581 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 582 | # Valid values for this property are: |
| 583 | # * `youtube#channel` |
| 584 | # * `youtube#playlist` |
| 585 | # * `youtube#video` |
| 586 | # * `youtubePartner#asset` |
| 587 | }, |
| 588 | "snippet": { # A group snippet. # The `snippet` object contains basic information about the group, including |
| 589 | # its creation date and name. |
| 590 | "title": "A String", # The group name. The value must be a non-empty string. |
| 591 | "publishedAt": "A String", # 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 | "kind": "A String", # Identifies the API resource's type. The value will be `youtube#group`. |
| 595 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 596 | |
| 597 | onBehalfOfContentOwner: string, This parameter can only be used in a properly authorized request. **Note:** |
| 598 | This parameter is intended exclusively for YouTube content partners that |
| 599 | own and manage many different YouTube channels. |
| 600 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 601 | The `onBehalfOfContentOwner` parameter indicates that the request's |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 602 | authorization credentials identify a YouTube user who is acting on behalf |
| 603 | of the content owner specified in the parameter value. It allows content |
| 604 | owners to authenticate once and get access to all their video and channel |
| 605 | data, without having to provide authentication credentials for each |
| 606 | individual channel. The account that the user authenticates with must be |
| 607 | linked 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 | |
| 613 | Returns: |
| 614 | An object of the form: |
| 615 | |
| 616 | { # A group. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 617 | "etag": "A String", # The Etag of this resource. |
| 618 | "errors": { # Request Error information. # Apiary error details |
| 619 | # |
| 620 | # The presence of an error field signals that the operation |
| 621 | # has failed. |
| 622 | "code": "A String", # Global error code. Deprecated and ignored. |
| 623 | # Set custom error codes in ErrorProto.domain and ErrorProto.code |
| 624 | # instead. |
| 625 | "requestId": "A String", # Request identifier generated by the service, which can be |
| 626 | # used to identify the error in the logs |
| 627 | "error": [ # Specific error description and codes |
| 628 | { # Describes one specific error. |
| 629 | "code": "A String", # 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 | "domain": "A String", # 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 | "location": "A String", # 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'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 | "argument": [ # 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 | "A String", |
| 648 | ], |
| 649 | "locationType": "A String", |
| 650 | "externalErrorMessage": "A String", # 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 | "debugInfo": "A String", # Debugging information, which should not be |
| 661 | # shared externally. |
| 662 | }, |
| 663 | ], |
| 664 | }, |
| 665 | "id": "A String", # The ID that YouTube uses to uniquely identify the group. |
| 666 | "contentDetails": { # A group'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 | "itemCount": "A String", # The number of items in the group. |
| 669 | "itemType": "A String", # The type of resources that the group contains. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 670 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 671 | # Valid values for this property are: |
| 672 | # * `youtube#channel` |
| 673 | # * `youtube#playlist` |
| 674 | # * `youtube#video` |
| 675 | # * `youtubePartner#asset` |
| 676 | }, |
| 677 | "snippet": { # A group snippet. # The `snippet` object contains basic information about the group, including |
| 678 | # its creation date and name. |
| 679 | "title": "A String", # The group name. The value must be a non-empty string. |
| 680 | "publishedAt": "A String", # 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 | "kind": "A String", # Identifies the API resource's type. The value will be `youtube#group`. |
| 684 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 685 | </div> |
| 686 | |
| 687 | </body></html> |