* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class PlayableLocations extends \Google\Service { public $v3; /** * Constructs the internal representation of the PlayableLocations service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://playablelocations.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v3'; $this->serviceName = 'playablelocations'; $this->v3 = new PlayableLocations\Resource\V3( $this, $this->serviceName, 'v3', [ 'methods' => [ 'logImpressions' => [ 'path' => 'v3:logImpressions', 'httpMethod' => 'POST', 'parameters' => [], ],'logPlayerReports' => [ 'path' => 'v3:logPlayerReports', 'httpMethod' => 'POST', 'parameters' => [], ],'samplePlayableLocations' => [ 'path' => 'v3:samplePlayableLocations', 'httpMethod' => 'POST', 'parameters' => [], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PlayableLocations::class, 'Google_Service_PlayableLocations');