delete(id, onBehalfOfContentOwner=None)
Deletes a group.
insert(body, onBehalfOfContentOwner=None)
Creates a group.
list(onBehalfOfContentOwner=None, pageToken=None, mine=None, id=None)
Returns a collection of groups that match the API request parameters. For example, you can retrieve all groups that the authenticated user owns, or you can retrieve one or more groups by their unique IDs.
list_next(previous_request, previous_response)
Retrieves the next page of results.
update(body, onBehalfOfContentOwner=None)
Modifies a group. For example, you could change a group's title.
delete(id, onBehalfOfContentOwner=None)
Deletes a group. Args: id: string, The id parameter specifies the YouTube group ID for the group that is being deleted. (required) onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
insert(body, onBehalfOfContentOwner=None)
Creates a group. Args: body: object, The request body. (required) The object takes the form of: { "snippet": { "publishedAt": "A String", "title": "A String", }, "contentDetails": { "itemCount": "A String", "itemType": "A String", }, "kind": "youtube#group", "etag": "A String", "id": "A String", } onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. Returns: An object of the form: { "snippet": { "publishedAt": "A String", "title": "A String", }, "contentDetails": { "itemCount": "A String", "itemType": "A String", }, "kind": "youtube#group", "etag": "A String", "id": "A String", }
list(onBehalfOfContentOwner=None, pageToken=None, mine=None, id=None)
Returns a collection of groups that match the API request parameters. For example, you can retrieve all groups that the authenticated user owns, or you can retrieve one or more groups by their unique IDs. Args: onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page that can be retrieved. mine: boolean, Set this parameter's value to true to instruct the API to only return groups owned by the authenticated user. id: string, The id parameter specifies a comma-separated list of the YouTube group ID(s) for the resource(s) that are being retrieved. In a group resource, the id property specifies the group's YouTube group ID. Returns: An object of the form: { # A paginated list of grouList resources returned in response to a youtubeAnalytics.groupApi.list request. "nextPageToken": "A String", "items": [ { "snippet": { "publishedAt": "A String", "title": "A String", }, "contentDetails": { "itemCount": "A String", "itemType": "A String", }, "kind": "youtube#group", "etag": "A String", "id": "A String", }, ], "kind": "youtube#groupListResponse", "etag": "A String", }
list_next(previous_request, previous_response)
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
update(body, onBehalfOfContentOwner=None)
Modifies a group. For example, you could change a group's title. Args: body: object, The request body. (required) The object takes the form of: { "snippet": { "publishedAt": "A String", "title": "A String", }, "contentDetails": { "itemCount": "A String", "itemType": "A String", }, "kind": "youtube#group", "etag": "A String", "id": "A String", } onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner. Returns: An object of the form: { "snippet": { "publishedAt": "A String", "title": "A String", }, "contentDetails": { "itemCount": "A String", "itemType": "A String", }, "kind": "youtube#group", "etag": "A String", "id": "A String", }