* $admobService = new Google\Service\AdMob(...); * $networkReport = $admobService->networkReport; * */ class AccountsNetworkReport extends \Google\Service\Resource { /** * Generates an AdMob Network report based on the provided report specification. * Returns result of a server-side streaming RPC. The result is returned in a * sequence of responses. (networkReport.generate) * * @param string $parent Resource name of the account to generate the report * for. Example: accounts/pub-9876543210987654 * @param GenerateNetworkReportRequest $postBody * @param array $optParams Optional parameters. * @return GenerateNetworkReportResponse */ public function generate($parent, GenerateNetworkReportRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('generate', [$params], GenerateNetworkReportResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AccountsNetworkReport::class, 'Google_Service_AdMob_Resource_AccountsNetworkReport');