/lib/google/src/Google/Service/MapsEngine.php
PHP | 6421 lines | 4928 code | 304 blank | 1189 comment | 0 complexity | 774b9f92a20f6306fb502c895edb3b50 MD5 | raw file
Possible License(s): MIT, AGPL-3.0, MPL-2.0-no-copyleft-exception, LGPL-3.0, GPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
Large files files are truncated, but you can click here to view the full file
- <?php
- /*
- * Copyright 2010 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
- */
- /**
- * Service definition for MapsEngine (v1).
- *
- * <p>
- * The Google Maps Engine API allows developers to store and query geospatial
- * vector and raster data.</p>
- *
- * <p>
- * For more information about this service, see the API
- * <a href="https://developers.google.com/maps-engine/" target="_blank">Documentation</a>
- * </p>
- *
- * @author Google, Inc.
- */
- class Google_Service_MapsEngine extends Google_Service
- {
- /** View and manage your Google My Maps data. */
- const MAPSENGINE =
- "https://www.googleapis.com/auth/mapsengine";
- /** View your Google My Maps data. */
- const MAPSENGINE_READONLY =
- "https://www.googleapis.com/auth/mapsengine.readonly";
- public $assets;
- public $assets_parents;
- public $assets_permissions;
- public $layers;
- public $layers_parents;
- public $layers_permissions;
- public $maps;
- public $maps_permissions;
- public $projects;
- public $projects_icons;
- public $rasterCollections;
- public $rasterCollections_parents;
- public $rasterCollections_permissions;
- public $rasterCollections_rasters;
- public $rasters;
- public $rasters_files;
- public $rasters_parents;
- public $rasters_permissions;
- public $tables;
- public $tables_features;
- public $tables_files;
- public $tables_parents;
- public $tables_permissions;
-
- /**
- * Constructs the internal representation of the MapsEngine service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->rootUrl = 'https://www.googleapis.com/';
- $this->servicePath = 'mapsengine/v1/';
- $this->version = 'v1';
- $this->serviceName = 'mapsengine';
- $this->assets = new Google_Service_MapsEngine_Assets_Resource(
- $this,
- $this->serviceName,
- 'assets',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'assets/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'assets',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'type' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->assets_parents = new Google_Service_MapsEngine_AssetsParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'assets/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->assets_permissions = new Google_Service_MapsEngine_AssetsPermissions_Resource(
- $this,
- $this->serviceName,
- 'permissions',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'assets/{id}/permissions',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->layers = new Google_Service_MapsEngine_Layers_Resource(
- $this,
- $this->serviceName,
- 'layers',
- array(
- 'methods' => array(
- 'cancelProcessing' => array(
- 'path' => 'layers/{id}/cancelProcessing',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'create' => array(
- 'path' => 'layers',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'process' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'delete' => array(
- 'path' => 'layers/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'layers/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getPublished' => array(
- 'path' => 'layers/{id}/published',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'layers',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'processingStatus' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listPublished' => array(
- 'path' => 'layers/published',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'layers/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'process' => array(
- 'path' => 'layers/{id}/process',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'publish' => array(
- 'path' => 'layers/{id}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'force' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'unpublish' => array(
- 'path' => 'layers/{id}/unpublish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->layers_parents = new Google_Service_MapsEngine_LayersParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'layers/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->layers_permissions = new Google_Service_MapsEngine_LayersPermissions_Resource(
- $this,
- $this->serviceName,
- 'permissions',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'layers/{id}/permissions/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchUpdate' => array(
- 'path' => 'layers/{id}/permissions/batchUpdate',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'layers/{id}/permissions',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->maps = new Google_Service_MapsEngine_Maps_Resource(
- $this,
- $this->serviceName,
- 'maps',
- array(
- 'methods' => array(
- 'create' => array(
- 'path' => 'maps',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => 'maps/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'maps/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getPublished' => array(
- 'path' => 'maps/{id}/published',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'maps',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'processingStatus' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listPublished' => array(
- 'path' => 'maps/published',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'maps/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'publish' => array(
- 'path' => 'maps/{id}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'force' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'unpublish' => array(
- 'path' => 'maps/{id}/unpublish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->maps_permissions = new Google_Service_MapsEngine_MapsPermissions_Resource(
- $this,
- $this->serviceName,
- 'permissions',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'maps/{id}/permissions/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchUpdate' => array(
- 'path' => 'maps/{id}/permissions/batchUpdate',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'maps/{id}/permissions',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->projects = new Google_Service_MapsEngine_Projects_Resource(
- $this,
- $this->serviceName,
- 'projects',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'projects',
- 'httpMethod' => 'GET',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->projects_icons = new Google_Service_MapsEngine_ProjectsIcons_Resource(
- $this,
- $this->serviceName,
- 'icons',
- array(
- 'methods' => array(
- 'create' => array(
- 'path' => 'projects/{projectId}/icons',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'projectId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'projects/{projectId}/icons/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'projectId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'projects/{projectId}/icons',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'projectId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource(
- $this,
- $this->serviceName,
- 'rasterCollections',
- array(
- 'methods' => array(
- 'cancelProcessing' => array(
- 'path' => 'rasterCollections/{id}/cancelProcessing',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'create' => array(
- 'path' => 'rasterCollections',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => 'rasterCollections/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'rasterCollections/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasterCollections',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'processingStatus' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'rasterCollections/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'process' => array(
- 'path' => 'rasterCollections/{id}/process',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->rasterCollections_parents = new Google_Service_MapsEngine_RasterCollectionsParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'rasterCollections/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->rasterCollections_permissions = new Google_Service_MapsEngine_RasterCollectionsPermissions_Resource(
- $this,
- $this->serviceName,
- 'permissions',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'rasterCollections/{id}/permissions/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchUpdate' => array(
- 'path' => 'rasterCollections/{id}/permissions/batchUpdate',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasterCollections/{id}/permissions',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->rasterCollections_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource(
- $this,
- $this->serviceName,
- 'rasters',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'rasterCollections/{id}/rasters/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchInsert' => array(
- 'path' => 'rasterCollections/{id}/rasters/batchInsert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasterCollections/{id}/rasters',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->rasters = new Google_Service_MapsEngine_Rasters_Resource(
- $this,
- $this->serviceName,
- 'rasters',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasters',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'processingStatus' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'process' => array(
- 'path' => 'rasters/{id}/process',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'upload' => array(
- 'path' => 'rasters/upload',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->rasters_files = new Google_Service_MapsEngine_RastersFiles_Resource(
- $this,
- $this->serviceName,
- 'files',
- array(
- 'methods' => array(
- 'insert' => array(
- 'path' => 'rasters/{id}/files',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'filename' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->rasters_parents = new Google_Service_MapsEngine_RastersParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'rasters/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->rasters_permissions = new Google_Service_MapsEngine_RastersPermissions_Resource(
- $this,
- $this->serviceName,
- 'permissions',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'rasters/{id}/permissions/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchUpdate' => array(
- 'path' => 'rasters/{id}/permissions/batchUpdate',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'rasters/{id}/permissions',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->tables = new Google_Service_MapsEngine_Tables_Resource(
- $this,
- $this->serviceName,
- 'tables',
- array(
- 'methods' => array(
- 'create' => array(
- 'path' => 'tables',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'tables',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'modifiedAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdAfter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'processingStatus' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'search' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'creatorEmail' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'bbox' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'modifiedBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'createdBefore' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'process' => array(
- 'path' => 'tables/{id}/process',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'upload' => array(
- 'path' => 'tables/upload',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),
- )
- )
- );
- $this->tables_features = new Google_Service_MapsEngine_TablesFeatures_Resource(
- $this,
- $this->serviceName,
- 'features',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'tables/{id}/features/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchInsert' => array(
- 'path' => 'tables/{id}/features/batchInsert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchPatch' => array(
- 'path' => 'tables/{id}/features/batchPatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'tables/{tableId}/features/{id}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'tableId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'select' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'tables/{id}/features',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'intersects' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'version' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'limit' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'include' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'where' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'select' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->tables_files = new Google_Service_MapsEngine_TablesFiles_Resource(
- $this,
- $this->serviceName,
- 'files',
- array(
- 'methods' => array(
- 'insert' => array(
- 'path' => 'tables/{id}/files',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'filename' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->tables_parents = new Google_Service_MapsEngine_TablesParents_Resource(
- $this,
- $this->serviceName,
- 'parents',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'tables/{id}/parents',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->tables_permissions = new Google_Service_MapsEngine_TablesPermissions_Resource(
- $this,
- $this->serviceName,
- 'permissions',
- array(
- 'methods' => array(
- 'batchDelete' => array(
- 'path' => 'tables/{id}/permissions/batchDelete',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'batchUpdate' => array(
- 'path' => 'tables/{id}/permissions/batchUpdate',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'tables/{id}/permissions',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'id' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- }
- }
- /**
- * The "assets" collection of methods.
- * Typical usage is:
- * <code>
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $assets = $mapsengineService->assets;
- * </code>
- */
- class Google_Service_MapsEngine_Assets_Resource extends Google_Service_Resource
- {
- /**
- * Return metadata for a particular asset. (assets.get)
- *
- * @param string $id The ID of the asset.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Asset
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Asset");
- }
- /**
- * Return all assets readable by the current user. (assets.listAssets)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g.
- * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after
- * this time.
- * @opt_param string createdAfter An RFC 3…
Large files files are truncated, but you can click here to view the full file