* $cloudchannelService = new Google\Service\Cloudchannel(...); * $reportJobs = $cloudchannelService->accounts_reportJobs; * */ class AccountsReportJobs extends \Google\Service\Resource { /** * Retrieves data generated by CloudChannelReportsService.RunReportJob. * Deprecated: Please use [Export Channel Services data to * BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to- * bigquery) instead. (reportJobs.fetchReportResults) * * @param string $reportJob Required. The report job created by * CloudChannelReportsService.RunReportJob. Report_job uses the format: * accounts/{account_id}/reportJobs/{report_job_id} * @param GoogleCloudChannelV1FetchReportResultsRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudChannelV1FetchReportResultsResponse * @throws \Google\Service\Exception */ public function fetchReportResults($reportJob, GoogleCloudChannelV1FetchReportResultsRequest $postBody, $optParams = []) { $params = ['reportJob' => $reportJob, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('fetchReportResults', [$params], GoogleCloudChannelV1FetchReportResultsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AccountsReportJobs::class, 'Google_Service_Cloudchannel_Resource_AccountsReportJobs');