Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_YouTubeAnalytics_GroupItems_Resource Class Reference

The "groupItems" collection of methods. More...

Inheritance diagram for Google_Service_YouTubeAnalytics_GroupItems_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($id, $optParams=array())
 Removes an item from a group.
 
 insert (Google_Service_YouTubeAnalytics_GroupItem $postBody, $optParams=array())
 Creates a group item.
 
 listGroupItems ($groupId, $optParams=array())
 Returns a collection of group items that match the API request parameters.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "groupItems" collection of methods.

Typical usage is: $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...); $groupItems = $youtubeAnalyticsService->groupItems;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_YouTubeAnalytics_GroupItems_Resource::delete ( $id,
$optParams = array() )

Removes an item from a group.

(groupItems.delete)

Parameters
string$idThe id parameter specifies the YouTube group item ID for the group that is being deleted.
array$optParamsOptional parameters.

@opt_param string onBehalfOfContentOwner 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()

Google_Service_YouTubeAnalytics_GroupItems_Resource::insert ( Google_Service_YouTubeAnalytics_GroupItem $postBody,
$optParams = array() )

Creates a group item.

(groupItems.insert)

Parameters
Google_GroupItem$postBody
array$optParamsOptional parameters.

@opt_param string onBehalfOfContentOwner 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.

Return values
Google_Service_YouTubeAnalytics_GroupItem

◆ listGroupItems()

Google_Service_YouTubeAnalytics_GroupItems_Resource::listGroupItems ( $groupId,
$optParams = array() )

Returns a collection of group items that match the API request parameters.

(groupItems.listGroupItems)

Parameters
string$groupIdThe id parameter specifies the unique ID of the group for which you want to retrieve group items.
array$optParamsOptional parameters.

@opt_param string onBehalfOfContentOwner 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.

Return values
Google_Service_YouTubeAnalytics_GroupItemListResponse

The documentation for this class was generated from the following file: