* $playablelocationsService = new Google\Service\PlayableLocations(...); * $v3 = $playablelocationsService->v3; * */ class V3 extends \Google\Service\Resource { /** * Logs new events when playable locations are displayed, and when they are * interacted with. Impressions are not partially saved; either all impressions * are saved and this request succeeds, or no impressions are saved, and this * request fails. (v3.logImpressions) * * @param GoogleMapsPlayablelocationsV3LogImpressionsRequest $postBody * @param array $optParams Optional parameters. * @return GoogleMapsPlayablelocationsV3LogImpressionsResponse */ public function logImpressions(GoogleMapsPlayablelocationsV3LogImpressionsRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('logImpressions', [$params], GoogleMapsPlayablelocationsV3LogImpressionsResponse::class); } /** * Logs bad playable location reports submitted by players. Reports are not * partially saved; either all reports are saved and this request succeeds, or * no reports are saved, and this request fails. (v3.logPlayerReports) * * @param GoogleMapsPlayablelocationsV3LogPlayerReportsRequest $postBody * @param array $optParams Optional parameters. * @return GoogleMapsPlayablelocationsV3LogPlayerReportsResponse */ public function logPlayerReports(GoogleMapsPlayablelocationsV3LogPlayerReportsRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('logPlayerReports', [$params], GoogleMapsPlayablelocationsV3LogPlayerReportsResponse::class); } /** * Returns a set of playable locations that lie within a specified area, that * satisfy optional filter criteria. Note: Identical `SamplePlayableLocations` * requests can return different results as the state of the world changes over * time. (v3.samplePlayableLocations) * * @param GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest $postBody * @param array $optParams Optional parameters. * @return GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse */ public function samplePlayableLocations(GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('samplePlayableLocations', [$params], GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(V3::class, 'Google_Service_PlayableLocations_Resource_V3');