Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
Google_Service_YouTubeReporting_ReportTypes_Resource Class Reference

The "reportTypes" collection of methods. More...

Inheritance diagram for Google_Service_YouTubeReporting_ReportTypes_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listReportTypes ($optParams=array())
 Lists report types.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "reportTypes" collection of methods.

Typical usage is: $youtubereportingService = new Google_Service_YouTubeReporting(...); $reportTypes = $youtubereportingService->reportTypes;

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

◆ listReportTypes()

Google_Service_YouTubeReporting_ReportTypes_Resource::listReportTypes ( $optParams = array())

Lists report types.

(reportTypes.listReportTypes)

Parameters
array$optParamsOptional parameters.

@opt_param string pageToken A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the ListReportTypes method. @opt_param string onBehalfOfContentOwner The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel). @opt_param int pageSize Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.

Return values
Google_Service_YouTubeReporting_ListReportTypesResponse

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