class JobsReports extends Resource (View source)

The "reports" collection of methods.

Typical usage is:

 $youtubereportingService = new Google\Service\YouTubeReporting(...);
 $reports = $youtubereportingService->jobs_reports;

Methods

get(string $jobId, string $reportId, array $optParams = [])

Gets the metadata of a specific report. (reports.get)

listJobsReports(string $jobId, array $optParams = [])

Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist. (reports.listJobsReports)

Details

Report get(string $jobId, string $reportId, array $optParams = [])

Gets the metadata of a specific report. (reports.get)

Parameters

string $jobId

The ID of the job.

string $reportId

The ID of the report to retrieve.

array $optParams

Optional parameters.

Return Value

Report

Exceptions

Exception

ListReportsResponse listJobsReports(string $jobId, array $optParams = [])

Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist. (reports.listJobsReports)

Parameters

string $jobId

The ID of the job.

array $optParams

Optional parameters.

Return Value

ListReportsResponse

Exceptions

Exception