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

The "reports" collection of methods. More...

Inheritance diagram for Google_Service_YouTubeReporting_JobsReports_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($jobId, $reportId, $optParams=array())
 Gets the metadata of a specific report.
 
 listJobsReports ($jobId, $optParams=array())
 Lists reports created by a specific job.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "reports" collection of methods.

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

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

◆ get()

Google_Service_YouTubeReporting_JobsReports_Resource::get ( $jobId,
$reportId,
$optParams = array() )

Gets the metadata of a specific report.

(reports.get)

Parameters
string$jobIdThe ID of the job.
string$reportIdThe ID of the report to retrieve.
array$optParamsOptional parameters.

@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).

Return values
Google_Service_YouTubeReporting_Report

◆ listJobsReports()

Google_Service_YouTubeReporting_JobsReports_Resource::listJobsReports ( $jobId,
$optParams = array() )

Lists reports created by a specific job.

Returns NOT_FOUND if the job does not exist. (reports.listJobsReports)

Parameters
string$jobIdThe ID of the job.
array$optParamsOptional parameters.

@opt_param string pageToken A token identifying a page of results the server should return. Typically, this is the value of ListReportsResponse.next_page_token returned in response to the previous call to the ListReports 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_ListReportsResponse

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