Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

File Size: 687 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 classes

Google_Service_YouTubeReporting:: (1 method):
  __construct()

Google_Service_YouTubeReporting_Jobs_Resource:: (4 methods):
  create()
  delete()
  get()
  listJobs()

Google_Service_YouTubeReporting_JobsReports_Resource:: (2 methods):
  get()
  listJobsReports()

Google_Service_YouTubeReporting_Media_Resource:: (1 method):
  download()

Google_Service_YouTubeReporting_ReportTypes_Resource:: (1 method):
  listReportTypes()

Google_Service_YouTubeReporting_Empty:: (0 methods):

Google_Service_YouTubeReporting_Job:: (8 methods):
  setCreateTime()
  getCreateTime()
  setId()
  getId()
  setName()
  getName()
  setReportTypeId()
  getReportTypeId()

Google_Service_YouTubeReporting_ListJobsResponse:: (4 methods):
  setJobs()
  getJobs()
  setNextPageToken()
  getNextPageToken()

Google_Service_YouTubeReporting_ListReportTypesResponse:: (4 methods):
  setNextPageToken()
  getNextPageToken()
  setReportTypes()
  getReportTypes()

Google_Service_YouTubeReporting_ListReportsResponse:: (4 methods):
  setNextPageToken()
  getNextPageToken()
  setReports()
  getReports()

Google_Service_YouTubeReporting_Media:: (2 methods):
  setResourceName()
  getResourceName()

Google_Service_YouTubeReporting_Report:: (12 methods):
  setCreateTime()
  getCreateTime()
  setDownloadUrl()
  getDownloadUrl()
  setEndTime()
  getEndTime()
  setId()
  getId()
  setJobId()
  getJobId()
  setStartTime()
  getStartTime()

Google_Service_YouTubeReporting_ReportType:: (4 methods):
  setId()
  getId()
  setName()
  getName()


Class: Google_Service_YouTubeReporting  - X-Ref

Service definition for YouTubeReporting (v1).

<p>
An API to schedule reporting jobs and download the resulting bulk data
reports about YouTube channels, videos etc. in the form of CSV files.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/youtube/reporting/v1/reports/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the YouTubeReporting service.

param: Google_Client $client

Class: Google_Service_YouTubeReporting_Jobs_Resource  - X-Ref

The "jobs" collection of methods.
Typical usage is:
<code>
$youtubereportingService = new Google_Service_YouTubeReporting(...);
$jobs = $youtubereportingService->jobs;
</code>

create(Google_Service_YouTubeReporting_Job $postBody, $optParams = array()   X-Ref
Creates a job and returns it. (jobs.create)

param: Google_Job $postBody
param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_Job

delete($jobId, $optParams = array()   X-Ref
Deletes a job. (jobs.delete)

param: string $jobId The ID of the job to delete.
param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_Empty

get($jobId, $optParams = array()   X-Ref
Gets a job. (jobs.get)

param: string $jobId The ID of the job to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_Job

listJobs($optParams = array()   X-Ref
Lists jobs. (jobs.listJobs)

param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_ListJobsResponse

Class: Google_Service_YouTubeReporting_JobsReports_Resource  - X-Ref

The "reports" collection of methods.
Typical usage is:
<code>
$youtubereportingService = new Google_Service_YouTubeReporting(...);
$reports = $youtubereportingService->reports;
</code>

get($jobId, $reportId, $optParams = array()   X-Ref
Gets the metadata of a specific report. (reports.get)

param: string $jobId The ID of the job.
param: string $reportId The ID of the report to retrieve.
param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_Report

listJobsReports($jobId, $optParams = array()   X-Ref
Lists reports created by a specific job. Returns NOT_FOUND if the job does
not exist. (reports.listJobsReports)

param: string $jobId The ID of the job.
param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_ListReportsResponse

Class: Google_Service_YouTubeReporting_Media_Resource  - X-Ref

The "media" collection of methods.
Typical usage is:
<code>
$youtubereportingService = new Google_Service_YouTubeReporting(...);
$media = $youtubereportingService->media;
</code>

download($resourceName, $optParams = array()   X-Ref
Method for media download. Download is supported on the URI
`/v1/media/{+name}?alt=media`. (media.download)

param: string $resourceName Name of the media that is being downloaded. See
param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_Media

Class: Google_Service_YouTubeReporting_ReportTypes_Resource  - X-Ref

The "reportTypes" collection of methods.
Typical usage is:
<code>
$youtubereportingService = new Google_Service_YouTubeReporting(...);
$reportTypes = $youtubereportingService->reportTypes;
</code>

listReportTypes($optParams = array()   X-Ref
Lists report types. (reportTypes.listReportTypes)

param: array $optParams Optional parameters.
return: Google_Service_YouTubeReporting_ListReportTypesResponse

Class: Google_Service_YouTubeReporting_Job  - X-Ref

setCreateTime($createTime)   X-Ref
No description

getCreateTime()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setReportTypeId($reportTypeId)   X-Ref
No description

getReportTypeId()   X-Ref
No description

Class: Google_Service_YouTubeReporting_ListJobsResponse  - X-Ref

setJobs($jobs)   X-Ref
No description

getJobs()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_YouTubeReporting_ListReportsResponse  - X-Ref

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setReports($reports)   X-Ref
No description

getReports()   X-Ref
No description

Class: Google_Service_YouTubeReporting_Report  - X-Ref

setCreateTime($createTime)   X-Ref
No description

getCreateTime()   X-Ref
No description

setDownloadUrl($downloadUrl)   X-Ref
No description

getDownloadUrl()   X-Ref
No description

setEndTime($endTime)   X-Ref
No description

getEndTime()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setJobId($jobId)   X-Ref
No description

getJobId()   X-Ref
No description

setStartTime($startTime)   X-Ref
No description

getStartTime()   X-Ref
No description

Class: Google_Service_YouTubeReporting_ReportType  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description