From 528c482c026dc18d8cbbce027c5401657da0d1af Mon Sep 17 00:00:00 2001
From: Ian Barber
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_MapsEngine extends Google_Service +{ + /** View and manage your Google Maps Engine data. */ + const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine"; + /** View your Google Maps Engine data. */ + const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly"; + + public $assets; + public $assets_parents; + public $layers; + public $layers_parents; + public $maps; + public $projects; + public $rasterCollections; + public $rasterCollections_parents; + public $rasterCollections_rasters; + public $rasters; + public $rasters_files; + public $rasters_parents; + public $tables; + public $tables_features; + public $tables_files; + public $tables_parents; + + + /** + * Constructs the internal representation of the MapsEngine service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $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', + ), + 'projectId' => 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', + ), + '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->layers = new Google_Service_MapsEngine_Layers_Resource( + $this, + $this->serviceName, + 'layers', + array( + 'methods' => array( + 'get' => array( + 'path' => 'layers/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'layers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => 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', + ), + ), + ), + ) + ) + ); + $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->maps = new Google_Service_MapsEngine_Maps_Resource( + $this, + $this->serviceName, + 'maps', + array( + 'methods' => array( + 'get' => array( + 'path' => 'maps/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'version' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => 'maps', + 'httpMethod' => 'GET', + 'parameters' => array( + 'modifiedAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'createdAfter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => 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', + ), + ), + ), + ) + ) + ); + $this->projects = new Google_Service_MapsEngine_Projects_Resource( + $this, + $this->serviceName, + 'projects', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->rasterCollections = new Google_Service_MapsEngine_RasterCollections_Resource( + $this, + $this->serviceName, + 'rasterCollections', + array( + 'methods' => array( + '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', + ), + 'projectId' => 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', + ), + ), + ), + ) + ) + ); + $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_rasters = new Google_Service_MapsEngine_RasterCollectionsRasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + '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', + ), + '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', + ), + ), + ), + ) + ) + ); + $this->rasters = new Google_Service_MapsEngine_Rasters_Resource( + $this, + $this->serviceName, + 'rasters', + array( + 'methods' => array( + 'get' => array( + 'path' => 'rasters/{id}', + 'httpMethod' => 'GET', + '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->tables = new Google_Service_MapsEngine_Tables_Resource( + $this, + $this->serviceName, + 'tables', + array( + 'methods' => array( + 'create' => array( + 'path' => 'tables', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'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', + ), + 'projectId' => 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', + ), + ), + ),'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', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "assets" collection of methods. + * Typical usage is: + *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $assets = $mapsengineService->assets;
+ *
+ */
+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_MapsengineResource
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_MapsengineResource");
+ }
+ /**
+ * 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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @opt_param string type
+ * An asset type restriction. If set, only resources of this type will be returned.
+ * @return Google_Service_MapsEngine_ResourcesListResponse
+ */
+ public function listAssets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ResourcesListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified asset. (parents.listAssetsParents)
+ *
+ * @param string $id
+ * The ID of the asset whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listAssetsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $layers = $mapsengineService->layers;
+ *
+ */
+class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular layer. (layers.get)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Layer
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Layer");
+ }
+ /**
+ * Return all layers readable by the current user. (layers.listLayers)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_LayersListResponse
+ */
+ public function listLayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified layer. (parents.listLayersParents)
+ *
+ * @param string $id
+ * The ID of the layer whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listLayersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "maps" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $maps = $mapsengineService->maps;
+ *
+ */
+class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular map. (maps.get)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Map
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Map");
+ }
+ /**
+ * Return all maps readable by the current user. (maps.listMaps)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_MapsListResponse
+ */
+ public function listMaps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $projects = $mapsengineService->projects;
+ *
+ */
+class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all projects readable by the current user. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProjectsListResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse");
+ }
+}
+
+/**
+ * The "rasterCollections" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasterCollections = $mapsengineService->rasterCollections;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a particular raster collection. (rasterCollections.get)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollection
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection");
+ }
+ /**
+ * Return all raster collections readable by the current user.
+ * (rasterCollections.listRasterCollections)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RastercollectionsListResponse
+ */
+ public function listRasterCollections($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RastercollectionsListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified raster collection.
+ * (parents.listRasterCollectionsParents)
+ *
+ * @param string $id
+ * The ID of the raster collection whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRasterCollectionsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all rasters within a raster collection.
+ * (rasters.listRasterCollectionsRasters)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RastersListResponse
+ */
+ public function listRasterCollectionsRasters($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse");
+ }
+}
+
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return metadata for a single raster. (rasters.get)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Image
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Image");
+ }
+ /**
+ * Create a skeleton raster asset for upload. (rasters.upload)
+ *
+ * @param Google_Image $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Image
+ */
+ public function upload(Google_Service_MapsEngine_Image $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Image");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a raster asset. (files.insert)
+ *
+ * @param string $id
+ * The ID of the raster asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified rasters. (parents.listRastersParents)
+ *
+ * @param string $id
+ * The ID of the rasters whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRastersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $tables = $mapsengineService->tables;
+ *
+ */
+class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a table asset. (tables.create)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Return metadata for a particular table, including the schema. (tables.get)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Return all tables readable by the current user. (tables.listTables)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_TablesListResponse
+ */
+ public function listTables($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
+ }
+ /**
+ * Create a placeholder table asset to which table files can be uploaded. Once
+ * the placeholder has been created, files are uploaded to the
+ * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
+ * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
+ * the reference documentation for more information. (tables.upload)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Table");
+ }
+}
+
+/**
+ * The "features" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $features = $mapsengineService->features;
+ *
+ */
+class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete all features matching the given IDs. (features.batchDelete)
+ *
+ * @param string $id
+ * The ID of the table that contains the features to be deleted.
+ * @param Google_FeaturesBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+ /**
+ * Append features to an existing table.
+ *
+ * A single batchInsert request can create:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * For more information about inserting features, read Creating features in the
+ * Google Maps Engine developer's guide. (features.batchInsert)
+ *
+ * @param string $id
+ * The ID of the table to append the features to.
+ * @param Google_FeaturesBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params));
+ }
+ /**
+ * Update the supplied features.
+ *
+ * A single batchPatch request can update:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * Feature updates use HTTP PATCH semantics:
+ *
+ * - A supplied value replaces an existing value (if any) in that field. -
+ * Omitted fields remain unchanged. - Complex values in geometries and
+ * properties must be replaced as atomic units. For example, providing just the
+ * coordinates of a geometry is not allowed; the complete geometry, including
+ * type, must be supplied. - Setting a property's value to null deletes that
+ * property. For more information about updating features, read Updating
+ * features in the Google Maps Engine developer's guide. (features.batchPatch)
+ *
+ * @param string $id
+ * The ID of the table containing the features to be patched.
+ * @param Google_FeaturesBatchPatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchPatch', array($params));
+ }
+ /**
+ * Return a single feature, given its ID. (features.get)
+ *
+ * @param string $tableId
+ * The ID of the table.
+ * @param string $id
+ * The ID of the feature to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_Feature
+ */
+ public function get($tableId, $id, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Feature");
+ }
+ /**
+ * Return all features readable by the current user.
+ * (features.listTablesFeatures)
+ *
+ * @param string $id
+ * The ID of the table to which these features belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * An SQL-like order by clause used to sort results. If this parameter is not included, the order
+ * of features is undefined.
+ * @opt_param string intersects
+ * A geometry literal that specifies the spatial restriction of the query.
+ * @opt_param string maxResults
+ * The maximum number of items to include in the response, used for paging.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string limit
+ * The total number of features to return from the query, irrespective of the number of pages.
+ * @opt_param string include
+ * A comma separated list of optional data to include. Optional data available: schema.
+ * @opt_param string where
+ * An SQL-like predicate used to filter results.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_FeaturesListResponse
+ */
+ public function listTablesFeatures($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a placeholder table asset. See Table Upload in the
+ * Developer's Guide for more information. Supported file types are listed in
+ * the Supported data formats and limits article of the Google Maps Engine help
+ * center. (files.insert)
+ *
+ * @param string $id
+ * The ID of the table asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified table. (parents.listTablesParents)
+ *
+ * @param string $id
+ * The ID of the table whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listTablesParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+
+
+
+class Google_Service_MapsEngine_AcquisitionTime extends Google_Model
+{
+ public $end;
+ public $precision;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setPrecision($precision)
+ {
+ $this->precision = $precision;
+ }
+
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_MapsEngine_Datasource extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_Feature extends Google_Model
+{
+ protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometryDataType = '';
+ public $properties;
+ public $type;
+
+ public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry)
+ {
+ $this->geometry = $geometry;
+ }
+
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
+{
+ public $featureIds;
+ public $gxIds;
+
+ public function setFeatureIds($featureIds)
+ {
+ $this->featureIds = $featureIds;
+ }
+
+ public function getFeatureIds()
+ {
+ return $this->featureIds;
+ }
+
+ public function setGxIds($gxIds)
+ {
+ $this->gxIds = $gxIds;
+ }
+
+ public function getGxIds()
+ {
+ return $this->gxIds;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
+{
+ public $allowedQueriesPerSecond;
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $nextPageToken;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $type;
+
+ public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
+ {
+ $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
+ }
+
+ public function getAllowedQueriesPerSecond()
+ {
+ return $this->allowedQueriesPerSecond;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
+{
+ protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometriesDataType = 'array';
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_Image extends Google_Collection
+{
+ protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $maskType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_Layer extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $datasourceType;
+ protected $datasourcesType = 'Google_Service_MapsEngine_Datasource';
+ protected $datasourcesDataType = 'array';
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDatasourceType($datasourceType)
+ {
+ $this->datasourceType = $datasourceType;
+ }
+
+ public function getDatasourceType()
+ {
+ return $this->datasourceType;
+ }
+
+ public function setDatasources($datasources)
+ {
+ $this->datasources = $datasources;
+ }
+
+ public function getDatasources()
+ {
+ return $this->datasources;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
+{
+ protected $layersType = 'Google_Service_MapsEngine_Layer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_Map extends Google_Collection
+{
+ public $bbox;
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $creationTime;
+ public $defaultViewport;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $tags;
+ public $versions;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
+
+class Google_Service_MapsEngine_MapFolder extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $defaultViewport;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapItem extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_MapKmlLink extends Google_Model
+{
+ public $defaultViewport;
+ public $kmlUrl;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKmlUrl($kmlUrl)
+ {
+ $this->kmlUrl = $kmlUrl;
+ }
+
+ public function getKmlUrl()
+ {
+ return $this->kmlUrl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapLayer extends Google_Collection
+{
+ public $defaultViewport;
+ public $id;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
+{
+ protected $mapsType = 'Google_Service_MapsEngine_Map';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_MapsengineFile extends Google_Model
+{
+ public $filename;
+ public $size;
+ public $uploadStatus;
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Google_Service_MapsEngine_MapsengineResource extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $resource;
+ public $tags;
+ public $type;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_Parent extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $parentsType = 'Google_Service_MapsEngine_Parent';
+ protected $parentsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+
+ public function getParents()
+ {
+ return $this->parents;
+ }
+}
+
+class Google_Service_MapsEngine_Project extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
+{
+ protected $projectsType = 'Google_Service_MapsEngine_Project';
+ protected $projectsDataType = 'array';
+
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Google_Service_MapsEngine_Raster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollection extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $mosaic;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMosaic($mosaic)
+ {
+ $this->mosaic = $mosaic;
+ }
+
+ public function getMosaic()
+ {
+ return $this->mosaic;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RastercollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rastersType = 'Google_Service_MapsEngine_Raster';
+ protected $rastersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Google_Service_MapsEngine_ResourcesListResponse extends Google_Collection
+{
+ protected $assetsType = 'Google_Service_MapsEngine_MapsengineResource';
+ protected $assetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_Schema extends Google_Collection
+{
+ protected $columnsType = 'Google_Service_MapsEngine_SchemaColumns';
+ protected $columnsDataType = 'array';
+ public $primaryGeometry;
+ public $primaryKey;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+
+ public function setPrimaryGeometry($primaryGeometry)
+ {
+ $this->primaryGeometry = $primaryGeometry;
+ }
+
+ public function getPrimaryGeometry()
+ {
+ return $this->primaryGeometry;
+ }
+
+ public function setPrimaryKey($primaryKey)
+ {
+ $this->primaryKey = $primaryKey;
+ }
+
+ public function getPrimaryKey()
+ {
+ return $this->primaryKey;
+ }
+}
+
+class Google_Service_MapsEngine_SchemaColumns extends Google_Model
+{
+ public $name;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_Table extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $sourceEncoding;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setSourceEncoding($sourceEncoding)
+ {
+ $this->sourceEncoding = $sourceEncoding;
+ }
+
+ public function getSourceEncoding()
+ {
+ return $this->sourceEncoding;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $tablesType = 'Google_Service_MapsEngine_Table';
+ protected $tablesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
From ed8b8325d8b938e47352c440e71848bd80b76393 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_Mapsengine extends Google_Service -{ - /** View and manage your Google Maps Engine data. */ - const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine"; - /** View your Google Maps Engine data. */ - const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly"; - - public $assets; - public $assets_parents; - public $layers; - public $layers_parents; - public $maps; - public $projects; - public $rasterCollections; - public $rasterCollections_parents; - public $rasterCollections_rasters; - public $rasters; - public $rasters_files; - public $rasters_parents; - public $tables; - public $tables_features; - public $tables_files; - public $tables_parents; - - - /** - * Constructs the internal representation of the Mapsengine service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $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', - ), - 'projectId' => 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', - ), - '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->layers = new Google_Service_Mapsengine_Layers_Resource( - $this, - $this->serviceName, - 'layers', - array( - 'methods' => array( - 'get' => array( - 'path' => 'layers/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'list' => array( - 'path' => 'layers', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => 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', - ), - ), - ), - ) - ) - ); - $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->maps = new Google_Service_Mapsengine_Maps_Resource( - $this, - $this->serviceName, - 'maps', - array( - 'methods' => array( - 'get' => array( - 'path' => 'maps/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'version' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ),'list' => array( - 'path' => 'maps', - 'httpMethod' => 'GET', - 'parameters' => array( - 'modifiedAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'createdAfter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'projectId' => 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', - ), - ), - ), - ) - ) - ); - $this->projects = new Google_Service_Mapsengine_Projects_Resource( - $this, - $this->serviceName, - 'projects', - array( - 'methods' => array( - 'list' => array( - 'path' => 'projects', - 'httpMethod' => 'GET', - 'parameters' => array(), - ), - ) - ) - ); - $this->rasterCollections = new Google_Service_Mapsengine_RasterCollections_Resource( - $this, - $this->serviceName, - 'rasterCollections', - array( - 'methods' => array( - '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', - ), - 'projectId' => 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', - ), - ), - ), - ) - ) - ); - $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_rasters = new Google_Service_Mapsengine_RasterCollectionsRasters_Resource( - $this, - $this->serviceName, - 'rasters', - array( - 'methods' => array( - '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', - ), - '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', - ), - ), - ), - ) - ) - ); - $this->rasters = new Google_Service_Mapsengine_Rasters_Resource( - $this, - $this->serviceName, - 'rasters', - array( - 'methods' => array( - 'get' => array( - 'path' => 'rasters/{id}', - 'httpMethod' => 'GET', - '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->tables = new Google_Service_Mapsengine_Tables_Resource( - $this, - $this->serviceName, - 'tables', - array( - 'methods' => array( - 'create' => array( - 'path' => 'tables', - 'httpMethod' => 'POST', - 'parameters' => array(), - ),'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', - ), - 'projectId' => 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', - ), - ), - ),'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', - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "assets" collection of methods. - * Typical usage is: - *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $assets = $mapsengineService->assets;
- *
- */
-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_MapsengineResource
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_MapsengineResource");
- }
- /**
- * 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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @opt_param string type
- * An asset type restriction. If set, only resources of this type will be returned.
- * @return Google_Service_Mapsengine_ResourcesListResponse
- */
- public function listAssets($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ResourcesListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_AssetsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified asset. (parents.listAssetsParents)
- *
- * @param string $id
- * The ID of the asset whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listAssetsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-/**
- * The "layers" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $layers = $mapsengineService->layers;
- *
- */
-class Google_Service_Mapsengine_Layers_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular layer. (layers.get)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_Mapsengine_Layer
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Layer");
- }
- /**
- * Return all layers readable by the current user. (layers.listLayers)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_LayersListResponse
- */
- public function listLayers($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_LayersListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_LayersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified layer. (parents.listLayersParents)
- *
- * @param string $id
- * The ID of the layer whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listLayersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-/**
- * The "maps" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $maps = $mapsengineService->maps;
- *
- */
-class Google_Service_Mapsengine_Maps_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular map. (maps.get)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_Mapsengine_Map
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Map");
- }
- /**
- * Return all maps readable by the current user. (maps.listMaps)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_MapsListResponse
- */
- public function listMaps($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_MapsListResponse");
- }
-}
-
-/**
- * The "projects" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $projects = $mapsengineService->projects;
- *
- */
-class Google_Service_Mapsengine_Projects_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all projects readable by the current user. (projects.listProjects)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_ProjectsListResponse
- */
- public function listProjects($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ProjectsListResponse");
- }
-}
-
-/**
- * The "rasterCollections" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $rasterCollections = $mapsengineService->rasterCollections;
- *
- */
-class Google_Service_Mapsengine_RasterCollections_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a particular raster collection. (rasterCollections.get)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_RasterCollection
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_RasterCollection");
- }
- /**
- * Return all raster collections readable by the current user.
- * (rasterCollections.listRasterCollections)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_RastercollectionsListResponse
- */
- public function listRasterCollections($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_RastercollectionsListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_RasterCollectionsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified raster collection.
- * (parents.listRasterCollectionsParents)
- *
- * @param string $id
- * The ID of the raster collection whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listRasterCollectionsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_Mapsengine_RasterCollectionsRasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all rasters within a raster collection.
- * (rasters.listRasterCollectionsRasters)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_RastersListResponse
- */
- public function listRasterCollectionsRasters($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_RastersListResponse");
- }
-}
-
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_Mapsengine_Rasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Return metadata for a single raster. (rasters.get)
- *
- * @param string $id
- * The ID of the raster.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Image
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Image");
- }
- /**
- * Create a skeleton raster asset for upload. (rasters.upload)
- *
- * @param Google_Image $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Image
- */
- public function upload(Google_Service_Mapsengine_Image $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Mapsengine_Image");
- }
-}
-
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_Mapsengine_RastersFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a raster asset. (files.insert)
- *
- * @param string $id
- * The ID of the raster asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_RastersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified rasters. (parents.listRastersParents)
- *
- * @param string $id
- * The ID of the rasters whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listRastersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-/**
- * The "tables" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $tables = $mapsengineService->tables;
- *
- */
-class Google_Service_Mapsengine_Tables_Resource extends Google_Service_Resource
-{
-
- /**
- * Create a table asset. (tables.create)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Table
- */
- public function create(Google_Service_Mapsengine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Mapsengine_Table");
- }
- /**
- * Return metadata for a particular table, including the schema. (tables.get)
- *
- * @param string $id
- * The ID of the table.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_Mapsengine_Table
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Table");
- }
- /**
- * Return all tables readable by the current user. (tables.listTables)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_Mapsengine_TablesListResponse
- */
- public function listTables($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_TablesListResponse");
- }
- /**
- * Create a placeholder table asset to which table files can be uploaded. Once
- * the placeholder has been created, files are uploaded to the
- * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
- * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
- * the reference documentation for more information. (tables.upload)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Mapsengine_Table
- */
- public function upload(Google_Service_Mapsengine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Mapsengine_Table");
- }
-}
-
-/**
- * The "features" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $features = $mapsengineService->features;
- *
- */
-class Google_Service_Mapsengine_TablesFeatures_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete all features matching the given IDs. (features.batchDelete)
- *
- * @param string $id
- * The ID of the table that contains the features to be deleted.
- * @param Google_FeaturesBatchDeleteRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchDelete($id, Google_Service_Mapsengine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchDelete', array($params));
- }
- /**
- * Append features to an existing table.
- *
- * A single batchInsert request can create:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * For more information about inserting features, read Creating features in the
- * Google Maps Engine developer's guide. (features.batchInsert)
- *
- * @param string $id
- * The ID of the table to append the features to.
- * @param Google_FeaturesBatchInsertRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchInsert($id, Google_Service_Mapsengine_FeaturesBatchInsertRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchInsert', array($params));
- }
- /**
- * Update the supplied features.
- *
- * A single batchPatch request can update:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * Feature updates use HTTP PATCH semantics:
- *
- * - A supplied value replaces an existing value (if any) in that field. -
- * Omitted fields remain unchanged. - Complex values in geometries and
- * properties must be replaced as atomic units. For example, providing just the
- * coordinates of a geometry is not allowed; the complete geometry, including
- * type, must be supplied. - Setting a property's value to null deletes that
- * property. For more information about updating features, read Updating
- * features in the Google Maps Engine developer's guide. (features.batchPatch)
- *
- * @param string $id
- * The ID of the table containing the features to be patched.
- * @param Google_FeaturesBatchPatchRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchPatch($id, Google_Service_Mapsengine_FeaturesBatchPatchRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchPatch', array($params));
- }
- /**
- * Return a single feature, given its ID. (features.get)
- *
- * @param string $tableId
- * The ID of the table.
- * @param string $id
- * The ID of the feature to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_Mapsengine_Feature
- */
- public function get($tableId, $id, $optParams = array())
- {
- $params = array('tableId' => $tableId, 'id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Mapsengine_Feature");
- }
- /**
- * Return all features readable by the current user.
- * (features.listTablesFeatures)
- *
- * @param string $id
- * The ID of the table to which these features belong.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * An SQL-like order by clause used to sort results. If this parameter is not included, the order
- * of features is undefined.
- * @opt_param string intersects
- * A geometry literal that specifies the spatial restriction of the query.
- * @opt_param string maxResults
- * The maximum number of items to include in the response, used for paging.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string limit
- * The total number of features to return from the query, irrespective of the number of pages.
- * @opt_param string include
- * A comma separated list of optional data to include. Optional data available: schema.
- * @opt_param string where
- * An SQL-like predicate used to filter results.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_Mapsengine_FeaturesListResponse
- */
- public function listTablesFeatures($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_FeaturesListResponse");
- }
-}
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_Mapsengine_TablesFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a placeholder table asset. See Table Upload in the
- * Developer's Guide for more information. Supported file types are listed in
- * the Supported data formats and limits article of the Google Maps Engine help
- * center. (files.insert)
- *
- * @param string $id
- * The ID of the table asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_Mapsengine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_Mapsengine_TablesParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified table. (parents.listTablesParents)
- *
- * @param string $id
- * The ID of the table whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_Mapsengine_ParentsListResponse
- */
- public function listTablesParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Mapsengine_ParentsListResponse");
- }
-}
-
-
-
-
-class Google_Service_Mapsengine_AcquisitionTime extends Google_Model
-{
- public $end;
- public $precision;
- public $start;
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setPrecision($precision)
- {
- $this->precision = $precision;
- }
-
- public function getPrecision()
- {
- return $this->precision;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_Mapsengine_Datasource extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Mapsengine_Feature extends Google_Model
-{
- protected $geometryType = 'Google_Service_Mapsengine_Geometry';
- protected $geometryDataType = '';
- public $properties;
- public $type;
-
- public function setGeometry(Google_Service_Mapsengine_Geometry $geometry)
- {
- $this->geometry = $geometry;
- }
-
- public function getGeometry()
- {
- return $this->geometry;
- }
-
- public function setProperties($properties)
- {
- $this->properties = $properties;
- }
-
- public function getProperties()
- {
- return $this->properties;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesBatchDeleteRequest extends Google_Collection
-{
- public $featureIds;
- public $gxIds;
-
- public function setFeatureIds($featureIds)
- {
- $this->featureIds = $featureIds;
- }
-
- public function getFeatureIds()
- {
- return $this->featureIds;
- }
-
- public function setGxIds($gxIds)
- {
- $this->gxIds = $gxIds;
- }
-
- public function getGxIds()
- {
- return $this->gxIds;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesBatchInsertRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_Mapsengine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesBatchPatchRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_Mapsengine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_Mapsengine_FeaturesListResponse extends Google_Collection
-{
- public $allowedQueriesPerSecond;
- protected $featuresType = 'Google_Service_Mapsengine_Feature';
- protected $featuresDataType = 'array';
- public $nextPageToken;
- protected $schemaType = 'Google_Service_Mapsengine_Schema';
- protected $schemaDataType = '';
- public $type;
-
- public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
- {
- $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
- }
-
- public function getAllowedQueriesPerSecond()
- {
- return $this->allowedQueriesPerSecond;
- }
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setSchema(Google_Service_Mapsengine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_Geometry extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_GeometryCollection extends Google_Collection
-{
- protected $geometriesType = 'Google_Service_Mapsengine_Geometry';
- protected $geometriesDataType = 'array';
-
- public function setGeometries($geometries)
- {
- $this->geometries = $geometries;
- }
-
- public function getGeometries()
- {
- return $this->geometries;
- }
-}
-
-class Google_Service_Mapsengine_Image extends Google_Collection
-{
- protected $acquisitionTimeType = 'Google_Service_Mapsengine_AcquisitionTime';
- protected $acquisitionTimeDataType = '';
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- protected $filesType = 'Google_Service_Mapsengine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $maskType;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAcquisitionTime(Google_Service_Mapsengine_AcquisitionTime $acquisitionTime)
- {
- $this->acquisitionTime = $acquisitionTime;
- }
-
- public function getAcquisitionTime()
- {
- return $this->acquisitionTime;
- }
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMaskType($maskType)
- {
- $this->maskType = $maskType;
- }
-
- public function getMaskType()
- {
- return $this->maskType;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_Layer extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $datasourceType;
- protected $datasourcesType = 'Google_Service_Mapsengine_Datasource';
- protected $datasourcesDataType = 'array';
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDatasourceType($datasourceType)
- {
- $this->datasourceType = $datasourceType;
- }
-
- public function getDatasourceType()
- {
- return $this->datasourceType;
- }
-
- public function setDatasources($datasources)
- {
- $this->datasources = $datasources;
- }
-
- public function getDatasources()
- {
- return $this->datasources;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_LayersListResponse extends Google_Collection
-{
- protected $layersType = 'Google_Service_Mapsengine_Layer';
- protected $layersDataType = 'array';
- public $nextPageToken;
-
- public function setLayers($layers)
- {
- $this->layers = $layers;
- }
-
- public function getLayers()
- {
- return $this->layers;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Mapsengine_LineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Map extends Google_Collection
-{
- public $bbox;
- protected $contentsType = 'Google_Service_Mapsengine_MapItem';
- protected $contentsDataType = 'array';
- public $creationTime;
- public $defaultViewport;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $tags;
- public $versions;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setVersions($versions)
- {
- $this->versions = $versions;
- }
-
- public function getVersions()
- {
- return $this->versions;
- }
-}
-
-class Google_Service_Mapsengine_MapFolder extends Google_Collection
-{
- protected $contentsType = 'Google_Service_Mapsengine_MapItem';
- protected $contentsDataType = 'array';
- public $defaultViewport;
- public $key;
- public $name;
- public $visibility;
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_Mapsengine_MapItem extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_MapKmlLink extends Google_Model
-{
- public $defaultViewport;
- public $kmlUrl;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setKmlUrl($kmlUrl)
- {
- $this->kmlUrl = $kmlUrl;
- }
-
- public function getKmlUrl()
- {
- return $this->kmlUrl;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_Mapsengine_MapLayer extends Google_Collection
-{
- public $defaultViewport;
- public $id;
- public $key;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_Mapsengine_MapsListResponse extends Google_Collection
-{
- protected $mapsType = 'Google_Service_Mapsengine_Map';
- protected $mapsDataType = 'array';
- public $nextPageToken;
-
- public function setMaps($maps)
- {
- $this->maps = $maps;
- }
-
- public function getMaps()
- {
- return $this->maps;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Mapsengine_MapsengineFile extends Google_Model
-{
- public $filename;
- public $size;
- public $uploadStatus;
-
- public function setFilename($filename)
- {
- $this->filename = $filename;
- }
-
- public function getFilename()
- {
- return $this->filename;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-
- public function setUploadStatus($uploadStatus)
- {
- $this->uploadStatus = $uploadStatus;
- }
-
- public function getUploadStatus()
- {
- return $this->uploadStatus;
- }
-}
-
-class Google_Service_Mapsengine_MapsengineResource extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $resource;
- public $tags;
- public $type;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setResource($resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_MultiLineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_MultiPoint extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_MultiPolygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Parent extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Mapsengine_ParentsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $parentsType = 'Google_Service_Mapsengine_Parent';
- protected $parentsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setParents($parents)
- {
- $this->parents = $parents;
- }
-
- public function getParents()
- {
- return $this->parents;
- }
-}
-
-class Google_Service_Mapsengine_Point extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Polygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_Mapsengine_Project extends Google_Model
-{
- public $id;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Mapsengine_ProjectsListResponse extends Google_Collection
-{
- protected $projectsType = 'Google_Service_Mapsengine_Project';
- protected $projectsDataType = 'array';
-
- public function setProjects($projects)
- {
- $this->projects = $projects;
- }
-
- public function getProjects()
- {
- return $this->projects;
- }
-}
-
-class Google_Service_Mapsengine_Raster extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_RasterCollection extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $mosaic;
- public $name;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMosaic($mosaic)
- {
- $this->mosaic = $mosaic;
- }
-
- public function getMosaic()
- {
- return $this->mosaic;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_RastercollectionsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rasterCollectionsType = 'Google_Service_Mapsengine_RasterCollection';
- protected $rasterCollectionsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasterCollections($rasterCollections)
- {
- $this->rasterCollections = $rasterCollections;
- }
-
- public function getRasterCollections()
- {
- return $this->rasterCollections;
- }
-}
-
-class Google_Service_Mapsengine_RastersListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rastersType = 'Google_Service_Mapsengine_Raster';
- protected $rastersDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasters($rasters)
- {
- $this->rasters = $rasters;
- }
-
- public function getRasters()
- {
- return $this->rasters;
- }
-}
-
-class Google_Service_Mapsengine_ResourcesListResponse extends Google_Collection
-{
- protected $assetsType = 'Google_Service_Mapsengine_MapsengineResource';
- protected $assetsDataType = 'array';
- public $nextPageToken;
-
- public function setAssets($assets)
- {
- $this->assets = $assets;
- }
-
- public function getAssets()
- {
- return $this->assets;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Mapsengine_Schema extends Google_Collection
-{
- protected $columnsType = 'Google_Service_Mapsengine_SchemaColumns';
- protected $columnsDataType = 'array';
- public $primaryGeometry;
- public $primaryKey;
-
- public function setColumns($columns)
- {
- $this->columns = $columns;
- }
-
- public function getColumns()
- {
- return $this->columns;
- }
-
- public function setPrimaryGeometry($primaryGeometry)
- {
- $this->primaryGeometry = $primaryGeometry;
- }
-
- public function getPrimaryGeometry()
- {
- return $this->primaryGeometry;
- }
-
- public function setPrimaryKey($primaryKey)
- {
- $this->primaryKey = $primaryKey;
- }
-
- public function getPrimaryKey()
- {
- return $this->primaryKey;
- }
-}
-
-class Google_Service_Mapsengine_SchemaColumns extends Google_Model
-{
- public $name;
- public $type;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Mapsengine_Table extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- protected $filesType = 'Google_Service_Mapsengine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- protected $schemaType = 'Google_Service_Mapsengine_Schema';
- protected $schemaDataType = '';
- public $sourceEncoding;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setSchema(Google_Service_Mapsengine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setSourceEncoding($sourceEncoding)
- {
- $this->sourceEncoding = $sourceEncoding;
- }
-
- public function getSourceEncoding()
- {
- return $this->sourceEncoding;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_Mapsengine_TablesListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $tablesType = 'Google_Service_Mapsengine_Table';
- protected $tablesDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setTables($tables)
- {
- $this->tables = $tables;
- }
-
- public function getTables()
- {
- return $this->tables;
- }
-}
From 9b5e0c34e473af92ffed63ac29793ceb147680d3 Mon Sep 17 00:00:00 2001
From: Dion Hulse
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $channelSections = $youtubeService->channelSections;
+ *
+ */
+class Google_Service_YouTube_ChannelSections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a channelSection. (channelSections.delete)
+ *
+ * @param string $id
+ * The id parameter specifies the YouTube channelSection ID for the resource that is being deleted.
+ * In a channelSection resource, the id property specifies the YouTube channelSection ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a channelSection for the authenticated user's channel.
+ * (channelSections.insert)
+ *
+ * @param string $part
+ * The part parameter serves two purposes in this operation. It identifies the properties that the
+ * write operation will set as well as the properties that the API response will include.
+ The part
+ * names that you can include in the parameter value are snippet and contentDetails.
+ * @param Google_ChannelSection $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwnerChannel
+ * This parameter can only be used in a properly authorized request. Note: This parameter is
+ * intended exclusively for YouTube content partners.
+ The onBehalfOfContentOwnerChannel parameter
+ * specifies the YouTube channel ID of the channel to which a video is being added. This parameter
+ * is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it
+ * can only be used in conjunction with that parameter. In addition, the request must be authorized
+ * using a CMS account that is linked to the content owner that the onBehalfOfContentOwner
+ * parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value
+ * specifies must be linked to the content owner that the onBehalfOfContentOwner parameter
+ * specifies.
+ This parameter is intended for YouTube content partners that own and manage many
+ * different YouTube channels. It allows content owners to authenticate once and perform actions on
+ * behalf of the channel specified in the parameter value, without having to provide authentication
+ * credentials for each separate channel.
+ * @return Google_Service_YouTube_ChannelSection
+ */
+ public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_ChannelSection");
+ }
+ /**
+ * Returns channelSection resources that match the API request criteria.
+ * (channelSections.listChannelSections)
+ *
+ * @param string $part
+ * The part parameter specifies a comma-separated list of one or more channelSection resource
+ * properties that the API response will include. The part names that you can include in the
+ * parameter value are id, snippet, and contentDetails.
+ If the parameter identifies a property
+ * that contains child properties, the child properties will be included in the response. For
+ * example, in a channelSection resource, the snippet property contains other properties, such as a
+ * display title for the channelSection. If you set part=snippet, the API response will also
+ * contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner
+ * Note: This parameter is intended exclusively for YouTube content partners.
+ The
+ * onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify
+ * a YouTube CMS user who is acting on behalf of the content owner specified in the parameter
+ * value. This parameter is intended for YouTube content partners that own and manage many
+ * different YouTube channels. It allows content owners to authenticate once and get access to all
+ * their video and channel data, without having to provide authentication credentials for each
+ * individual channel. The CMS account that the user authenticates with must be linked to the
+ * specified YouTube content owner.
+ * @opt_param string channelId
+ * The channelId parameter specifies a YouTube channel ID. The API will only return that channel's
+ * channelSections.
+ * @opt_param string id
+ * The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the
+ * resource(s) that are being retrieved. In a channelSection resource, the id property specifies
+ * the YouTube channelSection ID.
+ * @opt_param bool mine
+ * Set this parameter's value to true to retrieve a feed of the authenticated user's
+ * channelSections.
+ * @return Google_Service_YouTube_ChannelSectionListResponse
+ */
+ public function listChannelSections($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_ChannelSectionListResponse");
+ }
+ /**
+ * Update a channelSection. (channelSections.update)
+ *
+ * @param string $part
+ * The part parameter serves two purposes in this operation. It identifies the properties that the
+ * write operation will set as well as the properties that the API response will include.
+ The part
+ * names that you can include in the parameter value are snippet and contentDetails.
+ * @param Google_ChannelSection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_ChannelSection
+ */
+ public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection");
+ }
+}
+
/**
* The "channels" collection of methods.
* Typical usage is:
@@ -1490,56 +1694,64 @@ public function listGuideCategories($part, $optParams = array())
}
/**
- * The "i18nLanguage" collection of methods.
+ * The "i18nLanguages" collection of methods.
* Typical usage is:
*
* $youtubeService = new Google_Service_YouTube(...);
- * $i18nLanguage = $youtubeService->i18nLanguage;
+ * $i18nLanguages = $youtubeService->i18nLanguages;
*
*/
-class Google_Service_YouTube_I18nLanguage_Resource extends Google_Service_Resource
+class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource
{
/**
- * (i18nLanguage.listI18nLanguage)
+ * Returns a list of supported languages. (i18nLanguages.listI18nLanguages)
*
+ * @param string $part
+ * The part parameter specifies a comma-separated list of one or more i18nLanguage resource
+ * properties that the API response will include. The part names that you can include in the
+ * parameter value are id and snippet.
* @param array $optParams Optional parameters.
*
* @opt_param string hl
* The hl parameter specifies the language that should be used for text values in the API response.
* @return Google_Service_YouTube_I18nLanguageListResponse
*/
- public function listI18nLanguage($optParams = array())
+ public function listI18nLanguages($part, $optParams = array())
{
- $params = array();
+ $params = array('part' => $part);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");
}
}
/**
- * The "i18nRegion" collection of methods.
+ * The "i18nRegions" collection of methods.
* Typical usage is:
*
* $youtubeService = new Google_Service_YouTube(...);
- * $i18nRegion = $youtubeService->i18nRegion;
+ * $i18nRegions = $youtubeService->i18nRegions;
*
*/
-class Google_Service_YouTube_I18nRegion_Resource extends Google_Service_Resource
+class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource
{
/**
- * (i18nRegion.listI18nRegion)
+ * Returns a list of supported regions. (i18nRegions.listI18nRegions)
*
+ * @param string $part
+ * The part parameter specifies a comma-separated list of one or more i18nRegion resource
+ * properties that the API response will include. The part names that you can include in the
+ * parameter value are id and snippet.
* @param array $optParams Optional parameters.
*
* @opt_param string hl
* The hl parameter specifies the language that should be used for text values in the API response.
* @return Google_Service_YouTube_I18nRegionListResponse
*/
- public function listI18nRegion($optParams = array())
+ public function listI18nRegions($part, $optParams = array())
{
- $params = array();
+ $params = array('part' => $part);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse");
}
@@ -4462,6 +4674,212 @@ public function getVisitorId()
}
}
+class Google_Service_YouTube_ChannelSection extends Google_Model
+{
+ protected $contentDetailsType = 'Google_Service_YouTube_ChannelSectionContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet';
+ protected $snippetDataType = '';
+
+ public function setContentDetails(Google_Service_YouTube_ChannelSectionContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection
+{
+ public $channels;
+ public $playlists;
+
+ public function setChannels($channels)
+ {
+ $this->channels = $channels;
+ }
+
+ public function getChannels()
+ {
+ return $this->channels;
+ }
+
+ public function setPlaylists($playlists)
+ {
+ $this->playlists = $playlists;
+ }
+
+ public function getPlaylists()
+ {
+ return $this->playlists;
+ }
+}
+
+class Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection
+{
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_ChannelSection';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_ChannelSectionSnippet extends Google_Model
+{
+ public $channelId;
+ public $position;
+ public $style;
+ public $title;
+ public $type;
+
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+
+ public function getPosition()
+ {
+ return $this->position;
+ }
+
+ public function setStyle($style)
+ {
+ $this->style = $style;
+ }
+
+ public function getStyle()
+ {
+ return $this->style;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_YouTube_ChannelSettings extends Google_Collection
{
public $defaultTab;
From 848f9e0dfaeafe447fbf589fd99f6e682d20cd35 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_Shopping extends Google_Service -{ - /** View your product data. */ - const SHOPPINGAPI = "https://www.googleapis.com/auth/shoppingapi"; - - public $products; - - - /** - * Constructs the internal representation of the Shopping service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'shopping/search/v1/'; - $this->version = 'v1'; - $this->serviceName = 'shopping'; - - $this->products = new Google_Service_Shopping_Products_Resource( - $this, - $this->serviceName, - 'products', - array( - 'methods' => array( - 'get' => array( - 'path' => '{source}/products/{accountId}/{productIdType}/{productId}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'source' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'accountId' => array( - 'location' => 'path', - 'type' => 'integer', - 'required' => true, - ), - 'productIdType' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'productId' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'categories.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'recommendations.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'thumbnails' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'taxonomy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categories.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'recommendations.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categories.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'location' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'attributeFilter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'recommendations.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - ), - ),'list' => array( - 'path' => '{source}/products', - 'httpMethod' => 'GET', - 'parameters' => array( - 'source' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'facets.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categoryRecommendations.category' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'extras.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'facets.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'promotions.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'channels' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'currency' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categoryRecommendations.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'facets.discover' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'extras.info' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'startIndex' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'availability' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'crowdBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'q' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'spelling.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'taxonomy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'spelling.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'useCase' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'location' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxVariants' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'categories.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'boostBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categories.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'facets.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'categories.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'attributeFilter' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'clickTracking' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'thumbnails' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'language' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'categoryRecommendations.include' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'country' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'rankBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'restrictBy' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'facets.includeEmptyBuckets' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'redirects.enabled' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'redirects.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'categoryRecommendations.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - 'promotions.useGcsConfig' => array( - 'location' => 'query', - 'type' => 'boolean', - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "products" collection of methods. - * Typical usage is: - *
- * $shoppingService = new Google_Service_Shopping(...);
- * $products = $shoppingService->products;
- *
- */
-class Google_Service_Shopping_Products_Resource extends Google_Service_Resource
-{
-
- /**
- * Returns a single product (products.get)
- *
- * @param string $source
- * Query source
- * @param string $accountId
- * Merchant center account id
- * @param string $productIdType
- * Type of productId
- * @param string $productId
- * Id of product
- * @param array $optParams Optional parameters.
- *
- * @opt_param string categoriesInclude
- * Category specification
- * @opt_param bool recommendationsEnabled
- * Whether to return recommendation information
- * @opt_param string thumbnails
- * Thumbnail specification
- * @opt_param string taxonomy
- * Merchant taxonomy
- * @opt_param bool categoriesUseGcsConfig
- * This parameter is currently ignored
- * @opt_param string recommendationsInclude
- * Recommendation specification
- * @opt_param bool categoriesEnabled
- * Whether to return category information
- * @opt_param string location
- * Location used to determine tax and shipping
- * @opt_param string attributeFilter
- * Comma separated list of attributes to return
- * @opt_param bool recommendationsUseGcsConfig
- * This parameter is currently ignored
- * @return Google_Service_Shopping_Product
- */
- public function get($source, $accountId, $productIdType, $productId, $optParams = array())
- {
- $params = array('source' => $source, 'accountId' => $accountId, 'productIdType' => $productIdType, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Shopping_Product");
- }
- /**
- * Returns a list of products and content modules (products.listProducts)
- *
- * @param string $source
- * Query source
- * @param array $optParams Optional parameters.
- *
- * @opt_param string facetsInclude
- * Facets to include (applies when useGcsConfig == false)
- * @opt_param string categoryRecommendationsCategory
- * Category for which to retrieve recommendations
- * @opt_param bool extrasEnabled
- * Whether to return extra information.
- * @opt_param bool facetsEnabled
- * Whether to return facet information
- * @opt_param bool promotionsEnabled
- * Whether to return promotion information
- * @opt_param string channels
- * Channels specification
- * @opt_param string currency
- * Currency restriction (ISO 4217)
- * @opt_param bool categoryRecommendationsEnabled
- * Whether to return category recommendation information
- * @opt_param string facetsDiscover
- * Facets to discover
- * @opt_param string extrasInfo
- * What extra information to return.
- * @opt_param string startIndex
- * Index (1-based) of first product to return
- * @opt_param string availability
- * Comma separated list of availabilities (outOfStock, limited, inStock, backOrder, preOrder,
- * onDisplayToOrder) to return
- * @opt_param string crowdBy
- * Crowding specification
- * @opt_param string q
- * Search query
- * @opt_param bool spellingEnabled
- * Whether to return spelling suggestions
- * @opt_param string taxonomy
- * Taxonomy name
- * @opt_param bool spellingUseGcsConfig
- * This parameter is currently ignored
- * @opt_param string useCase
- * One of CommerceSearchUseCase, ShoppingApiUseCase
- * @opt_param string location
- * Location used to determine tax and shipping
- * @opt_param int maxVariants
- * Maximum number of variant results to return per result
- * @opt_param string categoriesInclude
- * Category specification
- * @opt_param string boostBy
- * Boosting specification
- * @opt_param bool categoriesUseGcsConfig
- * This parameter is currently ignored
- * @opt_param string maxResults
- * Maximum number of results to return
- * @opt_param bool facetsUseGcsConfig
- * Whether to return facet information as configured in the GCS account
- * @opt_param bool categoriesEnabled
- * Whether to return category information
- * @opt_param string attributeFilter
- * Comma separated list of attributes to return
- * @opt_param bool clickTracking
- * Whether to add a click tracking parameter to offer URLs
- * @opt_param string thumbnails
- * Image thumbnails specification
- * @opt_param string language
- * Language restriction (BCP 47)
- * @opt_param string categoryRecommendationsInclude
- * Category recommendation specification
- * @opt_param string country
- * Country restriction (ISO 3166)
- * @opt_param string rankBy
- * Ranking specification
- * @opt_param string restrictBy
- * Restriction specification
- * @opt_param bool facetsIncludeEmptyBuckets
- * Return empty facet buckets.
- * @opt_param bool redirectsEnabled
- * Whether to return redirect information
- * @opt_param bool redirectsUseGcsConfig
- * Whether to return redirect information as configured in the GCS account
- * @opt_param bool categoryRecommendationsUseGcsConfig
- * This parameter is currently ignored
- * @opt_param bool promotionsUseGcsConfig
- * Whether to return promotion information as configured in the GCS account
- * @return Google_Service_Shopping_Products
- */
- public function listProducts($source, $optParams = array())
- {
- $params = array('source' => $source);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Shopping_Products");
- }
-}
-
-
-
-
-class Google_Service_Shopping_Product extends Google_Collection
-{
- protected $categoriesType = 'Google_Service_Shopping_ShoppingModelCategoryJsonV1';
- protected $categoriesDataType = 'array';
- protected $debugType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1';
- protected $debugDataType = '';
- public $id;
- public $kind;
- protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $productDataType = '';
- protected $recommendationsType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1';
- protected $recommendationsDataType = 'array';
- public $requestId;
- public $selfLink;
-
- public function setCategories($categories)
- {
- $this->categories = $categories;
- }
-
- public function getCategories()
- {
- return $this->categories;
- }
-
- public function setDebug(Google_Service_Shopping_ShoppingModelDebugJsonV1 $debug)
- {
- $this->debug = $debug;
- }
-
- public function getDebug()
- {
- return $this->debug;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-
- public function setRecommendations($recommendations)
- {
- $this->recommendations = $recommendations;
- }
-
- public function getRecommendations()
- {
- return $this->recommendations;
- }
-
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- }
-
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-}
-
-class Google_Service_Shopping_Products extends Google_Collection
-{
- protected $categoriesType = 'Google_Service_Shopping_ShoppingModelCategoryJsonV1';
- protected $categoriesDataType = 'array';
- protected $categoryRecommendationsType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1';
- protected $categoryRecommendationsDataType = 'array';
- public $currentItemCount;
- protected $debugType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1';
- protected $debugDataType = '';
- public $etag;
- protected $extrasType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1';
- protected $extrasDataType = '';
- protected $facetsType = 'Google_Service_Shopping_ProductsFacets';
- protected $facetsDataType = 'array';
- public $id;
- protected $itemsType = 'Google_Service_Shopping_Product';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- protected $promotionsType = 'Google_Service_Shopping_ProductsPromotions';
- protected $promotionsDataType = 'array';
- public $redirects;
- public $requestId;
- public $selfLink;
- protected $spellingType = 'Google_Service_Shopping_ProductsSpelling';
- protected $spellingDataType = '';
- public $startIndex;
- protected $storesType = 'Google_Service_Shopping_ProductsStores';
- protected $storesDataType = 'array';
- public $totalItems;
-
- public function setCategories($categories)
- {
- $this->categories = $categories;
- }
-
- public function getCategories()
- {
- return $this->categories;
- }
-
- public function setCategoryRecommendations($categoryRecommendations)
- {
- $this->categoryRecommendations = $categoryRecommendations;
- }
-
- public function getCategoryRecommendations()
- {
- return $this->categoryRecommendations;
- }
-
- public function setCurrentItemCount($currentItemCount)
- {
- $this->currentItemCount = $currentItemCount;
- }
-
- public function getCurrentItemCount()
- {
- return $this->currentItemCount;
- }
-
- public function setDebug(Google_Service_Shopping_ShoppingModelDebugJsonV1 $debug)
- {
- $this->debug = $debug;
- }
-
- public function getDebug()
- {
- return $this->debug;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setExtras(Google_Service_Shopping_ShoppingModelExtrasJsonV1 $extras)
- {
- $this->extras = $extras;
- }
-
- public function getExtras()
- {
- return $this->extras;
- }
-
- public function setFacets($facets)
- {
- $this->facets = $facets;
- }
-
- public function getFacets()
- {
- return $this->facets;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setItemsPerPage($itemsPerPage)
- {
- $this->itemsPerPage = $itemsPerPage;
- }
-
- public function getItemsPerPage()
- {
- return $this->itemsPerPage;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextLink($nextLink)
- {
- $this->nextLink = $nextLink;
- }
-
- public function getNextLink()
- {
- return $this->nextLink;
- }
-
- public function setPreviousLink($previousLink)
- {
- $this->previousLink = $previousLink;
- }
-
- public function getPreviousLink()
- {
- return $this->previousLink;
- }
-
- public function setPromotions($promotions)
- {
- $this->promotions = $promotions;
- }
-
- public function getPromotions()
- {
- return $this->promotions;
- }
-
- public function setRedirects($redirects)
- {
- $this->redirects = $redirects;
- }
-
- public function getRedirects()
- {
- return $this->redirects;
- }
-
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- }
-
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setSpelling(Google_Service_Shopping_ProductsSpelling $spelling)
- {
- $this->spelling = $spelling;
- }
-
- public function getSpelling()
- {
- return $this->spelling;
- }
-
- public function setStartIndex($startIndex)
- {
- $this->startIndex = $startIndex;
- }
-
- public function getStartIndex()
- {
- return $this->startIndex;
- }
-
- public function setStores($stores)
- {
- $this->stores = $stores;
- }
-
- public function getStores()
- {
- return $this->stores;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Shopping_ProductsFacets extends Google_Collection
-{
- protected $bucketsType = 'Google_Service_Shopping_ProductsFacetsBuckets';
- protected $bucketsDataType = 'array';
- public $count;
- public $displayName;
- public $name;
- public $property;
- public $type;
- public $unit;
-
- public function setBuckets($buckets)
- {
- $this->buckets = $buckets;
- }
-
- public function getBuckets()
- {
- return $this->buckets;
- }
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProperty($property)
- {
- $this->property = $property;
- }
-
- public function getProperty()
- {
- return $this->property;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-}
-
-class Google_Service_Shopping_ProductsFacetsBuckets extends Google_Model
-{
- public $count;
- public $max;
- public $maxExclusive;
- public $min;
- public $minExclusive;
- public $value;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setMax($max)
- {
- $this->max = $max;
- }
-
- public function getMax()
- {
- return $this->max;
- }
-
- public function setMaxExclusive($maxExclusive)
- {
- $this->maxExclusive = $maxExclusive;
- }
-
- public function getMaxExclusive()
- {
- return $this->maxExclusive;
- }
-
- public function setMin($min)
- {
- $this->min = $min;
- }
-
- public function getMin()
- {
- return $this->min;
- }
-
- public function setMinExclusive($minExclusive)
- {
- $this->minExclusive = $minExclusive;
- }
-
- public function getMinExclusive()
- {
- return $this->minExclusive;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Shopping_ProductsPromotions extends Google_Collection
-{
- protected $customFieldsType = 'Google_Service_Shopping_ProductsPromotionsCustomFields';
- protected $customFieldsDataType = 'array';
- public $customHtml;
- public $description;
- public $destLink;
- public $imageLink;
- public $name;
- protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $productDataType = '';
- public $type;
-
- public function setCustomFields($customFields)
- {
- $this->customFields = $customFields;
- }
-
- public function getCustomFields()
- {
- return $this->customFields;
- }
-
- public function setCustomHtml($customHtml)
- {
- $this->customHtml = $customHtml;
- }
-
- public function getCustomHtml()
- {
- return $this->customHtml;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDestLink($destLink)
- {
- $this->destLink = $destLink;
- }
-
- public function getDestLink()
- {
- return $this->destLink;
- }
-
- public function setImageLink($imageLink)
- {
- $this->imageLink = $imageLink;
- }
-
- public function getImageLink()
- {
- return $this->imageLink;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Shopping_ProductsPromotionsCustomFields extends Google_Model
-{
- public $name;
- public $value;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Shopping_ProductsSpelling extends Google_Model
-{
- public $suggestion;
-
- public function setSuggestion($suggestion)
- {
- $this->suggestion = $suggestion;
- }
-
- public function getSuggestion()
- {
- return $this->suggestion;
- }
-}
-
-class Google_Service_Shopping_ProductsStores extends Google_Model
-{
- public $address;
- public $location;
- public $name;
- public $storeCode;
- public $storeId;
- public $storeName;
- public $telephone;
-
- public function setAddress($address)
- {
- $this->address = $address;
- }
-
- public function getAddress()
- {
- return $this->address;
- }
-
- public function setLocation($location)
- {
- $this->location = $location;
- }
-
- public function getLocation()
- {
- return $this->location;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setStoreCode($storeCode)
- {
- $this->storeCode = $storeCode;
- }
-
- public function getStoreCode()
- {
- return $this->storeCode;
- }
-
- public function setStoreId($storeId)
- {
- $this->storeId = $storeId;
- }
-
- public function getStoreId()
- {
- return $this->storeId;
- }
-
- public function setStoreName($storeName)
- {
- $this->storeName = $storeName;
- }
-
- public function getStoreName()
- {
- return $this->storeName;
- }
-
- public function setTelephone($telephone)
- {
- $this->telephone = $telephone;
- }
-
- public function getTelephone()
- {
- return $this->telephone;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelCategoryJsonV1 extends Google_Collection
-{
- public $id;
- public $parents;
- public $shortName;
- public $url;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setParents($parents)
- {
- $this->parents = $parents;
- }
-
- public function getParents()
- {
- return $this->parents;
- }
-
- public function setShortName($shortName)
- {
- $this->shortName = $shortName;
- }
-
- public function getShortName()
- {
- return $this->shortName;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelDebugJsonV1 extends Google_Collection
-{
- protected $backendTimesType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1BackendTimes';
- protected $backendTimesDataType = 'array';
- public $elapsedMillis;
- public $facetsRequest;
- public $facetsResponse;
- public $rdcResponse;
- public $recommendedItemsRequest;
- public $recommendedItemsResponse;
- public $searchRequest;
- public $searchResponse;
-
- public function setBackendTimes($backendTimes)
- {
- $this->backendTimes = $backendTimes;
- }
-
- public function getBackendTimes()
- {
- return $this->backendTimes;
- }
-
- public function setElapsedMillis($elapsedMillis)
- {
- $this->elapsedMillis = $elapsedMillis;
- }
-
- public function getElapsedMillis()
- {
- return $this->elapsedMillis;
- }
-
- public function setFacetsRequest($facetsRequest)
- {
- $this->facetsRequest = $facetsRequest;
- }
-
- public function getFacetsRequest()
- {
- return $this->facetsRequest;
- }
-
- public function setFacetsResponse($facetsResponse)
- {
- $this->facetsResponse = $facetsResponse;
- }
-
- public function getFacetsResponse()
- {
- return $this->facetsResponse;
- }
-
- public function setRdcResponse($rdcResponse)
- {
- $this->rdcResponse = $rdcResponse;
- }
-
- public function getRdcResponse()
- {
- return $this->rdcResponse;
- }
-
- public function setRecommendedItemsRequest($recommendedItemsRequest)
- {
- $this->recommendedItemsRequest = $recommendedItemsRequest;
- }
-
- public function getRecommendedItemsRequest()
- {
- return $this->recommendedItemsRequest;
- }
-
- public function setRecommendedItemsResponse($recommendedItemsResponse)
- {
- $this->recommendedItemsResponse = $recommendedItemsResponse;
- }
-
- public function getRecommendedItemsResponse()
- {
- return $this->recommendedItemsResponse;
- }
-
- public function setSearchRequest($searchRequest)
- {
- $this->searchRequest = $searchRequest;
- }
-
- public function getSearchRequest()
- {
- return $this->searchRequest;
- }
-
- public function setSearchResponse($searchResponse)
- {
- $this->searchResponse = $searchResponse;
- }
-
- public function getSearchResponse()
- {
- return $this->searchResponse;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelDebugJsonV1BackendTimes extends Google_Model
-{
- public $elapsedMillis;
- public $hostName;
- public $name;
- public $serverMillis;
-
- public function setElapsedMillis($elapsedMillis)
- {
- $this->elapsedMillis = $elapsedMillis;
- }
-
- public function getElapsedMillis()
- {
- return $this->elapsedMillis;
- }
-
- public function setHostName($hostName)
- {
- $this->hostName = $hostName;
- }
-
- public function getHostName()
- {
- return $this->hostName;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setServerMillis($serverMillis)
- {
- $this->serverMillis = $serverMillis;
- }
-
- public function getServerMillis()
- {
- return $this->serverMillis;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelExtrasJsonV1 extends Google_Collection
-{
- protected $facetRulesType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1FacetRules';
- protected $facetRulesDataType = 'array';
- protected $rankingRulesType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1RankingRules';
- protected $rankingRulesDataType = 'array';
-
- public function setFacetRules($facetRules)
- {
- $this->facetRules = $facetRules;
- }
-
- public function getFacetRules()
- {
- return $this->facetRules;
- }
-
- public function setRankingRules($rankingRules)
- {
- $this->rankingRules = $rankingRules;
- }
-
- public function getRankingRules()
- {
- return $this->rankingRules;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelExtrasJsonV1FacetRules extends Google_Model
-{
- public $name;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelExtrasJsonV1RankingRules extends Google_Model
-{
- public $name;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1 extends Google_Collection
-{
- protected $attributesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Attributes';
- protected $attributesDataType = 'array';
- protected $authorType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Author';
- protected $authorDataType = '';
- public $brand;
- public $categories;
- public $condition;
- public $country;
- public $creationTime;
- public $description;
- public $googleId;
- public $gtin;
- public $gtins;
- protected $imagesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Images';
- protected $imagesDataType = 'array';
- protected $internal16Type = 'Google_Service_Shopping_ShoppingModelProductJsonV1Internal16';
- protected $internal16DataType = '';
- protected $inventoriesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Inventories';
- protected $inventoriesDataType = 'array';
- public $language;
- public $link;
- public $modificationTime;
- public $mpns;
- public $providedId;
- public $queryMatched;
- public $score;
- public $title;
- public $totalMatchingVariants;
- protected $variantsType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Variants';
- protected $variantsDataType = 'array';
-
- public function setAttributes($attributes)
- {
- $this->attributes = $attributes;
- }
-
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- public function setAuthor(Google_Service_Shopping_ShoppingModelProductJsonV1Author $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBrand($brand)
- {
- $this->brand = $brand;
- }
-
- public function getBrand()
- {
- return $this->brand;
- }
-
- public function setCategories($categories)
- {
- $this->categories = $categories;
- }
-
- public function getCategories()
- {
- return $this->categories;
- }
-
- public function setCondition($condition)
- {
- $this->condition = $condition;
- }
-
- public function getCondition()
- {
- return $this->condition;
- }
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setGoogleId($googleId)
- {
- $this->googleId = $googleId;
- }
-
- public function getGoogleId()
- {
- return $this->googleId;
- }
-
- public function setGtin($gtin)
- {
- $this->gtin = $gtin;
- }
-
- public function getGtin()
- {
- return $this->gtin;
- }
-
- public function setGtins($gtins)
- {
- $this->gtins = $gtins;
- }
-
- public function getGtins()
- {
- return $this->gtins;
- }
-
- public function setImages($images)
- {
- $this->images = $images;
- }
-
- public function getImages()
- {
- return $this->images;
- }
-
- public function setInternal16(Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 $internal16)
- {
- $this->internal16 = $internal16;
- }
-
- public function getInternal16()
- {
- return $this->internal16;
- }
-
- public function setInventories($inventories)
- {
- $this->inventories = $inventories;
- }
-
- public function getInventories()
- {
- return $this->inventories;
- }
-
- public function setLanguage($language)
- {
- $this->language = $language;
- }
-
- public function getLanguage()
- {
- return $this->language;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setModificationTime($modificationTime)
- {
- $this->modificationTime = $modificationTime;
- }
-
- public function getModificationTime()
- {
- return $this->modificationTime;
- }
-
- public function setMpns($mpns)
- {
- $this->mpns = $mpns;
- }
-
- public function getMpns()
- {
- return $this->mpns;
- }
-
- public function setProvidedId($providedId)
- {
- $this->providedId = $providedId;
- }
-
- public function getProvidedId()
- {
- return $this->providedId;
- }
-
- public function setQueryMatched($queryMatched)
- {
- $this->queryMatched = $queryMatched;
- }
-
- public function getQueryMatched()
- {
- return $this->queryMatched;
- }
-
- public function setScore($score)
- {
- $this->score = $score;
- }
-
- public function getScore()
- {
- return $this->score;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setTotalMatchingVariants($totalMatchingVariants)
- {
- $this->totalMatchingVariants = $totalMatchingVariants;
- }
-
- public function getTotalMatchingVariants()
- {
- return $this->totalMatchingVariants;
- }
-
- public function setVariants($variants)
- {
- $this->variants = $variants;
- }
-
- public function getVariants()
- {
- return $this->variants;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Attributes extends Google_Model
-{
- public $displayName;
- public $name;
- public $type;
- public $unit;
- public $value;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Author extends Google_Model
-{
- public $accountId;
- public $name;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Images extends Google_Collection
-{
- public $link;
- public $status;
- protected $thumbnailsType = 'Google_Service_Shopping_ShoppingModelProductJsonV1ImagesThumbnails';
- protected $thumbnailsDataType = 'array';
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setThumbnails($thumbnails)
- {
- $this->thumbnails = $thumbnails;
- }
-
- public function getThumbnails()
- {
- return $this->thumbnails;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1ImagesThumbnails extends Google_Model
-{
- public $content;
- public $height;
- public $link;
- public $width;
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setHeight($height)
- {
- $this->height = $height;
- }
-
- public function getHeight()
- {
- return $this->height;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 extends Google_Model
-{
- public $length;
- public $number;
- public $size;
-
- public function setLength($length)
- {
- $this->length = $length;
- }
-
- public function getLength()
- {
- return $this->length;
- }
-
- public function setNumber($number)
- {
- $this->number = $number;
- }
-
- public function getNumber()
- {
- return $this->number;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Inventories extends Google_Model
-{
- public $availability;
- public $channel;
- public $currency;
- public $distance;
- public $distanceUnit;
- public $installmentMonths;
- public $installmentPrice;
- public $originalPrice;
- public $price;
- public $saleEndDate;
- public $salePrice;
- public $saleStartDate;
- public $shipping;
- public $storeId;
- public $tax;
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setChannel($channel)
- {
- $this->channel = $channel;
- }
-
- public function getChannel()
- {
- return $this->channel;
- }
-
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- }
-
- public function getCurrency()
- {
- return $this->currency;
- }
-
- public function setDistance($distance)
- {
- $this->distance = $distance;
- }
-
- public function getDistance()
- {
- return $this->distance;
- }
-
- public function setDistanceUnit($distanceUnit)
- {
- $this->distanceUnit = $distanceUnit;
- }
-
- public function getDistanceUnit()
- {
- return $this->distanceUnit;
- }
-
- public function setInstallmentMonths($installmentMonths)
- {
- $this->installmentMonths = $installmentMonths;
- }
-
- public function getInstallmentMonths()
- {
- return $this->installmentMonths;
- }
-
- public function setInstallmentPrice($installmentPrice)
- {
- $this->installmentPrice = $installmentPrice;
- }
-
- public function getInstallmentPrice()
- {
- return $this->installmentPrice;
- }
-
- public function setOriginalPrice($originalPrice)
- {
- $this->originalPrice = $originalPrice;
- }
-
- public function getOriginalPrice()
- {
- return $this->originalPrice;
- }
-
- public function setPrice($price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setSaleEndDate($saleEndDate)
- {
- $this->saleEndDate = $saleEndDate;
- }
-
- public function getSaleEndDate()
- {
- return $this->saleEndDate;
- }
-
- public function setSalePrice($salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSaleStartDate($saleStartDate)
- {
- $this->saleStartDate = $saleStartDate;
- }
-
- public function getSaleStartDate()
- {
- return $this->saleStartDate;
- }
-
- public function setShipping($shipping)
- {
- $this->shipping = $shipping;
- }
-
- public function getShipping()
- {
- return $this->shipping;
- }
-
- public function setStoreId($storeId)
- {
- $this->storeId = $storeId;
- }
-
- public function getStoreId()
- {
- return $this->storeId;
- }
-
- public function setTax($tax)
- {
- $this->tax = $tax;
- }
-
- public function getTax()
- {
- return $this->tax;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelProductJsonV1Variants extends Google_Model
-{
- protected $variantType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $variantDataType = '';
-
- public function setVariant(Google_Service_Shopping_ShoppingModelProductJsonV1 $variant)
- {
- $this->variant = $variant;
- }
-
- public function getVariant()
- {
- return $this->variant;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelRecommendationsJsonV1 extends Google_Collection
-{
- protected $recommendationListType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1RecommendationList';
- protected $recommendationListDataType = 'array';
- public $type;
-
- public function setRecommendationList($recommendationList)
- {
- $this->recommendationList = $recommendationList;
- }
-
- public function getRecommendationList()
- {
- return $this->recommendationList;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Shopping_ShoppingModelRecommendationsJsonV1RecommendationList extends Google_Model
-{
- protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
- protected $productDataType = '';
-
- public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-}
From ee997168440ebdd4c88a3dc5d789dabde70c282d Mon Sep 17 00:00:00 2001
From: Mat Scales
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $flags = $sqladminService->flags;
+ *
+ */
+class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List all available database flags for Google Cloud SQL instances.
+ * (flags.listFlags)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_FlagsListResponse
+ */
+ public function listFlags($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
+ }
+}
+
/**
* The "instances" collection of methods.
* Typical usage is:
@@ -545,6 +596,22 @@ public function listBackupRuns($project, $instance, $backupConfiguration, $optPa
class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
{
+ /**
+ * Creates a Cloud SQL instance as a clone of the source instance.
+ * (instances.cloneInstances)
+ *
+ * @param string $project
+ * Project ID of the source as well as the clone Cloud SQL instance.
+ * @param Google_InstancesCloneRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_InstancesCloneResponse
+ */
+ public function cloneInstances($project, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clone', array($params), "Google_Service_SQLAdmin_InstancesCloneResponse");
+ }
/**
* Deletes a Cloud SQL instance. (instances.delete)
*
@@ -1138,6 +1205,118 @@ public function getNextPageToken()
}
}
+class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
+{
+ public $binLogFileName;
+ public $binLogPosition;
+ public $kind;
+
+ public function setBinLogFileName($binLogFileName)
+ {
+ $this->binLogFileName = $binLogFileName;
+ }
+
+ public function getBinLogFileName()
+ {
+ return $this->binLogFileName;
+ }
+
+ public function setBinLogPosition($binLogPosition)
+ {
+ $this->binLogPosition = $binLogPosition;
+ }
+
+ public function getBinLogPosition()
+ {
+ return $this->binLogPosition;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_CloneContext extends Google_Model
+{
+ protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
+ protected $binLogCoordinatesDataType = '';
+ public $destinationInstanceName;
+ public $kind;
+ public $sourceInstanceName;
+
+ public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
+ {
+ $this->binLogCoordinates = $binLogCoordinates;
+ }
+
+ public function getBinLogCoordinates()
+ {
+ return $this->binLogCoordinates;
+ }
+
+ public function setDestinationInstanceName($destinationInstanceName)
+ {
+ $this->destinationInstanceName = $destinationInstanceName;
+ }
+
+ public function getDestinationInstanceName()
+ {
+ return $this->destinationInstanceName;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSourceInstanceName($sourceInstanceName)
+ {
+ $this->sourceInstanceName = $sourceInstanceName;
+ }
+
+ public function getSourceInstanceName()
+ {
+ return $this->sourceInstanceName;
+ }
+}
+
+class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
+{
+ public $name;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
{
public $currentDiskSize;
@@ -1325,6 +1504,114 @@ public function getUri()
}
}
+class Google_Service_SQLAdmin_Flag extends Google_Collection
+{
+ public $allowedStringValues;
+ public $appliesTo;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ public $type;
+
+ public function setAllowedStringValues($allowedStringValues)
+ {
+ $this->allowedStringValues = $allowedStringValues;
+ }
+
+ public function getAllowedStringValues()
+ {
+ return $this->allowedStringValues;
+ }
+
+ public function setAppliesTo($appliesTo)
+ {
+ $this->appliesTo = $appliesTo;
+ }
+
+ public function getAppliesTo()
+ {
+ return $this->appliesTo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMaxValue($maxValue)
+ {
+ $this->maxValue = $maxValue;
+ }
+
+ public function getMaxValue()
+ {
+ return $this->maxValue;
+ }
+
+ public function setMinValue($minValue)
+ {
+ $this->minValue = $minValue;
+ }
+
+ public function getMinValue()
+ {
+ return $this->minValue;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_SQLAdmin_Flag';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_SQLAdmin_ImportContext extends Google_Collection
{
public $database;
@@ -1517,6 +1804,48 @@ public function getSetRootPasswordContext()
}
}
+class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
+{
+ protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
+ protected $cloneContextDataType = '';
+
+ public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
+ {
+ $this->cloneContext = $cloneContext;
+ }
+
+ public function getCloneContext()
+ {
+ return $this->cloneContext;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesCloneResponse extends Google_Model
+{
+ public $kind;
+ public $operation;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
class Google_Service_SQLAdmin_InstancesDeleteResponse extends Google_Model
{
public $kind;
@@ -2017,6 +2346,8 @@ class Google_Service_SQLAdmin_Settings extends Google_Collection
public $authorizedGaeApplications;
protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
protected $backupConfigurationDataType = 'array';
+ protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
+ protected $databaseFlagsDataType = 'array';
protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
protected $ipConfigurationDataType = '';
public $kind;
@@ -2057,6 +2388,16 @@ public function getBackupConfiguration()
return $this->backupConfiguration;
}
+ public function setDatabaseFlags($databaseFlags)
+ {
+ $this->databaseFlags = $databaseFlags;
+ }
+
+ public function getDatabaseFlags()
+ {
+ return $this->databaseFlags;
+ }
+
public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
{
$this->ipConfiguration = $ipConfiguration;
From 8d624668d270dfeebe50d48c8ed0be2eaa7329da Mon Sep 17 00:00:00 2001
From: David Anderson
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $accounts = $mirrorService->accounts;
+ *
+ */
+class Google_Service_Mirror_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Inserts a new account for a user (accounts.insert)
+ *
+ * @param string $userToken
+ * The ID for the user.
+ * @param string $accountType
+ * Account type to be passed to Android Account Manager.
+ * @param string $accountName
+ * The name of the account to be passed to the Android Account Manager.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Account
+ */
+ public function insert($userToken, $accountType, $accountName, Google_Service_Mirror_Account $postBody, $optParams = array())
+ {
+ $params = array('userToken' => $userToken, 'accountType' => $accountType, 'accountName' => $accountName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Mirror_Account");
+ }
+}
+
/**
* The "contacts" collection of methods.
* Typical usage is:
@@ -718,6 +781,56 @@ public function listTimelineAttachments($itemId, $optParams = array())
+class Google_Service_Mirror_Account extends Google_Collection
+{
+ protected $authTokensType = 'Google_Service_Mirror_AuthToken';
+ protected $authTokensDataType = 'array';
+ public $features;
+ public $password;
+ protected $userDataType = 'Google_Service_Mirror_UserData';
+ protected $userDataDataType = 'array';
+
+ public function setAuthTokens($authTokens)
+ {
+ $this->authTokens = $authTokens;
+ }
+
+ public function getAuthTokens()
+ {
+ return $this->authTokens;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ public function setUserData($userData)
+ {
+ $this->userData = $userData;
+ }
+
+ public function getUserData()
+ {
+ return $this->userData;
+ }
+}
+
class Google_Service_Mirror_Attachment extends Google_Model
{
public $contentType;
@@ -793,6 +906,32 @@ public function getKind()
}
}
+class Google_Service_Mirror_AuthToken extends Google_Model
+{
+ public $authToken;
+ public $type;
+
+ public function setAuthToken($authToken)
+ {
+ $this->authToken = $authToken;
+ }
+
+ public function getAuthToken()
+ {
+ return $this->authToken;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Mirror_Command extends Google_Model
{
public $type;
@@ -1775,3 +1914,29 @@ public function getType()
return $this->type;
}
}
+
+class Google_Service_Mirror_UserData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From 9ee1980689c5447cdd761fdd3b88f01d62691c1c Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $doubleclicksearchService = new Google_Service_Doubleclicksearch(...);
+ * $savedColumns = $doubleclicksearchService->savedColumns;
+ *
+ */
+class Google_Service_Doubleclicksearch_SavedColumns_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve the list of saved columns for a specified advertiser.
+ * (savedColumns.listSavedColumns)
+ *
+ * @param string $agencyId
+ * DS ID of the agency.
+ * @param string $advertiserId
+ * DS ID of the advertiser.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Doubleclicksearch_SavedColumnList
+ */
+ public function listSavedColumns($agencyId, $advertiserId, $optParams = array())
+ {
+ $params = array('agencyId' => $agencyId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Doubleclicksearch_SavedColumnList");
+ }
+}
+
@@ -1422,6 +1478,70 @@ public function getStartDate()
}
}
+class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
+{
+ public $kind;
+ public $savedColumnName;
+ public $type;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setSavedColumnName($savedColumnName)
+ {
+ $this->savedColumnName = $savedColumnName;
+ }
+
+ public function getSavedColumnName()
+ {
+ return $this->savedColumnName;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
{
protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
From 8cf9cece302a546c023165bb587c085ef6edd7e1 Mon Sep 17 00:00:00 2001
From: Sarah Simmonds
+ * $booksService = new Google_Service_Books(...);
+ * $promooffer = $booksService->promooffer;
+ *
+ */
+class Google_Service_Books_Promooffer_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (promooffer.accept)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product
+ * device product
+ * @opt_param string offer_id
+ *
+ * @opt_param string volume_id
+ * Volume id to exercise the offer
+ * @opt_param string device
+ * device device
+ * @opt_param string model
+ * device model
+ * @opt_param string serial
+ * device serial
+ * @opt_param string manufacturer
+ * device manufacturer
+ */
+ public function accept($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params));
+ }
+ /**
+ * (promooffer.dismiss)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string product
+ * device product
+ * @opt_param string offer_id
+ * Offer to dimiss
+ * @opt_param string device
+ * device device
+ * @opt_param string model
+ * device model
+ * @opt_param string serial
+ * device serial
+ * @opt_param string manufacturer
+ * device manufacturer
+ */
+ public function dismiss($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('dismiss', array($params));
+ }
+ /**
+ * Returns a list of promo offers available to the user (promooffer.get)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string device
+ * device device
+ * @opt_param string model
+ * device model
+ * @opt_param string product
+ * device product
+ * @opt_param string serial
+ * device serial
+ * @opt_param string manufacturer
+ * device manufacturer
+ * @return Google_Service_Books_Offers
+ */
+ public function get($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Books_Offers");
+ }
+}
+
/**
* The "volumes" collection of methods.
* Typical usage is:
@@ -4512,6 +4696,141 @@ public function getVolumeId()
}
}
+class Google_Service_Books_Offers extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Books_OffersItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Books_OffersItems extends Google_Collection
+{
+ public $artUrl;
+ public $id;
+ protected $itemsType = 'Google_Service_Books_OffersItemsItems';
+ protected $itemsDataType = 'array';
+
+ public function setArtUrl($artUrl)
+ {
+ $this->artUrl = $artUrl;
+ }
+
+ public function getArtUrl()
+ {
+ return $this->artUrl;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Books_OffersItemsItems extends Google_Model
+{
+ public $author;
+ public $canonicalVolumeLink;
+ public $coverUrl;
+ public $description;
+ public $title;
+ public $volumeId;
+
+ public function setAuthor($author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setCanonicalVolumeLink($canonicalVolumeLink)
+ {
+ $this->canonicalVolumeLink = $canonicalVolumeLink;
+ }
+
+ public function getCanonicalVolumeLink()
+ {
+ return $this->canonicalVolumeLink;
+ }
+
+ public function setCoverUrl($coverUrl)
+ {
+ $this->coverUrl = $coverUrl;
+ }
+
+ public function getCoverUrl()
+ {
+ return $this->coverUrl;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setVolumeId($volumeId)
+ {
+ $this->volumeId = $volumeId;
+ }
+
+ public function getVolumeId()
+ {
+ return $this->volumeId;
+ }
+}
+
class Google_Service_Books_ReadingPosition extends Google_Model
{
public $epubCfiPosition;
@@ -5758,6 +6077,7 @@ class Google_Service_Books_VolumeVolumeInfo extends Google_Collection
public $publishedDate;
public $publisher;
public $ratingsCount;
+ public $readingModes;
public $subtitle;
public $title;
@@ -5951,6 +6271,16 @@ public function getRatingsCount()
return $this->ratingsCount;
}
+ public function setReadingModes($readingModes)
+ {
+ $this->readingModes = $readingModes;
+ }
+
+ public function getReadingModes()
+ {
+ return $this->readingModes;
+ }
+
public function setSubtitle($subtitle)
{
$this->subtitle = $subtitle;
From 4ccde748b624e1afa6376a25add76559e2d5eac8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Replicapool extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + /** View and manage replica pools. */ + const REPLICAPOOL = "https://www.googleapis.com/auth/replicapool"; + /** View replica pools. */ + const REPLICAPOOL_READONLY = "https://www.googleapis.com/auth/replicapool.readonly"; + + public $pools; + public $replicas; + + + /** + * Constructs the internal representation of the Replicapool service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'replicapool/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'replicapool'; + + $this->pools = new Google_Service_Replicapool_Pools_Resource( + $this, + $this->serviceName, + 'pools', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectName}/zones/{zone}/pools', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/zones/{zone}/pools', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'resize' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/resize', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'numReplicas' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'updatetemplate' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/updateTemplate', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->replicas = new Google_Service_Replicapool_Replicas_Resource( + $this, + $this->serviceName, + 'replicas', + array( + 'methods' => array( + 'get' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replicaName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'restart' => array( + 'path' => '{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'poolName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'replicaName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "pools" collection of methods. + * Typical usage is: + *
+ * $replicapoolService = new Google_Service_Replicapool(...);
+ * $pools = $replicapoolService->pools;
+ *
+ */
+class Google_Service_Replicapool_Pools_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a replica pool. (pools.delete)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool to delete.
+ * @param Google_PoolsDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectName, $zone, $poolName, Google_Service_Replicapool_PoolsDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets information about a single replica pool. (pools.get)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool for which you want to get more information.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Pool
+ */
+ public function get($projectName, $zone, $poolName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Replicapool_Pool");
+ }
+ /**
+ * Inserts a new replica pool. (pools.insert)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param Google_Pool $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Pool
+ */
+ public function insert($projectName, $zone, Google_Service_Replicapool_Pool $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Replicapool_Pool");
+ }
+ /**
+ * List all replica pools. (pools.listPools)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Replicapool_PoolsListResponse
+ */
+ public function listPools($projectName, $zone, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Replicapool_PoolsListResponse");
+ }
+ /**
+ * Resize a pool. (pools.resize)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool to resize.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int numReplicas
+ * The desired number of replicas to resize to. If this number is larger than the existing number
+ * of replicas, new replicas will be added. If the number is smaller, then existing replicas will
+ * be deleted.
+ This is an asynchronous operation, and multiple overlapping resize requests can be
+ * made. Replica Pools will use the information from the last resize request.
+ * @return Google_Service_Replicapool_Pool
+ */
+ public function resize($projectName, $zone, $poolName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
+ $params = array_merge($params, $optParams);
+ return $this->call('resize', array($params), "Google_Service_Replicapool_Pool");
+ }
+ /**
+ * Update the template used by the pool. (pools.updatetemplate)
+ *
+ * @param string $projectName
+ * The project ID for this replica pool.
+ * @param string $zone
+ * The zone for this replica pool.
+ * @param string $poolName
+ * The name of the replica pool to update.
+ * @param Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function updatetemplate($projectName, $zone, $poolName, Google_Service_Replicapool_Template $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatetemplate', array($params));
+ }
+}
+
+/**
+ * The "replicas" collection of methods.
+ * Typical usage is:
+ *
+ * $replicapoolService = new Google_Service_Replicapool(...);
+ * $replicas = $replicapoolService->replicas;
+ *
+ */
+class Google_Service_Replicapool_Replicas_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a specific replica. (replicas.get)
+ *
+ * @param string $projectName
+ * The name of project ID for this request.
+ * @param string $zone
+ * The zone where the replica lives.
+ * @param string $poolName
+ * The replica pool name for this request.
+ * @param string $replicaName
+ * The name of the replica for which you want to get more information.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapool_Replica
+ */
+ public function get($projectName, $zone, $poolName, $replicaName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Replicapool_Replica");
+ }
+ /**
+ * Lists all replicas in a pool. (replicas.listReplicas)
+ *
+ * @param string $projectName
+ * The name of project ID for this request.
+ * @param string $zone
+ * The zone where the replica lives.
+ * @param string $poolName
+ * The replica pool name for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Replicapool_ReplicasListResponse
+ */
+ public function listReplicas($projectName, $zone, $poolName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Replicapool_ReplicasListResponse");
+ }
+ /**
+ * Restarts a replica in a pool. (replicas.restart)
+ *
+ * @param string $projectName
+ * The name of project ID for this request.
+ * @param string $zone
+ * The zone where the replica lives.
+ * @param string $poolName
+ * The replica pool name for this request.
+ * @param string $replicaName
+ * The name of the replica to restart in the pool.
+ * @param array $optParams Optional parameters.
+ */
+ public function restart($projectName, $zone, $poolName, $replicaName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'poolName' => $poolName, 'replicaName' => $replicaName);
+ $params = array_merge($params, $optParams);
+ return $this->call('restart', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Replicapool_AccessConfig extends Google_Model
+{
+ public $name;
+ public $natIp;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNatIp($natIp)
+ {
+ $this->natIp = $natIp;
+ }
+
+ public function getNatIp()
+ {
+ return $this->natIp;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Replicapool_Action extends Google_Collection
+{
+ public $commands;
+ protected $envVariablesType = 'Google_Service_Replicapool_EnvVariable';
+ protected $envVariablesDataType = 'array';
+ public $timeoutMilliSeconds;
+
+ public function setCommands($commands)
+ {
+ $this->commands = $commands;
+ }
+
+ public function getCommands()
+ {
+ return $this->commands;
+ }
+
+ public function setEnvVariables($envVariables)
+ {
+ $this->envVariables = $envVariables;
+ }
+
+ public function getEnvVariables()
+ {
+ return $this->envVariables;
+ }
+
+ public function setTimeoutMilliSeconds($timeoutMilliSeconds)
+ {
+ $this->timeoutMilliSeconds = $timeoutMilliSeconds;
+ }
+
+ public function getTimeoutMilliSeconds()
+ {
+ return $this->timeoutMilliSeconds;
+ }
+}
+
+class Google_Service_Replicapool_DiskAttachment extends Google_Model
+{
+ public $deviceName;
+ public $index;
+
+ public function setDeviceName($deviceName)
+ {
+ $this->deviceName = $deviceName;
+ }
+
+ public function getDeviceName()
+ {
+ return $this->deviceName;
+ }
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+
+ public function getIndex()
+ {
+ return $this->index;
+ }
+}
+
+class Google_Service_Replicapool_EnvVariable extends Google_Model
+{
+ public $hidden;
+ public $name;
+ public $value;
+
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Replicapool_ExistingDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Replicapool_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $source;
+
+ public function setAttachment(Google_Service_Replicapool_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Replicapool_HealthCheck extends Google_Model
+{
+ public $checkIntervalSec;
+ public $description;
+ public $healthyThreshold;
+ public $host;
+ public $name;
+ public $path;
+ public $port;
+ public $timeoutSec;
+ public $unhealthyThreshold;
+
+ public function setCheckIntervalSec($checkIntervalSec)
+ {
+ $this->checkIntervalSec = $checkIntervalSec;
+ }
+
+ public function getCheckIntervalSec()
+ {
+ return $this->checkIntervalSec;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthyThreshold($healthyThreshold)
+ {
+ $this->healthyThreshold = $healthyThreshold;
+ }
+
+ public function getHealthyThreshold()
+ {
+ return $this->healthyThreshold;
+ }
+
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+
+ public function getHost()
+ {
+ return $this->host;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Google_Service_Replicapool_Label extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Replicapool_Metadata extends Google_Collection
+{
+ public $fingerPrint;
+ protected $itemsType = 'Google_Service_Replicapool_MetadataItem';
+ protected $itemsDataType = 'array';
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Replicapool_MetadataItem extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Replicapool_NetworkInterface extends Google_Collection
+{
+ protected $accessConfigsType = 'Google_Service_Replicapool_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $network;
+ public $networkIp;
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ public function setNetworkIp($networkIp)
+ {
+ $this->networkIp = $networkIp;
+ }
+
+ public function getNetworkIp()
+ {
+ return $this->networkIp;
+ }
+}
+
+class Google_Service_Replicapool_NewDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Replicapool_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $autoDelete;
+ public $boot;
+ protected $initializeParamsType = 'Google_Service_Replicapool_NewDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+
+ public function setAttachment(Google_Service_Replicapool_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setAutoDelete($autoDelete)
+ {
+ $this->autoDelete = $autoDelete;
+ }
+
+ public function getAutoDelete()
+ {
+ return $this->autoDelete;
+ }
+
+ public function setBoot($boot)
+ {
+ $this->boot = $boot;
+ }
+
+ public function getBoot()
+ {
+ return $this->boot;
+ }
+
+ public function setInitializeParams(Google_Service_Replicapool_NewDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+}
+
+class Google_Service_Replicapool_NewDiskInitializeParams extends Google_Model
+{
+ public $diskSizeGb;
+ public $sourceImage;
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Google_Service_Replicapool_Pool extends Google_Collection
+{
+ public $autoRestart;
+ public $baseInstanceName;
+ public $currentNumReplicas;
+ public $description;
+ protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
+ protected $healthChecksDataType = 'array';
+ public $initialNumReplicas;
+ protected $labelsType = 'Google_Service_Replicapool_Label';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $numReplicas;
+ public $resourceViews;
+ public $selfLink;
+ public $targetPool;
+ public $targetPools;
+ protected $templateType = 'Google_Service_Replicapool_Template';
+ protected $templateDataType = '';
+ public $type;
+
+ public function setAutoRestart($autoRestart)
+ {
+ $this->autoRestart = $autoRestart;
+ }
+
+ public function getAutoRestart()
+ {
+ return $this->autoRestart;
+ }
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+
+ public function setCurrentNumReplicas($currentNumReplicas)
+ {
+ $this->currentNumReplicas = $currentNumReplicas;
+ }
+
+ public function getCurrentNumReplicas()
+ {
+ return $this->currentNumReplicas;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setInitialNumReplicas($initialNumReplicas)
+ {
+ $this->initialNumReplicas = $initialNumReplicas;
+ }
+
+ public function getInitialNumReplicas()
+ {
+ return $this->initialNumReplicas;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNumReplicas($numReplicas)
+ {
+ $this->numReplicas = $numReplicas;
+ }
+
+ public function getNumReplicas()
+ {
+ return $this->numReplicas;
+ }
+
+ public function setResourceViews($resourceViews)
+ {
+ $this->resourceViews = $resourceViews;
+ }
+
+ public function getResourceViews()
+ {
+ return $this->resourceViews;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTargetPool($targetPool)
+ {
+ $this->targetPool = $targetPool;
+ }
+
+ public function getTargetPool()
+ {
+ return $this->targetPool;
+ }
+
+ public function setTargetPools($targetPools)
+ {
+ $this->targetPools = $targetPools;
+ }
+
+ public function getTargetPools()
+ {
+ return $this->targetPools;
+ }
+
+ public function setTemplate(Google_Service_Replicapool_Template $template)
+ {
+ $this->template = $template;
+ }
+
+ public function getTemplate()
+ {
+ return $this->template;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Replicapool_PoolsDeleteRequest extends Google_Collection
+{
+ public $abandonInstances;
+
+ public function setAbandonInstances($abandonInstances)
+ {
+ $this->abandonInstances = $abandonInstances;
+ }
+
+ public function getAbandonInstances()
+ {
+ return $this->abandonInstances;
+ }
+}
+
+class Google_Service_Replicapool_PoolsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Replicapool_Pool';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Replicapool_Replica extends Google_Model
+{
+ public $name;
+ public $selfLink;
+ protected $statusType = 'Google_Service_Replicapool_ReplicaStatus';
+ protected $statusDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus(Google_Service_Replicapool_ReplicaStatus $status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Replicapool_ReplicaStatus extends Google_Model
+{
+ public $details;
+ public $state;
+ public $templateVersion;
+ public $vmLink;
+ public $vmStartTime;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+
+ public function getDetails()
+ {
+ return $this->details;
+ }
+
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function setTemplateVersion($templateVersion)
+ {
+ $this->templateVersion = $templateVersion;
+ }
+
+ public function getTemplateVersion()
+ {
+ return $this->templateVersion;
+ }
+
+ public function setVmLink($vmLink)
+ {
+ $this->vmLink = $vmLink;
+ }
+
+ public function getVmLink()
+ {
+ return $this->vmLink;
+ }
+
+ public function setVmStartTime($vmStartTime)
+ {
+ $this->vmStartTime = $vmStartTime;
+ }
+
+ public function getVmStartTime()
+ {
+ return $this->vmStartTime;
+ }
+}
+
+class Google_Service_Replicapool_ReplicasListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Replicapool_Replica';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Replicapool_ServiceAccount extends Google_Collection
+{
+ public $email;
+ public $scopes;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+
+ public function getEmail()
+ {
+ return $this->email;
+ }
+
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+}
+
+class Google_Service_Replicapool_Tag extends Google_Collection
+{
+ public $fingerPrint;
+ public $items;
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Replicapool_Template extends Google_Collection
+{
+ protected $actionType = 'Google_Service_Replicapool_Action';
+ protected $actionDataType = '';
+ protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
+ protected $healthChecksDataType = 'array';
+ public $version;
+ protected $vmParamsType = 'Google_Service_Replicapool_VmParams';
+ protected $vmParamsDataType = '';
+
+ public function setAction(Google_Service_Replicapool_Action $action)
+ {
+ $this->action = $action;
+ }
+
+ public function getAction()
+ {
+ return $this->action;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ public function setVmParams(Google_Service_Replicapool_VmParams $vmParams)
+ {
+ $this->vmParams = $vmParams;
+ }
+
+ public function getVmParams()
+ {
+ return $this->vmParams;
+ }
+}
+
+class Google_Service_Replicapool_VmParams extends Google_Collection
+{
+ public $baseInstanceName;
+ public $canIpForward;
+ public $description;
+ protected $disksToAttachType = 'Google_Service_Replicapool_ExistingDisk';
+ protected $disksToAttachDataType = 'array';
+ protected $disksToCreateType = 'Google_Service_Replicapool_NewDisk';
+ protected $disksToCreateDataType = 'array';
+ public $machineType;
+ protected $metadataType = 'Google_Service_Replicapool_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Replicapool_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ public $onHostMaintenance;
+ protected $serviceAccountsType = 'Google_Service_Replicapool_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = 'Google_Service_Replicapool_Tag';
+ protected $tagsDataType = '';
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDisksToAttach($disksToAttach)
+ {
+ $this->disksToAttach = $disksToAttach;
+ }
+
+ public function getDisksToAttach()
+ {
+ return $this->disksToAttach;
+ }
+
+ public function setDisksToCreate($disksToCreate)
+ {
+ $this->disksToCreate = $disksToCreate;
+ }
+
+ public function getDisksToCreate()
+ {
+ return $this->disksToCreate;
+ }
+
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+
+ public function setMetadata(Google_Service_Replicapool_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+
+ public function setTags(Google_Service_Replicapool_Tag $tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
From 222cc73f86ce20d4af9f1c3ea625ee5743ab1355 Mon Sep 17 00:00:00 2001
From: Sarah Simmonds + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Manager extends Google_Service +{ + /** View and manage your applications deployed on Google App Engine. */ + const APPENGINE_ADMIN = "https://www.googleapis.com/auth/appengine.admin"; + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Compute Engine resources. */ + const COMPUTE = "https://www.googleapis.com/auth/compute"; + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $templates; + + + /** + * Constructs the internal representation of the Manager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'manager/v1beta2/projects/'; + $this->version = 'v1beta2'; + $this->serviceName = 'manager'; + + $this->deployments = new Google_Service_Manager_Deployments_Resource( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/regions/{region}/deployments/{deploymentName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deploymentName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/regions/{region}/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->templates = new Google_Service_Manager_Templates_Resource( + $this, + $this->serviceName, + 'templates', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectId}/templates/{templateName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'templateName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectId}/templates', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "deployments" collection of methods. + * Typical usage is: + *
+ * $managerService = new Google_Service_Manager(...);
+ * $deployments = $managerService->deployments;
+ *
+ */
+class Google_Service_Manager_Deployments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (deployments.delete)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param string $deploymentName
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $region, $deploymentName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * (deployments.get)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param string $deploymentName
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Deployment
+ */
+ public function get($projectId, $region, $deploymentName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'deploymentName' => $deploymentName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Manager_Deployment");
+ }
+ /**
+ * (deployments.insert)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Deployment
+ */
+ public function insert($projectId, $region, Google_Service_Manager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Manager_Deployment");
+ }
+ /**
+ * (deployments.listDeployments)
+ *
+ * @param string $projectId
+ *
+ * @param string $region
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Manager_DeploymentsListResponse
+ */
+ public function listDeployments($projectId, $region, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Manager_DeploymentsListResponse");
+ }
+}
+
+/**
+ * The "templates" collection of methods.
+ * Typical usage is:
+ *
+ * $managerService = new Google_Service_Manager(...);
+ * $templates = $managerService->templates;
+ *
+ */
+class Google_Service_Manager_Templates_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (templates.delete)
+ *
+ * @param string $projectId
+ *
+ * @param string $templateName
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectId, $templateName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * (templates.get)
+ *
+ * @param string $projectId
+ *
+ * @param string $templateName
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Template
+ */
+ public function get($projectId, $templateName, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'templateName' => $templateName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Manager_Template");
+ }
+ /**
+ * (templates.insert)
+ *
+ * @param string $projectId
+ *
+ * @param Google_Template $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Manager_Template
+ */
+ public function insert($projectId, Google_Service_Manager_Template $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Manager_Template");
+ }
+ /**
+ * (templates.listTemplates)
+ *
+ * @param string $projectId
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Manager_TemplatesListResponse
+ */
+ public function listTemplates($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Manager_TemplatesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Manager_AccessConfig extends Google_Model
+{
+ public $name;
+ public $natIp;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNatIp($natIp)
+ {
+ $this->natIp = $natIp;
+ }
+
+ public function getNatIp()
+ {
+ return $this->natIp;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Manager_Action extends Google_Collection
+{
+ public $commands;
+ public $timeoutMs;
+
+ public function setCommands($commands)
+ {
+ $this->commands = $commands;
+ }
+
+ public function getCommands()
+ {
+ return $this->commands;
+ }
+
+ public function setTimeoutMs($timeoutMs)
+ {
+ $this->timeoutMs = $timeoutMs;
+ }
+
+ public function getTimeoutMs()
+ {
+ return $this->timeoutMs;
+ }
+}
+
+class Google_Service_Manager_AllowedRule extends Google_Collection
+{
+ public $iPProtocol;
+ public $ports;
+
+ public function setIPProtocol($iPProtocol)
+ {
+ $this->iPProtocol = $iPProtocol;
+ }
+
+ public function getIPProtocol()
+ {
+ return $this->iPProtocol;
+ }
+
+ public function setPorts($ports)
+ {
+ $this->ports = $ports;
+ }
+
+ public function getPorts()
+ {
+ return $this->ports;
+ }
+}
+
+class Google_Service_Manager_AutoscalingModule extends Google_Model
+{
+ public $coolDownPeriodSec;
+ public $description;
+ public $maxNumReplicas;
+ public $minNumReplicas;
+ public $signalType;
+ public $targetModule;
+ public $targetUtilization;
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setMaxNumReplicas($maxNumReplicas)
+ {
+ $this->maxNumReplicas = $maxNumReplicas;
+ }
+
+ public function getMaxNumReplicas()
+ {
+ return $this->maxNumReplicas;
+ }
+
+ public function setMinNumReplicas($minNumReplicas)
+ {
+ $this->minNumReplicas = $minNumReplicas;
+ }
+
+ public function getMinNumReplicas()
+ {
+ return $this->minNumReplicas;
+ }
+
+ public function setSignalType($signalType)
+ {
+ $this->signalType = $signalType;
+ }
+
+ public function getSignalType()
+ {
+ return $this->signalType;
+ }
+
+ public function setTargetModule($targetModule)
+ {
+ $this->targetModule = $targetModule;
+ }
+
+ public function getTargetModule()
+ {
+ return $this->targetModule;
+ }
+
+ public function setTargetUtilization($targetUtilization)
+ {
+ $this->targetUtilization = $targetUtilization;
+ }
+
+ public function getTargetUtilization()
+ {
+ return $this->targetUtilization;
+ }
+}
+
+class Google_Service_Manager_AutoscalingModuleStatus extends Google_Model
+{
+ public $autoscalingConfigUrl;
+
+ public function setAutoscalingConfigUrl($autoscalingConfigUrl)
+ {
+ $this->autoscalingConfigUrl = $autoscalingConfigUrl;
+ }
+
+ public function getAutoscalingConfigUrl()
+ {
+ return $this->autoscalingConfigUrl;
+ }
+}
+
+class Google_Service_Manager_DeployState extends Google_Model
+{
+ public $details;
+ public $status;
+
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+
+ public function getDetails()
+ {
+ return $this->details;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Manager_Deployment extends Google_Collection
+{
+ public $creationDate;
+ public $description;
+ protected $modulesType = 'Google_Service_Manager_ModuleStatus';
+ protected $modulesDataType = 'map';
+ public $name;
+ protected $overridesType = 'Google_Service_Manager_ParamOverride';
+ protected $overridesDataType = 'array';
+ protected $stateType = 'Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $templateName;
+
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setModules($modules)
+ {
+ $this->modules = $modules;
+ }
+
+ public function getModules()
+ {
+ return $this->modules;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOverrides($overrides)
+ {
+ $this->overrides = $overrides;
+ }
+
+ public function getOverrides()
+ {
+ return $this->overrides;
+ }
+
+ public function setState(Google_Service_Manager_DeployState $state)
+ {
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function setTemplateName($templateName)
+ {
+ $this->templateName = $templateName;
+ }
+
+ public function getTemplateName()
+ {
+ return $this->templateName;
+ }
+}
+
+class Google_Service_Manager_DeploymentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Manager_Deployment';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Manager_DiskAttachment extends Google_Model
+{
+ public $deviceName;
+ public $index;
+
+ public function setDeviceName($deviceName)
+ {
+ $this->deviceName = $deviceName;
+ }
+
+ public function getDeviceName()
+ {
+ return $this->deviceName;
+ }
+
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+
+ public function getIndex()
+ {
+ return $this->index;
+ }
+}
+
+class Google_Service_Manager_EnvVariable extends Google_Model
+{
+ public $hidden;
+ public $value;
+
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Manager_ExistingDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $source;
+
+ public function setAttachment(Google_Service_Manager_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Manager_FirewallModule extends Google_Collection
+{
+ protected $allowedType = 'Google_Service_Manager_AllowedRule';
+ protected $allowedDataType = 'array';
+ public $description;
+ public $network;
+ public $sourceRanges;
+ public $sourceTags;
+ public $targetTags;
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ public function setSourceRanges($sourceRanges)
+ {
+ $this->sourceRanges = $sourceRanges;
+ }
+
+ public function getSourceRanges()
+ {
+ return $this->sourceRanges;
+ }
+
+ public function setSourceTags($sourceTags)
+ {
+ $this->sourceTags = $sourceTags;
+ }
+
+ public function getSourceTags()
+ {
+ return $this->sourceTags;
+ }
+
+ public function setTargetTags($targetTags)
+ {
+ $this->targetTags = $targetTags;
+ }
+
+ public function getTargetTags()
+ {
+ return $this->targetTags;
+ }
+}
+
+class Google_Service_Manager_FirewallModuleStatus extends Google_Model
+{
+ public $firewallUrl;
+
+ public function setFirewallUrl($firewallUrl)
+ {
+ $this->firewallUrl = $firewallUrl;
+ }
+
+ public function getFirewallUrl()
+ {
+ return $this->firewallUrl;
+ }
+}
+
+class Google_Service_Manager_HealthCheckModule extends Google_Model
+{
+ public $checkIntervalSec;
+ public $description;
+ public $healthyThreshold;
+ public $host;
+ public $path;
+ public $port;
+ public $timeoutSec;
+ public $unhealthyThreshold;
+
+ public function setCheckIntervalSec($checkIntervalSec)
+ {
+ $this->checkIntervalSec = $checkIntervalSec;
+ }
+
+ public function getCheckIntervalSec()
+ {
+ return $this->checkIntervalSec;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthyThreshold($healthyThreshold)
+ {
+ $this->healthyThreshold = $healthyThreshold;
+ }
+
+ public function getHealthyThreshold()
+ {
+ return $this->healthyThreshold;
+ }
+
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+
+ public function getHost()
+ {
+ return $this->host;
+ }
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setPort($port)
+ {
+ $this->port = $port;
+ }
+
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Google_Service_Manager_HealthCheckModuleStatus extends Google_Model
+{
+ public $healthCheckUrl;
+
+ public function setHealthCheckUrl($healthCheckUrl)
+ {
+ $this->healthCheckUrl = $healthCheckUrl;
+ }
+
+ public function getHealthCheckUrl()
+ {
+ return $this->healthCheckUrl;
+ }
+}
+
+class Google_Service_Manager_LbModule extends Google_Collection
+{
+ public $description;
+ public $healthChecks;
+ public $ipAddress;
+ public $ipProtocol;
+ public $portRange;
+ public $targetModules;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+
+ public function setIpProtocol($ipProtocol)
+ {
+ $this->ipProtocol = $ipProtocol;
+ }
+
+ public function getIpProtocol()
+ {
+ return $this->ipProtocol;
+ }
+
+ public function setPortRange($portRange)
+ {
+ $this->portRange = $portRange;
+ }
+
+ public function getPortRange()
+ {
+ return $this->portRange;
+ }
+
+ public function setTargetModules($targetModules)
+ {
+ $this->targetModules = $targetModules;
+ }
+
+ public function getTargetModules()
+ {
+ return $this->targetModules;
+ }
+}
+
+class Google_Service_Manager_LbModuleStatus extends Google_Model
+{
+ public $forwardingRuleUrl;
+ public $targetPoolUrl;
+
+ public function setForwardingRuleUrl($forwardingRuleUrl)
+ {
+ $this->forwardingRuleUrl = $forwardingRuleUrl;
+ }
+
+ public function getForwardingRuleUrl()
+ {
+ return $this->forwardingRuleUrl;
+ }
+
+ public function setTargetPoolUrl($targetPoolUrl)
+ {
+ $this->targetPoolUrl = $targetPoolUrl;
+ }
+
+ public function getTargetPoolUrl()
+ {
+ return $this->targetPoolUrl;
+ }
+}
+
+class Google_Service_Manager_Metadata extends Google_Collection
+{
+ public $fingerPrint;
+ protected $itemsType = 'Google_Service_Manager_MetadataItem';
+ protected $itemsDataType = 'array';
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Manager_MetadataItem extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Manager_Module extends Google_Model
+{
+ protected $autoscalingModuleType = 'Google_Service_Manager_AutoscalingModule';
+ protected $autoscalingModuleDataType = '';
+ protected $firewallModuleType = 'Google_Service_Manager_FirewallModule';
+ protected $firewallModuleDataType = '';
+ protected $healthCheckModuleType = 'Google_Service_Manager_HealthCheckModule';
+ protected $healthCheckModuleDataType = '';
+ protected $lbModuleType = 'Google_Service_Manager_LbModule';
+ protected $lbModuleDataType = '';
+ protected $networkModuleType = 'Google_Service_Manager_NetworkModule';
+ protected $networkModuleDataType = '';
+ protected $replicaPoolModuleType = 'Google_Service_Manager_ReplicaPoolModule';
+ protected $replicaPoolModuleDataType = '';
+ public $type;
+
+ public function setAutoscalingModule(Google_Service_Manager_AutoscalingModule $autoscalingModule)
+ {
+ $this->autoscalingModule = $autoscalingModule;
+ }
+
+ public function getAutoscalingModule()
+ {
+ return $this->autoscalingModule;
+ }
+
+ public function setFirewallModule(Google_Service_Manager_FirewallModule $firewallModule)
+ {
+ $this->firewallModule = $firewallModule;
+ }
+
+ public function getFirewallModule()
+ {
+ return $this->firewallModule;
+ }
+
+ public function setHealthCheckModule(Google_Service_Manager_HealthCheckModule $healthCheckModule)
+ {
+ $this->healthCheckModule = $healthCheckModule;
+ }
+
+ public function getHealthCheckModule()
+ {
+ return $this->healthCheckModule;
+ }
+
+ public function setLbModule(Google_Service_Manager_LbModule $lbModule)
+ {
+ $this->lbModule = $lbModule;
+ }
+
+ public function getLbModule()
+ {
+ return $this->lbModule;
+ }
+
+ public function setNetworkModule(Google_Service_Manager_NetworkModule $networkModule)
+ {
+ $this->networkModule = $networkModule;
+ }
+
+ public function getNetworkModule()
+ {
+ return $this->networkModule;
+ }
+
+ public function setReplicaPoolModule(Google_Service_Manager_ReplicaPoolModule $replicaPoolModule)
+ {
+ $this->replicaPoolModule = $replicaPoolModule;
+ }
+
+ public function getReplicaPoolModule()
+ {
+ return $this->replicaPoolModule;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Manager_ModuleStatus extends Google_Model
+{
+ protected $autoscalingModuleStatusType = 'Google_Service_Manager_AutoscalingModuleStatus';
+ protected $autoscalingModuleStatusDataType = '';
+ protected $firewallModuleStatusType = 'Google_Service_Manager_FirewallModuleStatus';
+ protected $firewallModuleStatusDataType = '';
+ protected $healthCheckModuleStatusType = 'Google_Service_Manager_HealthCheckModuleStatus';
+ protected $healthCheckModuleStatusDataType = '';
+ protected $lbModuleStatusType = 'Google_Service_Manager_LbModuleStatus';
+ protected $lbModuleStatusDataType = '';
+ protected $networkModuleStatusType = 'Google_Service_Manager_NetworkModuleStatus';
+ protected $networkModuleStatusDataType = '';
+ protected $replicaPoolModuleStatusType = 'Google_Service_Manager_ReplicaPoolModuleStatus';
+ protected $replicaPoolModuleStatusDataType = '';
+ protected $stateType = 'Google_Service_Manager_DeployState';
+ protected $stateDataType = '';
+ public $type;
+
+ public function setAutoscalingModuleStatus(Google_Service_Manager_AutoscalingModuleStatus $autoscalingModuleStatus)
+ {
+ $this->autoscalingModuleStatus = $autoscalingModuleStatus;
+ }
+
+ public function getAutoscalingModuleStatus()
+ {
+ return $this->autoscalingModuleStatus;
+ }
+
+ public function setFirewallModuleStatus(Google_Service_Manager_FirewallModuleStatus $firewallModuleStatus)
+ {
+ $this->firewallModuleStatus = $firewallModuleStatus;
+ }
+
+ public function getFirewallModuleStatus()
+ {
+ return $this->firewallModuleStatus;
+ }
+
+ public function setHealthCheckModuleStatus(Google_Service_Manager_HealthCheckModuleStatus $healthCheckModuleStatus)
+ {
+ $this->healthCheckModuleStatus = $healthCheckModuleStatus;
+ }
+
+ public function getHealthCheckModuleStatus()
+ {
+ return $this->healthCheckModuleStatus;
+ }
+
+ public function setLbModuleStatus(Google_Service_Manager_LbModuleStatus $lbModuleStatus)
+ {
+ $this->lbModuleStatus = $lbModuleStatus;
+ }
+
+ public function getLbModuleStatus()
+ {
+ return $this->lbModuleStatus;
+ }
+
+ public function setNetworkModuleStatus(Google_Service_Manager_NetworkModuleStatus $networkModuleStatus)
+ {
+ $this->networkModuleStatus = $networkModuleStatus;
+ }
+
+ public function getNetworkModuleStatus()
+ {
+ return $this->networkModuleStatus;
+ }
+
+ public function setReplicaPoolModuleStatus(Google_Service_Manager_ReplicaPoolModuleStatus $replicaPoolModuleStatus)
+ {
+ $this->replicaPoolModuleStatus = $replicaPoolModuleStatus;
+ }
+
+ public function getReplicaPoolModuleStatus()
+ {
+ return $this->replicaPoolModuleStatus;
+ }
+
+ public function setState(Google_Service_Manager_DeployState $state)
+ {
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Manager_NetworkInterface extends Google_Collection
+{
+ protected $accessConfigsType = 'Google_Service_Manager_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $name;
+ public $network;
+ public $networkIp;
+
+ public function setAccessConfigs($accessConfigs)
+ {
+ $this->accessConfigs = $accessConfigs;
+ }
+
+ public function getAccessConfigs()
+ {
+ return $this->accessConfigs;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNetwork($network)
+ {
+ $this->network = $network;
+ }
+
+ public function getNetwork()
+ {
+ return $this->network;
+ }
+
+ public function setNetworkIp($networkIp)
+ {
+ $this->networkIp = $networkIp;
+ }
+
+ public function getNetworkIp()
+ {
+ return $this->networkIp;
+ }
+}
+
+class Google_Service_Manager_NetworkModule extends Google_Model
+{
+ public $iPv4Range;
+ public $description;
+ public $gatewayIPv4;
+
+ public function setIPv4Range($iPv4Range)
+ {
+ $this->iPv4Range = $iPv4Range;
+ }
+
+ public function getIPv4Range()
+ {
+ return $this->iPv4Range;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setGatewayIPv4($gatewayIPv4)
+ {
+ $this->gatewayIPv4 = $gatewayIPv4;
+ }
+
+ public function getGatewayIPv4()
+ {
+ return $this->gatewayIPv4;
+ }
+}
+
+class Google_Service_Manager_NetworkModuleStatus extends Google_Model
+{
+ public $networkUrl;
+
+ public function setNetworkUrl($networkUrl)
+ {
+ $this->networkUrl = $networkUrl;
+ }
+
+ public function getNetworkUrl()
+ {
+ return $this->networkUrl;
+ }
+}
+
+class Google_Service_Manager_NewDisk extends Google_Model
+{
+ protected $attachmentType = 'Google_Service_Manager_DiskAttachment';
+ protected $attachmentDataType = '';
+ public $autoDelete;
+ public $boot;
+ protected $initializeParamsType = 'Google_Service_Manager_NewDiskInitializeParams';
+ protected $initializeParamsDataType = '';
+
+ public function setAttachment(Google_Service_Manager_DiskAttachment $attachment)
+ {
+ $this->attachment = $attachment;
+ }
+
+ public function getAttachment()
+ {
+ return $this->attachment;
+ }
+
+ public function setAutoDelete($autoDelete)
+ {
+ $this->autoDelete = $autoDelete;
+ }
+
+ public function getAutoDelete()
+ {
+ return $this->autoDelete;
+ }
+
+ public function setBoot($boot)
+ {
+ $this->boot = $boot;
+ }
+
+ public function getBoot()
+ {
+ return $this->boot;
+ }
+
+ public function setInitializeParams(Google_Service_Manager_NewDiskInitializeParams $initializeParams)
+ {
+ $this->initializeParams = $initializeParams;
+ }
+
+ public function getInitializeParams()
+ {
+ return $this->initializeParams;
+ }
+}
+
+class Google_Service_Manager_NewDiskInitializeParams extends Google_Model
+{
+ public $diskSizeGb;
+ public $sourceImage;
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+
+ public function setSourceImage($sourceImage)
+ {
+ $this->sourceImage = $sourceImage;
+ }
+
+ public function getSourceImage()
+ {
+ return $this->sourceImage;
+ }
+}
+
+class Google_Service_Manager_ParamOverride extends Google_Model
+{
+ public $path;
+ public $value;
+
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+
+ public function getPath()
+ {
+ return $this->path;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolModule extends Google_Collection
+{
+ protected $envVariablesType = 'Google_Service_Manager_EnvVariable';
+ protected $envVariablesDataType = 'map';
+ public $healthChecks;
+ public $numReplicas;
+ protected $replicaPoolParamsType = 'Google_Service_Manager_ReplicaPoolParams';
+ protected $replicaPoolParamsDataType = '';
+ public $resourceView;
+
+ public function setEnvVariables($envVariables)
+ {
+ $this->envVariables = $envVariables;
+ }
+
+ public function getEnvVariables()
+ {
+ return $this->envVariables;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
+ public function setNumReplicas($numReplicas)
+ {
+ $this->numReplicas = $numReplicas;
+ }
+
+ public function getNumReplicas()
+ {
+ return $this->numReplicas;
+ }
+
+ public function setReplicaPoolParams(Google_Service_Manager_ReplicaPoolParams $replicaPoolParams)
+ {
+ $this->replicaPoolParams = $replicaPoolParams;
+ }
+
+ public function getReplicaPoolParams()
+ {
+ return $this->replicaPoolParams;
+ }
+
+ public function setResourceView($resourceView)
+ {
+ $this->resourceView = $resourceView;
+ }
+
+ public function getResourceView()
+ {
+ return $this->resourceView;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model
+{
+ public $replicaPoolUrl;
+ public $resourceViewUrl;
+
+ public function setReplicaPoolUrl($replicaPoolUrl)
+ {
+ $this->replicaPoolUrl = $replicaPoolUrl;
+ }
+
+ public function getReplicaPoolUrl()
+ {
+ return $this->replicaPoolUrl;
+ }
+
+ public function setResourceViewUrl($resourceViewUrl)
+ {
+ $this->resourceViewUrl = $resourceViewUrl;
+ }
+
+ public function getResourceViewUrl()
+ {
+ return $this->resourceViewUrl;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolParams extends Google_Model
+{
+ protected $v1beta1Type = 'Google_Service_Manager_ReplicaPoolParamsV1Beta1';
+ protected $v1beta1DataType = '';
+
+ public function setV1beta1(Google_Service_Manager_ReplicaPoolParamsV1Beta1 $v1beta1)
+ {
+ $this->v1beta1 = $v1beta1;
+ }
+
+ public function getV1beta1()
+ {
+ return $this->v1beta1;
+ }
+}
+
+class Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Google_Collection
+{
+ public $autoRestart;
+ public $baseInstanceName;
+ public $canIpForward;
+ public $description;
+ protected $disksToAttachType = 'Google_Service_Manager_ExistingDisk';
+ protected $disksToAttachDataType = 'array';
+ protected $disksToCreateType = 'Google_Service_Manager_NewDisk';
+ protected $disksToCreateDataType = 'array';
+ public $initAction;
+ public $machineType;
+ protected $metadataType = 'Google_Service_Manager_Metadata';
+ protected $metadataDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Manager_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ public $onHostMaintenance;
+ protected $serviceAccountsType = 'Google_Service_Manager_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
+ protected $tagsType = 'Google_Service_Manager_Tag';
+ protected $tagsDataType = '';
+ public $zone;
+
+ public function setAutoRestart($autoRestart)
+ {
+ $this->autoRestart = $autoRestart;
+ }
+
+ public function getAutoRestart()
+ {
+ return $this->autoRestart;
+ }
+
+ public function setBaseInstanceName($baseInstanceName)
+ {
+ $this->baseInstanceName = $baseInstanceName;
+ }
+
+ public function getBaseInstanceName()
+ {
+ return $this->baseInstanceName;
+ }
+
+ public function setCanIpForward($canIpForward)
+ {
+ $this->canIpForward = $canIpForward;
+ }
+
+ public function getCanIpForward()
+ {
+ return $this->canIpForward;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDisksToAttach($disksToAttach)
+ {
+ $this->disksToAttach = $disksToAttach;
+ }
+
+ public function getDisksToAttach()
+ {
+ return $this->disksToAttach;
+ }
+
+ public function setDisksToCreate($disksToCreate)
+ {
+ $this->disksToCreate = $disksToCreate;
+ }
+
+ public function getDisksToCreate()
+ {
+ return $this->disksToCreate;
+ }
+
+ public function setInitAction($initAction)
+ {
+ $this->initAction = $initAction;
+ }
+
+ public function getInitAction()
+ {
+ return $this->initAction;
+ }
+
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+
+ public function setMetadata(Google_Service_Manager_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function setNetworkInterfaces($networkInterfaces)
+ {
+ $this->networkInterfaces = $networkInterfaces;
+ }
+
+ public function getNetworkInterfaces()
+ {
+ return $this->networkInterfaces;
+ }
+
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+
+ public function setServiceAccounts($serviceAccounts)
+ {
+ $this->serviceAccounts = $serviceAccounts;
+ }
+
+ public function getServiceAccounts()
+ {
+ return $this->serviceAccounts;
+ }
+
+ public function setTags(Google_Service_Manager_Tag $tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Manager_ServiceAccount extends Google_Collection
+{
+ public $email;
+ public $scopes;
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+
+ public function getEmail()
+ {
+ return $this->email;
+ }
+
+ public function setScopes($scopes)
+ {
+ $this->scopes = $scopes;
+ }
+
+ public function getScopes()
+ {
+ return $this->scopes;
+ }
+}
+
+class Google_Service_Manager_Tag extends Google_Collection
+{
+ public $fingerPrint;
+ public $items;
+
+ public function setFingerPrint($fingerPrint)
+ {
+ $this->fingerPrint = $fingerPrint;
+ }
+
+ public function getFingerPrint()
+ {
+ return $this->fingerPrint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+}
+
+class Google_Service_Manager_Template extends Google_Model
+{
+ protected $actionsType = 'Google_Service_Manager_Action';
+ protected $actionsDataType = 'map';
+ public $description;
+ protected $modulesType = 'Google_Service_Manager_Module';
+ protected $modulesDataType = 'map';
+ public $name;
+
+ public function setActions($actions)
+ {
+ $this->actions = $actions;
+ }
+
+ public function getActions()
+ {
+ return $this->actions;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setModules($modules)
+ {
+ $this->modules = $modules;
+ }
+
+ public function getModules()
+ {
+ return $this->modules;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Manager_TemplatesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Manager_Template';
+ protected $resourcesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
From 1cd8543b12c31ecf1e140c866d2615cd6ccaa09f Mon Sep 17 00:00:00 2001
From: Ian Barber
* Lets you store and retrieve potentially-large, immutable data objects.
@@ -54,8 +54,8 @@ class Google_Service_Storage extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'storage/v1beta2/';
- $this->version = 'v1beta2';
+ $this->servicePath = 'storage/v1/';
+ $this->version = 'v1';
$this->serviceName = 'storage';
$this->bucketAccessControls = new Google_Service_Storage_BucketAccessControls_Resource(
@@ -203,6 +203,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'projection' => array(
'location' => 'query',
'type' => 'string',
@@ -243,6 +247,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifMetagenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -265,6 +273,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifMetagenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -554,11 +566,15 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifMetagenerationMatch' => array(
'location' => 'query',
'type' => 'string',
),
- 'ifGenerationMatch' => array(
+ 'destinationPredefinedAcl' => array(
'location' => 'query',
'type' => 'string',
),
@@ -591,10 +607,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'ifGenerationMatch' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
'ifGenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -603,7 +615,7 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'ifMetagenerationNotMatch' => array(
+ 'ifMetagenerationMatch' => array(
'location' => 'query',
'type' => 'string',
),
@@ -611,6 +623,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'destinationPredefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifSourceGenerationMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -619,7 +635,11 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'ifMetagenerationMatch' => array(
+ 'ifGenerationMatch' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ifMetagenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
),
@@ -711,6 +731,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'projection' => array(
'location' => 'query',
'type' => 'string',
@@ -723,6 +747,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'contentEncoding' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifGenerationMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -784,6 +812,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifGenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -823,6 +855,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'predefinedAcl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'ifGenerationNotMatch' => array(
'location' => 'query',
'type' => 'string',
@@ -1025,11 +1061,9 @@ class Google_Service_Storage_Buckets_Resource extends Google_Service_Resource
* @param array $optParams Optional parameters.
*
* @opt_param string ifMetagenerationMatch
- * Makes the return of the bucket metadata conditional on whether the bucket's current
- * metageneration matches the given value.
+ * If set, only deletes the bucket if its metageneration matches this value.
* @opt_param string ifMetagenerationNotMatch
- * Makes the return of the bucket metadata conditional on whether the bucket's current
- * metageneration does not match the given value.
+ * If set, only deletes the bucket if its metageneration does not match this value.
*/
public function delete($bucket, $optParams = array())
{
@@ -1068,6 +1102,8 @@ public function get($bucket, $optParams = array())
* @param Google_Bucket $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this bucket.
* @opt_param string projection
* Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or
* defaultObjectAcl properties, when it defaults to full.
@@ -1111,6 +1147,8 @@ public function listBuckets($project, $optParams = array())
* @opt_param string ifMetagenerationMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration matches the given value.
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this bucket.
* @opt_param string ifMetagenerationNotMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration does not match the given value.
@@ -1135,6 +1173,8 @@ public function patch($bucket, Google_Service_Storage_Bucket $postBody, $optPara
* @opt_param string ifMetagenerationMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration matches the given value.
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this bucket.
* @opt_param string ifMetagenerationNotMatch
* Makes the return of the bucket metadata conditional on whether the bucket's current
* metageneration does not match the given value.
@@ -1246,11 +1286,11 @@ public function insert($bucket, Google_Service_Storage_ObjectAccessControl $post
* @param array $optParams Optional parameters.
*
* @opt_param string ifMetagenerationMatch
- * Makes the operation conditional on whether the destination object's current metageneration
- * matches the given value.
+ * If present, only return default ACL listing if the bucket's current metageneration matches this
+ * value.
* @opt_param string ifMetagenerationNotMatch
- * Makes the operation conditional on whether the destination object's current metageneration does
- * not match the given value.
+ * If present, only return default ACL listing if the bucket's current metageneration does not
+ * match the given value.
* @return Google_Service_Storage_ObjectAccessControls
*/
public function listDefaultObjectAccessControls($bucket, $optParams = array())
@@ -1473,12 +1513,14 @@ class Google_Service_Storage_Objects_Resource extends Google_Service_Resource
* @param Google_ComposeRequest $postBody
* @param array $optParams Optional parameters.
*
- * @opt_param string ifMetagenerationMatch
- * Makes the operation conditional on whether the object's current metageneration matches the given
- * value.
* @opt_param string ifGenerationMatch
* Makes the operation conditional on whether the object's current generation matches the given
* value.
+ * @opt_param string ifMetagenerationMatch
+ * Makes the operation conditional on whether the object's current metageneration matches the given
+ * value.
+ * @opt_param string destinationPredefinedAcl
+ * Apply a predefined set of access controls to the destination object.
* @return Google_Service_Storage_StorageObject
*/
public function compose($destinationBucket, $destinationObject, Google_Service_Storage_ComposeRequest $postBody, $optParams = array())
@@ -1488,8 +1530,8 @@ public function compose($destinationBucket, $destinationObject, Google_Service_S
return $this->call('compose', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Copies an object to a destination in the same location. Optionally overrides
- * metadata. (objects.copy)
+ * Copies an object to a specified location. Optionally overrides metadata.
+ * (objects.copy)
*
* @param string $sourceBucket
* Name of the bucket in which to find the source object.
@@ -1507,30 +1549,32 @@ public function compose($destinationBucket, $destinationObject, Google_Service_S
* @opt_param string ifSourceGenerationNotMatch
* Makes the operation conditional on whether the source object's generation does not match the
* given value.
- * @opt_param string ifGenerationMatch
- * Makes the operation conditional on whether the destination object's current generation matches
- * the given value.
* @opt_param string ifGenerationNotMatch
* Makes the operation conditional on whether the destination object's current generation does not
* match the given value.
* @opt_param string ifSourceMetagenerationNotMatch
* Makes the operation conditional on whether the source object's current metageneration does not
* match the given value.
- * @opt_param string ifMetagenerationNotMatch
- * Makes the operation conditional on whether the destination object's current metageneration does
- * not match the given value.
+ * @opt_param string ifMetagenerationMatch
+ * Makes the operation conditional on whether the destination object's current metageneration
+ * matches the given value.
* @opt_param string sourceGeneration
* If present, selects a specific revision of the source object (as opposed to the latest version,
* the default).
+ * @opt_param string destinationPredefinedAcl
+ * Apply a predefined set of access controls to the destination object.
* @opt_param string ifSourceGenerationMatch
* Makes the operation conditional on whether the source object's generation matches the given
* value.
* @opt_param string ifSourceMetagenerationMatch
* Makes the operation conditional on whether the source object's current metageneration matches
* the given value.
- * @opt_param string ifMetagenerationMatch
- * Makes the operation conditional on whether the destination object's current metageneration
- * matches the given value.
+ * @opt_param string ifGenerationMatch
+ * Makes the operation conditional on whether the destination object's current generation matches
+ * the given value.
+ * @opt_param string ifMetagenerationNotMatch
+ * Makes the operation conditional on whether the destination object's current metageneration does
+ * not match the given value.
* @opt_param string projection
* Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl
* property, when it defaults to full.
@@ -1543,9 +1587,9 @@ public function copy($sourceBucket, $sourceObject, $destinationBucket, $destinat
return $this->call('copy', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Deletes data blobs and associated metadata. Deletions are permanent if
- * versioning is not enabled for the bucket, or if the generation parameter is
- * used. (objects.delete)
+ * Deletes an object and its metadata. Deletions are permanent if versioning is
+ * not enabled for the bucket, or if the generation parameter is used.
+ * (objects.delete)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1576,7 +1620,7 @@ public function delete($bucket, $object, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieves objects or their associated metadata. (objects.get)
+ * Retrieves objects or their metadata. (objects.get)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1609,7 +1653,7 @@ public function get($bucket, $object, $optParams = array())
return $this->call('get', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Stores new data blobs and associated metadata. (objects.insert)
+ * Stores a new object and metadata. (objects.insert)
*
* @param string $bucket
* Name of the bucket in which to store the new object. Overrides the provided object metadata's
@@ -1617,6 +1661,8 @@ public function get($bucket, $object, $optParams = array())
* @param Google_StorageObject $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this object.
* @opt_param string projection
* Set of properties to return. Defaults to noAcl, unless the object resource specifies the acl
* property, when it defaults to full.
@@ -1626,6 +1672,11 @@ public function get($bucket, $object, $optParams = array())
* @opt_param string ifMetagenerationMatch
* Makes the operation conditional on whether the object's current metageneration matches the given
* value.
+ * @opt_param string contentEncoding
+ * If set, sets the contentEncoding property of the final object to this value. Setting this
+ * parameter is equivalent to setting the contentEncoding metadata property. This can be useful
+ * when uploading an object with uploadType=media to indicate the encoding of the content being
+ * uploaded.
* @opt_param string ifGenerationMatch
* Makes the operation conditional on whether the object's current generation matches the given
* value.
@@ -1675,8 +1726,8 @@ public function listObjects($bucket, $optParams = array())
return $this->call('list', array($params), "Google_Service_Storage_Objects");
}
/**
- * Updates a data blob's associated metadata. This method supports patch
- * semantics. (objects.patch)
+ * Updates an object's metadata. This method supports patch semantics.
+ * (objects.patch)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1685,6 +1736,8 @@ public function listObjects($bucket, $optParams = array())
* @param Google_StorageObject $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this object.
* @opt_param string ifGenerationNotMatch
* Makes the operation conditional on whether the object's current generation does not match the
* given value.
@@ -1711,7 +1764,7 @@ public function patch($bucket, $object, Google_Service_Storage_StorageObject $po
return $this->call('patch', array($params), "Google_Service_Storage_StorageObject");
}
/**
- * Updates a data blob's associated metadata. (objects.update)
+ * Updates an object's metadata. (objects.update)
*
* @param string $bucket
* Name of the bucket in which the object resides.
@@ -1720,6 +1773,8 @@ public function patch($bucket, $object, Google_Service_Storage_StorageObject $po
* @param Google_StorageObject $postBody
* @param array $optParams Optional parameters.
*
+ * @opt_param string predefinedAcl
+ * Apply a predefined set of access controls to this object.
* @opt_param string ifGenerationNotMatch
* Makes the operation conditional on whether the object's current generation does not match the
* given value.
@@ -1802,6 +1857,7 @@ class Google_Service_Storage_Bucket extends Google_Collection
public $name;
protected $ownerType = 'Google_Service_Storage_BucketOwner';
protected $ownerDataType = '';
+ public $projectNumber;
public $selfLink;
public $storageClass;
public $timeCreated;
@@ -1930,6 +1986,16 @@ public function getOwner()
return $this->owner;
}
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
@@ -1991,6 +2057,8 @@ class Google_Service_Storage_BucketAccessControl extends Google_Model
public $etag;
public $id;
public $kind;
+ protected $projectTeamType = 'Google_Service_Storage_BucketAccessControlProjectTeam';
+ protected $projectTeamDataType = '';
public $role;
public $selfLink;
@@ -2074,6 +2142,16 @@ public function getKind()
return $this->kind;
}
+ public function setProjectTeam(Google_Service_Storage_BucketAccessControlProjectTeam $projectTeam)
+ {
+ $this->projectTeam = $projectTeam;
+ }
+
+ public function getProjectTeam()
+ {
+ return $this->projectTeam;
+ }
+
public function setRole($role)
{
$this->role = $role;
@@ -2095,6 +2173,32 @@ public function getSelfLink()
}
}
+class Google_Service_Storage_BucketAccessControlProjectTeam extends Google_Model
+{
+ public $projectNumber;
+ public $team;
+
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+
+ public function setTeam($team)
+ {
+ $this->team = $team;
+ }
+
+ public function getTeam()
+ {
+ return $this->team;
+ }
+}
+
class Google_Service_Storage_BucketAccessControls extends Google_Collection
{
protected $itemsType = 'Google_Service_Storage_BucketAccessControl';
@@ -2626,6 +2730,8 @@ class Google_Service_Storage_ObjectAccessControl extends Google_Model
public $id;
public $kind;
public $object;
+ protected $projectTeamType = 'Google_Service_Storage_ObjectAccessControlProjectTeam';
+ protected $projectTeamDataType = '';
public $role;
public $selfLink;
@@ -2729,6 +2835,16 @@ public function getObject()
return $this->object;
}
+ public function setProjectTeam(Google_Service_Storage_ObjectAccessControlProjectTeam $projectTeam)
+ {
+ $this->projectTeam = $projectTeam;
+ }
+
+ public function getProjectTeam()
+ {
+ return $this->projectTeam;
+ }
+
public function setRole($role)
{
$this->role = $role;
@@ -2750,6 +2866,32 @@ public function getSelfLink()
}
}
+class Google_Service_Storage_ObjectAccessControlProjectTeam extends Google_Model
+{
+ public $projectNumber;
+ public $team;
+
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+
+ public function setTeam($team)
+ {
+ $this->team = $team;
+ }
+
+ public function getTeam()
+ {
+ return $this->team;
+ }
+}
+
class Google_Service_Storage_ObjectAccessControls extends Google_Collection
{
public $items;
From e8dcb3318be6a5dc430328cf2ee3c463c9ebb23d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Resourceviews extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $regionViews; + public $zoneViews; + + + /** + * Constructs the internal representation of the Resourceviews service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'resourceviews/v1beta1/projects/'; + $this->version = 'v1beta1'; + $this->serviceName = 'resourceviews'; + + $this->regionViews = new Google_Service_Resourceviews_RegionViews_Resource( + $this, + $this->serviceName, + 'regionViews', + array( + 'methods' => array( + 'addresources' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/addResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectName}/regions/{region}/resourceViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/regions/{region}/resourceViews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listresources' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/resources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removeresources' => array( + 'path' => '{projectName}/regions/{region}/resourceViews/{resourceViewName}/removeResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'region' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->zoneViews = new Google_Service_Resourceviews_ZoneViews_Resource( + $this, + $this->serviceName, + 'zoneViews', + array( + 'methods' => array( + 'addresources' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/addResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'listresources' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/resources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'removeresources' => array( + 'path' => '{projectName}/zones/{zone}/resourceViews/{resourceViewName}/removeResources', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'zone' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resourceViewName' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "regionViews" collection of methods. + * Typical usage is: + *
+ * $resourceviewsService = new Google_Service_Resourceviews(...);
+ * $regionViews = $resourceviewsService->regionViews;
+ *
+ */
+class Google_Service_Resourceviews_RegionViews_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Add resources to the view. (regionViews.addresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_RegionViewsAddResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function addresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsAddResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addresources', array($params));
+ }
+ /**
+ * Delete a resource view. (regionViews.delete)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectName, $region, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Get the information of a resource view. (regionViews.get)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_ResourceView
+ */
+ public function get($projectName, $region, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
+ }
+ /**
+ * Create a resource view. (regionViews.insert)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param Google_ResourceView $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_RegionViewsInsertResponse
+ */
+ public function insert($projectName, $region, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Resourceviews_RegionViewsInsertResponse");
+ }
+ /**
+ * List resource views. (regionViews.listRegionViews)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_RegionViewsListResponse
+ */
+ public function listRegionViews($projectName, $region, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Resourceviews_RegionViewsListResponse");
+ }
+ /**
+ * List the resources in the view. (regionViews.listresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_RegionViewsListResourcesResponse
+ */
+ public function listresources($projectName, $region, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('listresources', array($params), "Google_Service_Resourceviews_RegionViewsListResourcesResponse");
+ }
+ /**
+ * Remove resources from the view. (regionViews.removeresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $region
+ * The region name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_RegionViewsRemoveResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function removeresources($projectName, $region, $resourceViewName, Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'region' => $region, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeresources', array($params));
+ }
+}
+
+/**
+ * The "zoneViews" collection of methods.
+ * Typical usage is:
+ *
+ * $resourceviewsService = new Google_Service_Resourceviews(...);
+ * $zoneViews = $resourceviewsService->zoneViews;
+ *
+ */
+class Google_Service_Resourceviews_ZoneViews_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Add resources to the view. (zoneViews.addresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_ZoneViewsAddResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function addresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsAddResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addresources', array($params));
+ }
+ /**
+ * Delete a resource view. (zoneViews.delete)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($projectName, $zone, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Get the information of a zonal resource view. (zoneViews.get)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_ResourceView
+ */
+ public function get($projectName, $zone, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Resourceviews_ResourceView");
+ }
+ /**
+ * Create a resource view. (zoneViews.insert)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param Google_ResourceView $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Resourceviews_ZoneViewsInsertResponse
+ */
+ public function insert($projectName, $zone, Google_Service_Resourceviews_ResourceView $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Resourceviews_ZoneViewsInsertResponse");
+ }
+ /**
+ * List resource views. (zoneViews.listZoneViews)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_ZoneViewsListResponse
+ */
+ public function listZoneViews($projectName, $zone, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Resourceviews_ZoneViewsListResponse");
+ }
+ /**
+ * List the resources of the resource view. (zoneViews.listresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Specifies a nextPageToken returned by a previous list request. This token can be used to request
+ * the next page of results from a previous list request.
+ * @opt_param int maxResults
+ * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
+ * 50)
+ * @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
+ */
+ public function listresources($projectName, $zone, $resourceViewName, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName);
+ $params = array_merge($params, $optParams);
+ return $this->call('listresources', array($params), "Google_Service_Resourceviews_ZoneViewsListResourcesResponse");
+ }
+ /**
+ * Remove resources from the view. (zoneViews.removeresources)
+ *
+ * @param string $projectName
+ * The project name of the resource view.
+ * @param string $zone
+ * The zone name of the resource view.
+ * @param string $resourceViewName
+ * The name of the resource view.
+ * @param Google_ZoneViewsRemoveResourcesRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function removeresources($projectName, $zone, $resourceViewName, Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectName' => $projectName, 'zone' => $zone, 'resourceViewName' => $resourceViewName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeresources', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Resourceviews_Label extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsAddResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsInsertResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Resourceviews_ResourceView $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsListResourcesResponse extends Google_Collection
+{
+ public $members;
+ public $nextPageToken;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+
+ public function getMembers()
+ {
+ return $this->members;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceViewsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResourceViews($resourceViews)
+ {
+ $this->resourceViews = $resourceViews;
+ }
+
+ public function getResourceViews()
+ {
+ return $this->resourceViews;
+ }
+}
+
+class Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Resourceviews_ResourceView extends Google_Collection
+{
+ public $creationTime;
+ public $description;
+ public $id;
+ protected $labelsType = 'Google_Service_Resourceviews_Label';
+ protected $labelsDataType = 'array';
+ public $lastModified;
+ public $members;
+ public $name;
+ public $numMembers;
+ public $selfLink;
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setLastModified($lastModified)
+ {
+ $this->lastModified = $lastModified;
+ }
+
+ public function getLastModified()
+ {
+ return $this->lastModified;
+ }
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+
+ public function getMembers()
+ {
+ return $this->members;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setNumMembers($numMembers)
+ {
+ $this->numMembers = $numMembers;
+ }
+
+ public function getNumMembers()
+ {
+ return $this->numMembers;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsInsertResponse extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Resourceviews_ResourceView $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
+{
+ public $members;
+ public $nextPageToken;
+
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+
+ public function getMembers()
+ {
+ return $this->members;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
+ protected $resourceViewsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResourceViews($resourceViews)
+ {
+ $this->resourceViews = $resourceViews;
+ }
+
+ public function getResourceViews()
+ {
+ return $this->resourceViews;
+ }
+}
+
+class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection
+{
+ public $resources;
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
From 2b8fc32209f22891273a7b74f593c92b062e013e Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * The Google Replica Pool API provides groups of homogenous VMs. + * The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template. *
* ** For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. @@ -319,7 +319,7 @@ public function delete($projectName, $zone, $poolName, Google_Service_Replicapoo * @param string $zone * The zone for this replica pool. * @param string $poolName - * The name of the replica pool for which you want to get more information. + * The name of the replica pool to get more information about. * @param array $optParams Optional parameters. * @return Google_Service_Replicapool_Pool */ @@ -350,14 +350,14 @@ public function insert($projectName, $zone, Google_Service_Replicapool_Pool $pos * List all replica pools. (pools.listPools) * * @param string $projectName - * The project ID for this replica pool. + * The project ID for this request. * @param string $zone * The zone for this replica pool. * @param array $optParams Optional parameters. * * @opt_param string pageToken - * Specifies a nextPageToken returned by a previous list request. This token can be used to request - * the next page of results from a previous list request. + * Set this to the nextPageToken value returned by a previous list request to obtain the next page + * of results from the previous list request. * @opt_param int maxResults * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: * 50) @@ -370,7 +370,9 @@ public function listPools($projectName, $zone, $optParams = array()) return $this->call('list', array($params), "Google_Service_Replicapool_PoolsListResponse"); } /** - * Resize a pool. (pools.resize) + * Resize a pool. This is an asynchronous operation, and multiple overlapping + * resize requests can be made. Replica Pools will use the information from the + * last resize request. (pools.resize) * * @param string $projectName * The project ID for this replica pool. @@ -384,8 +386,6 @@ public function listPools($projectName, $zone, $optParams = array()) * The desired number of replicas to resize to. If this number is larger than the existing number * of replicas, new replicas will be added. If the number is smaller, then existing replicas will * be deleted. - This is an asynchronous operation, and multiple overlapping resize requests can be - * made. Replica Pools will use the information from the last resize request. * @return Google_Service_Replicapool_Pool */ public function resize($projectName, $zone, $poolName, $optParams = array()) @@ -429,13 +429,13 @@ class Google_Service_Replicapool_Replicas_Resource extends Google_Service_Resour * Gets information about a specific replica. (replicas.get) * * @param string $projectName - * The name of project ID for this request. + * The project ID for this request. * @param string $zone * The zone where the replica lives. * @param string $poolName * The replica pool name for this request. * @param string $replicaName - * The name of the replica for which you want to get more information. + * The name of the replica to get more information about. * @param array $optParams Optional parameters. * @return Google_Service_Replicapool_Replica */ @@ -449,16 +449,16 @@ public function get($projectName, $zone, $poolName, $replicaName, $optParams = a * Lists all replicas in a pool. (replicas.listReplicas) * * @param string $projectName - * The name of project ID for this request. + * The project ID for this request. * @param string $zone - * The zone where the replica lives. + * The zone where the replica pool lives. * @param string $poolName * The replica pool name for this request. * @param array $optParams Optional parameters. * * @opt_param string pageToken - * Specifies a nextPageToken returned by a previous list request. This token can be used to request - * the next page of results from a previous list request. + * Set this to the nextPageToken value returned by a previous list request to obtain the next page + * of results from the previous list request. * @opt_param int maxResults * Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: * 50) @@ -474,7 +474,7 @@ public function listReplicas($projectName, $zone, $poolName, $optParams = array( * Restarts a replica in a pool. (replicas.restart) * * @param string $projectName - * The name of project ID for this request. + * The project ID for this request. * @param string $zone * The zone where the replica lives. * @param string $poolName From 5d16e0112692b2190437695a8c964c1fbcd7c681 Mon Sep 17 00:00:00 2001 From: Silvano Luciani
+ * $mirrorService = new Google_Service_Mirror(...);
+ * $settings = $mirrorService->settings;
+ *
+ */
+class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a single setting by ID. (settings.get)
+ *
+ * @param string $id
+ * The ID of the setting.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Mirror_Setting
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Mirror_Setting");
+ }
+}
+
/**
* The "subscriptions" collection of methods.
* Typical usage is:
@@ -1424,6 +1472,43 @@ public function getLevel()
}
}
+class Google_Service_Mirror_Setting extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $value;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Mirror_Subscription extends Google_Collection
{
public $callbackUrl;
From f4d224a415a424edadf1f3e4028cc5105e469497 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Genomics extends Google_Service +{ + /** Manage your data in Google Cloud Storage. */ + const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write"; + /** View and manage Genomics data. */ + const GENOMICS = "https://www.googleapis.com/auth/genomics"; + + public $beacons; + public $callsets; + public $datasets; + public $experimental_jobs; + public $jobs; + public $jobs_deprecated; + public $reads; + public $readsets; + public $variants; + + + /** + * Constructs the internal representation of the Genomics service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'genomics/v1beta/'; + $this->version = 'v1beta'; + $this->serviceName = 'genomics'; + + $this->beacons = new Google_Service_Genomics_Beacons_Resource( + $this, + $this->serviceName, + 'beacons', + array( + 'methods' => array( + 'get' => array( + 'path' => 'beacons/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'allele' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'contig' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'position' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->callsets = new Google_Service_Genomics_Callsets_Resource( + $this, + $this->serviceName, + 'callsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'callsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'callsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'callsets/{callsetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'callsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->datasets = new Google_Service_Genomics_Datasets_Resource( + $this, + $this->serviceName, + 'datasets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'datasets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'datasets', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'projectId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'patch' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'datasets/{datasetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'datasetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->experimental_jobs = new Google_Service_Genomics_ExperimentalJobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => 'experimental/jobs/create', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->jobs = new Google_Service_Genomics_Jobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'get' => array( + 'path' => 'jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->jobs_deprecated = new Google_Service_Genomics_JobsDeprecated_Resource( + $this, + $this->serviceName, + 'deprecated', + array( + 'methods' => array( + 'get' => array( + 'path' => 'jobs/deprecated/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->reads = new Google_Service_Genomics_Reads_Resource( + $this, + $this->serviceName, + 'reads', + array( + 'methods' => array( + 'get' => array( + 'path' => 'reads/{readId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'reads/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->readsets = new Google_Service_Genomics_Readsets_Resource( + $this, + $this->serviceName, + 'readsets', + array( + 'methods' => array( + 'create' => array( + 'path' => 'readsets', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'readsets/export', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'readsets/import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'readsets/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'readsets/{readsetId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'readsetId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->variants = new Google_Service_Genomics_Variants_Resource( + $this, + $this->serviceName, + 'variants', + array( + 'methods' => array( + 'create' => array( + 'path' => 'variants', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'variants/export', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'variants/import', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'patch' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'search' => array( + 'path' => 'variants/search', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'update' => array( + 'path' => 'variants/{variantId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'variantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "beacons" collection of methods. + * Typical usage is: + *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $beacons = $genomicsService->beacons;
+ *
+ */
+class Google_Service_Genomics_Beacons_Resource extends Google_Service_Resource
+{
+
+ /**
+ * This is an experimental API that provides a Global Alliance for Genomics and
+ * Health Beacon. It may change at any time. (beacons.get)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to query over. It must be public. Private datasets will return an
+ * unauthorized exception.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string allele
+ * Required. The allele to look for ('A', 'C', 'G' or 'T').
+ * @opt_param string contig
+ * Required. The contig to query over.
+ * @opt_param string position
+ * Required. The 1-based position to query at.
+ * @return Google_Service_Genomics_Beacon
+ */
+ public function get($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Beacon");
+ }
+}
+
+/**
+ * The "callsets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $callsets = $genomicsService->callsets;
+ *
+ */
+class Google_Service_Genomics_Callsets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new callset. (callsets.create)
+ *
+ * @param Google_Callset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function create(Google_Service_Genomics_Callset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Callset");
+ }
+ /**
+ * Deletes a callset. (callsets.delete)
+ *
+ * @param string $callsetId
+ * The ID of the callset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($callsetId, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a callset by ID. (callsets.get)
+ *
+ * @param string $callsetId
+ * The ID of the callset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function get($callsetId, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Callset");
+ }
+ /**
+ * Updates a callset. This method supports patch semantics. (callsets.patch)
+ *
+ * @param string $callsetId
+ * The ID of the callset to be updated.
+ * @param Google_Callset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function patch($callsetId, Google_Service_Genomics_Callset $postBody, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Callset");
+ }
+ /**
+ * Gets a list of callsets matching the criteria. (callsets.search)
+ *
+ * @param Google_SearchCallsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchCallsetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchCallsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchCallsetsResponse");
+ }
+ /**
+ * Updates a callset. (callsets.update)
+ *
+ * @param string $callsetId
+ * The ID of the callset to be updated.
+ * @param Google_Callset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Callset
+ */
+ public function update($callsetId, Google_Service_Genomics_Callset $postBody, $optParams = array())
+ {
+ $params = array('callsetId' => $callsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Callset");
+ }
+}
+
+/**
+ * The "datasets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $datasets = $genomicsService->datasets;
+ *
+ */
+class Google_Service_Genomics_Datasets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new dataset. (datasets.create)
+ *
+ * @param Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function create(Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Deletes a dataset. (datasets.delete)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a dataset by ID. (datasets.get)
+ *
+ * @param string $datasetId
+ * The ID of the dataset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function get($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Lists all datasets. (datasets.listDatasets)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, which is used to page through large result sets. To get the next page of
+ * results, set this parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string projectId
+ * Only return datasets which belong to this Google Developers Console project.
+ * @return Google_Service_Genomics_ListDatasetsResponse
+ */
+ public function listDatasets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Genomics_ListDatasetsResponse");
+ }
+ /**
+ * Updates a dataset. This method supports patch semantics. (datasets.patch)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be updated.
+ * @param Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Dataset");
+ }
+ /**
+ * Updates a dataset. (datasets.update)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be updated.
+ * @param Google_Dataset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function update($datasetId, Google_Service_Genomics_Dataset $postBody, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Dataset");
+ }
+}
+
+/**
+ * The "experimental" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $experimental = $genomicsService->experimental;
+ *
+ */
+class Google_Service_Genomics_Experimental_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $jobs = $genomicsService->jobs;
+ *
+ */
+class Google_Service_Genomics_ExperimentalJobs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates and asynchronously runs an ad-hoc job. NOTE: This is an experimental
+ * call and may vanish or change without warning. (jobs.create)
+ *
+ * @param Google_ExperimentalCreateJobRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ExperimentalCreateJobResponse
+ */
+ public function create(Google_Service_Genomics_ExperimentalCreateJobRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_ExperimentalCreateJobResponse");
+ }
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $jobs = $genomicsService->jobs;
+ *
+ */
+class Google_Service_Genomics_Jobs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a job by ID. (jobs.get)
+ *
+ * @param string $jobId
+ * The ID of the job.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Job
+ */
+ public function get($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Job");
+ }
+}
+
+/**
+ * The "deprecated" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $deprecated = $genomicsService->deprecated;
+ *
+ */
+class Google_Service_Genomics_JobsDeprecated_Resource extends Google_Service_Resource
+{
+
+ /**
+ * TODO(garrick): Remove in follow-up CL. Gets a job by ID. (deprecated.get)
+ *
+ * @param string $jobId
+ * The ID of the job.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Job
+ */
+ public function get($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Job");
+ }
+}
+
+/**
+ * The "reads" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $reads = $genomicsService->reads;
+ *
+ */
+class Google_Service_Genomics_Reads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a read by ID. (reads.get)
+ *
+ * @param string $readId
+ * The ID of the read.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Read
+ */
+ public function get($readId, $optParams = array())
+ {
+ $params = array('readId' => $readId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Read");
+ }
+ /**
+ * Gets a list of reads matching the criteria. (reads.search)
+ *
+ * @param Google_SearchReadsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReadsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsResponse");
+ }
+}
+
+/**
+ * The "readsets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $readsets = $genomicsService->readsets;
+ *
+ */
+class Google_Service_Genomics_Readsets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new readset. (readsets.create)
+ *
+ * @param Google_Readset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function create(Google_Service_Genomics_Readset $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Readset");
+ }
+ /**
+ * Deletes a readset. (readsets.delete)
+ *
+ * @param string $readsetId
+ * The ID of the readset to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($readsetId, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Exports readsets to a file. (readsets.export)
+ *
+ * @param Google_ExportReadsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ExportReadsetsResponse
+ */
+ public function export(Google_Service_Genomics_ExportReadsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_Genomics_ExportReadsetsResponse");
+ }
+ /**
+ * Gets a readset by ID. (readsets.get)
+ *
+ * @param string $readsetId
+ * The ID of the readset.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function get($readsetId, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Readset");
+ }
+ /**
+ * Creates readsets by asynchronously importing the provided information.
+ * (readsets.import)
+ *
+ * @param Google_ImportReadsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ImportReadsetsResponse
+ */
+ public function import(Google_Service_Genomics_ImportReadsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Genomics_ImportReadsetsResponse");
+ }
+ /**
+ * Updates a readset. This method supports patch semantics. (readsets.patch)
+ *
+ * @param string $readsetId
+ * The ID of the readset to be updated.
+ * @param Google_Readset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function patch($readsetId, Google_Service_Genomics_Readset $postBody, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Readset");
+ }
+ /**
+ * Gets a list of readsets matching the criteria. (readsets.search)
+ *
+ * @param Google_SearchReadsetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchReadsetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchReadsetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchReadsetsResponse");
+ }
+ /**
+ * Updates a readset. (readsets.update)
+ *
+ * @param string $readsetId
+ * The ID of the readset to be updated.
+ * @param Google_Readset $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Readset
+ */
+ public function update($readsetId, Google_Service_Genomics_Readset $postBody, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Readset");
+ }
+}
+
+/**
+ * The "variants" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $variants = $genomicsService->variants;
+ *
+ */
+class Google_Service_Genomics_Variants_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new variant. (variants.create)
+ *
+ * @param Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function create(Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Deletes a variant. (variants.delete)
+ *
+ * @param string $variantId
+ * The ID of the variant to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Exports variant data to an external destination. (variants.export)
+ *
+ * @param Google_ExportVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ExportVariantsResponse
+ */
+ public function export(Google_Service_Genomics_ExportVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_Genomics_ExportVariantsResponse");
+ }
+ /**
+ * Gets a variant by ID. (variants.get)
+ *
+ * @param string $variantId
+ * The ID of the variant.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function get($variantId, $optParams = array())
+ {
+ $params = array('variantId' => $variantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Creates variant data by asynchronously importing the provided information.
+ * (variants.import)
+ *
+ * @param Google_ImportVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_ImportVariantsResponse
+ */
+ public function import(Google_Service_Genomics_ImportVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Genomics_ImportVariantsResponse");
+ }
+ /**
+ * Updates a variant. This method supports patch semantics. (variants.patch)
+ *
+ * @param string $variantId
+ * The ID of the variant to be updated..
+ * @param Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function patch($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('variantId' => $variantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Variant");
+ }
+ /**
+ * Gets a list of variants matching the criteria. (variants.search)
+ *
+ * @param Google_SearchVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchVariantsResponse
+ */
+ public function search(Google_Service_Genomics_SearchVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchVariantsResponse");
+ }
+ /**
+ * Updates a variant. (variants.update)
+ *
+ * @param string $variantId
+ * The ID of the variant to be updated..
+ * @param Google_Variant $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function update($variantId, Google_Service_Genomics_Variant $postBody, $optParams = array())
+ {
+ $params = array('variantId' => $variantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Variant");
+ }
+}
+
+
+
+
+class Google_Service_Genomics_Beacon extends Google_Model
+{
+ public $exists;
+
+ public function setExists($exists)
+ {
+ $this->exists = $exists;
+ }
+
+ public function getExists()
+ {
+ return $this->exists;
+ }
+}
+
+class Google_Service_Genomics_Call extends Google_Collection
+{
+ public $callsetId;
+ public $callsetName;
+ public $genotype;
+ public $genotypeLikelihood;
+ public $info;
+ public $phaseset;
+
+ public function setCallsetId($callsetId)
+ {
+ $this->callsetId = $callsetId;
+ }
+
+ public function getCallsetId()
+ {
+ return $this->callsetId;
+ }
+
+ public function setCallsetName($callsetName)
+ {
+ $this->callsetName = $callsetName;
+ }
+
+ public function getCallsetName()
+ {
+ return $this->callsetName;
+ }
+
+ public function setGenotype($genotype)
+ {
+ $this->genotype = $genotype;
+ }
+
+ public function getGenotype()
+ {
+ return $this->genotype;
+ }
+
+ public function setGenotypeLikelihood($genotypeLikelihood)
+ {
+ $this->genotypeLikelihood = $genotypeLikelihood;
+ }
+
+ public function getGenotypeLikelihood()
+ {
+ return $this->genotypeLikelihood;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setPhaseset($phaseset)
+ {
+ $this->phaseset = $phaseset;
+ }
+
+ public function getPhaseset()
+ {
+ return $this->phaseset;
+ }
+}
+
+class Google_Service_Genomics_Callset extends Google_Model
+{
+ public $created;
+ public $datasetId;
+ public $id;
+ public $info;
+ public $name;
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Genomics_Dataset extends Google_Model
+{
+ public $id;
+ public $isPublic;
+ public $projectId;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIsPublic($isPublic)
+ {
+ $this->isPublic = $isPublic;
+ }
+
+ public function getIsPublic()
+ {
+ return $this->isPublic;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Google_Service_Genomics_ExperimentalCreateJobRequest extends Google_Collection
+{
+ public $align;
+ public $callVariants;
+ public $gcsOutputPath;
+ public $projectId;
+ public $sourceUris;
+
+ public function setAlign($align)
+ {
+ $this->align = $align;
+ }
+
+ public function getAlign()
+ {
+ return $this->align;
+ }
+
+ public function setCallVariants($callVariants)
+ {
+ $this->callVariants = $callVariants;
+ }
+
+ public function getCallVariants()
+ {
+ return $this->callVariants;
+ }
+
+ public function setGcsOutputPath($gcsOutputPath)
+ {
+ $this->gcsOutputPath = $gcsOutputPath;
+ }
+
+ public function getGcsOutputPath()
+ {
+ return $this->gcsOutputPath;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_ExperimentalCreateJobResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_ExportReadsetsRequest extends Google_Collection
+{
+ public $exportUri;
+ public $projectId;
+ public $readsetIds;
+
+ public function setExportUri($exportUri)
+ {
+ $this->exportUri = $exportUri;
+ }
+
+ public function getExportUri()
+ {
+ return $this->exportUri;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setReadsetIds($readsetIds)
+ {
+ $this->readsetIds = $readsetIds;
+ }
+
+ public function getReadsetIds()
+ {
+ return $this->readsetIds;
+ }
+}
+
+class Google_Service_Genomics_ExportReadsetsResponse extends Google_Model
+{
+ public $exportId;
+
+ public function setExportId($exportId)
+ {
+ $this->exportId = $exportId;
+ }
+
+ public function getExportId()
+ {
+ return $this->exportId;
+ }
+}
+
+class Google_Service_Genomics_ExportVariantsRequest extends Google_Collection
+{
+ public $callsetIds;
+ public $datasetIds;
+ public $exportUri;
+ public $format;
+ public $projectId;
+
+ public function setCallsetIds($callsetIds)
+ {
+ $this->callsetIds = $callsetIds;
+ }
+
+ public function getCallsetIds()
+ {
+ return $this->callsetIds;
+ }
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setExportUri($exportUri)
+ {
+ $this->exportUri = $exportUri;
+ }
+
+ public function getExportUri()
+ {
+ return $this->exportUri;
+ }
+
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Google_Service_Genomics_ExportVariantsResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_Header extends Google_Model
+{
+ public $sortingOrder;
+ public $version;
+
+ public function setSortingOrder($sortingOrder)
+ {
+ $this->sortingOrder = $sortingOrder;
+ }
+
+ public function getSortingOrder()
+ {
+ return $this->sortingOrder;
+ }
+
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Google_Service_Genomics_HeaderSection extends Google_Collection
+{
+ public $comments;
+ public $fileUri;
+ protected $headersType = 'Google_Service_Genomics_Header';
+ protected $headersDataType = 'array';
+ protected $programsType = 'Google_Service_Genomics_Program';
+ protected $programsDataType = 'array';
+ protected $readGroupsType = 'Google_Service_Genomics_ReadGroup';
+ protected $readGroupsDataType = 'array';
+ protected $refSequencesType = 'Google_Service_Genomics_ReferenceSequence';
+ protected $refSequencesDataType = 'array';
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+
+ public function getComments()
+ {
+ return $this->comments;
+ }
+
+ public function setFileUri($fileUri)
+ {
+ $this->fileUri = $fileUri;
+ }
+
+ public function getFileUri()
+ {
+ return $this->fileUri;
+ }
+
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function setPrograms($programs)
+ {
+ $this->programs = $programs;
+ }
+
+ public function getPrograms()
+ {
+ return $this->programs;
+ }
+
+ public function setReadGroups($readGroups)
+ {
+ $this->readGroups = $readGroups;
+ }
+
+ public function getReadGroups()
+ {
+ return $this->readGroups;
+ }
+
+ public function setRefSequences($refSequences)
+ {
+ $this->refSequences = $refSequences;
+ }
+
+ public function getRefSequences()
+ {
+ return $this->refSequences;
+ }
+}
+
+class Google_Service_Genomics_ImportReadsetsRequest extends Google_Collection
+{
+ public $datasetId;
+ public $sourceUris;
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_ImportReadsetsResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_ImportVariantsRequest extends Google_Collection
+{
+ public $datasetId;
+ public $sourceUris;
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_ImportVariantsResponse extends Google_Model
+{
+ public $jobId;
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+}
+
+class Google_Service_Genomics_Job extends Google_Collection
+{
+ public $description;
+ public $errors;
+ public $id;
+ public $importedIds;
+ public $projectId;
+ public $status;
+ public $warnings;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImportedIds($importedIds)
+ {
+ $this->importedIds = $importedIds;
+ }
+
+ public function getImportedIds()
+ {
+ return $this->importedIds;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Genomics_ListDatasetsResponse extends Google_Collection
+{
+ protected $datasetsType = 'Google_Service_Genomics_Dataset';
+ protected $datasetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setDatasets($datasets)
+ {
+ $this->datasets = $datasets;
+ }
+
+ public function getDatasets()
+ {
+ return $this->datasets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Genomics_Program extends Google_Model
+{
+ public $commandLine;
+ public $id;
+ public $name;
+ public $prevProgramId;
+ public $version;
+
+ public function setCommandLine($commandLine)
+ {
+ $this->commandLine = $commandLine;
+ }
+
+ public function getCommandLine()
+ {
+ return $this->commandLine;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPrevProgramId($prevProgramId)
+ {
+ $this->prevProgramId = $prevProgramId;
+ }
+
+ public function getPrevProgramId()
+ {
+ return $this->prevProgramId;
+ }
+
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+
+ public function getVersion()
+ {
+ return $this->version;
+ }
+}
+
+class Google_Service_Genomics_Read extends Google_Model
+{
+ public $alignedBases;
+ public $baseQuality;
+ public $cigar;
+ public $flags;
+ public $id;
+ public $mappingQuality;
+ public $matePosition;
+ public $mateReferenceSequenceName;
+ public $name;
+ public $originalBases;
+ public $position;
+ public $readsetId;
+ public $referenceSequenceName;
+ public $tags;
+ public $templateLength;
+
+ public function setAlignedBases($alignedBases)
+ {
+ $this->alignedBases = $alignedBases;
+ }
+
+ public function getAlignedBases()
+ {
+ return $this->alignedBases;
+ }
+
+ public function setBaseQuality($baseQuality)
+ {
+ $this->baseQuality = $baseQuality;
+ }
+
+ public function getBaseQuality()
+ {
+ return $this->baseQuality;
+ }
+
+ public function setCigar($cigar)
+ {
+ $this->cigar = $cigar;
+ }
+
+ public function getCigar()
+ {
+ return $this->cigar;
+ }
+
+ public function setFlags($flags)
+ {
+ $this->flags = $flags;
+ }
+
+ public function getFlags()
+ {
+ return $this->flags;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMappingQuality($mappingQuality)
+ {
+ $this->mappingQuality = $mappingQuality;
+ }
+
+ public function getMappingQuality()
+ {
+ return $this->mappingQuality;
+ }
+
+ public function setMatePosition($matePosition)
+ {
+ $this->matePosition = $matePosition;
+ }
+
+ public function getMatePosition()
+ {
+ return $this->matePosition;
+ }
+
+ public function setMateReferenceSequenceName($mateReferenceSequenceName)
+ {
+ $this->mateReferenceSequenceName = $mateReferenceSequenceName;
+ }
+
+ public function getMateReferenceSequenceName()
+ {
+ return $this->mateReferenceSequenceName;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOriginalBases($originalBases)
+ {
+ $this->originalBases = $originalBases;
+ }
+
+ public function getOriginalBases()
+ {
+ return $this->originalBases;
+ }
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+
+ public function getPosition()
+ {
+ return $this->position;
+ }
+
+ public function setReadsetId($readsetId)
+ {
+ $this->readsetId = $readsetId;
+ }
+
+ public function getReadsetId()
+ {
+ return $this->readsetId;
+ }
+
+ public function setReferenceSequenceName($referenceSequenceName)
+ {
+ $this->referenceSequenceName = $referenceSequenceName;
+ }
+
+ public function getReferenceSequenceName()
+ {
+ return $this->referenceSequenceName;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setTemplateLength($templateLength)
+ {
+ $this->templateLength = $templateLength;
+ }
+
+ public function getTemplateLength()
+ {
+ return $this->templateLength;
+ }
+}
+
+class Google_Service_Genomics_ReadGroup extends Google_Model
+{
+ public $date;
+ public $description;
+ public $flowOrder;
+ public $id;
+ public $keySequence;
+ public $library;
+ public $platformUnit;
+ public $predictedInsertSize;
+ public $processingProgram;
+ public $sample;
+ public $sequencingCenterName;
+ public $sequencingTechnology;
+
+ public function setDate($date)
+ {
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setFlowOrder($flowOrder)
+ {
+ $this->flowOrder = $flowOrder;
+ }
+
+ public function getFlowOrder()
+ {
+ return $this->flowOrder;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKeySequence($keySequence)
+ {
+ $this->keySequence = $keySequence;
+ }
+
+ public function getKeySequence()
+ {
+ return $this->keySequence;
+ }
+
+ public function setLibrary($library)
+ {
+ $this->library = $library;
+ }
+
+ public function getLibrary()
+ {
+ return $this->library;
+ }
+
+ public function setPlatformUnit($platformUnit)
+ {
+ $this->platformUnit = $platformUnit;
+ }
+
+ public function getPlatformUnit()
+ {
+ return $this->platformUnit;
+ }
+
+ public function setPredictedInsertSize($predictedInsertSize)
+ {
+ $this->predictedInsertSize = $predictedInsertSize;
+ }
+
+ public function getPredictedInsertSize()
+ {
+ return $this->predictedInsertSize;
+ }
+
+ public function setProcessingProgram($processingProgram)
+ {
+ $this->processingProgram = $processingProgram;
+ }
+
+ public function getProcessingProgram()
+ {
+ return $this->processingProgram;
+ }
+
+ public function setSample($sample)
+ {
+ $this->sample = $sample;
+ }
+
+ public function getSample()
+ {
+ return $this->sample;
+ }
+
+ public function setSequencingCenterName($sequencingCenterName)
+ {
+ $this->sequencingCenterName = $sequencingCenterName;
+ }
+
+ public function getSequencingCenterName()
+ {
+ return $this->sequencingCenterName;
+ }
+
+ public function setSequencingTechnology($sequencingTechnology)
+ {
+ $this->sequencingTechnology = $sequencingTechnology;
+ }
+
+ public function getSequencingTechnology()
+ {
+ return $this->sequencingTechnology;
+ }
+}
+
+class Google_Service_Genomics_Readset extends Google_Collection
+{
+ public $created;
+ public $datasetId;
+ protected $fileDataType = 'Google_Service_Genomics_HeaderSection';
+ protected $fileDataDataType = 'array';
+ public $id;
+ public $name;
+ public $readCount;
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setFileData($fileData)
+ {
+ $this->fileData = $fileData;
+ }
+
+ public function getFileData()
+ {
+ return $this->fileData;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setReadCount($readCount)
+ {
+ $this->readCount = $readCount;
+ }
+
+ public function getReadCount()
+ {
+ return $this->readCount;
+ }
+}
+
+class Google_Service_Genomics_ReferenceSequence extends Google_Model
+{
+ public $assemblyId;
+ public $length;
+ public $md5Checksum;
+ public $name;
+ public $species;
+ public $uri;
+
+ public function setAssemblyId($assemblyId)
+ {
+ $this->assemblyId = $assemblyId;
+ }
+
+ public function getAssemblyId()
+ {
+ return $this->assemblyId;
+ }
+
+ public function setLength($length)
+ {
+ $this->length = $length;
+ }
+
+ public function getLength()
+ {
+ return $this->length;
+ }
+
+ public function setMd5Checksum($md5Checksum)
+ {
+ $this->md5Checksum = $md5Checksum;
+ }
+
+ public function getMd5Checksum()
+ {
+ return $this->md5Checksum;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSpecies($species)
+ {
+ $this->species = $species;
+ }
+
+ public function getSpecies()
+ {
+ return $this->species;
+ }
+
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Google_Service_Genomics_SearchCallsetsRequest extends Google_Collection
+{
+ public $datasetIds;
+ public $name;
+ public $pageToken;
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchCallsetsResponse extends Google_Collection
+{
+ protected $callsetsType = 'Google_Service_Genomics_Callset';
+ protected $callsetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setCallsets($callsets)
+ {
+ $this->callsets = $callsets;
+ }
+
+ public function getCallsets()
+ {
+ return $this->callsets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
+{
+ public $pageToken;
+ public $readsetIds;
+ public $sequenceEnd;
+ public $sequenceName;
+ public $sequenceStart;
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+
+ public function setReadsetIds($readsetIds)
+ {
+ $this->readsetIds = $readsetIds;
+ }
+
+ public function getReadsetIds()
+ {
+ return $this->readsetIds;
+ }
+
+ public function setSequenceEnd($sequenceEnd)
+ {
+ $this->sequenceEnd = $sequenceEnd;
+ }
+
+ public function getSequenceEnd()
+ {
+ return $this->sequenceEnd;
+ }
+
+ public function setSequenceName($sequenceName)
+ {
+ $this->sequenceName = $sequenceName;
+ }
+
+ public function getSequenceName()
+ {
+ return $this->sequenceName;
+ }
+
+ public function setSequenceStart($sequenceStart)
+ {
+ $this->sequenceStart = $sequenceStart;
+ }
+
+ public function getSequenceStart()
+ {
+ return $this->sequenceStart;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $readsType = 'Google_Service_Genomics_Read';
+ protected $readsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setReads($reads)
+ {
+ $this->reads = $reads;
+ }
+
+ public function getReads()
+ {
+ return $this->reads;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsetsRequest extends Google_Collection
+{
+ public $datasetIds;
+ public $name;
+ public $pageToken;
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchReadsetsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $readsetsType = 'Google_Service_Genomics_Readset';
+ protected $readsetsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setReadsets($readsets)
+ {
+ $this->readsets = $readsets;
+ }
+
+ public function getReadsets()
+ {
+ return $this->readsets;
+ }
+}
+
+class Google_Service_Genomics_SearchVariantsRequest extends Google_Collection
+{
+ public $callsetIds;
+ public $callsetNames;
+ public $contig;
+ public $datasetId;
+ public $endPosition;
+ public $maxResults;
+ public $pageToken;
+ public $startPosition;
+ public $variantName;
+
+ public function setCallsetIds($callsetIds)
+ {
+ $this->callsetIds = $callsetIds;
+ }
+
+ public function getCallsetIds()
+ {
+ return $this->callsetIds;
+ }
+
+ public function setCallsetNames($callsetNames)
+ {
+ $this->callsetNames = $callsetNames;
+ }
+
+ public function getCallsetNames()
+ {
+ return $this->callsetNames;
+ }
+
+ public function setContig($contig)
+ {
+ $this->contig = $contig;
+ }
+
+ public function getContig()
+ {
+ return $this->contig;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setEndPosition($endPosition)
+ {
+ $this->endPosition = $endPosition;
+ }
+
+ public function getEndPosition()
+ {
+ return $this->endPosition;
+ }
+
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+
+ public function setStartPosition($startPosition)
+ {
+ $this->startPosition = $startPosition;
+ }
+
+ public function getStartPosition()
+ {
+ return $this->startPosition;
+ }
+
+ public function setVariantName($variantName)
+ {
+ $this->variantName = $variantName;
+ }
+
+ public function getVariantName()
+ {
+ return $this->variantName;
+ }
+}
+
+class Google_Service_Genomics_SearchVariantsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $variantsType = 'Google_Service_Genomics_Variant';
+ protected $variantsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setVariants($variants)
+ {
+ $this->variants = $variants;
+ }
+
+ public function getVariants()
+ {
+ return $this->variants;
+ }
+}
+
+class Google_Service_Genomics_Variant extends Google_Collection
+{
+ public $alternateBases;
+ protected $callsType = 'Google_Service_Genomics_Call';
+ protected $callsDataType = 'array';
+ public $contig;
+ public $created;
+ public $datasetId;
+ public $id;
+ public $info;
+ public $names;
+ public $position;
+ public $referenceBases;
+
+ public function setAlternateBases($alternateBases)
+ {
+ $this->alternateBases = $alternateBases;
+ }
+
+ public function getAlternateBases()
+ {
+ return $this->alternateBases;
+ }
+
+ public function setCalls($calls)
+ {
+ $this->calls = $calls;
+ }
+
+ public function getCalls()
+ {
+ return $this->calls;
+ }
+
+ public function setContig($contig)
+ {
+ $this->contig = $contig;
+ }
+
+ public function getContig()
+ {
+ return $this->contig;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setNames($names)
+ {
+ $this->names = $names;
+ }
+
+ public function getNames()
+ {
+ return $this->names;
+ }
+
+ public function setPosition($position)
+ {
+ $this->position = $position;
+ }
+
+ public function getPosition()
+ {
+ return $this->position;
+ }
+
+ public function setReferenceBases($referenceBases)
+ {
+ $this->referenceBases = $referenceBases;
+ }
+
+ public function getReferenceBases()
+ {
+ return $this->referenceBases;
+ }
+}
From f3ed3e4e89a286e617d29d43d4108def899474ea Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $genomicsService = new Google_Service_Genomics(...);
- * $deprecated = $genomicsService->deprecated;
- *
- */
-class Google_Service_Genomics_JobsDeprecated_Resource extends Google_Service_Resource
-{
-
- /**
- * TODO(garrick): Remove in follow-up CL. Gets a job by ID. (deprecated.get)
- *
- * @param string $jobId
- * The ID of the job.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Job
- */
- public function get($jobId, $optParams = array())
- {
- $params = array('jobId' => $jobId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Genomics_Job");
- }
-}
-
/**
* The "reads" collection of methods.
* Typical usage is:
@@ -1340,27 +1292,49 @@ public function getReadsetIds()
class Google_Service_Genomics_ExportReadsetsResponse extends Google_Model
{
- public $exportId;
+ public $jobId;
- public function setExportId($exportId)
+ public function setJobId($jobId)
{
- $this->exportId = $exportId;
+ $this->jobId = $jobId;
}
- public function getExportId()
+ public function getJobId()
{
- return $this->exportId;
+ return $this->jobId;
}
}
class Google_Service_Genomics_ExportVariantsRequest extends Google_Collection
{
+ public $bigqueryDataset;
+ public $bigqueryTable;
public $callsetIds;
public $datasetIds;
public $exportUri;
public $format;
public $projectId;
+ public function setBigqueryDataset($bigqueryDataset)
+ {
+ $this->bigqueryDataset = $bigqueryDataset;
+ }
+
+ public function getBigqueryDataset()
+ {
+ return $this->bigqueryDataset;
+ }
+
+ public function setBigqueryTable($bigqueryTable)
+ {
+ $this->bigqueryTable = $bigqueryTable;
+ }
+
+ public function getBigqueryTable()
+ {
+ return $this->bigqueryTable;
+ }
+
public function setCallsetIds($callsetIds)
{
$this->callsetIds = $callsetIds;
From acdfc1e58ee008c4850cb36ca3be7c96b95aa858 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * The Deployment Manager API allows users to declaratively configure and deploy Cloud resources on the Google Cloud Platform. + * The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform. *
* ** For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From 46396efcc62d4c1a5659ee1d7b81f7661d3dc871 Mon Sep 17 00:00:00 2001 From: Ian Barber
- * $analyticsService = new Google_Service_Analytics(...);
- * $data = $analyticsService->data;
- *
- */
-class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
-{
-
-}
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyAdWordsLinkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webproperties = new Google_Service_Analytics_ManagementWebproperties_Resource(
+ $this,
+ $this->serviceName,
+ 'webproperties',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->management_webpropertyUserLinks = new Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource(
+ $this,
+ $this->serviceName,
+ 'webpropertyUserLinks',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'max-results' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'start-index' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'webPropertyId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'linkId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metadata_columns = new Google_Service_Analytics_MetadataColumns_Resource(
+ $this,
+ $this->serviceName,
+ 'columns',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'metadata/{reportType}/columns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->provisioning = new Google_Service_Analytics_Provisioning_Resource(
+ $this,
+ $this->serviceName,
+ 'provisioning',
+ array(
+ 'methods' => array(
+ 'createAccountTicket' => array(
+ 'path' => 'provisioning/createAccountTicket',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "data" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $data = $analyticsService->data;
+ *
+ */
+class Google_Service_Analytics_Data_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "ga" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $ga = $analyticsService->ga;
+ *
+ */
+class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns Analytics data for a view (profile). (ga.get)
+ *
+ * @param string $ids
+ * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
+ * the Analytics view (profile) ID.
+ * @param string $startDate
+ * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
+ * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $endDate
+ * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
+ * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
+ * yesterday.
+ * @param string $metrics
+ * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
+ * metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of entries to include in this feed.
+ * @opt_param string sort
+ * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
+ * data.
+ * @opt_param string dimensions
+ * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @opt_param string segment
+ * An Analytics segment to be applied to data.
+ * @opt_param string samplingLevel
+ * The desired sampling level.
+ * @opt_param string filters
+ * A comma-separated list of dimension or metric filters to be applied to Analytics data.
+ * @opt_param string output
+ * The selected format for the response. Default format is JSON.
+ * @return Google_Service_Analytics_GaData
+ */
+ public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_GaData");
+ }
+}
+/**
+ * The "mcf" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $mcf = $analyticsService->mcf;
+ *
+ */
+class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
+ *
+ * @param string $ids
+ * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
+ * the Analytics view (profile) ID.
+ * @param string $startDate
+ * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
+ * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $endDate
+ * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
+ * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
+ * @param string $metrics
+ * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
+ * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of entries to include in this feed.
+ * @opt_param string sort
+ * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
+ * data.
+ * @opt_param string dimensions
+ * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @opt_param string samplingLevel
+ * The desired sampling level.
+ * @opt_param string filters
+ * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
+ * @return Google_Service_Analytics_McfData
+ */
+ public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_McfData");
+ }
+}
+/**
+ * The "realtime" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $realtime = $analyticsService->realtime;
+ *
+ */
+class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns real time data for a view (profile). (realtime.get)
+ *
+ * @param string $ids
+ * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
+ * the Analytics view (profile) ID.
+ * @param string $metrics
+ * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
+ * specified.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of entries to include in this feed.
+ * @opt_param string sort
+ * A comma-separated list of dimensions or metrics that determine the sort order for real time
+ * data.
+ * @opt_param string dimensions
+ * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
+ * @opt_param string filters
+ * A comma-separated list of dimension or metric filters to be applied to real time data.
+ * @return Google_Service_Analytics_RealtimeData
+ */
+ public function get($ids, $metrics, $optParams = array())
+ {
+ $params = array('ids' => $ids, 'metrics' => $metrics);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
+ }
+}
+
+/**
+ * The "management" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $management = $analyticsService->management;
+ *
+ */
+class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "accountSummaries" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountSummaries = $analyticsService->accountSummaries;
+ *
+ */
+class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists account summaries (lightweight tree comprised of
+ * accounts/properties/profiles) to which the user has access.
+ * (accountSummaries.listManagementAccountSummaries)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of filters to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_AccountSummaries
+ */
+ public function listManagementAccountSummaries($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
+ }
+}
+/**
+ * The "accountUserLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accountUserLinks = $analyticsService->accountUserLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given account. (accountUserLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the user link for.
+ * @param string $linkId
+ * Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a new user to the given account. (accountUserLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+ /**
+ * Lists account-user links for a given account.
+ * (accountUserLinks.listManagementAccountUserLinks)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the user links for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of account-user links to include in this response.
+ * @opt_param int start-index
+ * An index of the first account-user link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementAccountUserLinks($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ }
+ /**
+ * Updates permissions for an existing user on the given account.
+ * (accountUserLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to update the account-user link for.
+ * @param string $linkId
+ * Link ID to update the account-user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+}
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $accounts = $analyticsService->accounts;
+ *
+ */
+class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all accounts to which the user has access.
+ * (accounts.listManagementAccounts)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of accounts to include in this response.
+ * @opt_param int start-index
+ * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Accounts
+ */
+ public function listManagementAccounts($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
+ }
+}
+/**
+ * The "customDataSources" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $customDataSources = $analyticsService->customDataSources;
+ *
+ */
+class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List custom data sources to which the user has access.
+ * (customDataSources.listManagementCustomDataSources)
+ *
+ * @param string $accountId
+ * Account Id for the custom data sources to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the custom data sources to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of custom data sources to include in this response.
+ * @opt_param int start-index
+ * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_CustomDataSources
+ */
+ public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
+ }
+}
+/**
+ * The "dailyUploads" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $dailyUploads = $analyticsService->dailyUploads;
+ *
+ */
+class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete uploaded data for the given date. (dailyUploads.delete)
+ *
+ * @param string $accountId
+ * Account Id associated with daily upload delete.
+ * @param string $webPropertyId
+ * Web property Id associated with daily upload delete.
+ * @param string $customDataSourceId
+ * Custom data source Id associated with daily upload delete.
+ * @param string $date
+ * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
+ * @param string $type
+ * Type of data for this delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * List daily uploads to which the user has access.
+ * (dailyUploads.listManagementDailyUploads)
+ *
+ * @param string $accountId
+ * Account Id for the daily uploads to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the daily uploads to retrieve.
+ * @param string $customDataSourceId
+ * Custom data source Id for daily uploads to retrieve.
+ * @param string $startDate
+ * Start date of the form YYYY-MM-DD.
+ * @param string $endDate
+ * End date of the form YYYY-MM-DD.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of custom data sources to include in this response.
+ * @opt_param int start-index
+ * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_DailyUploads
+ */
+ public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
+ }
+ /**
+ * Update/Overwrite data for a custom data source. (dailyUploads.upload)
+ *
+ * @param string $accountId
+ * Account Id associated with daily upload.
+ * @param string $webPropertyId
+ * Web property Id associated with daily upload.
+ * @param string $customDataSourceId
+ * Custom data source Id to which the data being uploaded belongs.
+ * @param string $date
+ * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
+ * @param int $appendNumber
+ * Append number for this upload indexed from 1.
+ * @param string $type
+ * Type of data for this upload.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool reset
+ * Reset/Overwrite all previous appends for this date and start over with this file as the first
+ * upload.
+ * @return Google_Service_Analytics_DailyUploadAppend
+ */
+ public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
+ }
+}
+/**
+ * The "experiments" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $experiments = $analyticsService->experiments;
+ *
+ */
+class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete an experiment. (experiments.delete)
+ *
+ * @param string $accountId
+ * Account ID to which the experiment belongs
+ * @param string $webPropertyId
+ * Web property ID to which the experiment belongs
+ * @param string $profileId
+ * View (Profile) ID to which the experiment belongs
+ * @param string $experimentId
+ * ID of the experiment to delete
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns an experiment to which the user has access. (experiments.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the experiment for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the experiment for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the experiment for.
+ * @param string $experimentId
+ * Experiment ID to retrieve the experiment for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
+ }
+ /**
+ * Create a new experiment. (experiments.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the experiment for.
+ * @param string $webPropertyId
+ * Web property ID to create the experiment for.
+ * @param string $profileId
+ * View (Profile) ID to create the experiment for.
+ * @param Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
+ }
+ /**
+ * Lists experiments to which the user has access.
+ * (experiments.listManagementExperiments)
+ *
+ * @param string $accountId
+ * Account ID to retrieve experiments for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve experiments for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve experiments for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of experiments to include in this response.
+ * @opt_param int start-index
+ * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Experiments
+ */
+ public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
+ }
+ /**
+ * Update an existing experiment. This method supports patch semantics.
+ * (experiments.patch)
+ *
+ * @param string $accountId
+ * Account ID of the experiment to update.
+ * @param string $webPropertyId
+ * Web property ID of the experiment to update.
+ * @param string $profileId
+ * View (Profile) ID of the experiment to update.
+ * @param string $experimentId
+ * Experiment ID of the experiment to update.
+ * @param Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
+ }
+ /**
+ * Update an existing experiment. (experiments.update)
+ *
+ * @param string $accountId
+ * Account ID of the experiment to update.
+ * @param string $webPropertyId
+ * Web property ID of the experiment to update.
+ * @param string $profileId
+ * View (Profile) ID of the experiment to update.
+ * @param string $experimentId
+ * Experiment ID of the experiment to update.
+ * @param Google_Experiment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Experiment
+ */
+ public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
+ }
+}
+/**
+ * The "filters" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $filters = $analyticsService->filters;
+ *
+ */
+class Google_Service_Analytics_ManagementFilters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a filter. (filters.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the filter for.
+ * @param string $filterId
+ * ID of the filter to be deleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function delete($accountId, $filterId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Returns a filters to which the user has access. (filters.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve filters for.
+ * @param string $filterId
+ * Filter ID to retrieve filters for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function get($accountId, $filterId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Create a new filter. (filters.insert)
+ *
+ * @param string $accountId
+ * Account ID to create filter for.
+ * @param Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function insert($accountId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Lists all filters for an account (filters.listManagementFilters)
+ *
+ * @param string $accountId
+ * Account ID to retrieve filters for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of filters to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Filters
+ */
+ public function listManagementFilters($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Filters");
+ }
+ /**
+ * Updates an existing filter. This method supports patch semantics.
+ * (filters.patch)
+ *
+ * @param string $accountId
+ * Account ID to which the filter belongs.
+ * @param string $filterId
+ * ID of the filter to be updated.
+ * @param Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function patch($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Filter");
+ }
+ /**
+ * Updates an existing filter. (filters.update)
+ *
+ * @param string $accountId
+ * Account ID to which the filter belongs.
+ * @param string $filterId
+ * ID of the filter to be updated.
+ * @param Google_Filter $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Filter
+ */
+ public function update($accountId, $filterId, Google_Service_Analytics_Filter $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Filter");
+ }
+}
+/**
+ * The "goals" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $goals = $analyticsService->goals;
+ *
+ */
+class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a goal to which the user has access. (goals.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the goal for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the goal for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the goal for.
+ * @param string $goalId
+ * Goal ID to retrieve the goal for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Create a new goal. (goals.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the goal for.
+ * @param string $webPropertyId
+ * Web property ID to create the goal for.
+ * @param string $profileId
+ * View (Profile) ID to create the goal for.
+ * @param Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Lists goals to which the user has access. (goals.listManagementGoals)
+ *
+ * @param string $accountId
+ * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
+ * all the accounts that user has access to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
+ * refers to all the web properties that user has access to.
+ * @param string $profileId
+ * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
+ * which refers to all the views (profiles) that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of goals to include in this response.
+ * @opt_param int start-index
+ * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
+ * the max-results parameter.
+ * @return Google_Service_Analytics_Goals
+ */
+ public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Goals");
+ }
+ /**
+ * Updates an existing view (profile). This method supports patch semantics.
+ * (goals.patch)
+ *
+ * @param string $accountId
+ * Account ID to update the goal.
+ * @param string $webPropertyId
+ * Web property ID to update the goal.
+ * @param string $profileId
+ * View (Profile) ID to update the goal.
+ * @param string $goalId
+ * Index of the goal to be updated.
+ * @param Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
+ }
+ /**
+ * Updates an existing view (profile). (goals.update)
+ *
+ * @param string $accountId
+ * Account ID to update the goal.
+ * @param string $webPropertyId
+ * Web property ID to update the goal.
+ * @param string $profileId
+ * View (Profile) ID to update the goal.
+ * @param string $goalId
+ * Index of the goal to be updated.
+ * @param Google_Goal $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Goal
+ */
+ public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Goal");
+ }
+}
+/**
+ * The "profileFilterLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profileFilterLinks = $analyticsService->profileFilterLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementProfileFilterLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a profile filter link. (profileFilterLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to which the profile filter link belongs.
+ * @param string $webPropertyId
+ * Web property Id to which the profile filter link belongs.
+ * @param string $profileId
+ * Profile ID to which the filter link belongs.
+ * @param string $linkId
+ * ID of the profile filter link to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns a single profile filter link. (profileFilterLinks.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve profile filter link for.
+ * @param string $webPropertyId
+ * Web property Id to retrieve profile filter link for.
+ * @param string $profileId
+ * Profile ID to retrieve filter link for.
+ * @param string $linkId
+ * ID of the profile filter link.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+ /**
+ * Create a new profile filter link. (profileFilterLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create profile filter link for.
+ * @param string $webPropertyId
+ * Web property Id to create profile filter link for.
+ * @param string $profileId
+ * Profile ID to create filter link for.
+ * @param Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+ /**
+ * Lists all profile filter links for a profile.
+ * (profileFilterLinks.listManagementProfileFilterLinks)
+ *
+ * @param string $accountId
+ * Account ID to retrieve profile filter links for.
+ * @param string $webPropertyId
+ * Web property Id for profile filter links for. Can either be a specific web property ID or
+ * '~all', which refers to all the web properties that user has access to.
+ * @param string $profileId
+ * Profile ID to retrieve filter links for. Can either be a specific profile ID or '~all', which
+ * refers to all the profiles that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of profile filter links to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_ProfileFilterLinks
+ */
+ public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_ProfileFilterLinks");
+ }
+ /**
+ * Update an existing profile filter link. This method supports patch semantics.
+ * (profileFilterLinks.patch)
+ *
+ * @param string $accountId
+ * Account ID to which profile filter link belongs.
+ * @param string $webPropertyId
+ * Web property Id to which profile filter link belongs
+ * @param string $profileId
+ * Profile ID to which filter link belongs
+ * @param string $linkId
+ * ID of the profile filter link to be updated.
+ * @param Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function patch($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+ /**
+ * Update an existing profile filter link. (profileFilterLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to which profile filter link belongs.
+ * @param string $webPropertyId
+ * Web property Id to which profile filter link belongs
+ * @param string $profileId
+ * Profile ID to which filter link belongs
+ * @param string $linkId
+ * ID of the profile filter link to be updated.
+ * @param Google_ProfileFilterLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_ProfileFilterLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_ProfileFilterLink");
+ }
+}
+/**
+ * The "profileUserLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profileUserLinks = $analyticsService->profileUserLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given view (profile). (profileUserLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to delete the user link for.
+ * @param string $profileId
+ * View (Profile) ID to delete the user link for.
+ * @param string $linkId
+ * Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a new user to the given view (profile). (profileUserLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to create the user link for.
+ * @param string $profileId
+ * View (Profile) ID to create the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+ /**
+ * Lists profile-user links for a given view (profile).
+ * (profileUserLinks.listManagementProfileUserLinks)
+ *
+ * @param string $accountId
+ * Account ID which the given view (profile) belongs to.
+ * @param string $webPropertyId
+ * Web Property ID which the given view (profile) belongs to.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the profile-user links for
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of profile-user links to include in this response.
+ * @opt_param int start-index
+ * An index of the first profile-user link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ }
+ /**
+ * Updates permissions for an existing user on the given view (profile).
+ * (profileUserLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to update the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to update the user link for.
+ * @param string $profileId
+ * View (Profile ID) to update the user link for.
+ * @param string $linkId
+ * Link ID to update the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+}
+/**
+ * The "profiles" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $profiles = $analyticsService->profiles;
+ *
+ */
+class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a view (profile). (profiles.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the view (profile) for.
+ * @param string $webPropertyId
+ * Web property ID to delete the view (profile) for.
+ * @param string $profileId
+ * ID of the view (profile) to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a view (profile) to which the user has access. (profiles.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the goal for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the goal for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve the goal for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function get($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Profile");
+ }
+ /**
+ * Create a new view (profile). (profiles.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the view (profile) for.
+ * @param string $webPropertyId
+ * Web property ID to create the view (profile) for.
+ * @param Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
+ }
+ /**
+ * Lists views (profiles) to which the user has access.
+ * (profiles.listManagementProfiles)
+ *
+ * @param string $accountId
+ * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
+ * which refers to all the accounts to which the user has access.
+ * @param string $webPropertyId
+ * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
+ * or '~all', which refers to all the web properties to which the user has access.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of views (profiles) to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Profiles
+ */
+ public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
+ }
+ /**
+ * Updates an existing view (profile). This method supports patch semantics.
+ * (profiles.patch)
+ *
+ * @param string $accountId
+ * Account ID to which the view (profile) belongs
+ * @param string $webPropertyId
+ * Web property ID to which the view (profile) belongs
+ * @param string $profileId
+ * ID of the view (profile) to be updated.
+ * @param Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
+ }
+ /**
+ * Updates an existing view (profile). (profiles.update)
+ *
+ * @param string $accountId
+ * Account ID to which the view (profile) belongs
+ * @param string $webPropertyId
+ * Web property ID to which the view (profile) belongs
+ * @param string $profileId
+ * ID of the view (profile) to be updated.
+ * @param Google_Profile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Profile
+ */
+ public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Profile");
+ }
+}
+/**
+ * The "segments" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $segments = $analyticsService->segments;
+ *
+ */
+class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists segments to which the user has access.
+ * (segments.listManagementSegments)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of segments to include in this response.
+ * @opt_param int start-index
+ * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Segments
+ */
+ public function listManagementSegments($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Segments");
+ }
+}
+/**
+ * The "unsampledReports" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $unsampledReports = $analyticsService->unsampledReports;
+ *
+ */
+class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a single unsampled report. (unsampledReports.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve unsampled report for.
+ * @param string $webPropertyId
+ * Web property ID to retrieve unsampled reports for.
+ * @param string $profileId
+ * View (Profile) ID to retrieve unsampled report for.
+ * @param string $unsampledReportId
+ * ID of the unsampled report to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_UnsampledReport
+ */
+ public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport");
+ }
+ /**
+ * Create a new unsampled report. (unsampledReports.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the unsampled report for.
+ * @param string $webPropertyId
+ * Web property ID to create the unsampled report for.
+ * @param string $profileId
+ * View (Profile) ID to create the unsampled report for.
+ * @param Google_UnsampledReport $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_UnsampledReport
+ */
+ public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport");
+ }
+ /**
+ * Lists unsampled reports to which the user has access.
+ * (unsampledReports.listManagementUnsampledReports)
+ *
+ * @param string $accountId
+ * Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not
+ * supported.
+ * @param string $webPropertyId
+ * Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is
+ * not supported.
+ * @param string $profileId
+ * View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all
+ * is not supported.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of unsampled reports to include in this response.
+ * @opt_param int start-index
+ * An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism
+ * along with the max-results parameter.
+ * @return Google_Service_Analytics_UnsampledReports
+ */
+ public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports");
+ }
+}
+/**
+ * The "uploads" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $uploads = $analyticsService->uploads;
+ *
+ */
+class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete data associated with a previous upload. (uploads.deleteUploadData)
+ *
+ * @param string $accountId
+ * Account Id for the uploads to be deleted.
+ * @param string $webPropertyId
+ * Web property Id for the uploads to be deleted.
+ * @param string $customDataSourceId
+ * Custom data source Id for the uploads to be deleted.
+ * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteUploadData', array($params));
+ }
+ /**
+ * List uploads to which the user has access. (uploads.get)
+ *
+ * @param string $accountId
+ * Account Id for the upload to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the upload to retrieve.
+ * @param string $customDataSourceId
+ * Custom data source Id for upload to retrieve.
+ * @param string $uploadId
+ * Upload Id to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Upload
+ */
+ public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Upload");
+ }
+ /**
+ * List uploads to which the user has access. (uploads.listManagementUploads)
+ *
+ * @param string $accountId
+ * Account Id for the uploads to retrieve.
+ * @param string $webPropertyId
+ * Web property Id for the uploads to retrieve.
+ * @param string $customDataSourceId
+ * Custom data source Id for uploads to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of uploads to include in this response.
+ * @opt_param int start-index
+ * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
+ * along with the max-results parameter.
+ * @return Google_Service_Analytics_Uploads
+ */
+ public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
+ }
+ /**
+ * Upload data for a custom data source. (uploads.uploadData)
+ *
+ * @param string $accountId
+ * Account Id associated with the upload.
+ * @param string $webPropertyId
+ * Web property UA-string associated with the upload.
+ * @param string $customDataSourceId
+ * Custom data source Id to which the data being uploaded belongs.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Upload
+ */
+ public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
+ }
+}
+/**
+ * The "webPropertyAdWordsLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to delete the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property AdWords link ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns a web property-AdWords link to which the user has access.
+ * (webPropertyAdWordsLinks.get)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property-AdWords link ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+ /**
+ * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert)
+ *
+ * @param string $accountId
+ * ID of the Google Analytics account to create the link for.
+ * @param string $webPropertyId
+ * Web property ID to create the link for.
+ * @param Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+ /**
+ * Lists webProperty-AdWords links for a given web property.
+ * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords links for.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of webProperty-AdWords links to include in this response.
+ * @opt_param int start-index
+ * An index of the first webProperty-AdWords link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityAdWordsLinks
+ */
+ public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityAdWordsLinks");
+ }
+ /**
+ * Updates an existing webProperty-AdWords link. This method supports patch
+ * semantics. (webPropertyAdWordsLinks.patch)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property-AdWords link ID.
+ * @param Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+ /**
+ * Updates an existing webProperty-AdWords link.
+ * (webPropertyAdWordsLinks.update)
+ *
+ * @param string $accountId
+ * ID of the account which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web property ID to retrieve the AdWords link for.
+ * @param string $webPropertyAdWordsLinkId
+ * Web property-AdWords link ID.
+ * @param Google_EntityAdWordsLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityAdWordsLink
+ */
+ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, Google_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityAdWordsLink");
+ }
+}
+/**
+ * The "webproperties" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webproperties = $analyticsService->webproperties;
+ *
+ */
+class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a web property to which the user has access. (webproperties.get)
+ *
+ * @param string $accountId
+ * Account ID to retrieve the web property for.
+ * @param string $webPropertyId
+ * ID to retrieve the web property for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function get($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
+ }
+ /**
+ * Create a new property if the account has fewer than 20 properties. Web
+ * properties are visible in the Google Analytics interface only if they have at
+ * least one profile. (webproperties.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the web property for.
+ * @param Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
+ }
+ /**
+ * Lists web properties to which the user has access.
+ * (webproperties.listManagementWebproperties)
+ *
+ * @param string $accountId
+ * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
+ * refers to all the accounts that user has access to.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of web properties to include in this response.
+ * @opt_param int start-index
+ * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
+ * with the max-results parameter.
+ * @return Google_Service_Analytics_Webproperties
+ */
+ public function listManagementWebproperties($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
+ }
+ /**
+ * Updates an existing web property. This method supports patch semantics.
+ * (webproperties.patch)
+ *
+ * @param string $accountId
+ * Account ID to which the web property belongs
+ * @param string $webPropertyId
+ * Web property ID
+ * @param Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
+ }
+ /**
+ * Updates an existing web property. (webproperties.update)
+ *
+ * @param string $accountId
+ * Account ID to which the web property belongs
+ * @param string $webPropertyId
+ * Web property ID
+ * @param Google_Webproperty $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Webproperty
+ */
+ public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
+ }
+}
+/**
+ * The "webpropertyUserLinks" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
+ *
+ */
+class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes a user from the given web property. (webpropertyUserLinks.delete)
+ *
+ * @param string $accountId
+ * Account ID to delete the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to delete the user link for.
+ * @param string $linkId
+ * Link ID to delete the user link for.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Adds a new user to the given web property. (webpropertyUserLinks.insert)
+ *
+ * @param string $accountId
+ * Account ID to create the user link for.
+ * @param string $webPropertyId
+ * Web Property ID to create the user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+ /**
+ * Lists webProperty-user links for a given web property.
+ * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
+ *
+ * @param string $accountId
+ * Account ID which the given web property belongs to.
+ * @param string $webPropertyId
+ * Web Property ID for the webProperty-user links to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results
+ * The maximum number of webProperty-user Links to include in this response.
+ * @opt_param int start-index
+ * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
+ * mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_EntityUserLinks
+ */
+ public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ }
+ /**
+ * Updates permissions for an existing user on the given web property.
+ * (webpropertyUserLinks.update)
+ *
+ * @param string $accountId
+ * Account ID to update the account-user link for.
+ * @param string $webPropertyId
+ * Web property ID to update the account-user link for.
+ * @param string $linkId
+ * Link ID to update the account-user link for.
+ * @param Google_EntityUserLink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_EntityUserLink
+ */
+ public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ }
+}
+
+/**
+ * The "metadata" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $metadata = $analyticsService->metadata;
+ *
+ */
+class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "columns" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $columns = $analyticsService->columns;
+ *
+ */
+class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all columns for a report type (columns.listMetadataColumns)
+ *
+ * @param string $reportType
+ * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_Columns
+ */
+ public function listMetadataColumns($reportType, $optParams = array())
+ {
+ $params = array('reportType' => $reportType);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_Columns");
+ }
+}
+
+/**
+ * The "provisioning" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $provisioning = $analyticsService->provisioning;
+ *
+ */
+class Google_Service_Analytics_Provisioning_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates an account ticket. (provisioning.createAccountTicket)
+ *
+ * @param Google_AccountTicket $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_AccountTicket
+ */
+ public function createAccountTicket(Google_Service_Analytics_AccountTicket $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('createAccountTicket', array($params), "Google_Service_Analytics_AccountTicket");
+ }
+}
+
+
+
+
+class Google_Service_Analytics_Account extends Google_Model
+{
+ protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $id;
+ public $kind;
+ public $name;
+ protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $updated;
+
+ public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
+ {
+ $this->childLink = $childLink;
+ }
+
+ public function getChildLink()
+ {
+ return $this->childLink;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
+ {
+ $this->permissions = $permissions;
+ }
+
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Google_Service_Analytics_AccountChildLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_AccountPermissions extends Google_Collection
+{
+ public $effective;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+}
+
+class Google_Service_Analytics_AccountRef extends Google_Model
+{
+ public $href;
+ public $id;
+ public $kind;
+ public $name;
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Analytics_AccountSummaries extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_AccountSummary';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Analytics_AccountSummary extends Google_Collection
+{
+ public $id;
+ public $kind;
+ public $name;
+ protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
+ protected $webPropertiesDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setWebProperties($webProperties)
+ {
+ $this->webProperties = $webProperties;
+ }
+
+ public function getWebProperties()
+ {
+ return $this->webProperties;
+ }
+}
+
+class Google_Service_Analytics_AccountTicket extends Google_Model
+{
+ protected $accountType = 'Google_Service_Analytics_Account';
+ protected $accountDataType = '';
+ public $id;
+ public $kind;
+ protected $profileType = 'Google_Service_Analytics_Profile';
+ protected $profileDataType = '';
+ public $redirectUri;
+ protected $webpropertyType = 'Google_Service_Analytics_Webproperty';
+ protected $webpropertyDataType = '';
+
+ public function setAccount(Google_Service_Analytics_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProfile(Google_Service_Analytics_Profile $profile)
+ {
+ $this->profile = $profile;
+ }
+
+ public function getProfile()
+ {
+ return $this->profile;
+ }
+
+ public function setRedirectUri($redirectUri)
+ {
+ $this->redirectUri = $redirectUri;
+ }
+
+ public function getRedirectUri()
+ {
+ return $this->redirectUri;
+ }
+
+ public function setWebproperty(Google_Service_Analytics_Webproperty $webproperty)
+ {
+ $this->webproperty = $webproperty;
+ }
+
+ public function getWebproperty()
+ {
+ return $this->webproperty;
+ }
+}
+
+class Google_Service_Analytics_Accounts extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Account';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
-/**
- * The "ga" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $ga = $analyticsService->ga;
- *
- */
-class Google_Service_Analytics_DataGa_Resource extends Google_Service_Resource
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Analytics_AdWordsAccount extends Google_Model
{
+ public $autoTaggingEnabled;
+ public $customerId;
+ public $kind;
+ public $name;
- /**
- * Returns Analytics data for a view (profile). (ga.get)
- *
- * @param string $ids
- * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
- * the Analytics view (profile) ID.
- * @param string $startDate
- * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
- * @param string $endDate
- * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
- * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
- * yesterday.
- * @param string $metrics
- * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
- * metric must be specified.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of entries to include in this feed.
- * @opt_param string sort
- * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
- * data.
- * @opt_param string dimensions
- * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @opt_param string segment
- * An Analytics segment to be applied to data.
- * @opt_param string samplingLevel
- * The desired sampling level.
- * @opt_param string filters
- * A comma-separated list of dimension or metric filters to be applied to Analytics data.
- * @opt_param string output
- * The selected format for the response. Default format is JSON.
- * @return Google_Service_Analytics_GaData
- */
- public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ public function setAutoTaggingEnabled($autoTaggingEnabled)
{
- $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_GaData");
+ $this->autoTaggingEnabled = $autoTaggingEnabled;
+ }
+
+ public function getAutoTaggingEnabled()
+ {
+ return $this->autoTaggingEnabled;
+ }
+
+ public function setCustomerId($customerId)
+ {
+ $this->customerId = $customerId;
+ }
+
+ public function getCustomerId()
+ {
+ return $this->customerId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
}
}
-/**
- * The "mcf" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $mcf = $analyticsService->mcf;
- *
- */
-class Google_Service_Analytics_DataMcf_Resource extends Google_Service_Resource
+
+class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
+{
+ public $customDataImportUids;
+
+ public function setCustomDataImportUids($customDataImportUids)
+ {
+ $this->customDataImportUids = $customDataImportUids;
+ }
+
+ public function getCustomDataImportUids()
+ {
+ return $this->customDataImportUids;
+ }
+}
+
+class Google_Service_Analytics_Column extends Google_Model
{
+ public $attributes;
+ public $id;
+ public $kind;
- /**
- * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
- *
- * @param string $ids
- * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
- * the Analytics view (profile) ID.
- * @param string $startDate
- * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
- * @param string $endDate
- * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
- * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
- * @param string $metrics
- * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
- * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of entries to include in this feed.
- * @opt_param string sort
- * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
- * data.
- * @opt_param string dimensions
- * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @opt_param string samplingLevel
- * The desired sampling level.
- * @opt_param string filters
- * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
- * @return Google_Service_Analytics_McfData
- */
- public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Analytics_Columns extends Google_Collection
+{
+ public $attributeNames;
+ public $etag;
+ protected $itemsType = 'Google_Service_Analytics_Column';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $totalResults;
+
+ public function setAttributeNames($attributeNames)
+ {
+ $this->attributeNames = $attributeNames;
+ }
+
+ public function getAttributeNames()
+ {
+ return $this->attributeNames;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTotalResults($totalResults)
{
- $params = array('ids' => $ids, 'start-date' => $startDate, 'end-date' => $endDate, 'metrics' => $metrics);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_McfData");
+ $this->totalResults = $totalResults;
}
-}
-/**
- * The "realtime" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $realtime = $analyticsService->realtime;
- *
- */
-class Google_Service_Analytics_DataRealtime_Resource extends Google_Service_Resource
-{
- /**
- * Returns real time data for a view (profile). (realtime.get)
- *
- * @param string $ids
- * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
- * the Analytics view (profile) ID.
- * @param string $metrics
- * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
- * specified.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of entries to include in this feed.
- * @opt_param string sort
- * A comma-separated list of dimensions or metrics that determine the sort order for real time
- * data.
- * @opt_param string dimensions
- * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
- * @opt_param string filters
- * A comma-separated list of dimension or metric filters to be applied to real time data.
- * @return Google_Service_Analytics_RealtimeData
- */
- public function get($ids, $metrics, $optParams = array())
+ public function getTotalResults()
{
- $params = array('ids' => $ids, 'metrics' => $metrics);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_RealtimeData");
+ return $this->totalResults;
}
}
-/**
- * The "management" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $management = $analyticsService->management;
- *
- */
-class Google_Service_Analytics_Management_Resource extends Google_Service_Resource
+class Google_Service_Analytics_CustomDataSource extends Google_Collection
{
+ public $accountId;
+ protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
+ protected $parentLinkDataType = '';
+ public $profilesLinked;
+ public $selfLink;
+ public $type;
+ public $updated;
+ public $webPropertyId;
-}
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
-/**
- * The "accountSummaries" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $accountSummaries = $analyticsService->accountSummaries;
- *
- */
-class Google_Service_Analytics_ManagementAccountSummaries_Resource extends Google_Service_Resource
-{
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
- /**
- * Lists account summaries (lightweight tree comprised of
- * accounts/properties/profiles) to which the user has access.
- * (accountSummaries.listManagementAccountSummaries)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of filters to include in this response.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_AccountSummaries
- */
- public function listManagementAccountSummaries($optParams = array())
+ public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_AccountSummaries");
+ $this->childLink = $childLink;
}
-}
-/**
- * The "accountUserLinks" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $accountUserLinks = $analyticsService->accountUserLinks;
- *
- */
-class Google_Service_Analytics_ManagementAccountUserLinks_Resource extends Google_Service_Resource
-{
- /**
- * Removes a user from the given account. (accountUserLinks.delete)
- *
- * @param string $accountId
- * Account ID to delete the user link for.
- * @param string $linkId
- * Link ID to delete the user link for.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $linkId, $optParams = array())
+ public function getChildLink()
{
- $params = array('accountId' => $accountId, 'linkId' => $linkId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->childLink;
}
- /**
- * Adds a new user to the given account. (accountUserLinks.insert)
- *
- * @param string $accountId
- * Account ID to create the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function insert($accountId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setCreated($created)
{
- $params = array('accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->created = $created;
}
- /**
- * Lists account-user links for a given account.
- * (accountUserLinks.listManagementAccountUserLinks)
- *
- * @param string $accountId
- * Account ID to retrieve the user links for.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of account-user links to include in this response.
- * @opt_param int start-index
- * An index of the first account-user link to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_EntityUserLinks
- */
- public function listManagementAccountUserLinks($accountId, $optParams = array())
+
+ public function getCreated()
{
- $params = array('accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ return $this->created;
}
- /**
- * Updates permissions for an existing user on the given account.
- * (accountUserLinks.update)
- *
- * @param string $accountId
- * Account ID to update the account-user link for.
- * @param string $linkId
- * Link ID to update the account-user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function update($accountId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setDescription($description)
{
- $params = array('accountId' => $accountId, 'linkId' => $linkId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->description = $description;
}
-}
-/**
- * The "accounts" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $accounts = $analyticsService->accounts;
- *
- */
-class Google_Service_Analytics_ManagementAccounts_Resource extends Google_Service_Resource
-{
- /**
- * Lists all accounts to which the user has access.
- * (accounts.listManagementAccounts)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of accounts to include in this response.
- * @opt_param int start-index
- * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Accounts
- */
- public function listManagementAccounts($optParams = array())
+ public function getDescription()
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Accounts");
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
}
-}
-/**
- * The "customDataSources" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $customDataSources = $analyticsService->customDataSources;
- *
- */
-class Google_Service_Analytics_ManagementCustomDataSources_Resource extends Google_Service_Resource
-{
- /**
- * List custom data sources to which the user has access.
- * (customDataSources.listManagementCustomDataSources)
- *
- * @param string $accountId
- * Account Id for the custom data sources to retrieve.
- * @param string $webPropertyId
- * Web property Id for the custom data sources to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of custom data sources to include in this response.
- * @opt_param int start-index
- * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_CustomDataSources
- */
- public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
+ public function getName()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_CustomDataSources");
+ return $this->name;
}
-}
-/**
- * The "dailyUploads" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $dailyUploads = $analyticsService->dailyUploads;
- *
- */
-class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
-{
- /**
- * Delete uploaded data for the given date. (dailyUploads.delete)
- *
- * @param string $accountId
- * Account Id associated with daily upload delete.
- * @param string $webPropertyId
- * Web property Id associated with daily upload delete.
- * @param string $customDataSourceId
- * Custom data source Id associated with daily upload delete.
- * @param string $date
- * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
- * @param string $type
- * Type of data for this delete.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ $this->parentLink = $parentLink;
}
- /**
- * List daily uploads to which the user has access.
- * (dailyUploads.listManagementDailyUploads)
- *
- * @param string $accountId
- * Account Id for the daily uploads to retrieve.
- * @param string $webPropertyId
- * Web property Id for the daily uploads to retrieve.
- * @param string $customDataSourceId
- * Custom data source Id for daily uploads to retrieve.
- * @param string $startDate
- * Start date of the form YYYY-MM-DD.
- * @param string $endDate
- * End date of the form YYYY-MM-DD.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of custom data sources to include in this response.
- * @opt_param int start-index
- * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_DailyUploads
- */
- public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+
+ public function getParentLink()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
+ return $this->parentLink;
}
- /**
- * Update/Overwrite data for a custom data source. (dailyUploads.upload)
- *
- * @param string $accountId
- * Account Id associated with daily upload.
- * @param string $webPropertyId
- * Web property Id associated with daily upload.
- * @param string $customDataSourceId
- * Custom data source Id to which the data being uploaded belongs.
- * @param string $date
- * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
- * @param int $appendNumber
- * Append number for this upload indexed from 1.
- * @param string $type
- * Type of data for this upload.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool reset
- * Reset/Overwrite all previous appends for this date and start over with this file as the first
- * upload.
- * @return Google_Service_Analytics_DailyUploadAppend
- */
- public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
+
+ public function setProfilesLinked($profilesLinked)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
+ $this->profilesLinked = $profilesLinked;
}
-}
-/**
- * The "experiments" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $experiments = $analyticsService->experiments;
- *
- */
-class Google_Service_Analytics_ManagementExperiments_Resource extends Google_Service_Resource
-{
- /**
- * Delete an experiment. (experiments.delete)
- *
- * @param string $accountId
- * Account ID to which the experiment belongs
- * @param string $webPropertyId
- * Web property ID to which the experiment belongs
- * @param string $profileId
- * View (Profile) ID to which the experiment belongs
- * @param string $experimentId
- * ID of the experiment to delete
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+ public function getProfilesLinked()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->profilesLinked;
}
- /**
- * Returns an experiment to which the user has access. (experiments.get)
- *
- * @param string $accountId
- * Account ID to retrieve the experiment for.
- * @param string $webPropertyId
- * Web property ID to retrieve the experiment for.
- * @param string $profileId
- * View (Profile) ID to retrieve the experiment for.
- * @param string $experimentId
- * Experiment ID to retrieve the experiment for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
+
+ public function setSelfLink($selfLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Experiment");
+ $this->selfLink = $selfLink;
}
- /**
- * Create a new experiment. (experiments.insert)
- *
- * @param string $accountId
- * Account ID to create the experiment for.
- * @param string $webPropertyId
- * Web property ID to create the experiment for.
- * @param string $profileId
- * View (Profile) ID to create the experiment for.
- * @param Google_Experiment $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+
+ public function getSelfLink()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Experiment");
+ return $this->selfLink;
}
- /**
- * Lists experiments to which the user has access.
- * (experiments.listManagementExperiments)
- *
- * @param string $accountId
- * Account ID to retrieve experiments for.
- * @param string $webPropertyId
- * Web property ID to retrieve experiments for.
- * @param string $profileId
- * View (Profile) ID to retrieve experiments for.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of experiments to include in this response.
- * @opt_param int start-index
- * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Experiments
- */
- public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function setType($type)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Experiments");
+ $this->type = $type;
}
- /**
- * Update an existing experiment. This method supports patch semantics.
- * (experiments.patch)
- *
- * @param string $accountId
- * Account ID of the experiment to update.
- * @param string $webPropertyId
- * Web property ID of the experiment to update.
- * @param string $profileId
- * View (Profile) ID of the experiment to update.
- * @param string $experimentId
- * Experiment ID of the experiment to update.
- * @param Google_Experiment $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+
+ public function getType()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Experiment");
+ return $this->type;
}
- /**
- * Update an existing experiment. (experiments.update)
- *
- * @param string $accountId
- * Account ID of the experiment to update.
- * @param string $webPropertyId
- * Web property ID of the experiment to update.
- * @param string $profileId
- * View (Profile) ID of the experiment to update.
- * @param string $experimentId
- * Experiment ID of the experiment to update.
- * @param Google_Experiment $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Experiment
- */
- public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Service_Analytics_Experiment $postBody, $optParams = array())
+
+ public function setUpdated($updated)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Experiment");
+ $this->updated = $updated;
}
-}
-/**
- * The "goals" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $goals = $analyticsService->goals;
- *
- */
-class Google_Service_Analytics_ManagementGoals_Resource extends Google_Service_Resource
-{
- /**
- * Gets a goal to which the user has access. (goals.get)
- *
- * @param string $accountId
- * Account ID to retrieve the goal for.
- * @param string $webPropertyId
- * Web property ID to retrieve the goal for.
- * @param string $profileId
- * View (Profile) ID to retrieve the goal for.
- * @param string $goalId
- * Goal ID to retrieve the goal for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
+ public function getUpdated()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Goal");
+ return $this->updated;
}
- /**
- * Create a new goal. (goals.insert)
- *
- * @param string $accountId
- * Account ID to create the goal for.
- * @param string $webPropertyId
- * Web property ID to create the goal for.
- * @param string $profileId
- * View (Profile) ID to create the goal for.
- * @param Google_Goal $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+
+ public function setWebPropertyId($webPropertyId)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Goal");
+ $this->webPropertyId = $webPropertyId;
}
- /**
- * Lists goals to which the user has access. (goals.listManagementGoals)
- *
- * @param string $accountId
- * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
- * all the accounts that user has access to.
- * @param string $webPropertyId
- * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
- * refers to all the web properties that user has access to.
- * @param string $profileId
- * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
- * which refers to all the views (profiles) that user has access to.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of goals to include in this response.
- * @opt_param int start-index
- * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
- * the max-results parameter.
- * @return Google_Service_Analytics_Goals
- */
- public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function getWebPropertyId()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Goals");
+ return $this->webPropertyId;
}
- /**
- * Updates an existing view (profile). This method supports patch semantics.
- * (goals.patch)
- *
- * @param string $accountId
- * Account ID to update the goal.
- * @param string $webPropertyId
- * Web property ID to update the goal.
- * @param string $profileId
- * View (Profile) ID to update the goal.
- * @param string $goalId
- * Index of the goal to be updated.
- * @param Google_Goal $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function patch($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+}
+
+class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Goal");
+ $this->href = $href;
}
- /**
- * Updates an existing view (profile). (goals.update)
- *
- * @param string $accountId
- * Account ID to update the goal.
- * @param string $webPropertyId
- * Web property ID to update the goal.
- * @param string $profileId
- * View (Profile) ID to update the goal.
- * @param string $goalId
- * Index of the goal to be updated.
- * @param Google_Goal $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Goal
- */
- public function update($accountId, $webPropertyId, $profileId, $goalId, Google_Service_Analytics_Goal $postBody, $optParams = array())
+
+ public function getHref()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Goal");
+ return $this->href;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
}
}
-/**
- * The "profileUserLinks" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $profileUserLinks = $analyticsService->profileUserLinks;
- *
- */
-class Google_Service_Analytics_ManagementProfileUserLinks_Resource extends Google_Service_Resource
+
+class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
{
+ public $href;
+ public $type;
- /**
- * Removes a user from the given view (profile). (profileUserLinks.delete)
- *
- * @param string $accountId
- * Account ID to delete the user link for.
- * @param string $webPropertyId
- * Web Property ID to delete the user link for.
- * @param string $profileId
- * View (Profile) ID to delete the user link for.
- * @param string $linkId
- * Link ID to delete the user link for.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
+ public function setHref($href)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ $this->href = $href;
}
- /**
- * Adds a new user to the given view (profile). (profileUserLinks.insert)
- *
- * @param string $accountId
- * Account ID to create the user link for.
- * @param string $webPropertyId
- * Web Property ID to create the user link for.
- * @param string $profileId
- * View (Profile) ID to create the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function getHref()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ return $this->href;
}
- /**
- * Lists profile-user links for a given view (profile).
- * (profileUserLinks.listManagementProfileUserLinks)
- *
- * @param string $accountId
- * Account ID which the given view (profile) belongs to.
- * @param string $webPropertyId
- * Web Property ID which the given view (profile) belongs to.
- * @param string $profileId
- * View (Profile) ID to retrieve the profile-user links for
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of profile-user links to include in this response.
- * @opt_param int start-index
- * An index of the first profile-user link to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_EntityUserLinks
- */
- public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function setType($type)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ $this->type = $type;
}
- /**
- * Updates permissions for an existing user on the given view (profile).
- * (profileUserLinks.update)
- *
- * @param string $accountId
- * Account ID to update the user link for.
- * @param string $webPropertyId
- * Web Property ID to update the user link for.
- * @param string $profileId
- * View (Profile ID) to update the user link for.
- * @param string $linkId
- * Link ID to update the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function update($accountId, $webPropertyId, $profileId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_CustomDataSources extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->items = $items;
}
-}
-/**
- * The "profiles" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $profiles = $analyticsService->profiles;
- *
- */
-class Google_Service_Analytics_ManagementProfiles_Resource extends Google_Service_Resource
-{
- /**
- * Deletes a view (profile). (profiles.delete)
- *
- * @param string $accountId
- * Account ID to delete the view (profile) for.
- * @param string $webPropertyId
- * Web property ID to delete the view (profile) for.
- * @param string $profileId
- * ID of the view (profile) to be deleted.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
+ public function getItems()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->items;
}
- /**
- * Gets a view (profile) to which the user has access. (profiles.get)
- *
- * @param string $accountId
- * Account ID to retrieve the goal for.
- * @param string $webPropertyId
- * Web property ID to retrieve the goal for.
- * @param string $profileId
- * View (Profile) ID to retrieve the goal for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function get($accountId, $webPropertyId, $profileId, $optParams = array())
+
+ public function setItemsPerPage($itemsPerPage)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Profile");
+ $this->itemsPerPage = $itemsPerPage;
}
- /**
- * Create a new view (profile). (profiles.insert)
- *
- * @param string $accountId
- * Account ID to create the view (profile) for.
- * @param string $webPropertyId
- * Web property ID to create the view (profile) for.
- * @param Google_Profile $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+
+ public function getItemsPerPage()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Profile");
+ return $this->itemsPerPage;
}
- /**
- * Lists views (profiles) to which the user has access.
- * (profiles.listManagementProfiles)
- *
- * @param string $accountId
- * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
- * which refers to all the accounts to which the user has access.
- * @param string $webPropertyId
- * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
- * or '~all', which refers to all the web properties to which the user has access.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of views (profiles) to include in this response.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Profiles
- */
- public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
+
+ public function setKind($kind)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Profiles");
+ $this->kind = $kind;
}
- /**
- * Updates an existing view (profile). This method supports patch semantics.
- * (profiles.patch)
- *
- * @param string $accountId
- * Account ID to which the view (profile) belongs
- * @param string $webPropertyId
- * Web property ID to which the view (profile) belongs
- * @param string $profileId
- * ID of the view (profile) to be updated.
- * @param Google_Profile $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function patch($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+
+ public function getKind()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Profile");
+ return $this->kind;
}
- /**
- * Updates an existing view (profile). (profiles.update)
- *
- * @param string $accountId
- * Account ID to which the view (profile) belongs
- * @param string $webPropertyId
- * Web property ID to which the view (profile) belongs
- * @param string $profileId
- * ID of the view (profile) to be updated.
- * @param Google_Profile $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Profile
- */
- public function update($accountId, $webPropertyId, $profileId, Google_Service_Analytics_Profile $postBody, $optParams = array())
+
+ public function setNextLink($nextLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Profile");
+ $this->nextLink = $nextLink;
}
-}
-/**
- * The "segments" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $segments = $analyticsService->segments;
- *
- */
-class Google_Service_Analytics_ManagementSegments_Resource extends Google_Service_Resource
-{
- /**
- * Lists segments to which the user has access.
- * (segments.listManagementSegments)
- *
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of segments to include in this response.
- * @opt_param int start-index
- * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Segments
- */
- public function listManagementSegments($optParams = array())
+ public function getNextLink()
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Segments");
+ return $this->nextLink;
}
-}
-/**
- * The "uploads" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $uploads = $analyticsService->uploads;
- *
- */
-class Google_Service_Analytics_ManagementUploads_Resource extends Google_Service_Resource
-{
- /**
- * Delete data associated with a previous upload. (uploads.deleteUploadData)
- *
- * @param string $accountId
- * Account Id for the uploads to be deleted.
- * @param string $webPropertyId
- * Web property Id for the uploads to be deleted.
- * @param string $customDataSourceId
- * Custom data source Id for the uploads to be deleted.
- * @param Google_AnalyticsDataimportDeleteUploadDataRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function deleteUploadData($accountId, $webPropertyId, $customDataSourceId, Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest $postBody, $optParams = array())
+ public function setPreviousLink($previousLink)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('deleteUploadData', array($params));
+ $this->previousLink = $previousLink;
}
- /**
- * List uploads to which the user has access. (uploads.get)
- *
- * @param string $accountId
- * Account Id for the upload to retrieve.
- * @param string $webPropertyId
- * Web property Id for the upload to retrieve.
- * @param string $customDataSourceId
- * Custom data source Id for upload to retrieve.
- * @param string $uploadId
- * Upload Id to retrieve.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Upload
- */
- public function get($accountId, $webPropertyId, $customDataSourceId, $uploadId, $optParams = array())
+
+ public function getPreviousLink()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'uploadId' => $uploadId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Upload");
+ return $this->previousLink;
}
- /**
- * List uploads to which the user has access. (uploads.listManagementUploads)
- *
- * @param string $accountId
- * Account Id for the uploads to retrieve.
- * @param string $webPropertyId
- * Web property Id for the uploads to retrieve.
- * @param string $customDataSourceId
- * Custom data source Id for uploads to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of uploads to include in this response.
- * @opt_param int start-index
- * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
- * along with the max-results parameter.
- * @return Google_Service_Analytics_Uploads
- */
- public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+
+ public function setUsername($username)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
+ $this->username = $username;
}
- /**
- * Upload data for a custom data source. (uploads.uploadData)
- *
- * @param string $accountId
- * Account Id associated with the upload.
- * @param string $webPropertyId
- * Web property UA-string associated with the upload.
- * @param string $customDataSourceId
- * Custom data source Id to which the data being uploaded belongs.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Upload
- */
- public function uploadData($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
+
+ public function getUsername()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
- $params = array_merge($params, $optParams);
- return $this->call('uploadData', array($params), "Google_Service_Analytics_Upload");
+ return $this->username;
}
}
-/**
- * The "webproperties" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $webproperties = $analyticsService->webproperties;
- *
- */
-class Google_Service_Analytics_ManagementWebproperties_Resource extends Google_Service_Resource
+
+class Google_Service_Analytics_DailyUpload extends Google_Collection
{
+ public $accountId;
+ public $appendCount;
+ public $createdTime;
+ public $customDataSourceId;
+ public $date;
+ public $kind;
+ public $modifiedTime;
+ protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
+ protected $parentLinkDataType = '';
+ protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
+ protected $recentChangesDataType = 'array';
+ public $selfLink;
+ public $webPropertyId;
- /**
- * Gets a web property to which the user has access. (webproperties.get)
- *
- * @param string $accountId
- * Account ID to retrieve the web property for.
- * @param string $webPropertyId
- * ID to retrieve the web property for.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function get($accountId, $webPropertyId, $optParams = array())
+ public function setAccountId($accountId)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Analytics_Webproperty");
+ $this->accountId = $accountId;
}
- /**
- * Create a new property if the account has fewer than 20 properties. Web
- * properties are visible in the Google Analytics interface only if they have at
- * least one profile. (webproperties.insert)
- *
- * @param string $accountId
- * Account ID to create the web property for.
- * @param Google_Webproperty $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function insert($accountId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+
+ public function getAccountId()
{
- $params = array('accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_Webproperty");
+ return $this->accountId;
}
- /**
- * Lists web properties to which the user has access.
- * (webproperties.listManagementWebproperties)
- *
- * @param string $accountId
- * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
- * refers to all the accounts that user has access to.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of web properties to include in this response.
- * @opt_param int start-index
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
- * with the max-results parameter.
- * @return Google_Service_Analytics_Webproperties
- */
- public function listManagementWebproperties($accountId, $optParams = array())
+
+ public function setAppendCount($appendCount)
{
- $params = array('accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Webproperties");
+ $this->appendCount = $appendCount;
}
- /**
- * Updates an existing web property. This method supports patch semantics.
- * (webproperties.patch)
- *
- * @param string $accountId
- * Account ID to which the web property belongs
- * @param string $webPropertyId
- * Web property ID
- * @param Google_Webproperty $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function patch($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+
+ public function getAppendCount()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Analytics_Webproperty");
+ return $this->appendCount;
}
- /**
- * Updates an existing web property. (webproperties.update)
- *
- * @param string $accountId
- * Account ID to which the web property belongs
- * @param string $webPropertyId
- * Web property ID
- * @param Google_Webproperty $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Webproperty
- */
- public function update($accountId, $webPropertyId, Google_Service_Analytics_Webproperty $postBody, $optParams = array())
+
+ public function setCreatedTime($createdTime)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_Webproperty");
+ $this->createdTime = $createdTime;
}
-}
-/**
- * The "webpropertyUserLinks" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
- *
- */
-class Google_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends Google_Service_Resource
-{
- /**
- * Removes a user from the given web property. (webpropertyUserLinks.delete)
- *
- * @param string $accountId
- * Account ID to delete the user link for.
- * @param string $webPropertyId
- * Web Property ID to delete the user link for.
- * @param string $linkId
- * Link ID to delete the user link for.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
+ public function getCreatedTime()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->createdTime;
}
- /**
- * Adds a new user to the given web property. (webpropertyUserLinks.insert)
- *
- * @param string $accountId
- * Account ID to create the user link for.
- * @param string $webPropertyId
- * Web Property ID to create the user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function insert($accountId, $webPropertyId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setCustomDataSourceId($customDataSourceId)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->customDataSourceId = $customDataSourceId;
}
- /**
- * Lists webProperty-user links for a given web property.
- * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
- *
- * @param string $accountId
- * Account ID which the given web property belongs to.
- * @param string $webPropertyId
- * Web Property ID for the webProperty-user links to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results
- * The maximum number of webProperty-user Links to include in this response.
- * @opt_param int start-index
- * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
- * mechanism along with the max-results parameter.
- * @return Google_Service_Analytics_EntityUserLinks
- */
- public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
+
+ public function getCustomDataSourceId()
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_EntityUserLinks");
+ return $this->customDataSourceId;
}
- /**
- * Updates permissions for an existing user on the given web property.
- * (webpropertyUserLinks.update)
- *
- * @param string $accountId
- * Account ID to update the account-user link for.
- * @param string $webPropertyId
- * Web property ID to update the account-user link for.
- * @param string $linkId
- * Link ID to update the account-user link for.
- * @param Google_EntityUserLink $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_EntityUserLink
- */
- public function update($accountId, $webPropertyId, $linkId, Google_Service_Analytics_EntityUserLink $postBody, $optParams = array())
+
+ public function setDate($date)
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'linkId' => $linkId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Analytics_EntityUserLink");
+ $this->date = $date;
+ }
+
+ public function getDate()
+ {
+ return $this->date;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setModifiedTime($modifiedTime)
+ {
+ $this->modifiedTime = $modifiedTime;
}
-}
-
-/**
- * The "metadata" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $metadata = $analyticsService->metadata;
- *
- */
-class Google_Service_Analytics_Metadata_Resource extends Google_Service_Resource
-{
-}
+ public function getModifiedTime()
+ {
+ return $this->modifiedTime;
+ }
-/**
- * The "columns" collection of methods.
- * Typical usage is:
- *
- * $analyticsService = new Google_Service_Analytics(...);
- * $columns = $analyticsService->columns;
- *
- */
-class Google_Service_Analytics_MetadataColumns_Resource extends Google_Service_Resource
-{
+ public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
- /**
- * Lists all columns for a report type (columns.listMetadataColumns)
- *
- * @param string $reportType
- * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
- * @param array $optParams Optional parameters.
- * @return Google_Service_Analytics_Columns
- */
- public function listMetadataColumns($reportType, $optParams = array())
+ public function getParentLink()
{
- $params = array('reportType' => $reportType);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_Columns");
+ return $this->parentLink;
}
-}
+ public function setRecentChanges($recentChanges)
+ {
+ $this->recentChanges = $recentChanges;
+ }
+ public function getRecentChanges()
+ {
+ return $this->recentChanges;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
-class Google_Service_Analytics_Account extends Google_Model
-{
- protected $childLinkType = 'Google_Service_Analytics_AccountChildLink';
- protected $childLinkDataType = '';
- public $created;
- public $id;
- public $kind;
- public $name;
- protected $permissionsType = 'Google_Service_Analytics_AccountPermissions';
- protected $permissionsDataType = '';
- public $selfLink;
- public $updated;
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
- public function setChildLink(Google_Service_Analytics_AccountChildLink $childLink)
+ public function setWebPropertyId($webPropertyId)
{
- $this->childLink = $childLink;
+ $this->webPropertyId = $webPropertyId;
}
- public function getChildLink()
+ public function getWebPropertyId()
{
- return $this->childLink;
+ return $this->webPropertyId;
}
+}
- public function setCreated($created)
+class Google_Service_Analytics_DailyUploadAppend extends Google_Model
+{
+ public $accountId;
+ public $appendNumber;
+ public $customDataSourceId;
+ public $date;
+ public $kind;
+ public $nextAppendLink;
+ public $webPropertyId;
+
+ public function setAccountId($accountId)
{
- $this->created = $created;
+ $this->accountId = $accountId;
}
- public function getCreated()
+ public function getAccountId()
{
- return $this->created;
+ return $this->accountId;
}
- public function setId($id)
+ public function setAppendNumber($appendNumber)
{
- $this->id = $id;
+ $this->appendNumber = $appendNumber;
}
- public function getId()
+ public function getAppendNumber()
{
- return $this->id;
+ return $this->appendNumber;
}
- public function setKind($kind)
+ public function setCustomDataSourceId($customDataSourceId)
{
- $this->kind = $kind;
+ $this->customDataSourceId = $customDataSourceId;
}
- public function getKind()
+ public function getCustomDataSourceId()
{
- return $this->kind;
+ return $this->customDataSourceId;
}
- public function setName($name)
+ public function setDate($date)
{
- $this->name = $name;
+ $this->date = $date;
}
- public function getName()
+ public function getDate()
{
- return $this->name;
+ return $this->date;
}
- public function setPermissions(Google_Service_Analytics_AccountPermissions $permissions)
+ public function setKind($kind)
{
- $this->permissions = $permissions;
+ $this->kind = $kind;
}
- public function getPermissions()
+ public function getKind()
{
- return $this->permissions;
+ return $this->kind;
}
- public function setSelfLink($selfLink)
+ public function setNextAppendLink($nextAppendLink)
{
- $this->selfLink = $selfLink;
+ $this->nextAppendLink = $nextAppendLink;
}
- public function getSelfLink()
+ public function getNextAppendLink()
{
- return $this->selfLink;
+ return $this->nextAppendLink;
}
- public function setUpdated($updated)
+ public function setWebPropertyId($webPropertyId)
{
- $this->updated = $updated;
+ $this->webPropertyId = $webPropertyId;
}
- public function getUpdated()
+ public function getWebPropertyId()
{
- return $this->updated;
+ return $this->webPropertyId;
}
}
-class Google_Service_Analytics_AccountChildLink extends Google_Model
+class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
{
public $href;
public $type;
@@ -2755,36 +4789,155 @@ public function getType()
}
}
-class Google_Service_Analytics_AccountPermissions extends Google_Collection
+class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
{
- public $effective;
+ public $change;
+ public $time;
+
+ public function setChange($change)
+ {
+ $this->change = $change;
+ }
+
+ public function getChange()
+ {
+ return $this->change;
+ }
+
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Google_Service_Analytics_DailyUploads extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_DailyUpload';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
- public function setEffective($effective)
+ public function setUsername($username)
{
- $this->effective = $effective;
+ $this->username = $username;
}
- public function getEffective()
+ public function getUsername()
{
- return $this->effective;
+ return $this->username;
}
}
-class Google_Service_Analytics_AccountRef extends Google_Model
+class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
{
- public $href;
+ protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
+ protected $adWordsAccountsDataType = 'array';
+ protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
+ protected $entityDataType = '';
public $id;
public $kind;
public $name;
+ public $profileIds;
+ public $selfLink;
- public function setHref($href)
+ public function setAdWordsAccounts($adWordsAccounts)
{
- $this->href = $href;
+ $this->adWordsAccounts = $adWordsAccounts;
}
- public function getHref()
+ public function getAdWordsAccounts()
{
- return $this->href;
+ return $this->adWordsAccounts;
+ }
+
+ public function setEntity(Google_Service_Analytics_EntityAdWordsLinkEntity $entity)
+ {
+ $this->entity = $entity;
+ }
+
+ public function getEntity()
+ {
+ return $this->entity;
}
public function setId($id)
@@ -2816,11 +4969,47 @@ public function getName()
{
return $this->name;
}
+
+ public function setProfileIds($profileIds)
+ {
+ $this->profileIds = $profileIds;
+ }
+
+ public function getProfileIds()
+ {
+ return $this->profileIds;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
}
-class Google_Service_Analytics_AccountSummaries extends Google_Collection
+class Google_Service_Analytics_EntityAdWordsLinkEntity extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_AccountSummary';
+ protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+ public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
+
+class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -2828,7 +5017,6 @@ class Google_Service_Analytics_AccountSummaries extends Google_Collection
public $previousLink;
public $startIndex;
public $totalResults;
- public $username;
public function setItems($items)
{
@@ -2899,25 +5087,29 @@ public function getTotalResults()
{
return $this->totalResults;
}
+}
- public function setUsername($username)
+class Google_Service_Analytics_EntityUserLink extends Google_Model
+{
+ protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
+ protected $entityDataType = '';
+ public $id;
+ public $kind;
+ protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ protected $userRefType = 'Google_Service_Analytics_UserRef';
+ protected $userRefDataType = '';
+
+ public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
{
- $this->username = $username;
+ $this->entity = $entity;
}
- public function getUsername()
+ public function getEntity()
{
- return $this->username;
+ return $this->entity;
}
-}
-
-class Google_Service_Analytics_AccountSummary extends Google_Collection
-{
- public $id;
- public $kind;
- public $name;
- protected $webPropertiesType = 'Google_Service_Analytics_WebPropertySummary';
- protected $webPropertiesDataType = 'array';
public function setId($id)
{
@@ -2939,30 +5131,106 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
{
- $this->name = $name;
+ $this->permissions = $permissions;
}
- public function getName()
+ public function getPermissions()
{
- return $this->name;
+ return $this->permissions;
}
- public function setWebProperties($webProperties)
+ public function setSelfLink($selfLink)
{
- $this->webProperties = $webProperties;
+ $this->selfLink = $selfLink;
}
- public function getWebProperties()
+ public function getSelfLink()
{
- return $this->webProperties;
+ return $this->selfLink;
+ }
+
+ public function setUserRef(Google_Service_Analytics_UserRef $userRef)
+ {
+ $this->userRef = $userRef;
+ }
+
+ public function getUserRef()
+ {
+ return $this->userRef;
}
}
-class Google_Service_Analytics_Accounts extends Google_Collection
+class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_Account';
+ protected $accountRefType = 'Google_Service_Analytics_AccountRef';
+ protected $accountRefDataType = '';
+ protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
+ protected $webPropertyRefDataType = '';
+
+ public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
+ {
+ $this->accountRef = $accountRef;
+ }
+
+ public function getAccountRef()
+ {
+ return $this->accountRef;
+ }
+
+ public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
+ {
+ $this->profileRef = $profileRef;
+ }
+
+ public function getProfileRef()
+ {
+ return $this->profileRef;
+ }
+
+ public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ {
+ $this->webPropertyRef = $webPropertyRef;
+ }
+
+ public function getWebPropertyRef()
+ {
+ return $this->webPropertyRef;
+ }
+}
+
+class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
+{
+ public $effective;
+ public $local;
+
+ public function setEffective($effective)
+ {
+ $this->effective = $effective;
+ }
+
+ public function getEffective()
+ {
+ return $this->effective;
+ }
+
+ public function setLocal($local)
+ {
+ $this->local = $local;
+ }
+
+ public function getLocal()
+ {
+ return $this->local;
+ }
+}
+
+class Google_Service_Analytics_EntityUserLinks extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -2970,7 +5238,6 @@ class Google_Service_Analytics_Accounts extends Google_Collection
public $previousLink;
public $startIndex;
public $totalResults;
- public $username;
public function setItems($items)
{
@@ -3041,47 +5308,99 @@ public function getTotalResults()
{
return $this->totalResults;
}
+}
- public function setUsername($username)
+class Google_Service_Analytics_Experiment extends Google_Collection
+{
+ public $accountId;
+ public $created;
+ public $description;
+ public $editableInGaUi;
+ public $endTime;
+ public $equalWeighting;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $minimumExperimentLengthInDays;
+ public $name;
+ public $objectiveMetric;
+ public $optimizationType;
+ protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
+ public $reasonExperimentEnded;
+ public $rewriteVariationUrlsAsOriginal;
+ public $selfLink;
+ public $servingFramework;
+ public $snippet;
+ public $startTime;
+ public $status;
+ public $trafficCoverage;
+ public $updated;
+ protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
+ protected $variationsDataType = 'array';
+ public $webPropertyId;
+ public $winnerConfidenceLevel;
+ public $winnerFound;
+
+ public function setAccountId($accountId)
{
- $this->username = $username;
+ $this->accountId = $accountId;
}
- public function getUsername()
+ public function getAccountId()
{
- return $this->username;
+ return $this->accountId;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setEditableInGaUi($editableInGaUi)
+ {
+ $this->editableInGaUi = $editableInGaUi;
}
-}
-
-class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
-{
- public $customDataImportUids;
- public function setCustomDataImportUids($customDataImportUids)
+ public function getEditableInGaUi()
{
- $this->customDataImportUids = $customDataImportUids;
+ return $this->editableInGaUi;
}
- public function getCustomDataImportUids()
+ public function setEndTime($endTime)
{
- return $this->customDataImportUids;
+ $this->endTime = $endTime;
}
-}
-class Google_Service_Analytics_Column extends Google_Model
-{
- public $attributes;
- public $id;
- public $kind;
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
- public function setAttributes($attributes)
+ public function setEqualWeighting($equalWeighting)
{
- $this->attributes = $attributes;
+ $this->equalWeighting = $equalWeighting;
}
- public function getAttributes()
+ public function getEqualWeighting()
{
- return $this->attributes;
+ return $this->equalWeighting;
}
public function setId($id)
@@ -3094,6 +5413,16 @@ public function getId()
return $this->id;
}
+ public function setInternalWebPropertyId($internalWebPropertyId)
+ {
+ $this->internalWebPropertyId = $internalWebPropertyId;
+ }
+
+ public function getInternalWebPropertyId()
+ {
+ return $this->internalWebPropertyId;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -3103,218 +5432,199 @@ public function getKind()
{
return $this->kind;
}
-}
-class Google_Service_Analytics_Columns extends Google_Collection
-{
- public $attributeNames;
- public $etag;
- protected $itemsType = 'Google_Service_Analytics_Column';
- protected $itemsDataType = 'array';
- public $kind;
- public $totalResults;
+ public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
+ {
+ $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
+ }
- public function setAttributeNames($attributeNames)
+ public function getMinimumExperimentLengthInDays()
{
- $this->attributeNames = $attributeNames;
+ return $this->minimumExperimentLengthInDays;
}
- public function getAttributeNames()
+ public function setName($name)
{
- return $this->attributeNames;
+ $this->name = $name;
}
- public function setEtag($etag)
+ public function getName()
{
- $this->etag = $etag;
+ return $this->name;
}
- public function getEtag()
+ public function setObjectiveMetric($objectiveMetric)
{
- return $this->etag;
+ $this->objectiveMetric = $objectiveMetric;
}
- public function setItems($items)
+ public function getObjectiveMetric()
{
- $this->items = $items;
+ return $this->objectiveMetric;
}
- public function getItems()
+ public function setOptimizationType($optimizationType)
{
- return $this->items;
+ $this->optimizationType = $optimizationType;
}
- public function setKind($kind)
+ public function getOptimizationType()
{
- $this->kind = $kind;
+ return $this->optimizationType;
}
- public function getKind()
+ public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
{
- return $this->kind;
+ $this->parentLink = $parentLink;
}
- public function setTotalResults($totalResults)
+ public function getParentLink()
{
- $this->totalResults = $totalResults;
+ return $this->parentLink;
}
- public function getTotalResults()
+ public function setProfileId($profileId)
{
- return $this->totalResults;
+ $this->profileId = $profileId;
}
-}
-class Google_Service_Analytics_CustomDataSource extends Google_Collection
-{
- public $accountId;
- protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
- protected $childLinkDataType = '';
- public $created;
- public $description;
- public $id;
- public $kind;
- public $name;
- protected $parentLinkType = 'Google_Service_Analytics_CustomDataSourceParentLink';
- protected $parentLinkDataType = '';
- public $profilesLinked;
- public $selfLink;
- public $type;
- public $updated;
- public $webPropertyId;
+ public function getProfileId()
+ {
+ return $this->profileId;
+ }
- public function setAccountId($accountId)
+ public function setReasonExperimentEnded($reasonExperimentEnded)
{
- $this->accountId = $accountId;
+ $this->reasonExperimentEnded = $reasonExperimentEnded;
}
- public function getAccountId()
+ public function getReasonExperimentEnded()
{
- return $this->accountId;
+ return $this->reasonExperimentEnded;
}
- public function setChildLink(Google_Service_Analytics_CustomDataSourceChildLink $childLink)
+ public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
{
- $this->childLink = $childLink;
+ $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
}
- public function getChildLink()
+ public function getRewriteVariationUrlsAsOriginal()
{
- return $this->childLink;
+ return $this->rewriteVariationUrlsAsOriginal;
}
- public function setCreated($created)
+ public function setSelfLink($selfLink)
{
- $this->created = $created;
+ $this->selfLink = $selfLink;
}
- public function getCreated()
+ public function getSelfLink()
{
- return $this->created;
+ return $this->selfLink;
}
- public function setDescription($description)
+ public function setServingFramework($servingFramework)
{
- $this->description = $description;
+ $this->servingFramework = $servingFramework;
}
- public function getDescription()
+ public function getServingFramework()
{
- return $this->description;
+ return $this->servingFramework;
}
- public function setId($id)
+ public function setSnippet($snippet)
{
- $this->id = $id;
+ $this->snippet = $snippet;
}
- public function getId()
+ public function getSnippet()
{
- return $this->id;
+ return $this->snippet;
}
- public function setKind($kind)
+ public function setStartTime($startTime)
{
- $this->kind = $kind;
+ $this->startTime = $startTime;
}
- public function getKind()
+ public function getStartTime()
{
- return $this->kind;
+ return $this->startTime;
}
- public function setName($name)
+ public function setStatus($status)
{
- $this->name = $name;
+ $this->status = $status;
}
- public function getName()
+ public function getStatus()
{
- return $this->name;
+ return $this->status;
}
- public function setParentLink(Google_Service_Analytics_CustomDataSourceParentLink $parentLink)
+ public function setTrafficCoverage($trafficCoverage)
{
- $this->parentLink = $parentLink;
+ $this->trafficCoverage = $trafficCoverage;
}
- public function getParentLink()
+ public function getTrafficCoverage()
{
- return $this->parentLink;
+ return $this->trafficCoverage;
}
- public function setProfilesLinked($profilesLinked)
+ public function setUpdated($updated)
{
- $this->profilesLinked = $profilesLinked;
+ $this->updated = $updated;
}
- public function getProfilesLinked()
+ public function getUpdated()
{
- return $this->profilesLinked;
+ return $this->updated;
}
- public function setSelfLink($selfLink)
+ public function setVariations($variations)
{
- $this->selfLink = $selfLink;
+ $this->variations = $variations;
}
- public function getSelfLink()
+ public function getVariations()
{
- return $this->selfLink;
+ return $this->variations;
}
- public function setType($type)
+ public function setWebPropertyId($webPropertyId)
{
- $this->type = $type;
+ $this->webPropertyId = $webPropertyId;
}
- public function getType()
+ public function getWebPropertyId()
{
- return $this->type;
+ return $this->webPropertyId;
}
- public function setUpdated($updated)
+ public function setWinnerConfidenceLevel($winnerConfidenceLevel)
{
- $this->updated = $updated;
+ $this->winnerConfidenceLevel = $winnerConfidenceLevel;
}
- public function getUpdated()
+ public function getWinnerConfidenceLevel()
{
- return $this->updated;
+ return $this->winnerConfidenceLevel;
}
- public function setWebPropertyId($webPropertyId)
+ public function setWinnerFound($winnerFound)
{
- $this->webPropertyId = $webPropertyId;
+ $this->winnerFound = $winnerFound;
}
- public function getWebPropertyId()
+ public function getWinnerFound()
{
- return $this->webPropertyId;
+ return $this->winnerFound;
}
}
-class Google_Service_Analytics_CustomDataSourceChildLink extends Google_Model
+class Google_Service_Analytics_ExperimentParentLink extends Google_Model
{
public $href;
public $type;
@@ -3324,51 +5634,84 @@ public function setHref($href)
$this->href = $href;
}
- public function getHref()
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_ExperimentVariations extends Google_Model
+{
+ public $name;
+ public $status;
+ public $url;
+ public $weight;
+ public $won;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setStatus($status)
{
- return $this->href;
+ $this->status = $status;
}
- public function setType($type)
+ public function getStatus()
{
- $this->type = $type;
+ return $this->status;
}
- public function getType()
+ public function setUrl($url)
{
- return $this->type;
+ $this->url = $url;
}
-}
-class Google_Service_Analytics_CustomDataSourceParentLink extends Google_Model
-{
- public $href;
- public $type;
+ public function getUrl()
+ {
+ return $this->url;
+ }
- public function setHref($href)
+ public function setWeight($weight)
{
- $this->href = $href;
+ $this->weight = $weight;
}
- public function getHref()
+ public function getWeight()
{
- return $this->href;
+ return $this->weight;
}
- public function setType($type)
+ public function setWon($won)
{
- $this->type = $type;
+ $this->won = $won;
}
- public function getType()
+ public function getWon()
{
- return $this->type;
+ return $this->won;
}
}
-class Google_Service_Analytics_CustomDataSources extends Google_Collection
+class Google_Service_Analytics_Experiments extends Google_Collection
{
- protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
+ protected $itemsType = 'Google_Service_Analytics_Experiment';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -3459,21 +5802,30 @@ public function getUsername()
}
}
-class Google_Service_Analytics_DailyUpload extends Google_Collection
+class Google_Service_Analytics_Filter extends Google_Model
{
public $accountId;
- public $appendCount;
- public $createdTime;
- public $customDataSourceId;
- public $date;
+ protected $advancedDetailsType = 'Google_Service_Analytics_FilterAdvancedDetails';
+ protected $advancedDetailsDataType = '';
+ public $created;
+ protected $excludeDetailsType = 'Google_Service_Analytics_FilterExpression';
+ protected $excludeDetailsDataType = '';
+ public $id;
+ protected $includeDetailsType = 'Google_Service_Analytics_FilterExpression';
+ protected $includeDetailsDataType = '';
public $kind;
- public $modifiedTime;
- protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
+ protected $lowercaseDetailsType = 'Google_Service_Analytics_FilterLowercaseDetails';
+ protected $lowercaseDetailsDataType = '';
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_FilterParentLink';
protected $parentLinkDataType = '';
- protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
- protected $recentChangesDataType = 'array';
+ protected $searchAndReplaceDetailsType = 'Google_Service_Analytics_FilterSearchAndReplaceDetails';
+ protected $searchAndReplaceDetailsDataType = '';
public $selfLink;
- public $webPropertyId;
+ public $type;
+ public $updated;
+ protected $uppercaseDetailsType = 'Google_Service_Analytics_FilterUppercaseDetails';
+ protected $uppercaseDetailsDataType = '';
public function setAccountId($accountId)
{
@@ -3485,44 +5837,54 @@ public function getAccountId()
return $this->accountId;
}
- public function setAppendCount($appendCount)
+ public function setAdvancedDetails(Google_Service_Analytics_FilterAdvancedDetails $advancedDetails)
{
- $this->appendCount = $appendCount;
+ $this->advancedDetails = $advancedDetails;
}
- public function getAppendCount()
+ public function getAdvancedDetails()
{
- return $this->appendCount;
+ return $this->advancedDetails;
}
- public function setCreatedTime($createdTime)
+ public function setCreated($created)
{
- $this->createdTime = $createdTime;
+ $this->created = $created;
}
- public function getCreatedTime()
+ public function getCreated()
{
- return $this->createdTime;
+ return $this->created;
}
- public function setCustomDataSourceId($customDataSourceId)
+ public function setExcludeDetails(Google_Service_Analytics_FilterExpression $excludeDetails)
{
- $this->customDataSourceId = $customDataSourceId;
+ $this->excludeDetails = $excludeDetails;
}
- public function getCustomDataSourceId()
+ public function getExcludeDetails()
{
- return $this->customDataSourceId;
+ return $this->excludeDetails;
}
- public function setDate($date)
+ public function setId($id)
{
- $this->date = $date;
+ $this->id = $id;
}
- public function getDate()
+ public function getId()
{
- return $this->date;
+ return $this->id;
+ }
+
+ public function setIncludeDetails(Google_Service_Analytics_FilterExpression $includeDetails)
+ {
+ $this->includeDetails = $includeDetails;
+ }
+
+ public function getIncludeDetails()
+ {
+ return $this->includeDetails;
}
public function setKind($kind)
@@ -3535,17 +5897,27 @@ public function getKind()
return $this->kind;
}
- public function setModifiedTime($modifiedTime)
+ public function setLowercaseDetails(Google_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
{
- $this->modifiedTime = $modifiedTime;
+ $this->lowercaseDetails = $lowercaseDetails;
}
- public function getModifiedTime()
+ public function getLowercaseDetails()
{
- return $this->modifiedTime;
+ return $this->lowercaseDetails;
}
- public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setParentLink(Google_Service_Analytics_FilterParentLink $parentLink)
{
$this->parentLink = $parentLink;
}
@@ -3555,14 +5927,14 @@ public function getParentLink()
return $this->parentLink;
}
- public function setRecentChanges($recentChanges)
+ public function setSearchAndReplaceDetails(Google_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
{
- $this->recentChanges = $recentChanges;
+ $this->searchAndReplaceDetails = $searchAndReplaceDetails;
}
- public function getRecentChanges()
+ public function getSearchAndReplaceDetails()
{
- return $this->recentChanges;
+ return $this->searchAndReplaceDetails;
}
public function setSelfLink($selfLink)
@@ -3575,263 +5947,277 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setWebPropertyId($webPropertyId)
+ public function setType($type)
{
- $this->webPropertyId = $webPropertyId;
+ $this->type = $type;
}
- public function getWebPropertyId()
+ public function getType()
{
- return $this->webPropertyId;
+ return $this->type;
}
-}
-
-class Google_Service_Analytics_DailyUploadAppend extends Google_Model
-{
- public $accountId;
- public $appendNumber;
- public $customDataSourceId;
- public $date;
- public $kind;
- public $nextAppendLink;
- public $webPropertyId;
- public function setAccountId($accountId)
+ public function setUpdated($updated)
{
- $this->accountId = $accountId;
+ $this->updated = $updated;
}
- public function getAccountId()
+ public function getUpdated()
{
- return $this->accountId;
+ return $this->updated;
}
- public function setAppendNumber($appendNumber)
+ public function setUppercaseDetails(Google_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
{
- $this->appendNumber = $appendNumber;
+ $this->uppercaseDetails = $uppercaseDetails;
}
- public function getAppendNumber()
+ public function getUppercaseDetails()
{
- return $this->appendNumber;
+ return $this->uppercaseDetails;
}
+}
- public function setCustomDataSourceId($customDataSourceId)
+class Google_Service_Analytics_FilterAdvancedDetails extends Google_Model
+{
+ public $caseSensitive;
+ public $extractA;
+ public $extractB;
+ public $fieldA;
+ public $fieldARequired;
+ public $fieldB;
+ public $fieldBRequired;
+ public $outputConstructor;
+ public $outputToField;
+ public $overrideOutputField;
+
+ public function setCaseSensitive($caseSensitive)
{
- $this->customDataSourceId = $customDataSourceId;
+ $this->caseSensitive = $caseSensitive;
}
- public function getCustomDataSourceId()
+ public function getCaseSensitive()
{
- return $this->customDataSourceId;
+ return $this->caseSensitive;
}
- public function setDate($date)
+ public function setExtractA($extractA)
{
- $this->date = $date;
+ $this->extractA = $extractA;
}
- public function getDate()
+ public function getExtractA()
{
- return $this->date;
+ return $this->extractA;
}
- public function setKind($kind)
+ public function setExtractB($extractB)
{
- $this->kind = $kind;
+ $this->extractB = $extractB;
}
- public function getKind()
+ public function getExtractB()
{
- return $this->kind;
+ return $this->extractB;
}
- public function setNextAppendLink($nextAppendLink)
+ public function setFieldA($fieldA)
{
- $this->nextAppendLink = $nextAppendLink;
+ $this->fieldA = $fieldA;
}
- public function getNextAppendLink()
+ public function getFieldA()
{
- return $this->nextAppendLink;
+ return $this->fieldA;
}
- public function setWebPropertyId($webPropertyId)
+ public function setFieldARequired($fieldARequired)
{
- $this->webPropertyId = $webPropertyId;
+ $this->fieldARequired = $fieldARequired;
}
- public function getWebPropertyId()
+ public function getFieldARequired()
{
- return $this->webPropertyId;
+ return $this->fieldARequired;
}
-}
-class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
-{
- public $href;
- public $type;
+ public function setFieldB($fieldB)
+ {
+ $this->fieldB = $fieldB;
+ }
- public function setHref($href)
+ public function getFieldB()
{
- $this->href = $href;
+ return $this->fieldB;
}
- public function getHref()
+ public function setFieldBRequired($fieldBRequired)
{
- return $this->href;
+ $this->fieldBRequired = $fieldBRequired;
}
- public function setType($type)
+ public function getFieldBRequired()
{
- $this->type = $type;
+ return $this->fieldBRequired;
}
- public function getType()
+ public function setOutputConstructor($outputConstructor)
{
- return $this->type;
+ $this->outputConstructor = $outputConstructor;
}
-}
-class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
-{
- public $change;
- public $time;
+ public function getOutputConstructor()
+ {
+ return $this->outputConstructor;
+ }
- public function setChange($change)
+ public function setOutputToField($outputToField)
{
- $this->change = $change;
+ $this->outputToField = $outputToField;
}
- public function getChange()
+ public function getOutputToField()
{
- return $this->change;
+ return $this->outputToField;
}
- public function setTime($time)
+ public function setOverrideOutputField($overrideOutputField)
{
- $this->time = $time;
+ $this->overrideOutputField = $overrideOutputField;
}
- public function getTime()
+ public function getOverrideOutputField()
{
- return $this->time;
+ return $this->overrideOutputField;
}
}
-class Google_Service_Analytics_DailyUploads extends Google_Collection
+class Google_Service_Analytics_FilterExpression extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_DailyUpload';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
+ public $caseSensitive;
+ public $expressionValue;
+ public $field;
public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
+ public $matchType;
- public function setItems($items)
+ public function setCaseSensitive($caseSensitive)
{
- $this->items = $items;
+ $this->caseSensitive = $caseSensitive;
}
- public function getItems()
+ public function getCaseSensitive()
{
- return $this->items;
+ return $this->caseSensitive;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setExpressionValue($expressionValue)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->expressionValue = $expressionValue;
}
- public function getItemsPerPage()
+ public function getExpressionValue()
{
- return $this->itemsPerPage;
+ return $this->expressionValue;
}
- public function setKind($kind)
+ public function setField($field)
{
- $this->kind = $kind;
+ $this->field = $field;
}
- public function getKind()
+ public function getField()
{
- return $this->kind;
+ return $this->field;
}
- public function setNextLink($nextLink)
+ public function setKind($kind)
{
- $this->nextLink = $nextLink;
+ $this->kind = $kind;
}
- public function getNextLink()
+ public function getKind()
{
- return $this->nextLink;
+ return $this->kind;
}
- public function setPreviousLink($previousLink)
+ public function setMatchType($matchType)
{
- $this->previousLink = $previousLink;
+ $this->matchType = $matchType;
}
- public function getPreviousLink()
+ public function getMatchType()
{
- return $this->previousLink;
+ return $this->matchType;
}
+}
- public function setStartIndex($startIndex)
+class Google_Service_Analytics_FilterLowercaseDetails extends Google_Model
+{
+ public $field;
+
+ public function setField($field)
{
- $this->startIndex = $startIndex;
+ $this->field = $field;
}
- public function getStartIndex()
+ public function getField()
{
- return $this->startIndex;
+ return $this->field;
}
+}
- public function setTotalResults($totalResults)
+class Google_Service_Analytics_FilterParentLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
{
- $this->totalResults = $totalResults;
+ $this->href = $href;
}
- public function getTotalResults()
+ public function getHref()
{
- return $this->totalResults;
+ return $this->href;
}
- public function setUsername($username)
+ public function setType($type)
{
- $this->username = $username;
+ $this->type = $type;
}
- public function getUsername()
+ public function getType()
{
- return $this->username;
+ return $this->type;
}
}
-class Google_Service_Analytics_EntityUserLink extends Google_Model
+class Google_Service_Analytics_FilterRef extends Google_Model
{
- protected $entityType = 'Google_Service_Analytics_EntityUserLinkEntity';
- protected $entityDataType = '';
+ public $accountId;
+ public $href;
public $id;
public $kind;
- protected $permissionsType = 'Google_Service_Analytics_EntityUserLinkPermissions';
- protected $permissionsDataType = '';
- public $selfLink;
- protected $userRefType = 'Google_Service_Analytics_UserRef';
- protected $userRefDataType = '';
+ public $name;
- public function setEntity(Google_Service_Analytics_EntityUserLinkEntity $entity)
+ public function setAccountId($accountId)
{
- $this->entity = $entity;
+ $this->accountId = $accountId;
}
- public function getEntity()
+ public function getAccountId()
{
- return $this->entity;
+ return $this->accountId;
+ }
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
}
public function setId($id)
@@ -3854,106 +6240,83 @@ public function getKind()
return $this->kind;
}
- public function setPermissions(Google_Service_Analytics_EntityUserLinkPermissions $permissions)
- {
- $this->permissions = $permissions;
- }
-
- public function getPermissions()
+ public function setName($name)
{
- return $this->permissions;
+ $this->name = $name;
}
- public function setSelfLink($selfLink)
+ public function getName()
{
- $this->selfLink = $selfLink;
+ return $this->name;
}
+}
- public function getSelfLink()
- {
- return $this->selfLink;
- }
+class Google_Service_Analytics_FilterSearchAndReplaceDetails extends Google_Model
+{
+ public $caseSensitive;
+ public $field;
+ public $replaceString;
+ public $searchString;
- public function setUserRef(Google_Service_Analytics_UserRef $userRef)
+ public function setCaseSensitive($caseSensitive)
{
- $this->userRef = $userRef;
+ $this->caseSensitive = $caseSensitive;
}
- public function getUserRef()
+ public function getCaseSensitive()
{
- return $this->userRef;
+ return $this->caseSensitive;
}
-}
-
-class Google_Service_Analytics_EntityUserLinkEntity extends Google_Model
-{
- protected $accountRefType = 'Google_Service_Analytics_AccountRef';
- protected $accountRefDataType = '';
- protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
- protected $profileRefDataType = '';
- protected $webPropertyRefType = 'Google_Service_Analytics_WebPropertyRef';
- protected $webPropertyRefDataType = '';
- public function setAccountRef(Google_Service_Analytics_AccountRef $accountRef)
+ public function setField($field)
{
- $this->accountRef = $accountRef;
+ $this->field = $field;
}
- public function getAccountRef()
+ public function getField()
{
- return $this->accountRef;
+ return $this->field;
}
- public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
+ public function setReplaceString($replaceString)
{
- $this->profileRef = $profileRef;
+ $this->replaceString = $replaceString;
}
- public function getProfileRef()
+ public function getReplaceString()
{
- return $this->profileRef;
+ return $this->replaceString;
}
- public function setWebPropertyRef(Google_Service_Analytics_WebPropertyRef $webPropertyRef)
+ public function setSearchString($searchString)
{
- $this->webPropertyRef = $webPropertyRef;
+ $this->searchString = $searchString;
}
- public function getWebPropertyRef()
+ public function getSearchString()
{
- return $this->webPropertyRef;
+ return $this->searchString;
}
}
-class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
+class Google_Service_Analytics_FilterUppercaseDetails extends Google_Model
{
- public $effective;
- public $local;
-
- public function setEffective($effective)
- {
- $this->effective = $effective;
- }
+ public $field;
- public function getEffective()
- {
- return $this->effective;
- }
-
- public function setLocal($local)
+ public function setField($field)
{
- $this->local = $local;
+ $this->field = $field;
}
- public function getLocal()
+ public function getField()
{
- return $this->local;
+ return $this->field;
}
}
-class Google_Service_Analytics_EntityUserLinks extends Google_Collection
+class Google_Service_Analytics_Filters extends Google_Collection
{
- protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
+ protected $itemsType = 'Google_Service_Analytics_Filter';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
@@ -3961,6 +6324,7 @@ class Google_Service_Analytics_EntityUserLinks extends Google_Collection
public $previousLink;
public $startIndex;
public $totalResults;
+ public $username;
public function setItems($items)
{
@@ -4031,551 +6395,594 @@ public function getTotalResults()
{
return $this->totalResults;
}
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
}
-class Google_Service_Analytics_Experiment extends Google_Collection
+class Google_Service_Analytics_GaData extends Google_Collection
{
- public $accountId;
- public $created;
- public $description;
- public $editableInGaUi;
- public $endTime;
- public $equalWeighting;
+ protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
+ protected $dataTableDataType = '';
public $id;
- public $internalWebPropertyId;
+ public $itemsPerPage;
public $kind;
- public $minimumExperimentLengthInDays;
- public $name;
- public $objectiveMetric;
- public $optimizationType;
- protected $parentLinkType = 'Google_Service_Analytics_ExperimentParentLink';
- protected $parentLinkDataType = '';
- public $profileId;
- public $reasonExperimentEnded;
- public $rewriteVariationUrlsAsOriginal;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_GaDataQuery';
+ protected $queryDataType = '';
+ public $rows;
+ public $sampleSize;
+ public $sampleSpace;
public $selfLink;
- public $servingFramework;
- public $snippet;
- public $startTime;
- public $status;
- public $trafficCoverage;
- public $updated;
- protected $variationsType = 'Google_Service_Analytics_ExperimentVariations';
- protected $variationsDataType = 'array';
- public $webPropertyId;
- public $winnerConfidenceLevel;
- public $winnerFound;
+ public $totalResults;
+ public $totalsForAllResults;
- public function setAccountId($accountId)
+ public function setColumnHeaders($columnHeaders)
{
- $this->accountId = $accountId;
+ $this->columnHeaders = $columnHeaders;
}
- public function getAccountId()
+ public function getColumnHeaders()
{
- return $this->accountId;
+ return $this->columnHeaders;
}
- public function setCreated($created)
+ public function setContainsSampledData($containsSampledData)
{
- $this->created = $created;
+ $this->containsSampledData = $containsSampledData;
}
- public function getCreated()
+ public function getContainsSampledData()
{
- return $this->created;
+ return $this->containsSampledData;
}
- public function setDescription($description)
+ public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
{
- $this->description = $description;
+ $this->dataTable = $dataTable;
}
- public function getDescription()
+ public function getDataTable()
{
- return $this->description;
+ return $this->dataTable;
}
- public function setEditableInGaUi($editableInGaUi)
+ public function setId($id)
{
- $this->editableInGaUi = $editableInGaUi;
+ $this->id = $id;
}
- public function getEditableInGaUi()
+ public function getId()
{
- return $this->editableInGaUi;
+ return $this->id;
}
- public function setEndTime($endTime)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->endTime = $endTime;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getEndTime()
+ public function getItemsPerPage()
{
- return $this->endTime;
+ return $this->itemsPerPage;
}
- public function setEqualWeighting($equalWeighting)
+ public function setKind($kind)
{
- $this->equalWeighting = $equalWeighting;
+ $this->kind = $kind;
}
- public function getEqualWeighting()
+ public function getKind()
{
- return $this->equalWeighting;
+ return $this->kind;
}
- public function setId($id)
+ public function setNextLink($nextLink)
{
- $this->id = $id;
+ $this->nextLink = $nextLink;
}
- public function getId()
+ public function getNextLink()
{
- return $this->id;
+ return $this->nextLink;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setPreviousLink($previousLink)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->previousLink = $previousLink;
}
- public function getInternalWebPropertyId()
+ public function getPreviousLink()
{
- return $this->internalWebPropertyId;
+ return $this->previousLink;
}
- public function setKind($kind)
+ public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
{
- $this->kind = $kind;
+ $this->profileInfo = $profileInfo;
}
- public function getKind()
+ public function getProfileInfo()
{
- return $this->kind;
+ return $this->profileInfo;
}
- public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
+ public function setQuery(Google_Service_Analytics_GaDataQuery $query)
{
- $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
+ $this->query = $query;
}
- public function getMinimumExperimentLengthInDays()
+ public function getQuery()
{
- return $this->minimumExperimentLengthInDays;
+ return $this->query;
}
- public function setName($name)
+ public function setRows($rows)
{
- $this->name = $name;
+ $this->rows = $rows;
}
- public function getName()
+ public function getRows()
{
- return $this->name;
+ return $this->rows;
}
- public function setObjectiveMetric($objectiveMetric)
+ public function setSampleSize($sampleSize)
{
- $this->objectiveMetric = $objectiveMetric;
+ $this->sampleSize = $sampleSize;
}
- public function getObjectiveMetric()
+ public function getSampleSize()
{
- return $this->objectiveMetric;
+ return $this->sampleSize;
}
- public function setOptimizationType($optimizationType)
+ public function setSampleSpace($sampleSpace)
{
- $this->optimizationType = $optimizationType;
+ $this->sampleSpace = $sampleSpace;
}
- public function getOptimizationType()
+ public function getSampleSpace()
{
- return $this->optimizationType;
+ return $this->sampleSpace;
}
- public function setParentLink(Google_Service_Analytics_ExperimentParentLink $parentLink)
+ public function setSelfLink($selfLink)
{
- $this->parentLink = $parentLink;
+ $this->selfLink = $selfLink;
}
- public function getParentLink()
+ public function getSelfLink()
{
- return $this->parentLink;
+ return $this->selfLink;
}
- public function setProfileId($profileId)
+ public function setTotalResults($totalResults)
{
- $this->profileId = $profileId;
+ $this->totalResults = $totalResults;
}
- public function getProfileId()
+ public function getTotalResults()
{
- return $this->profileId;
+ return $this->totalResults;
}
- public function setReasonExperimentEnded($reasonExperimentEnded)
+ public function setTotalsForAllResults($totalsForAllResults)
{
- $this->reasonExperimentEnded = $reasonExperimentEnded;
+ $this->totalsForAllResults = $totalsForAllResults;
}
- public function getReasonExperimentEnded()
+ public function getTotalsForAllResults()
{
- return $this->reasonExperimentEnded;
+ return $this->totalsForAllResults;
}
+}
- public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
+class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
+{
+ public $columnType;
+ public $dataType;
+ public $name;
+
+ public function setColumnType($columnType)
{
- $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
+ $this->columnType = $columnType;
}
- public function getRewriteVariationUrlsAsOriginal()
+ public function getColumnType()
{
- return $this->rewriteVariationUrlsAsOriginal;
+ return $this->columnType;
}
- public function setSelfLink($selfLink)
+ public function setDataType($dataType)
{
- $this->selfLink = $selfLink;
+ $this->dataType = $dataType;
}
- public function getSelfLink()
+ public function getDataType()
{
- return $this->selfLink;
+ return $this->dataType;
}
- public function setServingFramework($servingFramework)
+ public function setName($name)
{
- $this->servingFramework = $servingFramework;
+ $this->name = $name;
}
- public function getServingFramework()
+ public function getName()
{
- return $this->servingFramework;
+ return $this->name;
}
+}
- public function setSnippet($snippet)
+class Google_Service_Analytics_GaDataDataTable extends Google_Collection
+{
+ protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
+ protected $colsDataType = 'array';
+ protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
+ protected $rowsDataType = 'array';
+
+ public function setCols($cols)
{
- $this->snippet = $snippet;
+ $this->cols = $cols;
}
- public function getSnippet()
+ public function getCols()
{
- return $this->snippet;
+ return $this->cols;
}
- public function setStartTime($startTime)
+ public function setRows($rows)
{
- $this->startTime = $startTime;
+ $this->rows = $rows;
}
- public function getStartTime()
+ public function getRows()
{
- return $this->startTime;
+ return $this->rows;
}
+}
- public function setStatus($status)
+class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
+{
+ public $id;
+ public $label;
+ public $type;
+
+ public function setId($id)
{
- $this->status = $status;
+ $this->id = $id;
}
- public function getStatus()
+ public function getId()
{
- return $this->status;
+ return $this->id;
}
- public function setTrafficCoverage($trafficCoverage)
+ public function setLabel($label)
{
- $this->trafficCoverage = $trafficCoverage;
+ $this->label = $label;
}
- public function getTrafficCoverage()
+ public function getLabel()
{
- return $this->trafficCoverage;
+ return $this->label;
}
- public function setUpdated($updated)
+ public function setType($type)
{
- $this->updated = $updated;
+ $this->type = $type;
}
- public function getUpdated()
+ public function getType()
{
- return $this->updated;
+ return $this->type;
}
+}
- public function setVariations($variations)
+class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
+{
+ protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
+ protected $cDataType = 'array';
+
+ public function setC($c)
{
- $this->variations = $variations;
+ $this->c = $c;
}
- public function getVariations()
+ public function getC()
{
- return $this->variations;
+ return $this->c;
}
+}
- public function setWebPropertyId($webPropertyId)
+class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
+{
+ public $v;
+
+ public function setV($v)
{
- $this->webPropertyId = $webPropertyId;
+ $this->v = $v;
}
- public function getWebPropertyId()
+ public function getV()
{
- return $this->webPropertyId;
+ return $this->v;
}
+}
- public function setWinnerConfidenceLevel($winnerConfidenceLevel)
+class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
+{
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
+
+ public function setAccountId($accountId)
{
- $this->winnerConfidenceLevel = $winnerConfidenceLevel;
+ $this->accountId = $accountId;
}
- public function getWinnerConfidenceLevel()
+ public function getAccountId()
{
- return $this->winnerConfidenceLevel;
+ return $this->accountId;
}
- public function setWinnerFound($winnerFound)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->winnerFound = $winnerFound;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getWinnerFound()
+ public function getInternalWebPropertyId()
{
- return $this->winnerFound;
+ return $this->internalWebPropertyId;
}
-}
-class Google_Service_Analytics_ExperimentParentLink extends Google_Model
-{
- public $href;
- public $type;
-
- public function setHref($href)
+ public function setProfileId($profileId)
{
- $this->href = $href;
+ $this->profileId = $profileId;
}
- public function getHref()
+ public function getProfileId()
{
- return $this->href;
+ return $this->profileId;
}
- public function setType($type)
+ public function setProfileName($profileName)
{
- $this->type = $type;
+ $this->profileName = $profileName;
}
- public function getType()
+ public function getProfileName()
{
- return $this->type;
+ return $this->profileName;
}
-}
-
-class Google_Service_Analytics_ExperimentVariations extends Google_Model
-{
- public $name;
- public $status;
- public $url;
- public $weight;
- public $won;
- public function setName($name)
+ public function setTableId($tableId)
{
- $this->name = $name;
+ $this->tableId = $tableId;
}
- public function getName()
+ public function getTableId()
{
- return $this->name;
+ return $this->tableId;
}
- public function setStatus($status)
+ public function setWebPropertyId($webPropertyId)
{
- $this->status = $status;
+ $this->webPropertyId = $webPropertyId;
}
- public function getStatus()
+ public function getWebPropertyId()
{
- return $this->status;
+ return $this->webPropertyId;
}
+}
- public function setUrl($url)
+class Google_Service_Analytics_GaDataQuery extends Google_Collection
+{
+ public $dimensions;
+ public $endDate;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $samplingLevel;
+ public $segment;
+ public $sort;
+ public $startDate;
+ public $startIndex;
+
+ public function setDimensions($dimensions)
{
- $this->url = $url;
+ $this->dimensions = $dimensions;
}
- public function getUrl()
+ public function getDimensions()
{
- return $this->url;
+ return $this->dimensions;
}
- public function setWeight($weight)
+ public function setEndDate($endDate)
{
- $this->weight = $weight;
+ $this->endDate = $endDate;
}
- public function getWeight()
+ public function getEndDate()
{
- return $this->weight;
+ return $this->endDate;
}
- public function setWon($won)
+ public function setFilters($filters)
{
- $this->won = $won;
+ $this->filters = $filters;
}
- public function getWon()
+ public function getFilters()
{
- return $this->won;
+ return $this->filters;
}
-}
-
-class Google_Service_Analytics_Experiments extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Analytics_Experiment';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
- public function setItems($items)
+ public function setIds($ids)
{
- $this->items = $items;
+ $this->ids = $ids;
}
- public function getItems()
+ public function getIds()
{
- return $this->items;
+ return $this->ids;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setMaxResults($maxResults)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->maxResults = $maxResults;
}
- public function getItemsPerPage()
+ public function getMaxResults()
{
- return $this->itemsPerPage;
+ return $this->maxResults;
}
- public function setKind($kind)
+ public function setMetrics($metrics)
{
- $this->kind = $kind;
+ $this->metrics = $metrics;
}
- public function getKind()
+ public function getMetrics()
{
- return $this->kind;
+ return $this->metrics;
}
- public function setNextLink($nextLink)
+ public function setSamplingLevel($samplingLevel)
{
- $this->nextLink = $nextLink;
+ $this->samplingLevel = $samplingLevel;
}
- public function getNextLink()
+ public function getSamplingLevel()
{
- return $this->nextLink;
+ return $this->samplingLevel;
}
- public function setPreviousLink($previousLink)
+ public function setSegment($segment)
{
- $this->previousLink = $previousLink;
+ $this->segment = $segment;
}
- public function getPreviousLink()
+ public function getSegment()
{
- return $this->previousLink;
+ return $this->segment;
}
- public function setStartIndex($startIndex)
+ public function setSort($sort)
{
- $this->startIndex = $startIndex;
+ $this->sort = $sort;
}
- public function getStartIndex()
+ public function getSort()
{
- return $this->startIndex;
+ return $this->sort;
}
- public function setTotalResults($totalResults)
+ public function setStartDate($startDate)
{
- $this->totalResults = $totalResults;
+ $this->startDate = $startDate;
}
- public function getTotalResults()
+ public function getStartDate()
{
- return $this->totalResults;
+ return $this->startDate;
}
- public function setUsername($username)
+ public function setStartIndex($startIndex)
{
- $this->username = $username;
+ $this->startIndex = $startIndex;
}
- public function getUsername()
+ public function getStartIndex()
{
- return $this->username;
+ return $this->startIndex;
}
}
-class Google_Service_Analytics_GaData extends Google_Collection
+class Google_Service_Analytics_Goal extends Google_Model
{
- protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
- protected $columnHeadersDataType = 'array';
- public $containsSampledData;
- protected $dataTableType = 'Google_Service_Analytics_GaDataDataTable';
- protected $dataTableDataType = '';
+ public $accountId;
+ public $active;
+ public $created;
+ protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
+ protected $eventDetailsDataType = '';
public $id;
- public $itemsPerPage;
+ public $internalWebPropertyId;
public $kind;
- public $nextLink;
- public $previousLink;
- protected $profileInfoType = 'Google_Service_Analytics_GaDataProfileInfo';
- protected $profileInfoDataType = '';
- protected $queryType = 'Google_Service_Analytics_GaDataQuery';
- protected $queryDataType = '';
- public $rows;
- public $sampleSize;
- public $sampleSpace;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
+ protected $parentLinkDataType = '';
+ public $profileId;
public $selfLink;
- public $totalResults;
- public $totalsForAllResults;
+ public $type;
+ public $updated;
+ protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
+ protected $urlDestinationDetailsDataType = '';
+ public $value;
+ protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
+ protected $visitNumPagesDetailsDataType = '';
+ protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
+ protected $visitTimeOnSiteDetailsDataType = '';
+ public $webPropertyId;
- public function setColumnHeaders($columnHeaders)
+ public function setAccountId($accountId)
{
- $this->columnHeaders = $columnHeaders;
+ $this->accountId = $accountId;
}
- public function getColumnHeaders()
+ public function getAccountId()
{
- return $this->columnHeaders;
+ return $this->accountId;
}
- public function setContainsSampledData($containsSampledData)
+ public function setActive($active)
{
- $this->containsSampledData = $containsSampledData;
+ $this->active = $active;
}
- public function getContainsSampledData()
+ public function getActive()
{
- return $this->containsSampledData;
+ return $this->active;
}
- public function setDataTable(Google_Service_Analytics_GaDataDataTable $dataTable)
+ public function setCreated($created)
{
- $this->dataTable = $dataTable;
+ $this->created = $created;
}
- public function getDataTable()
+ public function getCreated()
{
- return $this->dataTable;
+ return $this->created;
+ }
+
+ public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
+ {
+ $this->eventDetails = $eventDetails;
+ }
+
+ public function getEventDetails()
+ {
+ return $this->eventDetails;
}
public function setId($id)
@@ -4588,14 +6995,14 @@ public function getId()
return $this->id;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getItemsPerPage()
+ public function getInternalWebPropertyId()
{
- return $this->itemsPerPage;
+ return $this->internalWebPropertyId;
}
public function setKind($kind)
@@ -4608,196 +7015,216 @@ public function getKind()
return $this->kind;
}
- public function setNextLink($nextLink)
+ public function setName($name)
{
- $this->nextLink = $nextLink;
+ $this->name = $name;
}
- public function getNextLink()
+ public function getName()
{
- return $this->nextLink;
+ return $this->name;
}
- public function setPreviousLink($previousLink)
+ public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
{
- $this->previousLink = $previousLink;
+ $this->parentLink = $parentLink;
}
- public function getPreviousLink()
+ public function getParentLink()
{
- return $this->previousLink;
+ return $this->parentLink;
}
- public function setProfileInfo(Google_Service_Analytics_GaDataProfileInfo $profileInfo)
+ public function setProfileId($profileId)
{
- $this->profileInfo = $profileInfo;
+ $this->profileId = $profileId;
}
- public function getProfileInfo()
+ public function getProfileId()
{
- return $this->profileInfo;
+ return $this->profileId;
}
- public function setQuery(Google_Service_Analytics_GaDataQuery $query)
+ public function setSelfLink($selfLink)
{
- $this->query = $query;
+ $this->selfLink = $selfLink;
}
- public function getQuery()
+ public function getSelfLink()
{
- return $this->query;
+ return $this->selfLink;
}
- public function setRows($rows)
+ public function setType($type)
{
- $this->rows = $rows;
+ $this->type = $type;
}
- public function getRows()
+ public function getType()
{
- return $this->rows;
+ return $this->type;
}
- public function setSampleSize($sampleSize)
+ public function setUpdated($updated)
{
- $this->sampleSize = $sampleSize;
+ $this->updated = $updated;
}
- public function getSampleSize()
+ public function getUpdated()
{
- return $this->sampleSize;
+ return $this->updated;
}
- public function setSampleSpace($sampleSpace)
+ public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
{
- $this->sampleSpace = $sampleSpace;
+ $this->urlDestinationDetails = $urlDestinationDetails;
}
- public function getSampleSpace()
+ public function getUrlDestinationDetails()
{
- return $this->sampleSpace;
+ return $this->urlDestinationDetails;
}
- public function setSelfLink($selfLink)
+ public function setValue($value)
{
- $this->selfLink = $selfLink;
+ $this->value = $value;
}
- public function getSelfLink()
+ public function getValue()
{
- return $this->selfLink;
+ return $this->value;
+ }
+
+ public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
+ {
+ $this->visitNumPagesDetails = $visitNumPagesDetails;
+ }
+
+ public function getVisitNumPagesDetails()
+ {
+ return $this->visitNumPagesDetails;
+ }
+
+ public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
+ {
+ $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
+ }
+
+ public function getVisitTimeOnSiteDetails()
+ {
+ return $this->visitTimeOnSiteDetails;
+ }
+
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
}
+}
- public function setTotalResults($totalResults)
+class Google_Service_Analytics_GoalEventDetails extends Google_Collection
+{
+ protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
+ protected $eventConditionsDataType = 'array';
+ public $useEventValue;
+
+ public function setEventConditions($eventConditions)
{
- $this->totalResults = $totalResults;
+ $this->eventConditions = $eventConditions;
}
- public function getTotalResults()
+ public function getEventConditions()
{
- return $this->totalResults;
+ return $this->eventConditions;
}
- public function setTotalsForAllResults($totalsForAllResults)
+ public function setUseEventValue($useEventValue)
{
- $this->totalsForAllResults = $totalsForAllResults;
+ $this->useEventValue = $useEventValue;
}
- public function getTotalsForAllResults()
+ public function getUseEventValue()
{
- return $this->totalsForAllResults;
+ return $this->useEventValue;
}
}
-class Google_Service_Analytics_GaDataColumnHeaders extends Google_Model
+class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
{
- public $columnType;
- public $dataType;
- public $name;
+ public $comparisonType;
+ public $comparisonValue;
+ public $expression;
+ public $matchType;
+ public $type;
- public function setColumnType($columnType)
+ public function setComparisonType($comparisonType)
{
- $this->columnType = $columnType;
+ $this->comparisonType = $comparisonType;
}
- public function getColumnType()
+ public function getComparisonType()
{
- return $this->columnType;
+ return $this->comparisonType;
}
- public function setDataType($dataType)
+ public function setComparisonValue($comparisonValue)
{
- $this->dataType = $dataType;
+ $this->comparisonValue = $comparisonValue;
}
- public function getDataType()
+ public function getComparisonValue()
{
- return $this->dataType;
+ return $this->comparisonValue;
}
- public function setName($name)
+ public function setExpression($expression)
{
- $this->name = $name;
+ $this->expression = $expression;
}
- public function getName()
+ public function getExpression()
{
- return $this->name;
+ return $this->expression;
}
-}
-
-class Google_Service_Analytics_GaDataDataTable extends Google_Collection
-{
- protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
- protected $colsDataType = 'array';
- protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
- protected $rowsDataType = 'array';
- public function setCols($cols)
+ public function setMatchType($matchType)
{
- $this->cols = $cols;
+ $this->matchType = $matchType;
}
- public function getCols()
+ public function getMatchType()
{
- return $this->cols;
+ return $this->matchType;
}
- public function setRows($rows)
+ public function setType($type)
{
- $this->rows = $rows;
+ $this->type = $type;
}
- public function getRows()
+ public function getType()
{
- return $this->rows;
+ return $this->type;
}
}
-class Google_Service_Analytics_GaDataDataTableCols extends Google_Model
+class Google_Service_Analytics_GoalParentLink extends Google_Model
{
- public $id;
- public $label;
+ public $href;
public $type;
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLabel($label)
+ public function setHref($href)
{
- $this->label = $label;
+ $this->href = $href;
}
- public function getLabel()
+ public function getHref()
{
- return $this->label;
+ return $this->href;
}
public function setType($type)
@@ -4811,219 +7238,215 @@ public function getType()
}
}
-class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
+class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
{
- protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
- protected $cDataType = 'array';
+ public $caseSensitive;
+ public $firstStepRequired;
+ public $matchType;
+ protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
+ protected $stepsDataType = 'array';
+ public $url;
- public function setC($c)
+ public function setCaseSensitive($caseSensitive)
{
- $this->c = $c;
+ $this->caseSensitive = $caseSensitive;
}
- public function getC()
+ public function getCaseSensitive()
{
- return $this->c;
+ return $this->caseSensitive;
}
-}
-
-class Google_Service_Analytics_GaDataDataTableRowsC extends Google_Model
-{
- public $v;
- public function setV($v)
+ public function setFirstStepRequired($firstStepRequired)
{
- $this->v = $v;
+ $this->firstStepRequired = $firstStepRequired;
}
- public function getV()
+ public function getFirstStepRequired()
{
- return $this->v;
+ return $this->firstStepRequired;
}
-}
-
-class Google_Service_Analytics_GaDataProfileInfo extends Google_Model
-{
- public $accountId;
- public $internalWebPropertyId;
- public $profileId;
- public $profileName;
- public $tableId;
- public $webPropertyId;
- public function setAccountId($accountId)
+ public function setMatchType($matchType)
{
- $this->accountId = $accountId;
+ $this->matchType = $matchType;
}
- public function getAccountId()
+ public function getMatchType()
{
- return $this->accountId;
+ return $this->matchType;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setSteps($steps)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->steps = $steps;
}
- public function getInternalWebPropertyId()
+ public function getSteps()
{
- return $this->internalWebPropertyId;
+ return $this->steps;
}
- public function setProfileId($profileId)
+ public function setUrl($url)
{
- $this->profileId = $profileId;
+ $this->url = $url;
}
- public function getProfileId()
+ public function getUrl()
{
- return $this->profileId;
+ return $this->url;
}
+}
- public function setProfileName($profileName)
+class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
+{
+ public $name;
+ public $number;
+ public $url;
+
+ public function setName($name)
{
- $this->profileName = $profileName;
+ $this->name = $name;
}
- public function getProfileName()
+ public function getName()
{
- return $this->profileName;
+ return $this->name;
}
- public function setTableId($tableId)
+ public function setNumber($number)
{
- $this->tableId = $tableId;
+ $this->number = $number;
}
- public function getTableId()
+ public function getNumber()
{
- return $this->tableId;
+ return $this->number;
}
- public function setWebPropertyId($webPropertyId)
+ public function setUrl($url)
{
- $this->webPropertyId = $webPropertyId;
+ $this->url = $url;
}
- public function getWebPropertyId()
+ public function getUrl()
{
- return $this->webPropertyId;
+ return $this->url;
}
}
-class Google_Service_Analytics_GaDataQuery extends Google_Collection
+class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
{
- public $dimensions;
- public $endDate;
- public $filters;
- public $ids;
- public $maxResults;
- public $metrics;
- public $samplingLevel;
- public $segment;
- public $sort;
- public $startDate;
- public $startIndex;
-
- public function setDimensions($dimensions)
- {
- $this->dimensions = $dimensions;
- }
+ public $comparisonType;
+ public $comparisonValue;
- public function getDimensions()
+ public function setComparisonType($comparisonType)
{
- return $this->dimensions;
+ $this->comparisonType = $comparisonType;
}
- public function setEndDate($endDate)
+ public function getComparisonType()
{
- $this->endDate = $endDate;
+ return $this->comparisonType;
}
- public function getEndDate()
+ public function setComparisonValue($comparisonValue)
{
- return $this->endDate;
+ $this->comparisonValue = $comparisonValue;
}
- public function setFilters($filters)
+ public function getComparisonValue()
{
- $this->filters = $filters;
+ return $this->comparisonValue;
}
+}
- public function getFilters()
- {
- return $this->filters;
- }
+class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
+{
+ public $comparisonType;
+ public $comparisonValue;
- public function setIds($ids)
+ public function setComparisonType($comparisonType)
{
- $this->ids = $ids;
+ $this->comparisonType = $comparisonType;
}
- public function getIds()
+ public function getComparisonType()
{
- return $this->ids;
+ return $this->comparisonType;
}
- public function setMaxResults($maxResults)
+ public function setComparisonValue($comparisonValue)
{
- $this->maxResults = $maxResults;
+ $this->comparisonValue = $comparisonValue;
}
- public function getMaxResults()
+ public function getComparisonValue()
{
- return $this->maxResults;
+ return $this->comparisonValue;
}
+}
- public function setMetrics($metrics)
+class Google_Service_Analytics_Goals extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Goal';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- $this->metrics = $metrics;
+ $this->items = $items;
}
- public function getMetrics()
+ public function getItems()
{
- return $this->metrics;
+ return $this->items;
}
- public function setSamplingLevel($samplingLevel)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->samplingLevel = $samplingLevel;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getSamplingLevel()
+ public function getItemsPerPage()
{
- return $this->samplingLevel;
+ return $this->itemsPerPage;
}
- public function setSegment($segment)
+ public function setKind($kind)
{
- $this->segment = $segment;
+ $this->kind = $kind;
}
- public function getSegment()
+ public function getKind()
{
- return $this->segment;
+ return $this->kind;
}
- public function setSort($sort)
+ public function setNextLink($nextLink)
{
- $this->sort = $sort;
+ $this->nextLink = $nextLink;
}
- public function getSort()
+ public function getNextLink()
{
- return $this->sort;
+ return $this->nextLink;
}
- public function setStartDate($startDate)
+ public function setPreviousLink($previousLink)
{
- $this->startDate = $startDate;
+ $this->previousLink = $previousLink;
}
- public function getStartDate()
+ public function getPreviousLink()
{
- return $this->startDate;
+ return $this->previousLink;
}
public function setStartIndex($startIndex)
@@ -5035,72 +7458,68 @@ public function getStartIndex()
{
return $this->startIndex;
}
-}
-
-class Google_Service_Analytics_Goal extends Google_Model
-{
- public $accountId;
- public $active;
- public $created;
- protected $eventDetailsType = 'Google_Service_Analytics_GoalEventDetails';
- protected $eventDetailsDataType = '';
- public $id;
- public $internalWebPropertyId;
- public $kind;
- public $name;
- protected $parentLinkType = 'Google_Service_Analytics_GoalParentLink';
- protected $parentLinkDataType = '';
- public $profileId;
- public $selfLink;
- public $type;
- public $updated;
- protected $urlDestinationDetailsType = 'Google_Service_Analytics_GoalUrlDestinationDetails';
- protected $urlDestinationDetailsDataType = '';
- public $value;
- protected $visitNumPagesDetailsType = 'Google_Service_Analytics_GoalVisitNumPagesDetails';
- protected $visitNumPagesDetailsDataType = '';
- protected $visitTimeOnSiteDetailsType = 'Google_Service_Analytics_GoalVisitTimeOnSiteDetails';
- protected $visitTimeOnSiteDetailsDataType = '';
- public $webPropertyId;
- public function setAccountId($accountId)
+ public function setTotalResults($totalResults)
{
- $this->accountId = $accountId;
+ $this->totalResults = $totalResults;
}
- public function getAccountId()
+ public function getTotalResults()
{
- return $this->accountId;
+ return $this->totalResults;
}
- public function setActive($active)
+ public function setUsername($username)
{
- $this->active = $active;
+ $this->username = $username;
}
- public function getActive()
+ public function getUsername()
{
- return $this->active;
+ return $this->username;
}
+}
- public function setCreated($created)
+class Google_Service_Analytics_McfData extends Google_Collection
+{
+ protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $containsSampledData;
+ public $id;
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_McfDataQuery';
+ protected $queryDataType = '';
+ protected $rowsType = 'Google_Service_Analytics_McfDataRows';
+ protected $rowsDataType = 'array';
+ public $sampleSize;
+ public $sampleSpace;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
+
+ public function setColumnHeaders($columnHeaders)
{
- $this->created = $created;
+ $this->columnHeaders = $columnHeaders;
}
- public function getCreated()
+ public function getColumnHeaders()
{
- return $this->created;
+ return $this->columnHeaders;
}
- public function setEventDetails(Google_Service_Analytics_GoalEventDetails $eventDetails)
+ public function setContainsSampledData($containsSampledData)
{
- $this->eventDetails = $eventDetails;
+ $this->containsSampledData = $containsSampledData;
}
- public function getEventDetails()
+ public function getContainsSampledData()
{
- return $this->eventDetails;
+ return $this->containsSampledData;
}
public function setId($id)
@@ -5113,14 +7532,14 @@ public function getId()
return $this->id;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getInternalWebPropertyId()
+ public function getItemsPerPage()
{
- return $this->internalWebPropertyId;
+ return $this->itemsPerPage;
}
public function setKind($kind)
@@ -5133,511 +7552,489 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setNextLink($nextLink)
{
- $this->name = $name;
+ $this->nextLink = $nextLink;
}
- public function getName()
+ public function getNextLink()
{
- return $this->name;
+ return $this->nextLink;
}
- public function setParentLink(Google_Service_Analytics_GoalParentLink $parentLink)
+ public function setPreviousLink($previousLink)
{
- $this->parentLink = $parentLink;
+ $this->previousLink = $previousLink;
}
- public function getParentLink()
+ public function getPreviousLink()
{
- return $this->parentLink;
+ return $this->previousLink;
}
- public function setProfileId($profileId)
+ public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
{
- $this->profileId = $profileId;
+ $this->profileInfo = $profileInfo;
}
- public function getProfileId()
+ public function getProfileInfo()
{
- return $this->profileId;
+ return $this->profileInfo;
}
- public function setSelfLink($selfLink)
+ public function setQuery(Google_Service_Analytics_McfDataQuery $query)
{
- $this->selfLink = $selfLink;
+ $this->query = $query;
}
- public function getSelfLink()
+ public function getQuery()
{
- return $this->selfLink;
+ return $this->query;
}
- public function setType($type)
+ public function setRows($rows)
{
- $this->type = $type;
+ $this->rows = $rows;
}
- public function getType()
+ public function getRows()
{
- return $this->type;
+ return $this->rows;
}
- public function setUpdated($updated)
+ public function setSampleSize($sampleSize)
{
- $this->updated = $updated;
+ $this->sampleSize = $sampleSize;
}
- public function getUpdated()
+ public function getSampleSize()
{
- return $this->updated;
+ return $this->sampleSize;
}
- public function setUrlDestinationDetails(Google_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
+ public function setSampleSpace($sampleSpace)
{
- $this->urlDestinationDetails = $urlDestinationDetails;
+ $this->sampleSpace = $sampleSpace;
}
- public function getUrlDestinationDetails()
+ public function getSampleSpace()
{
- return $this->urlDestinationDetails;
+ return $this->sampleSpace;
}
- public function setValue($value)
+ public function setSelfLink($selfLink)
{
- $this->value = $value;
+ $this->selfLink = $selfLink;
}
- public function getValue()
+ public function getSelfLink()
{
- return $this->value;
+ return $this->selfLink;
}
- public function setVisitNumPagesDetails(Google_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
+ public function setTotalResults($totalResults)
{
- $this->visitNumPagesDetails = $visitNumPagesDetails;
+ $this->totalResults = $totalResults;
}
- public function getVisitNumPagesDetails()
+ public function getTotalResults()
{
- return $this->visitNumPagesDetails;
+ return $this->totalResults;
}
- public function setVisitTimeOnSiteDetails(Google_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
+ public function setTotalsForAllResults($totalsForAllResults)
{
- $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
+ $this->totalsForAllResults = $totalsForAllResults;
}
- public function getVisitTimeOnSiteDetails()
+ public function getTotalsForAllResults()
{
- return $this->visitTimeOnSiteDetails;
+ return $this->totalsForAllResults;
}
+}
- public function setWebPropertyId($webPropertyId)
+class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
+{
+ public $columnType;
+ public $dataType;
+ public $name;
+
+ public function setColumnType($columnType)
{
- $this->webPropertyId = $webPropertyId;
+ $this->columnType = $columnType;
}
- public function getWebPropertyId()
+ public function getColumnType()
{
- return $this->webPropertyId;
+ return $this->columnType;
}
-}
-
-class Google_Service_Analytics_GoalEventDetails extends Google_Collection
-{
- protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
- protected $eventConditionsDataType = 'array';
- public $useEventValue;
- public function setEventConditions($eventConditions)
+ public function setDataType($dataType)
{
- $this->eventConditions = $eventConditions;
+ $this->dataType = $dataType;
}
- public function getEventConditions()
+ public function getDataType()
{
- return $this->eventConditions;
+ return $this->dataType;
}
- public function setUseEventValue($useEventValue)
+ public function setName($name)
{
- $this->useEventValue = $useEventValue;
+ $this->name = $name;
}
- public function getUseEventValue()
+ public function getName()
{
- return $this->useEventValue;
+ return $this->name;
}
}
-class Google_Service_Analytics_GoalEventDetailsEventConditions extends Google_Model
+class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
{
- public $comparisonType;
- public $comparisonValue;
- public $expression;
- public $matchType;
- public $type;
+ public $accountId;
+ public $internalWebPropertyId;
+ public $profileId;
+ public $profileName;
+ public $tableId;
+ public $webPropertyId;
- public function setComparisonType($comparisonType)
+ public function setAccountId($accountId)
{
- $this->comparisonType = $comparisonType;
+ $this->accountId = $accountId;
}
- public function getComparisonType()
+ public function getAccountId()
{
- return $this->comparisonType;
+ return $this->accountId;
}
- public function setComparisonValue($comparisonValue)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->comparisonValue = $comparisonValue;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getComparisonValue()
+ public function getInternalWebPropertyId()
{
- return $this->comparisonValue;
+ return $this->internalWebPropertyId;
}
- public function setExpression($expression)
+ public function setProfileId($profileId)
{
- $this->expression = $expression;
+ $this->profileId = $profileId;
}
- public function getExpression()
+ public function getProfileId()
{
- return $this->expression;
+ return $this->profileId;
}
- public function setMatchType($matchType)
+ public function setProfileName($profileName)
{
- $this->matchType = $matchType;
+ $this->profileName = $profileName;
}
- public function getMatchType()
+ public function getProfileName()
{
- return $this->matchType;
+ return $this->profileName;
}
- public function setType($type)
+ public function setTableId($tableId)
{
- $this->type = $type;
+ $this->tableId = $tableId;
}
- public function getType()
+ public function getTableId()
{
- return $this->type;
+ return $this->tableId;
}
-}
-
-class Google_Service_Analytics_GoalParentLink extends Google_Model
-{
- public $href;
- public $type;
- public function setHref($href)
+ public function setWebPropertyId($webPropertyId)
{
- $this->href = $href;
+ $this->webPropertyId = $webPropertyId;
}
- public function getHref()
+ public function getWebPropertyId()
{
- return $this->href;
+ return $this->webPropertyId;
}
+}
- public function setType($type)
+class Google_Service_Analytics_McfDataQuery extends Google_Collection
+{
+ public $dimensions;
+ public $endDate;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $samplingLevel;
+ public $segment;
+ public $sort;
+ public $startDate;
+ public $startIndex;
+
+ public function setDimensions($dimensions)
{
- $this->type = $type;
+ $this->dimensions = $dimensions;
}
- public function getType()
+ public function getDimensions()
{
- return $this->type;
+ return $this->dimensions;
}
-}
-
-class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
-{
- public $caseSensitive;
- public $firstStepRequired;
- public $matchType;
- protected $stepsType = 'Google_Service_Analytics_GoalUrlDestinationDetailsSteps';
- protected $stepsDataType = 'array';
- public $url;
- public function setCaseSensitive($caseSensitive)
+ public function setEndDate($endDate)
{
- $this->caseSensitive = $caseSensitive;
+ $this->endDate = $endDate;
}
- public function getCaseSensitive()
+ public function getEndDate()
{
- return $this->caseSensitive;
+ return $this->endDate;
}
- public function setFirstStepRequired($firstStepRequired)
+ public function setFilters($filters)
{
- $this->firstStepRequired = $firstStepRequired;
+ $this->filters = $filters;
}
- public function getFirstStepRequired()
+ public function getFilters()
{
- return $this->firstStepRequired;
+ return $this->filters;
}
- public function setMatchType($matchType)
+ public function setIds($ids)
{
- $this->matchType = $matchType;
+ $this->ids = $ids;
}
- public function getMatchType()
+ public function getIds()
{
- return $this->matchType;
+ return $this->ids;
}
- public function setSteps($steps)
+ public function setMaxResults($maxResults)
{
- $this->steps = $steps;
+ $this->maxResults = $maxResults;
}
- public function getSteps()
+ public function getMaxResults()
{
- return $this->steps;
+ return $this->maxResults;
}
- public function setUrl($url)
+ public function setMetrics($metrics)
{
- $this->url = $url;
+ $this->metrics = $metrics;
}
- public function getUrl()
+ public function getMetrics()
{
- return $this->url;
+ return $this->metrics;
}
-}
-class Google_Service_Analytics_GoalUrlDestinationDetailsSteps extends Google_Model
-{
- public $name;
- public $number;
- public $url;
-
- public function setName($name)
+ public function setSamplingLevel($samplingLevel)
{
- $this->name = $name;
+ $this->samplingLevel = $samplingLevel;
}
- public function getName()
+ public function getSamplingLevel()
{
- return $this->name;
+ return $this->samplingLevel;
}
- public function setNumber($number)
+ public function setSegment($segment)
{
- $this->number = $number;
+ $this->segment = $segment;
}
- public function getNumber()
+ public function getSegment()
{
- return $this->number;
+ return $this->segment;
}
- public function setUrl($url)
+ public function setSort($sort)
{
- $this->url = $url;
+ $this->sort = $sort;
}
- public function getUrl()
+ public function getSort()
{
- return $this->url;
+ return $this->sort;
}
-}
-
-class Google_Service_Analytics_GoalVisitNumPagesDetails extends Google_Model
-{
- public $comparisonType;
- public $comparisonValue;
- public function setComparisonType($comparisonType)
+ public function setStartDate($startDate)
{
- $this->comparisonType = $comparisonType;
+ $this->startDate = $startDate;
}
- public function getComparisonType()
+ public function getStartDate()
{
- return $this->comparisonType;
+ return $this->startDate;
}
- public function setComparisonValue($comparisonValue)
+ public function setStartIndex($startIndex)
{
- $this->comparisonValue = $comparisonValue;
+ $this->startIndex = $startIndex;
}
- public function getComparisonValue()
+ public function getStartIndex()
{
- return $this->comparisonValue;
+ return $this->startIndex;
}
}
-class Google_Service_Analytics_GoalVisitTimeOnSiteDetails extends Google_Model
+class Google_Service_Analytics_McfDataRows extends Google_Collection
{
- public $comparisonType;
- public $comparisonValue;
+ protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
+ protected $conversionPathValueDataType = 'array';
+ public $primitiveValue;
- public function setComparisonType($comparisonType)
+ public function setConversionPathValue($conversionPathValue)
{
- $this->comparisonType = $comparisonType;
+ $this->conversionPathValue = $conversionPathValue;
}
- public function getComparisonType()
+ public function getConversionPathValue()
{
- return $this->comparisonType;
+ return $this->conversionPathValue;
}
- public function setComparisonValue($comparisonValue)
+ public function setPrimitiveValue($primitiveValue)
{
- $this->comparisonValue = $comparisonValue;
+ $this->primitiveValue = $primitiveValue;
}
- public function getComparisonValue()
+ public function getPrimitiveValue()
{
- return $this->comparisonValue;
+ return $this->primitiveValue;
}
}
-class Google_Service_Analytics_Goals extends Google_Collection
+class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
{
- protected $itemsType = 'Google_Service_Analytics_Goal';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
+ public $interactionType;
+ public $nodeValue;
- public function setItemsPerPage($itemsPerPage)
+ public function setInteractionType($interactionType)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->interactionType = $interactionType;
}
- public function getItemsPerPage()
+ public function getInteractionType()
{
- return $this->itemsPerPage;
+ return $this->interactionType;
}
- public function setKind($kind)
+ public function setNodeValue($nodeValue)
{
- $this->kind = $kind;
+ $this->nodeValue = $nodeValue;
}
- public function getKind()
+ public function getNodeValue()
{
- return $this->kind;
+ return $this->nodeValue;
}
+}
- public function setNextLink($nextLink)
+class Google_Service_Analytics_Profile extends Google_Model
+{
+ public $accountId;
+ protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
+ protected $childLinkDataType = '';
+ public $created;
+ public $currency;
+ public $defaultPage;
+ public $eCommerceTracking;
+ public $excludeQueryParameters;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
+ protected $parentLinkDataType = '';
+ protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
+ protected $permissionsDataType = '';
+ public $selfLink;
+ public $siteSearchCategoryParameters;
+ public $siteSearchQueryParameters;
+ public $stripSiteSearchCategoryParameters;
+ public $stripSiteSearchQueryParameters;
+ public $timezone;
+ public $type;
+ public $updated;
+ public $webPropertyId;
+ public $websiteUrl;
+
+ public function setAccountId($accountId)
{
- $this->nextLink = $nextLink;
+ $this->accountId = $accountId;
}
- public function getNextLink()
+ public function getAccountId()
{
- return $this->nextLink;
+ return $this->accountId;
}
- public function setPreviousLink($previousLink)
+ public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
{
- $this->previousLink = $previousLink;
+ $this->childLink = $childLink;
}
- public function getPreviousLink()
+ public function getChildLink()
{
- return $this->previousLink;
+ return $this->childLink;
}
- public function setStartIndex($startIndex)
+ public function setCreated($created)
{
- $this->startIndex = $startIndex;
+ $this->created = $created;
}
- public function getStartIndex()
+ public function getCreated()
{
- return $this->startIndex;
+ return $this->created;
}
- public function setTotalResults($totalResults)
+ public function setCurrency($currency)
{
- $this->totalResults = $totalResults;
+ $this->currency = $currency;
}
- public function getTotalResults()
+ public function getCurrency()
{
- return $this->totalResults;
+ return $this->currency;
}
- public function setUsername($username)
+ public function setDefaultPage($defaultPage)
{
- $this->username = $username;
+ $this->defaultPage = $defaultPage;
}
- public function getUsername()
+ public function getDefaultPage()
{
- return $this->username;
+ return $this->defaultPage;
}
-}
-
-class Google_Service_Analytics_McfData extends Google_Collection
-{
- protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
- protected $columnHeadersDataType = 'array';
- public $containsSampledData;
- public $id;
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- protected $profileInfoType = 'Google_Service_Analytics_McfDataProfileInfo';
- protected $profileInfoDataType = '';
- protected $queryType = 'Google_Service_Analytics_McfDataQuery';
- protected $queryDataType = '';
- protected $rowsType = 'Google_Service_Analytics_McfDataRows';
- protected $rowsDataType = 'array';
- public $sampleSize;
- public $sampleSpace;
- public $selfLink;
- public $totalResults;
- public $totalsForAllResults;
- public function setColumnHeaders($columnHeaders)
+ public function setECommerceTracking($eCommerceTracking)
{
- $this->columnHeaders = $columnHeaders;
+ $this->eCommerceTracking = $eCommerceTracking;
}
- public function getColumnHeaders()
+ public function getECommerceTracking()
{
- return $this->columnHeaders;
+ return $this->eCommerceTracking;
}
- public function setContainsSampledData($containsSampledData)
+ public function setExcludeQueryParameters($excludeQueryParameters)
{
- $this->containsSampledData = $containsSampledData;
+ $this->excludeQueryParameters = $excludeQueryParameters;
}
- public function getContainsSampledData()
+ public function getExcludeQueryParameters()
{
- return $this->containsSampledData;
+ return $this->excludeQueryParameters;
}
public function setId($id)
@@ -5650,14 +8047,14 @@ public function getId()
return $this->id;
}
- public function setItemsPerPage($itemsPerPage)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->itemsPerPage = $itemsPerPage;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getItemsPerPage()
+ public function getInternalWebPropertyId()
{
- return $this->itemsPerPage;
+ return $this->internalWebPropertyId;
}
public function setKind($kind)
@@ -5670,509 +8067,528 @@ public function getKind()
return $this->kind;
}
- public function setNextLink($nextLink)
+ public function setName($name)
{
- $this->nextLink = $nextLink;
+ $this->name = $name;
}
- public function getNextLink()
+ public function getName()
{
- return $this->nextLink;
+ return $this->name;
}
- public function setPreviousLink($previousLink)
+ public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
{
- $this->previousLink = $previousLink;
+ $this->parentLink = $parentLink;
}
- public function getPreviousLink()
+ public function getParentLink()
{
- return $this->previousLink;
+ return $this->parentLink;
}
- public function setProfileInfo(Google_Service_Analytics_McfDataProfileInfo $profileInfo)
+ public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
{
- $this->profileInfo = $profileInfo;
+ $this->permissions = $permissions;
}
- public function getProfileInfo()
+ public function getPermissions()
{
- return $this->profileInfo;
+ return $this->permissions;
}
- public function setQuery(Google_Service_Analytics_McfDataQuery $query)
+ public function setSelfLink($selfLink)
{
- $this->query = $query;
+ $this->selfLink = $selfLink;
}
- public function getQuery()
+ public function getSelfLink()
{
- return $this->query;
+ return $this->selfLink;
}
- public function setRows($rows)
+ public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
{
- $this->rows = $rows;
+ $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
}
- public function getRows()
+ public function getSiteSearchCategoryParameters()
{
- return $this->rows;
+ return $this->siteSearchCategoryParameters;
}
- public function setSampleSize($sampleSize)
+ public function setSiteSearchQueryParameters($siteSearchQueryParameters)
{
- $this->sampleSize = $sampleSize;
+ $this->siteSearchQueryParameters = $siteSearchQueryParameters;
}
- public function getSampleSize()
+ public function getSiteSearchQueryParameters()
{
- return $this->sampleSize;
+ return $this->siteSearchQueryParameters;
}
- public function setSampleSpace($sampleSpace)
+ public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
{
- $this->sampleSpace = $sampleSpace;
+ $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
}
- public function getSampleSpace()
+ public function getStripSiteSearchCategoryParameters()
{
- return $this->sampleSpace;
+ return $this->stripSiteSearchCategoryParameters;
}
- public function setSelfLink($selfLink)
+ public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
{
- $this->selfLink = $selfLink;
+ $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
}
- public function getSelfLink()
+ public function getStripSiteSearchQueryParameters()
{
- return $this->selfLink;
+ return $this->stripSiteSearchQueryParameters;
}
- public function setTotalResults($totalResults)
+ public function setTimezone($timezone)
{
- $this->totalResults = $totalResults;
+ $this->timezone = $timezone;
}
- public function getTotalResults()
+ public function getTimezone()
{
- return $this->totalResults;
+ return $this->timezone;
}
- public function setTotalsForAllResults($totalsForAllResults)
+ public function setType($type)
{
- $this->totalsForAllResults = $totalsForAllResults;
+ $this->type = $type;
}
- public function getTotalsForAllResults()
+ public function getType()
{
- return $this->totalsForAllResults;
+ return $this->type;
}
-}
-class Google_Service_Analytics_McfDataColumnHeaders extends Google_Model
-{
- public $columnType;
- public $dataType;
- public $name;
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
- public function setColumnType($columnType)
+ public function getUpdated()
{
- $this->columnType = $columnType;
+ return $this->updated;
}
- public function getColumnType()
+ public function setWebPropertyId($webPropertyId)
{
- return $this->columnType;
+ $this->webPropertyId = $webPropertyId;
}
- public function setDataType($dataType)
+ public function getWebPropertyId()
{
- $this->dataType = $dataType;
+ return $this->webPropertyId;
}
- public function getDataType()
+ public function setWebsiteUrl($websiteUrl)
{
- return $this->dataType;
+ $this->websiteUrl = $websiteUrl;
}
- public function setName($name)
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Google_Service_Analytics_ProfileChildLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+
+ public function getHref()
+ {
+ return $this->href;
+ }
+
+ public function setType($type)
{
- $this->name = $name;
+ $this->type = $type;
}
- public function getName()
+ public function getType()
{
- return $this->name;
+ return $this->type;
}
}
-class Google_Service_Analytics_McfDataProfileInfo extends Google_Model
+class Google_Service_Analytics_ProfileFilterLink extends Google_Model
{
- public $accountId;
- public $internalWebPropertyId;
- public $profileId;
- public $profileName;
- public $tableId;
- public $webPropertyId;
+ protected $filterRefType = 'Google_Service_Analytics_FilterRef';
+ protected $filterRefDataType = '';
+ public $id;
+ public $kind;
+ protected $profileRefType = 'Google_Service_Analytics_ProfileRef';
+ protected $profileRefDataType = '';
+ public $rank;
+ public $selfLink;
- public function setAccountId($accountId)
+ public function setFilterRef(Google_Service_Analytics_FilterRef $filterRef)
{
- $this->accountId = $accountId;
+ $this->filterRef = $filterRef;
}
- public function getAccountId()
+ public function getFilterRef()
{
- return $this->accountId;
+ return $this->filterRef;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setId($id)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->id = $id;
}
- public function getInternalWebPropertyId()
+ public function getId()
{
- return $this->internalWebPropertyId;
+ return $this->id;
}
- public function setProfileId($profileId)
+ public function setKind($kind)
{
- $this->profileId = $profileId;
+ $this->kind = $kind;
}
- public function getProfileId()
+ public function getKind()
{
- return $this->profileId;
+ return $this->kind;
}
- public function setProfileName($profileName)
+ public function setProfileRef(Google_Service_Analytics_ProfileRef $profileRef)
{
- $this->profileName = $profileName;
+ $this->profileRef = $profileRef;
}
- public function getProfileName()
+ public function getProfileRef()
{
- return $this->profileName;
+ return $this->profileRef;
}
- public function setTableId($tableId)
+ public function setRank($rank)
{
- $this->tableId = $tableId;
+ $this->rank = $rank;
}
- public function getTableId()
+ public function getRank()
{
- return $this->tableId;
+ return $this->rank;
}
- public function setWebPropertyId($webPropertyId)
+ public function setSelfLink($selfLink)
{
- $this->webPropertyId = $webPropertyId;
+ $this->selfLink = $selfLink;
}
- public function getWebPropertyId()
+ public function getSelfLink()
{
- return $this->webPropertyId;
+ return $this->selfLink;
}
}
-class Google_Service_Analytics_McfDataQuery extends Google_Collection
+class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
{
- public $dimensions;
- public $endDate;
- public $filters;
- public $ids;
- public $maxResults;
- public $metrics;
- public $samplingLevel;
- public $segment;
- public $sort;
- public $startDate;
+ protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
public $startIndex;
+ public $totalResults;
+ public $username;
- public function setDimensions($dimensions)
+ public function setItems($items)
{
- $this->dimensions = $dimensions;
+ $this->items = $items;
}
- public function getDimensions()
+ public function getItems()
{
- return $this->dimensions;
+ return $this->items;
}
- public function setEndDate($endDate)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->endDate = $endDate;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getEndDate()
+ public function getItemsPerPage()
{
- return $this->endDate;
+ return $this->itemsPerPage;
}
- public function setFilters($filters)
+ public function setKind($kind)
{
- $this->filters = $filters;
+ $this->kind = $kind;
}
- public function getFilters()
+ public function getKind()
{
- return $this->filters;
+ return $this->kind;
}
- public function setIds($ids)
+ public function setNextLink($nextLink)
{
- $this->ids = $ids;
+ $this->nextLink = $nextLink;
}
- public function getIds()
+ public function getNextLink()
{
- return $this->ids;
+ return $this->nextLink;
}
- public function setMaxResults($maxResults)
+ public function setPreviousLink($previousLink)
{
- $this->maxResults = $maxResults;
+ $this->previousLink = $previousLink;
}
- public function getMaxResults()
+ public function getPreviousLink()
{
- return $this->maxResults;
+ return $this->previousLink;
}
- public function setMetrics($metrics)
+ public function setStartIndex($startIndex)
{
- $this->metrics = $metrics;
+ $this->startIndex = $startIndex;
}
- public function getMetrics()
+ public function getStartIndex()
{
- return $this->metrics;
+ return $this->startIndex;
}
- public function setSamplingLevel($samplingLevel)
+ public function setTotalResults($totalResults)
{
- $this->samplingLevel = $samplingLevel;
+ $this->totalResults = $totalResults;
}
- public function getSamplingLevel()
+ public function getTotalResults()
{
- return $this->samplingLevel;
+ return $this->totalResults;
}
- public function setSegment($segment)
+ public function setUsername($username)
{
- $this->segment = $segment;
+ $this->username = $username;
}
- public function getSegment()
+ public function getUsername()
{
- return $this->segment;
+ return $this->username;
}
+}
- public function setSort($sort)
+class Google_Service_Analytics_ProfileParentLink extends Google_Model
+{
+ public $href;
+ public $type;
+
+ public function setHref($href)
{
- $this->sort = $sort;
+ $this->href = $href;
}
- public function getSort()
+ public function getHref()
{
- return $this->sort;
+ return $this->href;
}
- public function setStartDate($startDate)
+ public function setType($type)
{
- $this->startDate = $startDate;
+ $this->type = $type;
}
- public function getStartDate()
+ public function getType()
{
- return $this->startDate;
+ return $this->type;
}
+}
- public function setStartIndex($startIndex)
+class Google_Service_Analytics_ProfilePermissions extends Google_Collection
+{
+ public $effective;
+
+ public function setEffective($effective)
{
- $this->startIndex = $startIndex;
+ $this->effective = $effective;
}
- public function getStartIndex()
+ public function getEffective()
{
- return $this->startIndex;
+ return $this->effective;
}
}
-class Google_Service_Analytics_McfDataRows extends Google_Collection
+class Google_Service_Analytics_ProfileRef extends Google_Model
{
- protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
- protected $conversionPathValueDataType = 'array';
- public $primitiveValue;
-
- public function setConversionPathValue($conversionPathValue)
- {
- $this->conversionPathValue = $conversionPathValue;
- }
+ public $accountId;
+ public $href;
+ public $id;
+ public $internalWebPropertyId;
+ public $kind;
+ public $name;
+ public $webPropertyId;
- public function getConversionPathValue()
+ public function setAccountId($accountId)
{
- return $this->conversionPathValue;
+ $this->accountId = $accountId;
}
- public function setPrimitiveValue($primitiveValue)
+ public function getAccountId()
{
- $this->primitiveValue = $primitiveValue;
+ return $this->accountId;
}
- public function getPrimitiveValue()
+ public function setHref($href)
{
- return $this->primitiveValue;
+ $this->href = $href;
}
-}
-
-class Google_Service_Analytics_McfDataRowsConversionPathValue extends Google_Model
-{
- public $interactionType;
- public $nodeValue;
- public function setInteractionType($interactionType)
+ public function getHref()
{
- $this->interactionType = $interactionType;
+ return $this->href;
}
- public function getInteractionType()
+ public function setId($id)
{
- return $this->interactionType;
+ $this->id = $id;
}
- public function setNodeValue($nodeValue)
+ public function getId()
{
- $this->nodeValue = $nodeValue;
+ return $this->id;
}
- public function getNodeValue()
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- return $this->nodeValue;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
-}
-
-class Google_Service_Analytics_Profile extends Google_Model
-{
- public $accountId;
- protected $childLinkType = 'Google_Service_Analytics_ProfileChildLink';
- protected $childLinkDataType = '';
- public $created;
- public $currency;
- public $defaultPage;
- public $eCommerceTracking;
- public $excludeQueryParameters;
- public $id;
- public $internalWebPropertyId;
- public $kind;
- public $name;
- protected $parentLinkType = 'Google_Service_Analytics_ProfileParentLink';
- protected $parentLinkDataType = '';
- protected $permissionsType = 'Google_Service_Analytics_ProfilePermissions';
- protected $permissionsDataType = '';
- public $selfLink;
- public $siteSearchCategoryParameters;
- public $siteSearchQueryParameters;
- public $stripSiteSearchCategoryParameters;
- public $stripSiteSearchQueryParameters;
- public $timezone;
- public $type;
- public $updated;
- public $webPropertyId;
- public $websiteUrl;
- public function setAccountId($accountId)
+ public function getInternalWebPropertyId()
{
- $this->accountId = $accountId;
+ return $this->internalWebPropertyId;
}
- public function getAccountId()
+ public function setKind($kind)
{
- return $this->accountId;
+ $this->kind = $kind;
}
- public function setChildLink(Google_Service_Analytics_ProfileChildLink $childLink)
+ public function getKind()
{
- $this->childLink = $childLink;
+ return $this->kind;
}
- public function getChildLink()
+ public function setName($name)
{
- return $this->childLink;
+ $this->name = $name;
}
- public function setCreated($created)
+ public function getName()
{
- $this->created = $created;
+ return $this->name;
}
- public function getCreated()
+ public function setWebPropertyId($webPropertyId)
{
- return $this->created;
+ $this->webPropertyId = $webPropertyId;
}
- public function setCurrency($currency)
+ public function getWebPropertyId()
{
- $this->currency = $currency;
+ return $this->webPropertyId;
}
+}
- public function getCurrency()
+class Google_Service_Analytics_ProfileSummary extends Google_Model
+{
+ public $id;
+ public $kind;
+ public $name;
+ public $type;
+
+ public function setId($id)
{
- return $this->currency;
+ $this->id = $id;
}
- public function setDefaultPage($defaultPage)
+ public function getId()
{
- $this->defaultPage = $defaultPage;
+ return $this->id;
}
- public function getDefaultPage()
+ public function setKind($kind)
{
- return $this->defaultPage;
+ $this->kind = $kind;
}
- public function setECommerceTracking($eCommerceTracking)
+ public function getKind()
{
- $this->eCommerceTracking = $eCommerceTracking;
+ return $this->kind;
}
- public function getECommerceTracking()
+ public function setName($name)
{
- return $this->eCommerceTracking;
+ $this->name = $name;
}
- public function setExcludeQueryParameters($excludeQueryParameters)
+ public function getName()
{
- $this->excludeQueryParameters = $excludeQueryParameters;
+ return $this->name;
}
- public function getExcludeQueryParameters()
+ public function setType($type)
{
- return $this->excludeQueryParameters;
+ $this->type = $type;
}
- public function setId($id)
+ public function getType()
{
- $this->id = $id;
+ return $this->type;
}
+}
- public function getId()
+class Google_Service_Analytics_Profiles extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Profile';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- return $this->id;
+ $this->items = $items;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function getItems()
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ return $this->items;
}
- public function getInternalWebPropertyId()
+ public function setItemsPerPage($itemsPerPage)
{
- return $this->internalWebPropertyId;
+ $this->itemsPerPage = $itemsPerPage;
+ }
+
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
}
public function setKind($kind)
@@ -6185,212 +8601,207 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
+ public function setNextLink($nextLink)
{
- return $this->name;
+ $this->nextLink = $nextLink;
}
- public function setParentLink(Google_Service_Analytics_ProfileParentLink $parentLink)
+ public function getNextLink()
{
- $this->parentLink = $parentLink;
+ return $this->nextLink;
}
- public function getParentLink()
+ public function setPreviousLink($previousLink)
{
- return $this->parentLink;
+ $this->previousLink = $previousLink;
}
- public function setPermissions(Google_Service_Analytics_ProfilePermissions $permissions)
+ public function getPreviousLink()
{
- $this->permissions = $permissions;
+ return $this->previousLink;
}
- public function getPermissions()
+ public function setStartIndex($startIndex)
{
- return $this->permissions;
+ $this->startIndex = $startIndex;
}
- public function setSelfLink($selfLink)
+ public function getStartIndex()
{
- $this->selfLink = $selfLink;
+ return $this->startIndex;
}
- public function getSelfLink()
+ public function setTotalResults($totalResults)
{
- return $this->selfLink;
+ $this->totalResults = $totalResults;
}
- public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
+ public function getTotalResults()
{
- $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
+ return $this->totalResults;
}
- public function getSiteSearchCategoryParameters()
+ public function setUsername($username)
{
- return $this->siteSearchCategoryParameters;
+ $this->username = $username;
}
- public function setSiteSearchQueryParameters($siteSearchQueryParameters)
+ public function getUsername()
{
- $this->siteSearchQueryParameters = $siteSearchQueryParameters;
+ return $this->username;
}
+}
- public function getSiteSearchQueryParameters()
- {
- return $this->siteSearchQueryParameters;
- }
+class Google_Service_Analytics_RealtimeData extends Google_Collection
+{
+ protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
+ protected $columnHeadersDataType = 'array';
+ public $id;
+ public $kind;
+ protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
+ protected $profileInfoDataType = '';
+ protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
+ protected $queryDataType = '';
+ public $rows;
+ public $selfLink;
+ public $totalResults;
+ public $totalsForAllResults;
- public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
+ public function setColumnHeaders($columnHeaders)
{
- $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
+ $this->columnHeaders = $columnHeaders;
}
- public function getStripSiteSearchCategoryParameters()
+ public function getColumnHeaders()
{
- return $this->stripSiteSearchCategoryParameters;
+ return $this->columnHeaders;
}
- public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
+ public function setId($id)
{
- $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
+ $this->id = $id;
}
- public function getStripSiteSearchQueryParameters()
+ public function getId()
{
- return $this->stripSiteSearchQueryParameters;
+ return $this->id;
}
- public function setTimezone($timezone)
+ public function setKind($kind)
{
- $this->timezone = $timezone;
+ $this->kind = $kind;
}
- public function getTimezone()
+ public function getKind()
{
- return $this->timezone;
+ return $this->kind;
}
- public function setType($type)
+ public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
{
- $this->type = $type;
+ $this->profileInfo = $profileInfo;
}
- public function getType()
+ public function getProfileInfo()
{
- return $this->type;
+ return $this->profileInfo;
}
- public function setUpdated($updated)
+ public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
{
- $this->updated = $updated;
+ $this->query = $query;
}
- public function getUpdated()
+ public function getQuery()
{
- return $this->updated;
+ return $this->query;
}
- public function setWebPropertyId($webPropertyId)
+ public function setRows($rows)
{
- $this->webPropertyId = $webPropertyId;
+ $this->rows = $rows;
}
- public function getWebPropertyId()
+ public function getRows()
{
- return $this->webPropertyId;
+ return $this->rows;
}
- public function setWebsiteUrl($websiteUrl)
+ public function setSelfLink($selfLink)
{
- $this->websiteUrl = $websiteUrl;
+ $this->selfLink = $selfLink;
}
- public function getWebsiteUrl()
+ public function getSelfLink()
{
- return $this->websiteUrl;
+ return $this->selfLink;
}
-}
-
-class Google_Service_Analytics_ProfileChildLink extends Google_Model
-{
- public $href;
- public $type;
- public function setHref($href)
+ public function setTotalResults($totalResults)
{
- $this->href = $href;
+ $this->totalResults = $totalResults;
}
- public function getHref()
+ public function getTotalResults()
{
- return $this->href;
+ return $this->totalResults;
}
- public function setType($type)
+ public function setTotalsForAllResults($totalsForAllResults)
{
- $this->type = $type;
+ $this->totalsForAllResults = $totalsForAllResults;
}
- public function getType()
+ public function getTotalsForAllResults()
{
- return $this->type;
+ return $this->totalsForAllResults;
}
}
-class Google_Service_Analytics_ProfileParentLink extends Google_Model
+class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
{
- public $href;
- public $type;
-
- public function setHref($href)
- {
- $this->href = $href;
- }
+ public $columnType;
+ public $dataType;
+ public $name;
- public function getHref()
+ public function setColumnType($columnType)
{
- return $this->href;
+ $this->columnType = $columnType;
}
- public function setType($type)
+ public function getColumnType()
{
- $this->type = $type;
+ return $this->columnType;
}
- public function getType()
+ public function setDataType($dataType)
{
- return $this->type;
+ $this->dataType = $dataType;
}
-}
-class Google_Service_Analytics_ProfilePermissions extends Google_Collection
-{
- public $effective;
+ public function getDataType()
+ {
+ return $this->dataType;
+ }
- public function setEffective($effective)
+ public function setName($name)
{
- $this->effective = $effective;
+ $this->name = $name;
}
- public function getEffective()
+ public function getName()
{
- return $this->effective;
+ return $this->name;
}
}
-class Google_Service_Analytics_ProfileRef extends Google_Model
+class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
{
public $accountId;
- public $href;
- public $id;
public $internalWebPropertyId;
- public $kind;
- public $name;
+ public $profileId;
+ public $profileName;
+ public $tableId;
public $webPropertyId;
public function setAccountId($accountId)
@@ -6403,54 +8814,44 @@ public function getAccountId()
return $this->accountId;
}
- public function setHref($href)
- {
- $this->href = $href;
- }
-
- public function getHref()
- {
- return $this->href;
- }
-
- public function setId($id)
+ public function setInternalWebPropertyId($internalWebPropertyId)
{
- $this->id = $id;
+ $this->internalWebPropertyId = $internalWebPropertyId;
}
- public function getId()
+ public function getInternalWebPropertyId()
{
- return $this->id;
+ return $this->internalWebPropertyId;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setProfileId($profileId)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->profileId = $profileId;
}
- public function getInternalWebPropertyId()
+ public function getProfileId()
{
- return $this->internalWebPropertyId;
+ return $this->profileId;
}
- public function setKind($kind)
+ public function setProfileName($profileName)
{
- $this->kind = $kind;
+ $this->profileName = $profileName;
}
- public function getKind()
+ public function getProfileName()
{
- return $this->kind;
+ return $this->profileName;
}
- public function setName($name)
+ public function setTableId($tableId)
{
- $this->name = $name;
+ $this->tableId = $tableId;
}
- public function getName()
+ public function getTableId()
{
- return $this->name;
+ return $this->tableId;
}
public function setWebPropertyId($webPropertyId)
@@ -6464,297 +8865,294 @@ public function getWebPropertyId()
}
}
-class Google_Service_Analytics_ProfileSummary extends Google_Model
+class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
{
- public $id;
- public $kind;
- public $name;
- public $type;
-
- public function setId($id)
- {
- $this->id = $id;
- }
+ public $dimensions;
+ public $filters;
+ public $ids;
+ public $maxResults;
+ public $metrics;
+ public $sort;
- public function getId()
+ public function setDimensions($dimensions)
{
- return $this->id;
+ $this->dimensions = $dimensions;
}
- public function setKind($kind)
+ public function getDimensions()
{
- $this->kind = $kind;
+ return $this->dimensions;
}
- public function getKind()
+ public function setFilters($filters)
{
- return $this->kind;
+ $this->filters = $filters;
}
- public function setName($name)
+ public function getFilters()
{
- $this->name = $name;
+ return $this->filters;
}
- public function getName()
+ public function setIds($ids)
{
- return $this->name;
+ $this->ids = $ids;
}
- public function setType($type)
+ public function getIds()
{
- $this->type = $type;
+ return $this->ids;
}
- public function getType()
+ public function setMaxResults($maxResults)
{
- return $this->type;
+ $this->maxResults = $maxResults;
}
-}
-
-class Google_Service_Analytics_Profiles extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Analytics_Profile';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
- public function setItems($items)
+ public function getMaxResults()
{
- $this->items = $items;
+ return $this->maxResults;
}
- public function getItems()
+ public function setMetrics($metrics)
{
- return $this->items;
+ $this->metrics = $metrics;
}
- public function setItemsPerPage($itemsPerPage)
+ public function getMetrics()
{
- $this->itemsPerPage = $itemsPerPage;
+ return $this->metrics;
}
- public function getItemsPerPage()
+ public function setSort($sort)
{
- return $this->itemsPerPage;
+ $this->sort = $sort;
}
- public function setKind($kind)
+ public function getSort()
{
- $this->kind = $kind;
+ return $this->sort;
}
+}
- public function getKind()
- {
- return $this->kind;
- }
+class Google_Service_Analytics_Segment extends Google_Model
+{
+ public $created;
+ public $definition;
+ public $id;
+ public $kind;
+ public $name;
+ public $segmentId;
+ public $selfLink;
+ public $type;
+ public $updated;
- public function setNextLink($nextLink)
+ public function setCreated($created)
{
- $this->nextLink = $nextLink;
+ $this->created = $created;
}
- public function getNextLink()
+ public function getCreated()
{
- return $this->nextLink;
+ return $this->created;
}
- public function setPreviousLink($previousLink)
+ public function setDefinition($definition)
{
- $this->previousLink = $previousLink;
+ $this->definition = $definition;
}
- public function getPreviousLink()
+ public function getDefinition()
{
- return $this->previousLink;
+ return $this->definition;
}
- public function setStartIndex($startIndex)
+ public function setId($id)
{
- $this->startIndex = $startIndex;
+ $this->id = $id;
}
- public function getStartIndex()
+ public function getId()
{
- return $this->startIndex;
+ return $this->id;
}
- public function setTotalResults($totalResults)
+ public function setKind($kind)
{
- $this->totalResults = $totalResults;
+ $this->kind = $kind;
}
- public function getTotalResults()
+ public function getKind()
{
- return $this->totalResults;
+ return $this->kind;
}
- public function setUsername($username)
+ public function setName($name)
{
- $this->username = $username;
+ $this->name = $name;
}
- public function getUsername()
+ public function getName()
{
- return $this->username;
+ return $this->name;
}
-}
-
-class Google_Service_Analytics_RealtimeData extends Google_Collection
-{
- protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
- protected $columnHeadersDataType = 'array';
- public $id;
- public $kind;
- protected $profileInfoType = 'Google_Service_Analytics_RealtimeDataProfileInfo';
- protected $profileInfoDataType = '';
- protected $queryType = 'Google_Service_Analytics_RealtimeDataQuery';
- protected $queryDataType = '';
- public $rows;
- public $selfLink;
- public $totalResults;
- public $totalsForAllResults;
- public function setColumnHeaders($columnHeaders)
+ public function setSegmentId($segmentId)
{
- $this->columnHeaders = $columnHeaders;
+ $this->segmentId = $segmentId;
}
- public function getColumnHeaders()
+ public function getSegmentId()
{
- return $this->columnHeaders;
+ return $this->segmentId;
}
- public function setId($id)
+ public function setSelfLink($selfLink)
{
- $this->id = $id;
+ $this->selfLink = $selfLink;
}
- public function getId()
+ public function getSelfLink()
{
- return $this->id;
+ return $this->selfLink;
}
- public function setKind($kind)
+ public function setType($type)
{
- $this->kind = $kind;
+ $this->type = $type;
}
- public function getKind()
+ public function getType()
{
- return $this->kind;
+ return $this->type;
}
- public function setProfileInfo(Google_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
+ public function setUpdated($updated)
{
- $this->profileInfo = $profileInfo;
+ $this->updated = $updated;
}
- public function getProfileInfo()
+ public function getUpdated()
{
- return $this->profileInfo;
+ return $this->updated;
}
+}
- public function setQuery(Google_Service_Analytics_RealtimeDataQuery $query)
+class Google_Service_Analytics_Segments extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Analytics_Segment';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+ public function setItems($items)
{
- $this->query = $query;
+ $this->items = $items;
}
- public function getQuery()
+ public function getItems()
{
- return $this->query;
+ return $this->items;
}
- public function setRows($rows)
+ public function setItemsPerPage($itemsPerPage)
{
- $this->rows = $rows;
+ $this->itemsPerPage = $itemsPerPage;
}
- public function getRows()
+ public function getItemsPerPage()
{
- return $this->rows;
+ return $this->itemsPerPage;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
- public function setTotalResults($totalResults)
+ public function setNextLink($nextLink)
{
- $this->totalResults = $totalResults;
+ $this->nextLink = $nextLink;
}
- public function getTotalResults()
+ public function getNextLink()
{
- return $this->totalResults;
+ return $this->nextLink;
}
- public function setTotalsForAllResults($totalsForAllResults)
+ public function setPreviousLink($previousLink)
{
- $this->totalsForAllResults = $totalsForAllResults;
+ $this->previousLink = $previousLink;
}
- public function getTotalsForAllResults()
+ public function getPreviousLink()
{
- return $this->totalsForAllResults;
+ return $this->previousLink;
}
-}
-
-class Google_Service_Analytics_RealtimeDataColumnHeaders extends Google_Model
-{
- public $columnType;
- public $dataType;
- public $name;
- public function setColumnType($columnType)
+ public function setStartIndex($startIndex)
{
- $this->columnType = $columnType;
+ $this->startIndex = $startIndex;
}
- public function getColumnType()
+ public function getStartIndex()
{
- return $this->columnType;
+ return $this->startIndex;
}
- public function setDataType($dataType)
+ public function setTotalResults($totalResults)
{
- $this->dataType = $dataType;
+ $this->totalResults = $totalResults;
}
- public function getDataType()
+ public function getTotalResults()
{
- return $this->dataType;
+ return $this->totalResults;
}
- public function setName($name)
+ public function setUsername($username)
{
- $this->name = $name;
+ $this->username = $username;
}
- public function getName()
+ public function getUsername()
{
- return $this->name;
+ return $this->username;
}
}
-class Google_Service_Analytics_RealtimeDataProfileInfo extends Google_Model
+class Google_Service_Analytics_UnsampledReport extends Google_Model
{
public $accountId;
- public $internalWebPropertyId;
+ protected $cloudStorageDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
+ protected $cloudStorageDownloadDetailsDataType = '';
+ public $created;
+ public $dimensions;
+ public $downloadType;
+ protected $driveDownloadDetailsType = 'Google_Service_Analytics_UnsampledReportDriveDownloadDetails';
+ protected $driveDownloadDetailsDataType = '';
+ public $endDate;
+ public $filters;
+ public $id;
+ public $kind;
+ public $metrics;
public $profileId;
- public $profileName;
- public $tableId;
+ public $segment;
+ public $selfLink;
+ public $startDate;
+ public $status;
+ public $title;
+ public $updated;
public $webPropertyId;
public function setAccountId($accountId)
@@ -6767,74 +9165,64 @@ public function getAccountId()
return $this->accountId;
}
- public function setInternalWebPropertyId($internalWebPropertyId)
+ public function setCloudStorageDownloadDetails(Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
{
- $this->internalWebPropertyId = $internalWebPropertyId;
+ $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
}
- public function getInternalWebPropertyId()
+ public function getCloudStorageDownloadDetails()
{
- return $this->internalWebPropertyId;
+ return $this->cloudStorageDownloadDetails;
}
- public function setProfileId($profileId)
+ public function setCreated($created)
{
- $this->profileId = $profileId;
+ $this->created = $created;
}
- public function getProfileId()
+ public function getCreated()
{
- return $this->profileId;
+ return $this->created;
}
- public function setProfileName($profileName)
+ public function setDimensions($dimensions)
{
- $this->profileName = $profileName;
+ $this->dimensions = $dimensions;
}
- public function getProfileName()
+ public function getDimensions()
{
- return $this->profileName;
+ return $this->dimensions;
}
- public function setTableId($tableId)
+ public function setDownloadType($downloadType)
{
- $this->tableId = $tableId;
+ $this->downloadType = $downloadType;
}
- public function getTableId()
+ public function getDownloadType()
{
- return $this->tableId;
+ return $this->downloadType;
}
- public function setWebPropertyId($webPropertyId)
+ public function setDriveDownloadDetails(Google_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
{
- $this->webPropertyId = $webPropertyId;
+ $this->driveDownloadDetails = $driveDownloadDetails;
}
- public function getWebPropertyId()
+ public function getDriveDownloadDetails()
{
- return $this->webPropertyId;
+ return $this->driveDownloadDetails;
}
-}
-
-class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
-{
- public $dimensions;
- public $filters;
- public $ids;
- public $maxResults;
- public $metrics;
- public $sort;
- public function setDimensions($dimensions)
+ public function setEndDate($endDate)
{
- $this->dimensions = $dimensions;
+ $this->endDate = $endDate;
}
- public function getDimensions()
+ public function getEndDate()
{
- return $this->dimensions;
+ return $this->endDate;
}
public function setFilters($filters)
@@ -6847,24 +9235,24 @@ public function getFilters()
return $this->filters;
}
- public function setIds($ids)
+ public function setId($id)
{
- $this->ids = $ids;
+ $this->id = $id;
}
- public function getIds()
+ public function getId()
{
- return $this->ids;
+ return $this->id;
}
- public function setMaxResults($maxResults)
+ public function setKind($kind)
{
- $this->maxResults = $maxResults;
+ $this->kind = $kind;
}
- public function getMaxResults()
+ public function getKind()
{
- return $this->maxResults;
+ return $this->kind;
}
public function setMetrics($metrics)
@@ -6877,123 +9265,131 @@ public function getMetrics()
return $this->metrics;
}
- public function setSort($sort)
+ public function setProfileId($profileId)
{
- $this->sort = $sort;
+ $this->profileId = $profileId;
}
- public function getSort()
+ public function getProfileId()
{
- return $this->sort;
+ return $this->profileId;
}
-}
-class Google_Service_Analytics_Segment extends Google_Model
-{
- public $created;
- public $definition;
- public $id;
- public $kind;
- public $name;
- public $segmentId;
- public $selfLink;
- public $type;
- public $updated;
+ public function setSegment($segment)
+ {
+ $this->segment = $segment;
+ }
- public function setCreated($created)
+ public function getSegment()
{
- $this->created = $created;
+ return $this->segment;
}
- public function getCreated()
+ public function setSelfLink($selfLink)
{
- return $this->created;
+ $this->selfLink = $selfLink;
}
- public function setDefinition($definition)
+ public function getSelfLink()
{
- $this->definition = $definition;
+ return $this->selfLink;
}
- public function getDefinition()
+ public function setStartDate($startDate)
{
- return $this->definition;
+ $this->startDate = $startDate;
}
- public function setId($id)
+ public function getStartDate()
{
- $this->id = $id;
+ return $this->startDate;
}
- public function getId()
+ public function setStatus($status)
{
- return $this->id;
+ $this->status = $status;
}
- public function setKind($kind)
+ public function getStatus()
{
- $this->kind = $kind;
+ return $this->status;
}
- public function getKind()
+ public function setTitle($title)
{
- return $this->kind;
+ $this->title = $title;
}
- public function setName($name)
+ public function getTitle()
{
- $this->name = $name;
+ return $this->title;
}
- public function getName()
+ public function setUpdated($updated)
{
- return $this->name;
+ $this->updated = $updated;
}
- public function setSegmentId($segmentId)
+ public function getUpdated()
{
- $this->segmentId = $segmentId;
+ return $this->updated;
}
- public function getSegmentId()
+ public function setWebPropertyId($webPropertyId)
{
- return $this->segmentId;
+ $this->webPropertyId = $webPropertyId;
}
- public function setSelfLink($selfLink)
+ public function getWebPropertyId()
{
- $this->selfLink = $selfLink;
+ return $this->webPropertyId;
}
+}
- public function getSelfLink()
+class Google_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends Google_Model
+{
+ public $bucketId;
+ public $objectId;
+
+ public function setBucketId($bucketId)
{
- return $this->selfLink;
+ $this->bucketId = $bucketId;
}
- public function setType($type)
+ public function getBucketId()
{
- $this->type = $type;
+ return $this->bucketId;
}
- public function getType()
+ public function setObjectId($objectId)
{
- return $this->type;
+ $this->objectId = $objectId;
}
- public function setUpdated($updated)
+ public function getObjectId()
{
- $this->updated = $updated;
+ return $this->objectId;
}
+}
- public function getUpdated()
+class Google_Service_Analytics_UnsampledReportDriveDownloadDetails extends Google_Model
+{
+ public $documentId;
+
+ public function setDocumentId($documentId)
{
- return $this->updated;
+ $this->documentId = $documentId;
+ }
+
+ public function getDocumentId()
+ {
+ return $this->documentId;
}
}
-class Google_Service_Analytics_Segments extends Google_Collection
+class Google_Service_Analytics_UnsampledReports extends Google_Collection
{
- protected $itemsType = 'Google_Service_Analytics_Segment';
+ protected $itemsType = 'Google_Service_Analytics_UnsampledReport';
protected $itemsDataType = 'array';
public $itemsPerPage;
public $kind;
From ec9b3697bf25befbad56976b63eb860f26d23d20 Mon Sep 17 00:00:00 2001
From: Ian Barber "; +var_dump($results); +echo ""; + +echo pageFooter(__FILE__); diff --git a/src/Google/Auth/Abstract.php b/src/Google/Auth/Abstract.php index 344aad874..0832df3a4 100644 --- a/src/Google/Auth/Abstract.php +++ b/src/Google/Auth/Abstract.php @@ -31,11 +31,5 @@ abstract class Google_Auth_Abstract * @return Google_Http_Request $request */ abstract public function authenticatedRequest(Google_Http_Request $request); - - abstract public function authenticate($code); abstract public function sign(Google_Http_Request $request); - abstract public function createAuthUrl($scope); - - abstract public function refreshToken($refreshToken); - abstract public function revokeToken(); } diff --git a/src/Google/Auth/AppIdentity.php b/src/Google/Auth/AppIdentity.php new file mode 100644 index 000000000..6f2e8f67c --- /dev/null +++ b/src/Google/Auth/AppIdentity.php @@ -0,0 +1,93 @@ +client = $client; + } + + /** + * Retrieve an access token for the scopes supplied. + */ + public function authenticateForScope($scopes) { + if ($this->token && $this->tokenScopes == $scopes) { + return $this->token; + } + $memcache = new Memcached(); + $this->token = $memcache->get(self::CACHE_PREFIX . $scopes); + if (!$this->token) { + $this->token = AppIdentityService::getAccessToken($scopes); + if ($this->token) { + $memcache->set(self::CACHE_PREFIX . $scopes, $this->token, self::CACHE_LIFETIME); + } + } + $this->tokenScopes = $scopes; + return $this->token; + } + + /** + * Perform an authenticated / signed apiHttpRequest. + * This function takes the apiHttpRequest, calls apiAuth->sign on it + * (which can modify the request in what ever way fits the auth mechanism) + * and then calls apiCurlIO::makeRequest on the signed request + * + * @param Google_Http_Request $request + * @return Google_Http_Request The resulting HTTP response including the + * responseHttpCode, responseHeaders and responseBody. + */ + public function authenticatedRequest(Google_Http_Request $request) + { + $request = $this->sign($request); + return $this->io->makeRequest($request); + } + + public function sign(Google_Http_Request $request) + { + if (!$this->token) { + // No token, so nothing to do. + return $request; + } + // Add the OAuth2 header to the request + $request->setRequestHeaders( + array('Authorization' => 'Bearer ' . $this->token['access_token']) + ); + + return $request; + } +} diff --git a/src/Google/Auth/Simple.php b/src/Google/Auth/Simple.php index 8fcf61e52..e83900fc2 100644 --- a/src/Google/Auth/Simple.php +++ b/src/Google/Auth/Simple.php @@ -51,36 +51,6 @@ public function authenticatedRequest(Google_Http_Request $request) return $this->io->makeRequest($request); } - public function authenticate($code) - { - throw new Google_Auth_Exception("Simple auth does not exchange tokens."); - } - - public function setAccessToken($accessToken) - { - /* noop*/ - } - - public function getAccessToken() - { - return null; - } - - public function createAuthUrl($scope) - { - return null; - } - - public function refreshToken($refreshToken) - { - /* noop*/ - } - - public function revokeToken() - { - /* noop*/ - } - public function sign(Google_Http_Request $request) { $key = $this->client->getClassConfig($this, 'developer_key'); diff --git a/tests/general/AuthTest.php b/tests/general/AuthTest.php index 815746a69..65928a04a 100644 --- a/tests/general/AuthTest.php +++ b/tests/general/AuthTest.php @@ -234,17 +234,6 @@ public function testNoAuth() { $req = new Google_Http_Request("http://example.com/"); $resp = $noAuth->sign($req); - try { - $noAuth->authenticate(null); - $this->assertTrue(false, "Exception expected"); - } catch (Google_Auth_Exception $e) { - - } - $noAuth->createAuthUrl(null); - $noAuth->setAccessToken(null); - $noAuth->getAccessToken(); - $noAuth->refreshToken(null); - $noAuth->revokeToken(); $this->assertEquals("http://example.com/", $resp->getUrl()); $this->getClient()->setAuth($oldAuth); } From f0e314b4f14936d85daac6584ec48306361f9d10 Mon Sep 17 00:00:00 2001 From: Ian Barber
+ * $computeService = new Google_Service_Compute(...);
+ * $diskTypes = $computeService->diskTypes;
+ *
+ */
+class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disk type resources grouped by scope.
+ * (diskTypes.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
+ }
+ /**
+ * Returns the specified disk type resource. (diskTypes.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $diskType
+ * Name of the disk type resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_DiskType
+ */
+ public function get($project, $zone, $diskType, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_DiskType");
+ }
+ /**
+ * Retrieves the list of disk type resources available to the specified project.
+ * (diskTypes.listDiskTypes)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeList
+ */
+ public function listDiskTypes($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
+ }
+}
+
/**
* The "disks" collection of methods.
* Typical usage is:
@@ -5074,6 +5235,322 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_DiskType extends Google_Model
+{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $validDiskSize;
+ public $zone;
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setValidDiskSize($validDiskSize)
+ {
+ $this->validDiskSize = $validDiskSize;
+ }
+
+ public function getValidDiskSize()
+ {
+ return $this->validDiskSize;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_DiskTypeList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskType';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+{
+ protected $diskTypesType = 'Google_Service_Compute_DiskType';
+ protected $diskTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDiskTypes($diskTypes)
+ {
+ $this->diskTypes = $diskTypes;
+ }
+
+ public function getDiskTypes()
+ {
+ return $this->diskTypes;
+ }
+
+ public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Compute_DisksScopedList extends Google_Collection
{
protected $disksType = 'Google_Service_Compute_Disk';
From 8ee26469c007ceda8458e3da53b12918d23902fc Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* An API for accessing civic information.
@@ -46,8 +46,8 @@ class Google_Service_CivicInfo extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'civicinfo/us_v1/';
- $this->version = 'us_v1';
+ $this->servicePath = 'civicinfo/v1/';
+ $this->version = 'v1';
$this->serviceName = 'civicinfo';
$this->divisions = new Google_Service_CivicInfo_Divisions_Resource(
@@ -115,6 +115,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'boolean',
),
+ 'recursive' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),
)
@@ -225,6 +229,10 @@ class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_R
* @opt_param bool includeOffices
* Whether to return information about offices and officials. If false, only the top-level district
* information will be returned.
+ * @opt_param bool recursive
+ * When ocd_id is supplied, return all divisions which are hierarchically nested within the queried
+ * division. For example, if querying ocd-division/country:us/district:dc, this would also return
+ * all DC's wards and ANCs.
* @return Google_Service_CivicInfo_RepresentativeInfoResponse
*/
public function representativeInfoQuery(Google_Service_CivicInfo_RepresentativeInfoRequest $postBody, $optParams = array())
@@ -790,11 +798,22 @@ public function getStatus()
}
}
-class Google_Service_CivicInfo_DivisionSearchResult extends Google_Model
+class Google_Service_CivicInfo_DivisionSearchResult extends Google_Collection
{
+ public $aliases;
public $name;
public $ocdId;
+ public function setAliases($aliases)
+ {
+ $this->aliases = $aliases;
+ }
+
+ public function getAliases()
+ {
+ return $this->aliases;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -978,10 +997,21 @@ public function getScope()
class Google_Service_CivicInfo_GeographicDivision extends Google_Collection
{
+ public $alsoKnownAs;
public $name;
public $officeIds;
public $scope;
+ public function setAlsoKnownAs($alsoKnownAs)
+ {
+ $this->alsoKnownAs = $alsoKnownAs;
+ }
+
+ public function getAlsoKnownAs()
+ {
+ return $this->alsoKnownAs;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -1015,12 +1045,23 @@ public function getScope()
class Google_Service_CivicInfo_Office extends Google_Collection
{
+ public $divisionId;
public $level;
public $name;
public $officialIds;
protected $sourcesType = 'Google_Service_CivicInfo_Source';
protected $sourcesDataType = 'array';
+ public function setDivisionId($divisionId)
+ {
+ $this->divisionId = $divisionId;
+ }
+
+ public function getDivisionId()
+ {
+ return $this->divisionId;
+ }
+
public function setLevel($level)
{
$this->level = $level;
From 5f651cdc3c383986f9b7932a7d73f326f1920e0c Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Content extends Google_Service +{ + /** Manage your product listings and accounts for Google Shopping. */ + const CONTENT = "https://www.googleapis.com/auth/content"; + + public $accounts; + public $accountstatuses; + public $datafeeds; + public $datafeedstatuses; + public $inventory; + public $products; + public $productstatuses; + + + /** + * Constructs the internal representation of the Content service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'content/v2/'; + $this->version = 'v2'; + $this->serviceName = 'content'; + + $this->accounts = new Google_Service_Content_Accounts_Resource( + $this, + $this->serviceName, + 'accounts', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accounts/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accounts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{merchantId}/accounts/{accountId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->accountstatuses = new Google_Service_Content_Accountstatuses_Resource( + $this, + $this->serviceName, + 'accountstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'accountstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/accountstatuses/{accountId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'accountId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/accountstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->datafeeds = new Google_Service_Content_Datafeeds_Resource( + $this, + $this->serviceName, + 'datafeeds', + array( + 'methods' => array( + 'batch' => array( + 'path' => 'datafeedsNativeBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'custombatch' => array( + 'path' => 'datafeeds/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeeds', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{merchantId}/datafeeds/{datafeedId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->datafeedstatuses = new Google_Service_Content_Datafeedstatuses_Resource( + $this, + $this->serviceName, + 'datafeedstatuses', + array( + 'methods' => array( + 'batch' => array( + 'path' => 'datafeedstatusesNativeBatch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'custombatch' => array( + 'path' => 'datafeedstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/datafeedstatuses/{datafeedId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'datafeedId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/datafeedstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->inventory = new Google_Service_Content_Inventory_Resource( + $this, + $this->serviceName, + 'inventory', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'inventory/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'set' => array( + 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'storeCode' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_Content_Products_Resource( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'products/batch', + 'httpMethod' => 'POST', + 'parameters' => array( + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'delete' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'get' => array( + 'path' => '{merchantId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'POST', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'dryRun' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'list' => array( + 'path' => '{merchantId}/products', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->productstatuses = new Google_Service_Content_Productstatuses_Resource( + $this, + $this->serviceName, + 'productstatuses', + array( + 'methods' => array( + 'custombatch' => array( + 'path' => 'productstatuses/batch', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'get' => array( + 'path' => '{merchantId}/productstatuses/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{merchantId}/productstatuses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'merchantId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "accounts" collection of methods. + * Typical usage is: + *
+ * $contentService = new Google_Service_Content(...);
+ * $accounts = $contentService->accounts;
+ *
+ */
+class Google_Service_Content_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve, insert, update, and delete multiple Merchant Center (sub-)accounts
+ * in a single request. (accounts.custombatch)
+ *
+ * @param Google_AccountsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_AccountsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_AccountsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_AccountsCustomBatchResponse");
+ }
+ /**
+ * Delete a Merchant Center sub-account. (accounts.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a Merchant Center account. (accounts.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_Account");
+ }
+ /**
+ * Create a Merchant Center sub-account. (accounts.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function insert($merchantId, Google_Service_Content_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Content_Account");
+ }
+ /**
+ * List the sub-accounts in your Merchant Center account.
+ * (accounts.listAccounts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of accounts to return in the response, used for paging.
+ * @return Google_Service_Content_AccountsListResponse
+ */
+ public function listAccounts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_AccountsListResponse");
+ }
+ /**
+ * Update a Merchant Center account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function patch($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Content_Account");
+ }
+ /**
+ * Update a Merchant Center account. (accounts.update)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Account
+ */
+ public function update($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Content_Account");
+ }
+}
+
+/**
+ * The "accountstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $accountstatuses = $contentService->accountstatuses;
+ *
+ */
+class Google_Service_Content_Accountstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (accountstatuses.custombatch)
+ *
+ * @param Google_AccountstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_AccountstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_AccountstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieve the status of a Merchant Center account. (accountstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_AccountStatus
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_AccountStatus");
+ }
+ /**
+ * List the statuses of the sub-accounts in your Merchant Center account.
+ * (accountstatuses.listAccountstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of account statuses to return in the response, used for paging.
+ * @return Google_Service_Content_AccountstatusesListResponse
+ */
+ public function listAccountstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_AccountstatusesListResponse");
+ }
+}
+
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $datafeeds = $contentService->datafeeds;
+ *
+ */
+class Google_Service_Content_Datafeeds_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeeds.batch)
+ *
+ * @param Google_DatafeedsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedsBatchResponse
+ */
+ public function batch(Google_Service_Content_DatafeedsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_Content_DatafeedsBatchResponse");
+ }
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Google_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedsCustomBatchResponse");
+ }
+ /**
+ * Delete a datafeed from your Merchant Center account. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a datafeed from your Merchant Center account. (datafeeds.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_Datafeed");
+ }
+ /**
+ * Register a datafeed against your Merchant Center account. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function insert($merchantId, Google_Service_Content_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Content_Datafeed");
+ }
+ /**
+ * List the datafeeds in your Merchant Center account. (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedsListResponse
+ */
+ public function listDatafeeds($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_DatafeedsListResponse");
+ }
+ /**
+ * Update a datafeed of your Merchant Center account. This method supports patch
+ * semantics. (datafeeds.patch)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function patch($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Content_Datafeed");
+ }
+ /**
+ * Update a datafeed of your Merchant Center account. (datafeeds.update)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Datafeed
+ */
+ public function update($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Content_Datafeed");
+ }
+}
+
+/**
+ * The "datafeedstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $datafeedstatuses = $contentService->datafeedstatuses;
+ *
+ */
+class Google_Service_Content_Datafeedstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeedstatuses.batch)
+ *
+ * @param Google_DatafeedstatusesBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedstatusesBatchResponse
+ */
+ public function batch(Google_Service_Content_DatafeedstatusesBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_Content_DatafeedstatusesBatchResponse");
+ }
+ /**
+ * (datafeedstatuses.custombatch)
+ *
+ * @param Google_DatafeedstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieve the status of a datafeed from your Merchant Center account.
+ * (datafeedstatuses.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedStatus
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_DatafeedStatus");
+ }
+ /**
+ * List the statuses of the datafeeds in your Merchant Center account.
+ * (datafeedstatuses.listDatafeedstatuses)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_DatafeedstatusesListResponse
+ */
+ public function listDatafeedstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_DatafeedstatusesListResponse");
+ }
+}
+
+/**
+ * The "inventory" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $inventory = $contentService->inventory;
+ *
+ */
+class Google_Service_Content_Inventory_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Update price and availability for multiple products or stores in a single
+ * request. (inventory.custombatch)
+ *
+ * @param Google_InventoryCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_InventoryCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_InventoryCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_InventoryCustomBatchResponse");
+ }
+ /**
+ * Update price and availability of a product in your Merchant Center account.
+ * (inventory.set)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $storeCode
+ * The code of the store for which to update price and availability.
+ * @param string $productId
+ * The ID of the product for which to update price and availability.
+ * @param Google_InventorySetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_InventorySetResponse
+ */
+ public function set($merchantId, $storeCode, $productId, Google_Service_Content_InventorySetRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Google_Service_Content_InventorySetResponse");
+ }
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $products = $contentService->products;
+ *
+ */
+class Google_Service_Content_Products_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve, insert, and delete multiple products in a single request.
+ * (products.custombatch)
+ *
+ * @param Google_ProductsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_Content_ProductsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_ProductsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_ProductsCustomBatchResponse");
+ }
+ /**
+ * Delete a product from your Merchant Center account. (products.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ */
+ public function delete($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieve a product from your Merchant Center account. (products.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_Product
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_Product");
+ }
+ /**
+ * Upload products to your Merchant Center account. (products.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Product $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_Content_Product
+ */
+ public function insert($merchantId, Google_Service_Content_Product $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Content_Product");
+ }
+ /**
+ * List the products in your Merchant Center account. (products.listProducts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of products to return in the response, used for paging.
+ * @return Google_Service_Content_ProductsListResponse
+ */
+ public function listProducts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_ProductsListResponse");
+ }
+}
+
+/**
+ * The "productstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_Content(...);
+ * $productstatuses = $contentService->productstatuses;
+ *
+ */
+class Google_Service_Content_Productstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Get the statuses of multiple products in a single request.
+ * (productstatuses.custombatch)
+ *
+ * @param Google_ProductstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_ProductstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_Content_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_Content_ProductstatusesCustomBatchResponse");
+ }
+ /**
+ * Get the status of a product from your Merchant Center account.
+ * (productstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Content_ProductStatus
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Content_ProductStatus");
+ }
+ /**
+ * List the statuses of the products in your Merchant Center account.
+ * (productstatuses.listProductstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of product statuses to return in the response, used for paging.
+ * @return Google_Service_Content_ProductstatusesListResponse
+ */
+ public function listProductstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Content_ProductstatusesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Content_Account extends Google_Collection
+{
+ public $adultContent;
+ protected $adwordsLinksType = 'Google_Service_Content_AccountAdwordsLink';
+ protected $adwordsLinksDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $reviewsUrl;
+ public $sellerId;
+ protected $usersType = 'Google_Service_Content_AccountUser';
+ protected $usersDataType = 'array';
+ public $websiteUrl;
+
+ public function setAdultContent($adultContent)
+ {
+ $this->adultContent = $adultContent;
+ }
+
+ public function getAdultContent()
+ {
+ return $this->adultContent;
+ }
+
+ public function setAdwordsLinks($adwordsLinks)
+ {
+ $this->adwordsLinks = $adwordsLinks;
+ }
+
+ public function getAdwordsLinks()
+ {
+ return $this->adwordsLinks;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setReviewsUrl($reviewsUrl)
+ {
+ $this->reviewsUrl = $reviewsUrl;
+ }
+
+ public function getReviewsUrl()
+ {
+ return $this->reviewsUrl;
+ }
+
+ public function setSellerId($sellerId)
+ {
+ $this->sellerId = $sellerId;
+ }
+
+ public function getSellerId()
+ {
+ return $this->sellerId;
+ }
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+
+ public function getUsers()
+ {
+ return $this->users;
+ }
+
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Google_Service_Content_AccountAdwordsLink extends Google_Model
+{
+ public $adwordsId;
+ public $status;
+
+ public function setAdwordsId($adwordsId)
+ {
+ $this->adwordsId = $adwordsId;
+ }
+
+ public function getAdwordsId()
+ {
+ return $this->adwordsId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Content_AccountStatus extends Google_Collection
+{
+ public $accountId;
+ protected $dataQualityIssuesType = 'Google_Service_Content_AccountStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountStatusDataQualityIssue extends Google_Collection
+{
+ public $country;
+ public $displayedValue;
+ protected $exampleItemsType = 'Google_Service_Content_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setDisplayedValue($displayedValue)
+ {
+ $this->displayedValue = $displayedValue;
+ }
+
+ public function getDisplayedValue()
+ {
+ return $this->displayedValue;
+ }
+
+ public function setExampleItems($exampleItems)
+ {
+ $this->exampleItems = $exampleItems;
+ }
+
+ public function getExampleItems()
+ {
+ return $this->exampleItems;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastChecked($lastChecked)
+ {
+ $this->lastChecked = $lastChecked;
+ }
+
+ public function getLastChecked()
+ {
+ return $this->lastChecked;
+ }
+
+ public function setNumItems($numItems)
+ {
+ $this->numItems = $numItems;
+ }
+
+ public function getNumItems()
+ {
+ return $this->numItems;
+ }
+
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+}
+
+class Google_Service_Content_AccountStatusExampleItem extends Google_Model
+{
+ public $itemId;
+ public $link;
+ public $submittedValue;
+ public $title;
+ public $valueOnLandingPage;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+}
+
+class Google_Service_Content_AccountUser extends Google_Model
+{
+ public $admin;
+ public $emailAddress;
+
+ public function setAdmin($admin)
+ {
+ $this->admin = $admin;
+ }
+
+ public function getAdmin()
+ {
+ return $this->admin;
+ }
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchRequestEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_Content_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccount(Google_Service_Content_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountsCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_Content_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccount(Google_Service_Content_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_Account';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_AccountstatusesCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountStatusType = 'Google_Service_Content_AccountStatus';
+ protected $accountStatusDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+
+ public function setAccountStatus(Google_Service_Content_AccountStatus $accountStatus)
+ {
+ $this->accountStatus = $accountStatus;
+ }
+
+ public function getAccountStatus()
+ {
+ return $this->accountStatus;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Content_AccountstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_AccountStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_Datafeed extends Google_Collection
+{
+ public $attributeLanguage;
+ public $contentLanguage;
+ public $contentType;
+ protected $fetchScheduleType = 'Google_Service_Content_DatafeedFetchSchedule';
+ protected $fetchScheduleDataType = '';
+ public $fileName;
+ protected $formatType = 'Google_Service_Content_DatafeedFormat';
+ protected $formatDataType = '';
+ public $id;
+ public $intendedDestinations;
+ public $kind;
+ public $name;
+ public $targetCountry;
+
+ public function setAttributeLanguage($attributeLanguage)
+ {
+ $this->attributeLanguage = $attributeLanguage;
+ }
+
+ public function getAttributeLanguage()
+ {
+ return $this->attributeLanguage;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+
+ public function setFetchSchedule(Google_Service_Content_DatafeedFetchSchedule $fetchSchedule)
+ {
+ $this->fetchSchedule = $fetchSchedule;
+ }
+
+ public function getFetchSchedule()
+ {
+ return $this->fetchSchedule;
+ }
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+
+ public function setFormat(Google_Service_Content_DatafeedFormat $format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIntendedDestinations($intendedDestinations)
+ {
+ $this->intendedDestinations = $intendedDestinations;
+ }
+
+ public function getIntendedDestinations()
+ {
+ return $this->intendedDestinations;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+}
+
+class Google_Service_Content_DatafeedFetchSchedule extends Google_Model
+{
+ public $dayOfMonth;
+ public $fetchUrl;
+ public $hour;
+ public $password;
+ public $timeZone;
+ public $username;
+ public $weekday;
+
+ public function setDayOfMonth($dayOfMonth)
+ {
+ $this->dayOfMonth = $dayOfMonth;
+ }
+
+ public function getDayOfMonth()
+ {
+ return $this->dayOfMonth;
+ }
+
+ public function setFetchUrl($fetchUrl)
+ {
+ $this->fetchUrl = $fetchUrl;
+ }
+
+ public function getFetchUrl()
+ {
+ return $this->fetchUrl;
+ }
+
+ public function setHour($hour)
+ {
+ $this->hour = $hour;
+ }
+
+ public function getHour()
+ {
+ return $this->hour;
+ }
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+
+ public function setWeekday($weekday)
+ {
+ $this->weekday = $weekday;
+ }
+
+ public function getWeekday()
+ {
+ return $this->weekday;
+ }
+}
+
+class Google_Service_Content_DatafeedFormat extends Google_Model
+{
+ public $columnDelimiter;
+ public $fileEncoding;
+ public $quotingMode;
+
+ public function setColumnDelimiter($columnDelimiter)
+ {
+ $this->columnDelimiter = $columnDelimiter;
+ }
+
+ public function getColumnDelimiter()
+ {
+ return $this->columnDelimiter;
+ }
+
+ public function setFileEncoding($fileEncoding)
+ {
+ $this->fileEncoding = $fileEncoding;
+ }
+
+ public function getFileEncoding()
+ {
+ return $this->fileEncoding;
+ }
+
+ public function setQuotingMode($quotingMode)
+ {
+ $this->quotingMode = $quotingMode;
+ }
+
+ public function getQuotingMode()
+ {
+ return $this->quotingMode;
+ }
+}
+
+class Google_Service_Content_DatafeedStatus extends Google_Collection
+{
+ public $datafeedId;
+ protected $errorsType = 'Google_Service_Content_DatafeedStatusError';
+ protected $errorsDataType = 'array';
+ public $itemsTotal;
+ public $itemsValid;
+ public $kind;
+ public $processingStatus;
+ protected $warningsType = 'Google_Service_Content_DatafeedStatusError';
+ protected $warningsDataType = 'array';
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setItemsTotal($itemsTotal)
+ {
+ $this->itemsTotal = $itemsTotal;
+ }
+
+ public function getItemsTotal()
+ {
+ return $this->itemsTotal;
+ }
+
+ public function setItemsValid($itemsValid)
+ {
+ $this->itemsValid = $itemsValid;
+ }
+
+ public function getItemsValid()
+ {
+ return $this->itemsValid;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Content_DatafeedStatusError extends Google_Collection
+{
+ public $code;
+ public $count;
+ protected $examplesType = 'Google_Service_Content_DatafeedStatusExample';
+ protected $examplesDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Content_DatafeedStatusExample extends Google_Model
+{
+ public $itemId;
+ public $lineNumber;
+ public $value;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsinsertrequestType = 'Google_Service_Content_DatafeedsInsertRequest';
+ protected $datafeedsinsertrequestDataType = '';
+ protected $datafeedsupdaterequestType = 'Google_Service_Content_DatafeedsUpdateRequest';
+ protected $datafeedsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsinsertrequest(Google_Service_Content_DatafeedsInsertRequest $datafeedsinsertrequest)
+ {
+ $this->datafeedsinsertrequest = $datafeedsinsertrequest;
+ }
+
+ public function getDatafeedsinsertrequest()
+ {
+ return $this->datafeedsinsertrequest;
+ }
+
+ public function setDatafeedsupdaterequest(Google_Service_Content_DatafeedsUpdateRequest $datafeedsupdaterequest)
+ {
+ $this->datafeedsupdaterequest = $datafeedsupdaterequest;
+ }
+
+ public function getDatafeedsupdaterequest()
+ {
+ return $this->datafeedsupdaterequest;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsgetresponseType = 'Google_Service_Content_DatafeedsGetResponse';
+ protected $datafeedsgetresponseDataType = '';
+ protected $datafeedsinsertresponseType = 'Google_Service_Content_DatafeedsInsertResponse';
+ protected $datafeedsinsertresponseDataType = '';
+ protected $datafeedsupdateresponseType = 'Google_Service_Content_DatafeedsUpdateResponse';
+ protected $datafeedsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsgetresponse(Google_Service_Content_DatafeedsGetResponse $datafeedsgetresponse)
+ {
+ $this->datafeedsgetresponse = $datafeedsgetresponse;
+ }
+
+ public function getDatafeedsgetresponse()
+ {
+ return $this->datafeedsgetresponse;
+ }
+
+ public function setDatafeedsinsertresponse(Google_Service_Content_DatafeedsInsertResponse $datafeedsinsertresponse)
+ {
+ $this->datafeedsinsertresponse = $datafeedsinsertresponse;
+ }
+
+ public function getDatafeedsinsertresponse()
+ {
+ return $this->datafeedsinsertresponse;
+ }
+
+ public function setDatafeedsupdateresponse(Google_Service_Content_DatafeedsUpdateResponse $datafeedsupdateresponse)
+ {
+ $this->datafeedsupdateresponse = $datafeedsupdateresponse;
+ }
+
+ public function getDatafeedsupdateresponse()
+ {
+ return $this->datafeedsupdateresponse;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_Content_Datafeed';
+ protected $datafeedDataType = '';
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_Content_Datafeed';
+ protected $datafeedDataType = '';
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Content_DatafeedsGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsInsertRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsInsertResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_Content_Datafeed';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_DatafeedsUpdateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedsUpdateResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedstatusesgetresponseType = 'Google_Service_Content_DatafeedstatusesGetResponse';
+ protected $datafeedstatusesgetresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedstatusesgetresponse(Google_Service_Content_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
+ {
+ $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
+ }
+
+ public function getDatafeedstatusesgetresponse()
+ {
+ return $this->datafeedstatusesgetresponse;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedStatusType = 'Google_Service_Content_DatafeedStatus';
+ protected $datafeedStatusDataType = '';
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedStatus(Google_Service_Content_DatafeedStatus $datafeedStatus)
+ {
+ $this->datafeedStatus = $datafeedStatus;
+ }
+
+ public function getDatafeedStatus()
+ {
+ return $this->datafeedStatus;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_Content_DatafeedStatus';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_Content_DatafeedStatus $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Content_DatafeedstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_Content_DatafeedStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_Error extends Google_Model
+{
+ public $domain;
+ public $message;
+ public $reason;
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_Content_Errors extends Google_Collection
+{
+ public $code;
+ protected $errorsType = 'Google_Service_Content_Error';
+ protected $errorsDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Content_Inventory extends Google_Model
+{
+ public $availability;
+ public $kind;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_Content_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_Content_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_InventoryCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inventoryType = 'Google_Service_Content_Inventory';
+ protected $inventoryDataType = '';
+ public $merchantId;
+ public $productId;
+ public $storeCode;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInventory(Google_Service_Content_Inventory $inventory)
+ {
+ $this->inventory = $inventory;
+ }
+
+ public function getInventory()
+ {
+ return $this->inventory;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setStoreCode($storeCode)
+ {
+ $this->storeCode = $storeCode;
+ }
+
+ public function getStoreCode()
+ {
+ return $this->storeCode;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_InventoryCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_InventoryCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_InventorySetRequest extends Google_Model
+{
+ public $availability;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_Content_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_Content_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_Content_InventorySetResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_LoyaltyPoints extends Google_Model
+{
+ public $name;
+ public $pointsValue;
+ public $ratio;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPointsValue($pointsValue)
+ {
+ $this->pointsValue = $pointsValue;
+ }
+
+ public function getPointsValue()
+ {
+ return $this->pointsValue;
+ }
+
+ public function setRatio($ratio)
+ {
+ $this->ratio = $ratio;
+ }
+
+ public function getRatio()
+ {
+ return $this->ratio;
+ }
+}
+
+class Google_Service_Content_Price extends Google_Model
+{
+ public $currency;
+ public $value;
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_Product extends Google_Collection
+{
+ public $additionalImageLinks;
+ public $adult;
+ public $adwordsGrouping;
+ public $adwordsLabels;
+ public $adwordsRedirect;
+ public $ageGroup;
+ public $availability;
+ public $brand;
+ public $channel;
+ public $color;
+ public $condition;
+ public $contentLanguage;
+ protected $customAttributesType = 'Google_Service_Content_ProductCustomAttribute';
+ protected $customAttributesDataType = 'array';
+ protected $customGroupsType = 'Google_Service_Content_ProductCustomGroup';
+ protected $customGroupsDataType = 'array';
+ public $customLabel0;
+ public $customLabel1;
+ public $customLabel2;
+ public $customLabel3;
+ public $customLabel4;
+ public $description;
+ protected $destinationsType = 'Google_Service_Content_ProductDestination';
+ protected $destinationsDataType = 'array';
+ public $energyEfficiencyClass;
+ public $expirationDate;
+ public $gender;
+ public $googleProductCategory;
+ public $gtin;
+ public $id;
+ public $identifierExists;
+ public $imageLink;
+ protected $installmentType = 'Google_Service_Content_ProductInstallment';
+ protected $installmentDataType = '';
+ public $itemGroupId;
+ public $kind;
+ public $link;
+ protected $loyaltyPointsType = 'Google_Service_Content_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ public $material;
+ public $merchantMultipackQuantity;
+ public $mpn;
+ public $offerId;
+ public $onlineOnly;
+ public $pattern;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $productType;
+ protected $salePriceType = 'Google_Service_Content_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ protected $shippingType = 'Google_Service_Content_ProductShipping';
+ protected $shippingDataType = 'array';
+ protected $shippingWeightType = 'Google_Service_Content_ProductShippingWeight';
+ protected $shippingWeightDataType = '';
+ public $sizes;
+ public $targetCountry;
+ protected $taxType = 'Google_Service_Content_ProductTax';
+ protected $taxDataType = '';
+ public $title;
+ public $unitPricingBaseMeasure;
+ public $unitPricingMeasure;
+ public $validatedDestinations;
+ protected $warningsType = 'Google_Service_Content_Error';
+ protected $warningsDataType = 'array';
+
+ public function setAdditionalImageLinks($additionalImageLinks)
+ {
+ $this->additionalImageLinks = $additionalImageLinks;
+ }
+
+ public function getAdditionalImageLinks()
+ {
+ return $this->additionalImageLinks;
+ }
+
+ public function setAdult($adult)
+ {
+ $this->adult = $adult;
+ }
+
+ public function getAdult()
+ {
+ return $this->adult;
+ }
+
+ public function setAdwordsGrouping($adwordsGrouping)
+ {
+ $this->adwordsGrouping = $adwordsGrouping;
+ }
+
+ public function getAdwordsGrouping()
+ {
+ return $this->adwordsGrouping;
+ }
+
+ public function setAdwordsLabels($adwordsLabels)
+ {
+ $this->adwordsLabels = $adwordsLabels;
+ }
+
+ public function getAdwordsLabels()
+ {
+ return $this->adwordsLabels;
+ }
+
+ public function setAdwordsRedirect($adwordsRedirect)
+ {
+ $this->adwordsRedirect = $adwordsRedirect;
+ }
+
+ public function getAdwordsRedirect()
+ {
+ return $this->adwordsRedirect;
+ }
+
+ public function setAgeGroup($ageGroup)
+ {
+ $this->ageGroup = $ageGroup;
+ }
+
+ public function getAgeGroup()
+ {
+ return $this->ageGroup;
+ }
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+ }
+
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setCustomAttributes($customAttributes)
+ {
+ $this->customAttributes = $customAttributes;
+ }
+
+ public function getCustomAttributes()
+ {
+ return $this->customAttributes;
+ }
+
+ public function setCustomGroups($customGroups)
+ {
+ $this->customGroups = $customGroups;
+ }
+
+ public function getCustomGroups()
+ {
+ return $this->customGroups;
+ }
+
+ public function setCustomLabel0($customLabel0)
+ {
+ $this->customLabel0 = $customLabel0;
+ }
+
+ public function getCustomLabel0()
+ {
+ return $this->customLabel0;
+ }
+
+ public function setCustomLabel1($customLabel1)
+ {
+ $this->customLabel1 = $customLabel1;
+ }
+
+ public function getCustomLabel1()
+ {
+ return $this->customLabel1;
+ }
+
+ public function setCustomLabel2($customLabel2)
+ {
+ $this->customLabel2 = $customLabel2;
+ }
+
+ public function getCustomLabel2()
+ {
+ return $this->customLabel2;
+ }
+
+ public function setCustomLabel3($customLabel3)
+ {
+ $this->customLabel3 = $customLabel3;
+ }
+
+ public function getCustomLabel3()
+ {
+ return $this->customLabel3;
+ }
+
+ public function setCustomLabel4($customLabel4)
+ {
+ $this->customLabel4 = $customLabel4;
+ }
+
+ public function getCustomLabel4()
+ {
+ return $this->customLabel4;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDestinations($destinations)
+ {
+ $this->destinations = $destinations;
+ }
+
+ public function getDestinations()
+ {
+ return $this->destinations;
+ }
+
+ public function setEnergyEfficiencyClass($energyEfficiencyClass)
+ {
+ $this->energyEfficiencyClass = $energyEfficiencyClass;
+ }
+
+ public function getEnergyEfficiencyClass()
+ {
+ return $this->energyEfficiencyClass;
+ }
+
+ public function setExpirationDate($expirationDate)
+ {
+ $this->expirationDate = $expirationDate;
+ }
+
+ public function getExpirationDate()
+ {
+ return $this->expirationDate;
+ }
+
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+
+ public function getGender()
+ {
+ return $this->gender;
+ }
+
+ public function setGoogleProductCategory($googleProductCategory)
+ {
+ $this->googleProductCategory = $googleProductCategory;
+ }
+
+ public function getGoogleProductCategory()
+ {
+ return $this->googleProductCategory;
+ }
+
+ public function setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIdentifierExists($identifierExists)
+ {
+ $this->identifierExists = $identifierExists;
+ }
+
+ public function getIdentifierExists()
+ {
+ return $this->identifierExists;
+ }
+
+ public function setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+
+ public function setInstallment(Google_Service_Content_ProductInstallment $installment)
+ {
+ $this->installment = $installment;
+ }
+
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setLoyaltyPoints(Google_Service_Content_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+
+ public function setMaterial($material)
+ {
+ $this->material = $material;
+ }
+
+ public function getMaterial()
+ {
+ return $this->material;
+ }
+
+ public function setMerchantMultipackQuantity($merchantMultipackQuantity)
+ {
+ $this->merchantMultipackQuantity = $merchantMultipackQuantity;
+ }
+
+ public function getMerchantMultipackQuantity()
+ {
+ return $this->merchantMultipackQuantity;
+ }
+
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+
+ public function setOnlineOnly($onlineOnly)
+ {
+ $this->onlineOnly = $onlineOnly;
+ }
+
+ public function getOnlineOnly()
+ {
+ return $this->onlineOnly;
+ }
+
+ public function setPattern($pattern)
+ {
+ $this->pattern = $pattern;
+ }
+
+ public function getPattern()
+ {
+ return $this->pattern;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+
+ public function setSalePrice(Google_Service_Content_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+
+ public function setShipping($shipping)
+ {
+ $this->shipping = $shipping;
+ }
+
+ public function getShipping()
+ {
+ return $this->shipping;
+ }
+
+ public function setShippingWeight(Google_Service_Content_ProductShippingWeight $shippingWeight)
+ {
+ $this->shippingWeight = $shippingWeight;
+ }
+
+ public function getShippingWeight()
+ {
+ return $this->shippingWeight;
+ }
+
+ public function setSizes($sizes)
+ {
+ $this->sizes = $sizes;
+ }
+
+ public function getSizes()
+ {
+ return $this->sizes;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+
+ public function setTax(Google_Service_Content_ProductTax $tax)
+ {
+ $this->tax = $tax;
+ }
+
+ public function getTax()
+ {
+ return $this->tax;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setUnitPricingBaseMeasure($unitPricingBaseMeasure)
+ {
+ $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
+ }
+
+ public function getUnitPricingBaseMeasure()
+ {
+ return $this->unitPricingBaseMeasure;
+ }
+
+ public function setUnitPricingMeasure($unitPricingMeasure)
+ {
+ $this->unitPricingMeasure = $unitPricingMeasure;
+ }
+
+ public function getUnitPricingMeasure()
+ {
+ return $this->unitPricingMeasure;
+ }
+
+ public function setValidatedDestinations($validatedDestinations)
+ {
+ $this->validatedDestinations = $validatedDestinations;
+ }
+
+ public function getValidatedDestinations()
+ {
+ return $this->validatedDestinations;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Content_ProductCustomAttribute extends Google_Model
+{
+ public $name;
+ public $type;
+ public $unit;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_ProductCustomGroup extends Google_Collection
+{
+ protected $attributesType = 'Google_Service_Content_ProductCustomAttribute';
+ protected $attributesDataType = 'array';
+ public $name;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Content_ProductDestination extends Google_Model
+{
+ public $destinationName;
+ public $intention;
+
+ public function setDestinationName($destinationName)
+ {
+ $this->destinationName = $destinationName;
+ }
+
+ public function getDestinationName()
+ {
+ return $this->destinationName;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_Content_ProductInstallment extends Google_Model
+{
+ protected $amountType = 'Google_Service_Content_Price';
+ protected $amountDataType = '';
+ public $months;
+
+ public function setAmount(Google_Service_Content_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ public function setMonths($months)
+ {
+ $this->months = $months;
+ }
+
+ public function getMonths()
+ {
+ return $this->months;
+ }
+}
+
+class Google_Service_Content_ProductShipping extends Google_Model
+{
+ public $country;
+ protected $priceType = 'Google_Service_Content_Price';
+ protected $priceDataType = '';
+ public $region;
+ public $service;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setPrice(Google_Service_Content_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Google_Service_Content_ProductShippingWeight extends Google_Model
+{
+ public $unit;
+ public $value;
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Content_ProductStatus extends Google_Collection
+{
+ protected $dataQualityIssuesType = 'Google_Service_Content_ProductStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ protected $destinationStatusesType = 'Google_Service_Content_ProductStatusDestinationStatus';
+ protected $destinationStatusesDataType = 'array';
+ public $kind;
+ public $link;
+ public $productId;
+ public $title;
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setDestinationStatuses($destinationStatuses)
+ {
+ $this->destinationStatuses = $destinationStatuses;
+ }
+
+ public function getDestinationStatuses()
+ {
+ return $this->destinationStatuses;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Content_ProductStatusDataQualityIssue extends Google_Model
+{
+ public $detail;
+ public $fetchStatus;
+ public $id;
+ public $location;
+ public $timestamp;
+ public $valueOnLandingPage;
+ public $valueProvided;
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+
+ public function setFetchStatus($fetchStatus)
+ {
+ $this->fetchStatus = $fetchStatus;
+ }
+
+ public function getFetchStatus()
+ {
+ return $this->fetchStatus;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+
+ public function setValueProvided($valueProvided)
+ {
+ $this->valueProvided = $valueProvided;
+ }
+
+ public function getValueProvided()
+ {
+ return $this->valueProvided;
+ }
+}
+
+class Google_Service_Content_ProductStatusDestinationStatus extends Google_Model
+{
+ public $approvalStatus;
+ public $destination;
+ public $intention;
+
+ public function setApprovalStatus($approvalStatus)
+ {
+ $this->approvalStatus = $approvalStatus;
+ }
+
+ public function getApprovalStatus()
+ {
+ return $this->approvalStatus;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_Content_ProductTax extends Google_Model
+{
+ public $country;
+ public $rate;
+ public $region;
+ public $taxShip;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setRate($rate)
+ {
+ $this->rate = $rate;
+ }
+
+ public function getRate()
+ {
+ return $this->rate;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setTaxShip($taxShip)
+ {
+ $this->taxShip = $taxShip;
+ }
+
+ public function getTaxShip()
+ {
+ return $this->taxShip;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $productType = 'Google_Service_Content_Product';
+ protected $productDataType = '';
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProduct(Google_Service_Content_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_ProductsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productType = 'Google_Service_Content_Product';
+ protected $productDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProduct(Google_Service_Content_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+}
+
+class Google_Service_Content_ProductsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_Product';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Content_ProductstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_Content_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productStatusType = 'Google_Service_Content_ProductStatus';
+ protected $productStatusDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_Content_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProductStatus(Google_Service_Content_ProductStatus $productStatus)
+ {
+ $this->productStatus = $productStatus;
+ }
+
+ public function getProductStatus()
+ {
+ return $this->productStatus;
+ }
+}
+
+class Google_Service_Content_ProductstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Content_ProductStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
From 83742556c82f2eeb1de4d63d411fa44e254ab80b Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * Manage product items, inventory, and Merchant Center accounts. + * Manage product items, inventory, and Merchant Center accounts for Google Shopping. *
* *
From acbe372f2ed2a2ac017d8d42e1acb1a524852a28 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * The Google Resource Views API provides views of VMs.
+ * The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.
*
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
* $computeService = new Google_Service_Compute(...);
- * $diskTypes = $computeService->diskTypes;
+ * $backendServices = $computeService->backendServices;
*
*/
-class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
+class Google_Service_Compute_BackendServices_Resource extends Google_Service_Resource
{
/**
- * Retrieves the list of disk type resources grouped by scope.
- * (diskTypes.aggregatedList)
+ * Deletes the specified BackendService resource. (backendServices.delete)
*
* @param string $project
* Name of the project scoping this request.
+ * @param string $backendService
+ * Name of the BackendService resource to delete.
* @param array $optParams Optional parameters.
- *
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_DiskTypeAggregatedList
+ * @return Google_Service_Compute_Operation
*/
- public function aggregatedList($project, $optParams = array())
+ public function delete($project, $backendService, $optParams = array())
{
- $params = array('project' => $project);
+ $params = array('project' => $project, 'backendService' => $backendService);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Returns the specified disk type resource. (diskTypes.get)
+ * Returns the specified BackendService resource. (backendServices.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
- * @param string $diskType
- * Name of the disk type resource to return.
+ * @param string $backendService
+ * Name of the BackendService resource to return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_DiskType
+ * @return Google_Service_Compute_BackendService
*/
- public function get($project, $zone, $diskType, $optParams = array())
+ public function get($project, $backendService, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array('project' => $project, 'backendService' => $backendService);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_DiskType");
+ return $this->call('get', array($params), "Google_Service_Compute_BackendService");
}
/**
- * Retrieves the list of disk type resources available to the specified project.
- * (diskTypes.listDiskTypes)
+ * Gets the most recent health check results for this BackendService.
+ * (backendServices.getHealth)
*
* @param string $project
- * Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
+ *
+ * @param string $backendService
+ * Name of the BackendService resource to which the queried instance belongs.
+ * @param Google_ResourceGroupReference $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_BackendServiceGroupHealth
+ */
+ public function getHealth($project, $backendService, Google_Service_Compute_ResourceGroupReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('getHealth', array($params), "Google_Service_Compute_BackendServiceGroupHealth");
+ }
+ /**
+ * Creates a BackendService resource in the specified project using the data
+ * included in the request. (backendServices.insert)
*
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_DiskTypeList
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
*/
- public function listDiskTypes($project, $zone, $optParams = array())
+ public function insert($project, Google_Service_Compute_BackendService $postBody, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone);
+ $params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
-}
-
-/**
- * The "disks" collection of methods.
- * Typical usage is:
- *
- * $computeService = new Google_Service_Compute(...);
- * $disks = $computeService->disks;
- *
- */
-class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
-{
-
/**
- * Retrieves the list of disks grouped by scope. (disks.aggregatedList)
+ * Retrieves the list of BackendService resources available to the specified
+ * project. (backendServices.listBackendServices)
*
* @param string $project
* Name of the project scoping this request.
@@ -2412,13 +2883,166 @@ class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
* @opt_param string maxResults
* Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
* 500.
- * @return Google_Service_Compute_DiskAggregatedList
+ * @return Google_Service_Compute_BackendServiceList
*/
- public function aggregatedList($project, $optParams = array())
+ public function listBackendServices($project, $optParams = array())
{
$params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList");
+ return $this->call('list', array($params), "Google_Service_Compute_BackendServiceList");
+ }
+ /**
+ * Update the entire content of the BackendService resource. This method
+ * supports patch semantics. (backendServices.patch)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $backendService
+ * Name of the BackendService resource to update.
+ * @param Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Update the entire content of the BackendService resource.
+ * (backendServices.update)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $backendService
+ * Name of the BackendService resource to update.
+ * @param Google_BackendService $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $backendService, Google_Service_Compute_BackendService $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'backendService' => $backendService, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "diskTypes" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $diskTypes = $computeService->diskTypes;
+ *
+ */
+class Google_Service_Compute_DiskTypes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disk type resources grouped by scope.
+ * (diskTypes.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskTypeAggregatedList");
+ }
+ /**
+ * Returns the specified disk type resource. (diskTypes.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $diskType
+ * Name of the disk type resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_DiskType
+ */
+ public function get($project, $zone, $diskType, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'diskType' => $diskType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_DiskType");
+ }
+ /**
+ * Retrieves the list of disk type resources available to the specified project.
+ * (diskTypes.listDiskTypes)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskTypeList
+ */
+ public function listDiskTypes($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_DiskTypeList");
+ }
+}
+
+/**
+ * The "disks" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $disks = $computeService->disks;
+ *
+ */
+class Google_Service_Compute_Disks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of disks grouped by scope. (disks.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_DiskAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_DiskAggregatedList");
}
/**
* (disks.createSnapshot)
@@ -2782,74 +3406,67 @@ public function setTarget($project, $region, $forwardingRule, Google_Service_Com
}
/**
- * The "globalOperations" collection of methods.
+ * The "globalAddresses" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
- * $globalOperations = $computeService->globalOperations;
+ * $globalAddresses = $computeService->globalAddresses;
*
*/
-class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource
+class Google_Service_Compute_GlobalAddresses_Resource extends Google_Service_Resource
{
/**
- * Retrieves the list of all operations grouped by scope.
- * (globalOperations.aggregatedList)
+ * Deletes the specified address resource. (globalAddresses.delete)
*
* @param string $project
* Name of the project scoping this request.
+ * @param string $address
+ * Name of the address resource to delete.
* @param array $optParams Optional parameters.
- *
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_OperationAggregatedList
+ * @return Google_Service_Compute_Operation
*/
- public function aggregatedList($project, $optParams = array())
+ public function delete($project, $address, $optParams = array())
{
- $params = array('project' => $project);
+ $params = array('project' => $project, 'address' => $address);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Deletes the specified operation resource. (globalOperations.delete)
+ * Returns the specified address resource. (globalAddresses.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $operation
- * Name of the operation resource to delete.
+ * @param string $address
+ * Name of the address resource to return.
* @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Address
*/
- public function delete($project, $operation, $optParams = array())
+ public function get($project, $address, $optParams = array())
{
- $params = array('project' => $project, 'operation' => $operation);
+ $params = array('project' => $project, 'address' => $address);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('get', array($params), "Google_Service_Compute_Address");
}
/**
- * Retrieves the specified operation resource. (globalOperations.get)
+ * Creates an address resource in the specified project using the data included
+ * in the request. (globalAddresses.insert)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $operation
- * Name of the operation resource to return.
+ * @param Google_Address $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function get($project, $operation, $optParams = array())
+ public function insert($project, Google_Service_Compute_Address $postBody, $optParams = array())
{
- $params = array('project' => $project, 'operation' => $operation);
+ $params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_Operation");
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
/**
- * Retrieves the list of operation resources contained within the specified
- * project. (globalOperations.listGlobalOperations)
+ * Retrieves the list of global address resources.
+ * (globalAddresses.listGlobalAddresses)
*
* @param string $project
* Name of the project scoping this request.
@@ -2863,78 +3480,78 @@ public function get($project, $operation, $optParams = array())
* @opt_param string maxResults
* Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
* 500.
- * @return Google_Service_Compute_OperationList
+ * @return Google_Service_Compute_AddressList
*/
- public function listGlobalOperations($project, $optParams = array())
+ public function listGlobalAddresses($project, $optParams = array())
{
$params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Compute_OperationList");
+ return $this->call('list', array($params), "Google_Service_Compute_AddressList");
}
}
/**
- * The "httpHealthChecks" collection of methods.
+ * The "globalForwardingRules" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
- * $httpHealthChecks = $computeService->httpHealthChecks;
+ * $globalForwardingRules = $computeService->globalForwardingRules;
*
*/
-class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource
+class Google_Service_Compute_GlobalForwardingRules_Resource extends Google_Service_Resource
{
/**
- * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
+ * Deletes the specified ForwardingRule resource. (globalForwardingRules.delete)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to delete.
+ * @param string $forwardingRule
+ * Name of the ForwardingRule resource to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function delete($project, $httpHealthCheck, $optParams = array())
+ public function delete($project, $forwardingRule, $optParams = array())
{
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
+ * Returns the specified ForwardingRule resource. (globalForwardingRules.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to return.
+ * @param string $forwardingRule
+ * Name of the ForwardingRule resource to return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_HttpHealthCheck
+ * @return Google_Service_Compute_ForwardingRule
*/
- public function get($project, $httpHealthCheck, $optParams = array())
+ public function get($project, $forwardingRule, $optParams = array())
{
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck");
+ return $this->call('get', array($params), "Google_Service_Compute_ForwardingRule");
}
/**
- * Creates a HttpHealthCheck resource in the specified project using the data
- * included in the request. (httpHealthChecks.insert)
+ * Creates a ForwardingRule resource in the specified project and region using
+ * the data included in the request. (globalForwardingRules.insert)
*
* @param string $project
* Name of the project scoping this request.
- * @param Google_HttpHealthCheck $postBody
+ * @param Google_ForwardingRule $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ public function insert($project, Google_Service_Compute_ForwardingRule $postBody, $optParams = array())
{
$params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
/**
- * Retrieves the list of HttpHealthCheck resources available to the specified
- * project. (httpHealthChecks.listHttpHealthChecks)
+ * Retrieves the list of ForwardingRule resources available to the specified
+ * project. (globalForwardingRules.listGlobalForwardingRules)
*
* @param string $project
* Name of the project scoping this request.
@@ -2948,55 +3565,249 @@ public function insert($project, Google_Service_Compute_HttpHealthCheck $postBod
* @opt_param string maxResults
* Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
* 500.
- * @return Google_Service_Compute_HttpHealthCheckList
+ * @return Google_Service_Compute_ForwardingRuleList
*/
- public function listHttpHealthChecks($project, $optParams = array())
+ public function listGlobalForwardingRules($project, $optParams = array())
{
$params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList");
- }
- /**
- * Updates a HttpHealthCheck resource in the specified project using the data
- * included in the request. This method supports patch semantics.
- * (httpHealthChecks.patch)
- *
- * @param string $project
- * Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to update.
- * @param Google_HttpHealthCheck $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Compute_Operation
- */
- public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList");
}
/**
- * Updates a HttpHealthCheck resource in the specified project using the data
- * included in the request. (httpHealthChecks.update)
+ * Changes target url for forwarding rule. (globalForwardingRules.setTarget)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $httpHealthCheck
- * Name of the HttpHealthCheck resource to update.
- * @param Google_HttpHealthCheck $postBody
+ * @param string $forwardingRule
+ * Name of the ForwardingRule resource in which target is to be set.
+ * @param Google_TargetReference $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Compute_Operation
*/
- public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ public function setTarget($project, $forwardingRule, Google_Service_Compute_TargetReference $postBody, $optParams = array())
{
- $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array('project' => $project, 'forwardingRule' => $forwardingRule, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ return $this->call('setTarget', array($params), "Google_Service_Compute_Operation");
}
}
/**
- * The "images" collection of methods.
+ * The "globalOperations" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $globalOperations = $computeService->globalOperations;
+ *
+ */
+class Google_Service_Compute_GlobalOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of all operations grouped by scope.
+ * (globalOperations.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_OperationAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_OperationAggregatedList");
+ }
+ /**
+ * Deletes the specified operation resource. (globalOperations.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $operation
+ * Name of the operation resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the specified operation resource. (globalOperations.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $operation
+ * Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalOperations.listGlobalOperations)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_OperationList
+ */
+ public function listGlobalOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_OperationList");
+ }
+}
+
+/**
+ * The "httpHealthChecks" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $httpHealthChecks = $computeService->httpHealthChecks;
+ *
+ */
+class Google_Service_Compute_HttpHealthChecks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified HttpHealthCheck resource. (httpHealthChecks.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $httpHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified HttpHealthCheck resource. (httpHealthChecks.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_HttpHealthCheck
+ */
+ public function get($project, $httpHealthCheck, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_HttpHealthCheck");
+ }
+ /**
+ * Creates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.insert)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of HttpHealthCheck resources available to the specified
+ * project. (httpHealthChecks.listHttpHealthChecks)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_HttpHealthCheckList
+ */
+ public function listHttpHealthChecks($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_HttpHealthCheckList");
+ }
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. This method supports patch semantics.
+ * (httpHealthChecks.patch)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to update.
+ * @param Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Updates a HttpHealthCheck resource in the specified project using the data
+ * included in the request. (httpHealthChecks.update)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $httpHealthCheck
+ * Name of the HttpHealthCheck resource to update.
+ * @param Google_HttpHealthCheck $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $httpHealthCheck, Google_Service_Compute_HttpHealthCheck $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'httpHealthCheck' => $httpHealthCheck, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "images" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
@@ -3925,78 +4736,180 @@ public function listSnapshots($project, $optParams = array())
}
/**
- * The "targetInstances" collection of methods.
+ * The "targetHttpProxies" collection of methods.
* Typical usage is:
*
* $computeService = new Google_Service_Compute(...);
- * $targetInstances = $computeService->targetInstances;
+ * $targetHttpProxies = $computeService->targetHttpProxies;
*
*/
-class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource
+class Google_Service_Compute_TargetHttpProxies_Resource extends Google_Service_Resource
{
/**
- * Retrieves the list of target instances grouped by scope.
- * (targetInstances.aggregatedList)
+ * Deletes the specified TargetHttpProxy resource. (targetHttpProxies.delete)
*
* @param string $project
* Name of the project scoping this request.
+ * @param string $targetHttpProxy
+ * Name of the TargetHttpProxy resource to delete.
* @param array $optParams Optional parameters.
- *
- * @opt_param string filter
- * Optional. Filter expression for filtering listed resources.
- * @opt_param string pageToken
- * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
- * previous list request.
- * @opt_param string maxResults
- * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
- * 500.
- * @return Google_Service_Compute_TargetInstanceAggregatedList
+ * @return Google_Service_Compute_Operation
*/
- public function aggregatedList($project, $optParams = array())
+ public function delete($project, $targetHttpProxy, $optParams = array())
{
- $params = array('project' => $project);
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
$params = array_merge($params, $optParams);
- return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Deletes the specified TargetInstance resource. (targetInstances.delete)
+ * Returns the specified TargetHttpProxy resource. (targetHttpProxies.get)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
- * @param string $targetInstance
- * Name of the TargetInstance resource to delete.
+ * @param string $targetHttpProxy
+ * Name of the TargetHttpProxy resource to return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_Operation
+ * @return Google_Service_Compute_TargetHttpProxy
*/
- public function delete($project, $zone, $targetInstance, $optParams = array())
+ public function get($project, $targetHttpProxy, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ return $this->call('get', array($params), "Google_Service_Compute_TargetHttpProxy");
}
/**
- * Returns the specified TargetInstance resource. (targetInstances.get)
+ * Creates a TargetHttpProxy resource in the specified project using the data
+ * included in the request. (targetHttpProxies.insert)
*
* @param string $project
* Name of the project scoping this request.
- * @param string $zone
- * Name of the zone scoping this request.
- * @param string $targetInstance
- * Name of the TargetInstance resource to return.
+ * @param Google_TargetHttpProxy $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_TargetInstance
+ * @return Google_Service_Compute_Operation
*/
- public function get($project, $zone, $targetInstance, $optParams = array())
+ public function insert($project, Google_Service_Compute_TargetHttpProxy $postBody, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_TargetInstance");
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
}
/**
- * Creates a TargetInstance resource in the specified project and zone using the
+ * Retrieves the list of TargetHttpProxy resources available to the specified
+ * project. (targetHttpProxies.listTargetHttpProxies)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_TargetHttpProxyList
+ */
+ public function listTargetHttpProxies($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_TargetHttpProxyList");
+ }
+ /**
+ * Changes the URL map for TargetHttpProxy. (targetHttpProxies.setUrlMap)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $targetHttpProxy
+ * Name of the TargetHttpProxy resource whose URL map is to be set.
+ * @param Google_UrlMapReference $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function setUrlMap($project, $targetHttpProxy, Google_Service_Compute_UrlMapReference $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'targetHttpProxy' => $targetHttpProxy, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setUrlMap', array($params), "Google_Service_Compute_Operation");
+ }
+}
+
+/**
+ * The "targetInstances" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $targetInstances = $computeService->targetInstances;
+ *
+ */
+class Google_Service_Compute_TargetInstances_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of target instances grouped by scope.
+ * (targetInstances.aggregatedList)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_TargetInstanceAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetInstanceAggregatedList");
+ }
+ /**
+ * Deletes the specified TargetInstance resource. (targetInstances.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $targetInstance
+ * Name of the TargetInstance resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $zone, $targetInstance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified TargetInstance resource. (targetInstances.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $zone
+ * Name of the zone scoping this request.
+ * @param string $targetInstance
+ * Name of the TargetInstance resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_TargetInstance
+ */
+ public function get($project, $zone, $targetInstance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'targetInstance' => $targetInstance);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_TargetInstance");
+ }
+ /**
+ * Creates a TargetInstance resource in the specified project and zone using the
* data included in the request. (targetInstances.insert)
*
* @param string $project
@@ -4276,6 +5189,145 @@ public function setBackup($project, $region, $targetPool, Google_Service_Compute
}
}
+/**
+ * The "urlMaps" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $urlMaps = $computeService->urlMaps;
+ *
+ */
+class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified UrlMap resource. (urlMaps.delete)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Returns the specified UrlMap resource. (urlMaps.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_UrlMap
+ */
+ public function get($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_UrlMap");
+ }
+ /**
+ * Creates a UrlMap resource in the specified project using the data included in
+ * the request. (urlMaps.insert)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Retrieves the list of UrlMap resources available to the specified project.
+ * (urlMaps.listUrlMaps)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ * Optional. Filter expression for filtering listed resources.
+ * @opt_param string pageToken
+ * Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a
+ * previous list request.
+ * @opt_param string maxResults
+ * Optional. Maximum count of results to be returned. Maximum value is 500 and default value is
+ * 500.
+ * @return Google_Service_Compute_UrlMapList
+ */
+ public function listUrlMaps($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_UrlMapList");
+ }
+ /**
+ * Update the entire content of the UrlMap resource. This method supports patch
+ * semantics. (urlMaps.patch)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to update.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function patch($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Update the entire content of the UrlMap resource. (urlMaps.update)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to update.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function update($project, $urlMap, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Compute_Operation");
+ }
+ /**
+ * Run static validation for the UrlMap. In particular, the tests of the
+ * provided UrlMap will be run. Calling this method does NOT create the UrlMap.
+ * (urlMaps.validate)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $urlMap
+ * Name of the UrlMap resource to be validated as.
+ * @param Google_UrlMapsValidateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_UrlMapsValidateResponse
+ */
+ public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValidateRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('validate', array($params), "Google_Service_Compute_UrlMapsValidateResponse");
+ }
+}
+
/**
* The "zoneOperations" collection of methods.
* Typical usage is:
@@ -4934,239 +5986,256 @@ public function getSourceImage()
}
}
-class Google_Service_Compute_DeprecationStatus extends Google_Model
+class Google_Service_Compute_Backend extends Google_Model
{
- public $deleted;
- public $deprecated;
- public $obsolete;
- public $replacement;
- public $state;
+ public $balancingMode;
+ public $capacityScaler;
+ public $description;
+ public $group;
+ public $maxRate;
+ public $maxRatePerInstance;
+ public $maxUtilization;
- public function setDeleted($deleted)
+ public function setBalancingMode($balancingMode)
{
- $this->deleted = $deleted;
+ $this->balancingMode = $balancingMode;
}
- public function getDeleted()
+ public function getBalancingMode()
{
- return $this->deleted;
+ return $this->balancingMode;
}
- public function setDeprecated($deprecated)
+ public function setCapacityScaler($capacityScaler)
{
- $this->deprecated = $deprecated;
+ $this->capacityScaler = $capacityScaler;
}
- public function getDeprecated()
+ public function getCapacityScaler()
{
- return $this->deprecated;
+ return $this->capacityScaler;
}
- public function setObsolete($obsolete)
+ public function setDescription($description)
{
- $this->obsolete = $obsolete;
+ $this->description = $description;
}
- public function getObsolete()
+ public function getDescription()
{
- return $this->obsolete;
+ return $this->description;
}
- public function setReplacement($replacement)
+ public function setGroup($group)
{
- $this->replacement = $replacement;
+ $this->group = $group;
}
- public function getReplacement()
+ public function getGroup()
{
- return $this->replacement;
+ return $this->group;
}
- public function setState($state)
+ public function setMaxRate($maxRate)
{
- $this->state = $state;
+ $this->maxRate = $maxRate;
}
- public function getState()
+ public function getMaxRate()
{
- return $this->state;
+ return $this->maxRate;
+ }
+
+ public function setMaxRatePerInstance($maxRatePerInstance)
+ {
+ $this->maxRatePerInstance = $maxRatePerInstance;
+ }
+
+ public function getMaxRatePerInstance()
+ {
+ return $this->maxRatePerInstance;
+ }
+
+ public function setMaxUtilization($maxUtilization)
+ {
+ $this->maxUtilization = $maxUtilization;
+ }
+
+ public function getMaxUtilization()
+ {
+ return $this->maxUtilization;
}
}
-class Google_Service_Compute_Disk extends Google_Model
+class Google_Service_Compute_BackendService extends Google_Collection
{
+ protected $backendsType = 'Google_Service_Compute_Backend';
+ protected $backendsDataType = 'array';
public $creationTimestamp;
public $description;
+ public $fingerprint;
+ public $healthChecks;
public $id;
public $kind;
public $name;
- public $options;
+ public $port;
+ public $protocol;
public $selfLink;
- public $sizeGb;
- public $sourceImage;
- public $sourceImageId;
- public $sourceSnapshot;
- public $sourceSnapshotId;
- public $status;
- public $type;
- public $zone;
+ public $timeoutSec;
- public function setCreationTimestamp($creationTimestamp)
+ public function setBackends($backends)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->backends = $backends;
}
- public function getCreationTimestamp()
+ public function getBackends()
{
- return $this->creationTimestamp;
+ return $this->backends;
}
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
+ public function setCreationTimestamp($creationTimestamp)
{
- return $this->description;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function setId($id)
+ public function getCreationTimestamp()
{
- $this->id = $id;
+ return $this->creationTimestamp;
}
- public function getId()
+ public function setDescription($description)
{
- return $this->id;
+ $this->description = $description;
}
- public function setKind($kind)
+ public function getDescription()
{
- $this->kind = $kind;
+ return $this->description;
}
- public function getKind()
+ public function setFingerprint($fingerprint)
{
- return $this->kind;
+ $this->fingerprint = $fingerprint;
}
- public function setName($name)
+ public function getFingerprint()
{
- $this->name = $name;
+ return $this->fingerprint;
}
- public function getName()
+ public function setHealthChecks($healthChecks)
{
- return $this->name;
+ $this->healthChecks = $healthChecks;
}
- public function setOptions($options)
+ public function getHealthChecks()
{
- $this->options = $options;
+ return $this->healthChecks;
}
- public function getOptions()
+ public function setId($id)
{
- return $this->options;
+ $this->id = $id;
}
- public function setSelfLink($selfLink)
+ public function getId()
{
- $this->selfLink = $selfLink;
+ return $this->id;
}
- public function getSelfLink()
+ public function setKind($kind)
{
- return $this->selfLink;
+ $this->kind = $kind;
}
- public function setSizeGb($sizeGb)
+ public function getKind()
{
- $this->sizeGb = $sizeGb;
+ return $this->kind;
}
- public function getSizeGb()
+ public function setName($name)
{
- return $this->sizeGb;
+ $this->name = $name;
}
- public function setSourceImage($sourceImage)
+ public function getName()
{
- $this->sourceImage = $sourceImage;
+ return $this->name;
}
- public function getSourceImage()
+ public function setPort($port)
{
- return $this->sourceImage;
+ $this->port = $port;
}
- public function setSourceImageId($sourceImageId)
+ public function getPort()
{
- $this->sourceImageId = $sourceImageId;
+ return $this->port;
}
- public function getSourceImageId()
+ public function setProtocol($protocol)
{
- return $this->sourceImageId;
+ $this->protocol = $protocol;
}
- public function setSourceSnapshot($sourceSnapshot)
+ public function getProtocol()
{
- $this->sourceSnapshot = $sourceSnapshot;
+ return $this->protocol;
}
- public function getSourceSnapshot()
+ public function setSelfLink($selfLink)
{
- return $this->sourceSnapshot;
+ $this->selfLink = $selfLink;
}
- public function setSourceSnapshotId($sourceSnapshotId)
+ public function getSelfLink()
{
- $this->sourceSnapshotId = $sourceSnapshotId;
+ return $this->selfLink;
}
- public function getSourceSnapshotId()
+ public function setTimeoutSec($timeoutSec)
{
- return $this->sourceSnapshotId;
+ $this->timeoutSec = $timeoutSec;
}
- public function setStatus($status)
+ public function getTimeoutSec()
{
- $this->status = $status;
+ return $this->timeoutSec;
}
+}
- public function getStatus()
- {
- return $this->status;
- }
+class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection
+{
+ protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
+ protected $healthStatusDataType = 'array';
+ public $kind;
- public function setType($type)
+ public function setHealthStatus($healthStatus)
{
- $this->type = $type;
+ $this->healthStatus = $healthStatus;
}
- public function getType()
+ public function getHealthStatus()
{
- return $this->type;
+ return $this->healthStatus;
}
- public function setZone($zone)
+ public function setKind($kind)
{
- $this->zone = $zone;
+ $this->kind = $kind;
}
- public function getZone()
+ public function getKind()
{
- return $this->zone;
+ return $this->kind;
}
}
-class Google_Service_Compute_DiskAggregatedList extends Google_Model
+class Google_Service_Compute_BackendServiceList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_DisksScopedList';
- protected $itemsDataType = 'map';
+ protected $itemsType = 'Google_Service_Compute_BackendService';
+ protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -5222,77 +6291,81 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_DiskList extends Google_Collection
+class Google_Service_Compute_DeprecationStatus extends Google_Model
{
- public $id;
- protected $itemsType = 'Google_Service_Compute_Disk';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
- public $selfLink;
+ public $deleted;
+ public $deprecated;
+ public $obsolete;
+ public $replacement;
+ public $state;
- public function setId($id)
+ public function setDeleted($deleted)
{
- $this->id = $id;
+ $this->deleted = $deleted;
}
- public function getId()
+ public function getDeleted()
{
- return $this->id;
+ return $this->deleted;
}
- public function setItems($items)
+ public function setDeprecated($deprecated)
{
- $this->items = $items;
+ $this->deprecated = $deprecated;
}
- public function getItems()
+ public function getDeprecated()
{
- return $this->items;
+ return $this->deprecated;
}
- public function setKind($kind)
+ public function setObsolete($obsolete)
{
- $this->kind = $kind;
+ $this->obsolete = $obsolete;
}
- public function getKind()
+ public function getObsolete()
{
- return $this->kind;
+ return $this->obsolete;
}
- public function setNextPageToken($nextPageToken)
+ public function setReplacement($replacement)
{
- $this->nextPageToken = $nextPageToken;
+ $this->replacement = $replacement;
}
- public function getNextPageToken()
+ public function getReplacement()
{
- return $this->nextPageToken;
+ return $this->replacement;
}
- public function setSelfLink($selfLink)
+ public function setState($state)
{
- $this->selfLink = $selfLink;
+ $this->state = $state;
}
- public function getSelfLink()
+ public function getState()
{
- return $this->selfLink;
+ return $this->state;
}
}
-class Google_Service_Compute_DiskType extends Google_Model
+class Google_Service_Compute_Disk extends Google_Model
{
public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
public $description;
public $id;
public $kind;
public $name;
+ public $options;
public $selfLink;
- public $validDiskSize;
+ public $sizeGb;
+ public $sourceImage;
+ public $sourceImageId;
+ public $sourceSnapshot;
+ public $sourceSnapshotId;
+ public $status;
+ public $type;
public $zone;
public function setCreationTimestamp($creationTimestamp)
@@ -5305,16 +6378,6 @@ public function getCreationTimestamp()
return $this->creationTimestamp;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
- {
- $this->deprecated = $deprecated;
- }
-
- public function getDeprecated()
- {
- return $this->deprecated;
- }
-
public function setDescription($description)
{
$this->description = $description;
@@ -5355,6 +6418,16 @@ public function getName()
return $this->name;
}
+ public function setOptions($options)
+ {
+ $this->options = $options;
+ }
+
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
@@ -5365,92 +6438,92 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setValidDiskSize($validDiskSize)
+ public function setSizeGb($sizeGb)
{
- $this->validDiskSize = $validDiskSize;
+ $this->sizeGb = $sizeGb;
}
- public function getValidDiskSize()
+ public function getSizeGb()
{
- return $this->validDiskSize;
+ return $this->sizeGb;
}
- public function setZone($zone)
+ public function setSourceImage($sourceImage)
{
- $this->zone = $zone;
+ $this->sourceImage = $sourceImage;
}
- public function getZone()
+ public function getSourceImage()
{
- return $this->zone;
+ return $this->sourceImage;
}
-}
-
-class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
-{
- public $id;
- protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
- protected $itemsDataType = 'map';
- public $kind;
- public $nextPageToken;
- public $selfLink;
- public function setId($id)
+ public function setSourceImageId($sourceImageId)
{
- $this->id = $id;
+ $this->sourceImageId = $sourceImageId;
}
- public function getId()
+ public function getSourceImageId()
{
- return $this->id;
+ return $this->sourceImageId;
}
- public function setItems($items)
+ public function setSourceSnapshot($sourceSnapshot)
{
- $this->items = $items;
+ $this->sourceSnapshot = $sourceSnapshot;
}
- public function getItems()
+ public function getSourceSnapshot()
{
- return $this->items;
+ return $this->sourceSnapshot;
}
- public function setKind($kind)
+ public function setSourceSnapshotId($sourceSnapshotId)
{
- $this->kind = $kind;
+ $this->sourceSnapshotId = $sourceSnapshotId;
}
- public function getKind()
+ public function getSourceSnapshotId()
{
- return $this->kind;
+ return $this->sourceSnapshotId;
}
- public function setNextPageToken($nextPageToken)
+ public function setStatus($status)
{
- $this->nextPageToken = $nextPageToken;
+ $this->status = $status;
}
- public function getNextPageToken()
+ public function getStatus()
{
- return $this->nextPageToken;
+ return $this->status;
}
- public function setSelfLink($selfLink)
+ public function setType($type)
{
- $this->selfLink = $selfLink;
+ $this->type = $type;
}
- public function getSelfLink()
+ public function getType()
{
- return $this->selfLink;
+ return $this->type;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
}
}
-class Google_Service_Compute_DiskTypeList extends Google_Collection
+class Google_Service_Compute_DiskAggregatedList extends Google_Model
{
public $id;
- protected $itemsType = 'Google_Service_Compute_DiskType';
- protected $itemsDataType = 'array';
+ protected $itemsType = 'Google_Service_Compute_DisksScopedList';
+ protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -5506,258 +6579,542 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+class Google_Service_Compute_DiskList extends Google_Collection
{
- protected $diskTypesType = 'Google_Service_Compute_DiskType';
- protected $diskTypesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
- protected $warningDataType = '';
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Disk';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
- public function setDiskTypes($diskTypes)
+ public function setId($id)
{
- $this->diskTypes = $diskTypes;
+ $this->id = $id;
}
- public function getDiskTypes()
+ public function getId()
{
- return $this->diskTypes;
+ return $this->id;
}
- public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ public function setItems($items)
{
- $this->warning = $warning;
+ $this->items = $items;
}
- public function getWarning()
+ public function getItems()
{
- return $this->warning;
+ return $this->items;
}
-}
-
-class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setKind($kind)
{
- $this->code = $code;
+ $this->kind = $kind;
}
- public function getCode()
+ public function getKind()
{
- return $this->code;
+ return $this->kind;
}
- public function setData($data)
+ public function setNextPageToken($nextPageToken)
{
- $this->data = $data;
+ $this->nextPageToken = $nextPageToken;
}
- public function getData()
+ public function getNextPageToken()
{
- return $this->data;
+ return $this->nextPageToken;
}
- public function setMessage($message)
+ public function setSelfLink($selfLink)
{
- $this->message = $message;
+ $this->selfLink = $selfLink;
}
- public function getMessage()
+ public function getSelfLink()
{
- return $this->message;
+ return $this->selfLink;
}
}
-class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+class Google_Service_Compute_DiskType extends Google_Model
{
- public $key;
- public $value;
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $validDiskSize;
+ public $zone;
- public function setKey($key)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->key = $key;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getKey()
+ public function getCreationTimestamp()
{
- return $this->key;
+ return $this->creationTimestamp;
}
- public function setValue($value)
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
{
- $this->value = $value;
+ $this->deprecated = $deprecated;
}
- public function getValue()
+ public function getDeprecated()
{
- return $this->value;
+ return $this->deprecated;
}
-}
-
-class Google_Service_Compute_DisksScopedList extends Google_Collection
-{
- protected $disksType = 'Google_Service_Compute_Disk';
- protected $disksDataType = 'array';
- protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
- protected $warningDataType = '';
- public function setDisks($disks)
+ public function setDescription($description)
{
- $this->disks = $disks;
+ $this->description = $description;
}
- public function getDisks()
+ public function getDescription()
{
- return $this->disks;
+ return $this->description;
}
- public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
+ public function setId($id)
{
- $this->warning = $warning;
+ $this->id = $id;
}
- public function getWarning()
+ public function getId()
{
- return $this->warning;
+ return $this->id;
}
-}
-
-class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setKind($kind)
{
- $this->code = $code;
+ $this->kind = $kind;
}
- public function getCode()
+ public function getKind()
{
- return $this->code;
+ return $this->kind;
}
- public function setData($data)
+ public function setName($name)
{
- $this->data = $data;
+ $this->name = $name;
}
- public function getData()
+ public function getName()
{
- return $this->data;
+ return $this->name;
}
- public function setMessage($message)
+ public function setSelfLink($selfLink)
{
- $this->message = $message;
+ $this->selfLink = $selfLink;
}
- public function getMessage()
+ public function getSelfLink()
{
- return $this->message;
+ return $this->selfLink;
}
-}
-
-class Google_Service_Compute_DisksScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setValidDiskSize($validDiskSize)
{
- $this->key = $key;
+ $this->validDiskSize = $validDiskSize;
}
- public function getKey()
+ public function getValidDiskSize()
{
- return $this->key;
+ return $this->validDiskSize;
}
- public function setValue($value)
+ public function setZone($zone)
{
- $this->value = $value;
+ $this->zone = $zone;
}
- public function getValue()
+ public function getZone()
{
- return $this->value;
+ return $this->zone;
}
}
-class Google_Service_Compute_Firewall extends Google_Collection
+class Google_Service_Compute_DiskTypeAggregatedList extends Google_Model
{
- protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
- protected $allowedDataType = 'array';
- public $creationTimestamp;
- public $description;
public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskTypesScopedList';
+ protected $itemsDataType = 'map';
public $kind;
- public $name;
- public $network;
+ public $nextPageToken;
public $selfLink;
- public $sourceRanges;
- public $sourceTags;
- public $targetTags;
- public function setAllowed($allowed)
+ public function setId($id)
{
- $this->allowed = $allowed;
+ $this->id = $id;
}
- public function getAllowed()
+ public function getId()
{
- return $this->allowed;
+ return $this->id;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setItems($items)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->items = $items;
}
- public function getCreationTimestamp()
+ public function getItems()
{
- return $this->creationTimestamp;
+ return $this->items;
}
- public function setDescription($description)
+ public function setKind($kind)
{
- $this->description = $description;
+ $this->kind = $kind;
}
- public function getDescription()
+ public function getKind()
{
- return $this->description;
+ return $this->kind;
}
- public function setId($id)
+ public function setNextPageToken($nextPageToken)
{
- $this->id = $id;
+ $this->nextPageToken = $nextPageToken;
}
- public function getId()
+ public function getNextPageToken()
{
- return $this->id;
+ return $this->nextPageToken;
}
- public function setKind($kind)
+ public function setSelfLink($selfLink)
{
- $this->kind = $kind;
+ $this->selfLink = $selfLink;
}
- public function getKind()
+ public function getSelfLink()
{
- return $this->kind;
+ return $this->selfLink;
}
+}
- public function setName($name)
- {
- $this->name = $name;
+class Google_Service_Compute_DiskTypeList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_DiskType';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
+{
+ protected $diskTypesType = 'Google_Service_Compute_DiskType';
+ protected $diskTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDiskTypes($diskTypes)
+ {
+ $this->diskTypes = $diskTypes;
+ }
+
+ public function getDiskTypes()
+ {
+ return $this->diskTypes;
+ }
+
+ public function setWarning(Google_Service_Compute_DiskTypesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_DiskTypesScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Compute_DisksScopedList extends Google_Collection
+{
+ protected $disksType = 'Google_Service_Compute_Disk';
+ protected $disksDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setDisks($disks)
+ {
+ $this->disks = $disks;
+ }
+
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+
+ public function setWarning(Google_Service_Compute_DisksScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_DisksScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Compute_Firewall extends Google_Collection
+{
+ protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
+ protected $allowedDataType = 'array';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $network;
+ public $selfLink;
+ public $sourceRanges;
+ public $sourceTags;
+ public $targetTags;
+
+ public function setAllowed($allowed)
+ {
+ $this->allowed = $allowed;
+ }
+
+ public function getAllowed()
+ {
+ return $this->allowed;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
}
public function getName()
@@ -6291,6 +7648,43 @@ public function getIpAddress()
}
}
+class Google_Service_Compute_HostRule extends Google_Collection
+{
+ public $description;
+ public $hosts;
+ public $pathMatcher;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setHosts($hosts)
+ {
+ $this->hosts = $hosts;
+ }
+
+ public function getHosts()
+ {
+ return $this->hosts;
+ }
+
+ public function setPathMatcher($pathMatcher)
+ {
+ $this->pathMatcher = $pathMatcher;
+ }
+
+ public function getPathMatcher()
+ {
+ return $this->pathMatcher;
+ }
+}
+
class Google_Service_Compute_HttpHealthCheck extends Google_Model
{
public $checkIntervalSec;
@@ -6392,19 +7786,217 @@ public function setPort($port)
$this->port = $port;
}
- public function getPort()
+ public function getPort()
+ {
+ return $this->port;
+ }
+
+ public function setRequestPath($requestPath)
+ {
+ $this->requestPath = $requestPath;
+ }
+
+ public function getRequestPath()
+ {
+ return $this->requestPath;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTimeoutSec($timeoutSec)
+ {
+ $this->timeoutSec = $timeoutSec;
+ }
+
+ public function getTimeoutSec()
+ {
+ return $this->timeoutSec;
+ }
+
+ public function setUnhealthyThreshold($unhealthyThreshold)
+ {
+ $this->unhealthyThreshold = $unhealthyThreshold;
+ }
+
+ public function getUnhealthyThreshold()
+ {
+ return $this->unhealthyThreshold;
+ }
+}
+
+class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_Image extends Google_Model
+{
+ public $archiveSizeBytes;
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $diskSizeGb;
+ public $id;
+ public $kind;
+ public $name;
+ protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
+ protected $rawDiskDataType = '';
+ public $selfLink;
+ public $sourceType;
+ public $status;
+
+ public function setArchiveSizeBytes($archiveSizeBytes)
+ {
+ $this->archiveSizeBytes = $archiveSizeBytes;
+ }
+
+ public function getArchiveSizeBytes()
+ {
+ return $this->archiveSizeBytes;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ {
+ $this->deprecated = $deprecated;
+ }
+
+ public function getDeprecated()
+ {
+ return $this->deprecated;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
{
- return $this->port;
+ return $this->name;
}
- public function setRequestPath($requestPath)
+ public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk)
{
- $this->requestPath = $requestPath;
+ $this->rawDisk = $rawDisk;
}
- public function getRequestPath()
+ public function getRawDisk()
{
- return $this->requestPath;
+ return $this->rawDisk;
}
public function setSelfLink($selfLink)
@@ -6417,31 +8009,31 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setTimeoutSec($timeoutSec)
+ public function setSourceType($sourceType)
{
- $this->timeoutSec = $timeoutSec;
+ $this->sourceType = $sourceType;
}
- public function getTimeoutSec()
+ public function getSourceType()
{
- return $this->timeoutSec;
+ return $this->sourceType;
}
- public function setUnhealthyThreshold($unhealthyThreshold)
+ public function setStatus($status)
{
- $this->unhealthyThreshold = $unhealthyThreshold;
+ $this->status = $status;
}
- public function getUnhealthyThreshold()
+ public function getStatus()
{
- return $this->unhealthyThreshold;
+ return $this->status;
}
}
-class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
+class Google_Service_Compute_ImageList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
+ protected $itemsType = 'Google_Service_Compute_Image';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -6498,31 +8090,77 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_Image extends Google_Model
+class Google_Service_Compute_ImageRawDisk extends Google_Model
{
- public $archiveSizeBytes;
+ public $containerType;
+ public $sha1Checksum;
+ public $source;
+
+ public function setContainerType($containerType)
+ {
+ $this->containerType = $containerType;
+ }
+
+ public function getContainerType()
+ {
+ return $this->containerType;
+ }
+
+ public function setSha1Checksum($sha1Checksum)
+ {
+ $this->sha1Checksum = $sha1Checksum;
+ }
+
+ public function getSha1Checksum()
+ {
+ return $this->sha1Checksum;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Compute_Instance extends Google_Collection
+{
+ public $canIpForward;
public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
public $description;
- public $diskSizeGb;
+ protected $disksType = 'Google_Service_Compute_AttachedDisk';
+ protected $disksDataType = 'array';
public $id;
public $kind;
+ public $machineType;
+ protected $metadataType = 'Google_Service_Compute_Metadata';
+ protected $metadataDataType = '';
public $name;
- protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
- protected $rawDiskDataType = '';
+ protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
+ protected $networkInterfacesDataType = 'array';
+ protected $schedulingType = 'Google_Service_Compute_Scheduling';
+ protected $schedulingDataType = '';
public $selfLink;
- public $sourceType;
+ protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
+ protected $serviceAccountsDataType = 'array';
public $status;
+ public $statusMessage;
+ protected $tagsType = 'Google_Service_Compute_Tags';
+ protected $tagsDataType = '';
+ public $zone;
- public function setArchiveSizeBytes($archiveSizeBytes)
+ public function setCanIpForward($canIpForward)
{
- $this->archiveSizeBytes = $archiveSizeBytes;
+ $this->canIpForward = $canIpForward;
}
- public function getArchiveSizeBytes()
+ public function getCanIpForward()
{
- return $this->archiveSizeBytes;
+ return $this->canIpForward;
}
public function setCreationTimestamp($creationTimestamp)
@@ -6535,16 +8173,6 @@ public function getCreationTimestamp()
return $this->creationTimestamp;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
- {
- $this->deprecated = $deprecated;
- }
-
- public function getDeprecated()
- {
- return $this->deprecated;
- }
-
public function setDescription($description)
{
$this->description = $description;
@@ -6555,14 +8183,14 @@ public function getDescription()
return $this->description;
}
- public function setDiskSizeGb($diskSizeGb)
+ public function setDisks($disks)
{
- $this->diskSizeGb = $diskSizeGb;
+ $this->disks = $disks;
}
- public function getDiskSizeGb()
+ public function getDisks()
{
- return $this->diskSizeGb;
+ return $this->disks;
}
public function setId($id)
@@ -6585,6 +8213,26 @@ public function getKind()
return $this->kind;
}
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+
+ public function setMetadata(Google_Service_Compute_Metadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -6595,14 +8243,24 @@ public function getName()
return $this->name;
}
- public function setRawDisk(Google_Service_Compute_ImageRawDisk $rawDisk)
+ public function setNetworkInterfaces($networkInterfaces)
{
- $this->rawDisk = $rawDisk;
+ $this->networkInterfaces = $networkInterfaces;
}
- public function getRawDisk()
+ public function getNetworkInterfaces()
{
- return $this->rawDisk;
+ return $this->networkInterfaces;
+ }
+
+ public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
+ {
+ $this->scheduling = $scheduling;
+ }
+
+ public function getScheduling()
+ {
+ return $this->scheduling;
}
public function setSelfLink($selfLink)
@@ -6615,14 +8273,14 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setSourceType($sourceType)
+ public function setServiceAccounts($serviceAccounts)
{
- $this->sourceType = $sourceType;
+ $this->serviceAccounts = $serviceAccounts;
}
- public function getSourceType()
+ public function getServiceAccounts()
{
- return $this->sourceType;
+ return $this->serviceAccounts;
}
public function setStatus($status)
@@ -6632,14 +8290,104 @@ public function setStatus($status)
public function getStatus()
{
- return $this->status;
+ return $this->status;
+ }
+
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+
+ public function setTags(Google_Service_Compute_Tags $tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Compute_InstanceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_InstancesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
}
-class Google_Service_Compute_ImageList extends Google_Collection
+class Google_Service_Compute_InstanceList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Image';
+ protected $itemsType = 'Google_Service_Compute_Instance';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -6696,227 +8444,260 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_ImageRawDisk extends Google_Model
+class Google_Service_Compute_InstanceReference extends Google_Model
{
- public $containerType;
- public $sha1Checksum;
- public $source;
+ public $instance;
- public function setContainerType($containerType)
+ public function setInstance($instance)
{
- $this->containerType = $containerType;
+ $this->instance = $instance;
}
- public function getContainerType()
+ public function getInstance()
{
- return $this->containerType;
+ return $this->instance;
}
+}
- public function setSha1Checksum($sha1Checksum)
+class Google_Service_Compute_InstancesScopedList extends Google_Collection
+{
+ protected $instancesType = 'Google_Service_Compute_Instance';
+ protected $instancesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setInstances($instances)
{
- $this->sha1Checksum = $sha1Checksum;
+ $this->instances = $instances;
}
- public function getSha1Checksum()
+ public function getInstances()
{
- return $this->sha1Checksum;
+ return $this->instances;
}
- public function setSource($source)
+ public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
{
- $this->source = $source;
+ $this->warning = $warning;
}
- public function getSource()
+ public function getWarning()
{
- return $this->source;
+ return $this->warning;
}
}
-class Google_Service_Compute_Instance extends Google_Collection
+class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
{
- public $canIpForward;
- public $creationTimestamp;
- public $description;
- protected $disksType = 'Google_Service_Compute_AttachedDisk';
- protected $disksDataType = 'array';
- public $id;
- public $kind;
- public $machineType;
- protected $metadataType = 'Google_Service_Compute_Metadata';
- protected $metadataDataType = '';
- public $name;
- protected $networkInterfacesType = 'Google_Service_Compute_NetworkInterface';
- protected $networkInterfacesDataType = 'array';
- protected $schedulingType = 'Google_Service_Compute_Scheduling';
- protected $schedulingDataType = '';
- public $selfLink;
- protected $serviceAccountsType = 'Google_Service_Compute_ServiceAccount';
- protected $serviceAccountsDataType = 'array';
- public $status;
- public $statusMessage;
- protected $tagsType = 'Google_Service_Compute_Tags';
- protected $tagsDataType = '';
- public $zone;
+ public $code;
+ protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
- public function setCanIpForward($canIpForward)
+ public function setCode($code)
{
- $this->canIpForward = $canIpForward;
+ $this->code = $code;
}
- public function getCanIpForward()
+ public function getCode()
{
- return $this->canIpForward;
+ return $this->code;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setData($data)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->data = $data;
}
- public function getCreationTimestamp()
+ public function getData()
{
- return $this->creationTimestamp;
+ return $this->data;
}
- public function setDescription($description)
+ public function setMessage($message)
{
- $this->description = $description;
+ $this->message = $message;
}
- public function getDescription()
+ public function getMessage()
{
- return $this->description;
+ return $this->message;
}
+}
- public function setDisks($disks)
+class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
{
- $this->disks = $disks;
+ $this->key = $key;
}
- public function getDisks()
+ public function getKey()
{
- return $this->disks;
+ return $this->key;
}
- public function setId($id)
+ public function setValue($value)
{
- $this->id = $id;
+ $this->value = $value;
}
- public function getId()
+ public function getValue()
{
- return $this->id;
+ return $this->value;
}
+}
- public function setKind($kind)
+class Google_Service_Compute_MachineType extends Google_Collection
+{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
+ public $guestCpus;
+ public $id;
+ public $imageSpaceGb;
+ public $kind;
+ public $maximumPersistentDisks;
+ public $maximumPersistentDisksSizeGb;
+ public $memoryMb;
+ public $name;
+ protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
+ protected $scratchDisksDataType = 'array';
+ public $selfLink;
+ public $zone;
+
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->kind = $kind;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getKind()
+ public function getCreationTimestamp()
{
- return $this->kind;
+ return $this->creationTimestamp;
}
- public function setMachineType($machineType)
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
{
- $this->machineType = $machineType;
+ $this->deprecated = $deprecated;
}
- public function getMachineType()
+ public function getDeprecated()
{
- return $this->machineType;
+ return $this->deprecated;
}
- public function setMetadata(Google_Service_Compute_Metadata $metadata)
+ public function setDescription($description)
{
- $this->metadata = $metadata;
+ $this->description = $description;
}
- public function getMetadata()
+ public function getDescription()
{
- return $this->metadata;
+ return $this->description;
}
- public function setName($name)
+ public function setGuestCpus($guestCpus)
{
- $this->name = $name;
+ $this->guestCpus = $guestCpus;
}
- public function getName()
+ public function getGuestCpus()
{
- return $this->name;
+ return $this->guestCpus;
}
- public function setNetworkInterfaces($networkInterfaces)
+ public function setId($id)
{
- $this->networkInterfaces = $networkInterfaces;
+ $this->id = $id;
}
- public function getNetworkInterfaces()
+ public function getId()
{
- return $this->networkInterfaces;
+ return $this->id;
}
- public function setScheduling(Google_Service_Compute_Scheduling $scheduling)
+ public function setImageSpaceGb($imageSpaceGb)
{
- $this->scheduling = $scheduling;
+ $this->imageSpaceGb = $imageSpaceGb;
}
- public function getScheduling()
+ public function getImageSpaceGb()
{
- return $this->scheduling;
+ return $this->imageSpaceGb;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
- public function setServiceAccounts($serviceAccounts)
+ public function setMaximumPersistentDisks($maximumPersistentDisks)
{
- $this->serviceAccounts = $serviceAccounts;
+ $this->maximumPersistentDisks = $maximumPersistentDisks;
}
- public function getServiceAccounts()
+ public function getMaximumPersistentDisks()
{
- return $this->serviceAccounts;
+ return $this->maximumPersistentDisks;
}
- public function setStatus($status)
+ public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
{
- $this->status = $status;
+ $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
}
- public function getStatus()
+ public function getMaximumPersistentDisksSizeGb()
{
- return $this->status;
+ return $this->maximumPersistentDisksSizeGb;
}
- public function setStatusMessage($statusMessage)
+ public function setMemoryMb($memoryMb)
{
- $this->statusMessage = $statusMessage;
+ $this->memoryMb = $memoryMb;
}
- public function getStatusMessage()
+ public function getMemoryMb()
{
- return $this->statusMessage;
+ return $this->memoryMb;
}
- public function setTags(Google_Service_Compute_Tags $tags)
+ public function setName($name)
{
- $this->tags = $tags;
+ $this->name = $name;
}
- public function getTags()
+ public function getName()
{
- return $this->tags;
+ return $this->name;
+ }
+
+ public function setScratchDisks($scratchDisks)
+ {
+ $this->scratchDisks = $scratchDisks;
+ }
+
+ public function getScratchDisks()
+ {
+ return $this->scratchDisks;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
public function setZone($zone)
@@ -6930,10 +8711,10 @@ public function getZone()
}
}
-class Google_Service_Compute_InstanceAggregatedList extends Google_Model
+class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
{
public $id;
- protected $itemsType = 'Google_Service_Compute_InstancesScopedList';
+ protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList';
protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
@@ -6990,10 +8771,10 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_InstanceList extends Google_Collection
+class Google_Service_Compute_MachineTypeList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Instance';
+ protected $itemsType = 'Google_Service_Compute_MachineType';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -7050,39 +8831,39 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_InstanceReference extends Google_Model
+class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
{
- public $instance;
+ public $diskGb;
- public function setInstance($instance)
+ public function setDiskGb($diskGb)
{
- $this->instance = $instance;
+ $this->diskGb = $diskGb;
}
- public function getInstance()
+ public function getDiskGb()
{
- return $this->instance;
+ return $this->diskGb;
}
}
-class Google_Service_Compute_InstancesScopedList extends Google_Collection
+class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
{
- protected $instancesType = 'Google_Service_Compute_Instance';
- protected $instancesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
+ protected $machineTypesType = 'Google_Service_Compute_MachineType';
+ protected $machineTypesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
protected $warningDataType = '';
- public function setInstances($instances)
+ public function setMachineTypes($machineTypes)
{
- $this->instances = $instances;
+ $this->machineTypes = $machineTypes;
}
- public function getInstances()
+ public function getMachineTypes()
{
- return $this->instances;
+ return $this->machineTypes;
}
- public function setWarning(Google_Service_Compute_InstancesScopedListWarning $warning)
+ public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
{
$this->warning = $warning;
}
@@ -7093,10 +8874,10 @@ public function getWarning()
}
}
-class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
+class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
{
public $code;
- protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
+ protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
protected $dataDataType = 'array';
public $message;
@@ -7131,7 +8912,7 @@ public function getMessage()
}
}
-class Google_Service_Compute_InstancesScopedListWarningData extends Google_Model
+class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
{
public $key;
public $value;
@@ -7157,43 +8938,99 @@ public function getValue()
}
}
-class Google_Service_Compute_MachineType extends Google_Collection
+class Google_Service_Compute_Metadata extends Google_Collection
+{
+ public $fingerprint;
+ protected $itemsType = 'Google_Service_Compute_MetadataItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Compute_MetadataItems extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Compute_Network extends Google_Model
{
+ public $iPv4Range;
public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
public $description;
- public $guestCpus;
+ public $gatewayIPv4;
public $id;
- public $imageSpaceGb;
public $kind;
- public $maximumPersistentDisks;
- public $maximumPersistentDisksSizeGb;
- public $memoryMb;
public $name;
- protected $scratchDisksType = 'Google_Service_Compute_MachineTypeScratchDisks';
- protected $scratchDisksDataType = 'array';
public $selfLink;
- public $zone;
- public function setCreationTimestamp($creationTimestamp)
+ public function setIPv4Range($iPv4Range)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->iPv4Range = $iPv4Range;
}
- public function getCreationTimestamp()
+ public function getIPv4Range()
{
- return $this->creationTimestamp;
+ return $this->iPv4Range;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->deprecated = $deprecated;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getDeprecated()
+ public function getCreationTimestamp()
{
- return $this->deprecated;
+ return $this->creationTimestamp;
}
public function setDescription($description)
@@ -7206,14 +9043,14 @@ public function getDescription()
return $this->description;
}
- public function setGuestCpus($guestCpus)
+ public function setGatewayIPv4($gatewayIPv4)
{
- $this->guestCpus = $guestCpus;
+ $this->gatewayIPv4 = $gatewayIPv4;
}
- public function getGuestCpus()
+ public function getGatewayIPv4()
{
- return $this->guestCpus;
+ return $this->gatewayIPv4;
}
public function setId($id)
@@ -7226,16 +9063,6 @@ public function getId()
return $this->id;
}
- public function setImageSpaceGb($imageSpaceGb)
- {
- $this->imageSpaceGb = $imageSpaceGb;
- }
-
- public function getImageSpaceGb()
- {
- return $this->imageSpaceGb;
- }
-
public function setKind($kind)
{
$this->kind = $kind;
@@ -7246,34 +9073,43 @@ public function getKind()
return $this->kind;
}
- public function setMaximumPersistentDisks($maximumPersistentDisks)
+ public function setName($name)
{
- $this->maximumPersistentDisks = $maximumPersistentDisks;
+ $this->name = $name;
}
- public function getMaximumPersistentDisks()
+ public function getName()
{
- return $this->maximumPersistentDisks;
+ return $this->name;
}
- public function setMaximumPersistentDisksSizeGb($maximumPersistentDisksSizeGb)
+ public function setSelfLink($selfLink)
{
- $this->maximumPersistentDisksSizeGb = $maximumPersistentDisksSizeGb;
+ $this->selfLink = $selfLink;
}
- public function getMaximumPersistentDisksSizeGb()
+ public function getSelfLink()
{
- return $this->maximumPersistentDisksSizeGb;
+ return $this->selfLink;
}
+}
- public function setMemoryMb($memoryMb)
+class Google_Service_Compute_NetworkInterface extends Google_Collection
+{
+ protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
+ protected $accessConfigsDataType = 'array';
+ public $name;
+ public $network;
+ public $networkIP;
+
+ public function setAccessConfigs($accessConfigs)
{
- $this->memoryMb = $memoryMb;
+ $this->accessConfigs = $accessConfigs;
}
- public function getMemoryMb()
+ public function getAccessConfigs()
{
- return $this->memoryMb;
+ return $this->accessConfigs;
}
public function setName($name)
@@ -7286,42 +9122,32 @@ public function getName()
return $this->name;
}
- public function setScratchDisks($scratchDisks)
- {
- $this->scratchDisks = $scratchDisks;
- }
-
- public function getScratchDisks()
- {
- return $this->scratchDisks;
- }
-
- public function setSelfLink($selfLink)
+ public function setNetwork($network)
{
- $this->selfLink = $selfLink;
+ $this->network = $network;
}
- public function getSelfLink()
+ public function getNetwork()
{
- return $this->selfLink;
+ return $this->network;
}
- public function setZone($zone)
+ public function setNetworkIP($networkIP)
{
- $this->zone = $zone;
+ $this->networkIP = $networkIP;
}
- public function getZone()
+ public function getNetworkIP()
{
- return $this->zone;
+ return $this->networkIP;
}
}
-class Google_Service_Compute_MachineTypeAggregatedList extends Google_Model
+class Google_Service_Compute_NetworkList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_MachineTypesScopedList';
- protected $itemsDataType = 'map';
+ protected $itemsType = 'Google_Service_Compute_Network';
+ protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -7377,287 +9203,262 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_MachineTypeList extends Google_Collection
+class Google_Service_Compute_Operation extends Google_Collection
{
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Compute_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
public $id;
- protected $itemsType = 'Google_Service_Compute_MachineType';
- protected $itemsDataType = 'array';
+ public $insertTime;
public $kind;
- public $nextPageToken;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Compute_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
+ public function setClientOperationId($clientOperationId)
{
- return $this->id;
+ $this->clientOperationId = $clientOperationId;
}
- public function setItems($items)
+ public function getClientOperationId()
{
- $this->items = $items;
+ return $this->clientOperationId;
}
- public function getItems()
+ public function setCreationTimestamp($creationTimestamp)
{
- return $this->items;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function setKind($kind)
+ public function getCreationTimestamp()
{
- $this->kind = $kind;
+ return $this->creationTimestamp;
}
- public function getKind()
+ public function setEndTime($endTime)
{
- return $this->kind;
+ $this->endTime = $endTime;
}
- public function setNextPageToken($nextPageToken)
+ public function getEndTime()
{
- $this->nextPageToken = $nextPageToken;
+ return $this->endTime;
}
- public function getNextPageToken()
+ public function setError(Google_Service_Compute_OperationError $error)
{
- return $this->nextPageToken;
+ $this->error = $error;
}
- public function setSelfLink($selfLink)
+ public function getError()
{
- $this->selfLink = $selfLink;
+ return $this->error;
}
- public function getSelfLink()
+ public function setHttpErrorMessage($httpErrorMessage)
{
- return $this->selfLink;
+ $this->httpErrorMessage = $httpErrorMessage;
}
-}
-
-class Google_Service_Compute_MachineTypeScratchDisks extends Google_Model
-{
- public $diskGb;
- public function setDiskGb($diskGb)
+ public function getHttpErrorMessage()
{
- $this->diskGb = $diskGb;
+ return $this->httpErrorMessage;
}
- public function getDiskGb()
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
{
- return $this->diskGb;
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
}
-}
-
-class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
-{
- protected $machineTypesType = 'Google_Service_Compute_MachineType';
- protected $machineTypesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
- protected $warningDataType = '';
- public function setMachineTypes($machineTypes)
+ public function getHttpErrorStatusCode()
{
- $this->machineTypes = $machineTypes;
+ return $this->httpErrorStatusCode;
}
- public function getMachineTypes()
+ public function setId($id)
{
- return $this->machineTypes;
+ $this->id = $id;
}
- public function setWarning(Google_Service_Compute_MachineTypesScopedListWarning $warning)
+ public function getId()
{
- $this->warning = $warning;
+ return $this->id;
}
- public function getWarning()
+ public function setInsertTime($insertTime)
{
- return $this->warning;
+ $this->insertTime = $insertTime;
}
-}
-
-class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function getInsertTime()
{
- $this->code = $code;
+ return $this->insertTime;
}
- public function getCode()
+ public function setKind($kind)
{
- return $this->code;
+ $this->kind = $kind;
}
- public function setData($data)
+ public function getKind()
{
- $this->data = $data;
+ return $this->kind;
}
- public function getData()
+ public function setName($name)
{
- return $this->data;
+ $this->name = $name;
}
- public function setMessage($message)
+ public function getName()
{
- $this->message = $message;
+ return $this->name;
}
- public function getMessage()
+ public function setOperationType($operationType)
{
- return $this->message;
+ $this->operationType = $operationType;
}
-}
-
-class Google_Service_Compute_MachineTypesScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function getOperationType()
{
- $this->key = $key;
+ return $this->operationType;
}
- public function getKey()
+ public function setProgress($progress)
{
- return $this->key;
+ $this->progress = $progress;
}
- public function setValue($value)
+ public function getProgress()
{
- $this->value = $value;
+ return $this->progress;
}
- public function getValue()
+ public function setRegion($region)
{
- return $this->value;
+ $this->region = $region;
}
-}
-
-class Google_Service_Compute_Metadata extends Google_Collection
-{
- public $fingerprint;
- protected $itemsType = 'Google_Service_Compute_MetadataItems';
- protected $itemsDataType = 'array';
- public $kind;
- public function setFingerprint($fingerprint)
+ public function getRegion()
{
- $this->fingerprint = $fingerprint;
+ return $this->region;
}
- public function getFingerprint()
+ public function setSelfLink($selfLink)
{
- return $this->fingerprint;
+ $this->selfLink = $selfLink;
}
- public function setItems($items)
+ public function getSelfLink()
{
- $this->items = $items;
+ return $this->selfLink;
}
- public function getItems()
+ public function setStartTime($startTime)
{
- return $this->items;
+ $this->startTime = $startTime;
}
- public function setKind($kind)
+ public function getStartTime()
{
- $this->kind = $kind;
+ return $this->startTime;
}
- public function getKind()
+ public function setStatus($status)
{
- return $this->kind;
+ $this->status = $status;
}
-}
-
-class Google_Service_Compute_MetadataItems extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function getStatus()
{
- $this->key = $key;
+ return $this->status;
}
- public function getKey()
+ public function setStatusMessage($statusMessage)
{
- return $this->key;
+ $this->statusMessage = $statusMessage;
}
- public function setValue($value)
+ public function getStatusMessage()
{
- $this->value = $value;
+ return $this->statusMessage;
}
- public function getValue()
+ public function setTargetId($targetId)
{
- return $this->value;
+ $this->targetId = $targetId;
}
-}
-class Google_Service_Compute_Network extends Google_Model
-{
- public $iPv4Range;
- public $creationTimestamp;
- public $description;
- public $gatewayIPv4;
- public $id;
- public $kind;
- public $name;
- public $selfLink;
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
- public function setIPv4Range($iPv4Range)
+ public function setTargetLink($targetLink)
{
- $this->iPv4Range = $iPv4Range;
+ $this->targetLink = $targetLink;
}
- public function getIPv4Range()
+ public function getTargetLink()
{
- return $this->iPv4Range;
+ return $this->targetLink;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setUser($user)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->user = $user;
}
- public function getCreationTimestamp()
+ public function getUser()
{
- return $this->creationTimestamp;
+ return $this->user;
}
- public function setDescription($description)
+ public function setWarnings($warnings)
{
- $this->description = $description;
+ $this->warnings = $warnings;
}
- public function getDescription()
+ public function getWarnings()
{
- return $this->description;
+ return $this->warnings;
}
- public function setGatewayIPv4($gatewayIPv4)
+ public function setZone($zone)
{
- $this->gatewayIPv4 = $gatewayIPv4;
+ $this->zone = $zone;
}
- public function getGatewayIPv4()
+ public function getZone()
{
- return $this->gatewayIPv4;
+ return $this->zone;
}
+}
+
+class Google_Service_Compute_OperationAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_OperationsScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
public function setId($id)
{
@@ -7669,6 +9470,16 @@ public function getId()
return $this->id;
}
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -7679,14 +9490,14 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setNextPageToken($nextPageToken)
{
- $this->name = $name;
+ $this->nextPageToken = $nextPageToken;
}
- public function getName()
+ public function getNextPageToken()
{
- return $this->name;
+ return $this->nextPageToken;
}
public function setSelfLink($selfLink)
@@ -7700,59 +9511,63 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_NetworkInterface extends Google_Collection
+class Google_Service_Compute_OperationError extends Google_Collection
{
- protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
- protected $accessConfigsDataType = 'array';
- public $name;
- public $network;
- public $networkIP;
+ protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
+ protected $errorsDataType = 'array';
- public function setAccessConfigs($accessConfigs)
+ public function setErrors($errors)
{
- $this->accessConfigs = $accessConfigs;
+ $this->errors = $errors;
}
- public function getAccessConfigs()
+ public function getErrors()
{
- return $this->accessConfigs;
+ return $this->errors;
}
+}
- public function setName($name)
+class Google_Service_Compute_OperationErrorErrors extends Google_Model
+{
+ public $code;
+ public $location;
+ public $message;
+
+ public function setCode($code)
{
- $this->name = $name;
+ $this->code = $code;
}
- public function getName()
+ public function getCode()
{
- return $this->name;
+ return $this->code;
}
- public function setNetwork($network)
+ public function setLocation($location)
{
- $this->network = $network;
+ $this->location = $location;
}
- public function getNetwork()
+ public function getLocation()
{
- return $this->network;
+ return $this->location;
}
- public function setNetworkIP($networkIP)
+ public function setMessage($message)
{
- $this->networkIP = $networkIP;
+ $this->message = $message;
}
- public function getNetworkIP()
+ public function getMessage()
{
- return $this->networkIP;
+ return $this->message;
}
}
-class Google_Service_Compute_NetworkList extends Google_Collection
+class Google_Service_Compute_OperationList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Network';
+ protected $itemsType = 'Google_Service_Compute_Operation';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -7809,262 +9624,281 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_Operation extends Google_Collection
+class Google_Service_Compute_OperationWarnings extends Google_Collection
{
- public $clientOperationId;
- public $creationTimestamp;
- public $endTime;
- protected $errorType = 'Google_Service_Compute_OperationError';
- protected $errorDataType = '';
- public $httpErrorMessage;
- public $httpErrorStatusCode;
- public $id;
- public $insertTime;
- public $kind;
- public $name;
- public $operationType;
- public $progress;
- public $region;
- public $selfLink;
- public $startTime;
- public $status;
- public $statusMessage;
- public $targetId;
- public $targetLink;
- public $user;
- protected $warningsType = 'Google_Service_Compute_OperationWarnings';
- protected $warningsDataType = 'array';
- public $zone;
+ public $code;
+ protected $dataType = 'Google_Service_Compute_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
- public function setClientOperationId($clientOperationId)
+ public function setCode($code)
{
- $this->clientOperationId = $clientOperationId;
+ $this->code = $code;
}
- public function getClientOperationId()
+ public function getCode()
{
- return $this->clientOperationId;
+ return $this->code;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setData($data)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->data = $data;
}
- public function getCreationTimestamp()
+ public function getData()
{
- return $this->creationTimestamp;
+ return $this->data;
}
- public function setEndTime($endTime)
+ public function setMessage($message)
{
- $this->endTime = $endTime;
+ $this->message = $message;
}
- public function getEndTime()
+ public function getMessage()
{
- return $this->endTime;
+ return $this->message;
}
+}
- public function setError(Google_Service_Compute_OperationError $error)
- {
- $this->error = $error;
- }
+class Google_Service_Compute_OperationWarningsData extends Google_Model
+{
+ public $key;
+ public $value;
- public function getError()
+ public function setKey($key)
{
- return $this->error;
+ $this->key = $key;
}
- public function setHttpErrorMessage($httpErrorMessage)
+ public function getKey()
{
- $this->httpErrorMessage = $httpErrorMessage;
+ return $this->key;
}
- public function getHttpErrorMessage()
+ public function setValue($value)
{
- return $this->httpErrorMessage;
+ $this->value = $value;
}
- public function setHttpErrorStatusCode($httpErrorStatusCode)
+ public function getValue()
{
- $this->httpErrorStatusCode = $httpErrorStatusCode;
+ return $this->value;
}
+}
- public function getHttpErrorStatusCode()
- {
- return $this->httpErrorStatusCode;
- }
+class Google_Service_Compute_OperationsScopedList extends Google_Collection
+{
+ protected $operationsType = 'Google_Service_Compute_Operation';
+ protected $operationsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
+ protected $warningDataType = '';
- public function setId($id)
+ public function setOperations($operations)
{
- $this->id = $id;
+ $this->operations = $operations;
}
- public function getId()
+ public function getOperations()
{
- return $this->id;
+ return $this->operations;
}
- public function setInsertTime($insertTime)
+ public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
{
- $this->insertTime = $insertTime;
+ $this->warning = $warning;
}
- public function getInsertTime()
+ public function getWarning()
{
- return $this->insertTime;
+ return $this->warning;
}
+}
- public function setKind($kind)
+class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
{
- $this->kind = $kind;
+ $this->code = $code;
}
- public function getKind()
+ public function getCode()
{
- return $this->kind;
+ return $this->code;
}
- public function setName($name)
+ public function setData($data)
{
- $this->name = $name;
+ $this->data = $data;
}
- public function getName()
+ public function getData()
{
- return $this->name;
+ return $this->data;
}
- public function setOperationType($operationType)
+ public function setMessage($message)
{
- $this->operationType = $operationType;
+ $this->message = $message;
}
- public function getOperationType()
+ public function getMessage()
{
- return $this->operationType;
+ return $this->message;
}
+}
- public function setProgress($progress)
+class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
{
- $this->progress = $progress;
+ $this->key = $key;
}
- public function getProgress()
+ public function getKey()
{
- return $this->progress;
+ return $this->key;
}
- public function setRegion($region)
+ public function setValue($value)
{
- $this->region = $region;
+ $this->value = $value;
}
- public function getRegion()
+ public function getValue()
{
- return $this->region;
+ return $this->value;
}
+}
- public function setSelfLink($selfLink)
+class Google_Service_Compute_PathMatcher extends Google_Collection
+{
+ public $defaultService;
+ public $description;
+ public $name;
+ protected $pathRulesType = 'Google_Service_Compute_PathRule';
+ protected $pathRulesDataType = 'array';
+
+ public function setDefaultService($defaultService)
{
- $this->selfLink = $selfLink;
+ $this->defaultService = $defaultService;
}
- public function getSelfLink()
+ public function getDefaultService()
{
- return $this->selfLink;
+ return $this->defaultService;
}
- public function setStartTime($startTime)
+ public function setDescription($description)
{
- $this->startTime = $startTime;
+ $this->description = $description;
}
- public function getStartTime()
+ public function getDescription()
{
- return $this->startTime;
+ return $this->description;
}
- public function setStatus($status)
+ public function setName($name)
{
- $this->status = $status;
+ $this->name = $name;
}
- public function getStatus()
+ public function getName()
{
- return $this->status;
+ return $this->name;
}
- public function setStatusMessage($statusMessage)
+ public function setPathRules($pathRules)
{
- $this->statusMessage = $statusMessage;
+ $this->pathRules = $pathRules;
}
- public function getStatusMessage()
+ public function getPathRules()
{
- return $this->statusMessage;
+ return $this->pathRules;
}
+}
- public function setTargetId($targetId)
+class Google_Service_Compute_PathRule extends Google_Collection
+{
+ public $paths;
+ public $service;
+
+ public function setPaths($paths)
{
- $this->targetId = $targetId;
+ $this->paths = $paths;
}
- public function getTargetId()
+ public function getPaths()
{
- return $this->targetId;
+ return $this->paths;
}
- public function setTargetLink($targetLink)
+ public function setService($service)
{
- $this->targetLink = $targetLink;
+ $this->service = $service;
}
- public function getTargetLink()
+ public function getService()
{
- return $this->targetLink;
+ return $this->service;
}
+}
+
+class Google_Service_Compute_Project extends Google_Collection
+{
+ protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
+ protected $commonInstanceMetadataDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ protected $quotasType = 'Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
+ public $selfLink;
+ protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
+ protected $usageExportLocationDataType = '';
- public function setUser($user)
+ public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
{
- $this->user = $user;
+ $this->commonInstanceMetadata = $commonInstanceMetadata;
}
- public function getUser()
+ public function getCommonInstanceMetadata()
{
- return $this->user;
+ return $this->commonInstanceMetadata;
}
- public function setWarnings($warnings)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->warnings = $warnings;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getWarnings()
+ public function getCreationTimestamp()
{
- return $this->warnings;
+ return $this->creationTimestamp;
}
- public function setZone($zone)
+ public function setDescription($description)
{
- $this->zone = $zone;
+ $this->description = $description;
}
- public function getZone()
+ public function getDescription()
{
- return $this->zone;
+ return $this->description;
}
-}
-
-class Google_Service_Compute_OperationAggregatedList extends Google_Model
-{
- public $id;
- protected $itemsType = 'Google_Service_Compute_OperationsScopedList';
- protected $itemsDataType = 'map';
- public $kind;
- public $nextPageToken;
- public $selfLink;
public function setId($id)
{
@@ -8076,34 +9910,34 @@ public function getId()
return $this->id;
}
- public function setItems($items)
+ public function setKind($kind)
{
- $this->items = $items;
+ $this->kind = $kind;
}
- public function getItems()
+ public function getKind()
{
- return $this->items;
+ return $this->kind;
}
- public function setKind($kind)
+ public function setName($name)
{
- $this->kind = $kind;
+ $this->name = $name;
}
- public function getKind()
+ public function getName()
{
- return $this->kind;
+ return $this->name;
}
- public function setNextPageToken($nextPageToken)
+ public function setQuotas($quotas)
{
- $this->nextPageToken = $nextPageToken;
+ $this->quotas = $quotas;
}
- public function getNextPageToken()
+ public function getQuotas()
{
- return $this->nextPageToken;
+ return $this->quotas;
}
public function setSelfLink($selfLink)
@@ -8115,301 +9949,264 @@ public function getSelfLink()
{
return $this->selfLink;
}
-}
-
-class Google_Service_Compute_OperationError extends Google_Collection
-{
- protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
- protected $errorsDataType = 'array';
- public function setErrors($errors)
+ public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
{
- $this->errors = $errors;
+ $this->usageExportLocation = $usageExportLocation;
}
- public function getErrors()
+ public function getUsageExportLocation()
{
- return $this->errors;
+ return $this->usageExportLocation;
}
}
-class Google_Service_Compute_OperationErrorErrors extends Google_Model
+class Google_Service_Compute_Quota extends Google_Model
{
- public $code;
- public $location;
- public $message;
+ public $limit;
+ public $metric;
+ public $usage;
- public function setCode($code)
+ public function setLimit($limit)
{
- $this->code = $code;
+ $this->limit = $limit;
}
- public function getCode()
+ public function getLimit()
{
- return $this->code;
+ return $this->limit;
}
- public function setLocation($location)
+ public function setMetric($metric)
{
- $this->location = $location;
+ $this->metric = $metric;
}
- public function getLocation()
+ public function getMetric()
{
- return $this->location;
+ return $this->metric;
}
- public function setMessage($message)
+ public function setUsage($usage)
{
- $this->message = $message;
+ $this->usage = $usage;
}
- public function getMessage()
+ public function getUsage()
{
- return $this->message;
+ return $this->usage;
}
}
-class Google_Service_Compute_OperationList extends Google_Collection
+class Google_Service_Compute_Region extends Google_Collection
{
+ public $creationTimestamp;
+ protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
+ protected $deprecatedDataType = '';
+ public $description;
public $id;
- protected $itemsType = 'Google_Service_Compute_Operation';
- protected $itemsDataType = 'array';
public $kind;
- public $nextPageToken;
+ public $name;
+ protected $quotasType = 'Google_Service_Compute_Quota';
+ protected $quotasDataType = 'array';
public $selfLink;
+ public $status;
+ public $zones;
- public function setId($id)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->id = $id;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getId()
+ public function getCreationTimestamp()
{
- return $this->id;
+ return $this->creationTimestamp;
}
- public function setItems($items)
+ public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
{
- $this->items = $items;
+ $this->deprecated = $deprecated;
}
- public function getItems()
+ public function getDeprecated()
{
- return $this->items;
+ return $this->deprecated;
}
- public function setKind($kind)
+ public function setDescription($description)
{
- $this->kind = $kind;
+ $this->description = $description;
}
- public function getKind()
+ public function getDescription()
{
- return $this->kind;
+ return $this->description;
}
- public function setNextPageToken($nextPageToken)
+ public function setId($id)
{
- $this->nextPageToken = $nextPageToken;
+ $this->id = $id;
}
- public function getNextPageToken()
+ public function getId()
{
- return $this->nextPageToken;
+ return $this->id;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
-}
-
-class Google_Service_Compute_OperationWarnings extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_OperationWarningsData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setName($name)
{
- $this->code = $code;
+ $this->name = $name;
}
- public function getCode()
+ public function getName()
{
- return $this->code;
+ return $this->name;
}
- public function setData($data)
+ public function setQuotas($quotas)
{
- $this->data = $data;
+ $this->quotas = $quotas;
}
- public function getData()
+ public function getQuotas()
{
- return $this->data;
+ return $this->quotas;
}
- public function setMessage($message)
+ public function setSelfLink($selfLink)
{
- $this->message = $message;
+ $this->selfLink = $selfLink;
}
- public function getMessage()
+ public function getSelfLink()
{
- return $this->message;
+ return $this->selfLink;
}
-}
-
-class Google_Service_Compute_OperationWarningsData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setStatus($status)
{
- $this->key = $key;
+ $this->status = $status;
}
- public function getKey()
+ public function getStatus()
{
- return $this->key;
+ return $this->status;
}
- public function setValue($value)
+ public function setZones($zones)
{
- $this->value = $value;
+ $this->zones = $zones;
}
- public function getValue()
+ public function getZones()
{
- return $this->value;
+ return $this->zones;
}
}
-class Google_Service_Compute_OperationsScopedList extends Google_Collection
+class Google_Service_Compute_RegionList extends Google_Collection
{
- protected $operationsType = 'Google_Service_Compute_Operation';
- protected $operationsDataType = 'array';
- protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
- protected $warningDataType = '';
-
- public function setOperations($operations)
- {
- $this->operations = $operations;
- }
-
- public function getOperations()
- {
- return $this->operations;
- }
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Region';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
- public function setWarning(Google_Service_Compute_OperationsScopedListWarning $warning)
+ public function setId($id)
{
- $this->warning = $warning;
+ $this->id = $id;
}
- public function getWarning()
+ public function getId()
{
- return $this->warning;
+ return $this->id;
}
-}
-
-class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
-{
- public $code;
- protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
- public function setCode($code)
+ public function setItems($items)
{
- $this->code = $code;
+ $this->items = $items;
}
- public function getCode()
+ public function getItems()
{
- return $this->code;
+ return $this->items;
}
- public function setData($data)
+ public function setKind($kind)
{
- $this->data = $data;
+ $this->kind = $kind;
}
- public function getData()
+ public function getKind()
{
- return $this->data;
+ return $this->kind;
}
- public function setMessage($message)
+ public function setNextPageToken($nextPageToken)
{
- $this->message = $message;
+ $this->nextPageToken = $nextPageToken;
}
- public function getMessage()
+ public function getNextPageToken()
{
- return $this->message;
+ return $this->nextPageToken;
}
-}
-
-class Google_Service_Compute_OperationsScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setSelfLink($selfLink)
{
- $this->key = $key;
+ $this->selfLink = $selfLink;
}
- public function getKey()
+ public function getSelfLink()
{
- return $this->key;
+ return $this->selfLink;
}
+}
- public function setValue($value)
+class Google_Service_Compute_ResourceGroupReference extends Google_Model
+{
+ public $group;
+
+ public function setGroup($group)
{
- $this->value = $value;
+ $this->group = $group;
}
- public function getValue()
+ public function getGroup()
{
- return $this->value;
+ return $this->group;
}
}
-class Google_Service_Compute_Project extends Google_Collection
+class Google_Service_Compute_Route extends Google_Collection
{
- protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
- protected $commonInstanceMetadataDataType = '';
public $creationTimestamp;
public $description;
+ public $destRange;
public $id;
public $kind;
public $name;
- protected $quotasType = 'Google_Service_Compute_Quota';
- protected $quotasDataType = 'array';
+ public $network;
+ public $nextHopGateway;
+ public $nextHopInstance;
+ public $nextHopIp;
+ public $nextHopNetwork;
+ public $priority;
public $selfLink;
- protected $usageExportLocationType = 'Google_Service_Compute_UsageExportLocation';
- protected $usageExportLocationDataType = '';
-
- public function setCommonInstanceMetadata(Google_Service_Compute_Metadata $commonInstanceMetadata)
- {
- $this->commonInstanceMetadata = $commonInstanceMetadata;
- }
-
- public function getCommonInstanceMetadata()
- {
- return $this->commonInstanceMetadata;
- }
+ public $tags;
+ protected $warningsType = 'Google_Service_Compute_RouteWarnings';
+ protected $warningsDataType = 'array';
public function setCreationTimestamp($creationTimestamp)
{
@@ -8431,6 +10228,16 @@ public function getDescription()
return $this->description;
}
+ public function setDestRange($destRange)
+ {
+ $this->destRange = $destRange;
+ }
+
+ public function getDestRange()
+ {
+ return $this->destRange;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -8461,118 +10268,105 @@ public function getName()
return $this->name;
}
- public function setQuotas($quotas)
+ public function setNetwork($network)
{
- $this->quotas = $quotas;
+ $this->network = $network;
}
- public function getQuotas()
+ public function getNetwork()
{
- return $this->quotas;
+ return $this->network;
}
- public function setSelfLink($selfLink)
+ public function setNextHopGateway($nextHopGateway)
{
- $this->selfLink = $selfLink;
+ $this->nextHopGateway = $nextHopGateway;
}
- public function getSelfLink()
+ public function getNextHopGateway()
{
- return $this->selfLink;
+ return $this->nextHopGateway;
}
- public function setUsageExportLocation(Google_Service_Compute_UsageExportLocation $usageExportLocation)
+ public function setNextHopInstance($nextHopInstance)
{
- $this->usageExportLocation = $usageExportLocation;
+ $this->nextHopInstance = $nextHopInstance;
}
- public function getUsageExportLocation()
+ public function getNextHopInstance()
{
- return $this->usageExportLocation;
+ return $this->nextHopInstance;
}
-}
-
-class Google_Service_Compute_Quota extends Google_Model
-{
- public $limit;
- public $metric;
- public $usage;
- public function setLimit($limit)
+ public function setNextHopIp($nextHopIp)
{
- $this->limit = $limit;
+ $this->nextHopIp = $nextHopIp;
}
- public function getLimit()
+ public function getNextHopIp()
{
- return $this->limit;
+ return $this->nextHopIp;
}
- public function setMetric($metric)
+ public function setNextHopNetwork($nextHopNetwork)
{
- $this->metric = $metric;
+ $this->nextHopNetwork = $nextHopNetwork;
}
- public function getMetric()
+ public function getNextHopNetwork()
{
- return $this->metric;
+ return $this->nextHopNetwork;
}
- public function setUsage($usage)
+ public function setPriority($priority)
{
- $this->usage = $usage;
+ $this->priority = $priority;
}
- public function getUsage()
+ public function getPriority()
{
- return $this->usage;
+ return $this->priority;
}
-}
-
-class Google_Service_Compute_Region extends Google_Collection
-{
- public $creationTimestamp;
- protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
- protected $deprecatedDataType = '';
- public $description;
- public $id;
- public $kind;
- public $name;
- protected $quotasType = 'Google_Service_Compute_Quota';
- protected $quotasDataType = 'array';
- public $selfLink;
- public $status;
- public $zones;
- public function setCreationTimestamp($creationTimestamp)
+ public function setSelfLink($selfLink)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->selfLink = $selfLink;
}
- public function getCreationTimestamp()
+ public function getSelfLink()
{
- return $this->creationTimestamp;
+ return $this->selfLink;
}
- public function setDeprecated(Google_Service_Compute_DeprecationStatus $deprecated)
+ public function setTags($tags)
{
- $this->deprecated = $deprecated;
+ $this->tags = $tags;
}
- public function getDeprecated()
+ public function getTags()
{
- return $this->deprecated;
+ return $this->tags;
}
- public function setDescription($description)
+ public function setWarnings($warnings)
{
- $this->description = $description;
+ $this->warnings = $warnings;
}
- public function getDescription()
+ public function getWarnings()
{
- return $this->description;
+ return $this->warnings;
}
+}
+
+class Google_Service_Compute_RouteList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_Route';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
public function setId($id)
{
@@ -8584,6 +10378,16 @@ public function getId()
return $this->id;
}
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -8594,135 +10398,194 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setNextPageToken($nextPageToken)
{
- $this->name = $name;
+ $this->nextPageToken = $nextPageToken;
}
- public function getName()
+ public function getNextPageToken()
{
- return $this->name;
+ return $this->nextPageToken;
}
- public function setQuotas($quotas)
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_RouteWarnings extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_RouteWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_RouteWarningsData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
{
- $this->quotas = $quotas;
+ $this->key = $key;
}
- public function getQuotas()
+ public function getKey()
{
- return $this->quotas;
+ return $this->key;
}
- public function setSelfLink($selfLink)
+ public function setValue($value)
{
- $this->selfLink = $selfLink;
+ $this->value = $value;
}
- public function getSelfLink()
+ public function getValue()
{
- return $this->selfLink;
+ return $this->value;
}
+}
- public function setStatus($status)
+class Google_Service_Compute_Scheduling extends Google_Model
+{
+ public $automaticRestart;
+ public $onHostMaintenance;
+
+ public function setAutomaticRestart($automaticRestart)
{
- $this->status = $status;
+ $this->automaticRestart = $automaticRestart;
}
- public function getStatus()
+ public function getAutomaticRestart()
{
- return $this->status;
+ return $this->automaticRestart;
}
- public function setZones($zones)
+ public function setOnHostMaintenance($onHostMaintenance)
{
- $this->zones = $zones;
+ $this->onHostMaintenance = $onHostMaintenance;
}
- public function getZones()
+ public function getOnHostMaintenance()
{
- return $this->zones;
+ return $this->onHostMaintenance;
}
}
-class Google_Service_Compute_RegionList extends Google_Collection
+class Google_Service_Compute_SerialPortOutput extends Google_Model
{
- public $id;
- protected $itemsType = 'Google_Service_Compute_Region';
- protected $itemsDataType = 'array';
+ public $contents;
public $kind;
- public $nextPageToken;
public $selfLink;
- public function setId($id)
+ public function setContents($contents)
{
- $this->id = $id;
+ $this->contents = $contents;
}
- public function getId()
+ public function getContents()
{
- return $this->id;
+ return $this->contents;
}
- public function setItems($items)
+ public function setKind($kind)
{
- $this->items = $items;
+ $this->kind = $kind;
}
- public function getItems()
+ public function getKind()
{
- return $this->items;
+ return $this->kind;
}
- public function setKind($kind)
+ public function setSelfLink($selfLink)
{
- $this->kind = $kind;
+ $this->selfLink = $selfLink;
}
- public function getKind()
+ public function getSelfLink()
{
- return $this->kind;
+ return $this->selfLink;
}
+}
- public function setNextPageToken($nextPageToken)
+class Google_Service_Compute_ServiceAccount extends Google_Collection
+{
+ public $email;
+ public $scopes;
+
+ public function setEmail($email)
{
- $this->nextPageToken = $nextPageToken;
+ $this->email = $email;
}
- public function getNextPageToken()
+ public function getEmail()
{
- return $this->nextPageToken;
+ return $this->email;
}
- public function setSelfLink($selfLink)
+ public function setScopes($scopes)
{
- $this->selfLink = $selfLink;
+ $this->scopes = $scopes;
}
- public function getSelfLink()
+ public function getScopes()
{
- return $this->selfLink;
+ return $this->scopes;
}
}
-class Google_Service_Compute_Route extends Google_Collection
+class Google_Service_Compute_Snapshot extends Google_Model
{
public $creationTimestamp;
public $description;
- public $destRange;
+ public $diskSizeGb;
public $id;
public $kind;
public $name;
- public $network;
- public $nextHopGateway;
- public $nextHopInstance;
- public $nextHopIp;
- public $nextHopNetwork;
- public $priority;
public $selfLink;
- public $tags;
- protected $warningsType = 'Google_Service_Compute_RouteWarnings';
- protected $warningsDataType = 'array';
+ public $sourceDisk;
+ public $sourceDiskId;
+ public $status;
+ public $storageBytes;
+ public $storageBytesStatus;
public function setCreationTimestamp($creationTimestamp)
{
@@ -8744,14 +10607,14 @@ public function getDescription()
return $this->description;
}
- public function setDestRange($destRange)
+ public function setDiskSizeGb($diskSizeGb)
{
- $this->destRange = $destRange;
+ $this->diskSizeGb = $diskSizeGb;
}
- public function getDestRange()
+ public function getDiskSizeGb()
{
- return $this->destRange;
+ return $this->diskSizeGb;
}
public function setId($id)
@@ -8784,101 +10647,71 @@ public function getName()
return $this->name;
}
- public function setNetwork($network)
- {
- $this->network = $network;
- }
-
- public function getNetwork()
- {
- return $this->network;
- }
-
- public function setNextHopGateway($nextHopGateway)
- {
- $this->nextHopGateway = $nextHopGateway;
- }
-
- public function getNextHopGateway()
- {
- return $this->nextHopGateway;
- }
-
- public function setNextHopInstance($nextHopInstance)
- {
- $this->nextHopInstance = $nextHopInstance;
- }
-
- public function getNextHopInstance()
- {
- return $this->nextHopInstance;
- }
-
- public function setNextHopIp($nextHopIp)
+ public function setSelfLink($selfLink)
{
- $this->nextHopIp = $nextHopIp;
+ $this->selfLink = $selfLink;
}
- public function getNextHopIp()
+ public function getSelfLink()
{
- return $this->nextHopIp;
+ return $this->selfLink;
}
- public function setNextHopNetwork($nextHopNetwork)
+ public function setSourceDisk($sourceDisk)
{
- $this->nextHopNetwork = $nextHopNetwork;
+ $this->sourceDisk = $sourceDisk;
}
- public function getNextHopNetwork()
+ public function getSourceDisk()
{
- return $this->nextHopNetwork;
+ return $this->sourceDisk;
}
- public function setPriority($priority)
+ public function setSourceDiskId($sourceDiskId)
{
- $this->priority = $priority;
+ $this->sourceDiskId = $sourceDiskId;
}
- public function getPriority()
+ public function getSourceDiskId()
{
- return $this->priority;
+ return $this->sourceDiskId;
}
- public function setSelfLink($selfLink)
+ public function setStatus($status)
{
- $this->selfLink = $selfLink;
+ $this->status = $status;
}
- public function getSelfLink()
+ public function getStatus()
{
- return $this->selfLink;
+ return $this->status;
}
- public function setTags($tags)
+ public function setStorageBytes($storageBytes)
{
- $this->tags = $tags;
+ $this->storageBytes = $storageBytes;
}
- public function getTags()
+ public function getStorageBytes()
{
- return $this->tags;
+ return $this->storageBytes;
}
- public function setWarnings($warnings)
+ public function setStorageBytesStatus($storageBytesStatus)
{
- $this->warnings = $warnings;
+ $this->storageBytesStatus = $storageBytesStatus;
}
- public function getWarnings()
+ public function getStorageBytesStatus()
{
- return $this->warnings;
+ return $this->storageBytesStatus;
}
}
-class Google_Service_Compute_RouteList extends Google_Collection
+class Google_Service_Compute_SnapshotList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Route';
+ protected $itemsType = 'Google_Service_Compute_Snapshot';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -8935,173 +10768,184 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_RouteWarnings extends Google_Collection
+class Google_Service_Compute_Tags extends Google_Collection
{
- public $code;
- protected $dataType = 'Google_Service_Compute_RouteWarningsData';
- protected $dataDataType = 'array';
- public $message;
+ public $fingerprint;
+ public $items;
- public function setCode($code)
+ public function setFingerprint($fingerprint)
{
- $this->code = $code;
+ $this->fingerprint = $fingerprint;
}
- public function getCode()
+ public function getFingerprint()
{
- return $this->code;
+ return $this->fingerprint;
}
- public function setData($data)
+ public function setItems($items)
{
- $this->data = $data;
+ $this->items = $items;
}
- public function getData()
+ public function getItems()
{
- return $this->data;
+ return $this->items;
}
+}
- public function setMessage($message)
+class Google_Service_Compute_TargetHttpProxy extends Google_Model
+{
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+ public $selfLink;
+ public $urlMap;
+
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->message = $message;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getMessage()
+ public function getCreationTimestamp()
{
- return $this->message;
+ return $this->creationTimestamp;
}
-}
-class Google_Service_Compute_RouteWarningsData extends Google_Model
-{
- public $key;
- public $value;
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
- public function setKey($key)
+ public function getId()
{
- $this->key = $key;
+ return $this->id;
}
- public function getKey()
+ public function setKind($kind)
{
- return $this->key;
+ $this->kind = $kind;
}
- public function setValue($value)
+ public function getKind()
{
- $this->value = $value;
+ return $this->kind;
}
- public function getValue()
+ public function setName($name)
{
- return $this->value;
+ $this->name = $name;
}
-}
-class Google_Service_Compute_Scheduling extends Google_Model
-{
- public $automaticRestart;
- public $onHostMaintenance;
+ public function getName()
+ {
+ return $this->name;
+ }
- public function setAutomaticRestart($automaticRestart)
+ public function setSelfLink($selfLink)
{
- $this->automaticRestart = $automaticRestart;
+ $this->selfLink = $selfLink;
}
- public function getAutomaticRestart()
+ public function getSelfLink()
{
- return $this->automaticRestart;
+ return $this->selfLink;
}
- public function setOnHostMaintenance($onHostMaintenance)
+ public function setUrlMap($urlMap)
{
- $this->onHostMaintenance = $onHostMaintenance;
+ $this->urlMap = $urlMap;
}
- public function getOnHostMaintenance()
+ public function getUrlMap()
{
- return $this->onHostMaintenance;
+ return $this->urlMap;
}
}
-class Google_Service_Compute_SerialPortOutput extends Google_Model
+class Google_Service_Compute_TargetHttpProxyList extends Google_Collection
{
- public $contents;
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetHttpProxy';
+ protected $itemsDataType = 'array';
public $kind;
+ public $nextPageToken;
public $selfLink;
- public function setContents($contents)
+ public function setId($id)
{
- $this->contents = $contents;
+ $this->id = $id;
}
- public function getContents()
+ public function getId()
{
- return $this->contents;
+ return $this->id;
}
- public function setKind($kind)
+ public function setItems($items)
{
- $this->kind = $kind;
+ $this->items = $items;
}
- public function getKind()
+ public function getItems()
{
- return $this->kind;
+ return $this->items;
}
- public function setSelfLink($selfLink)
+ public function setKind($kind)
{
- $this->selfLink = $selfLink;
+ $this->kind = $kind;
}
- public function getSelfLink()
+ public function getKind()
{
- return $this->selfLink;
+ return $this->kind;
}
-}
-
-class Google_Service_Compute_ServiceAccount extends Google_Collection
-{
- public $email;
- public $scopes;
- public function setEmail($email)
+ public function setNextPageToken($nextPageToken)
{
- $this->email = $email;
+ $this->nextPageToken = $nextPageToken;
}
- public function getEmail()
+ public function getNextPageToken()
{
- return $this->email;
+ return $this->nextPageToken;
}
- public function setScopes($scopes)
+ public function setSelfLink($selfLink)
{
- $this->scopes = $scopes;
+ $this->selfLink = $selfLink;
}
- public function getScopes()
+ public function getSelfLink()
{
- return $this->scopes;
+ return $this->selfLink;
}
}
-class Google_Service_Compute_Snapshot extends Google_Model
+class Google_Service_Compute_TargetInstance extends Google_Model
{
public $creationTimestamp;
public $description;
- public $diskSizeGb;
public $id;
+ public $instance;
public $kind;
public $name;
+ public $natPolicy;
public $selfLink;
- public $sourceDisk;
- public $sourceDiskId;
- public $status;
- public $storageBytes;
- public $storageBytesStatus;
+ public $zone;
public function setCreationTimestamp($creationTimestamp)
{
@@ -9123,24 +10967,24 @@ public function getDescription()
return $this->description;
}
- public function setDiskSizeGb($diskSizeGb)
+ public function setId($id)
{
- $this->diskSizeGb = $diskSizeGb;
+ $this->id = $id;
}
- public function getDiskSizeGb()
+ public function getId()
{
- return $this->diskSizeGb;
+ return $this->id;
}
- public function setId($id)
+ public function setInstance($instance)
{
- $this->id = $id;
+ $this->instance = $instance;
}
- public function getId()
+ public function getInstance()
{
- return $this->id;
+ return $this->instance;
}
public function setKind($kind)
@@ -9163,6 +11007,16 @@ public function getName()
return $this->name;
}
+ public function setNatPolicy($natPolicy)
+ {
+ $this->natPolicy = $natPolicy;
+ }
+
+ public function getNatPolicy()
+ {
+ return $this->natPolicy;
+ }
+
public function setSelfLink($selfLink)
{
$this->selfLink = $selfLink;
@@ -9173,61 +11027,81 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setSourceDisk($sourceDisk)
+ public function setZone($zone)
{
- $this->sourceDisk = $sourceDisk;
+ $this->zone = $zone;
}
- public function getSourceDisk()
+ public function getZone()
{
- return $this->sourceDisk;
+ return $this->zone;
}
+}
- public function setSourceDiskId($sourceDiskId)
+class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
{
- $this->sourceDiskId = $sourceDiskId;
+ $this->id = $id;
}
- public function getSourceDiskId()
+ public function getId()
{
- return $this->sourceDiskId;
+ return $this->id;
}
- public function setStatus($status)
+ public function setItems($items)
{
- $this->status = $status;
+ $this->items = $items;
}
- public function getStatus()
+ public function getItems()
{
- return $this->status;
+ return $this->items;
}
- public function setStorageBytes($storageBytes)
+ public function setKind($kind)
{
- $this->storageBytes = $storageBytes;
+ $this->kind = $kind;
}
- public function getStorageBytes()
+ public function getKind()
{
- return $this->storageBytes;
+ return $this->kind;
}
- public function setStorageBytesStatus($storageBytesStatus)
+ public function setNextPageToken($nextPageToken)
{
- $this->storageBytesStatus = $storageBytesStatus;
+ $this->nextPageToken = $nextPageToken;
}
- public function getStorageBytesStatus()
+ public function getNextPageToken()
{
- return $this->storageBytesStatus;
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
}
-class Google_Service_Compute_SnapshotList extends Google_Collection
+class Google_Service_Compute_TargetInstanceList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_Snapshot';
+ protected $itemsType = 'Google_Service_Compute_TargetInstance';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -9273,54 +11147,133 @@ public function getNextPageToken()
return $this->nextPageToken;
}
- public function setSelfLink($selfLink)
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
+{
+ protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
+ protected $targetInstancesDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
+ protected $warningDataType = '';
+
+ public function setTargetInstances($targetInstances)
+ {
+ $this->targetInstances = $targetInstances;
+ }
+
+ public function getTargetInstances()
+ {
+ return $this->targetInstances;
+ }
+
+ public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
{
- $this->selfLink = $selfLink;
+ $this->message = $message;
}
- public function getSelfLink()
+ public function getMessage()
{
- return $this->selfLink;
+ return $this->message;
}
}
-class Google_Service_Compute_Tags extends Google_Collection
+class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
{
- public $fingerprint;
- public $items;
+ public $key;
+ public $value;
- public function setFingerprint($fingerprint)
+ public function setKey($key)
{
- $this->fingerprint = $fingerprint;
+ $this->key = $key;
}
- public function getFingerprint()
+ public function getKey()
{
- return $this->fingerprint;
+ return $this->key;
}
- public function setItems($items)
+ public function setValue($value)
{
- $this->items = $items;
+ $this->value = $value;
}
- public function getItems()
+ public function getValue()
{
- return $this->items;
+ return $this->value;
}
}
-class Google_Service_Compute_TargetInstance extends Google_Model
+class Google_Service_Compute_TargetPool extends Google_Collection
{
+ public $backupPool;
public $creationTimestamp;
public $description;
+ public $failoverRatio;
+ public $healthChecks;
public $id;
- public $instance;
+ public $instances;
public $kind;
public $name;
- public $natPolicy;
+ public $region;
public $selfLink;
- public $zone;
+ public $sessionAffinity;
+
+ public function setBackupPool($backupPool)
+ {
+ $this->backupPool = $backupPool;
+ }
+
+ public function getBackupPool()
+ {
+ return $this->backupPool;
+ }
public function setCreationTimestamp($creationTimestamp)
{
@@ -9342,6 +11295,26 @@ public function getDescription()
return $this->description;
}
+ public function setFailoverRatio($failoverRatio)
+ {
+ $this->failoverRatio = $failoverRatio;
+ }
+
+ public function getFailoverRatio()
+ {
+ return $this->failoverRatio;
+ }
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -9352,14 +11325,14 @@ public function getId()
return $this->id;
}
- public function setInstance($instance)
+ public function setInstances($instances)
{
- $this->instance = $instance;
+ $this->instances = $instances;
}
- public function getInstance()
+ public function getInstances()
{
- return $this->instance;
+ return $this->instances;
}
public function setKind($kind)
@@ -9382,14 +11355,14 @@ public function getName()
return $this->name;
}
- public function setNatPolicy($natPolicy)
+ public function setRegion($region)
{
- $this->natPolicy = $natPolicy;
+ $this->region = $region;
}
- public function getNatPolicy()
+ public function getRegion()
{
- return $this->natPolicy;
+ return $this->region;
}
public function setSelfLink($selfLink)
@@ -9402,21 +11375,21 @@ public function getSelfLink()
return $this->selfLink;
}
- public function setZone($zone)
+ public function setSessionAffinity($sessionAffinity)
{
- $this->zone = $zone;
+ $this->sessionAffinity = $sessionAffinity;
}
- public function getZone()
+ public function getSessionAffinity()
{
- return $this->zone;
+ return $this->sessionAffinity;
}
}
-class Google_Service_Compute_TargetInstanceAggregatedList extends Google_Model
+class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
{
public $id;
- protected $itemsType = 'Google_Service_Compute_TargetInstancesScopedList';
+ protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList';
protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
@@ -9473,10 +11446,37 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_TargetInstanceList extends Google_Collection
+class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
+{
+ protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
+ protected $healthStatusDataType = 'array';
+ public $kind;
+
+ public function setHealthStatus($healthStatus)
+ {
+ $this->healthStatus = $healthStatus;
+ }
+
+ public function getHealthStatus()
+ {
+ return $this->healthStatus;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Compute_TargetPoolList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_TargetInstance';
+ protected $itemsType = 'Google_Service_Compute_TargetPool';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -9533,24 +11533,88 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
+class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
{
- protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
- protected $targetInstancesDataType = 'array';
- protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
+ protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
+{
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
+{
+ protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
+ protected $healthChecksDataType = 'array';
+
+ public function setHealthChecks($healthChecks)
+ {
+ $this->healthChecks = $healthChecks;
+ }
+
+ public function getHealthChecks()
+ {
+ return $this->healthChecks;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
+{
+ protected $instancesType = 'Google_Service_Compute_InstanceReference';
+ protected $instancesDataType = 'array';
+
+ public function setInstances($instances)
+ {
+ $this->instances = $instances;
+ }
+
+ public function getInstances()
+ {
+ return $this->instances;
+ }
+}
+
+class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
+{
+ protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
+ protected $targetPoolsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
protected $warningDataType = '';
- public function setTargetInstances($targetInstances)
+ public function setTargetPools($targetPools)
{
- $this->targetInstances = $targetInstances;
+ $this->targetPools = $targetPools;
}
- public function getTargetInstances()
+ public function getTargetPools()
{
- return $this->targetInstances;
+ return $this->targetPools;
}
- public function setWarning(Google_Service_Compute_TargetInstancesScopedListWarning $warning)
+ public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
{
$this->warning = $warning;
}
@@ -9561,10 +11625,10 @@ public function getWarning()
}
}
-class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
+class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
{
public $code;
- protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
+ protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
protected $dataDataType = 'array';
public $message;
@@ -9599,176 +11663,161 @@ public function getMessage()
}
}
-class Google_Service_Compute_TargetInstancesScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Compute_TargetPool extends Google_Collection
+class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
{
- public $backupPool;
- public $creationTimestamp;
- public $description;
- public $failoverRatio;
- public $healthChecks;
- public $id;
- public $instances;
- public $kind;
- public $name;
- public $region;
- public $selfLink;
- public $sessionAffinity;
+ public $key;
+ public $value;
- public function setBackupPool($backupPool)
+ public function setKey($key)
{
- $this->backupPool = $backupPool;
+ $this->key = $key;
}
- public function getBackupPool()
+ public function getKey()
{
- return $this->backupPool;
+ return $this->key;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setValue($value)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->value = $value;
}
- public function getCreationTimestamp()
+ public function getValue()
{
- return $this->creationTimestamp;
+ return $this->value;
}
+}
- public function setDescription($description)
+class Google_Service_Compute_TargetReference extends Google_Model
+{
+ public $target;
+
+ public function setTarget($target)
{
- $this->description = $description;
+ $this->target = $target;
}
- public function getDescription()
+ public function getTarget()
{
- return $this->description;
+ return $this->target;
}
+}
- public function setFailoverRatio($failoverRatio)
+class Google_Service_Compute_TestFailure extends Google_Model
+{
+ public $actualService;
+ public $expectedService;
+ public $host;
+ public $path;
+
+ public function setActualService($actualService)
{
- $this->failoverRatio = $failoverRatio;
+ $this->actualService = $actualService;
}
- public function getFailoverRatio()
+ public function getActualService()
{
- return $this->failoverRatio;
+ return $this->actualService;
}
- public function setHealthChecks($healthChecks)
+ public function setExpectedService($expectedService)
{
- $this->healthChecks = $healthChecks;
+ $this->expectedService = $expectedService;
}
- public function getHealthChecks()
+ public function getExpectedService()
{
- return $this->healthChecks;
+ return $this->expectedService;
}
- public function setId($id)
+ public function setHost($host)
{
- $this->id = $id;
+ $this->host = $host;
}
- public function getId()
+ public function getHost()
{
- return $this->id;
+ return $this->host;
}
- public function setInstances($instances)
+ public function setPath($path)
{
- $this->instances = $instances;
+ $this->path = $path;
}
- public function getInstances()
+ public function getPath()
{
- return $this->instances;
+ return $this->path;
}
+}
- public function setKind($kind)
+class Google_Service_Compute_UrlMap extends Google_Collection
+{
+ public $creationTimestamp;
+ public $defaultService;
+ public $description;
+ public $fingerprint;
+ protected $hostRulesType = 'Google_Service_Compute_HostRule';
+ protected $hostRulesDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ protected $pathMatchersType = 'Google_Service_Compute_PathMatcher';
+ protected $pathMatchersDataType = 'array';
+ public $selfLink;
+ protected $testsType = 'Google_Service_Compute_UrlMapTest';
+ protected $testsDataType = 'array';
+
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->kind = $kind;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getKind()
+ public function getCreationTimestamp()
{
- return $this->kind;
+ return $this->creationTimestamp;
}
- public function setName($name)
+ public function setDefaultService($defaultService)
{
- $this->name = $name;
+ $this->defaultService = $defaultService;
}
- public function getName()
+ public function getDefaultService()
{
- return $this->name;
+ return $this->defaultService;
}
- public function setRegion($region)
+ public function setDescription($description)
{
- $this->region = $region;
+ $this->description = $description;
}
- public function getRegion()
+ public function getDescription()
{
- return $this->region;
+ return $this->description;
}
- public function setSelfLink($selfLink)
+ public function setFingerprint($fingerprint)
{
- $this->selfLink = $selfLink;
+ $this->fingerprint = $fingerprint;
}
- public function getSelfLink()
+ public function getFingerprint()
{
- return $this->selfLink;
+ return $this->fingerprint;
}
- public function setSessionAffinity($sessionAffinity)
+ public function setHostRules($hostRules)
{
- $this->sessionAffinity = $sessionAffinity;
+ $this->hostRules = $hostRules;
}
- public function getSessionAffinity()
+ public function getHostRules()
{
- return $this->sessionAffinity;
+ return $this->hostRules;
}
-}
-
-class Google_Service_Compute_TargetPoolAggregatedList extends Google_Model
-{
- public $id;
- protected $itemsType = 'Google_Service_Compute_TargetPoolsScopedList';
- protected $itemsDataType = 'map';
- public $kind;
- public $nextPageToken;
- public $selfLink;
public function setId($id)
{
@@ -9780,16 +11829,6 @@ public function getId()
return $this->id;
}
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
public function setKind($kind)
{
$this->kind = $kind;
@@ -9800,58 +11839,51 @@ public function getKind()
return $this->kind;
}
- public function setNextPageToken($nextPageToken)
+ public function setName($name)
{
- $this->nextPageToken = $nextPageToken;
+ $this->name = $name;
}
- public function getNextPageToken()
+ public function getName()
{
- return $this->nextPageToken;
+ return $this->name;
}
- public function setSelfLink($selfLink)
+ public function setPathMatchers($pathMatchers)
{
- $this->selfLink = $selfLink;
+ $this->pathMatchers = $pathMatchers;
}
- public function getSelfLink()
+ public function getPathMatchers()
{
- return $this->selfLink;
+ return $this->pathMatchers;
}
-}
-
-class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
-{
- protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
- protected $healthStatusDataType = 'array';
- public $kind;
- public function setHealthStatus($healthStatus)
+ public function setSelfLink($selfLink)
{
- $this->healthStatus = $healthStatus;
+ $this->selfLink = $selfLink;
}
- public function getHealthStatus()
+ public function getSelfLink()
{
- return $this->healthStatus;
+ return $this->selfLink;
}
- public function setKind($kind)
+ public function setTests($tests)
{
- $this->kind = $kind;
+ $this->tests = $tests;
}
- public function getKind()
+ public function getTests()
{
- return $this->kind;
+ return $this->tests;
}
}
-class Google_Service_Compute_TargetPoolList extends Google_Collection
+class Google_Service_Compute_UrlMapList extends Google_Collection
{
public $id;
- protected $itemsType = 'Google_Service_Compute_TargetPool';
+ protected $itemsType = 'Google_Service_Compute_UrlMap';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -9908,174 +11940,147 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
-{
- protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
- protected $healthChecksDataType = 'array';
-
- public function setHealthChecks($healthChecks)
- {
- $this->healthChecks = $healthChecks;
- }
-
- public function getHealthChecks()
- {
- return $this->healthChecks;
- }
-}
-
-class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
+class Google_Service_Compute_UrlMapReference extends Google_Model
{
- protected $instancesType = 'Google_Service_Compute_InstanceReference';
- protected $instancesDataType = 'array';
+ public $urlMap;
- public function setInstances($instances)
+ public function setUrlMap($urlMap)
{
- $this->instances = $instances;
+ $this->urlMap = $urlMap;
}
- public function getInstances()
+ public function getUrlMap()
{
- return $this->instances;
+ return $this->urlMap;
}
}
-class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
+class Google_Service_Compute_UrlMapTest extends Google_Model
{
- protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
- protected $healthChecksDataType = 'array';
+ public $description;
+ public $host;
+ public $path;
+ public $service;
- public function setHealthChecks($healthChecks)
+ public function setDescription($description)
{
- $this->healthChecks = $healthChecks;
+ $this->description = $description;
}
- public function getHealthChecks()
+ public function getDescription()
{
- return $this->healthChecks;
+ return $this->description;
}
-}
-
-class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
-{
- protected $instancesType = 'Google_Service_Compute_InstanceReference';
- protected $instancesDataType = 'array';
- public function setInstances($instances)
+ public function setHost($host)
{
- $this->instances = $instances;
+ $this->host = $host;
}
- public function getInstances()
+ public function getHost()
{
- return $this->instances;
+ return $this->host;
}
-}
-
-class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
-{
- protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
- protected $targetPoolsDataType = 'array';
- protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
- protected $warningDataType = '';
- public function setTargetPools($targetPools)
+ public function setPath($path)
{
- $this->targetPools = $targetPools;
+ $this->path = $path;
}
- public function getTargetPools()
+ public function getPath()
{
- return $this->targetPools;
+ return $this->path;
}
- public function setWarning(Google_Service_Compute_TargetPoolsScopedListWarning $warning)
+ public function setService($service)
{
- $this->warning = $warning;
+ $this->service = $service;
}
- public function getWarning()
+ public function getService()
{
- return $this->warning;
+ return $this->service;
}
}
-class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
+class Google_Service_Compute_UrlMapValidationResult extends Google_Collection
{
- public $code;
- protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
- protected $dataDataType = 'array';
- public $message;
+ public $loadErrors;
+ public $loadSucceeded;
+ protected $testFailuresType = 'Google_Service_Compute_TestFailure';
+ protected $testFailuresDataType = 'array';
+ public $testPassed;
- public function setCode($code)
+ public function setLoadErrors($loadErrors)
{
- $this->code = $code;
+ $this->loadErrors = $loadErrors;
}
- public function getCode()
+ public function getLoadErrors()
{
- return $this->code;
+ return $this->loadErrors;
}
- public function setData($data)
+ public function setLoadSucceeded($loadSucceeded)
{
- $this->data = $data;
+ $this->loadSucceeded = $loadSucceeded;
}
- public function getData()
+ public function getLoadSucceeded()
{
- return $this->data;
+ return $this->loadSucceeded;
}
- public function setMessage($message)
+ public function setTestFailures($testFailures)
{
- $this->message = $message;
+ $this->testFailures = $testFailures;
}
- public function getMessage()
+ public function getTestFailures()
{
- return $this->message;
+ return $this->testFailures;
}
-}
-
-class Google_Service_Compute_TargetPoolsScopedListWarningData extends Google_Model
-{
- public $key;
- public $value;
- public function setKey($key)
+ public function setTestPassed($testPassed)
{
- $this->key = $key;
+ $this->testPassed = $testPassed;
}
- public function getKey()
+ public function getTestPassed()
{
- return $this->key;
+ return $this->testPassed;
}
+}
- public function setValue($value)
+class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_Compute_UrlMap';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_Compute_UrlMap $resource)
{
- $this->value = $value;
+ $this->resource = $resource;
}
- public function getValue()
+ public function getResource()
{
- return $this->value;
+ return $this->resource;
}
}
-class Google_Service_Compute_TargetReference extends Google_Model
+class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model
{
- public $target;
+ protected $resultType = 'Google_Service_Compute_UrlMapValidationResult';
+ protected $resultDataType = '';
- public function setTarget($target)
+ public function setResult(Google_Service_Compute_UrlMapValidationResult $result)
{
- $this->target = $target;
+ $this->result = $result;
}
- public function getTarget()
+ public function getResult()
{
- return $this->target;
+ return $this->result;
}
}
From 2d1d56260f3da47a7ef34231551f7b1e0a0b2d81 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
+ *
+ */
+class Google_Service_AdExchangeBuyer_PretargetingConfig_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing pretargeting config. (pretargetingConfig.delete)
+ *
+ * @param string $accountId
+ * The account id to delete the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $configId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets a specific pretargeting configuration (pretargetingConfig.get)
+ *
+ * @param string $accountId
+ * The account id to get the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function get($accountId, $configId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
+ *
+ * @param string $accountId
+ * The account id to insert the pretargeting config for.
+ * @param Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function insert($accountId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Retrieves a list of the authenticated user's pretargeting configurations.
+ * (pretargetingConfig.listPretargetingConfig)
+ *
+ * @param string $accountId
+ * The account id to get the pretargeting configs for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfigList
+ */
+ public function listPretargetingConfig($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfigList");
+ }
+ /**
+ * Updates an existing pretargeting config. This method supports patch
+ * semantics. (pretargetingConfig.patch)
+ *
+ * @param string $accountId
+ * The account id to update the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to update.
+ * @param Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function patch($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+ /**
+ * Updates an existing pretargeting config. (pretargetingConfig.update)
+ *
+ * @param string $accountId
+ * The account id to update the pretargeting config for.
+ * @param string $configId
+ * The specific id of the configuration to update.
+ * @param Google_PretargetingConfig $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_PretargetingConfig
+ */
+ public function update($accountId, $configId, Google_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_PretargetingConfig");
+ }
+}
+
@@ -1300,3 +1500,357 @@ public function getPerformanceReport()
return $this->performanceReport;
}
}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
+{
+ public $configId;
+ public $configName;
+ public $creativeType;
+ protected $dimensionsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigDimensions';
+ protected $dimensionsDataType = 'array';
+ public $excludedContentLabels;
+ public $excludedGeoCriteriaIds;
+ protected $excludedPlacementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
+ protected $excludedPlacementsDataType = 'array';
+ public $excludedUserLists;
+ public $excludedVerticals;
+ public $geoCriteriaIds;
+ public $isActive;
+ public $kind;
+ public $languages;
+ public $mobileCarriers;
+ public $mobileDevices;
+ public $mobileOperatingSystemVersions;
+ protected $placementsType = 'Google_Service_AdExchangeBuyer_PretargetingConfigPlacements';
+ protected $placementsDataType = 'array';
+ public $platforms;
+ public $supportedCreativeAttributes;
+ public $userLists;
+ public $vendorTypes;
+ public $verticals;
+
+ public function setConfigId($configId)
+ {
+ $this->configId = $configId;
+ }
+
+ public function getConfigId()
+ {
+ return $this->configId;
+ }
+
+ public function setConfigName($configName)
+ {
+ $this->configName = $configName;
+ }
+
+ public function getConfigName()
+ {
+ return $this->configName;
+ }
+
+ public function setCreativeType($creativeType)
+ {
+ $this->creativeType = $creativeType;
+ }
+
+ public function getCreativeType()
+ {
+ return $this->creativeType;
+ }
+
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+
+ public function setExcludedContentLabels($excludedContentLabels)
+ {
+ $this->excludedContentLabels = $excludedContentLabels;
+ }
+
+ public function getExcludedContentLabels()
+ {
+ return $this->excludedContentLabels;
+ }
+
+ public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
+ {
+ $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
+ }
+
+ public function getExcludedGeoCriteriaIds()
+ {
+ return $this->excludedGeoCriteriaIds;
+ }
+
+ public function setExcludedPlacements($excludedPlacements)
+ {
+ $this->excludedPlacements = $excludedPlacements;
+ }
+
+ public function getExcludedPlacements()
+ {
+ return $this->excludedPlacements;
+ }
+
+ public function setExcludedUserLists($excludedUserLists)
+ {
+ $this->excludedUserLists = $excludedUserLists;
+ }
+
+ public function getExcludedUserLists()
+ {
+ return $this->excludedUserLists;
+ }
+
+ public function setExcludedVerticals($excludedVerticals)
+ {
+ $this->excludedVerticals = $excludedVerticals;
+ }
+
+ public function getExcludedVerticals()
+ {
+ return $this->excludedVerticals;
+ }
+
+ public function setGeoCriteriaIds($geoCriteriaIds)
+ {
+ $this->geoCriteriaIds = $geoCriteriaIds;
+ }
+
+ public function getGeoCriteriaIds()
+ {
+ return $this->geoCriteriaIds;
+ }
+
+ public function setIsActive($isActive)
+ {
+ $this->isActive = $isActive;
+ }
+
+ public function getIsActive()
+ {
+ return $this->isActive;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+
+ public function setMobileCarriers($mobileCarriers)
+ {
+ $this->mobileCarriers = $mobileCarriers;
+ }
+
+ public function getMobileCarriers()
+ {
+ return $this->mobileCarriers;
+ }
+
+ public function setMobileDevices($mobileDevices)
+ {
+ $this->mobileDevices = $mobileDevices;
+ }
+
+ public function getMobileDevices()
+ {
+ return $this->mobileDevices;
+ }
+
+ public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
+ {
+ $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
+ }
+
+ public function getMobileOperatingSystemVersions()
+ {
+ return $this->mobileOperatingSystemVersions;
+ }
+
+ public function setPlacements($placements)
+ {
+ $this->placements = $placements;
+ }
+
+ public function getPlacements()
+ {
+ return $this->placements;
+ }
+
+ public function setPlatforms($platforms)
+ {
+ $this->platforms = $platforms;
+ }
+
+ public function getPlatforms()
+ {
+ return $this->platforms;
+ }
+
+ public function setSupportedCreativeAttributes($supportedCreativeAttributes)
+ {
+ $this->supportedCreativeAttributes = $supportedCreativeAttributes;
+ }
+
+ public function getSupportedCreativeAttributes()
+ {
+ return $this->supportedCreativeAttributes;
+ }
+
+ public function setUserLists($userLists)
+ {
+ $this->userLists = $userLists;
+ }
+
+ public function getUserLists()
+ {
+ return $this->userLists;
+ }
+
+ public function setVendorTypes($vendorTypes)
+ {
+ $this->vendorTypes = $vendorTypes;
+ }
+
+ public function getVendorTypes()
+ {
+ return $this->vendorTypes;
+ }
+
+ public function setVerticals($verticals)
+ {
+ $this->verticals = $verticals;
+ }
+
+ public function getVerticals()
+ {
+ return $this->verticals;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigDimensions extends Google_Model
+{
+ public $height;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends Google_Model
+{
+ public $token;
+ public $type;
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_PretargetingConfigPlacements extends Google_Model
+{
+ public $token;
+ public $type;
+
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+
+ public function getToken()
+ {
+ return $this->token;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
From e77641722c8982e42cc1f0316418e738d13d6aee Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $computeService = new Google_Service_Compute(...);
+ * $licenses = $computeService->licenses;
+ *
+ */
+class Google_Service_Compute_Licenses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the specified license resource. (licenses.get)
+ *
+ * @param string $project
+ * Name of the project scoping this request.
+ * @param string $license
+ * Name of the license resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_License
+ */
+ public function get($project, $license, $optParams = array())
+ {
+ $params = array('project' => $project, 'license' => $license);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_License");
+ }
+}
+
/**
* The "machineTypes" collection of methods.
* Typical usage is:
@@ -5834,7 +5889,7 @@ public function getValue()
}
}
-class Google_Service_Compute_AttachedDisk extends Google_Model
+class Google_Service_Compute_AttachedDisk extends Google_Collection
{
public $autoDelete;
public $boot;
@@ -5843,6 +5898,7 @@ class Google_Service_Compute_AttachedDisk extends Google_Model
protected $initializeParamsType = 'Google_Service_Compute_AttachedDiskInitializeParams';
protected $initializeParamsDataType = '';
public $kind;
+ public $licenses;
public $mode;
public $source;
public $type;
@@ -5907,6 +5963,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setMode($mode)
{
$this->mode = $mode;
@@ -6350,12 +6416,13 @@ public function getState()
}
}
-class Google_Service_Compute_Disk extends Google_Model
+class Google_Service_Compute_Disk extends Google_Collection
{
public $creationTimestamp;
public $description;
public $id;
public $kind;
+ public $licenses;
public $name;
public $options;
public $selfLink;
@@ -6408,6 +6475,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -7892,7 +7969,7 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_Image extends Google_Model
+class Google_Service_Compute_Image extends Google_Collection
{
public $archiveSizeBytes;
public $creationTimestamp;
@@ -7902,6 +7979,7 @@ class Google_Service_Compute_Image extends Google_Model
public $diskSizeGb;
public $id;
public $kind;
+ public $licenses;
public $name;
protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
protected $rawDiskDataType = '';
@@ -7979,6 +8057,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -8551,6 +8639,43 @@ public function getValue()
}
}
+class Google_Service_Compute_License extends Google_Model
+{
+ public $kind;
+ public $name;
+ public $selfLink;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
class Google_Service_Compute_MachineType extends Google_Collection
{
public $creationTimestamp;
@@ -10572,13 +10697,14 @@ public function getScopes()
}
}
-class Google_Service_Compute_Snapshot extends Google_Model
+class Google_Service_Compute_Snapshot extends Google_Collection
{
public $creationTimestamp;
public $description;
public $diskSizeGb;
public $id;
public $kind;
+ public $licenses;
public $name;
public $selfLink;
public $sourceDisk;
@@ -10637,6 +10763,16 @@ public function getKind()
return $this->kind;
}
+ public function setLicenses($licenses)
+ {
+ $this->licenses = $licenses;
+ }
+
+ public function getLicenses()
+ {
+ return $this->licenses;
+ }
+
public function setName($name)
{
$this->name = $name;
From d0d747d3e957320773214722dcb6c47b931b9581 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Pubsub extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage Pub/Sub topics and subscriptions. */ + const PUBSUB = "https://www.googleapis.com/auth/pubsub"; + + public $subscriptions; + public $topics; + + + /** + * Constructs the internal representation of the Pubsub service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'pubsub/v1beta1/'; + $this->version = 'v1beta1'; + $this->serviceName = 'pubsub'; + + $this->subscriptions = new Google_Service_Pubsub_Subscriptions_Resource( + $this, + $this->serviceName, + 'subscriptions', + array( + 'methods' => array( + 'acknowledge' => array( + 'path' => 'subscriptions/acknowledge', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'create' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'subscriptions/{+subscription}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'subscriptions/{+subscription}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'subscription' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'subscriptions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'modifyAckDeadline' => array( + 'path' => 'subscriptions/modifyAckDeadline', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'modifyPushConfig' => array( + 'path' => 'subscriptions/modifyPushConfig', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'pull' => array( + 'path' => 'subscriptions/pull', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + $this->topics = new Google_Service_Pubsub_Topics_Resource( + $this, + $this->serviceName, + 'topics', + array( + 'methods' => array( + 'create' => array( + 'path' => 'topics', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'delete' => array( + 'path' => 'topics/{+topic}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'topics/{+topic}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'topic' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'topics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'publish' => array( + 'path' => 'topics/publish', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "subscriptions" collection of methods. + * Typical usage is: + *
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $subscriptions = $pubsubService->subscriptions;
+ *
+ */
+class Google_Service_Pubsub_Subscriptions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Acknowledges a particular received message: the Pub/Sub system can remove the
+ * given message from the subscription. Acknowledging a message whose Ack
+ * deadline has expired may succeed, but the message could have been already
+ * redelivered. Acknowledging a message more than once will not result in an
+ * error. This is only used for messages received via pull.
+ * (subscriptions.acknowledge)
+ *
+ * @param Google_AcknowledgeRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function acknowledge(Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('acknowledge', array($params));
+ }
+ /**
+ * Creates a subscription on a given topic for a given subscriber. If the
+ * subscription already exists, returns ALREADY_EXISTS. If the corresponding
+ * topic doesn't exist, returns NOT_FOUND. (subscriptions.create)
+ *
+ * @param Google_Subscription $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Subscription
+ */
+ public function create(Google_Service_Pubsub_Subscription $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Pubsub_Subscription");
+ }
+ /**
+ * Deletes an existing subscription. All pending messages in the subscription
+ * are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
+ * (subscriptions.delete)
+ *
+ * @param string $subscription
+ * The subscription to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the configuration details of a subscription. (subscriptions.get)
+ *
+ * @param string $subscription
+ * The name of the subscription to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Subscription
+ */
+ public function get($subscription, $optParams = array())
+ {
+ $params = array('subscription' => $subscription);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Pubsub_Subscription");
+ }
+ /**
+ * Lists matching subscriptions. (subscriptions.listSubscriptions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The value obtained in the last ListSubscriptionsResponse for continuation.
+ * @opt_param int maxResults
+ * Maximum number of subscriptions to return.
+ * @opt_param string query
+ * A valid label query expression.
+ * @return Google_Service_Pubsub_ListSubscriptionsResponse
+ */
+ public function listSubscriptions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse");
+ }
+ /**
+ * Modifies the Ack deadline for a message received from a pull request.
+ * (subscriptions.modifyAckDeadline)
+ *
+ * @param Google_ModifyAckDeadlineRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function modifyAckDeadline(Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyAckDeadline', array($params));
+ }
+ /**
+ * Modifies the PushConfig for a specified subscription. This method can be used
+ * to suspend the flow of messages to an end point by clearing the PushConfig
+ * field in the request. Messages will be accumulated for delivery even if no
+ * push configuration is defined or while the configuration is modified.
+ * (subscriptions.modifyPushConfig)
+ *
+ * @param Google_ModifyPushConfigRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function modifyPushConfig(Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modifyPushConfig', array($params));
+ }
+ /**
+ * Pulls a single message from the server. If return_immediately is true, and no
+ * messages are available in the subscription, this method returns
+ * FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no
+ * messages are available in a reasonable amount of time (to reduce system
+ * load). (subscriptions.pull)
+ *
+ * @param Google_PullRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PullResponse
+ */
+ public function pull(Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse");
+ }
+}
+
+/**
+ * The "topics" collection of methods.
+ * Typical usage is:
+ *
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $topics = $pubsubService->topics;
+ *
+ */
+class Google_Service_Pubsub_Topics_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates the given topic with the given name. (topics.create)
+ *
+ * @param Google_Topic $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Topic
+ */
+ public function create(Google_Service_Pubsub_Topic $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Pubsub_Topic");
+ }
+ /**
+ * Deletes the topic with the given name. All subscriptions to this topic are
+ * also deleted. Returns NOT_FOUND if the topic does not exist. After a topic is
+ * deleted, a new topic may be created with the same name. (topics.delete)
+ *
+ * @param string $topic
+ * Name of the topic to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the configuration of a topic. Since the topic only has the name
+ * attribute, this method is only useful to check the existence of a topic. If
+ * other attributes are added in the future, they will be returned here.
+ * (topics.get)
+ *
+ * @param string $topic
+ * The name of the topic to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Topic
+ */
+ public function get($topic, $optParams = array())
+ {
+ $params = array('topic' => $topic);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Pubsub_Topic");
+ }
+ /**
+ * Lists matching topics. (topics.listTopics)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The value obtained in the last ListTopicsResponse for continuation.
+ * @opt_param int maxResults
+ * Maximum number of topics to return.
+ * @opt_param string query
+ * A valid label query expression.
+ * @return Google_Service_Pubsub_ListTopicsResponse
+ */
+ public function listTopics($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse");
+ }
+ /**
+ * Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
+ * (topics.publish)
+ *
+ * @param Google_PublishRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function publish(Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params));
+ }
+}
+
+
+
+
+class Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection
+{
+ public $ackId;
+ public $subscription;
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_Label extends Google_Model
+{
+ public $key;
+ public $numValue;
+ public $strValue;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setNumValue($numValue)
+ {
+ $this->numValue = $numValue;
+ }
+
+ public function getNumValue()
+ {
+ return $this->numValue;
+ }
+
+ public function setStrValue($strValue)
+ {
+ $this->strValue = $strValue;
+ }
+
+ public function getStrValue()
+ {
+ return $this->strValue;
+ }
+}
+
+class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $subscriptionType = 'Google_Service_Pubsub_Subscription';
+ protected $subscriptionDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $topicType = 'Google_Service_Pubsub_Topic';
+ protected $topicDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Model
+{
+ public $ackDeadlineSeconds;
+ public $ackId;
+ public $subscription;
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
+{
+ protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+ public $subscription;
+
+ public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_PublishRequest extends Google_Model
+{
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $topic;
+
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Pubsub_PubsubEvent extends Google_Model
+{
+ public $deleted;
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $subscription;
+ public $truncated;
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+
+ public function setTruncated($truncated)
+ {
+ $this->truncated = $truncated;
+ }
+
+ public function getTruncated()
+ {
+ return $this->truncated;
+ }
+}
+
+class Google_Service_Pubsub_PubsubMessage extends Google_Collection
+{
+ public $data;
+ protected $labelType = 'Google_Service_Pubsub_Label';
+ protected $labelDataType = 'array';
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+class Google_Service_Pubsub_PullRequest extends Google_Model
+{
+ public $returnImmediately;
+ public $subscription;
+
+ public function setReturnImmediately($returnImmediately)
+ {
+ $this->returnImmediately = $returnImmediately;
+ }
+
+ public function getReturnImmediately()
+ {
+ return $this->returnImmediately;
+ }
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+}
+
+class Google_Service_Pubsub_PullResponse extends Google_Model
+{
+ public $ackId;
+ protected $pubsubEventType = 'Google_Service_Pubsub_PubsubEvent';
+ protected $pubsubEventDataType = '';
+
+ public function setAckId($ackId)
+ {
+ $this->ackId = $ackId;
+ }
+
+ public function getAckId()
+ {
+ return $this->ackId;
+ }
+
+ public function setPubsubEvent(Google_Service_Pubsub_PubsubEvent $pubsubEvent)
+ {
+ $this->pubsubEvent = $pubsubEvent;
+ }
+
+ public function getPubsubEvent()
+ {
+ return $this->pubsubEvent;
+ }
+}
+
+class Google_Service_Pubsub_PushConfig extends Google_Model
+{
+ public $pushEndpoint;
+
+ public function setPushEndpoint($pushEndpoint)
+ {
+ $this->pushEndpoint = $pushEndpoint;
+ }
+
+ public function getPushEndpoint()
+ {
+ return $this->pushEndpoint;
+ }
+}
+
+class Google_Service_Pubsub_Subscription extends Google_Model
+{
+ public $ackDeadlineSeconds;
+ public $name;
+ protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
+ protected $pushConfigDataType = '';
+ public $topic;
+
+ public function setAckDeadlineSeconds($ackDeadlineSeconds)
+ {
+ $this->ackDeadlineSeconds = $ackDeadlineSeconds;
+ }
+
+ public function getAckDeadlineSeconds()
+ {
+ return $this->ackDeadlineSeconds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
+ {
+ $this->pushConfig = $pushConfig;
+ }
+
+ public function getPushConfig()
+ {
+ return $this->pushConfig;
+ }
+
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Pubsub_Topic extends Google_Model
+{
+ public $name;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
From 2a69dad7b7a230206480493b1a8793b52b3d80d3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $events = $gamesManagementService->events;
+ *
+ */
+class Google_Service_GamesManagement_Events_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Reset all player progress on the event for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. All resources that use the event will also be reset.
+ * (events.reset)
+ *
+ * @param string $eventId
+ * The ID of the event.
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($eventId, $optParams = array())
+ {
+ $params = array('eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+ /**
+ * Reset all player progress on all unpublished events for the currently
+ * authenticated player. This method is only accessible to whitelisted tester
+ * accounts for your application. All resources that use the events will also be
+ * reset. (events.resetAll)
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function resetAll($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('resetAll', array($params));
+ }
+ /**
+ * Reset all player progress on the event for all players. This method is only
+ * available to user accounts for your developer console. Only draft events can
+ * be reset. All resources that use the event will also be reset.
+ * (events.resetForAllPlayers)
+ *
+ * @param string $eventId
+ * The ID of the event.
+ * @param array $optParams Optional parameters.
+ */
+ public function resetForAllPlayers($eventId, $optParams = array())
+ {
+ $params = array('eventId' => $eventId);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetForAllPlayers', array($params));
+ }
+}
+
/**
* The "players" collection of methods.
* Typical usage is:
@@ -361,6 +476,34 @@ public function unhide($applicationId, $playerId, $optParams = array())
}
}
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesManagementService = new Google_Service_GamesManagement(...);
+ * $quests = $gamesManagementService->quests;
+ *
+ */
+class Google_Service_GamesManagement_Quests_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Reset all player progress on the quest for the currently authenticated
+ * player. This method is only accessible to whitelisted tester accounts for
+ * your application. (quests.reset)
+ *
+ * @param string $questId
+ * The ID of the quest.
+ * @param array $optParams Optional parameters.
+ */
+ public function reset($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('reset', array($params));
+ }
+}
+
/**
* The "rooms" collection of methods.
* Typical usage is:
@@ -560,6 +703,93 @@ public function getTimeMillis()
}
}
+class Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model
+{
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $currentLevelDataType = '';
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
+ protected $nextLevelDataType = '';
+
+ public function setCurrentExperiencePoints($currentExperiencePoints)
+ {
+ $this->currentExperiencePoints = $currentExperiencePoints;
+ }
+
+ public function getCurrentExperiencePoints()
+ {
+ return $this->currentExperiencePoints;
+ }
+
+ public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel)
+ {
+ $this->currentLevel = $currentLevel;
+ }
+
+ public function getCurrentLevel()
+ {
+ return $this->currentLevel;
+ }
+
+ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
+ {
+ $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
+ }
+
+ public function getLastLevelUpTimestampMillis()
+ {
+ return $this->lastLevelUpTimestampMillis;
+ }
+
+ public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel)
+ {
+ $this->nextLevel = $nextLevel;
+ }
+
+ public function getNextLevel()
+ {
+ return $this->nextLevel;
+ }
+}
+
+class Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model
+{
+ public $level;
+ public $maxExperiencePoints;
+ public $minExperiencePoints;
+
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+
+ public function getLevel()
+ {
+ return $this->level;
+ }
+
+ public function setMaxExperiencePoints($maxExperiencePoints)
+ {
+ $this->maxExperiencePoints = $maxExperiencePoints;
+ }
+
+ public function getMaxExperiencePoints()
+ {
+ return $this->maxExperiencePoints;
+ }
+
+ public function setMinExperiencePoints($minExperiencePoints)
+ {
+ $this->minExperiencePoints = $minExperiencePoints;
+ }
+
+ public function getMinExperiencePoints()
+ {
+ return $this->minExperiencePoints;
+ }
+}
+
class Google_Service_GamesManagement_HiddenPlayer extends Google_Model
{
public $hiddenTimeMillis;
@@ -640,12 +870,15 @@ class Google_Service_GamesManagement_Player extends Google_Model
{
public $avatarImageUrl;
public $displayName;
+ protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource';
+ protected $experienceInfoDataType = '';
public $kind;
protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource';
protected $lastPlayedWithDataType = '';
protected $nameType = 'Google_Service_GamesManagement_PlayerName';
protected $nameDataType = '';
public $playerId;
+ public $title;
public function setAvatarImageUrl($avatarImageUrl)
{
@@ -667,6 +900,16 @@ public function getDisplayName()
return $this->displayName;
}
+ public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo)
+ {
+ $this->experienceInfo = $experienceInfo;
+ }
+
+ public function getExperienceInfo()
+ {
+ return $this->experienceInfo;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -706,6 +949,16 @@ public function getPlayerId()
{
return $this->playerId;
}
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
}
class Google_Service_GamesManagement_PlayerName extends Google_Model
From a1eac083b801e3d694fc7116685f28981413c9f0 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $gamesService = new Google_Service_Games(...);
+ * $events = $gamesService->events;
+ *
+ */
+class Google_Service_Games_Events_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of the current progress on events in this application for the
+ * currently authorized user. (events.listByPlayer)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of events to return in the response, used for paging. For any response, the
+ * actual number of events to return may be less than the specified maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_PlayerEventListResponse
+ */
+ public function listByPlayer($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listByPlayer', array($params), "Google_Service_Games_PlayerEventListResponse");
+ }
+ /**
+ * Returns a list of the event definitions in this application.
+ * (events.listDefinitions)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of event definitions to return in the response, used for paging. For any
+ * response, the actual number of event definitions to return may be less than the specified
+ * maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_EventDefinitionListResponse
+ */
+ public function listDefinitions($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse");
+ }
+ /**
+ * Records a batch of event updates for the currently authorized user of this
+ * application. (events.record)
+ *
+ * @param Google_EventRecordRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_EventUpdateResponse
+ */
+ public function record(Google_Service_Games_EventRecordRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('record', array($params), "Google_Service_Games_EventUpdateResponse");
+ }
+}
+
/**
* The "leaderboards" collection of methods.
* Typical usage is:
@@ -1084,46 +1380,98 @@ public function listLeaderboards($optParams = array())
}
/**
- * The "players" collection of methods.
+ * The "metagame" collection of methods.
* Typical usage is:
*
* $gamesService = new Google_Service_Games(...);
- * $players = $gamesService->players;
+ * $metagame = $gamesService->metagame;
*
*/
-class Google_Service_Games_Players_Resource extends Google_Service_Resource
+class Google_Service_Games_Metagame_Resource extends Google_Service_Resource
{
/**
- * Retrieves the Player resource with the given ID. To retrieve the player for
- * the currently authenticated user, set playerId to me. (players.get)
+ * Return the metagame configuration data for the calling application.
+ * (metagame.getMetagameConfig)
*
- * @param string $playerId
- * A player ID. A value of me may be used in place of the authenticated player's ID.
* @param array $optParams Optional parameters.
- *
- * @opt_param string language
- * The preferred language to use for strings returned by this method.
- * @return Google_Service_Games_Player
+ * @return Google_Service_Games_MetagameConfig
*/
- public function get($playerId, $optParams = array())
+ public function getMetagameConfig($optParams = array())
{
- $params = array('playerId' => $playerId);
+ $params = array();
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Games_Player");
+ return $this->call('getMetagameConfig', array($params), "Google_Service_Games_MetagameConfig");
}
/**
- * Get the collection of players for the currently authenticated user.
- * (players.listPlayers)
+ * List play data aggregated per category for the player corresponding to
+ * playerId. (metagame.listCategoriesByPlayer)
*
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
* @param string $collection
- * Collection of players being retrieved
+ * The collection of categories for which data will be returned.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken
* The token returned by the previous request.
* @opt_param int maxResults
- * The maximum number of player resources to return in the response, used for paging. For any
+ * The maximum number of category resources to return in the response, used for paging. For any
+ * response, the actual number of category resources returned may be less than the specified
+ * maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_CategoryListResponse
+ */
+ public function listCategoriesByPlayer($playerId, $collection, $optParams = array())
+ {
+ $params = array('playerId' => $playerId, 'collection' => $collection);
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategoriesByPlayer', array($params), "Google_Service_Games_CategoryListResponse");
+ }
+}
+
+/**
+ * The "players" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $players = $gamesService->players;
+ *
+ */
+class Google_Service_Games_Players_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the Player resource with the given ID. To retrieve the player for
+ * the currently authenticated user, set playerId to me. (players.get)
+ *
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_Player
+ */
+ public function get($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Games_Player");
+ }
+ /**
+ * Get the collection of players for the currently authenticated user.
+ * (players.listPlayers)
+ *
+ * @param string $collection
+ * Collection of players being retrieved
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of player resources to return in the response, used for paging. For any
* response, the actual number of player resources returned may be less than the specified
* maxResults.
* @opt_param string language
@@ -1177,6 +1525,94 @@ public function update(Google_Service_Games_PushToken $postBody, $optParams = ar
}
}
+/**
+ * The "questMilestones" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $questMilestones = $gamesService->questMilestones;
+ *
+ */
+class Google_Service_Games_QuestMilestones_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Report that reward for the milestone corresponding to milestoneId for the
+ * quest corresponding to questId has been claimed by the currently authorized
+ * user. (questMilestones.claim)
+ *
+ * @param string $questId
+ * The ID of the quest.
+ * @param string $milestoneId
+ * The ID of the Milestone.
+ * @param string $requestId
+ * A randomly generated numeric ID for each request specified by the caller. This number is used at
+ * the server to ensure that the request is handled correctly across retries.
+ * @param array $optParams Optional parameters.
+ */
+ public function claim($questId, $milestoneId, $requestId, $optParams = array())
+ {
+ $params = array('questId' => $questId, 'milestoneId' => $milestoneId, 'requestId' => $requestId);
+ $params = array_merge($params, $optParams);
+ return $this->call('claim', array($params));
+ }
+}
+
+/**
+ * The "quests" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $quests = $gamesService->quests;
+ *
+ */
+class Google_Service_Games_Quests_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Indicates that the currently authorized user will participate in the quest.
+ * (quests.accept)
+ *
+ * @param string $questId
+ * The ID of the quest.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_Quest
+ */
+ public function accept($questId, $optParams = array())
+ {
+ $params = array('questId' => $questId);
+ $params = array_merge($params, $optParams);
+ return $this->call('accept', array($params), "Google_Service_Games_Quest");
+ }
+ /**
+ * Get a list of quests for your application and the currently authenticated
+ * player. (quests.listQuests)
+ *
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of quest resources to return in the response, used for paging. For any
+ * response, the actual number of quest resources returned may be less than the specified
+ * maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_QuestListResponse
+ */
+ public function listQuests($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_QuestListResponse");
+ }
+}
+
/**
* The "revisions" collection of methods.
* Typical usage is:
@@ -1515,6 +1951,60 @@ public function submitMultiple(Google_Service_Games_PlayerScoreSubmissionList $p
}
}
+/**
+ * The "snapshots" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesService = new Google_Service_Games(...);
+ * $snapshots = $gamesService->snapshots;
+ *
+ */
+class Google_Service_Games_Snapshots_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the metadata for a given snapshot ID. (snapshots.get)
+ *
+ * @param string $snapshotId
+ * The ID of the snapshot.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_Snapshot
+ */
+ public function get($snapshotId, $optParams = array())
+ {
+ $params = array('snapshotId' => $snapshotId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Games_Snapshot");
+ }
+ /**
+ * Retrieves a list of snapshots created by your application for the player
+ * corresponding to the player ID. (snapshots.listSnapshots)
+ *
+ * @param string $playerId
+ * A player ID. A value of me may be used in place of the authenticated player's ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param int maxResults
+ * The maximum number of snapshot resources to return in the response, used for paging. For any
+ * response, the actual number of snapshot resources returned may be less than the specified
+ * maxResults.
+ * @opt_param string language
+ * The preferred language to use for strings returned by this method.
+ * @return Google_Service_Games_SnapshotListResponse
+ */
+ public function listSnapshots($playerId, $optParams = array())
+ {
+ $params = array('playerId' => $playerId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Games_SnapshotListResponse");
+ }
+}
+
/**
* The "turnBasedMatches" collection of methods.
* Typical usage is:
@@ -1795,6 +2285,7 @@ class Google_Service_Games_AchievementDefinition extends Google_Model
{
public $achievementType;
public $description;
+ public $experiencePoints;
public $formattedTotalSteps;
public $id;
public $initialState;
@@ -1826,6 +2317,16 @@ public function getDescription()
return $this->description;
}
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+
public function setFormattedTotalSteps($formattedTotalSteps)
{
$this->formattedTotalSteps = $formattedTotalSteps;
@@ -2548,47 +3049,59 @@ public function getSecondary()
}
}
-class Google_Service_Games_GamesAchievementIncrement extends Google_Model
+class Google_Service_Games_Category extends Google_Model
{
+ public $category;
+ public $experiencePoints;
public $kind;
- public $requestId;
- public $steps;
- public function setKind($kind)
+ public function setCategory($category)
{
- $this->kind = $kind;
+ $this->category = $category;
}
- public function getKind()
+ public function getCategory()
{
- return $this->kind;
+ return $this->category;
}
- public function setRequestId($requestId)
+ public function setExperiencePoints($experiencePoints)
{
- $this->requestId = $requestId;
+ $this->experiencePoints = $experiencePoints;
}
- public function getRequestId()
+ public function getExperiencePoints()
{
- return $this->requestId;
+ return $this->experiencePoints;
}
- public function setSteps($steps)
+ public function setKind($kind)
{
- $this->steps = $steps;
+ $this->kind = $kind;
}
- public function getSteps()
+ public function getKind()
{
- return $this->steps;
+ return $this->kind;
}
}
-class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
+class Google_Service_Games_CategoryListResponse extends Google_Collection
{
+ protected $itemsType = 'Google_Service_Games_Category';
+ protected $itemsDataType = 'array';
public $kind;
- public $steps;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
public function setKind($kind)
{
@@ -2600,33 +3113,32 @@ public function getKind()
return $this->kind;
}
- public function setSteps($steps)
+ public function setNextPageToken($nextPageToken)
{
- $this->steps = $steps;
+ $this->nextPageToken = $nextPageToken;
}
- public function getSteps()
+ public function getNextPageToken()
{
- return $this->steps;
+ return $this->nextPageToken;
}
}
-class Google_Service_Games_ImageAsset extends Google_Model
+class Google_Service_Games_EventBatchRecordFailure extends Google_Model
{
- public $height;
+ public $failureCause;
public $kind;
- public $name;
- public $url;
- public $width;
+ protected $rangeType = 'Google_Service_Games_EventPeriodRange';
+ protected $rangeDataType = '';
- public function setHeight($height)
+ public function setFailureCause($failureCause)
{
- $this->height = $height;
+ $this->failureCause = $failureCause;
}
- public function getHeight()
+ public function getFailureCause()
{
- return $this->height;
+ return $this->failureCause;
}
public function setKind($kind)
@@ -2639,158 +3151,151 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
+ public function setRange(Google_Service_Games_EventPeriodRange $range)
{
- $this->name = $name;
+ $this->range = $range;
}
- public function getName()
+ public function getRange()
{
- return $this->name;
+ return $this->range;
}
+}
- public function setUrl($url)
+class Google_Service_Games_EventChild extends Google_Model
+{
+ public $childId;
+ public $kind;
+
+ public function setChildId($childId)
{
- $this->url = $url;
+ $this->childId = $childId;
}
- public function getUrl()
+ public function getChildId()
{
- return $this->url;
+ return $this->childId;
}
- public function setWidth($width)
+ public function setKind($kind)
{
- $this->width = $width;
+ $this->kind = $kind;
}
- public function getWidth()
+ public function getKind()
{
- return $this->width;
+ return $this->kind;
}
}
-class Google_Service_Games_Instance extends Google_Model
+class Google_Service_Games_EventDefinition extends Google_Collection
{
- public $acquisitionUri;
- protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
- protected $androidInstanceDataType = '';
- protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
- protected $iosInstanceDataType = '';
+ protected $childEventsType = 'Google_Service_Games_EventChild';
+ protected $childEventsDataType = 'array';
+ public $description;
+ public $displayName;
+ public $id;
+ public $imageUrl;
+ public $isDefaultImageUrl;
public $kind;
- public $name;
- public $platformType;
- public $realtimePlay;
- public $turnBasedPlay;
- protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
- protected $webInstanceDataType = '';
+ public $visibility;
- public function setAcquisitionUri($acquisitionUri)
+ public function setChildEvents($childEvents)
{
- $this->acquisitionUri = $acquisitionUri;
+ $this->childEvents = $childEvents;
}
- public function getAcquisitionUri()
+ public function getChildEvents()
{
- return $this->acquisitionUri;
+ return $this->childEvents;
}
- public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
+ public function setDescription($description)
{
- $this->androidInstance = $androidInstance;
+ $this->description = $description;
}
- public function getAndroidInstance()
+ public function getDescription()
{
- return $this->androidInstance;
+ return $this->description;
}
- public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
+ public function setDisplayName($displayName)
{
- $this->iosInstance = $iosInstance;
+ $this->displayName = $displayName;
}
- public function getIosInstance()
+ public function getDisplayName()
{
- return $this->iosInstance;
+ return $this->displayName;
}
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
+ public function setId($id)
{
- $this->name = $name;
+ $this->id = $id;
}
- public function getName()
+ public function getId()
{
- return $this->name;
+ return $this->id;
}
- public function setPlatformType($platformType)
+ public function setImageUrl($imageUrl)
{
- $this->platformType = $platformType;
+ $this->imageUrl = $imageUrl;
}
- public function getPlatformType()
+ public function getImageUrl()
{
- return $this->platformType;
+ return $this->imageUrl;
}
- public function setRealtimePlay($realtimePlay)
+ public function setIsDefaultImageUrl($isDefaultImageUrl)
{
- $this->realtimePlay = $realtimePlay;
+ $this->isDefaultImageUrl = $isDefaultImageUrl;
}
- public function getRealtimePlay()
+ public function getIsDefaultImageUrl()
{
- return $this->realtimePlay;
+ return $this->isDefaultImageUrl;
}
- public function setTurnBasedPlay($turnBasedPlay)
+ public function setKind($kind)
{
- $this->turnBasedPlay = $turnBasedPlay;
+ $this->kind = $kind;
}
- public function getTurnBasedPlay()
+ public function getKind()
{
- return $this->turnBasedPlay;
+ return $this->kind;
}
- public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
+ public function setVisibility($visibility)
{
- $this->webInstance = $webInstance;
+ $this->visibility = $visibility;
}
- public function getWebInstance()
+ public function getVisibility()
{
- return $this->webInstance;
+ return $this->visibility;
}
}
-class Google_Service_Games_InstanceAndroidDetails extends Google_Model
+class Google_Service_Games_EventDefinitionListResponse extends Google_Collection
{
- public $enablePiracyCheck;
+ protected $itemsType = 'Google_Service_Games_EventDefinition';
+ protected $itemsDataType = 'array';
public $kind;
- public $packageName;
- public $preferred;
+ public $nextPageToken;
- public function setEnablePiracyCheck($enablePiracyCheck)
+ public function setItems($items)
{
- $this->enablePiracyCheck = $enablePiracyCheck;
+ $this->items = $items;
}
- public function getEnablePiracyCheck()
+ public function getItems()
{
- return $this->enablePiracyCheck;
+ return $this->items;
}
public function setKind($kind)
@@ -2803,56 +3308,61 @@ public function getKind()
return $this->kind;
}
- public function setPackageName($packageName)
+ public function setNextPageToken($nextPageToken)
{
- $this->packageName = $packageName;
+ $this->nextPageToken = $nextPageToken;
}
- public function getPackageName()
+ public function getNextPageToken()
{
- return $this->packageName;
+ return $this->nextPageToken;
}
+}
- public function setPreferred($preferred)
+class Google_Service_Games_EventPeriodRange extends Google_Model
+{
+ public $kind;
+ public $periodEndMillis;
+ public $periodStartMillis;
+
+ public function setKind($kind)
{
- $this->preferred = $preferred;
+ $this->kind = $kind;
}
- public function getPreferred()
+ public function getKind()
{
- return $this->preferred;
+ return $this->kind;
}
-}
-
-class Google_Service_Games_InstanceIosDetails extends Google_Model
-{
- public $bundleIdentifier;
- public $itunesAppId;
- public $kind;
- public $preferredForIpad;
- public $preferredForIphone;
- public $supportIpad;
- public $supportIphone;
- public function setBundleIdentifier($bundleIdentifier)
+ public function setPeriodEndMillis($periodEndMillis)
{
- $this->bundleIdentifier = $bundleIdentifier;
+ $this->periodEndMillis = $periodEndMillis;
}
- public function getBundleIdentifier()
+ public function getPeriodEndMillis()
{
- return $this->bundleIdentifier;
+ return $this->periodEndMillis;
}
- public function setItunesAppId($itunesAppId)
+ public function setPeriodStartMillis($periodStartMillis)
{
- $this->itunesAppId = $itunesAppId;
+ $this->periodStartMillis = $periodStartMillis;
}
- public function getItunesAppId()
+ public function getPeriodStartMillis()
{
- return $this->itunesAppId;
+ return $this->periodStartMillis;
}
+}
+
+class Google_Service_Games_EventPeriodUpdate extends Google_Collection
+{
+ public $kind;
+ protected $timePeriodType = 'Google_Service_Games_EventPeriodRange';
+ protected $timePeriodDataType = '';
+ protected $updatesType = 'Google_Service_Games_EventUpdateRequest';
+ protected $updatesDataType = 'array';
public function setKind($kind)
{
@@ -2864,52 +3374,52 @@ public function getKind()
return $this->kind;
}
- public function setPreferredForIpad($preferredForIpad)
+ public function setTimePeriod(Google_Service_Games_EventPeriodRange $timePeriod)
{
- $this->preferredForIpad = $preferredForIpad;
+ $this->timePeriod = $timePeriod;
}
- public function getPreferredForIpad()
+ public function getTimePeriod()
{
- return $this->preferredForIpad;
+ return $this->timePeriod;
}
- public function setPreferredForIphone($preferredForIphone)
+ public function setUpdates($updates)
{
- $this->preferredForIphone = $preferredForIphone;
+ $this->updates = $updates;
}
- public function getPreferredForIphone()
+ public function getUpdates()
{
- return $this->preferredForIphone;
+ return $this->updates;
}
+}
- public function setSupportIpad($supportIpad)
+class Google_Service_Games_EventRecordFailure extends Google_Model
+{
+ public $eventId;
+ public $failureCause;
+ public $kind;
+
+ public function setEventId($eventId)
{
- $this->supportIpad = $supportIpad;
+ $this->eventId = $eventId;
}
- public function getSupportIpad()
+ public function getEventId()
{
- return $this->supportIpad;
+ return $this->eventId;
}
- public function setSupportIphone($supportIphone)
+ public function setFailureCause($failureCause)
{
- $this->supportIphone = $supportIphone;
+ $this->failureCause = $failureCause;
}
- public function getSupportIphone()
+ public function getFailureCause()
{
- return $this->supportIphone;
+ return $this->failureCause;
}
-}
-
-class Google_Service_Games_InstanceWebDetails extends Google_Model
-{
- public $kind;
- public $launchUrl;
- public $preferred;
public function setKind($kind)
{
@@ -2920,65 +3430,71 @@ public function getKind()
{
return $this->kind;
}
+}
- public function setLaunchUrl($launchUrl)
+class Google_Service_Games_EventRecordRequest extends Google_Collection
+{
+ public $currentTimeMillis;
+ public $kind;
+ public $requestId;
+ protected $timePeriodsType = 'Google_Service_Games_EventPeriodUpdate';
+ protected $timePeriodsDataType = 'array';
+
+ public function setCurrentTimeMillis($currentTimeMillis)
{
- $this->launchUrl = $launchUrl;
+ $this->currentTimeMillis = $currentTimeMillis;
}
- public function getLaunchUrl()
+ public function getCurrentTimeMillis()
{
- return $this->launchUrl;
+ return $this->currentTimeMillis;
}
- public function setPreferred($preferred)
+ public function setKind($kind)
{
- $this->preferred = $preferred;
+ $this->kind = $kind;
}
- public function getPreferred()
+ public function getKind()
{
- return $this->preferred;
+ return $this->kind;
}
-}
-
-class Google_Service_Games_Leaderboard extends Google_Model
-{
- public $iconUrl;
- public $id;
- public $isIconUrlDefault;
- public $kind;
- public $name;
- public $order;
- public function setIconUrl($iconUrl)
+ public function setRequestId($requestId)
{
- $this->iconUrl = $iconUrl;
+ $this->requestId = $requestId;
}
- public function getIconUrl()
+ public function getRequestId()
{
- return $this->iconUrl;
+ return $this->requestId;
}
- public function setId($id)
+ public function setTimePeriods($timePeriods)
{
- $this->id = $id;
+ $this->timePeriods = $timePeriods;
}
- public function getId()
+ public function getTimePeriods()
{
- return $this->id;
+ return $this->timePeriods;
}
+}
- public function setIsIconUrlDefault($isIconUrlDefault)
+class Google_Service_Games_EventUpdateRequest extends Google_Model
+{
+ public $definitionId;
+ public $kind;
+ public $updateCount;
+
+ public function setDefinitionId($definitionId)
{
- $this->isIconUrlDefault = $isIconUrlDefault;
+ $this->definitionId = $definitionId;
}
- public function getIsIconUrlDefault()
+ public function getDefinitionId()
{
- return $this->isIconUrlDefault;
+ return $this->definitionId;
}
public function setKind($kind)
@@ -2991,58 +3507,45 @@ public function getKind()
return $this->kind;
}
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setOrder($order)
+ public function setUpdateCount($updateCount)
{
- $this->order = $order;
+ $this->updateCount = $updateCount;
}
- public function getOrder()
+ public function getUpdateCount()
{
- return $this->order;
+ return $this->updateCount;
}
}
-class Google_Service_Games_LeaderboardEntry extends Google_Model
+class Google_Service_Games_EventUpdateResponse extends Google_Collection
{
- public $formattedScore;
- public $formattedScoreRank;
+ protected $batchFailuresType = 'Google_Service_Games_EventBatchRecordFailure';
+ protected $batchFailuresDataType = 'array';
+ protected $eventFailuresType = 'Google_Service_Games_EventRecordFailure';
+ protected $eventFailuresDataType = 'array';
public $kind;
- protected $playerType = 'Google_Service_Games_Player';
- protected $playerDataType = '';
- public $scoreRank;
- public $scoreTag;
- public $scoreValue;
- public $timeSpan;
- public $writeTimestampMillis;
+ protected $playerEventsType = 'Google_Service_Games_PlayerEvent';
+ protected $playerEventsDataType = 'array';
- public function setFormattedScore($formattedScore)
+ public function setBatchFailures($batchFailures)
{
- $this->formattedScore = $formattedScore;
+ $this->batchFailures = $batchFailures;
}
- public function getFormattedScore()
+ public function getBatchFailures()
{
- return $this->formattedScore;
+ return $this->batchFailures;
}
- public function setFormattedScoreRank($formattedScoreRank)
+ public function setEventFailures($eventFailures)
{
- $this->formattedScoreRank = $formattedScoreRank;
+ $this->eventFailures = $eventFailures;
}
- public function getFormattedScoreRank()
+ public function getEventFailures()
{
- return $this->formattedScoreRank;
+ return $this->eventFailures;
}
public function setKind($kind)
@@ -3055,70 +3558,1293 @@ public function getKind()
return $this->kind;
}
- public function setPlayer(Google_Service_Games_Player $player)
+ public function setPlayerEvents($playerEvents)
{
- $this->player = $player;
+ $this->playerEvents = $playerEvents;
}
- public function getPlayer()
+ public function getPlayerEvents()
{
- return $this->player;
+ return $this->playerEvents;
}
+}
- public function setScoreRank($scoreRank)
+class Google_Service_Games_GamesAchievementIncrement extends Google_Model
+{
+ public $kind;
+ public $requestId;
+ public $steps;
+
+ public function setKind($kind)
{
- $this->scoreRank = $scoreRank;
+ $this->kind = $kind;
}
- public function getScoreRank()
+ public function getKind()
{
- return $this->scoreRank;
+ return $this->kind;
}
- public function setScoreTag($scoreTag)
+ public function setRequestId($requestId)
{
- $this->scoreTag = $scoreTag;
+ $this->requestId = $requestId;
}
- public function getScoreTag()
+ public function getRequestId()
{
- return $this->scoreTag;
+ return $this->requestId;
}
- public function setScoreValue($scoreValue)
+ public function setSteps($steps)
{
- $this->scoreValue = $scoreValue;
+ $this->steps = $steps;
}
- public function getScoreValue()
+ public function getSteps()
{
- return $this->scoreValue;
+ return $this->steps;
}
+}
- public function setTimeSpan($timeSpan)
+class Google_Service_Games_GamesAchievementSetStepsAtLeast extends Google_Model
+{
+ public $kind;
+ public $steps;
+
+ public function setKind($kind)
{
- $this->timeSpan = $timeSpan;
+ $this->kind = $kind;
}
- public function getTimeSpan()
+ public function getKind()
{
- return $this->timeSpan;
+ return $this->kind;
}
- public function setWriteTimestampMillis($writeTimestampMillis)
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+}
+
+class Google_Service_Games_ImageAsset extends Google_Model
+{
+ public $height;
+ public $kind;
+ public $name;
+ public $url;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Games_Instance extends Google_Model
+{
+ public $acquisitionUri;
+ protected $androidInstanceType = 'Google_Service_Games_InstanceAndroidDetails';
+ protected $androidInstanceDataType = '';
+ protected $iosInstanceType = 'Google_Service_Games_InstanceIosDetails';
+ protected $iosInstanceDataType = '';
+ public $kind;
+ public $name;
+ public $platformType;
+ public $realtimePlay;
+ public $turnBasedPlay;
+ protected $webInstanceType = 'Google_Service_Games_InstanceWebDetails';
+ protected $webInstanceDataType = '';
+
+ public function setAcquisitionUri($acquisitionUri)
+ {
+ $this->acquisitionUri = $acquisitionUri;
+ }
+
+ public function getAcquisitionUri()
+ {
+ return $this->acquisitionUri;
+ }
+
+ public function setAndroidInstance(Google_Service_Games_InstanceAndroidDetails $androidInstance)
+ {
+ $this->androidInstance = $androidInstance;
+ }
+
+ public function getAndroidInstance()
+ {
+ return $this->androidInstance;
+ }
+
+ public function setIosInstance(Google_Service_Games_InstanceIosDetails $iosInstance)
+ {
+ $this->iosInstance = $iosInstance;
+ }
+
+ public function getIosInstance()
+ {
+ return $this->iosInstance;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPlatformType($platformType)
+ {
+ $this->platformType = $platformType;
+ }
+
+ public function getPlatformType()
+ {
+ return $this->platformType;
+ }
+
+ public function setRealtimePlay($realtimePlay)
+ {
+ $this->realtimePlay = $realtimePlay;
+ }
+
+ public function getRealtimePlay()
+ {
+ return $this->realtimePlay;
+ }
+
+ public function setTurnBasedPlay($turnBasedPlay)
+ {
+ $this->turnBasedPlay = $turnBasedPlay;
+ }
+
+ public function getTurnBasedPlay()
+ {
+ return $this->turnBasedPlay;
+ }
+
+ public function setWebInstance(Google_Service_Games_InstanceWebDetails $webInstance)
+ {
+ $this->webInstance = $webInstance;
+ }
+
+ public function getWebInstance()
+ {
+ return $this->webInstance;
+ }
+}
+
+class Google_Service_Games_InstanceAndroidDetails extends Google_Model
+{
+ public $enablePiracyCheck;
+ public $kind;
+ public $packageName;
+ public $preferred;
+
+ public function setEnablePiracyCheck($enablePiracyCheck)
+ {
+ $this->enablePiracyCheck = $enablePiracyCheck;
+ }
+
+ public function getEnablePiracyCheck()
+ {
+ return $this->enablePiracyCheck;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+
+ public function setPreferred($preferred)
+ {
+ $this->preferred = $preferred;
+ }
+
+ public function getPreferred()
+ {
+ return $this->preferred;
+ }
+}
+
+class Google_Service_Games_InstanceIosDetails extends Google_Model
+{
+ public $bundleIdentifier;
+ public $itunesAppId;
+ public $kind;
+ public $preferredForIpad;
+ public $preferredForIphone;
+ public $supportIpad;
+ public $supportIphone;
+
+ public function setBundleIdentifier($bundleIdentifier)
+ {
+ $this->bundleIdentifier = $bundleIdentifier;
+ }
+
+ public function getBundleIdentifier()
+ {
+ return $this->bundleIdentifier;
+ }
+
+ public function setItunesAppId($itunesAppId)
+ {
+ $this->itunesAppId = $itunesAppId;
+ }
+
+ public function getItunesAppId()
+ {
+ return $this->itunesAppId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPreferredForIpad($preferredForIpad)
+ {
+ $this->preferredForIpad = $preferredForIpad;
+ }
+
+ public function getPreferredForIpad()
+ {
+ return $this->preferredForIpad;
+ }
+
+ public function setPreferredForIphone($preferredForIphone)
+ {
+ $this->preferredForIphone = $preferredForIphone;
+ }
+
+ public function getPreferredForIphone()
+ {
+ return $this->preferredForIphone;
+ }
+
+ public function setSupportIpad($supportIpad)
+ {
+ $this->supportIpad = $supportIpad;
+ }
+
+ public function getSupportIpad()
+ {
+ return $this->supportIpad;
+ }
+
+ public function setSupportIphone($supportIphone)
+ {
+ $this->supportIphone = $supportIphone;
+ }
+
+ public function getSupportIphone()
+ {
+ return $this->supportIphone;
+ }
+}
+
+class Google_Service_Games_InstanceWebDetails extends Google_Model
+{
+ public $kind;
+ public $launchUrl;
+ public $preferred;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLaunchUrl($launchUrl)
+ {
+ $this->launchUrl = $launchUrl;
+ }
+
+ public function getLaunchUrl()
+ {
+ return $this->launchUrl;
+ }
+
+ public function setPreferred($preferred)
+ {
+ $this->preferred = $preferred;
+ }
+
+ public function getPreferred()
+ {
+ return $this->preferred;
+ }
+}
+
+class Google_Service_Games_Leaderboard extends Google_Model
+{
+ public $iconUrl;
+ public $id;
+ public $isIconUrlDefault;
+ public $kind;
+ public $name;
+ public $order;
+
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIsIconUrlDefault($isIconUrlDefault)
+ {
+ $this->isIconUrlDefault = $isIconUrlDefault;
+ }
+
+ public function getIsIconUrlDefault()
+ {
+ return $this->isIconUrlDefault;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOrder($order)
+ {
+ $this->order = $order;
+ }
+
+ public function getOrder()
+ {
+ return $this->order;
+ }
+}
+
+class Google_Service_Games_LeaderboardEntry extends Google_Model
+{
+ public $formattedScore;
+ public $formattedScoreRank;
+ public $kind;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
+ public $scoreRank;
+ public $scoreTag;
+ public $scoreValue;
+ public $timeSpan;
+ public $writeTimestampMillis;
+
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
+
+ public function setFormattedScoreRank($formattedScoreRank)
+ {
+ $this->formattedScoreRank = $formattedScoreRank;
+ }
+
+ public function getFormattedScoreRank()
+ {
+ return $this->formattedScoreRank;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPlayer(Google_Service_Games_Player $player)
+ {
+ $this->player = $player;
+ }
+
+ public function getPlayer()
+ {
+ return $this->player;
+ }
+
+ public function setScoreRank($scoreRank)
+ {
+ $this->scoreRank = $scoreRank;
+ }
+
+ public function getScoreRank()
+ {
+ return $this->scoreRank;
+ }
+
+ public function setScoreTag($scoreTag)
+ {
+ $this->scoreTag = $scoreTag;
+ }
+
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+
+ public function setScoreValue($scoreValue)
+ {
+ $this->scoreValue = $scoreValue;
+ }
+
+ public function getScoreValue()
+ {
+ return $this->scoreValue;
+ }
+
+ public function setTimeSpan($timeSpan)
+ {
+ $this->timeSpan = $timeSpan;
+ }
+
+ public function getTimeSpan()
+ {
+ return $this->timeSpan;
+ }
+
+ public function setWriteTimestampMillis($writeTimestampMillis)
+ {
+ $this->writeTimestampMillis = $writeTimestampMillis;
+ }
+
+ public function getWriteTimestampMillis()
+ {
+ return $this->writeTimestampMillis;
+ }
+}
+
+class Google_Service_Games_LeaderboardListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Leaderboard';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Games_LeaderboardScoreRank extends Google_Model
+{
+ public $formattedNumScores;
+ public $formattedRank;
+ public $kind;
+ public $numScores;
+ public $rank;
+
+ public function setFormattedNumScores($formattedNumScores)
+ {
+ $this->formattedNumScores = $formattedNumScores;
+ }
+
+ public function getFormattedNumScores()
+ {
+ return $this->formattedNumScores;
+ }
+
+ public function setFormattedRank($formattedRank)
+ {
+ $this->formattedRank = $formattedRank;
+ }
+
+ public function getFormattedRank()
+ {
+ return $this->formattedRank;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNumScores($numScores)
+ {
+ $this->numScores = $numScores;
+ }
+
+ public function getNumScores()
+ {
+ return $this->numScores;
+ }
+
+ public function setRank($rank)
+ {
+ $this->rank = $rank;
+ }
+
+ public function getRank()
+ {
+ return $this->rank;
+ }
+}
+
+class Google_Service_Games_LeaderboardScores extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $numScores;
+ protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry';
+ protected $playerScoreDataType = '';
+ public $prevPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setNumScores($numScores)
+ {
+ $this->numScores = $numScores;
+ }
+
+ public function getNumScores()
+ {
+ return $this->numScores;
+ }
+
+ public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
+ {
+ $this->playerScore = $playerScore;
+ }
+
+ public function getPlayerScore()
+ {
+ return $this->playerScore;
+ }
+
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
+
+class Google_Service_Games_MetagameConfig extends Google_Collection
+{
+ public $currentVersion;
+ public $kind;
+ protected $playerLevelsType = 'Google_Service_Games_PlayerLevel';
+ protected $playerLevelsDataType = 'array';
+
+ public function setCurrentVersion($currentVersion)
+ {
+ $this->currentVersion = $currentVersion;
+ }
+
+ public function getCurrentVersion()
+ {
+ return $this->currentVersion;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPlayerLevels($playerLevels)
+ {
+ $this->playerLevels = $playerLevels;
+ }
+
+ public function getPlayerLevels()
+ {
+ return $this->playerLevels;
+ }
+}
+
+class Google_Service_Games_NetworkDiagnostics extends Google_Model
+{
+ public $androidNetworkSubtype;
+ public $androidNetworkType;
+ public $iosNetworkType;
+ public $kind;
+ public $networkOperatorCode;
+ public $networkOperatorName;
+ public $registrationLatencyMillis;
+
+ public function setAndroidNetworkSubtype($androidNetworkSubtype)
+ {
+ $this->androidNetworkSubtype = $androidNetworkSubtype;
+ }
+
+ public function getAndroidNetworkSubtype()
+ {
+ return $this->androidNetworkSubtype;
+ }
+
+ public function setAndroidNetworkType($androidNetworkType)
+ {
+ $this->androidNetworkType = $androidNetworkType;
+ }
+
+ public function getAndroidNetworkType()
+ {
+ return $this->androidNetworkType;
+ }
+
+ public function setIosNetworkType($iosNetworkType)
+ {
+ $this->iosNetworkType = $iosNetworkType;
+ }
+
+ public function getIosNetworkType()
+ {
+ return $this->iosNetworkType;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNetworkOperatorCode($networkOperatorCode)
+ {
+ $this->networkOperatorCode = $networkOperatorCode;
+ }
+
+ public function getNetworkOperatorCode()
+ {
+ return $this->networkOperatorCode;
+ }
+
+ public function setNetworkOperatorName($networkOperatorName)
+ {
+ $this->networkOperatorName = $networkOperatorName;
+ }
+
+ public function getNetworkOperatorName()
+ {
+ return $this->networkOperatorName;
+ }
+
+ public function setRegistrationLatencyMillis($registrationLatencyMillis)
+ {
+ $this->registrationLatencyMillis = $registrationLatencyMillis;
+ }
+
+ public function getRegistrationLatencyMillis()
+ {
+ return $this->registrationLatencyMillis;
+ }
+}
+
+class Google_Service_Games_ParticipantResult extends Google_Model
+{
+ public $kind;
+ public $participantId;
+ public $placing;
+ public $result;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+
+ public function setPlacing($placing)
+ {
+ $this->placing = $placing;
+ }
+
+ public function getPlacing()
+ {
+ return $this->placing;
+ }
+
+ public function setResult($result)
+ {
+ $this->result = $result;
+ }
+
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
+
+class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
+{
+ protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
+ protected $bytesReceivedDataType = '';
+ protected $bytesSentType = 'Google_Service_Games_AggregateStats';
+ protected $bytesSentDataType = '';
+ public $kind;
+ public $numMessagesLost;
+ public $numMessagesReceived;
+ public $numMessagesSent;
+ public $numSendFailures;
+ protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
+ protected $roundtripLatencyMillisDataType = '';
+
+ public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
+ {
+ $this->bytesReceived = $bytesReceived;
+ }
+
+ public function getBytesReceived()
+ {
+ return $this->bytesReceived;
+ }
+
+ public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
+ {
+ $this->bytesSent = $bytesSent;
+ }
+
+ public function getBytesSent()
+ {
+ return $this->bytesSent;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNumMessagesLost($numMessagesLost)
+ {
+ $this->numMessagesLost = $numMessagesLost;
+ }
+
+ public function getNumMessagesLost()
+ {
+ return $this->numMessagesLost;
+ }
+
+ public function setNumMessagesReceived($numMessagesReceived)
+ {
+ $this->numMessagesReceived = $numMessagesReceived;
+ }
+
+ public function getNumMessagesReceived()
+ {
+ return $this->numMessagesReceived;
+ }
+
+ public function setNumMessagesSent($numMessagesSent)
+ {
+ $this->numMessagesSent = $numMessagesSent;
+ }
+
+ public function getNumMessagesSent()
+ {
+ return $this->numMessagesSent;
+ }
+
+ public function setNumSendFailures($numSendFailures)
+ {
+ $this->numSendFailures = $numSendFailures;
+ }
+
+ public function getNumSendFailures()
+ {
+ return $this->numSendFailures;
+ }
+
+ public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
+ {
+ $this->roundtripLatencyMillis = $roundtripLatencyMillis;
+ }
+
+ public function getRoundtripLatencyMillis()
{
- $this->writeTimestampMillis = $writeTimestampMillis;
+ return $this->roundtripLatencyMillis;
+ }
+}
+
+class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
+{
+ public $connectedTimestampMillis;
+ public $kind;
+ public $participantId;
+ protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
+ protected $reliableChannelDataType = '';
+ protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
+ protected $unreliableChannelDataType = '';
+
+ public function setConnectedTimestampMillis($connectedTimestampMillis)
+ {
+ $this->connectedTimestampMillis = $connectedTimestampMillis;
+ }
+
+ public function getConnectedTimestampMillis()
+ {
+ return $this->connectedTimestampMillis;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setParticipantId($participantId)
+ {
+ $this->participantId = $participantId;
+ }
+
+ public function getParticipantId()
+ {
+ return $this->participantId;
+ }
+
+ public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
+ {
+ $this->reliableChannel = $reliableChannel;
+ }
+
+ public function getReliableChannel()
+ {
+ return $this->reliableChannel;
+ }
+
+ public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
+ {
+ $this->unreliableChannel = $unreliableChannel;
+ }
+
+ public function getUnreliableChannel()
+ {
+ return $this->unreliableChannel;
+ }
+}
+
+class Google_Service_Games_Played extends Google_Model
+{
+ public $autoMatched;
+ public $kind;
+ public $timeMillis;
+
+ public function setAutoMatched($autoMatched)
+ {
+ $this->autoMatched = $autoMatched;
+ }
+
+ public function getAutoMatched()
+ {
+ return $this->autoMatched;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setTimeMillis($timeMillis)
+ {
+ $this->timeMillis = $timeMillis;
+ }
+
+ public function getTimeMillis()
+ {
+ return $this->timeMillis;
+ }
+}
+
+class Google_Service_Games_Player extends Google_Model
+{
+ public $avatarImageUrl;
+ public $displayName;
+ protected $experienceInfoType = 'Google_Service_Games_PlayerExperienceInfo';
+ protected $experienceInfoDataType = '';
+ public $kind;
+ protected $lastPlayedWithType = 'Google_Service_Games_Played';
+ protected $lastPlayedWithDataType = '';
+ protected $nameType = 'Google_Service_Games_PlayerName';
+ protected $nameDataType = '';
+ public $playerId;
+ public $title;
+
+ public function setAvatarImageUrl($avatarImageUrl)
+ {
+ $this->avatarImageUrl = $avatarImageUrl;
+ }
+
+ public function getAvatarImageUrl()
+ {
+ return $this->avatarImageUrl;
+ }
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setExperienceInfo(Google_Service_Games_PlayerExperienceInfo $experienceInfo)
+ {
+ $this->experienceInfo = $experienceInfo;
+ }
+
+ public function getExperienceInfo()
+ {
+ return $this->experienceInfo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
+ {
+ $this->lastPlayedWith = $lastPlayedWith;
+ }
+
+ public function getLastPlayedWith()
+ {
+ return $this->lastPlayedWith;
+ }
+
+ public function setName(Google_Service_Games_PlayerName $name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPlayerId($playerId)
+ {
+ $this->playerId = $playerId;
+ }
+
+ public function getPlayerId()
+ {
+ return $this->playerId;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Games_PlayerAchievement extends Google_Model
+{
+ public $achievementState;
+ public $currentSteps;
+ public $experiencePoints;
+ public $formattedCurrentStepsString;
+ public $id;
+ public $kind;
+ public $lastUpdatedTimestamp;
+
+ public function setAchievementState($achievementState)
+ {
+ $this->achievementState = $achievementState;
+ }
+
+ public function getAchievementState()
+ {
+ return $this->achievementState;
+ }
+
+ public function setCurrentSteps($currentSteps)
+ {
+ $this->currentSteps = $currentSteps;
+ }
+
+ public function getCurrentSteps()
+ {
+ return $this->currentSteps;
+ }
+
+ public function setExperiencePoints($experiencePoints)
+ {
+ $this->experiencePoints = $experiencePoints;
+ }
+
+ public function getExperiencePoints()
+ {
+ return $this->experiencePoints;
+ }
+
+ public function setFormattedCurrentStepsString($formattedCurrentStepsString)
+ {
+ $this->formattedCurrentStepsString = $formattedCurrentStepsString;
+ }
+
+ public function getFormattedCurrentStepsString()
+ {
+ return $this->formattedCurrentStepsString;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
+ {
+ $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
}
- public function getWriteTimestampMillis()
+ public function getLastUpdatedTimestamp()
{
- return $this->writeTimestampMillis;
+ return $this->lastUpdatedTimestamp;
}
}
-class Google_Service_Games_LeaderboardListResponse extends Google_Collection
+class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_Leaderboard';
+ protected $itemsType = 'Google_Service_Games_PlayerAchievement';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -3154,32 +4880,32 @@ public function getNextPageToken()
}
}
-class Google_Service_Games_LeaderboardScoreRank extends Google_Model
+class Google_Service_Games_PlayerEvent extends Google_Model
{
- public $formattedNumScores;
- public $formattedRank;
+ public $definitionId;
+ public $formattedNumEvents;
public $kind;
- public $numScores;
- public $rank;
+ public $numEvents;
+ public $playerId;
- public function setFormattedNumScores($formattedNumScores)
+ public function setDefinitionId($definitionId)
{
- $this->formattedNumScores = $formattedNumScores;
+ $this->definitionId = $definitionId;
}
- public function getFormattedNumScores()
+ public function getDefinitionId()
{
- return $this->formattedNumScores;
+ return $this->definitionId;
}
- public function setFormattedRank($formattedRank)
+ public function setFormattedNumEvents($formattedNumEvents)
{
- $this->formattedRank = $formattedRank;
+ $this->formattedNumEvents = $formattedNumEvents;
}
- public function getFormattedRank()
+ public function getFormattedNumEvents()
{
- return $this->formattedRank;
+ return $this->formattedNumEvents;
}
public function setKind($kind)
@@ -3192,37 +4918,33 @@ public function getKind()
return $this->kind;
}
- public function setNumScores($numScores)
+ public function setNumEvents($numEvents)
{
- $this->numScores = $numScores;
+ $this->numEvents = $numEvents;
}
- public function getNumScores()
+ public function getNumEvents()
{
- return $this->numScores;
+ return $this->numEvents;
}
- public function setRank($rank)
+ public function setPlayerId($playerId)
{
- $this->rank = $rank;
+ $this->playerId = $playerId;
}
- public function getRank()
+ public function getPlayerId()
{
- return $this->rank;
+ return $this->playerId;
}
}
-class Google_Service_Games_LeaderboardScores extends Google_Collection
+class Google_Service_Games_PlayerEventListResponse extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
+ protected $itemsType = 'Google_Service_Games_PlayerEvent';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
- public $numScores;
- protected $playerScoreType = 'Google_Service_Games_LeaderboardEntry';
- protected $playerScoreDataType = '';
- public $prevPageToken;
public function setItems($items)
{
@@ -3253,76 +4975,36 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
-
- public function setNumScores($numScores)
- {
- $this->numScores = $numScores;
- }
-
- public function getNumScores()
- {
- return $this->numScores;
- }
-
- public function setPlayerScore(Google_Service_Games_LeaderboardEntry $playerScore)
- {
- $this->playerScore = $playerScore;
- }
-
- public function getPlayerScore()
- {
- return $this->playerScore;
- }
-
- public function setPrevPageToken($prevPageToken)
- {
- $this->prevPageToken = $prevPageToken;
- }
-
- public function getPrevPageToken()
- {
- return $this->prevPageToken;
- }
}
-class Google_Service_Games_NetworkDiagnostics extends Google_Model
+class Google_Service_Games_PlayerExperienceInfo extends Google_Model
{
- public $androidNetworkSubtype;
- public $androidNetworkType;
- public $iosNetworkType;
+ public $currentExperiencePoints;
+ protected $currentLevelType = 'Google_Service_Games_PlayerLevel';
+ protected $currentLevelDataType = '';
public $kind;
- public $networkOperatorCode;
- public $networkOperatorName;
- public $registrationLatencyMillis;
-
- public function setAndroidNetworkSubtype($androidNetworkSubtype)
- {
- $this->androidNetworkSubtype = $androidNetworkSubtype;
- }
-
- public function getAndroidNetworkSubtype()
- {
- return $this->androidNetworkSubtype;
- }
+ public $lastLevelUpTimestampMillis;
+ protected $nextLevelType = 'Google_Service_Games_PlayerLevel';
+ protected $nextLevelDataType = '';
- public function setAndroidNetworkType($androidNetworkType)
+ public function setCurrentExperiencePoints($currentExperiencePoints)
{
- $this->androidNetworkType = $androidNetworkType;
+ $this->currentExperiencePoints = $currentExperiencePoints;
}
- public function getAndroidNetworkType()
+ public function getCurrentExperiencePoints()
{
- return $this->androidNetworkType;
+ return $this->currentExperiencePoints;
}
- public function setIosNetworkType($iosNetworkType)
+ public function setCurrentLevel(Google_Service_Games_PlayerLevel $currentLevel)
{
- $this->iosNetworkType = $iosNetworkType;
+ $this->currentLevel = $currentLevel;
}
- public function getIosNetworkType()
+ public function getCurrentLevel()
{
- return $this->iosNetworkType;
+ return $this->currentLevel;
}
public function setKind($kind)
@@ -3335,43 +5017,40 @@ public function getKind()
return $this->kind;
}
- public function setNetworkOperatorCode($networkOperatorCode)
- {
- $this->networkOperatorCode = $networkOperatorCode;
- }
-
- public function getNetworkOperatorCode()
- {
- return $this->networkOperatorCode;
- }
-
- public function setNetworkOperatorName($networkOperatorName)
+ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
{
- $this->networkOperatorName = $networkOperatorName;
+ $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
}
- public function getNetworkOperatorName()
+ public function getLastLevelUpTimestampMillis()
{
- return $this->networkOperatorName;
+ return $this->lastLevelUpTimestampMillis;
}
- public function setRegistrationLatencyMillis($registrationLatencyMillis)
+ public function setNextLevel(Google_Service_Games_PlayerLevel $nextLevel)
{
- $this->registrationLatencyMillis = $registrationLatencyMillis;
+ $this->nextLevel = $nextLevel;
}
- public function getRegistrationLatencyMillis()
+ public function getNextLevel()
{
- return $this->registrationLatencyMillis;
+ return $this->nextLevel;
}
}
-class Google_Service_Games_ParticipantResult extends Google_Model
+class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
{
public $kind;
- public $participantId;
- public $placing;
- public $result;
+ public $leaderboardId;
+ protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
+ protected $publicRankDataType = '';
+ public $scoreString;
+ public $scoreTag;
+ public $scoreValue;
+ protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
+ protected $socialRankDataType = '';
+ public $timeSpan;
+ public $writeTimestamp;
public function setKind($kind)
{
@@ -3383,150 +5062,104 @@ public function getKind()
return $this->kind;
}
- public function setParticipantId($participantId)
- {
- $this->participantId = $participantId;
- }
-
- public function getParticipantId()
- {
- return $this->participantId;
- }
-
- public function setPlacing($placing)
- {
- $this->placing = $placing;
- }
-
- public function getPlacing()
- {
- return $this->placing;
- }
-
- public function setResult($result)
- {
- $this->result = $result;
- }
-
- public function getResult()
- {
- return $this->result;
- }
-}
-
-class Google_Service_Games_PeerChannelDiagnostics extends Google_Model
-{
- protected $bytesReceivedType = 'Google_Service_Games_AggregateStats';
- protected $bytesReceivedDataType = '';
- protected $bytesSentType = 'Google_Service_Games_AggregateStats';
- protected $bytesSentDataType = '';
- public $kind;
- public $numMessagesLost;
- public $numMessagesReceived;
- public $numMessagesSent;
- public $numSendFailures;
- protected $roundtripLatencyMillisType = 'Google_Service_Games_AggregateStats';
- protected $roundtripLatencyMillisDataType = '';
-
- public function setBytesReceived(Google_Service_Games_AggregateStats $bytesReceived)
+ public function setLeaderboardId($leaderboardId)
{
- $this->bytesReceived = $bytesReceived;
+ $this->leaderboardId = $leaderboardId;
}
- public function getBytesReceived()
+ public function getLeaderboardId()
{
- return $this->bytesReceived;
+ return $this->leaderboardId;
}
- public function setBytesSent(Google_Service_Games_AggregateStats $bytesSent)
+ public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
{
- $this->bytesSent = $bytesSent;
+ $this->publicRank = $publicRank;
}
- public function getBytesSent()
+ public function getPublicRank()
{
- return $this->bytesSent;
+ return $this->publicRank;
}
- public function setKind($kind)
+ public function setScoreString($scoreString)
{
- $this->kind = $kind;
+ $this->scoreString = $scoreString;
}
- public function getKind()
+ public function getScoreString()
{
- return $this->kind;
+ return $this->scoreString;
}
- public function setNumMessagesLost($numMessagesLost)
+ public function setScoreTag($scoreTag)
{
- $this->numMessagesLost = $numMessagesLost;
+ $this->scoreTag = $scoreTag;
}
- public function getNumMessagesLost()
+ public function getScoreTag()
{
- return $this->numMessagesLost;
+ return $this->scoreTag;
}
- public function setNumMessagesReceived($numMessagesReceived)
+ public function setScoreValue($scoreValue)
{
- $this->numMessagesReceived = $numMessagesReceived;
+ $this->scoreValue = $scoreValue;
}
- public function getNumMessagesReceived()
+ public function getScoreValue()
{
- return $this->numMessagesReceived;
+ return $this->scoreValue;
}
- public function setNumMessagesSent($numMessagesSent)
+ public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
{
- $this->numMessagesSent = $numMessagesSent;
+ $this->socialRank = $socialRank;
}
- public function getNumMessagesSent()
+ public function getSocialRank()
{
- return $this->numMessagesSent;
+ return $this->socialRank;
}
- public function setNumSendFailures($numSendFailures)
+ public function setTimeSpan($timeSpan)
{
- $this->numSendFailures = $numSendFailures;
+ $this->timeSpan = $timeSpan;
}
- public function getNumSendFailures()
+ public function getTimeSpan()
{
- return $this->numSendFailures;
+ return $this->timeSpan;
}
- public function setRoundtripLatencyMillis(Google_Service_Games_AggregateStats $roundtripLatencyMillis)
+ public function setWriteTimestamp($writeTimestamp)
{
- $this->roundtripLatencyMillis = $roundtripLatencyMillis;
+ $this->writeTimestamp = $writeTimestamp;
}
- public function getRoundtripLatencyMillis()
+ public function getWriteTimestamp()
{
- return $this->roundtripLatencyMillis;
+ return $this->writeTimestamp;
}
}
-class Google_Service_Games_PeerSessionDiagnostics extends Google_Model
+class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
{
- public $connectedTimestampMillis;
+ protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
+ protected $itemsDataType = 'array';
public $kind;
- public $participantId;
- protected $reliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
- protected $reliableChannelDataType = '';
- protected $unreliableChannelType = 'Google_Service_Games_PeerChannelDiagnostics';
- protected $unreliableChannelDataType = '';
+ public $nextPageToken;
+ protected $playerType = 'Google_Service_Games_Player';
+ protected $playerDataType = '';
- public function setConnectedTimestampMillis($connectedTimestampMillis)
+ public function setItems($items)
{
- $this->connectedTimestampMillis = $connectedTimestampMillis;
+ $this->items = $items;
}
- public function getConnectedTimestampMillis()
+ public function getItems()
{
- return $this->connectedTimestampMillis;
+ return $this->items;
}
public function setKind($kind)
@@ -3539,103 +5172,90 @@ public function getKind()
return $this->kind;
}
- public function setParticipantId($participantId)
- {
- $this->participantId = $participantId;
- }
-
- public function getParticipantId()
- {
- return $this->participantId;
- }
-
- public function setReliableChannel(Google_Service_Games_PeerChannelDiagnostics $reliableChannel)
+ public function setNextPageToken($nextPageToken)
{
- $this->reliableChannel = $reliableChannel;
+ $this->nextPageToken = $nextPageToken;
}
- public function getReliableChannel()
+ public function getNextPageToken()
{
- return $this->reliableChannel;
+ return $this->nextPageToken;
}
- public function setUnreliableChannel(Google_Service_Games_PeerChannelDiagnostics $unreliableChannel)
+ public function setPlayer(Google_Service_Games_Player $player)
{
- $this->unreliableChannel = $unreliableChannel;
+ $this->player = $player;
}
- public function getUnreliableChannel()
+ public function getPlayer()
{
- return $this->unreliableChannel;
+ return $this->player;
}
}
-class Google_Service_Games_Played extends Google_Model
+class Google_Service_Games_PlayerLevel extends Google_Model
{
- public $autoMatched;
public $kind;
- public $timeMillis;
+ public $level;
+ public $maxExperiencePoints;
+ public $minExperiencePoints;
- public function setAutoMatched($autoMatched)
+ public function setKind($kind)
{
- $this->autoMatched = $autoMatched;
+ $this->kind = $kind;
}
- public function getAutoMatched()
+ public function getKind()
{
- return $this->autoMatched;
+ return $this->kind;
}
- public function setKind($kind)
+ public function setLevel($level)
{
- $this->kind = $kind;
+ $this->level = $level;
}
- public function getKind()
+ public function getLevel()
{
- return $this->kind;
+ return $this->level;
}
- public function setTimeMillis($timeMillis)
+ public function setMaxExperiencePoints($maxExperiencePoints)
{
- $this->timeMillis = $timeMillis;
+ $this->maxExperiencePoints = $maxExperiencePoints;
}
- public function getTimeMillis()
+ public function getMaxExperiencePoints()
{
- return $this->timeMillis;
+ return $this->maxExperiencePoints;
}
-}
-
-class Google_Service_Games_Player extends Google_Model
-{
- public $avatarImageUrl;
- public $displayName;
- public $kind;
- protected $lastPlayedWithType = 'Google_Service_Games_Played';
- protected $lastPlayedWithDataType = '';
- protected $nameType = 'Google_Service_Games_PlayerName';
- protected $nameDataType = '';
- public $playerId;
- public function setAvatarImageUrl($avatarImageUrl)
+ public function setMinExperiencePoints($minExperiencePoints)
{
- $this->avatarImageUrl = $avatarImageUrl;
+ $this->minExperiencePoints = $minExperiencePoints;
}
- public function getAvatarImageUrl()
+ public function getMinExperiencePoints()
{
- return $this->avatarImageUrl;
+ return $this->minExperiencePoints;
}
+}
- public function setDisplayName($displayName)
+class Google_Service_Games_PlayerListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Player';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
{
- $this->displayName = $displayName;
+ $this->items = $items;
}
- public function getDisplayName()
+ public function getItems()
{
- return $this->displayName;
+ return $this->items;
}
public function setKind($kind)
@@ -3648,123 +5268,107 @@ public function getKind()
return $this->kind;
}
- public function setLastPlayedWith(Google_Service_Games_Played $lastPlayedWith)
+ public function setNextPageToken($nextPageToken)
{
- $this->lastPlayedWith = $lastPlayedWith;
+ $this->nextPageToken = $nextPageToken;
}
- public function getLastPlayedWith()
+ public function getNextPageToken()
{
- return $this->lastPlayedWith;
+ return $this->nextPageToken;
}
+}
- public function setName(Google_Service_Games_PlayerName $name)
+class Google_Service_Games_PlayerName extends Google_Model
+{
+ public $familyName;
+ public $givenName;
+
+ public function setFamilyName($familyName)
{
- $this->name = $name;
+ $this->familyName = $familyName;
}
- public function getName()
+ public function getFamilyName()
{
- return $this->name;
+ return $this->familyName;
}
- public function setPlayerId($playerId)
+ public function setGivenName($givenName)
{
- $this->playerId = $playerId;
+ $this->givenName = $givenName;
}
- public function getPlayerId()
+ public function getGivenName()
{
- return $this->playerId;
+ return $this->givenName;
}
}
-class Google_Service_Games_PlayerAchievement extends Google_Model
+class Google_Service_Games_PlayerScore extends Google_Model
{
- public $achievementState;
- public $currentSteps;
- public $formattedCurrentStepsString;
- public $id;
+ public $formattedScore;
public $kind;
- public $lastUpdatedTimestamp;
-
- public function setAchievementState($achievementState)
- {
- $this->achievementState = $achievementState;
- }
-
- public function getAchievementState()
- {
- return $this->achievementState;
- }
+ public $score;
+ public $scoreTag;
+ public $timeSpan;
- public function setCurrentSteps($currentSteps)
+ public function setFormattedScore($formattedScore)
{
- $this->currentSteps = $currentSteps;
+ $this->formattedScore = $formattedScore;
}
- public function getCurrentSteps()
+ public function getFormattedScore()
{
- return $this->currentSteps;
+ return $this->formattedScore;
}
- public function setFormattedCurrentStepsString($formattedCurrentStepsString)
+ public function setKind($kind)
{
- $this->formattedCurrentStepsString = $formattedCurrentStepsString;
+ $this->kind = $kind;
}
- public function getFormattedCurrentStepsString()
+ public function getKind()
{
- return $this->formattedCurrentStepsString;
+ return $this->kind;
}
- public function setId($id)
+ public function setScore($score)
{
- $this->id = $id;
+ $this->score = $score;
}
- public function getId()
+ public function getScore()
{
- return $this->id;
+ return $this->score;
}
- public function setKind($kind)
+ public function setScoreTag($scoreTag)
{
- $this->kind = $kind;
+ $this->scoreTag = $scoreTag;
}
- public function getKind()
+ public function getScoreTag()
{
- return $this->kind;
+ return $this->scoreTag;
}
- public function setLastUpdatedTimestamp($lastUpdatedTimestamp)
+ public function setTimeSpan($timeSpan)
{
- $this->lastUpdatedTimestamp = $lastUpdatedTimestamp;
+ $this->timeSpan = $timeSpan;
}
- public function getLastUpdatedTimestamp()
+ public function getTimeSpan()
{
- return $this->lastUpdatedTimestamp;
+ return $this->timeSpan;
}
}
-class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
+class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_PlayerAchievement';
- protected $itemsDataType = 'array';
public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
+ protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
+ protected $submittedScoresDataType = 'array';
public function setKind($kind)
{
@@ -3776,30 +5380,46 @@ public function getKind()
return $this->kind;
}
- public function setNextPageToken($nextPageToken)
+ public function setSubmittedScores($submittedScores)
{
- $this->nextPageToken = $nextPageToken;
+ $this->submittedScores = $submittedScores;
}
- public function getNextPageToken()
+ public function getSubmittedScores()
{
- return $this->nextPageToken;
+ return $this->submittedScores;
}
}
-class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
+class Google_Service_Games_PlayerScoreResponse extends Google_Collection
{
+ public $beatenScoreTimeSpans;
+ public $formattedScore;
public $kind;
public $leaderboardId;
- protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
- protected $publicRankDataType = '';
- public $scoreString;
public $scoreTag;
- public $scoreValue;
- protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
- protected $socialRankDataType = '';
- public $timeSpan;
- public $writeTimestamp;
+ protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore';
+ protected $unbeatenScoresDataType = 'array';
+
+ public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
+ {
+ $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
+ }
+
+ public function getBeatenScoreTimeSpans()
+ {
+ return $this->beatenScoreTimeSpans;
+ }
+
+ public function setFormattedScore($formattedScore)
+ {
+ $this->formattedScore = $formattedScore;
+ }
+
+ public function getFormattedScore()
+ {
+ return $this->formattedScore;
+ }
public function setKind($kind)
{
@@ -3821,94 +5441,117 @@ public function getLeaderboardId()
return $this->leaderboardId;
}
- public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
+ public function setScoreTag($scoreTag)
{
- $this->publicRank = $publicRank;
+ $this->scoreTag = $scoreTag;
+ }
+
+ public function getScoreTag()
+ {
+ return $this->scoreTag;
+ }
+
+ public function setUnbeatenScores($unbeatenScores)
+ {
+ $this->unbeatenScores = $unbeatenScores;
+ }
+
+ public function getUnbeatenScores()
+ {
+ return $this->unbeatenScores;
}
+}
+
+class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
+{
+ public $kind;
+ protected $scoresType = 'Google_Service_Games_ScoreSubmission';
+ protected $scoresDataType = 'array';
- public function getPublicRank()
+ public function setKind($kind)
{
- return $this->publicRank;
+ $this->kind = $kind;
}
- public function setScoreString($scoreString)
+ public function getKind()
{
- $this->scoreString = $scoreString;
+ return $this->kind;
}
- public function getScoreString()
+ public function setScores($scores)
{
- return $this->scoreString;
+ $this->scores = $scores;
}
- public function setScoreTag($scoreTag)
+ public function getScores()
{
- $this->scoreTag = $scoreTag;
+ return $this->scores;
}
+}
- public function getScoreTag()
- {
- return $this->scoreTag;
- }
+class Google_Service_Games_PushToken extends Google_Model
+{
+ public $clientRevision;
+ protected $idType = 'Google_Service_Games_PushTokenId';
+ protected $idDataType = '';
+ public $kind;
+ public $language;
- public function setScoreValue($scoreValue)
+ public function setClientRevision($clientRevision)
{
- $this->scoreValue = $scoreValue;
+ $this->clientRevision = $clientRevision;
}
- public function getScoreValue()
+ public function getClientRevision()
{
- return $this->scoreValue;
+ return $this->clientRevision;
}
- public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
+ public function setId(Google_Service_Games_PushTokenId $id)
{
- $this->socialRank = $socialRank;
+ $this->id = $id;
}
- public function getSocialRank()
+ public function getId()
{
- return $this->socialRank;
+ return $this->id;
}
- public function setTimeSpan($timeSpan)
+ public function setKind($kind)
{
- $this->timeSpan = $timeSpan;
+ $this->kind = $kind;
}
- public function getTimeSpan()
+ public function getKind()
{
- return $this->timeSpan;
+ return $this->kind;
}
- public function setWriteTimestamp($writeTimestamp)
+ public function setLanguage($language)
{
- $this->writeTimestamp = $writeTimestamp;
+ $this->language = $language;
}
- public function getWriteTimestamp()
+ public function getLanguage()
{
- return $this->writeTimestamp;
+ return $this->language;
}
}
-class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
+class Google_Service_Games_PushTokenId extends Google_Model
{
- protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
- protected $itemsDataType = 'array';
+ protected $iosType = 'Google_Service_Games_PushTokenIdIos';
+ protected $iosDataType = '';
public $kind;
- public $nextPageToken;
- protected $playerType = 'Google_Service_Games_Player';
- protected $playerDataType = '';
- public function setItems($items)
+ public function setIos(Google_Service_Games_PushTokenIdIos $ios)
{
- $this->items = $items;
+ $this->ios = $ios;
}
- public function getItems()
+ public function getIos()
{
- return $this->items;
+ return $this->ios;
}
public function setKind($kind)
@@ -3920,302 +5563,329 @@ public function getKind()
{
return $this->kind;
}
+}
- public function setNextPageToken($nextPageToken)
+class Google_Service_Games_PushTokenIdIos extends Google_Model
+{
+ public $apnsDeviceToken;
+ public $apnsEnvironment;
+
+ public function setApnsDeviceToken($apnsDeviceToken)
{
- $this->nextPageToken = $nextPageToken;
+ $this->apnsDeviceToken = $apnsDeviceToken;
}
- public function getNextPageToken()
+ public function getApnsDeviceToken()
{
- return $this->nextPageToken;
+ return $this->apnsDeviceToken;
}
- public function setPlayer(Google_Service_Games_Player $player)
+ public function setApnsEnvironment($apnsEnvironment)
{
- $this->player = $player;
+ $this->apnsEnvironment = $apnsEnvironment;
}
- public function getPlayer()
+ public function getApnsEnvironment()
{
- return $this->player;
+ return $this->apnsEnvironment;
}
}
-class Google_Service_Games_PlayerListResponse extends Google_Collection
+class Google_Service_Games_Quest extends Google_Collection
{
- protected $itemsType = 'Google_Service_Games_Player';
- protected $itemsDataType = 'array';
+ public $acceptedTimestampMillis;
+ public $applicationId;
+ public $bannerUrl;
+ public $description;
+ public $endTimestampMillis;
+ public $iconUrl;
+ public $id;
+ public $isDefaultBannerUrl;
+ public $isDefaultIconUrl;
public $kind;
- public $nextPageToken;
+ public $lastUpdatedTimestampMillis;
+ protected $milestonesType = 'Google_Service_Games_QuestMilestone';
+ protected $milestonesDataType = 'array';
+ public $name;
+ public $notifyTimestampMillis;
+ public $startTimestampMillis;
+ public $state;
- public function setItems($items)
+ public function setAcceptedTimestampMillis($acceptedTimestampMillis)
{
- $this->items = $items;
+ $this->acceptedTimestampMillis = $acceptedTimestampMillis;
}
- public function getItems()
+ public function getAcceptedTimestampMillis()
{
- return $this->items;
+ return $this->acceptedTimestampMillis;
}
- public function setKind($kind)
+ public function setApplicationId($applicationId)
{
- $this->kind = $kind;
+ $this->applicationId = $applicationId;
}
- public function getKind()
+ public function getApplicationId()
{
- return $this->kind;
+ return $this->applicationId;
}
- public function setNextPageToken($nextPageToken)
+ public function setBannerUrl($bannerUrl)
{
- $this->nextPageToken = $nextPageToken;
+ $this->bannerUrl = $bannerUrl;
}
- public function getNextPageToken()
+ public function getBannerUrl()
{
- return $this->nextPageToken;
+ return $this->bannerUrl;
}
-}
-
-class Google_Service_Games_PlayerName extends Google_Model
-{
- public $familyName;
- public $givenName;
- public function setFamilyName($familyName)
+ public function setDescription($description)
{
- $this->familyName = $familyName;
+ $this->description = $description;
}
- public function getFamilyName()
+ public function getDescription()
{
- return $this->familyName;
+ return $this->description;
}
- public function setGivenName($givenName)
+ public function setEndTimestampMillis($endTimestampMillis)
{
- $this->givenName = $givenName;
+ $this->endTimestampMillis = $endTimestampMillis;
}
- public function getGivenName()
+ public function getEndTimestampMillis()
{
- return $this->givenName;
+ return $this->endTimestampMillis;
}
-}
-
-class Google_Service_Games_PlayerScore extends Google_Model
-{
- public $formattedScore;
- public $kind;
- public $score;
- public $scoreTag;
- public $timeSpan;
- public function setFormattedScore($formattedScore)
+ public function setIconUrl($iconUrl)
{
- $this->formattedScore = $formattedScore;
+ $this->iconUrl = $iconUrl;
}
- public function getFormattedScore()
+ public function getIconUrl()
{
- return $this->formattedScore;
+ return $this->iconUrl;
}
- public function setKind($kind)
+ public function setId($id)
{
- $this->kind = $kind;
+ $this->id = $id;
}
- public function getKind()
+ public function getId()
{
- return $this->kind;
+ return $this->id;
}
- public function setScore($score)
+ public function setIsDefaultBannerUrl($isDefaultBannerUrl)
{
- $this->score = $score;
+ $this->isDefaultBannerUrl = $isDefaultBannerUrl;
}
- public function getScore()
+ public function getIsDefaultBannerUrl()
{
- return $this->score;
+ return $this->isDefaultBannerUrl;
}
- public function setScoreTag($scoreTag)
+ public function setIsDefaultIconUrl($isDefaultIconUrl)
{
- $this->scoreTag = $scoreTag;
+ $this->isDefaultIconUrl = $isDefaultIconUrl;
}
- public function getScoreTag()
+ public function getIsDefaultIconUrl()
{
- return $this->scoreTag;
+ return $this->isDefaultIconUrl;
}
- public function setTimeSpan($timeSpan)
+ public function setKind($kind)
{
- $this->timeSpan = $timeSpan;
+ $this->kind = $kind;
}
- public function getTimeSpan()
+ public function getKind()
{
- return $this->timeSpan;
+ return $this->kind;
}
-}
-class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
-{
- public $kind;
- protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
- protected $submittedScoresDataType = 'array';
+ public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
+ {
+ $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
+ }
- public function setKind($kind)
+ public function getLastUpdatedTimestampMillis()
{
- $this->kind = $kind;
+ return $this->lastUpdatedTimestampMillis;
}
- public function getKind()
+ public function setMilestones($milestones)
{
- return $this->kind;
+ $this->milestones = $milestones;
}
- public function setSubmittedScores($submittedScores)
+ public function getMilestones()
{
- $this->submittedScores = $submittedScores;
+ return $this->milestones;
}
- public function getSubmittedScores()
+ public function setName($name)
{
- return $this->submittedScores;
+ $this->name = $name;
}
-}
-class Google_Service_Games_PlayerScoreResponse extends Google_Collection
-{
- public $beatenScoreTimeSpans;
- public $formattedScore;
- public $kind;
- public $leaderboardId;
- public $scoreTag;
- protected $unbeatenScoresType = 'Google_Service_Games_PlayerScore';
- protected $unbeatenScoresDataType = 'array';
+ public function getName()
+ {
+ return $this->name;
+ }
- public function setBeatenScoreTimeSpans($beatenScoreTimeSpans)
+ public function setNotifyTimestampMillis($notifyTimestampMillis)
{
- $this->beatenScoreTimeSpans = $beatenScoreTimeSpans;
+ $this->notifyTimestampMillis = $notifyTimestampMillis;
}
- public function getBeatenScoreTimeSpans()
+ public function getNotifyTimestampMillis()
{
- return $this->beatenScoreTimeSpans;
+ return $this->notifyTimestampMillis;
}
- public function setFormattedScore($formattedScore)
+ public function setStartTimestampMillis($startTimestampMillis)
{
- $this->formattedScore = $formattedScore;
+ $this->startTimestampMillis = $startTimestampMillis;
}
- public function getFormattedScore()
+ public function getStartTimestampMillis()
{
- return $this->formattedScore;
+ return $this->startTimestampMillis;
}
- public function setKind($kind)
+ public function setState($state)
{
- $this->kind = $kind;
+ $this->state = $state;
}
- public function getKind()
+ public function getState()
{
- return $this->kind;
+ return $this->state;
}
+}
- public function setLeaderboardId($leaderboardId)
+class Google_Service_Games_QuestContribution extends Google_Model
+{
+ public $formattedValue;
+ public $kind;
+ public $value;
+
+ public function setFormattedValue($formattedValue)
{
- $this->leaderboardId = $leaderboardId;
+ $this->formattedValue = $formattedValue;
}
- public function getLeaderboardId()
+ public function getFormattedValue()
{
- return $this->leaderboardId;
+ return $this->formattedValue;
}
- public function setScoreTag($scoreTag)
+ public function setKind($kind)
{
- $this->scoreTag = $scoreTag;
+ $this->kind = $kind;
}
- public function getScoreTag()
+ public function getKind()
{
- return $this->scoreTag;
+ return $this->kind;
}
- public function setUnbeatenScores($unbeatenScores)
+ public function setValue($value)
{
- $this->unbeatenScores = $unbeatenScores;
+ $this->value = $value;
}
- public function getUnbeatenScores()
+ public function getValue()
{
- return $this->unbeatenScores;
+ return $this->value;
}
}
-class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
+class Google_Service_Games_QuestCriterion extends Google_Model
{
+ protected $completionContributionType = 'Google_Service_Games_QuestContribution';
+ protected $completionContributionDataType = '';
+ protected $currentContributionType = 'Google_Service_Games_QuestContribution';
+ protected $currentContributionDataType = '';
+ public $eventId;
+ protected $initialPlayerProgressType = 'Google_Service_Games_QuestContribution';
+ protected $initialPlayerProgressDataType = '';
public $kind;
- protected $scoresType = 'Google_Service_Games_ScoreSubmission';
- protected $scoresDataType = 'array';
- public function setKind($kind)
+ public function setCompletionContribution(Google_Service_Games_QuestContribution $completionContribution)
+ {
+ $this->completionContribution = $completionContribution;
+ }
+
+ public function getCompletionContribution()
+ {
+ return $this->completionContribution;
+ }
+
+ public function setCurrentContribution(Google_Service_Games_QuestContribution $currentContribution)
{
- $this->kind = $kind;
+ $this->currentContribution = $currentContribution;
}
- public function getKind()
+ public function getCurrentContribution()
{
- return $this->kind;
+ return $this->currentContribution;
}
- public function setScores($scores)
+ public function setEventId($eventId)
{
- $this->scores = $scores;
+ $this->eventId = $eventId;
}
- public function getScores()
+ public function getEventId()
{
- return $this->scores;
+ return $this->eventId;
}
-}
-class Google_Service_Games_PushToken extends Google_Model
-{
- public $clientRevision;
- protected $idType = 'Google_Service_Games_PushTokenId';
- protected $idDataType = '';
- public $kind;
- public $language;
+ public function setInitialPlayerProgress(Google_Service_Games_QuestContribution $initialPlayerProgress)
+ {
+ $this->initialPlayerProgress = $initialPlayerProgress;
+ }
- public function setClientRevision($clientRevision)
+ public function getInitialPlayerProgress()
{
- $this->clientRevision = $clientRevision;
+ return $this->initialPlayerProgress;
}
- public function getClientRevision()
+ public function setKind($kind)
{
- return $this->clientRevision;
+ $this->kind = $kind;
}
- public function setId(Google_Service_Games_PushTokenId $id)
+ public function getKind()
{
- $this->id = $id;
+ return $this->kind;
}
+}
- public function getId()
+class Google_Service_Games_QuestListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Quest';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
{
- return $this->id;
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
}
public function setKind($kind)
@@ -4228,67 +5898,74 @@ public function getKind()
return $this->kind;
}
- public function setLanguage($language)
+ public function setNextPageToken($nextPageToken)
{
- $this->language = $language;
+ $this->nextPageToken = $nextPageToken;
}
- public function getLanguage()
+ public function getNextPageToken()
{
- return $this->language;
+ return $this->nextPageToken;
}
}
-class Google_Service_Games_PushTokenId extends Google_Model
+class Google_Service_Games_QuestMilestone extends Google_Collection
{
- protected $iosType = 'Google_Service_Games_PushTokenIdIos';
- protected $iosDataType = '';
+ public $completionRewardData;
+ protected $criteriaType = 'Google_Service_Games_QuestCriterion';
+ protected $criteriaDataType = 'array';
+ public $id;
public $kind;
+ public $state;
- public function setIos(Google_Service_Games_PushTokenIdIos $ios)
+ public function setCompletionRewardData($completionRewardData)
{
- $this->ios = $ios;
+ $this->completionRewardData = $completionRewardData;
}
- public function getIos()
+ public function getCompletionRewardData()
{
- return $this->ios;
+ return $this->completionRewardData;
}
- public function setKind($kind)
+ public function setCriteria($criteria)
{
- $this->kind = $kind;
+ $this->criteria = $criteria;
}
- public function getKind()
+ public function getCriteria()
{
- return $this->kind;
+ return $this->criteria;
}
-}
-class Google_Service_Games_PushTokenIdIos extends Google_Model
-{
- public $apnsDeviceToken;
- public $apnsEnvironment;
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
- public function setApnsDeviceToken($apnsDeviceToken)
+ public function getId()
{
- $this->apnsDeviceToken = $apnsDeviceToken;
+ return $this->id;
}
- public function getApnsDeviceToken()
+ public function setKind($kind)
{
- return $this->apnsDeviceToken;
+ $this->kind = $kind;
}
- public function setApnsEnvironment($apnsEnvironment)
+ public function getKind()
{
- $this->apnsEnvironment = $apnsEnvironment;
+ return $this->kind;
}
- public function getApnsEnvironment()
+ public function setState($state)
{
- return $this->apnsEnvironment;
+ $this->state = $state;
+ }
+
+ public function getState()
+ {
+ return $this->state;
}
}
@@ -5277,6 +6954,218 @@ public function getScoreTag()
}
}
+class Google_Service_Games_Snapshot extends Google_Model
+{
+ protected $coverImageType = 'Google_Service_Games_SnapshotImage';
+ protected $coverImageDataType = '';
+ public $description;
+ public $driveId;
+ public $durationMillis;
+ public $id;
+ public $kind;
+ public $lastModifiedMillis;
+ public $title;
+ public $type;
+ public $uniqueName;
+
+ public function setCoverImage(Google_Service_Games_SnapshotImage $coverImage)
+ {
+ $this->coverImage = $coverImage;
+ }
+
+ public function getCoverImage()
+ {
+ return $this->coverImage;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDriveId($driveId)
+ {
+ $this->driveId = $driveId;
+ }
+
+ public function getDriveId()
+ {
+ return $this->driveId;
+ }
+
+ public function setDurationMillis($durationMillis)
+ {
+ $this->durationMillis = $durationMillis;
+ }
+
+ public function getDurationMillis()
+ {
+ return $this->durationMillis;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLastModifiedMillis($lastModifiedMillis)
+ {
+ $this->lastModifiedMillis = $lastModifiedMillis;
+ }
+
+ public function getLastModifiedMillis()
+ {
+ return $this->lastModifiedMillis;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUniqueName($uniqueName)
+ {
+ $this->uniqueName = $uniqueName;
+ }
+
+ public function getUniqueName()
+ {
+ return $this->uniqueName;
+ }
+}
+
+class Google_Service_Games_SnapshotImage extends Google_Model
+{
+ public $height;
+ public $kind;
+ public $mimeType;
+ public $url;
+ public $width;
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Games_SnapshotListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Games_Snapshot';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Games_TurnBasedAutoMatchingCriteria extends Google_Model
{
public $exclusiveBitmask;
From 55ded935f7f1ea5e1c459f2a9c5b9f6c4d3c772e Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Gmail extends Google_Service +{ + /** View and manage your mail. */ + const MAIL_GOOGLE_COM = "https://mail.google.com/"; + /** Manage drafts and send emails. */ + const GMAIL_COMPOSE = "https://www.googleapis.com/auth/gmail.compose"; + /** View and modify but not delete your email. */ + const GMAIL_MODIFY = "https://www.googleapis.com/auth/gmail.modify"; + /** View your emails messages and settings. */ + const GMAIL_READONLY = "https://www.googleapis.com/auth/gmail.readonly"; + + public $users_drafts; + public $users_history; + public $users_labels; + public $users_messages; + public $users_messages_attachments; + public $users_threads; + + + /** + * Constructs the internal representation of the Gmail service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'gmail/v1/users/'; + $this->version = 'v1'; + $this->serviceName = 'gmail'; + + $this->users_drafts = new Google_Service_Gmail_UsersDrafts_Resource( + $this, + $this->serviceName, + 'drafts', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{userId}/drafts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'send' => array( + 'path' => '{userId}/drafts/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/drafts/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_history = new Google_Service_Gmail_UsersHistory_Resource( + $this, + $this->serviceName, + 'history', + array( + 'methods' => array( + 'list' => array( + 'path' => '{userId}/history', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'labelId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startHistoryId' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->users_labels = new Google_Service_Gmail_UsersLabels_Resource( + $this, + $this->serviceName, + 'labels', + array( + 'methods' => array( + 'create' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/labels', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{userId}/labels/{id}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages = new Google_Service_Gmail_UsersMessages_Resource( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/messages/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'format' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'import' => array( + 'path' => '{userId}/messages/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'modify' => array( + 'path' => '{userId}/messages/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'send' => array( + 'path' => '{userId}/messages/send', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/messages/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/messages/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_messages_attachments = new Google_Service_Gmail_UsersMessagesAttachments_Resource( + $this, + $this->serviceName, + 'attachments', + array( + 'methods' => array( + 'get' => array( + 'path' => '{userId}/messages/{messageId}/attachments/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'messageId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users_threads = new Google_Service_Gmail_UsersThreads_Resource( + $this, + $this->serviceName, + 'threads', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{userId}/threads/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{userId}/threads', + 'httpMethod' => 'GET', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'q' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'includeSpamTrash' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + 'labelIds' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ),'modify' => array( + 'path' => '{userId}/threads/{id}/modify', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'trash' => array( + 'path' => '{userId}/threads/{id}/trash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'untrash' => array( + 'path' => '{userId}/threads/{id}/untrash', + 'httpMethod' => 'POST', + 'parameters' => array( + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "users" collection of methods. + * Typical usage is: + *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $users = $gmailService->users;
+ *
+ */
+class Google_Service_Gmail_Users_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "drafts" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $drafts = $gmailService->drafts;
+ *
+ */
+class Google_Service_Gmail_UsersDrafts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new draft with the DRAFT label. (drafts.create)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function create($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_Draft");
+ }
+ /**
+ * Immediately and permanently deletes the specified draft. Does not simply
+ * trash it. (drafts.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the draft to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified draft. (drafts.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the draft to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string format
+ * The format to return the draft in.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Draft");
+ }
+ /**
+ * Lists the drafts in the user's mailbox. (drafts.listUsersDrafts)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param string maxResults
+ * Maximum number of drafts to return.
+ * @return Google_Service_Gmail_ListDraftsResponse
+ */
+ public function listUsersDrafts($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListDraftsResponse");
+ }
+ /**
+ * Sends the specified, existing draft to the recipients in the To, Cc, and Bcc
+ * headers. (drafts.send)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function send($userId, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Replaces a draft's content. (drafts.update)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the draft to update.
+ * @param Google_Draft $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Draft
+ */
+ public function update($userId, $id, Google_Service_Gmail_Draft $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Gmail_Draft");
+ }
+}
+/**
+ * The "history" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $history = $gmailService->history;
+ *
+ */
+class Google_Service_Gmail_UsersHistory_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists the history of all changes to the given mailbox. History results are
+ * returned in chronological order (increasing historyId).
+ * (history.listUsersHistory)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param string maxResults
+ * The maximum number of history records to return.
+ * @opt_param string labelId
+ * Only return messages with a label matching the ID.
+ * @opt_param string startHistoryId
+ * Required. Returns history records after the specified startHistoryId. The supplied
+ * startHistoryId should be obtained from the historyId of a message, thread, or previous list
+ * response. History IDs increase chronologically but are not contiguous with random gaps in
+ * between valid IDs. Supplying an invalid or out of date startHistoryId typically returns an HTTP
+ * 404 error code. A historyId is typically valid for at least a week, but in some circumstances
+ * may be valid for only a few hours. If you receive an HTTP 404 error response, your application
+ * should perform a full sync. If you receive no nextPageToken in the response, there are no
+ * updates to retrieve and you can store the returned historyId for a future request.
+ * @return Google_Service_Gmail_ListHistoryResponse
+ */
+ public function listUsersHistory($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListHistoryResponse");
+ }
+}
+/**
+ * The "labels" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $labels = $gmailService->labels;
+ *
+ */
+class Google_Service_Gmail_UsersLabels_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new label. (labels.create)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function create($userId, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Gmail_Label");
+ }
+ /**
+ * Immediately and permanently deletes the specified label and removes it from
+ * any messages and threads that it is applied to. (labels.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified label. (labels.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Label");
+ }
+ /**
+ * Lists all labels in the user's mailbox. (labels.listUsersLabels)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_ListLabelsResponse
+ */
+ public function listUsersLabels($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListLabelsResponse");
+ }
+ /**
+ * Updates the specified label. This method supports patch semantics.
+ * (labels.patch)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to update.
+ * @param Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function patch($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Gmail_Label");
+ }
+ /**
+ * Updates the specified label. (labels.update)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the label to update.
+ * @param Google_Label $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Label
+ */
+ public function update($userId, $id, Google_Service_Gmail_Label $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Gmail_Label");
+ }
+}
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $messages = $gmailService->messages;
+ *
+ */
+class Google_Service_Gmail_UsersMessages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Immediately and permanently deletes the specified message. This operation
+ * cannot be undone. Prefer messages.trash instead. (messages.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified message. (messages.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string format
+ * The format to return the message in.
+ * @return Google_Service_Gmail_Message
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Directly imports a message into only this user's mailbox, similar to
+ * receiving via SMTP. Does not send a message. (messages.import)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Directly inserts a message into only this user's mailbox. Does not send a
+ * message. (messages.insert)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Lists the messages in the user's mailbox. (messages.listUsersMessages)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * Maximum number of messages to return.
+ * @opt_param string q
+ * Only return messages matching the specified query. Supports the same query format as the Gmail
+ * search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param bool includeSpamTrash
+ * Include messages from SPAM and TRASH in the results.
+ * @opt_param string labelIds
+ * Only return messages with labels that match all of the specified label IDs.
+ * @return Google_Service_Gmail_ListMessagesResponse
+ */
+ public function listUsersMessages($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListMessagesResponse");
+ }
+ /**
+ * Modifies the labels on the specified message. (messages.modify)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to modify.
+ * @param Google_ModifyMessageRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function modify($userId, $id, Google_Service_Gmail_ModifyMessageRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modify', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Sends the specified message to the recipients in the To, Cc, and Bcc headers.
+ * (messages.send)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param Google_Message $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function send($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('send', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Moves the specified message to the trash. (messages.trash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function trash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Google_Service_Gmail_Message");
+ }
+ /**
+ * Removes the specified message from the trash. (messages.untrash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the message to remove from Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Message
+ */
+ public function untrash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Google_Service_Gmail_Message");
+ }
+}
+
+/**
+ * The "attachments" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $attachments = $gmailService->attachments;
+ *
+ */
+class Google_Service_Gmail_UsersMessagesAttachments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets the specified message attachment. (attachments.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $messageId
+ * The ID of the message containing the attachment.
+ * @param string $id
+ * The ID of the attachment.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_MessagePartBody
+ */
+ public function get($userId, $messageId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'messageId' => $messageId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_MessagePartBody");
+ }
+}
+/**
+ * The "threads" collection of methods.
+ * Typical usage is:
+ *
+ * $gmailService = new Google_Service_Gmail(...);
+ * $threads = $gmailService->threads;
+ *
+ */
+class Google_Service_Gmail_UsersThreads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Immediately and permanently deletes the specified thread. This operation
+ * cannot be undone. Prefer threads.trash instead. (threads.delete)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * ID of the Thread to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets the specified thread. (threads.get)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function get($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Gmail_Thread");
+ }
+ /**
+ * Lists the threads in the user's mailbox. (threads.listUsersThreads)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults
+ * Maximum number of threads to return.
+ * @opt_param string q
+ * Only return threads matching the specified query. Supports the same query format as the Gmail
+ * search box. For example, "from:someuser@example.com rfc822msgid: is:unread".
+ * @opt_param string pageToken
+ * Page token to retrieve a specific page of results in the list.
+ * @opt_param bool includeSpamTrash
+ * Include threads from SPAM and TRASH in the results.
+ * @opt_param string labelIds
+ * Only return threads with labels that match all of the specified label IDs.
+ * @return Google_Service_Gmail_ListThreadsResponse
+ */
+ public function listUsersThreads($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Gmail_ListThreadsResponse");
+ }
+ /**
+ * Modifies the labels applied to the thread. This applies to all messages in
+ * the thread. (threads.modify)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to modify.
+ * @param Google_ModifyThreadRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function modify($userId, $id, Google_Service_Gmail_ModifyThreadRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('modify', array($params), "Google_Service_Gmail_Thread");
+ }
+ /**
+ * Moves the specified thread to the trash. (threads.trash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function trash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('trash', array($params), "Google_Service_Gmail_Thread");
+ }
+ /**
+ * Removes the specified thread from the trash. (threads.untrash)
+ *
+ * @param string $userId
+ * The user's email address. The special value me can be used to indicate the authenticated user.
+ * @param string $id
+ * The ID of the thread to remove from Trash.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Gmail_Thread
+ */
+ public function untrash($userId, $id, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('untrash', array($params), "Google_Service_Gmail_Thread");
+ }
+}
+
+
+
+
+class Google_Service_Gmail_Draft extends Google_Model
+{
+ public $id;
+ protected $messageType = 'Google_Service_Gmail_Message';
+ protected $messageDataType = '';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMessage(Google_Service_Gmail_Message $message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Gmail_History extends Google_Collection
+{
+ public $id;
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+}
+
+class Google_Service_Gmail_Label extends Google_Model
+{
+ public $id;
+ public $labelListVisibility;
+ public $messageListVisibility;
+ public $name;
+ public $type;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLabelListVisibility($labelListVisibility)
+ {
+ $this->labelListVisibility = $labelListVisibility;
+ }
+
+ public function getLabelListVisibility()
+ {
+ return $this->labelListVisibility;
+ }
+
+ public function setMessageListVisibility($messageListVisibility)
+ {
+ $this->messageListVisibility = $messageListVisibility;
+ }
+
+ public function getMessageListVisibility()
+ {
+ return $this->messageListVisibility;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Gmail_ListDraftsResponse extends Google_Collection
+{
+ protected $draftsType = 'Google_Service_Gmail_Draft';
+ protected $draftsDataType = 'array';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+
+ public function setDrafts($drafts)
+ {
+ $this->drafts = $drafts;
+ }
+
+ public function getDrafts()
+ {
+ return $this->drafts;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+}
+
+class Google_Service_Gmail_ListHistoryResponse extends Google_Collection
+{
+ protected $historyType = 'Google_Service_Gmail_History';
+ protected $historyDataType = 'array';
+ public $historyId;
+ public $nextPageToken;
+
+ public function setHistory($history)
+ {
+ $this->history = $history;
+ }
+
+ public function getHistory()
+ {
+ return $this->history;
+ }
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Gmail_ListLabelsResponse extends Google_Collection
+{
+ protected $labelsType = 'Google_Service_Gmail_Label';
+ protected $labelsDataType = 'array';
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+}
+
+class Google_Service_Gmail_ListMessagesResponse extends Google_Collection
+{
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ public $nextPageToken;
+ public $resultSizeEstimate;
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+}
+
+class Google_Service_Gmail_ListThreadsResponse extends Google_Collection
+{
+ public $nextPageToken;
+ public $resultSizeEstimate;
+ protected $threadsType = 'Google_Service_Gmail_Thread';
+ protected $threadsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResultSizeEstimate($resultSizeEstimate)
+ {
+ $this->resultSizeEstimate = $resultSizeEstimate;
+ }
+
+ public function getResultSizeEstimate()
+ {
+ return $this->resultSizeEstimate;
+ }
+
+ public function setThreads($threads)
+ {
+ $this->threads = $threads;
+ }
+
+ public function getThreads()
+ {
+ return $this->threads;
+ }
+}
+
+class Google_Service_Gmail_Message extends Google_Collection
+{
+ public $historyId;
+ public $id;
+ public $labelIds;
+ protected $payloadType = 'Google_Service_Gmail_MessagePart';
+ protected $payloadDataType = '';
+ public $raw;
+ public $sizeEstimate;
+ public $snippet;
+ public $threadId;
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLabelIds($labelIds)
+ {
+ $this->labelIds = $labelIds;
+ }
+
+ public function getLabelIds()
+ {
+ return $this->labelIds;
+ }
+
+ public function setPayload(Google_Service_Gmail_MessagePart $payload)
+ {
+ $this->payload = $payload;
+ }
+
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ public function setRaw($raw)
+ {
+ $this->raw = $raw;
+ }
+
+ public function getRaw()
+ {
+ return $this->raw;
+ }
+
+ public function setSizeEstimate($sizeEstimate)
+ {
+ $this->sizeEstimate = $sizeEstimate;
+ }
+
+ public function getSizeEstimate()
+ {
+ return $this->sizeEstimate;
+ }
+
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+
+ public function setThreadId($threadId)
+ {
+ $this->threadId = $threadId;
+ }
+
+ public function getThreadId()
+ {
+ return $this->threadId;
+ }
+}
+
+class Google_Service_Gmail_MessagePart extends Google_Collection
+{
+ protected $bodyType = 'Google_Service_Gmail_MessagePartBody';
+ protected $bodyDataType = '';
+ public $filename;
+ protected $headersType = 'Google_Service_Gmail_MessagePartHeader';
+ protected $headersDataType = 'array';
+ public $mimeType;
+ public $partId;
+ protected $partsType = 'Google_Service_Gmail_MessagePart';
+ protected $partsDataType = 'array';
+
+ public function setBody(Google_Service_Gmail_MessagePartBody $body)
+ {
+ $this->body = $body;
+ }
+
+ public function getBody()
+ {
+ return $this->body;
+ }
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setHeaders($headers)
+ {
+ $this->headers = $headers;
+ }
+
+ public function getHeaders()
+ {
+ return $this->headers;
+ }
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+
+ public function setPartId($partId)
+ {
+ $this->partId = $partId;
+ }
+
+ public function getPartId()
+ {
+ return $this->partId;
+ }
+
+ public function setParts($parts)
+ {
+ $this->parts = $parts;
+ }
+
+ public function getParts()
+ {
+ return $this->parts;
+ }
+}
+
+class Google_Service_Gmail_MessagePartBody extends Google_Model
+{
+ public $attachmentId;
+ public $data;
+ public $size;
+
+ public function setAttachmentId($attachmentId)
+ {
+ $this->attachmentId = $attachmentId;
+ }
+
+ public function getAttachmentId()
+ {
+ return $this->attachmentId;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Google_Service_Gmail_MessagePartHeader extends Google_Model
+{
+ public $name;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Gmail_ModifyMessageRequest extends Google_Collection
+{
+ public $addLabelIds;
+ public $removeLabelIds;
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
+
+class Google_Service_Gmail_ModifyThreadRequest extends Google_Collection
+{
+ public $addLabelIds;
+ public $removeLabelIds;
+
+ public function setAddLabelIds($addLabelIds)
+ {
+ $this->addLabelIds = $addLabelIds;
+ }
+
+ public function getAddLabelIds()
+ {
+ return $this->addLabelIds;
+ }
+
+ public function setRemoveLabelIds($removeLabelIds)
+ {
+ $this->removeLabelIds = $removeLabelIds;
+ }
+
+ public function getRemoveLabelIds()
+ {
+ return $this->removeLabelIds;
+ }
+}
+
+class Google_Service_Gmail_Thread extends Google_Collection
+{
+ public $historyId;
+ public $id;
+ protected $messagesType = 'Google_Service_Gmail_Message';
+ protected $messagesDataType = 'array';
+ public $snippet;
+
+ public function setHistoryId($historyId)
+ {
+ $this->historyId = $historyId;
+ }
+
+ public function getHistoryId()
+ {
+ return $this->historyId;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMessages($messages)
+ {
+ $this->messages = $messages;
+ }
+
+ public function getMessages()
+ {
+ return $this->messages;
+ }
+
+ public function setSnippet($snippet)
+ {
+ $this->snippet = $snippet;
+ }
+
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
From 3a98b9a994c7161a5454d4ef8dcda9713dda4a85 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Appsactivity extends Google_Service +{ + /** View historical activity for Google services. */ + const ACTIVITY = "https://www.googleapis.com/auth/activity"; + /** View and manage the files and documents in your Google Drive. */ + const DRIVE = "https://www.googleapis.com/auth/drive"; + /** View metadata for files and documents in your Google Drive. */ + const DRIVE_METADATA_READONLY = "https://www.googleapis.com/auth/drive.metadata.readonly"; + /** View the files and documents in your Google Drive. */ + const DRIVE_READONLY = "https://www.googleapis.com/auth/drive.readonly"; + + public $activities; + + + /** + * Constructs the internal representation of the Appsactivity service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'appsactivity/v1/'; + $this->version = 'v1'; + $this->serviceName = 'appsactivity'; + + $this->activities = new Google_Service_Appsactivity_Activities_Resource( + $this, + $this->serviceName, + 'activities', + array( + 'methods' => array( + 'list' => array( + 'path' => 'activities', + 'httpMethod' => 'GET', + 'parameters' => array( + 'drive.ancestorId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'userId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'groupingStrategy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'drive.fileId' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'source' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "activities" collection of methods. + * Typical usage is: + *
+ * $appsactivityService = new Google_Service_Appsactivity(...);
+ * $activities = $appsactivityService->activities;
+ *
+ */
+class Google_Service_Appsactivity_Activities_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of activities visible to the current logged in user. Visible
+ * activities are determined by the visiblity settings of the object that was
+ * acted on, e.g. Drive files a user can see. An activity is a record of past
+ * events. Multiple events may be merged if they are similar. A request is
+ * scoped to activities from a given Google service using the source parameter.
+ * (activities.listActivities)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string drive.ancestorId
+ * Identifies the Drive folder containing the items for which to return activities.
+ * @opt_param int pageSize
+ * The maximum number of events to return on a page. The response includes a continuation token if
+ * there are more events.
+ * @opt_param string pageToken
+ * A token to retrieve a specific page of results.
+ * @opt_param string userId
+ * Indicates the user to return activity for. Use the special value me to indicate the currently
+ * authenticated user.
+ * @opt_param string groupingStrategy
+ * Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent
+ * object.
+ * @opt_param string drive.fileId
+ * Identifies the Drive item to return activities for.
+ * @opt_param string source
+ * The Google service from which to return activities. Possible values of source are:
+ -
+ * drive.google.com
+ * @return Google_Service_Appsactivity_ListActivitiesResponse
+ */
+ public function listActivities($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Appsactivity_ListActivitiesResponse");
+ }
+}
+
+
+
+
+class Google_Service_Appsactivity_Activity extends Google_Collection
+{
+ protected $combinedEventType = 'Google_Service_Appsactivity_Event';
+ protected $combinedEventDataType = '';
+ protected $singleEventsType = 'Google_Service_Appsactivity_Event';
+ protected $singleEventsDataType = 'array';
+
+ public function setCombinedEvent(Google_Service_Appsactivity_Event $combinedEvent)
+ {
+ $this->combinedEvent = $combinedEvent;
+ }
+
+ public function getCombinedEvent()
+ {
+ return $this->combinedEvent;
+ }
+
+ public function setSingleEvents($singleEvents)
+ {
+ $this->singleEvents = $singleEvents;
+ }
+
+ public function getSingleEvents()
+ {
+ return $this->singleEvents;
+ }
+}
+
+class Google_Service_Appsactivity_Event extends Google_Collection
+{
+ public $additionalEventTypes;
+ public $eventTimeMillis;
+ public $fromUserDeletion;
+ protected $moveType = 'Google_Service_Appsactivity_Move';
+ protected $moveDataType = '';
+ protected $permissionChangesType = 'Google_Service_Appsactivity_PermissionChange';
+ protected $permissionChangesDataType = 'array';
+ public $primaryEventType;
+ protected $renameType = 'Google_Service_Appsactivity_Rename';
+ protected $renameDataType = '';
+ protected $targetType = 'Google_Service_Appsactivity_Target';
+ protected $targetDataType = '';
+ protected $userType = 'Google_Service_Appsactivity_User';
+ protected $userDataType = '';
+
+ public function setAdditionalEventTypes($additionalEventTypes)
+ {
+ $this->additionalEventTypes = $additionalEventTypes;
+ }
+
+ public function getAdditionalEventTypes()
+ {
+ return $this->additionalEventTypes;
+ }
+
+ public function setEventTimeMillis($eventTimeMillis)
+ {
+ $this->eventTimeMillis = $eventTimeMillis;
+ }
+
+ public function getEventTimeMillis()
+ {
+ return $this->eventTimeMillis;
+ }
+
+ public function setFromUserDeletion($fromUserDeletion)
+ {
+ $this->fromUserDeletion = $fromUserDeletion;
+ }
+
+ public function getFromUserDeletion()
+ {
+ return $this->fromUserDeletion;
+ }
+
+ public function setMove(Google_Service_Appsactivity_Move $move)
+ {
+ $this->move = $move;
+ }
+
+ public function getMove()
+ {
+ return $this->move;
+ }
+
+ public function setPermissionChanges($permissionChanges)
+ {
+ $this->permissionChanges = $permissionChanges;
+ }
+
+ public function getPermissionChanges()
+ {
+ return $this->permissionChanges;
+ }
+
+ public function setPrimaryEventType($primaryEventType)
+ {
+ $this->primaryEventType = $primaryEventType;
+ }
+
+ public function getPrimaryEventType()
+ {
+ return $this->primaryEventType;
+ }
+
+ public function setRename(Google_Service_Appsactivity_Rename $rename)
+ {
+ $this->rename = $rename;
+ }
+
+ public function getRename()
+ {
+ return $this->rename;
+ }
+
+ public function setTarget(Google_Service_Appsactivity_Target $target)
+ {
+ $this->target = $target;
+ }
+
+ public function getTarget()
+ {
+ return $this->target;
+ }
+
+ public function setUser(Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collection
+{
+ protected $activitiesType = 'Google_Service_Appsactivity_Activity';
+ protected $activitiesDataType = 'array';
+ public $nextPageToken;
+
+ public function setActivities($activities)
+ {
+ $this->activities = $activities;
+ }
+
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Appsactivity_Move extends Google_Collection
+{
+ protected $addedParentsType = 'Google_Service_Appsactivity_Parent';
+ protected $addedParentsDataType = 'array';
+ protected $removedParentsType = 'Google_Service_Appsactivity_Parent';
+ protected $removedParentsDataType = 'array';
+
+ public function setAddedParents($addedParents)
+ {
+ $this->addedParents = $addedParents;
+ }
+
+ public function getAddedParents()
+ {
+ return $this->addedParents;
+ }
+
+ public function setRemovedParents($removedParents)
+ {
+ $this->removedParents = $removedParents;
+ }
+
+ public function getRemovedParents()
+ {
+ return $this->removedParents;
+ }
+}
+
+class Google_Service_Appsactivity_Parent extends Google_Model
+{
+ public $id;
+ public $isRoot;
+ public $title;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIsRoot($isRoot)
+ {
+ $this->isRoot = $isRoot;
+ }
+
+ public function getIsRoot()
+ {
+ return $this->isRoot;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Appsactivity_Permission extends Google_Model
+{
+ public $name;
+ public $permissionId;
+ public $role;
+ public $type;
+ protected $userType = 'Google_Service_Appsactivity_User';
+ protected $userDataType = '';
+ public $withLink;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+
+ public function getRole()
+ {
+ return $this->role;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUser(Google_Service_Appsactivity_User $user)
+ {
+ $this->user = $user;
+ }
+
+ public function getUser()
+ {
+ return $this->user;
+ }
+
+ public function setWithLink($withLink)
+ {
+ $this->withLink = $withLink;
+ }
+
+ public function getWithLink()
+ {
+ return $this->withLink;
+ }
+}
+
+class Google_Service_Appsactivity_PermissionChange extends Google_Collection
+{
+ protected $addedPermissionsType = 'Google_Service_Appsactivity_Permission';
+ protected $addedPermissionsDataType = 'array';
+ protected $removedPermissionsType = 'Google_Service_Appsactivity_Permission';
+ protected $removedPermissionsDataType = 'array';
+
+ public function setAddedPermissions($addedPermissions)
+ {
+ $this->addedPermissions = $addedPermissions;
+ }
+
+ public function getAddedPermissions()
+ {
+ return $this->addedPermissions;
+ }
+
+ public function setRemovedPermissions($removedPermissions)
+ {
+ $this->removedPermissions = $removedPermissions;
+ }
+
+ public function getRemovedPermissions()
+ {
+ return $this->removedPermissions;
+ }
+}
+
+class Google_Service_Appsactivity_Photo extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Appsactivity_Rename extends Google_Model
+{
+ public $newTitle;
+ public $oldTitle;
+
+ public function setNewTitle($newTitle)
+ {
+ $this->newTitle = $newTitle;
+ }
+
+ public function getNewTitle()
+ {
+ return $this->newTitle;
+ }
+
+ public function setOldTitle($oldTitle)
+ {
+ $this->oldTitle = $oldTitle;
+ }
+
+ public function getOldTitle()
+ {
+ return $this->oldTitle;
+ }
+}
+
+class Google_Service_Appsactivity_Target extends Google_Model
+{
+ public $id;
+ public $mimeType;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Appsactivity_User extends Google_Model
+{
+ public $name;
+ protected $photoType = 'Google_Service_Appsactivity_Photo';
+ protected $photoDataType = '';
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPhoto(Google_Service_Appsactivity_Photo $photo)
+ {
+ $this->photo = $photo;
+ }
+
+ public function getPhoto()
+ {
+ return $this->photo;
+ }
+}
From 836bf07edfec515d096f027e23c7c4cc7c37ee90 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* $mapsengineService = new Google_Service_MapsEngine(...);
@@ -1586,6 +1934,21 @@ public function create(Google_Service_MapsEngine_Table $postBody, $optParams = a
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
}
+ /**
+ * Delete a table. (tables.delete)
+ *
+ * @param string $id
+ * The ID of the table. Only the table creator or project owner are permitted to delete. If the
+ * table is included in a layer, the request will fail. Remove it from all layers prior to
+ * deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
/**
* Return metadata for a particular table, including the schema. (tables.get)
*
@@ -1614,6 +1977,8 @@ public function get($id, $optParams = array())
* @opt_param string createdAfter
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
* @opt_param string projectId
* The ID of a Maps Engine project, used to filter the response. To list all available projects
* with their IDs, send a Projects: list request. You can also find your project ID as the value of
@@ -1644,6 +2009,20 @@ public function listTables($optParams = array())
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
}
+ /**
+ * Mutate a table asset. (tables.patch)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
/**
* Create a placeholder table asset to which table files can be uploaded. Once
* the placeholder has been created, files are uploaded to the
@@ -1912,6 +2291,7 @@ class Google_Service_MapsEngine_Asset extends Google_Collection
public $bbox;
public $creationTime;
public $description;
+ public $etag;
public $id;
public $lastModifiedTime;
public $name;
@@ -1950,6 +2330,16 @@ public function getDescription()
return $this->description;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -2557,177 +2947,6 @@ public function getName()
}
}
-class Google_Service_MapsEngine_Image extends Google_Collection
-{
- protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
- protected $acquisitionTimeDataType = '';
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $maskType;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
- {
- $this->acquisitionTime = $acquisitionTime;
- }
-
- public function getAcquisitionTime()
- {
- return $this->acquisitionTime;
- }
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMaskType($maskType)
- {
- $this->maskType = $maskType;
- }
-
- public function getMaskType()
- {
- return $this->maskType;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
class Google_Service_MapsEngine_LabelStyle extends Google_Model
{
public $color;
@@ -2819,6 +3038,7 @@ class Google_Service_MapsEngine_Layer extends Google_Collection
protected $datasourcesDataType = 'array';
public $description;
public $draftAccessList;
+ public $etag;
public $id;
public $lastModifiedTime;
public $name;
@@ -2889,6 +3109,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3094,6 +3324,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $defaultViewport;
public $description;
public $draftAccessList;
+ public $etag;
public $id;
public $lastModifiedTime;
public $name;
@@ -3162,6 +3393,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3642,16 +3883,45 @@ class Google_Service_MapsEngine_PublishResponse extends Google_Model
class Google_Service_MapsEngine_Raster extends Google_Collection
{
+ protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
public $bbox;
public $creationTime;
public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
public $id;
public $lastModifiedTime;
+ public $maskType;
public $name;
+ public $processingStatus;
public $projectId;
public $rasterType;
public $tags;
+ public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
public function setBbox($bbox)
{
$this->bbox = $bbox;
@@ -3682,6 +3952,36 @@ public function getDescription()
return $this->description;
}
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3702,6 +4002,16 @@ public function getLastModifiedTime()
return $this->lastModifiedTime;
}
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
public function setName($name)
{
$this->name = $name;
@@ -3712,6 +4022,16 @@ public function getName()
return $this->name;
}
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
public function setProjectId($projectId)
{
$this->projectId = $projectId;
@@ -3750,6 +4070,7 @@ class Google_Service_MapsEngine_RasterCollection extends Google_Collection
public $creationTime;
public $description;
public $draftAccessList;
+ public $etag;
public $id;
public $lastModifiedTime;
public $mosaic;
@@ -3809,6 +4130,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -3890,6 +4221,109 @@ public function getTags()
}
}
+class Google_Service_MapsEngine_RasterCollectionRaster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
{
public $ids;
@@ -3960,7 +4394,7 @@ public function getRasterCollections()
class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
{
public $nextPageToken;
- protected $rastersType = 'Google_Service_MapsEngine_Raster';
+ protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionRaster';
protected $rastersDataType = 'array';
public function setNextPageToken($nextPageToken)
@@ -4028,6 +4462,7 @@ class Google_Service_MapsEngine_Table extends Google_Collection
public $creationTime;
public $description;
public $draftAccessList;
+ public $etag;
protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
protected $filesDataType = 'array';
public $id;
@@ -4081,6 +4516,16 @@ public function getDraftAccessList()
return $this->draftAccessList;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setFiles($files)
{
$this->files = $files;
From 3535e3a491ff737ff5872af4e1901639083841bf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:23 -0700
Subject: [PATCH 0132/1371] Updated Compute.php
---
src/Google/Service/Compute.php | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index f65cf7296..a087c0ada 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -7984,6 +7984,8 @@ class Google_Service_Compute_Image extends Google_Collection
protected $rawDiskType = 'Google_Service_Compute_ImageRawDisk';
protected $rawDiskDataType = '';
public $selfLink;
+ public $sourceDisk;
+ public $sourceDiskId;
public $sourceType;
public $status;
@@ -8097,6 +8099,26 @@ public function getSelfLink()
return $this->selfLink;
}
+ public function setSourceDisk($sourceDisk)
+ {
+ $this->sourceDisk = $sourceDisk;
+ }
+
+ public function getSourceDisk()
+ {
+ return $this->sourceDisk;
+ }
+
+ public function setSourceDiskId($sourceDiskId)
+ {
+ $this->sourceDiskId = $sourceDiskId;
+ }
+
+ public function getSourceDiskId()
+ {
+ return $this->sourceDiskId;
+ }
+
public function setSourceType($sourceType)
{
$this->sourceType = $sourceType;
From be829b4d33896ce1354972502f8d1837e01f72e8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:23 -0700
Subject: [PATCH 0133/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 43 ++++++++++++++++++++++++++++++---
1 file changed, 39 insertions(+), 4 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index d4c510590..56ee55de4 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -186,6 +186,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'maxTimestamp' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'string',
@@ -613,6 +617,8 @@ public function get($datasetId, $optParams = array())
* @opt_param string pageToken
* The continuation token, which is used to page through large result sets. To get the next page of
* results, set this parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string maxTimestamp
+ *
* @opt_param string maxResults
* The maximum number of results returned by this request.
* @opt_param string projectId
@@ -797,7 +803,8 @@ public function create(Google_Service_Genomics_Readset $postBody, $optParams = a
* Deletes a readset. (readsets.delete)
*
* @param string $readsetId
- * The ID of the readset to be deleted.
+ * The ID of the readset to be deleted. The caller must have WRITE permissions to the dataset
+ * associated with this readset.
* @param array $optParams Optional parameters.
*/
public function delete($readsetId, $optParams = array())
@@ -807,7 +814,11 @@ public function delete($readsetId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Exports readsets to a file. (readsets.export)
+ * Exports readsets to a BAM file in Google Cloud Storage. Note that currently
+ * there may be some differences between exported BAM files and the original BAM
+ * file at the time of import. In particular, comments in the input file header
+ * will not be preserved, and some custom tags will be converted to strings.
+ * (readsets.export)
*
* @param Google_ExportReadsetsRequest $postBody
* @param array $optParams Optional parameters.
@@ -834,8 +845,10 @@ public function get($readsetId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Genomics_Readset");
}
/**
- * Creates readsets by asynchronously importing the provided information.
- * (readsets.import)
+ * Creates readsets by asynchronously importing the provided information. Note
+ * that currently comments in the input file header are not imported and some
+ * custom tags will be converted to strings, rather than preserving tag types.
+ * The caller must have WRITE permissions to the dataset. (readsets.import)
*
* @param Google_ImportReadsetsRequest $postBody
* @param array $optParams Optional parameters.
@@ -2350,12 +2363,23 @@ public function getNextPageToken()
class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
{
+ public $maxResults;
public $pageToken;
public $readsetIds;
public $sequenceEnd;
public $sequenceName;
public $sequenceStart;
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
public function setPageToken($pageToken)
{
$this->pageToken = $pageToken;
@@ -2437,6 +2461,7 @@ public function getReads()
class Google_Service_Genomics_SearchReadsetsRequest extends Google_Collection
{
public $datasetIds;
+ public $maxResults;
public $name;
public $pageToken;
@@ -2450,6 +2475,16 @@ public function getDatasetIds()
return $this->datasetIds;
}
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
public function setName($name)
{
$this->name = $name;
From b875857f9861fcf83c3125e3f93a18e8d0ba7185 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:24 -0700
Subject: [PATCH 0134/1371] Updated CivicInfo.php
---
src/Google/Service/CivicInfo.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/Google/Service/CivicInfo.php b/src/Google/Service/CivicInfo.php
index 5b7a6379e..a33b900e6 100644
--- a/src/Google/Service/CivicInfo.php
+++ b/src/Google/Service/CivicInfo.php
@@ -217,8 +217,9 @@ class Google_Service_CivicInfo_Representatives_Resource extends Google_Service_R
{
/**
- * Looks up political geography and (optionally) representative information
- * based on an address. (representatives.representativeInfoQuery)
+ * Looks up political geography and representative information based on an
+ * address or Open Civic Data division identifier.
+ * (representatives.representativeInfoQuery)
*
* @param Google_RepresentativeInfoRequest $postBody
* @param array $optParams Optional parameters.
From 360c79a0955a1189c5374f8e79b21c62a3174a12 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 1 Jul 2014 00:29:24 -0700
Subject: [PATCH 0135/1371] Updated Datastore.php
---
src/Google/Service/Datastore.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Datastore.php b/src/Google/Service/Datastore.php
index 8119e3945..1f7bdf2ca 100644
--- a/src/Google/Service/Datastore.php
+++ b/src/Google/Service/Datastore.php
@@ -321,11 +321,22 @@ public function getTransaction()
class Google_Service_Datastore_CommitRequest extends Google_Model
{
+ public $ignoreReadOnly;
public $mode;
protected $mutationType = 'Google_Service_Datastore_Mutation';
protected $mutationDataType = '';
public $transaction;
+ public function setIgnoreReadOnly($ignoreReadOnly)
+ {
+ $this->ignoreReadOnly = $ignoreReadOnly;
+ }
+
+ public function getIgnoreReadOnly()
+ {
+ return $this->ignoreReadOnly;
+ }
+
public function setMode($mode)
{
$this->mode = $mode;
From 4ebf1f9f9c942740700d57c9551f4a1b28fb71cb Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Tue, 1 Jul 2014 09:40:17 -0700
Subject: [PATCH 0136/1371] Fix refreshing id token
---
src/Google/Auth/OAuth2.php | 3 +++
tests/general/ApiOAuth2Test.php | 37 ++++++++++++++++++++++++++++++++-
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/src/Google/Auth/OAuth2.php b/src/Google/Auth/OAuth2.php
index b05448a57..14fdf0ba6 100644
--- a/src/Google/Auth/OAuth2.php
+++ b/src/Google/Auth/OAuth2.php
@@ -320,6 +320,9 @@ private function refreshTokenRequest($params)
throw new Google_Auth_Exception("Invalid token format");
}
+ if (isset($token['id_token'])) {
+ $this->token['id_token'] = $token['id_token'];
+ }
$this->token['access_token'] = $token['access_token'];
$this->token['expires_in'] = $token['expires_in'];
$this->token['created'] = time();
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index 871049a3d..dc545738b 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -168,8 +168,43 @@ public function testValidateIdToken()
/**
* Test for revoking token when none is opened
*/
- public function testRevokeWhenNoTokenExists() {
+ public function testRevokeWhenNoTokenExists()
+ {
$client = new Google_Client();
$this->assertFalse($client->revokeToken());
}
+
+ /**
+ * Test that the ID token is properly refreshed.
+ */
+ public function testRefreshTokenSetsValues()
+ {
+ $client = new Google_Client();
+ $response_data = json_encode(array(
+ 'access_token' => "ACCESS_TOKEN",
+ 'id_token' => "ID_TOKEN",
+ 'expires_in' => "12345",
+ ));
+ $response = $this->getMock("Google_Http_Request", array(), array(''));
+ $response->expects($this->any())
+ ->method('getResponseHttpCode')
+ ->will($this->returnValue(200));
+ $response->expects($this->any())
+ ->method('getResponseBody')
+ ->will($this->returnValue($response_data));
+ $io = $this->getMock("Google_IO_Stream", array(), array($client));
+ $io->expects($this->any())
+ ->method('makeRequest')
+ ->will($this->returnCallback(function($request) use (&$token, $response) {
+ $elements = $request->getPostBody();
+ $this->assertEquals($elements['grant_type'], "refresh_token");
+ $this->assertEquals($elements['refresh_token'], "REFRESH_TOKEN");
+ return $response;
+ }));
+ $client->setIo($io);
+ $oauth = new Google_Auth_OAuth2($client);
+ $oauth->refreshToken("REFRESH_TOKEN");
+ $token = json_decode($oauth->getAccessToken(), true);
+ $this->assertEquals($token['id_token'], "ID_TOKEN");
+ }
}
From e4d98e64151bd7e5f3211ab6f3b80a53c0f3f7d8 Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Tue, 1 Jul 2014 09:55:35 -0700
Subject: [PATCH 0137/1371] Use static assert in closure.
---
tests/general/ApiOAuth2Test.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index dc545738b..76d580096 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -197,8 +197,10 @@ public function testRefreshTokenSetsValues()
->method('makeRequest')
->will($this->returnCallback(function($request) use (&$token, $response) {
$elements = $request->getPostBody();
- $this->assertEquals($elements['grant_type'], "refresh_token");
- $this->assertEquals($elements['refresh_token'], "REFRESH_TOKEN");
+ PHPUnit_Framework_TestCase::assertEquals($elements['grant_type'],
+ "refresh_token");
+ PHPUnit_Framework_TestCase::assertEquals($elements['refresh_token'],
+ "REFRESH_TOKEN");
return $response;
}));
$client->setIo($io);
From 08d66244b93a8dba6fe7c7cb8c62448cd2102337 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 3 Jul 2014 03:31:40 -0400
Subject: [PATCH 0138/1371] Updated Bigquery.php
---
src/Google/Service/Bigquery.php | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/Google/Service/Bigquery.php b/src/Google/Service/Bigquery.php
index f2958f889..4041b904c 100644
--- a/src/Google/Service/Bigquery.php
+++ b/src/Google/Service/Bigquery.php
@@ -2011,13 +2011,15 @@ public function getWriteDisposition()
}
}
-class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Model
+class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection
{
public $createDisposition;
protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
protected $destinationTableDataType = '';
protected $sourceTableType = 'Google_Service_Bigquery_TableReference';
protected $sourceTableDataType = '';
+ protected $sourceTablesType = 'Google_Service_Bigquery_TableReference';
+ protected $sourceTablesDataType = 'array';
public $writeDisposition;
public function setCreateDisposition($createDisposition)
@@ -2050,6 +2052,16 @@ public function getSourceTable()
return $this->sourceTable;
}
+ public function setSourceTables($sourceTables)
+ {
+ $this->sourceTables = $sourceTables;
+ }
+
+ public function getSourceTables()
+ {
+ return $this->sourceTables;
+ }
+
public function setWriteDisposition($writeDisposition)
{
$this->writeDisposition = $writeDisposition;
From e2090308ff327007ccb0afe6e80894b4f45e7ab6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 4 Jul 2014 03:32:47 -0400
Subject: [PATCH 0139/1371] Updated Content.php
---
src/Google/Service/Content.php | 129 ++++++++++++++++++++++++---------
1 file changed, 93 insertions(+), 36 deletions(-)
diff --git a/src/Google/Service/Content.php b/src/Google/Service/Content.php
index 0e42eaf95..98e86c579 100644
--- a/src/Google/Service/Content.php
+++ b/src/Google/Service/Content.php
@@ -527,8 +527,8 @@ class Google_Service_Content_Accounts_Resource extends Google_Service_Resource
{
/**
- * Retrieve, insert, update, and delete multiple Merchant Center (sub-)accounts
- * in a single request. (accounts.custombatch)
+ * Retrieves, inserts, updates, and deletes multiple Merchant Center
+ * (sub-)accounts in a single request. (accounts.custombatch)
*
* @param Google_AccountsCustomBatchRequest $postBody
* @param array $optParams Optional parameters.
@@ -541,7 +541,7 @@ public function custombatch(Google_Service_Content_AccountsCustomBatchRequest $p
return $this->call('custombatch', array($params), "Google_Service_Content_AccountsCustomBatchResponse");
}
/**
- * Delete a Merchant Center sub-account. (accounts.delete)
+ * Deletes a Merchant Center sub-account. (accounts.delete)
*
* @param string $merchantId
* The ID of the managing account.
@@ -556,7 +556,7 @@ public function delete($merchantId, $accountId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieve a Merchant Center account. (accounts.get)
+ * Retrieves a Merchant Center account. (accounts.get)
*
* @param string $merchantId
* The ID of the managing account.
@@ -572,7 +572,7 @@ public function get($merchantId, $accountId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_Account");
}
/**
- * Create a Merchant Center sub-account. (accounts.insert)
+ * Creates a Merchant Center sub-account. (accounts.insert)
*
* @param string $merchantId
* The ID of the managing account.
@@ -587,7 +587,7 @@ public function insert($merchantId, Google_Service_Content_Account $postBody, $o
return $this->call('insert', array($params), "Google_Service_Content_Account");
}
/**
- * List the sub-accounts in your Merchant Center account.
+ * Lists the sub-accounts in your Merchant Center account.
* (accounts.listAccounts)
*
* @param string $merchantId
@@ -607,7 +607,7 @@ public function listAccounts($merchantId, $optParams = array())
return $this->call('list', array($params), "Google_Service_Content_AccountsListResponse");
}
/**
- * Update a Merchant Center account. This method supports patch semantics.
+ * Updates a Merchant Center account. This method supports patch semantics.
* (accounts.patch)
*
* @param string $merchantId
@@ -625,7 +625,7 @@ public function patch($merchantId, $accountId, Google_Service_Content_Account $p
return $this->call('patch', array($params), "Google_Service_Content_Account");
}
/**
- * Update a Merchant Center account. (accounts.update)
+ * Updates a Merchant Center account. (accounts.update)
*
* @param string $merchantId
* The ID of the managing account.
@@ -668,7 +668,7 @@ public function custombatch(Google_Service_Content_AccountstatusesCustomBatchReq
return $this->call('custombatch', array($params), "Google_Service_Content_AccountstatusesCustomBatchResponse");
}
/**
- * Retrieve the status of a Merchant Center account. (accountstatuses.get)
+ * Retrieves the status of a Merchant Center account. (accountstatuses.get)
*
* @param string $merchantId
* The ID of the managing account.
@@ -684,7 +684,7 @@ public function get($merchantId, $accountId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_AccountStatus");
}
/**
- * List the statuses of the sub-accounts in your Merchant Center account.
+ * Lists the statuses of the sub-accounts in your Merchant Center account.
* (accountstatuses.listAccountstatuses)
*
* @param string $merchantId
@@ -743,7 +743,7 @@ public function custombatch(Google_Service_Content_DatafeedsCustomBatchRequest $
return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedsCustomBatchResponse");
}
/**
- * Delete a datafeed from your Merchant Center account. (datafeeds.delete)
+ * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
*
* @param string $merchantId
*
@@ -758,7 +758,7 @@ public function delete($merchantId, $datafeedId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieve a datafeed from your Merchant Center account. (datafeeds.get)
+ * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
*
* @param string $merchantId
*
@@ -774,7 +774,7 @@ public function get($merchantId, $datafeedId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_Datafeed");
}
/**
- * Register a datafeed against your Merchant Center account. (datafeeds.insert)
+ * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
*
* @param string $merchantId
*
@@ -789,7 +789,8 @@ public function insert($merchantId, Google_Service_Content_Datafeed $postBody, $
return $this->call('insert', array($params), "Google_Service_Content_Datafeed");
}
/**
- * List the datafeeds in your Merchant Center account. (datafeeds.listDatafeeds)
+ * Lists the datafeeds in your Merchant Center account.
+ * (datafeeds.listDatafeeds)
*
* @param string $merchantId
*
@@ -803,8 +804,8 @@ public function listDatafeeds($merchantId, $optParams = array())
return $this->call('list', array($params), "Google_Service_Content_DatafeedsListResponse");
}
/**
- * Update a datafeed of your Merchant Center account. This method supports patch
- * semantics. (datafeeds.patch)
+ * Updates a datafeed of your Merchant Center account. This method supports
+ * patch semantics. (datafeeds.patch)
*
* @param string $merchantId
*
@@ -821,7 +822,7 @@ public function patch($merchantId, $datafeedId, Google_Service_Content_Datafeed
return $this->call('patch', array($params), "Google_Service_Content_Datafeed");
}
/**
- * Update a datafeed of your Merchant Center account. (datafeeds.update)
+ * Updates a datafeed of your Merchant Center account. (datafeeds.update)
*
* @param string $merchantId
*
@@ -877,7 +878,7 @@ public function custombatch(Google_Service_Content_DatafeedstatusesCustomBatchRe
return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedstatusesCustomBatchResponse");
}
/**
- * Retrieve the status of a datafeed from your Merchant Center account.
+ * Retrieves the status of a datafeed from your Merchant Center account.
* (datafeedstatuses.get)
*
* @param string $merchantId
@@ -894,7 +895,7 @@ public function get($merchantId, $datafeedId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_DatafeedStatus");
}
/**
- * List the statuses of the datafeeds in your Merchant Center account.
+ * Lists the statuses of the datafeeds in your Merchant Center account.
* (datafeedstatuses.listDatafeedstatuses)
*
* @param string $merchantId
@@ -922,7 +923,7 @@ class Google_Service_Content_Inventory_Resource extends Google_Service_Resource
{
/**
- * Update price and availability for multiple products or stores in a single
+ * Updates price and availability for multiple products or stores in a single
* request. (inventory.custombatch)
*
* @param Google_InventoryCustomBatchRequest $postBody
@@ -936,13 +937,14 @@ public function custombatch(Google_Service_Content_InventoryCustomBatchRequest $
return $this->call('custombatch', array($params), "Google_Service_Content_InventoryCustomBatchResponse");
}
/**
- * Update price and availability of a product in your Merchant Center account.
+ * Updates price and availability of a product in your Merchant Center account.
* (inventory.set)
*
* @param string $merchantId
* The ID of the managing account.
* @param string $storeCode
- * The code of the store for which to update price and availability.
+ * The code of the store for which to update price and availability. Use online to update price and
+ * availability of an online product.
* @param string $productId
* The ID of the product for which to update price and availability.
* @param Google_InventorySetRequest $postBody
@@ -969,7 +971,7 @@ class Google_Service_Content_Products_Resource extends Google_Service_Resource
{
/**
- * Retrieve, insert, and delete multiple products in a single request.
+ * Retrieves, inserts, and deletes multiple products in a single request.
* (products.custombatch)
*
* @param Google_ProductsCustomBatchRequest $postBody
@@ -986,7 +988,7 @@ public function custombatch(Google_Service_Content_ProductsCustomBatchRequest $p
return $this->call('custombatch', array($params), "Google_Service_Content_ProductsCustomBatchResponse");
}
/**
- * Delete a product from your Merchant Center account. (products.delete)
+ * Deletes a product from your Merchant Center account. (products.delete)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1004,7 +1006,7 @@ public function delete($merchantId, $productId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Retrieve a product from your Merchant Center account. (products.get)
+ * Retrieves a product from your Merchant Center account. (products.get)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1020,7 +1022,7 @@ public function get($merchantId, $productId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_Product");
}
/**
- * Upload products to your Merchant Center account. (products.insert)
+ * Uploads a product to your Merchant Center account. (products.insert)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1038,7 +1040,7 @@ public function insert($merchantId, Google_Service_Content_Product $postBody, $o
return $this->call('insert', array($params), "Google_Service_Content_Product");
}
/**
- * List the products in your Merchant Center account. (products.listProducts)
+ * Lists the products in your Merchant Center account. (products.listProducts)
*
* @param string $merchantId
* The ID of the managing account.
@@ -1070,7 +1072,7 @@ class Google_Service_Content_Productstatuses_Resource extends Google_Service_Res
{
/**
- * Get the statuses of multiple products in a single request.
+ * Gets the statuses of multiple products in a single request.
* (productstatuses.custombatch)
*
* @param Google_ProductstatusesCustomBatchRequest $postBody
@@ -1084,7 +1086,7 @@ public function custombatch(Google_Service_Content_ProductstatusesCustomBatchReq
return $this->call('custombatch', array($params), "Google_Service_Content_ProductstatusesCustomBatchResponse");
}
/**
- * Get the status of a product from your Merchant Center account.
+ * Gets the status of a product from your Merchant Center account.
* (productstatuses.get)
*
* @param string $merchantId
@@ -1101,7 +1103,7 @@ public function get($merchantId, $productId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Content_ProductStatus");
}
/**
- * List the statuses of the products in your Merchant Center account.
+ * Lists the statuses of the products in your Merchant Center account.
* (productstatuses.listProductstatuses)
*
* @param string $merchantId
@@ -3387,6 +3389,7 @@ class Google_Service_Content_Product extends Google_Collection
public $adwordsRedirect;
public $ageGroup;
public $availability;
+ public $availabilityDate;
public $brand;
public $channel;
public $color;
@@ -3414,6 +3417,7 @@ class Google_Service_Content_Product extends Google_Collection
public $imageLink;
protected $installmentType = 'Google_Service_Content_ProductInstallment';
protected $installmentDataType = '';
+ public $isBundle;
public $itemGroupId;
public $kind;
public $link;
@@ -3421,6 +3425,7 @@ class Google_Service_Content_Product extends Google_Collection
protected $loyaltyPointsDataType = '';
public $material;
public $merchantMultipackQuantity;
+ public $mobileLink;
public $mpn;
public $offerId;
public $onlineOnly;
@@ -3435,10 +3440,12 @@ class Google_Service_Content_Product extends Google_Collection
protected $shippingDataType = 'array';
protected $shippingWeightType = 'Google_Service_Content_ProductShippingWeight';
protected $shippingWeightDataType = '';
+ public $sizeSystem;
+ public $sizeType;
public $sizes;
public $targetCountry;
- protected $taxType = 'Google_Service_Content_ProductTax';
- protected $taxDataType = '';
+ protected $taxesType = 'Google_Service_Content_ProductTax';
+ protected $taxesDataType = 'array';
public $title;
public $unitPricingBaseMeasure;
public $unitPricingMeasure;
@@ -3516,6 +3523,16 @@ public function getAvailability()
return $this->availability;
}
+ public function setAvailabilityDate($availabilityDate)
+ {
+ $this->availabilityDate = $availabilityDate;
+ }
+
+ public function getAvailabilityDate()
+ {
+ return $this->availabilityDate;
+ }
+
public function setBrand($brand)
{
$this->brand = $brand;
@@ -3746,6 +3763,16 @@ public function getInstallment()
return $this->installment;
}
+ public function setIsBundle($isBundle)
+ {
+ $this->isBundle = $isBundle;
+ }
+
+ public function getIsBundle()
+ {
+ return $this->isBundle;
+ }
+
public function setItemGroupId($itemGroupId)
{
$this->itemGroupId = $itemGroupId;
@@ -3806,6 +3833,16 @@ public function getMerchantMultipackQuantity()
return $this->merchantMultipackQuantity;
}
+ public function setMobileLink($mobileLink)
+ {
+ $this->mobileLink = $mobileLink;
+ }
+
+ public function getMobileLink()
+ {
+ return $this->mobileLink;
+ }
+
public function setMpn($mpn)
{
$this->mpn = $mpn;
@@ -3906,6 +3943,26 @@ public function getShippingWeight()
return $this->shippingWeight;
}
+ public function setSizeSystem($sizeSystem)
+ {
+ $this->sizeSystem = $sizeSystem;
+ }
+
+ public function getSizeSystem()
+ {
+ return $this->sizeSystem;
+ }
+
+ public function setSizeType($sizeType)
+ {
+ $this->sizeType = $sizeType;
+ }
+
+ public function getSizeType()
+ {
+ return $this->sizeType;
+ }
+
public function setSizes($sizes)
{
$this->sizes = $sizes;
@@ -3926,14 +3983,14 @@ public function getTargetCountry()
return $this->targetCountry;
}
- public function setTax(Google_Service_Content_ProductTax $tax)
+ public function setTaxes($taxes)
{
- $this->tax = $tax;
+ $this->taxes = $taxes;
}
- public function getTax()
+ public function getTaxes()
{
- return $this->tax;
+ return $this->taxes;
}
public function setTitle($title)
From 32f82e74a86f170c4e21c5bca8c009429064382a Mon Sep 17 00:00:00 2001
From: Tobias Nyholm
Date: Tue, 8 Jul 2014 18:11:57 +0200
Subject: [PATCH 0140/1371] Added HHVM to travis
---
.travis.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index fd00f61fb..e272f788d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,13 @@ php:
- 5.3
- 5.4
- 5.5
-
+ - 5.6
+ - hhvm
+
+matrix:
+ allow_failures:
+ - php: hhvm
+
before_script:
- composer install
- echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
From 4e33037e0f9fa41d25e6978a5cb49f1f87942ae8 Mon Sep 17 00:00:00 2001
From: Tobias Nyholm
Date: Wed, 9 Jul 2014 13:19:30 +0200
Subject: [PATCH 0141/1371] Make sure the tests passes on HHVM
---
.travis.yml | 8 ++------
tests/general/AuthTest.php | 14 +++++++-------
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e272f788d..cb9199c7f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,15 +14,11 @@ php:
- 5.5
- 5.6
- hhvm
-
-matrix:
- allow_failures:
- - php: hhvm
before_script:
- composer install
- - echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- - echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
+ - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension=memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- phpenv version-name | grep ^5.[34] && echo "extension=apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
- phpenv version-name | grep ^5.[34] && echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini ; true
diff --git a/tests/general/AuthTest.php b/tests/general/AuthTest.php
index 65928a04a..ac664de40 100644
--- a/tests/general/AuthTest.php
+++ b/tests/general/AuthTest.php
@@ -43,8 +43,8 @@ class AuthTest extends BaseTest {
private $verifier;
public function setUp() {
- $this->signer = new Google_Signer_P12(file_get_contents(self::PRIVATE_KEY_FILE, true), "notasecret");
- $this->pem = file_get_contents(self::PUBLIC_KEY_FILE, true);
+ $this->signer = new Google_Signer_P12(file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true), "notasecret");
+ $this->pem = file_get_contents(__DIR__.'/'.self::PUBLIC_KEY_FILE, true);
$this->verifier = new Google_Verifier_Pem($this->pem);
}
@@ -71,14 +71,14 @@ public function testDirectInject() {
public function testCantOpenP12() {
try {
- new Google_Signer_P12(file_get_contents(self::PRIVATE_KEY_FILE, true), "badpassword");
+ new Google_Signer_P12(file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true), "badpassword");
$this->fail("Should have thrown");
} catch (Google_Auth_Exception $e) {
$this->assertContains("mac verify failure", $e->getMessage());
}
try {
- new Google_Signer_P12(file_get_contents(self::PRIVATE_KEY_FILE, true) . "foo", "badpassword");
+ new Google_Signer_P12(file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true) . "foo", "badpassword");
$this->fail("Should have thrown");
} catch (Exception $e) {
$this->assertContains("Unable to parse", $e->getMessage());
@@ -240,7 +240,7 @@ public function testNoAuth() {
public function testAssertionCredentials() {
$assertion = new Google_Auth_AssertionCredentials('name', 'scope',
- file_get_contents(self::PRIVATE_KEY_FILE, true));
+ file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true));
$token = explode(".", $assertion->generateAssertion());
$this->assertEquals('{"typ":"JWT","alg":"RS256"}', base64_decode($token[0]));
@@ -253,13 +253,13 @@ public function testAssertionCredentials() {
$key = $assertion->getCacheKey();
$this->assertTrue($key != false);
$assertion = new Google_Auth_AssertionCredentials('name2', 'scope',
- file_get_contents(self::PRIVATE_KEY_FILE, true));
+ file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true));
$this->assertNotEquals($key, $assertion->getCacheKey());
}
public function testVerifySignedJWT() {
$assertion = new Google_Auth_AssertionCredentials('issuer', 'scope',
- file_get_contents(self::PRIVATE_KEY_FILE, true));
+ file_get_contents(__DIR__.'/'.self::PRIVATE_KEY_FILE, true));
$client = $this->getClient();
$this->assertInstanceOf('Google_Auth_LoginTicket', $client->verifySignedJwt(
From e5d1613212bbff5f9b2dc81450c8e0dc681e2c67 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:20 -0700
Subject: [PATCH 0142/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 72 +++++++++++++++----------------
1 file changed, 35 insertions(+), 37 deletions(-)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index b8d5e18f8..b6e952515 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -1252,9 +1252,7 @@ public function listLayers($optParams = array())
return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
}
/**
- * Mutate a layer asset. Note that if a VectorStyle object is provided, it fully
- * replaces the original VectorStyle present in the layer. This is a known
- * issue. (layers.patch)
+ * Mutate a layer asset. (layers.patch)
*
* @param string $id
* The ID of the layer.
@@ -1616,13 +1614,13 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
- * @return Google_Service_MapsEngine_RastercollectionsListResponse
+ * @return Google_Service_MapsEngine_RasterCollectionsListResponse
*/
public function listRasterCollections($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RastercollectionsListResponse");
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse");
}
/**
* Mutate a raster collection asset. (rasterCollections.patch)
@@ -1770,13 +1768,13 @@ public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRast
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
- * @return Google_Service_MapsEngine_RastersListResponse
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
*/
public function listRasterCollectionsRasters($id, $optParams = array())
{
$params = array('id' => $id);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse");
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
}
}
@@ -4221,7 +4219,34 @@ public function getTags()
}
}
-class Google_Service_MapsEngine_RasterCollectionRaster extends Google_Collection
+class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
{
public $bbox;
public $creationTime;
@@ -4364,37 +4389,10 @@ class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse exte
}
-class Google_Service_MapsEngine_RastercollectionsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
- protected $rasterCollectionsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasterCollections($rasterCollections)
- {
- $this->rasterCollections = $rasterCollections;
- }
-
- public function getRasterCollections()
- {
- return $this->rasterCollections;
- }
-}
-
-class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
+class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
{
public $nextPageToken;
- protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionRaster';
+ protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
protected $rastersDataType = 'array';
public function setNextPageToken($nextPageToken)
From b34619e2d39c4507597decbec08b17d4aa194d1a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:21 -0700
Subject: [PATCH 0143/1371] Updated Blogger.php
---
src/Google/Service/Blogger.php | 104 +++++++++++++++++++++++++++------
1 file changed, 85 insertions(+), 19 deletions(-)
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
index 4014fed5a..3842bec19 100644
--- a/src/Google/Service/Blogger.php
+++ b/src/Google/Service/Blogger.php
@@ -138,6 +138,11 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'boolean',
),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
'role' => array(
'location' => 'query',
'type' => 'string',
@@ -414,6 +419,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'list' => array(
'path' => 'blogs/{blogId}/pages',
@@ -452,6 +461,14 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'update' => array(
'path' => 'blogs/{blogId}/pages/{pageId}',
@@ -467,6 +484,14 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),
)
@@ -906,7 +931,7 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
{
/**
- * Gets one blog by id. (blogs.get)
+ * Gets one blog by ID. (blogs.get)
*
* @param string $blogId
* The ID of the blog to get.
@@ -915,7 +940,7 @@ class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
* @opt_param string maxPosts
* Maximum number of posts to pull back with the blog.
* @opt_param string view
- * Access level with which to view the blogs. Note that some fields require elevated access.
+ * Access level with which to view the blog. Note that some fields require elevated access.
* @return Google_Service_Blogger_Blog
*/
public function get($blogId, $optParams = array())
@@ -932,7 +957,7 @@ public function get($blogId, $optParams = array())
* @param array $optParams Optional parameters.
*
* @opt_param string view
- * Access level with which to view the blogs. Note that some fields require elevated access.
+ * Access level with which to view the blog. Note that some fields require elevated access.
* @return Google_Service_Blogger_Blog
*/
public function getByUrl($url, $optParams = array())
@@ -951,6 +976,9 @@ public function getByUrl($url, $optParams = array())
*
* @opt_param bool fetchUserInfo
* Whether the response is a list of blogs with per-user information instead of just blogs.
+ * @opt_param string status
+ * Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is
+ * required to view deleted blogs.
* @opt_param string role
* User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
* user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
@@ -981,7 +1009,7 @@ class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
* Marks a comment as not spam. (comments.approve)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -996,10 +1024,10 @@ public function approve($blogId, $postId, $commentId, $optParams = array())
return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
}
/**
- * Delete a comment by id. (comments.delete)
+ * Delete a comment by ID. (comments.delete)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -1013,7 +1041,7 @@ public function delete($blogId, $postId, $commentId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Gets one comment by id. (comments.get)
+ * Gets one comment by ID. (comments.get)
*
* @param string $blogId
* ID of the blog to containing the comment.
@@ -1097,7 +1125,7 @@ public function listByBlog($blogId, $optParams = array())
* Marks a comment as spam. (comments.markAsSpam)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -1115,7 +1143,7 @@ public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
* Removes the content of a comment. (comments.removeContent)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param string $commentId
@@ -1173,10 +1201,10 @@ class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
{
/**
- * Delete a page by id. (pages.delete)
+ * Delete a page by ID. (pages.delete)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $pageId
* The ID of the Page.
* @param array $optParams Optional parameters.
@@ -1188,7 +1216,7 @@ public function delete($blogId, $pageId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Gets one blog page by id. (pages.get)
+ * Gets one blog page by ID. (pages.get)
*
* @param string $blogId
* ID of the blog containing the page.
@@ -1213,6 +1241,9 @@ public function get($blogId, $pageId, $optParams = array())
* ID of the blog to add the page to.
* @param Google_Page $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool isDraft
+ * Whether to create the page as a draft (default: false).
* @return Google_Service_Blogger_Page
*/
public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
@@ -1253,6 +1284,11 @@ public function listPages($blogId, $optParams = array())
* The ID of the Page.
* @param Google_Page $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
* @return Google_Service_Blogger_Page
*/
public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
@@ -1270,6 +1306,11 @@ public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $
* The ID of the Page.
* @param Google_Page $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
* @return Google_Service_Blogger_Page
*/
public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
@@ -1292,7 +1333,7 @@ class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resou
{
/**
- * Gets one post and user info pair, by post id and user id. The post user info
+ * Gets one post and user info pair, by post ID and user ID. The post user info
* contains per-user information about the post, such as access rights, specific
* to the user. (postUserInfos.get)
*
@@ -1368,10 +1409,10 @@ class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
{
/**
- * Delete a post by id. (posts.delete)
+ * Delete a post by ID. (posts.delete)
*
* @param string $blogId
- * The Id of the Blog.
+ * The ID of the Blog.
* @param string $postId
* The ID of the Post.
* @param array $optParams Optional parameters.
@@ -1383,7 +1424,7 @@ public function delete($blogId, $postId, $optParams = array())
return $this->call('delete', array($params));
}
/**
- * Get a post by id. (posts.get)
+ * Get a post by ID. (posts.get)
*
* @param string $blogId
* ID of the blog to fetch the post from.
@@ -1519,7 +1560,8 @@ public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $
return $this->call('patch', array($params), "Google_Service_Blogger_Post");
}
/**
- * Publish a draft post. (posts.publish)
+ * Publishes a draft post, optionally at the specific time of the given
+ * publishDate parameter. (posts.publish)
*
* @param string $blogId
* The ID of the Blog.
@@ -1528,7 +1570,9 @@ public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $
* @param array $optParams Optional parameters.
*
* @opt_param string publishDate
- * The date and time to schedule the publishing of the Blog.
+ * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is
+ * given, the post is either published at the a previously saved schedule date (if present), or the
+ * current time. If a future date is given, the post will be scheduled to be published.
* @return Google_Service_Blogger_Post
*/
public function publish($blogId, $postId, $optParams = array())
@@ -1617,7 +1661,7 @@ class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
{
/**
- * Gets one user by id. (users.get)
+ * Gets one user by ID. (users.get)
*
* @param string $userId
* The ID of the user to get.
@@ -1650,6 +1694,7 @@ class Google_Service_Blogger_Blog extends Google_Model
protected $postsDataType = '';
public $published;
public $selfLink;
+ public $status;
public $updated;
public $url;
@@ -1753,6 +1798,16 @@ public function getSelfLink()
return $this->selfLink;
}
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
public function setUpdated($updated)
{
$this->updated = $updated;
@@ -2623,6 +2678,7 @@ class Google_Service_Blogger_Post extends Google_Collection
protected $locationType = 'Google_Service_Blogger_PostLocation';
protected $locationDataType = '';
public $published;
+ public $readerComments;
protected $repliesType = 'Google_Service_Blogger_PostReplies';
protected $repliesDataType = '';
public $selfLink;
@@ -2732,6 +2788,16 @@ public function getPublished()
return $this->published;
}
+ public function setReaderComments($readerComments)
+ {
+ $this->readerComments = $readerComments;
+ }
+
+ public function getReaderComments()
+ {
+ return $this->readerComments;
+ }
+
public function setReplies(Google_Service_Blogger_PostReplies $replies)
{
$this->replies = $replies;
From 7f3eabbc31225ec06155291e624fd482eff313f8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:21 -0700
Subject: [PATCH 0144/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 56ee55de4..8389da320 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -31,10 +31,14 @@
*/
class Google_Service_Genomics extends Google_Service
{
+ /** View and manage your data in Google BigQuery. */
+ const BIGQUERY = "https://www.googleapis.com/auth/bigquery";
/** Manage your data in Google Cloud Storage. */
const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
/** View and manage Genomics data. */
const GENOMICS = "https://www.googleapis.com/auth/genomics";
+ /** View Genomics data. */
+ const GENOMICS_READONLY = "https://www.googleapis.com/auth/genomics.readonly";
public $beacons;
public $callsets;
@@ -186,10 +190,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'maxTimestamp' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
'maxResults' => array(
'location' => 'query',
'type' => 'string',
@@ -617,8 +617,6 @@ public function get($datasetId, $optParams = array())
* @opt_param string pageToken
* The continuation token, which is used to page through large result sets. To get the next page of
* results, set this parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxTimestamp
- *
* @opt_param string maxResults
* The maximum number of results returned by this request.
* @opt_param string projectId
@@ -756,12 +754,15 @@ public function get($readId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Genomics_Read");
}
/**
- * Gets a list of reads for one or more readsets. SearchReads operates over a
- * genomic coordinate space of sequence+position defined over the reference
- * sequences to which the requested readsets are aligned. If a target positional
- * range is specified, SearchReads returns all reads whose alignment to the
- * reference genome overlap the range. A query which specifies only readset IDs
- * yields all reads in those readsets, including unmapped reads. (reads.search)
+ * Gets a list of reads for one or more readsets. Reads search operates over a
+ * genomic coordinate space of reference sequence & position defined over the
+ * reference sequences to which the requested readsets are aligned. If a target
+ * positional range is specified, search returns all reads whose alignment to
+ * the reference genome overlap the range. A query which specifies only readset
+ * IDs yields all reads in those readsets, including unmapped reads. All reads
+ * returned (including reads on subsequent pages) are ordered by genomic
+ * coordinate (reference sequence & position). Reads with equivalent genomic
+ * coordinates are returned in a deterministic order. (reads.search)
*
* @param Google_SearchReadsRequest $postBody
* @param array $optParams Optional parameters.
From 51dae502164879ed29311e750a8f2f2ad817025b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:22 -0700
Subject: [PATCH 0145/1371] Updated PlusDomains.php
---
src/Google/Service/PlusDomains.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/PlusDomains.php b/src/Google/Service/PlusDomains.php
index a873569e9..df3679d83 100644
--- a/src/Google/Service/PlusDomains.php
+++ b/src/Google/Service/PlusDomains.php
@@ -3562,8 +3562,19 @@ public function getValue()
class Google_Service_PlusDomains_PersonImage extends Google_Model
{
+ public $isDefault;
public $url;
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+
public function setUrl($url)
{
$this->url = $url;
From 913748ff9f452a1a6aea223ee472d2d1c6f95b7a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 10 Jul 2014 00:39:22 -0700
Subject: [PATCH 0146/1371] Updated Plus.php
---
src/Google/Service/Plus.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Plus.php b/src/Google/Service/Plus.php
index 61710821a..cf628f190 100644
--- a/src/Google/Service/Plus.php
+++ b/src/Google/Service/Plus.php
@@ -3455,8 +3455,19 @@ public function getValue()
class Google_Service_Plus_PersonImage extends Google_Model
{
+ public $isDefault;
public $url;
+ public function setIsDefault($isDefault)
+ {
+ $this->isDefault = $isDefault;
+ }
+
+ public function getIsDefault()
+ {
+ return $this->isDefault;
+ }
+
public function setUrl($url)
{
$this->url = $url;
From 8ffd93f266fb3597f13927d4d4e1ac442c90b9a3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 11 Jul 2014 03:40:35 -0400
Subject: [PATCH 0147/1371] Removed Blogger.php
---
src/Google/Service/Blogger.php | 3381 --------------------------------
1 file changed, 3381 deletions(-)
delete mode 100644 src/Google/Service/Blogger.php
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
deleted file mode 100644
index 3842bec19..000000000
--- a/src/Google/Service/Blogger.php
+++ /dev/null
@@ -1,3381 +0,0 @@
-
- * API for access to the data within Blogger.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_Blogger extends Google_Service
-{
- /** Manage your Blogger account. */
- const BLOGGER = "https://www.googleapis.com/auth/blogger";
- /** View your Blogger account. */
- const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly";
-
- public $blogUserInfos;
- public $blogs;
- public $comments;
- public $pageViews;
- public $pages;
- public $postUserInfos;
- public $posts;
- public $users;
-
-
- /**
- * Constructs the internal representation of the Blogger service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'blogger/v3/';
- $this->version = 'v3';
- $this->serviceName = 'blogger';
-
- $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource(
- $this,
- $this->serviceName,
- 'blogUserInfos',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}/blogs/{blogId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxPosts' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->blogs = new Google_Service_Blogger_Blogs_Resource(
- $this,
- $this->serviceName,
- 'blogs',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'blogs/{blogId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxPosts' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getByUrl' => array(
- 'path' => 'blogs/byurl',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'url' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listByUser' => array(
- 'path' => 'users/{userId}/blogs',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchUserInfo' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'role' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->comments = new Google_Service_Blogger_Comments_Resource(
- $this,
- $this->serviceName,
- 'comments',
- array(
- 'methods' => array(
- 'approve' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'delete' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'listByBlog' => array(
- 'path' => 'blogs/{blogId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'markAsSpam' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'removeContent' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->pageViews = new Google_Service_Blogger_PageViews_Resource(
- $this,
- $this->serviceName,
- 'pageViews',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'blogs/{blogId}/pageviews',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'range' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->pages = new Google_Service_Blogger_Pages_Resource(
- $this,
- $this->serviceName,
- 'pages',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'insert' => array(
- 'path' => 'blogs/{blogId}/pages',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'isDraft' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/pages',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'update' => array(
- 'path' => 'blogs/{blogId}/pages/{pageId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource(
- $this,
- $this->serviceName,
- 'postUserInfos',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'list' => array(
- 'path' => 'users/{userId}/blogs/{blogId}/posts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->posts = new Google_Service_Blogger_Posts_Resource(
- $this,
- $this->serviceName,
- 'posts',
- array(
- 'methods' => array(
- 'delete' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'getByPath' => array(
- 'path' => 'blogs/{blogId}/posts/bypath',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'path' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'insert' => array(
- 'path' => 'blogs/{blogId}/posts',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'isDraft' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'blogs/{blogId}/posts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'startDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'endDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'status' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'view' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'patch' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'publish' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/publish',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'publishDate' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),'revert' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}/revert',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'search' => array(
- 'path' => 'blogs/{blogId}/posts/search',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'q' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'fetchBodies' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'update' => array(
- 'path' => 'blogs/{blogId}/posts/{postId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'blogId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'postId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'revert' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'publish' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'fetchBody' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- 'maxComments' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'fetchImages' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),
- )
- )
- );
- $this->users = new Google_Service_Blogger_Users_Resource(
- $this,
- $this->serviceName,
- 'users',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'users/{userId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "blogUserInfos" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $blogUserInfos = $bloggerService->blogUserInfos;
- *
- */
-class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
- *
- * @param string $userId
- * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
- * user's profile identifier.
- * @param string $blogId
- * The ID of the blog to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxPosts
- * Maximum number of posts to pull back with the blog.
- * @return Google_Service_Blogger_BlogUserInfo
- */
- public function get($userId, $blogId, $optParams = array())
- {
- $params = array('userId' => $userId, 'blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
- }
-}
-
-/**
- * The "blogs" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $blogs = $bloggerService->blogs;
- *
- */
-class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one blog by ID. (blogs.get)
- *
- * @param string $blogId
- * The ID of the blog to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxPosts
- * Maximum number of posts to pull back with the blog.
- * @opt_param string view
- * Access level with which to view the blog. Note that some fields require elevated access.
- * @return Google_Service_Blogger_Blog
- */
- public function get($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Blog");
- }
- /**
- * Retrieve a Blog by URL. (blogs.getByUrl)
- *
- * @param string $url
- * The URL of the blog to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- * Access level with which to view the blog. Note that some fields require elevated access.
- * @return Google_Service_Blogger_Blog
- */
- public function getByUrl($url, $optParams = array())
- {
- $params = array('url' => $url);
- $params = array_merge($params, $optParams);
- return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
- }
- /**
- * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
- *
- * @param string $userId
- * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
- * user's profile identifier.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool fetchUserInfo
- * Whether the response is a list of blogs with per-user information instead of just blogs.
- * @opt_param string status
- * Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is
- * required to view deleted blogs.
- * @opt_param string role
- * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
- * user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
- * @opt_param string view
- * Access level with which to view the blogs. Note that some fields require elevated access.
- * @return Google_Service_Blogger_BlogList
- */
- public function listByUser($userId, $optParams = array())
- {
- $params = array('userId' => $userId);
- $params = array_merge($params, $optParams);
- return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
- }
-}
-
-/**
- * The "comments" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $comments = $bloggerService->comments;
- *
- */
-class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
-{
-
- /**
- * Marks a comment as not spam. (comments.approve)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to mark as not spam.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Comment
- */
- public function approve($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
- }
- /**
- * Delete a comment by ID. (comments.delete)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to delete.
- * @param array $optParams Optional parameters.
- */
- public function delete($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Gets one comment by ID. (comments.get)
- *
- * @param string $blogId
- * ID of the blog to containing the comment.
- * @param string $postId
- * ID of the post to fetch posts from.
- * @param string $commentId
- * The ID of the comment to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- * Access level for the requested comment (default: READER). Note that some comments will require
- * elevated permissions, for example comments where the parent posts which is in a draft state, or
- * comments that are pending moderation.
- * @return Google_Service_Blogger_Comment
- */
- public function get($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Comment");
- }
- /**
- * Retrieves the comments for a post, possibly filtered. (comments.listComments)
- *
- * @param string $blogId
- * ID of the blog to fetch comments from.
- * @param string $postId
- * ID of the post to fetch posts from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string status
- *
- * @opt_param string startDate
- * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string maxResults
- * Maximum number of comments to include in the result.
- * @opt_param string pageToken
- * Continuation token if request is paged.
- * @opt_param bool fetchBodies
- * Whether the body content of the comments is included.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_CommentList
- */
- public function listComments($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
- }
- /**
- * Retrieves the comments for a blog, across all posts, possibly filtered.
- * (comments.listByBlog)
- *
- * @param string $blogId
- * ID of the blog to fetch comments from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string startDate
- * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string maxResults
- * Maximum number of comments to include in the result.
- * @opt_param string pageToken
- * Continuation token if request is paged.
- * @opt_param bool fetchBodies
- * Whether the body content of the comments is included.
- * @return Google_Service_Blogger_CommentList
- */
- public function listByBlog($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
- }
- /**
- * Marks a comment as spam. (comments.markAsSpam)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to mark as spam.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Comment
- */
- public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
- }
- /**
- * Removes the content of a comment. (comments.removeContent)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param string $commentId
- * The ID of the comment to delete content from.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Comment
- */
- public function removeContent($blogId, $postId, $commentId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
- }
-}
-
-/**
- * The "pageViews" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $pageViews = $bloggerService->pageViews;
- *
- */
-class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieve pageview stats for a Blog. (pageViews.get)
- *
- * @param string $blogId
- * The ID of the blog to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string range
- *
- * @return Google_Service_Blogger_Pageviews
- */
- public function get($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
- }
-}
-
-/**
- * The "pages" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $pages = $bloggerService->pages;
- *
- */
-class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete a page by ID. (pages.delete)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $pageId
- * The ID of the Page.
- * @param array $optParams Optional parameters.
- */
- public function delete($blogId, $pageId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Gets one blog page by ID. (pages.get)
- *
- * @param string $blogId
- * ID of the blog containing the page.
- * @param string $pageId
- * The ID of the page to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- *
- * @return Google_Service_Blogger_Page
- */
- public function get($blogId, $pageId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Page");
- }
- /**
- * Add a page. (pages.insert)
- *
- * @param string $blogId
- * ID of the blog to add the page to.
- * @param Google_Page $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool isDraft
- * Whether to create the page as a draft (default: false).
- * @return Google_Service_Blogger_Page
- */
- public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Blogger_Page");
- }
- /**
- * Retrieves the pages for a blog, optionally including non-LIVE statuses.
- * (pages.listPages)
- *
- * @param string $blogId
- * ID of the blog to fetch pages from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string status
- *
- * @opt_param bool fetchBodies
- * Whether to retrieve the Page bodies.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_PageList
- */
- public function listPages($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_PageList");
- }
- /**
- * Update a page. This method supports patch semantics. (pages.patch)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $pageId
- * The ID of the Page.
- * @param Google_Page $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the page is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the page is updated (default: false).
- * @return Google_Service_Blogger_Page
- */
- public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Blogger_Page");
- }
- /**
- * Update a page. (pages.update)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $pageId
- * The ID of the Page.
- * @param Google_Page $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the page is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the page is updated (default: false).
- * @return Google_Service_Blogger_Page
- */
- public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Blogger_Page");
- }
-}
-
-/**
- * The "postUserInfos" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $postUserInfos = $bloggerService->postUserInfos;
- *
- */
-class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one post and user info pair, by post ID and user ID. The post user info
- * contains per-user information about the post, such as access rights, specific
- * to the user. (postUserInfos.get)
- *
- * @param string $userId
- * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
- * marks) or the user's profile identifier.
- * @param string $blogId
- * The ID of the blog.
- * @param string $postId
- * The ID of the post to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxComments
- * Maximum number of comments to pull back on a post.
- * @return Google_Service_Blogger_PostUserInfo
- */
- public function get($userId, $blogId, $postId, $optParams = array())
- {
- $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
- }
- /**
- * Retrieves a list of post and post user info pairs, possibly filtered. The
- * post user info contains per-user information about the post, such as access
- * rights, specific to the user. (postUserInfos.listPostUserInfos)
- *
- * @param string $userId
- * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
- * marks) or the user's profile identifier.
- * @param string $blogId
- * ID of the blog to fetch posts from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * Sort order applied to search results. Default is published.
- * @opt_param string startDate
- * Earliest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string labels
- * Comma-separated list of labels to search for.
- * @opt_param string maxResults
- * Maximum number of posts to fetch.
- * @opt_param string pageToken
- * Continuation token if the request is paged.
- * @opt_param string status
- *
- * @opt_param bool fetchBodies
- * Whether the body content of posts is included. Default is false.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_PostUserInfosList
- */
- public function listPostUserInfos($userId, $blogId, $optParams = array())
- {
- $params = array('userId' => $userId, 'blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
- }
-}
-
-/**
- * The "posts" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $posts = $bloggerService->posts;
- *
- */
-class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete a post by ID. (posts.delete)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param array $optParams Optional parameters.
- */
- public function delete($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Get a post by ID. (posts.get)
- *
- * @param string $blogId
- * ID of the blog to fetch the post from.
- * @param string $postId
- * The ID of the post
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool fetchBody
- * Whether the body content of the post is included (default: true). This should be set to false
- * when the post bodies are not required, to help minimize traffic.
- * @opt_param string maxComments
- * Maximum number of comments to pull back on a post.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included (default: false).
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_Post
- */
- public function get($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Retrieve a Post by Path. (posts.getByPath)
- *
- * @param string $blogId
- * ID of the blog to fetch the post from.
- * @param string $path
- * Path of the Post to retrieve.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxComments
- * Maximum number of comments to pull back on a post.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require elevated
- * access.
- * @return Google_Service_Blogger_Post
- */
- public function getByPath($blogId, $path, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'path' => $path);
- $params = array_merge($params, $optParams);
- return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Add a post. (posts.insert)
- *
- * @param string $blogId
- * ID of the blog to add the post to.
- * @param Google_Post $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included in the returned result (default: false).
- * @opt_param bool isDraft
- * Whether to create the post as a draft (default: false).
- * @opt_param bool fetchBody
- * Whether the body content of the post is included with the result (default: true).
- * @return Google_Service_Blogger_Post
- */
- public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Retrieves a list of posts, possibly filtered. (posts.listPosts)
- *
- * @param string $blogId
- * ID of the blog to fetch posts from.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * Sort search results
- * @opt_param string startDate
- * Earliest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string endDate
- * Latest post date to fetch, a date-time with RFC 3339 formatting.
- * @opt_param string labels
- * Comma-separated list of labels to search for.
- * @opt_param string maxResults
- * Maximum number of posts to fetch.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included.
- * @opt_param string pageToken
- * Continuation token if the request is paged.
- * @opt_param string status
- * Statuses to include in the results.
- * @opt_param bool fetchBodies
- * Whether the body content of posts is included (default: true). This should be set to false when
- * the post bodies are not required, to help minimize traffic.
- * @opt_param string view
- * Access level with which to view the returned result. Note that some fields require escalated
- * access.
- * @return Google_Service_Blogger_PostList
- */
- public function listPosts($blogId, $optParams = array())
- {
- $params = array('blogId' => $blogId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Blogger_PostList");
- }
- /**
- * Update a post. This method supports patch semantics. (posts.patch)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param Google_Post $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the post is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the post is updated (default: false).
- * @opt_param bool fetchBody
- * Whether the body content of the post is included with the result (default: true).
- * @opt_param string maxComments
- * Maximum number of comments to retrieve with the returned post.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included in the returned result (default: false).
- * @return Google_Service_Blogger_Post
- */
- public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Publishes a draft post, optionally at the specific time of the given
- * publishDate parameter. (posts.publish)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string publishDate
- * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is
- * given, the post is either published at the a previously saved schedule date (if present), or the
- * current time. If a future date is given, the post will be scheduled to be published.
- * @return Google_Service_Blogger_Post
- */
- public function publish($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Revert a published or scheduled post to draft state. (posts.revert)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_Post
- */
- public function revert($blogId, $postId, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId);
- $params = array_merge($params, $optParams);
- return $this->call('revert', array($params), "Google_Service_Blogger_Post");
- }
- /**
- * Search for a post. (posts.search)
- *
- * @param string $blogId
- * ID of the blog to fetch the post from.
- * @param string $q
- * Query terms to search this blog for matching posts.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * Sort search results
- * @opt_param bool fetchBodies
- * Whether the body content of posts is included (default: true). This should be set to false when
- * the post bodies are not required, to help minimize traffic.
- * @return Google_Service_Blogger_PostList
- */
- public function search($blogId, $q, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'q' => $q);
- $params = array_merge($params, $optParams);
- return $this->call('search', array($params), "Google_Service_Blogger_PostList");
- }
- /**
- * Update a post. (posts.update)
- *
- * @param string $blogId
- * The ID of the Blog.
- * @param string $postId
- * The ID of the Post.
- * @param Google_Post $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool revert
- * Whether a revert action should be performed when the post is updated (default: false).
- * @opt_param bool publish
- * Whether a publish action should be performed when the post is updated (default: false).
- * @opt_param bool fetchBody
- * Whether the body content of the post is included with the result (default: true).
- * @opt_param string maxComments
- * Maximum number of comments to retrieve with the returned post.
- * @opt_param bool fetchImages
- * Whether image URL metadata for each post is included in the returned result (default: false).
- * @return Google_Service_Blogger_Post
- */
- public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
- {
- $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Blogger_Post");
- }
-}
-
-/**
- * The "users" collection of methods.
- * Typical usage is:
- *
- * $bloggerService = new Google_Service_Blogger(...);
- * $users = $bloggerService->users;
- *
- */
-class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets one user by ID. (users.get)
- *
- * @param string $userId
- * The ID of the user to get.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Blogger_User
- */
- public function get($userId, $optParams = array())
- {
- $params = array('userId' => $userId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Blogger_User");
- }
-}
-
-
-
-
-class Google_Service_Blogger_Blog extends Google_Model
-{
- public $customMetaData;
- public $description;
- public $id;
- public $kind;
- protected $localeType = 'Google_Service_Blogger_BlogLocale';
- protected $localeDataType = '';
- public $name;
- protected $pagesType = 'Google_Service_Blogger_BlogPages';
- protected $pagesDataType = '';
- protected $postsType = 'Google_Service_Blogger_BlogPosts';
- protected $postsDataType = '';
- public $published;
- public $selfLink;
- public $status;
- public $updated;
- public $url;
-
- public function setCustomMetaData($customMetaData)
- {
- $this->customMetaData = $customMetaData;
- }
-
- public function getCustomMetaData()
- {
- return $this->customMetaData;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLocale(Google_Service_Blogger_BlogLocale $locale)
- {
- $this->locale = $locale;
- }
-
- public function getLocale()
- {
- return $this->locale;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPages(Google_Service_Blogger_BlogPages $pages)
- {
- $this->pages = $pages;
- }
-
- public function getPages()
- {
- return $this->pages;
- }
-
- public function setPosts(Google_Service_Blogger_BlogPosts $posts)
- {
- $this->posts = $posts;
- }
-
- public function getPosts()
- {
- return $this->posts;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_BlogList extends Google_Collection
-{
- protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
- protected $blogUserInfosDataType = 'array';
- protected $itemsType = 'Google_Service_Blogger_Blog';
- protected $itemsDataType = 'array';
- public $kind;
-
- public function setBlogUserInfos($blogUserInfos)
- {
- $this->blogUserInfos = $blogUserInfos;
- }
-
- public function getBlogUserInfos()
- {
- return $this->blogUserInfos;
- }
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_BlogLocale extends Google_Model
-{
- public $country;
- public $language;
- public $variant;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLanguage($language)
- {
- $this->language = $language;
- }
-
- public function getLanguage()
- {
- return $this->language;
- }
-
- public function setVariant($variant)
- {
- $this->variant = $variant;
- }
-
- public function getVariant()
- {
- return $this->variant;
- }
-}
-
-class Google_Service_Blogger_BlogPages extends Google_Model
-{
- public $selfLink;
- public $totalItems;
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
-{
- public $blogId;
- public $hasAdminAccess;
- public $kind;
- public $photosAlbumKey;
- public $role;
- public $userId;
-
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- }
-
- public function getBlogId()
- {
- return $this->blogId;
- }
-
- public function setHasAdminAccess($hasAdminAccess)
- {
- $this->hasAdminAccess = $hasAdminAccess;
- }
-
- public function getHasAdminAccess()
- {
- return $this->hasAdminAccess;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPhotosAlbumKey($photosAlbumKey)
- {
- $this->photosAlbumKey = $photosAlbumKey;
- }
-
- public function getPhotosAlbumKey()
- {
- return $this->photosAlbumKey;
- }
-
- public function setRole($role)
- {
- $this->role = $role;
- }
-
- public function getRole()
- {
- return $this->role;
- }
-
- public function setUserId($userId)
- {
- $this->userId = $userId;
- }
-
- public function getUserId()
- {
- return $this->userId;
- }
-}
-
-class Google_Service_Blogger_BlogPosts extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Post';
- protected $itemsDataType = 'array';
- public $selfLink;
- public $totalItems;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Blogger_BlogUserInfo extends Google_Model
-{
- protected $blogType = 'Google_Service_Blogger_Blog';
- protected $blogDataType = '';
- protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
- protected $blogUserInfoDataType = '';
- public $kind;
-
- public function setBlog(Google_Service_Blogger_Blog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
- {
- $this->blogUserInfo = $blogUserInfo;
- }
-
- public function getBlogUserInfo()
- {
- return $this->blogUserInfo;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_Comment extends Google_Model
-{
- protected $authorType = 'Google_Service_Blogger_CommentAuthor';
- protected $authorDataType = '';
- protected $blogType = 'Google_Service_Blogger_CommentBlog';
- protected $blogDataType = '';
- public $content;
- public $id;
- protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
- protected $inReplyToDataType = '';
- public $kind;
- protected $postType = 'Google_Service_Blogger_CommentPost';
- protected $postDataType = '';
- public $published;
- public $selfLink;
- public $status;
- public $updated;
-
- public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBlog(Google_Service_Blogger_CommentBlog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
- {
- $this->inReplyTo = $inReplyTo;
- }
-
- public function getInReplyTo()
- {
- return $this->inReplyTo;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPost(Google_Service_Blogger_CommentPost $post)
- {
- $this->post = $post;
- }
-
- public function getPost()
- {
- return $this->post;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-}
-
-class Google_Service_Blogger_CommentAuthor extends Google_Model
-{
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
- protected $imageDataType = '';
- public $url;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
- {
- $this->image = $image;
- }
-
- public function getImage()
- {
- return $this->image;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_CommentAuthorImage extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_CommentBlog extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_CommentInReplyTo extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_CommentList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Comment';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
- public $prevPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setPrevPageToken($prevPageToken)
- {
- $this->prevPageToken = $prevPageToken;
- }
-
- public function getPrevPageToken()
- {
- return $this->prevPageToken;
- }
-}
-
-class Google_Service_Blogger_CommentPost extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_Page extends Google_Model
-{
- protected $authorType = 'Google_Service_Blogger_PageAuthor';
- protected $authorDataType = '';
- protected $blogType = 'Google_Service_Blogger_PageBlog';
- protected $blogDataType = '';
- public $content;
- public $id;
- public $kind;
- public $published;
- public $selfLink;
- public $status;
- public $title;
- public $updated;
- public $url;
-
- public function setAuthor(Google_Service_Blogger_PageAuthor $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBlog(Google_Service_Blogger_PageBlog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PageAuthor extends Google_Model
-{
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
- protected $imageDataType = '';
- public $url;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImage(Google_Service_Blogger_PageAuthorImage $image)
- {
- $this->image = $image;
- }
-
- public function getImage()
- {
- return $this->image;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PageAuthorImage extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PageBlog extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_PageList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Page';
- protected $itemsDataType = 'array';
- public $kind;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_Pageviews extends Google_Collection
-{
- public $blogId;
- protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
- protected $countsDataType = 'array';
- public $kind;
-
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- }
-
- public function getBlogId()
- {
- return $this->blogId;
- }
-
- public function setCounts($counts)
- {
- $this->counts = $counts;
- }
-
- public function getCounts()
- {
- return $this->counts;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Blogger_PageviewsCounts extends Google_Model
-{
- public $count;
- public $timeRange;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setTimeRange($timeRange)
- {
- $this->timeRange = $timeRange;
- }
-
- public function getTimeRange()
- {
- return $this->timeRange;
- }
-}
-
-class Google_Service_Blogger_Post extends Google_Collection
-{
- protected $authorType = 'Google_Service_Blogger_PostAuthor';
- protected $authorDataType = '';
- protected $blogType = 'Google_Service_Blogger_PostBlog';
- protected $blogDataType = '';
- public $content;
- public $customMetaData;
- public $id;
- protected $imagesType = 'Google_Service_Blogger_PostImages';
- protected $imagesDataType = 'array';
- public $kind;
- public $labels;
- protected $locationType = 'Google_Service_Blogger_PostLocation';
- protected $locationDataType = '';
- public $published;
- public $readerComments;
- protected $repliesType = 'Google_Service_Blogger_PostReplies';
- protected $repliesDataType = '';
- public $selfLink;
- public $status;
- public $title;
- public $titleLink;
- public $updated;
- public $url;
-
- public function setAuthor(Google_Service_Blogger_PostAuthor $author)
- {
- $this->author = $author;
- }
-
- public function getAuthor()
- {
- return $this->author;
- }
-
- public function setBlog(Google_Service_Blogger_PostBlog $blog)
- {
- $this->blog = $blog;
- }
-
- public function getBlog()
- {
- return $this->blog;
- }
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-
- public function setCustomMetaData($customMetaData)
- {
- $this->customMetaData = $customMetaData;
- }
-
- public function getCustomMetaData()
- {
- return $this->customMetaData;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImages($images)
- {
- $this->images = $images;
- }
-
- public function getImages()
- {
- return $this->images;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
-
- public function getLabels()
- {
- return $this->labels;
- }
-
- public function setLocation(Google_Service_Blogger_PostLocation $location)
- {
- $this->location = $location;
- }
-
- public function getLocation()
- {
- return $this->location;
- }
-
- public function setPublished($published)
- {
- $this->published = $published;
- }
-
- public function getPublished()
- {
- return $this->published;
- }
-
- public function setReaderComments($readerComments)
- {
- $this->readerComments = $readerComments;
- }
-
- public function getReaderComments()
- {
- return $this->readerComments;
- }
-
- public function setReplies(Google_Service_Blogger_PostReplies $replies)
- {
- $this->replies = $replies;
- }
-
- public function getReplies()
- {
- return $this->replies;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setTitleLink($titleLink)
- {
- $this->titleLink = $titleLink;
- }
-
- public function getTitleLink()
- {
- return $this->titleLink;
- }
-
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
-
- public function getUpdated()
- {
- return $this->updated;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostAuthor extends Google_Model
-{
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
- protected $imageDataType = '';
- public $url;
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setImage(Google_Service_Blogger_PostAuthorImage $image)
- {
- $this->image = $image;
- }
-
- public function getImage()
- {
- return $this->image;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostAuthorImage extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostBlog extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_Blogger_PostImages extends Google_Model
-{
- public $url;
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_PostList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Post';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Blogger_PostLocation extends Google_Model
-{
- public $lat;
- public $lng;
- public $name;
- public $span;
-
- public function setLat($lat)
- {
- $this->lat = $lat;
- }
-
- public function getLat()
- {
- return $this->lat;
- }
-
- public function setLng($lng)
- {
- $this->lng = $lng;
- }
-
- public function getLng()
- {
- return $this->lng;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSpan($span)
- {
- $this->span = $span;
- }
-
- public function getSpan()
- {
- return $this->span;
- }
-}
-
-class Google_Service_Blogger_PostPerUserInfo extends Google_Model
-{
- public $blogId;
- public $hasEditAccess;
- public $kind;
- public $postId;
- public $userId;
-
- public function setBlogId($blogId)
- {
- $this->blogId = $blogId;
- }
-
- public function getBlogId()
- {
- return $this->blogId;
- }
-
- public function setHasEditAccess($hasEditAccess)
- {
- $this->hasEditAccess = $hasEditAccess;
- }
-
- public function getHasEditAccess()
- {
- return $this->hasEditAccess;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPostId($postId)
- {
- $this->postId = $postId;
- }
-
- public function getPostId()
- {
- return $this->postId;
- }
-
- public function setUserId($userId)
- {
- $this->userId = $userId;
- }
-
- public function getUserId()
- {
- return $this->userId;
- }
-}
-
-class Google_Service_Blogger_PostReplies extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_Comment';
- protected $itemsDataType = 'array';
- public $selfLink;
- public $totalItems;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
-
- public function getTotalItems()
- {
- return $this->totalItems;
- }
-}
-
-class Google_Service_Blogger_PostUserInfo extends Google_Model
-{
- public $kind;
- protected $postType = 'Google_Service_Blogger_Post';
- protected $postDataType = '';
- protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
- protected $postUserInfoDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPost(Google_Service_Blogger_Post $post)
- {
- $this->post = $post;
- }
-
- public function getPost()
- {
- return $this->post;
- }
-
- public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
- {
- $this->postUserInfo = $postUserInfo;
- }
-
- public function getPostUserInfo()
- {
- return $this->postUserInfo;
- }
-}
-
-class Google_Service_Blogger_PostUserInfosList extends Google_Collection
-{
- protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
- public function setItems($items)
- {
- $this->items = $items;
- }
-
- public function getItems()
- {
- return $this->items;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Blogger_User extends Google_Model
-{
- public $about;
- protected $blogsType = 'Google_Service_Blogger_UserBlogs';
- protected $blogsDataType = '';
- public $created;
- public $displayName;
- public $id;
- public $kind;
- protected $localeType = 'Google_Service_Blogger_UserLocale';
- protected $localeDataType = '';
- public $selfLink;
- public $url;
-
- public function setAbout($about)
- {
- $this->about = $about;
- }
-
- public function getAbout()
- {
- return $this->about;
- }
-
- public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
- {
- $this->blogs = $blogs;
- }
-
- public function getBlogs()
- {
- return $this->blogs;
- }
-
- public function setCreated($created)
- {
- $this->created = $created;
- }
-
- public function getCreated()
- {
- return $this->created;
- }
-
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
-
- public function getDisplayName()
- {
- return $this->displayName;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLocale(Google_Service_Blogger_UserLocale $locale)
- {
- $this->locale = $locale;
- }
-
- public function getLocale()
- {
- return $this->locale;
- }
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-
- public function setUrl($url)
- {
- $this->url = $url;
- }
-
- public function getUrl()
- {
- return $this->url;
- }
-}
-
-class Google_Service_Blogger_UserBlogs extends Google_Model
-{
- public $selfLink;
-
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
-
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-}
-
-class Google_Service_Blogger_UserLocale extends Google_Model
-{
- public $country;
- public $language;
- public $variant;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLanguage($language)
- {
- $this->language = $language;
- }
-
- public function getLanguage()
- {
- return $this->language;
- }
-
- public function setVariant($variant)
- {
- $this->variant = $variant;
- }
-
- public function getVariant()
- {
- return $this->variant;
- }
-}
From fcd505880db16cc2d4f38d968fa362a8b0a5a4e3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 12 Jul 2014 00:41:31 -0700
Subject: [PATCH 0148/1371] Added service Blogger.php
---
src/Google/Service/Blogger.php | 3381 ++++++++++++++++++++++++++++++++
1 file changed, 3381 insertions(+)
create mode 100644 src/Google/Service/Blogger.php
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
new file mode 100644
index 000000000..3842bec19
--- /dev/null
+++ b/src/Google/Service/Blogger.php
@@ -0,0 +1,3381 @@
+
+ * API for access to the data within Blogger.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Blogger extends Google_Service
+{
+ /** Manage your Blogger account. */
+ const BLOGGER = "https://www.googleapis.com/auth/blogger";
+ /** View your Blogger account. */
+ const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly";
+
+ public $blogUserInfos;
+ public $blogs;
+ public $comments;
+ public $pageViews;
+ public $pages;
+ public $postUserInfos;
+ public $posts;
+ public $users;
+
+
+ /**
+ * Constructs the internal representation of the Blogger service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'blogger/v3/';
+ $this->version = 'v3';
+ $this->serviceName = 'blogger';
+
+ $this->blogUserInfos = new Google_Service_Blogger_BlogUserInfos_Resource(
+ $this,
+ $this->serviceName,
+ 'blogUserInfos',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxPosts' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->blogs = new Google_Service_Blogger_Blogs_Resource(
+ $this,
+ $this->serviceName,
+ 'blogs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'blogs/{blogId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxPosts' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getByUrl' => array(
+ 'path' => 'blogs/byurl',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'url' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByUser' => array(
+ 'path' => 'users/{userId}/blogs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchUserInfo' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->comments = new Google_Service_Blogger_Comments_Resource(
+ $this,
+ $this->serviceName,
+ 'comments',
+ array(
+ 'methods' => array(
+ 'approve' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/approve',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'listByBlog' => array(
+ 'path' => 'blogs/{blogId}/comments',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'markAsSpam' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/spam',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'removeContent' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'commentId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pageViews = new Google_Service_Blogger_PageViews_Resource(
+ $this,
+ $this->serviceName,
+ 'pageViews',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'blogs/{blogId}/pageviews',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->pages = new Google_Service_Blogger_Pages_Resource(
+ $this,
+ $this->serviceName,
+ 'pages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'blogs/{blogId}/pages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/pages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->postUserInfos = new Google_Service_Blogger_PostUserInfos_Resource(
+ $this,
+ $this->serviceName,
+ 'postUserInfos',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'users/{userId}/blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->posts = new Google_Service_Blogger_Posts_Resource(
+ $this,
+ $this->serviceName,
+ 'posts',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'getByPath' => array(
+ 'path' => 'blogs/{blogId}/posts/bypath',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'path' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'isDraft' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'blogs/{blogId}/posts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'endDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'view' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'publish' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'publishDate' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'revert' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}/revert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'search' => array(
+ 'path' => 'blogs/{blogId}/posts/search',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'q' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'orderBy' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'fetchBodies' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'blogs/{blogId}/posts/{postId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'postId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'revert' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'publish' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'fetchBody' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'maxComments' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'fetchImages' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->users = new Google_Service_Blogger_Users_Resource(
+ $this,
+ $this->serviceName,
+ 'users',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'users/{userId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'userId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "blogUserInfos" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $blogUserInfos = $bloggerService->blogUserInfos;
+ *
+ */
+class Google_Service_Blogger_BlogUserInfos_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
+ *
+ * @param string $userId
+ * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
+ * user's profile identifier.
+ * @param string $blogId
+ * The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxPosts
+ * Maximum number of posts to pull back with the blog.
+ * @return Google_Service_Blogger_BlogUserInfo
+ */
+ public function get($userId, $blogId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_BlogUserInfo");
+ }
+}
+
+/**
+ * The "blogs" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $blogs = $bloggerService->blogs;
+ *
+ */
+class Google_Service_Blogger_Blogs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one blog by ID. (blogs.get)
+ *
+ * @param string $blogId
+ * The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxPosts
+ * Maximum number of posts to pull back with the blog.
+ * @opt_param string view
+ * Access level with which to view the blog. Note that some fields require elevated access.
+ * @return Google_Service_Blogger_Blog
+ */
+ public function get($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Blog");
+ }
+ /**
+ * Retrieve a Blog by URL. (blogs.getByUrl)
+ *
+ * @param string $url
+ * The URL of the blog to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * Access level with which to view the blog. Note that some fields require elevated access.
+ * @return Google_Service_Blogger_Blog
+ */
+ public function getByUrl($url, $optParams = array())
+ {
+ $params = array('url' => $url);
+ $params = array_merge($params, $optParams);
+ return $this->call('getByUrl', array($params), "Google_Service_Blogger_Blog");
+ }
+ /**
+ * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
+ *
+ * @param string $userId
+ * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
+ * user's profile identifier.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchUserInfo
+ * Whether the response is a list of blogs with per-user information instead of just blogs.
+ * @opt_param string status
+ * Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is
+ * required to view deleted blogs.
+ * @opt_param string role
+ * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
+ * user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
+ * @opt_param string view
+ * Access level with which to view the blogs. Note that some fields require elevated access.
+ * @return Google_Service_Blogger_BlogList
+ */
+ public function listByUser($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByUser', array($params), "Google_Service_Blogger_BlogList");
+ }
+}
+
+/**
+ * The "comments" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $comments = $bloggerService->comments;
+ *
+ */
+class Google_Service_Blogger_Comments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Marks a comment as not spam. (comments.approve)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to mark as not spam.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function approve($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('approve', array($params), "Google_Service_Blogger_Comment");
+ }
+ /**
+ * Delete a comment by ID. (comments.delete)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one comment by ID. (comments.get)
+ *
+ * @param string $blogId
+ * ID of the blog to containing the comment.
+ * @param string $postId
+ * ID of the post to fetch posts from.
+ * @param string $commentId
+ * The ID of the comment to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * Access level for the requested comment (default: READER). Note that some comments will require
+ * elevated permissions, for example comments where the parent posts which is in a draft state, or
+ * comments that are pending moderation.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function get($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Comment");
+ }
+ /**
+ * Retrieves the comments for a post, possibly filtered. (comments.listComments)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch comments from.
+ * @param string $postId
+ * ID of the post to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status
+ *
+ * @opt_param string startDate
+ * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string maxResults
+ * Maximum number of comments to include in the result.
+ * @opt_param string pageToken
+ * Continuation token if request is paged.
+ * @opt_param bool fetchBodies
+ * Whether the body content of the comments is included.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_CommentList
+ */
+ public function listComments($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_CommentList");
+ }
+ /**
+ * Retrieves the comments for a blog, across all posts, possibly filtered.
+ * (comments.listByBlog)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch comments from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startDate
+ * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string maxResults
+ * Maximum number of comments to include in the result.
+ * @opt_param string pageToken
+ * Continuation token if request is paged.
+ * @opt_param bool fetchBodies
+ * Whether the body content of the comments is included.
+ * @return Google_Service_Blogger_CommentList
+ */
+ public function listByBlog($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('listByBlog', array($params), "Google_Service_Blogger_CommentList");
+ }
+ /**
+ * Marks a comment as spam. (comments.markAsSpam)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to mark as spam.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function markAsSpam($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsSpam', array($params), "Google_Service_Blogger_Comment");
+ }
+ /**
+ * Removes the content of a comment. (comments.removeContent)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param string $commentId
+ * The ID of the comment to delete content from.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Comment
+ */
+ public function removeContent($blogId, $postId, $commentId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'commentId' => $commentId);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeContent', array($params), "Google_Service_Blogger_Comment");
+ }
+}
+
+/**
+ * The "pageViews" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $pageViews = $bloggerService->pageViews;
+ *
+ */
+class Google_Service_Blogger_PageViews_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieve pageview stats for a Blog. (pageViews.get)
+ *
+ * @param string $blogId
+ * The ID of the blog to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string range
+ *
+ * @return Google_Service_Blogger_Pageviews
+ */
+ public function get($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Pageviews");
+ }
+}
+
+/**
+ * The "pages" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $pages = $bloggerService->pages;
+ *
+ */
+class Google_Service_Blogger_Pages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a page by ID. (pages.delete)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $pageId
+ * The ID of the Page.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Gets one blog page by ID. (pages.get)
+ *
+ * @param string $blogId
+ * ID of the blog containing the page.
+ * @param string $pageId
+ * The ID of the page to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ *
+ * @return Google_Service_Blogger_Page
+ */
+ public function get($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Add a page. (pages.insert)
+ *
+ * @param string $blogId
+ * ID of the blog to add the page to.
+ * @param Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool isDraft
+ * Whether to create the page as a draft (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function insert($blogId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Retrieves the pages for a blog, optionally including non-LIVE statuses.
+ * (pages.listPages)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch pages from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status
+ *
+ * @opt_param bool fetchBodies
+ * Whether to retrieve the Page bodies.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_PageList
+ */
+ public function listPages($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_PageList");
+ }
+ /**
+ * Update a page. This method supports patch semantics. (pages.patch)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $pageId
+ * The ID of the Page.
+ * @param Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Update a page. (pages.update)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $pageId
+ * The ID of the Page.
+ * @param Google_Page $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the page is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the page is updated (default: false).
+ * @return Google_Service_Blogger_Page
+ */
+ public function update($blogId, $pageId, Google_Service_Blogger_Page $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Blogger_Page");
+ }
+}
+
+/**
+ * The "postUserInfos" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $postUserInfos = $bloggerService->postUserInfos;
+ *
+ */
+class Google_Service_Blogger_PostUserInfos_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one post and user info pair, by post ID and user ID. The post user info
+ * contains per-user information about the post, such as access rights, specific
+ * to the user. (postUserInfos.get)
+ *
+ * @param string $userId
+ * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
+ * marks) or the user's profile identifier.
+ * @param string $blogId
+ * The ID of the blog.
+ * @param string $postId
+ * The ID of the post to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxComments
+ * Maximum number of comments to pull back on a post.
+ * @return Google_Service_Blogger_PostUserInfo
+ */
+ public function get($userId, $blogId, $postId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_PostUserInfo");
+ }
+ /**
+ * Retrieves a list of post and post user info pairs, possibly filtered. The
+ * post user info contains per-user information about the post, such as access
+ * rights, specific to the user. (postUserInfos.listPostUserInfos)
+ *
+ * @param string $userId
+ * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
+ * marks) or the user's profile identifier.
+ * @param string $blogId
+ * ID of the blog to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * Sort order applied to search results. Default is published.
+ * @opt_param string startDate
+ * Earliest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string labels
+ * Comma-separated list of labels to search for.
+ * @opt_param string maxResults
+ * Maximum number of posts to fetch.
+ * @opt_param string pageToken
+ * Continuation token if the request is paged.
+ * @opt_param string status
+ *
+ * @opt_param bool fetchBodies
+ * Whether the body content of posts is included. Default is false.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_PostUserInfosList
+ */
+ public function listPostUserInfos($userId, $blogId, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_PostUserInfosList");
+ }
+}
+
+/**
+ * The "posts" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $posts = $bloggerService->posts;
+ *
+ */
+class Google_Service_Blogger_Posts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a post by ID. (posts.delete)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Get a post by ID. (posts.get)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch the post from.
+ * @param string $postId
+ * The ID of the post
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included (default: true). This should be set to false
+ * when the post bodies are not required, to help minimize traffic.
+ * @opt_param string maxComments
+ * Maximum number of comments to pull back on a post.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included (default: false).
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_Post
+ */
+ public function get($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Retrieve a Post by Path. (posts.getByPath)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch the post from.
+ * @param string $path
+ * Path of the Post to retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxComments
+ * Maximum number of comments to pull back on a post.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require elevated
+ * access.
+ * @return Google_Service_Blogger_Post
+ */
+ public function getByPath($blogId, $path, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'path' => $path);
+ $params = array_merge($params, $optParams);
+ return $this->call('getByPath', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Add a post. (posts.insert)
+ *
+ * @param string $blogId
+ * ID of the blog to add the post to.
+ * @param Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included in the returned result (default: false).
+ * @opt_param bool isDraft
+ * Whether to create the post as a draft (default: false).
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included with the result (default: true).
+ * @return Google_Service_Blogger_Post
+ */
+ public function insert($blogId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Retrieves a list of posts, possibly filtered. (posts.listPosts)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch posts from.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * Sort search results
+ * @opt_param string startDate
+ * Earliest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string endDate
+ * Latest post date to fetch, a date-time with RFC 3339 formatting.
+ * @opt_param string labels
+ * Comma-separated list of labels to search for.
+ * @opt_param string maxResults
+ * Maximum number of posts to fetch.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included.
+ * @opt_param string pageToken
+ * Continuation token if the request is paged.
+ * @opt_param string status
+ * Statuses to include in the results.
+ * @opt_param bool fetchBodies
+ * Whether the body content of posts is included (default: true). This should be set to false when
+ * the post bodies are not required, to help minimize traffic.
+ * @opt_param string view
+ * Access level with which to view the returned result. Note that some fields require escalated
+ * access.
+ * @return Google_Service_Blogger_PostList
+ */
+ public function listPosts($blogId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Blogger_PostList");
+ }
+ /**
+ * Update a post. This method supports patch semantics. (posts.patch)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the post is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the post is updated (default: false).
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included with the result (default: true).
+ * @opt_param string maxComments
+ * Maximum number of comments to retrieve with the returned post.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included in the returned result (default: false).
+ * @return Google_Service_Blogger_Post
+ */
+ public function patch($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Publishes a draft post, optionally at the specific time of the given
+ * publishDate parameter. (posts.publish)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string publishDate
+ * Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is
+ * given, the post is either published at the a previously saved schedule date (if present), or the
+ * current time. If a future date is given, the post will be scheduled to be published.
+ * @return Google_Service_Blogger_Post
+ */
+ public function publish($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Revert a published or scheduled post to draft state. (posts.revert)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Post
+ */
+ public function revert($blogId, $postId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revert', array($params), "Google_Service_Blogger_Post");
+ }
+ /**
+ * Search for a post. (posts.search)
+ *
+ * @param string $blogId
+ * ID of the blog to fetch the post from.
+ * @param string $q
+ * Query terms to search this blog for matching posts.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * Sort search results
+ * @opt_param bool fetchBodies
+ * Whether the body content of posts is included (default: true). This should be set to false when
+ * the post bodies are not required, to help minimize traffic.
+ * @return Google_Service_Blogger_PostList
+ */
+ public function search($blogId, $q, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'q' => $q);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Blogger_PostList");
+ }
+ /**
+ * Update a post. (posts.update)
+ *
+ * @param string $blogId
+ * The ID of the Blog.
+ * @param string $postId
+ * The ID of the Post.
+ * @param Google_Post $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool revert
+ * Whether a revert action should be performed when the post is updated (default: false).
+ * @opt_param bool publish
+ * Whether a publish action should be performed when the post is updated (default: false).
+ * @opt_param bool fetchBody
+ * Whether the body content of the post is included with the result (default: true).
+ * @opt_param string maxComments
+ * Maximum number of comments to retrieve with the returned post.
+ * @opt_param bool fetchImages
+ * Whether image URL metadata for each post is included in the returned result (default: false).
+ * @return Google_Service_Blogger_Post
+ */
+ public function update($blogId, $postId, Google_Service_Blogger_Post $postBody, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'postId' => $postId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Blogger_Post");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $bloggerService = new Google_Service_Blogger(...);
+ * $users = $bloggerService->users;
+ *
+ */
+class Google_Service_Blogger_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one user by ID. (users.get)
+ *
+ * @param string $userId
+ * The ID of the user to get.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_User
+ */
+ public function get($userId, $optParams = array())
+ {
+ $params = array('userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Blogger_User");
+ }
+}
+
+
+
+
+class Google_Service_Blogger_Blog extends Google_Model
+{
+ public $customMetaData;
+ public $description;
+ public $id;
+ public $kind;
+ protected $localeType = 'Google_Service_Blogger_BlogLocale';
+ protected $localeDataType = '';
+ public $name;
+ protected $pagesType = 'Google_Service_Blogger_BlogPages';
+ protected $pagesDataType = '';
+ protected $postsType = 'Google_Service_Blogger_BlogPosts';
+ protected $postsDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+ public $url;
+
+ public function setCustomMetaData($customMetaData)
+ {
+ $this->customMetaData = $customMetaData;
+ }
+
+ public function getCustomMetaData()
+ {
+ return $this->customMetaData;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLocale(Google_Service_Blogger_BlogLocale $locale)
+ {
+ $this->locale = $locale;
+ }
+
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPages(Google_Service_Blogger_BlogPages $pages)
+ {
+ $this->pages = $pages;
+ }
+
+ public function getPages()
+ {
+ return $this->pages;
+ }
+
+ public function setPosts(Google_Service_Blogger_BlogPosts $posts)
+ {
+ $this->posts = $posts;
+ }
+
+ public function getPosts()
+ {
+ return $this->posts;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_BlogList extends Google_Collection
+{
+ protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
+ protected $blogUserInfosDataType = 'array';
+ protected $itemsType = 'Google_Service_Blogger_Blog';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setBlogUserInfos($blogUserInfos)
+ {
+ $this->blogUserInfos = $blogUserInfos;
+ }
+
+ public function getBlogUserInfos()
+ {
+ return $this->blogUserInfos;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_BlogLocale extends Google_Model
+{
+ public $country;
+ public $language;
+ public $variant;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Google_Service_Blogger_BlogPages extends Google_Model
+{
+ public $selfLink;
+ public $totalItems;
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Google_Service_Blogger_BlogPerUserInfo extends Google_Model
+{
+ public $blogId;
+ public $hasAdminAccess;
+ public $kind;
+ public $photosAlbumKey;
+ public $role;
+ public $userId;
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+
+ public function setHasAdminAccess($hasAdminAccess)
+ {
+ $this->hasAdminAccess = $hasAdminAccess;
+ }
+
+ public function getHasAdminAccess()
+ {
+ return $this->hasAdminAccess;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPhotosAlbumKey($photosAlbumKey)
+ {
+ $this->photosAlbumKey = $photosAlbumKey;
+ }
+
+ public function getPhotosAlbumKey()
+ {
+ return $this->photosAlbumKey;
+ }
+
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+
+ public function getRole()
+ {
+ return $this->role;
+ }
+
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Google_Service_Blogger_BlogPosts extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Post';
+ protected $itemsDataType = 'array';
+ public $selfLink;
+ public $totalItems;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Google_Service_Blogger_BlogUserInfo extends Google_Model
+{
+ protected $blogType = 'Google_Service_Blogger_Blog';
+ protected $blogDataType = '';
+ protected $blogUserInfoType = 'Google_Service_Blogger_BlogPerUserInfo';
+ protected $blogUserInfoDataType = '';
+ public $kind;
+
+ public function setBlog(Google_Service_Blogger_Blog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setBlogUserInfo(Google_Service_Blogger_BlogPerUserInfo $blogUserInfo)
+ {
+ $this->blogUserInfo = $blogUserInfo;
+ }
+
+ public function getBlogUserInfo()
+ {
+ return $this->blogUserInfo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_Comment extends Google_Model
+{
+ protected $authorType = 'Google_Service_Blogger_CommentAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_CommentBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $id;
+ protected $inReplyToType = 'Google_Service_Blogger_CommentInReplyTo';
+ protected $inReplyToDataType = '';
+ public $kind;
+ protected $postType = 'Google_Service_Blogger_CommentPost';
+ protected $postDataType = '';
+ public $published;
+ public $selfLink;
+ public $status;
+ public $updated;
+
+ public function setAuthor(Google_Service_Blogger_CommentAuthor $author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setBlog(Google_Service_Blogger_CommentBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInReplyTo(Google_Service_Blogger_CommentInReplyTo $inReplyTo)
+ {
+ $this->inReplyTo = $inReplyTo;
+ }
+
+ public function getInReplyTo()
+ {
+ return $this->inReplyTo;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPost(Google_Service_Blogger_CommentPost $post)
+ {
+ $this->post = $post;
+ }
+
+ public function getPost()
+ {
+ return $this->post;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+}
+
+class Google_Service_Blogger_CommentAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Blogger_CommentAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImage(Google_Service_Blogger_CommentAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_CommentAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_CommentBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_CommentInReplyTo extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_CommentList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $prevPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setPrevPageToken($prevPageToken)
+ {
+ $this->prevPageToken = $prevPageToken;
+ }
+
+ public function getPrevPageToken()
+ {
+ return $this->prevPageToken;
+ }
+}
+
+class Google_Service_Blogger_CommentPost extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_Page extends Google_Model
+{
+ protected $authorType = 'Google_Service_Blogger_PageAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_PageBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $id;
+ public $kind;
+ public $published;
+ public $selfLink;
+ public $status;
+ public $title;
+ public $updated;
+ public $url;
+
+ public function setAuthor(Google_Service_Blogger_PageAuthor $author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setBlog(Google_Service_Blogger_PageBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PageAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Blogger_PageAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImage(Google_Service_Blogger_PageAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PageAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PageBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_PageList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Page';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_Pageviews extends Google_Collection
+{
+ public $blogId;
+ protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
+ protected $countsDataType = 'array';
+ public $kind;
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+
+ public function setCounts($counts)
+ {
+ $this->counts = $counts;
+ }
+
+ public function getCounts()
+ {
+ return $this->counts;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Blogger_PageviewsCounts extends Google_Model
+{
+ public $count;
+ public $timeRange;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setTimeRange($timeRange)
+ {
+ $this->timeRange = $timeRange;
+ }
+
+ public function getTimeRange()
+ {
+ return $this->timeRange;
+ }
+}
+
+class Google_Service_Blogger_Post extends Google_Collection
+{
+ protected $authorType = 'Google_Service_Blogger_PostAuthor';
+ protected $authorDataType = '';
+ protected $blogType = 'Google_Service_Blogger_PostBlog';
+ protected $blogDataType = '';
+ public $content;
+ public $customMetaData;
+ public $id;
+ protected $imagesType = 'Google_Service_Blogger_PostImages';
+ protected $imagesDataType = 'array';
+ public $kind;
+ public $labels;
+ protected $locationType = 'Google_Service_Blogger_PostLocation';
+ protected $locationDataType = '';
+ public $published;
+ public $readerComments;
+ protected $repliesType = 'Google_Service_Blogger_PostReplies';
+ protected $repliesDataType = '';
+ public $selfLink;
+ public $status;
+ public $title;
+ public $titleLink;
+ public $updated;
+ public $url;
+
+ public function setAuthor(Google_Service_Blogger_PostAuthor $author)
+ {
+ $this->author = $author;
+ }
+
+ public function getAuthor()
+ {
+ return $this->author;
+ }
+
+ public function setBlog(Google_Service_Blogger_PostBlog $blog)
+ {
+ $this->blog = $blog;
+ }
+
+ public function getBlog()
+ {
+ return $this->blog;
+ }
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function setCustomMetaData($customMetaData)
+ {
+ $this->customMetaData = $customMetaData;
+ }
+
+ public function getCustomMetaData()
+ {
+ return $this->customMetaData;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+
+ public function getImages()
+ {
+ return $this->images;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setLocation(Google_Service_Blogger_PostLocation $location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setPublished($published)
+ {
+ $this->published = $published;
+ }
+
+ public function getPublished()
+ {
+ return $this->published;
+ }
+
+ public function setReaderComments($readerComments)
+ {
+ $this->readerComments = $readerComments;
+ }
+
+ public function getReaderComments()
+ {
+ return $this->readerComments;
+ }
+
+ public function setReplies(Google_Service_Blogger_PostReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setTitleLink($titleLink)
+ {
+ $this->titleLink = $titleLink;
+ }
+
+ public function getTitleLink()
+ {
+ return $this->titleLink;
+ }
+
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostAuthor extends Google_Model
+{
+ public $displayName;
+ public $id;
+ protected $imageType = 'Google_Service_Blogger_PostAuthorImage';
+ protected $imageDataType = '';
+ public $url;
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setImage(Google_Service_Blogger_PostAuthorImage $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostAuthorImage extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostBlog extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Blogger_PostImages extends Google_Model
+{
+ public $url;
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_PostList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Post';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Blogger_PostLocation extends Google_Model
+{
+ public $lat;
+ public $lng;
+ public $name;
+ public $span;
+
+ public function setLat($lat)
+ {
+ $this->lat = $lat;
+ }
+
+ public function getLat()
+ {
+ return $this->lat;
+ }
+
+ public function setLng($lng)
+ {
+ $this->lng = $lng;
+ }
+
+ public function getLng()
+ {
+ return $this->lng;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSpan($span)
+ {
+ $this->span = $span;
+ }
+
+ public function getSpan()
+ {
+ return $this->span;
+ }
+}
+
+class Google_Service_Blogger_PostPerUserInfo extends Google_Model
+{
+ public $blogId;
+ public $hasEditAccess;
+ public $kind;
+ public $postId;
+ public $userId;
+
+ public function setBlogId($blogId)
+ {
+ $this->blogId = $blogId;
+ }
+
+ public function getBlogId()
+ {
+ return $this->blogId;
+ }
+
+ public function setHasEditAccess($hasEditAccess)
+ {
+ $this->hasEditAccess = $hasEditAccess;
+ }
+
+ public function getHasEditAccess()
+ {
+ return $this->hasEditAccess;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPostId($postId)
+ {
+ $this->postId = $postId;
+ }
+
+ public function getPostId()
+ {
+ return $this->postId;
+ }
+
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Google_Service_Blogger_PostReplies extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_Comment';
+ protected $itemsDataType = 'array';
+ public $selfLink;
+ public $totalItems;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
+class Google_Service_Blogger_PostUserInfo extends Google_Model
+{
+ public $kind;
+ protected $postType = 'Google_Service_Blogger_Post';
+ protected $postDataType = '';
+ protected $postUserInfoType = 'Google_Service_Blogger_PostPerUserInfo';
+ protected $postUserInfoDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPost(Google_Service_Blogger_Post $post)
+ {
+ $this->post = $post;
+ }
+
+ public function getPost()
+ {
+ return $this->post;
+ }
+
+ public function setPostUserInfo(Google_Service_Blogger_PostPerUserInfo $postUserInfo)
+ {
+ $this->postUserInfo = $postUserInfo;
+ }
+
+ public function getPostUserInfo()
+ {
+ return $this->postUserInfo;
+ }
+}
+
+class Google_Service_Blogger_PostUserInfosList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Blogger_User extends Google_Model
+{
+ public $about;
+ protected $blogsType = 'Google_Service_Blogger_UserBlogs';
+ protected $blogsDataType = '';
+ public $created;
+ public $displayName;
+ public $id;
+ public $kind;
+ protected $localeType = 'Google_Service_Blogger_UserLocale';
+ protected $localeDataType = '';
+ public $selfLink;
+ public $url;
+
+ public function setAbout($about)
+ {
+ $this->about = $about;
+ }
+
+ public function getAbout()
+ {
+ return $this->about;
+ }
+
+ public function setBlogs(Google_Service_Blogger_UserBlogs $blogs)
+ {
+ $this->blogs = $blogs;
+ }
+
+ public function getBlogs()
+ {
+ return $this->blogs;
+ }
+
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLocale(Google_Service_Blogger_UserLocale $locale)
+ {
+ $this->locale = $locale;
+ }
+
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Blogger_UserBlogs extends Google_Model
+{
+ public $selfLink;
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Blogger_UserLocale extends Google_Model
+{
+ public $country;
+ public $language;
+ public $variant;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setVariant($variant)
+ {
+ $this->variant = $variant;
+ }
+
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
From cfb1eeac62d0c738534975e18ddb1ee06dd9c499 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 15 Jul 2014 00:44:41 -0700
Subject: [PATCH 0149/1371] Added service Autoscaler.php
---
src/Google/Service/Autoscaler.php | 1069 +++++++++++++++++++++++++++++
1 file changed, 1069 insertions(+)
create mode 100644 src/Google/Service/Autoscaler.php
diff --git a/src/Google/Service/Autoscaler.php b/src/Google/Service/Autoscaler.php
new file mode 100644
index 000000000..0a7939f48
--- /dev/null
+++ b/src/Google/Service/Autoscaler.php
@@ -0,0 +1,1069 @@
+
+ * The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Autoscaler extends Google_Service
+{
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE = "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly";
+
+ public $autoscalers;
+ public $zoneOperations;
+
+
+ /**
+ * Constructs the internal representation of the Autoscaler service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'autoscaler/v1beta2/';
+ $this->version = 'v1beta2';
+ $this->serviceName = 'autoscaler';
+
+ $this->autoscalers = new Google_Service_Autoscaler_Autoscalers_Resource(
+ $this,
+ $this->serviceName,
+ 'autoscalers',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoscaler' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->zoneOperations = new Google_Service_Autoscaler_ZoneOperations_Resource(
+ $this,
+ $this->serviceName,
+ 'zoneOperations',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'operation' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{project}/zones/{zone}/operations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'zone' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'filter' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "autoscalers" collection of methods.
+ * Typical usage is:
+ *
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $autoscalers = $autoscalerService->autoscalers;
+ *
+ */
+class Google_Service_Autoscaler_Autoscalers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified Autoscaler resource. (autoscalers.delete)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function delete($project, $zone, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Gets the specified Autoscaler resource. (autoscalers.get)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Autoscaler
+ */
+ public function get($project, $zone, $autoscaler, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Autoscaler_Autoscaler");
+ }
+ /**
+ * Adds new Autoscaler resource. (autoscalers.insert)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function insert($project, $zone, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ *
+ * @opt_param string pageToken
+ *
+ * @opt_param string maxResults
+ *
+ * @return Google_Service_Autoscaler_AutoscalerListResponse
+ */
+ public function listAutoscalers($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Autoscaler_AutoscalerListResponse");
+ }
+ /**
+ * Update the entire content of the Autoscaler resource. This method supports
+ * patch semantics. (autoscalers.patch)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function patch($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Update the entire content of the Autoscaler resource. (autoscalers.update)
+ *
+ * @param string $project
+ * Project ID of Autoscaler resource.
+ * @param string $zone
+ * Zone name of Autoscaler resource.
+ * @param string $autoscaler
+ * Name of the Autoscaler resource.
+ * @param Google_Autoscaler $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function update($project, $zone, $autoscaler, Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Autoscaler_Operation");
+ }
+}
+
+/**
+ * The "zoneOperations" collection of methods.
+ * Typical usage is:
+ *
+ * $autoscalerService = new Google_Service_Autoscaler(...);
+ * $zoneOperations = $autoscalerService->zoneOperations;
+ *
+ */
+class Google_Service_Autoscaler_ZoneOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified zone-specific operation resource.
+ * (zoneOperations.delete)
+ *
+ * @param string $project
+ *
+ * @param string $zone
+ *
+ * @param string $operation
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project
+ *
+ * @param string $zone
+ *
+ * @param string $operation
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Autoscaler_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Autoscaler_Operation");
+ }
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * zone. (zoneOperations.listZoneOperations)
+ *
+ * @param string $project
+ *
+ * @param string $zone
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter
+ *
+ * @opt_param string pageToken
+ *
+ * @opt_param string maxResults
+ *
+ * @return Google_Service_Autoscaler_OperationList
+ */
+ public function listZoneOperations($project, $zone, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Autoscaler_OperationList");
+ }
+}
+
+
+
+
+class Google_Service_Autoscaler_Autoscaler extends Google_Model
+{
+ protected $autoscalingPolicyType = 'Google_Service_Autoscaler_AutoscalingPolicy';
+ protected $autoscalingPolicyDataType = '';
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $name;
+ public $selfLink;
+ public $target;
+
+ public function setAutoscalingPolicy(Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
+ {
+ $this->autoscalingPolicy = $autoscalingPolicy;
+ }
+
+ public function getAutoscalingPolicy()
+ {
+ return $this->autoscalingPolicy;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setTarget($target)
+ {
+ $this->target = $target;
+ }
+
+ public function getTarget()
+ {
+ return $this->target;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Autoscaler_Autoscaler';
+ protected $itemsDataType = 'array';
+ public $nextPageToken;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Model
+{
+ public $coolDownPeriodSec;
+ protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
+ protected $cpuUtilizationDataType = '';
+ public $maxNumReplicas;
+ public $minNumReplicas;
+
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
+ {
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
+ }
+
+ public function getCoolDownPeriodSec()
+ {
+ return $this->coolDownPeriodSec;
+ }
+
+ public function setCpuUtilization(Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
+ {
+ $this->cpuUtilization = $cpuUtilization;
+ }
+
+ public function getCpuUtilization()
+ {
+ return $this->cpuUtilization;
+ }
+
+ public function setMaxNumReplicas($maxNumReplicas)
+ {
+ $this->maxNumReplicas = $maxNumReplicas;
+ }
+
+ public function getMaxNumReplicas()
+ {
+ return $this->maxNumReplicas;
+ }
+
+ public function setMinNumReplicas($minNumReplicas)
+ {
+ $this->minNumReplicas = $minNumReplicas;
+ }
+
+ public function getMinNumReplicas()
+ {
+ return $this->minNumReplicas;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
+class Google_Service_Autoscaler_Operation extends Google_Collection
+{
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Autoscaler_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Autoscaler_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+
+ public function setError(Google_Service_Autoscaler_OperationError $error)
+ {
+ $this->error = $error;
+ }
+
+ public function getError()
+ {
+ return $this->error;
+ }
+
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+
+ public function getUser()
+ {
+ return $this->user;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Autoscaler_OperationError extends Google_Collection
+{
+ protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Autoscaler_OperationErrorErrors extends Google_Model
+{
+ public $code;
+ public $location;
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Autoscaler_OperationList extends Google_Collection
+{
+ public $id;
+ protected $itemsType = 'Google_Service_Autoscaler_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Autoscaler_OperationWarnings extends Google_Collection
+{
+ public $code;
+ protected $dataType = 'Google_Service_Autoscaler_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Autoscaler_OperationWarningsData extends Google_Model
+{
+ public $key;
+ public $value;
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From f5caa08f4069354b67cc4a96dc12795b6ddc9ffb Mon Sep 17 00:00:00 2001
From: Volkan Altan
Date: Tue, 15 Jul 2014 16:03:04 +0300
Subject: [PATCH 0150/1371] added comment
---
examples/service-account.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/service-account.php b/examples/service-account.php
index 66c79b13b..f9889842c 100644
--- a/examples/service-account.php
+++ b/examples/service-account.php
@@ -38,9 +38,9 @@
Make sure the Books API is enabled on this
account as well, or the call will fail.
************************************************/
-$client_id = '';
-$service_account_name = '';
-$key_file_location = '';
+$client_id = ''; //Client ID
+$service_account_name = ''; //Email Address
+$key_file_location = ''; //key.p12
echo pageHeader("Service Account Access");
if ($client_id == ''
From 1071e93fd199e80d98148e75b048e9ab107da8ca Mon Sep 17 00:00:00 2001
From: Tama Pugsley
Date: Wed, 16 Jul 2014 14:05:24 +1200
Subject: [PATCH 0151/1371] Adding 'login_hint' parameter to OAuth2 connections
---
src/Google/Auth/OAuth2.php | 5 +++++
src/Google/Client.php | 11 ++++++++++-
src/Google/Config.php | 10 ++++++++++
tests/general/ApiOAuth2Test.php | 24 +++++++++++++++++++-----
4 files changed, 44 insertions(+), 6 deletions(-)
diff --git a/src/Google/Auth/OAuth2.php b/src/Google/Auth/OAuth2.php
index 14fdf0ba6..e5b603131 100644
--- a/src/Google/Auth/OAuth2.php
+++ b/src/Google/Auth/OAuth2.php
@@ -149,6 +149,11 @@ public function createAuthUrl($scope)
'approval_prompt' => $this->client->getClassConfig($this, 'approval_prompt'),
);
+ $login_hint = $this->client->getClassConfig($this, 'login_hint');
+ if ($login_hint != '') {
+ $params['login_hint'] = $login_hint;
+ }
+
// If the list of scopes contains plus.login, add request_visible_actions
// to auth URL.
$rva = $this->client->getClassConfig($this, 'request_visible_actions');
diff --git a/src/Google/Client.php b/src/Google/Client.php
index d68c25415..18197b35f 100644
--- a/src/Google/Client.php
+++ b/src/Google/Client.php
@@ -100,7 +100,7 @@ function_exists('date_default_timezone_set')) {
$config->setClassConfig('Google_Http_Request', 'disable_gzip', true);
}
}
-
+
if ($config->getIoClass() == Google_Config::USE_AUTO_IO_SELECTION) {
if (function_exists('curl_version') && function_exists('curl_exec')) {
$config->setIoClass("Google_IO_Curl");
@@ -292,6 +292,15 @@ public function setApprovalPrompt($approvalPrompt)
$this->config->setApprovalPrompt($approvalPrompt);
}
+ /**
+ * Set the login hint, email address or sub id.
+ * @param string $loginHint
+ */
+ public function setLoginHint($loginHint)
+ {
+ $this->config->setLoginHint($loginHint);
+ }
+
/**
* Set the application name, this is included in the User-Agent HTTP header.
* @param string $applicationName
diff --git a/src/Google/Config.php b/src/Google/Config.php
index 8f1aaf4ea..c45e2de86 100644
--- a/src/Google/Config.php
+++ b/src/Google/Config.php
@@ -80,6 +80,7 @@ public function __construct($ini_file_location = null)
// Other parameters.
'access_type' => 'online',
'approval_prompt' => 'auto',
+ 'login_hint' => '',
'request_visible_actions' => '',
'federated_signon_certs_url' =>
'https://www.googleapis.com/oauth2/v1/certs',
@@ -282,6 +283,15 @@ public function setApprovalPrompt($approval)
$this->setAuthConfig('approval_prompt', $approval);
}
+ /**
+ * Set the login hint (email address or sub identifier)
+ * @param $hint string
+ */
+ public function setLoginHint($hint)
+ {
+ $this->setAuthConfig('login_hint', $hint);
+ }
+
/**
* Set the developer key for the auth class. Note that this is separate value
* from the client ID - if it looks like a URL, its a client ID!
diff --git a/tests/general/ApiOAuth2Test.php b/tests/general/ApiOAuth2Test.php
index 76d580096..d76b36a92 100644
--- a/tests/general/ApiOAuth2Test.php
+++ b/tests/general/ApiOAuth2Test.php
@@ -24,7 +24,7 @@
class ApiOAuth2Test extends BaseTest {
- public function testSign()
+ public function testSign()
{
$client = $this->getClient();
$oauth = new Google_Auth_OAuth2($client);
@@ -54,7 +54,7 @@ public function testSign()
$this->assertEquals('Bearer ACCESS_TOKEN', $auth);
}
- public function testRevokeAccess()
+ public function testRevokeAccess()
{
$accessToken = "ACCESS_TOKEN";
$refreshToken = "REFRESH_TOKEN";
@@ -103,7 +103,7 @@ public function testRevokeAccess()
$this->assertEquals($accessToken2, $token);
}
- public function testCreateAuthUrl()
+ public function testCreateAuthUrl()
{
$client = $this->getClient();
$oauth = new Google_Auth_OAuth2($client);
@@ -115,7 +115,21 @@ public function testCreateAuthUrl()
$client->setAccessType('offline');
$client->setApprovalPrompt('force');
$client->setRequestVisibleActions(array('http://foo/'));
+ $client->setLoginHint("bob@example.org");
+ $authUrl = $oauth->createAuthUrl("http://googleapis.com/scope/foo");
+ $expected = "https://accounts.google.com/o/oauth2/auth"
+ . "?response_type=code"
+ . "&redirect_uri=http%3A%2F%2Flocalhost"
+ . "&client_id=clientId1"
+ . "&scope=http%3A%2F%2Fgoogleapis.com%2Fscope%2Ffoo"
+ . "&access_type=offline"
+ . "&approval_prompt=force"
+ . "&login_hint=bob%40example.org";
+ $this->assertEquals($expected, $authUrl);
+
+ // Again with a blank login hint (should remove all traces from authUrl)
+ $client->setLoginHint("");
$authUrl = $oauth->createAuthUrl("http://googleapis.com/scope/foo");
$expected = "https://accounts.google.com/o/oauth2/auth"
. "?response_type=code"
@@ -128,11 +142,11 @@ public function testCreateAuthUrl()
}
/**
- * Most of the logic for ID token validation is in AuthTest -
+ * Most of the logic for ID token validation is in AuthTest -
* this is just a general check to ensure we verify a valid
* id token if one exists.
*/
- public function testValidateIdToken()
+ public function testValidateIdToken()
{
if (!$this->checkToken()) {
return;
From 6d21b62f8853286b930efbaf9fe5c7c18bc847ed Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 16 Jul 2014 00:45:48 -0700
Subject: [PATCH 0152/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index b6e952515..e8eb4a781 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -3326,6 +3326,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $id;
public $lastModifiedTime;
public $name;
+ public $processingStatus;
public $projectId;
public $publishedAccessList;
public $tags;
@@ -3431,6 +3432,16 @@ public function getName()
return $this->name;
}
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
public function setProjectId($projectId)
{
$this->projectId = $projectId;
From 50891556492df903c1da25005e751822670bb1b3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 16 Jul 2014 00:45:48 -0700
Subject: [PATCH 0153/1371] Updated Games.php
---
src/Google/Service/Games.php | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/Google/Service/Games.php b/src/Google/Service/Games.php
index 3bde2d0d2..2f94fdad9 100644
--- a/src/Google/Service/Games.php
+++ b/src/Google/Service/Games.php
@@ -1266,8 +1266,8 @@ class Google_Service_Games_Events_Resource extends Google_Service_Resource
{
/**
- * Returns a list of the current progress on events in this application for the
- * currently authorized user. (events.listByPlayer)
+ * Returns a list showing the current progress on events in this application for
+ * the currently authenticated user. (events.listByPlayer)
*
* @param array $optParams Optional parameters.
*
@@ -1309,8 +1309,8 @@ public function listDefinitions($optParams = array())
return $this->call('listDefinitions', array($params), "Google_Service_Games_EventDefinitionListResponse");
}
/**
- * Records a batch of event updates for the currently authorized user of this
- * application. (events.record)
+ * Records a batch of changes to the number of times events have occurred for
+ * the currently authenticated user of this application. (events.record)
*
* @param Google_EventRecordRequest $postBody
* @param array $optParams Optional parameters.
@@ -1537,17 +1537,17 @@ class Google_Service_Games_QuestMilestones_Resource extends Google_Service_Resou
{
/**
- * Report that reward for the milestone corresponding to milestoneId for the
+ * Report that a reward for the milestone corresponding to milestoneId for the
* quest corresponding to questId has been claimed by the currently authorized
* user. (questMilestones.claim)
*
* @param string $questId
* The ID of the quest.
* @param string $milestoneId
- * The ID of the Milestone.
+ * The ID of the milestone.
* @param string $requestId
- * A randomly generated numeric ID for each request specified by the caller. This number is used at
- * the server to ensure that the request is handled correctly across retries.
+ * A numeric ID to ensure that the request is handled correctly across retries. Your client
+ * application must generate this ID randomly.
* @param array $optParams Optional parameters.
*/
public function claim($questId, $milestoneId, $requestId, $optParams = array())
From cbfc437b7322be21fec5dad595873a7fe06b7e54 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 17 Jul 2014 00:46:50 -0700
Subject: [PATCH 0154/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 136 ++++++++++++++++++++++++++++++++
1 file changed, 136 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 8389da320..f73267eec 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -253,6 +253,10 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
+ ),'search' => array(
+ 'path' => 'jobs/search',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
),
)
)
@@ -726,6 +730,19 @@ public function get($jobId, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Genomics_Job");
}
+ /**
+ * Searches jobs within a project. (jobs.search)
+ *
+ * @param Google_SearchJobsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchJobsResponse
+ */
+ public function search(Google_Service_Genomics_SearchJobsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchJobsResponse");
+ }
}
/**
@@ -1270,6 +1287,7 @@ class Google_Service_Genomics_ExperimentalCreateJobRequest extends Google_Collec
public $align;
public $callVariants;
public $gcsOutputPath;
+ public $pairedSourceUris;
public $projectId;
public $sourceUris;
@@ -1303,6 +1321,16 @@ public function getGcsOutputPath()
return $this->gcsOutputPath;
}
+ public function setPairedSourceUris($pairedSourceUris)
+ {
+ $this->pairedSourceUris = $pairedSourceUris;
+ }
+
+ public function getPairedSourceUris()
+ {
+ return $this->pairedSourceUris;
+ }
+
public function setProjectId($projectId)
{
$this->projectId = $projectId;
@@ -1676,6 +1704,7 @@ public function getJobId()
class Google_Service_Genomics_Job extends Google_Collection
{
+ public $created;
public $description;
public $errors;
public $id;
@@ -1684,6 +1713,16 @@ class Google_Service_Genomics_Job extends Google_Collection
public $status;
public $warnings;
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+
+ public function getCreated()
+ {
+ return $this->created;
+ }
+
public function setDescription($description)
{
$this->description = $description;
@@ -2362,6 +2401,103 @@ public function getNextPageToken()
}
}
+class Google_Service_Genomics_SearchJobsRequest extends Google_Collection
+{
+ public $createdAfter;
+ public $createdBefore;
+ public $maxResults;
+ public $pageToken;
+ public $projectId;
+ public $status;
+
+ public function setCreatedAfter($createdAfter)
+ {
+ $this->createdAfter = $createdAfter;
+ }
+
+ public function getCreatedAfter()
+ {
+ return $this->createdAfter;
+ }
+
+ public function setCreatedBefore($createdBefore)
+ {
+ $this->createdBefore = $createdBefore;
+ }
+
+ public function getCreatedBefore()
+ {
+ return $this->createdBefore;
+ }
+
+ public function setMaxResults($maxResults)
+ {
+ $this->maxResults = $maxResults;
+ }
+
+ public function getMaxResults()
+ {
+ return $this->maxResults;
+ }
+
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Genomics_SearchJobsResponse extends Google_Collection
+{
+ protected $jobsType = 'Google_Service_Genomics_Job';
+ protected $jobsDataType = 'array';
+ public $nextPageToken;
+
+ public function setJobs($jobs)
+ {
+ $this->jobs = $jobs;
+ }
+
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
{
public $maxResults;
From dc7af30057cc3263fa86fd890123bda444d324d3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 17 Jul 2014 00:46:51 -0700
Subject: [PATCH 0155/1371] Updated Drive.php
---
src/Google/Service/Drive.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Google/Service/Drive.php b/src/Google/Service/Drive.php
index 3203fe686..aaa94c035 100644
--- a/src/Google/Service/Drive.php
+++ b/src/Google/Service/Drive.php
@@ -528,6 +528,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'corpus' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'projection' => array(
'location' => 'query',
'type' => 'string',
@@ -1762,6 +1766,8 @@ public function insert(Google_Service_Drive_DriveFile $postBody, $optParams = ar
* Query string for searching files.
* @opt_param string pageToken
* Page token for files.
+ * @opt_param string corpus
+ * The body of items (files/documents) to which the query applies.
* @opt_param string projection
* This parameter is deprecated and has no function.
* @opt_param int maxResults
From 14d379397e9e9d0364dbd47bdd308c0850a57d2a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 17 Jul 2014 00:46:51 -0700
Subject: [PATCH 0156/1371] Updated Directory.php
---
src/Google/Service/Directory.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Directory.php b/src/Google/Service/Directory.php
index 6ab36e614..7c50ce451 100644
--- a/src/Google/Service/Directory.php
+++ b/src/Google/Service/Directory.php
@@ -2703,6 +2703,7 @@ class Google_Service_Directory_ChromeOsDevice extends Google_Collection
public $bootMode;
public $deviceId;
public $etag;
+ public $ethernetMacAddress;
public $firmwareVersion;
public $kind;
public $lastEnrollmentTime;
@@ -2772,6 +2773,16 @@ public function getEtag()
return $this->etag;
}
+ public function setEthernetMacAddress($ethernetMacAddress)
+ {
+ $this->ethernetMacAddress = $ethernetMacAddress;
+ }
+
+ public function getEthernetMacAddress()
+ {
+ return $this->ethernetMacAddress;
+ }
+
public function setFirmwareVersion($firmwareVersion)
{
$this->firmwareVersion = $firmwareVersion;
From 1deb4ebf35cbe5b5960d1e4fda506c87533db3a4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 18 Jul 2014 03:47:47 -0400
Subject: [PATCH 0157/1371] Added service Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 971 +++++++++++++++++++++++++
1 file changed, 971 insertions(+)
create mode 100644 src/Google/Service/Cloudmonitoring.php
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
new file mode 100644
index 000000000..850e6b5b1
--- /dev/null
+++ b/src/Google/Service/Cloudmonitoring.php
@@ -0,0 +1,971 @@
+
+ * API for accessing Google Cloud and API monitoring data.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_Cloudmonitoring extends Google_Service
+{
+ /** View monitoring data for all of your Google Cloud and API projects. */
+ const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly";
+
+ public $metricDescriptors;
+ public $timeseries;
+ public $timeseriesDescriptors;
+
+
+ /**
+ * Constructs the internal representation of the Cloudmonitoring service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
+ $this->version = 'v2beta1';
+ $this->serviceName = 'cloudmonitoring';
+
+ $this->metricDescriptors = new Google_Service_Cloudmonitoring_MetricDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/metricDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseries = new Google_Service_Cloudmonitoring_Timeseries_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseries/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseriesDescriptors = new Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseriesDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseriesDescriptors/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
+ * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
+ *
+ */
+class Google_Service_Cloudmonitoring_MetricDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List metric descriptors that match the query. If the query is not set, then
+ * all of the metric descriptors will be returned. Large responses will be
+ * paginated, use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
+ *
+ * @param string $project
+ * The project id. The value can be the numeric project ID or string-based project name.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of metric descriptors per page. Used for pagination. If not specified, count =
+ * 100.
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string query
+ * The query used to search against existing metrics. Separate keywords with a space; the service
+ * joins all keywords with AND, meaning that all keywords must match for a metric to be returned.
+ * If this field is omitted, all metrics are returned. If an empty string is passed with this
+ * field, no metrics are returned.
+ * @return Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse
+ */
+ public function listMetricDescriptors($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse");
+ }
+}
+
+/**
+ * The "timeseries" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
+ * $timeseries = $cloudmonitoringService->timeseries;
+ *
+ */
+class Google_Service_Cloudmonitoring_Timeseries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the data points of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseries.listTimeseries)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * appengine.googleapis.com/http/server/response_count or
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of data points per page, which is used for pagination of results.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_Cloudmonitoring_ListTimeseriesResponse
+ */
+ public function listTimeseries($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesResponse");
+ }
+}
+
+/**
+ * The "timeseriesDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
+ * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
+ *
+ */
+class Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the descriptors of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * appengine.googleapis.com/http/server/response_count or
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of time series descriptors per page. Used for pagination. If not specified, count
+ * = 100.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse
+ */
+ public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse");
+ }
+}
+
+
+
+
+class Google_Service_Cloudmonitoring_ListMetricDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ protected $metricsType = 'Google_Service_Cloudmonitoring_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Cloudmonitoring_ListTimeseriesResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_Cloudmonitoring_Timeseries';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_Cloudmonitoring_MetricDescriptor extends Google_Collection
+{
+ public $description;
+ protected $labelsType = 'Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $project;
+ protected $typeDescriptorType = 'Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor';
+ protected $typeDescriptorDataType = '';
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ public function setTypeDescriptor(Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
+ {
+ $this->typeDescriptor = $typeDescriptor;
+ }
+
+ public function getTypeDescriptor()
+ {
+ return $this->typeDescriptor;
+ }
+}
+
+class Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor extends Google_Model
+{
+ public $metricType;
+ public $valueType;
+
+ public function setMetricType($metricType)
+ {
+ $this->metricType = $metricType;
+ }
+
+ public function getMetricType()
+ {
+ return $this->metricType;
+ }
+
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
+
+class Google_Service_Cloudmonitoring_Point extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = 'Google_Service_Cloudmonitoring_PointDistribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $end;
+ public $int64Value;
+ public $start;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+
+ public function setDistributionValue(Google_Service_Cloudmonitoring_PointDistribution $distributionValue)
+ {
+ $this->distributionValue = $distributionValue;
+ }
+
+ public function getDistributionValue()
+ {
+ return $this->distributionValue;
+ }
+
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistribution extends Google_Collection
+{
+ protected $bucketsType = 'Google_Service_Cloudmonitoring_PointDistributionBucket';
+ protected $bucketsDataType = 'array';
+ protected $overflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionOverflowBucket';
+ protected $overflowBucketDataType = '';
+ protected $underflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket';
+ protected $underflowBucketDataType = '';
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+
+ public function setOverflowBucket(Google_Service_Cloudmonitoring_PointDistributionOverflowBucket $overflowBucket)
+ {
+ $this->overflowBucket = $overflowBucket;
+ }
+
+ public function getOverflowBucket()
+ {
+ return $this->overflowBucket;
+ }
+
+ public function setUnderflowBucket(Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket $underflowBucket)
+ {
+ $this->underflowBucket = $underflowBucket;
+ }
+
+ public function getUnderflowBucket()
+ {
+ return $this->underflowBucket;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistributionBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistributionOverflowBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+}
+
+class Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket extends Google_Model
+{
+ public $count;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_Cloudmonitoring_Timeseries extends Google_Collection
+{
+ protected $pointsType = 'Google_Service_Cloudmonitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $timeseriesDescType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+
+ public function getPoints()
+ {
+ return $this->points;
+ }
+
+ public function setTimeseriesDesc(Google_Service_Cloudmonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
+
+class Google_Service_Cloudmonitoring_TimeseriesDescriptor extends Google_Model
+{
+ public $labels;
+ public $metric;
+ public $project;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
From 783c5596fd7a79d06eb966d05847a18d19704591 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:58 -0700
Subject: [PATCH 0158/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 149 ++++++++++++++++++++++----------
1 file changed, 102 insertions(+), 47 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index f73267eec..583d8220e 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -267,17 +267,7 @@ public function __construct(Google_Client $client)
'reads',
array(
'methods' => array(
- 'get' => array(
- 'path' => 'reads/{readId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'readId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'search' => array(
+ 'search' => array(
'path' => 'reads/search',
'httpMethod' => 'POST',
'parameters' => array(),
@@ -291,11 +281,7 @@ public function __construct(Google_Client $client)
'readsets',
array(
'methods' => array(
- 'create' => array(
- 'path' => 'readsets',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
+ 'delete' => array(
'path' => 'readsets/{readsetId}',
'httpMethod' => 'DELETE',
'parameters' => array(
@@ -624,7 +610,8 @@ public function get($datasetId, $optParams = array())
* @opt_param string maxResults
* The maximum number of results returned by this request.
* @opt_param string projectId
- * Only return datasets which belong to this Google Developers Console project.
+ * Only return datasets which belong to this Google Developers Console project. Only accepts
+ * project numbers.
* @return Google_Service_Genomics_ListDatasetsResponse
*/
public function listDatasets($optParams = array())
@@ -731,7 +718,7 @@ public function get($jobId, $optParams = array())
return $this->call('get', array($params), "Google_Service_Genomics_Job");
}
/**
- * Searches jobs within a project. (jobs.search)
+ * Gets a list of jobs matching the criteria. (jobs.search)
*
* @param Google_SearchJobsRequest $postBody
* @param array $optParams Optional parameters.
@@ -756,20 +743,6 @@ public function search(Google_Service_Genomics_SearchJobsRequest $postBody, $opt
class Google_Service_Genomics_Reads_Resource extends Google_Service_Resource
{
- /**
- * Gets a read by ID. (reads.get)
- *
- * @param string $readId
- * The ID of the read.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Read
- */
- public function get($readId, $optParams = array())
- {
- $params = array('readId' => $readId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Genomics_Read");
- }
/**
* Gets a list of reads for one or more readsets. Reads search operates over a
* genomic coordinate space of reference sequence & position defined over the
@@ -804,19 +777,6 @@ public function search(Google_Service_Genomics_SearchReadsRequest $postBody, $op
class Google_Service_Genomics_Readsets_Resource extends Google_Service_Resource
{
- /**
- * Creates a new readset. (readsets.create)
- *
- * @param Google_Readset $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Readset
- */
- public function create(Google_Service_Genomics_Readset $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Genomics_Readset");
- }
/**
* Deletes a readset. (readsets.delete)
*
@@ -882,7 +842,8 @@ public function import(Google_Service_Genomics_ImportReadsetsRequest $postBody,
* Updates a readset. This method supports patch semantics. (readsets.patch)
*
* @param string $readsetId
- * The ID of the readset to be updated.
+ * The ID of the readset to be updated. The caller must have WRITE permissions to the dataset
+ * associated with this readset.
* @param Google_Readset $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Genomics_Readset
@@ -910,7 +871,8 @@ public function search(Google_Service_Genomics_SearchReadsetsRequest $postBody,
* Updates a readset. (readsets.update)
*
* @param string $readsetId
- * The ID of the readset to be updated.
+ * The ID of the readset to be updated. The caller must have WRITE permissions to the dataset
+ * associated with this readset.
* @param Google_Readset $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Genomics_Readset
@@ -1508,6 +1470,8 @@ class Google_Service_Genomics_GetVariantsSummaryResponse extends Google_Collecti
{
protected $contigBoundsType = 'Google_Service_Genomics_ContigBound';
protected $contigBoundsDataType = 'array';
+ protected $metadataType = 'Google_Service_Genomics_Metadata';
+ protected $metadataDataType = 'array';
public function setContigBounds($contigBounds)
{
@@ -1518,6 +1482,16 @@ public function getContigBounds()
{
return $this->contigBounds;
}
+
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
}
class Google_Service_Genomics_Header extends Google_Model
@@ -1821,6 +1795,87 @@ public function getNextPageToken()
}
}
+class Google_Service_Genomics_Metadata extends Google_Model
+{
+ public $description;
+ public $id;
+ public $info;
+ public $key;
+ public $number;
+ public $type;
+ public $value;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+
+ public function getInfo()
+ {
+ return $this->info;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setNumber($number)
+ {
+ $this->number = $number;
+ }
+
+ public function getNumber()
+ {
+ return $this->number;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Genomics_Program extends Google_Model
{
public $commandLine;
From 68e76bc226d065d6526380c8b9940cd5bb40ea83 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:58 -0700
Subject: [PATCH 0159/1371] Added service ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 5533 ++++++++++++++++++++++++
1 file changed, 5533 insertions(+)
create mode 100644 src/Google/Service/ShoppingContent.php
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
new file mode 100644
index 000000000..5780318b9
--- /dev/null
+++ b/src/Google/Service/ShoppingContent.php
@@ -0,0 +1,5533 @@
+
+ * Manage product items, inventory, and Merchant Center accounts for Google Shopping.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_ShoppingContent extends Google_Service
+{
+ /** Manage your product listings and accounts for Google Shopping. */
+ const CONTENT = "https://www.googleapis.com/auth/content";
+
+ public $accounts;
+ public $accountshipping;
+ public $accountstatuses;
+ public $accounttax;
+ public $datafeeds;
+ public $datafeedstatuses;
+ public $inventory;
+ public $products;
+ public $productstatuses;
+
+
+ /**
+ * Constructs the internal representation of the ShoppingContent service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'content/v2/';
+ $this->version = 'v2';
+ $this->serviceName = 'content';
+
+ $this->accounts = new Google_Service_ShoppingContent_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accounts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/accounts/{accountId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource(
+ $this,
+ $this->serviceName,
+ 'accountshipping',
+ array(
+ 'methods' => array(
+ 'patch' => array(
+ 'path' => '{merchantId}/accountshipping/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'accountstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'accountstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/accountstatuses/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/accountstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource(
+ $this,
+ $this->serviceName,
+ 'accounttax',
+ array(
+ 'methods' => array(
+ 'patch' => array(
+ 'path' => '{merchantId}/accounttax/{accountId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource(
+ $this,
+ $this->serviceName,
+ 'datafeeds',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'datafeedsNativeBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'custombatch' => array(
+ 'path' => 'datafeeds/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeeds',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{merchantId}/datafeeds/{datafeedId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'datafeedstatuses',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'datafeedstatusesNativeBatch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'custombatch' => array(
+ 'path' => 'datafeedstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'datafeedId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/datafeedstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inventory = new Google_Service_ShoppingContent_Inventory_Resource(
+ $this,
+ $this->serviceName,
+ 'inventory',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'inventory/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'set' => array(
+ 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'storeCode' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->products = new Google_Service_ShoppingContent_Products_Resource(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'products/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{merchantId}/products/{productId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{merchantId}/products/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{merchantId}/products',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dryRun' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/products',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource(
+ $this,
+ $this->serviceName,
+ 'productstatuses',
+ array(
+ 'methods' => array(
+ 'custombatch' => array(
+ 'path' => 'productstatuses/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'get' => array(
+ 'path' => '{merchantId}/productstatuses/{productId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{merchantId}/productstatuses',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'merchantId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accounts = $contentService->accounts;
+ *
+ */
+class Google_Service_ShoppingContent_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves, inserts, updates, and deletes multiple Merchant Center
+ * (sub-)accounts in a single request. (accounts.custombatch)
+ *
+ * @param Google_AccountsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse");
+ }
+ /**
+ * Deletes a Merchant Center sub-account. (accounts.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a Merchant Center account. (accounts.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Creates a Merchant Center sub-account. (accounts.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Lists the sub-accounts in your Merchant Center account.
+ * (accounts.listAccounts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of accounts to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_AccountsListResponse
+ */
+ public function listAccounts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse");
+ }
+ /**
+ * Updates a Merchant Center account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account");
+ }
+ /**
+ * Updates a Merchant Center account. (accounts.update)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Account
+ */
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_Account");
+ }
+}
+
+/**
+ * The "accountshipping" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountshipping = $contentService->accountshipping;
+ *
+ */
+class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Updates the shipping settings of the account. This method supports patch
+ * semantics. (accountshipping.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account for which to get/update account shipping settings.
+ * @param Google_AccountShipping $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+}
+
+/**
+ * The "accountstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountstatuses = $contentService->accountstatuses;
+ *
+ */
+class Google_Service_ShoppingContent_Accountstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (accountstatuses.custombatch)
+ *
+ * @param Google_AccountstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieves the status of a Merchant Center account. (accountstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountStatus
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus");
+ }
+ /**
+ * Lists the statuses of the sub-accounts in your Merchant Center account.
+ * (accountstatuses.listAccountstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of account statuses to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_AccountstatusesListResponse
+ */
+ public function listAccountstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse");
+ }
+}
+
+/**
+ * The "accounttax" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accounttax = $contentService->accounttax;
+ *
+ */
+class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Updates the tax settings of the account. This method supports patch
+ * semantics. (accounttax.patch)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $accountId
+ * The ID of the account for which to get/update account tax settings.
+ * @param Google_AccountTax $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountTax
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
+ }
+}
+
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeeds = $contentService->datafeeds;
+ *
+ */
+class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeeds.batch)
+ *
+ * @param Google_DatafeedsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsBatchResponse
+ */
+ public function batch(Google_Service_ShoppingContent_DatafeedsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_ShoppingContent_DatafeedsBatchResponse");
+ }
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Google_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
+ }
+ /**
+ * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Lists the datafeeds in your Merchant Center account.
+ * (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsListResponse
+ */
+ public function listDatafeeds($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse");
+ }
+ /**
+ * Updates a datafeed of your Merchant Center account. This method supports
+ * patch semantics. (datafeeds.patch)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+ /**
+ * Updates a datafeed of your Merchant Center account. (datafeeds.update)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+}
+
+/**
+ * The "datafeedstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeedstatuses = $contentService->datafeedstatuses;
+ *
+ */
+class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeedstatuses.batch)
+ *
+ * @param Google_DatafeedstatusesBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesBatchResponse
+ */
+ public function batch(Google_Service_ShoppingContent_DatafeedstatusesBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesBatchResponse");
+ }
+ /**
+ * (datafeedstatuses.custombatch)
+ *
+ * @param Google_DatafeedstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse");
+ }
+ /**
+ * Retrieves the status of a datafeed from your Merchant Center account.
+ * (datafeedstatuses.get)
+ *
+ * @param string $merchantId
+ *
+ * @param string $datafeedId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedStatus
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus");
+ }
+ /**
+ * Lists the statuses of the datafeeds in your Merchant Center account.
+ * (datafeedstatuses.listDatafeedstatuses)
+ *
+ * @param string $merchantId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse
+ */
+ public function listDatafeedstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse");
+ }
+}
+
+/**
+ * The "inventory" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $inventory = $contentService->inventory;
+ *
+ */
+class Google_Service_ShoppingContent_Inventory_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Updates price and availability for multiple products or stores in a single
+ * request. (inventory.custombatch)
+ *
+ * @param Google_InventoryCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse");
+ }
+ /**
+ * Updates price and availability of a product in your Merchant Center account.
+ * (inventory.set)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $storeCode
+ * The code of the store for which to update price and availability. Use online to update price and
+ * availability of an online product.
+ * @param string $productId
+ * The ID of the product for which to update price and availability.
+ * @param Google_InventorySetRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_InventorySetResponse
+ */
+ public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse");
+ }
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $products = $contentService->products;
+ *
+ */
+class Google_Service_ShoppingContent_Products_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves, inserts, and deletes multiple products in a single request.
+ * (products.custombatch)
+ *
+ * @param Google_ProductsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse");
+ }
+ /**
+ * Deletes a product from your Merchant Center account. (products.delete)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ */
+ public function delete($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a product from your Merchant Center account. (products.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Product
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Product");
+ }
+ /**
+ * Uploads a product to your Merchant Center account. (products.insert)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param Google_Product $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool dryRun
+ * Flag to run the request in dry-run mode.
+ * @return Google_Service_ShoppingContent_Product
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product");
+ }
+ /**
+ * Lists the products in your Merchant Center account. (products.listProducts)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of products to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_ProductsListResponse
+ */
+ public function listProducts($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse");
+ }
+}
+
+/**
+ * The "productstatuses" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $productstatuses = $contentService->productstatuses;
+ *
+ */
+class Google_Service_ShoppingContent_Productstatuses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets the statuses of multiple products in a single request.
+ * (productstatuses.custombatch)
+ *
+ * @param Google_ProductstatusesCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse");
+ }
+ /**
+ * Gets the status of a product from your Merchant Center account.
+ * (productstatuses.get)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param string $productId
+ * The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_ProductStatus
+ */
+ public function get($merchantId, $productId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus");
+ }
+ /**
+ * Lists the statuses of the products in your Merchant Center account.
+ * (productstatuses.listProductstatuses)
+ *
+ * @param string $merchantId
+ * The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The token returned by the previous request.
+ * @opt_param string maxResults
+ * The maximum number of product statuses to return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_ProductstatusesListResponse
+ */
+ public function listProductstatuses($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_ShoppingContent_Account extends Google_Collection
+{
+ public $adultContent;
+ protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink';
+ protected $adwordsLinksDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ public $reviewsUrl;
+ public $sellerId;
+ protected $usersType = 'Google_Service_ShoppingContent_AccountUser';
+ protected $usersDataType = 'array';
+ public $websiteUrl;
+
+ public function setAdultContent($adultContent)
+ {
+ $this->adultContent = $adultContent;
+ }
+
+ public function getAdultContent()
+ {
+ return $this->adultContent;
+ }
+
+ public function setAdwordsLinks($adwordsLinks)
+ {
+ $this->adwordsLinks = $adwordsLinks;
+ }
+
+ public function getAdwordsLinks()
+ {
+ return $this->adwordsLinks;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setReviewsUrl($reviewsUrl)
+ {
+ $this->reviewsUrl = $reviewsUrl;
+ }
+
+ public function getReviewsUrl()
+ {
+ return $this->reviewsUrl;
+ }
+
+ public function setSellerId($sellerId)
+ {
+ $this->sellerId = $sellerId;
+ }
+
+ public function getSellerId()
+ {
+ return $this->sellerId;
+ }
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+
+ public function getUsers()
+ {
+ return $this->users;
+ }
+
+ public function setWebsiteUrl($websiteUrl)
+ {
+ $this->websiteUrl = $websiteUrl;
+ }
+
+ public function getWebsiteUrl()
+ {
+ return $this->websiteUrl;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model
+{
+ public $adwordsId;
+ public $status;
+
+ public function setAdwordsId($adwordsId)
+ {
+ $this->adwordsId = $adwordsId;
+ }
+
+ public function getAdwordsId()
+ {
+ return $this->adwordsId;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShipping extends Google_Collection
+{
+ public $accountId;
+ protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
+ protected $carrierRatesDataType = 'array';
+ public $kind;
+ protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
+ protected $locationGroupsDataType = 'array';
+ protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
+ protected $rateTablesDataType = 'array';
+ protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
+ protected $servicesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setCarrierRates($carrierRates)
+ {
+ $this->carrierRates = $carrierRates;
+ }
+
+ public function getCarrierRates()
+ {
+ return $this->carrierRates;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLocationGroups($locationGroups)
+ {
+ $this->locationGroups = $locationGroups;
+ }
+
+ public function getLocationGroups()
+ {
+ return $this->locationGroups;
+ }
+
+ public function setRateTables($rateTables)
+ {
+ $this->rateTables = $rateTables;
+ }
+
+ public function getRateTables()
+ {
+ return $this->rateTables;
+ }
+
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+
+ public function getServices()
+ {
+ return $this->services;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
+{
+ public $carrier;
+ public $carrierService;
+ protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $modifierFlatRateDataType = '';
+ public $modifierPercent;
+ public $name;
+ public $saleCountry;
+ public $shippingOrigin;
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+
+ public function setCarrierService($carrierService)
+ {
+ $this->carrierService = $carrierService;
+ }
+
+ public function getCarrierService()
+ {
+ return $this->carrierService;
+ }
+
+ public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
+ {
+ $this->modifierFlatRate = $modifierFlatRate;
+ }
+
+ public function getModifierFlatRate()
+ {
+ return $this->modifierFlatRate;
+ }
+
+ public function setModifierPercent($modifierPercent)
+ {
+ $this->modifierPercent = $modifierPercent;
+ }
+
+ public function getModifierPercent()
+ {
+ return $this->modifierPercent;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+
+ public function setShippingOrigin($shippingOrigin)
+ {
+ $this->shippingOrigin = $shippingOrigin;
+ }
+
+ public function getShippingOrigin()
+ {
+ return $this->shippingOrigin;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
+{
+ public $deliveryLocationGroup;
+ public $deliveryLocationId;
+ public $deliveryPostalCode;
+ protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
+ protected $priceMaxDataType = '';
+ public $shippingLabel;
+ protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
+ protected $weightMaxDataType = '';
+
+ public function setDeliveryLocationGroup($deliveryLocationGroup)
+ {
+ $this->deliveryLocationGroup = $deliveryLocationGroup;
+ }
+
+ public function getDeliveryLocationGroup()
+ {
+ return $this->deliveryLocationGroup;
+ }
+
+ public function setDeliveryLocationId($deliveryLocationId)
+ {
+ $this->deliveryLocationId = $deliveryLocationId;
+ }
+
+ public function getDeliveryLocationId()
+ {
+ return $this->deliveryLocationId;
+ }
+
+ public function setDeliveryPostalCode($deliveryPostalCode)
+ {
+ $this->deliveryPostalCode = $deliveryPostalCode;
+ }
+
+ public function getDeliveryPostalCode()
+ {
+ return $this->deliveryPostalCode;
+ }
+
+ public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
+ {
+ $this->priceMax = $priceMax;
+ }
+
+ public function getPriceMax()
+ {
+ return $this->priceMax;
+ }
+
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+
+ public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
+ {
+ $this->weightMax = $weightMax;
+ }
+
+ public function getWeightMax()
+ {
+ return $this->weightMax;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
+{
+ public $country;
+ public $locationIds;
+ public $name;
+ public $postalCodes;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLocationIds($locationIds)
+ {
+ $this->locationIds = $locationIds;
+ }
+
+ public function getLocationIds()
+ {
+ return $this->locationIds;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
+ protected $contentsDataType = 'array';
+ public $name;
+ public $saleCountry;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
+{
+ protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
+ protected $conditionDataType = '';
+ protected $rateType = 'Google_Service_ShoppingContent_Price';
+ protected $rateDataType = '';
+
+ public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function setRate(Google_Service_ShoppingContent_Price $rate)
+ {
+ $this->rate = $rate;
+ }
+
+ public function getRate()
+ {
+ return $this->rate;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
+{
+ public $active;
+ protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
+ protected $calculationMethodDataType = '';
+ public $name;
+ public $saleCountry;
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+
+ public function getActive()
+ {
+ return $this->active;
+ }
+
+ public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
+ {
+ $this->calculationMethod = $calculationMethod;
+ }
+
+ public function getCalculationMethod()
+ {
+ return $this->calculationMethod;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
+{
+ public $carrierRate;
+ protected $flatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $flatRateDataType = '';
+ public $percentageRate;
+ public $rateTable;
+
+ public function setCarrierRate($carrierRate)
+ {
+ $this->carrierRate = $carrierRate;
+ }
+
+ public function getCarrierRate()
+ {
+ return $this->carrierRate;
+ }
+
+ public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
+ {
+ $this->flatRate = $flatRate;
+ }
+
+ public function getFlatRate()
+ {
+ return $this->flatRate;
+ }
+
+ public function setPercentageRate($percentageRate)
+ {
+ $this->percentageRate = $percentageRate;
+ }
+
+ public function getPercentageRate()
+ {
+ return $this->percentageRate;
+ }
+
+ public function setRateTable($rateTable)
+ {
+ $this->rateTable = $rateTable;
+ }
+
+ public function getRateTable()
+ {
+ return $this->rateTable;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
+{
+ public $accountId;
+ protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
+{
+ public $country;
+ public $displayedValue;
+ protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setDisplayedValue($displayedValue)
+ {
+ $this->displayedValue = $displayedValue;
+ }
+
+ public function getDisplayedValue()
+ {
+ return $this->displayedValue;
+ }
+
+ public function setExampleItems($exampleItems)
+ {
+ $this->exampleItems = $exampleItems;
+ }
+
+ public function getExampleItems()
+ {
+ return $this->exampleItems;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastChecked($lastChecked)
+ {
+ $this->lastChecked = $lastChecked;
+ }
+
+ public function getLastChecked()
+ {
+ return $this->lastChecked;
+ }
+
+ public function setNumItems($numItems)
+ {
+ $this->numItems = $numItems;
+ }
+
+ public function getNumItems()
+ {
+ return $this->numItems;
+ }
+
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
+{
+ public $itemId;
+ public $link;
+ public $submittedValue;
+ public $title;
+ public $valueOnLandingPage;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountTax extends Google_Collection
+{
+ public $accountId;
+ public $kind;
+ protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
+ protected $rulesDataType = 'array';
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
+{
+ public $country;
+ public $locationId;
+ public $ratePercent;
+ public $shippingTaxed;
+ public $useGlobalRate;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+
+ public function setRatePercent($ratePercent)
+ {
+ $this->ratePercent = $ratePercent;
+ }
+
+ public function getRatePercent()
+ {
+ return $this->ratePercent;
+ }
+
+ public function setShippingTaxed($shippingTaxed)
+ {
+ $this->shippingTaxed = $shippingTaxed;
+ }
+
+ public function getShippingTaxed()
+ {
+ return $this->shippingTaxed;
+ }
+
+ public function setUseGlobalRate($useGlobalRate)
+ {
+ $this->useGlobalRate = $useGlobalRate;
+ }
+
+ public function getUseGlobalRate()
+ {
+ return $this->useGlobalRate;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountUser extends Google_Model
+{
+ public $admin;
+ public $emailAddress;
+
+ public function setAdmin($admin)
+ {
+ $this->admin = $admin;
+ }
+
+ public function getAdmin()
+ {
+ return $this->admin;
+ }
+
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccount(Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setAccount(Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+
+ public function getAccount()
+ {
+ return $this->account;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Account';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model
+{
+ protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $accountStatusDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus)
+ {
+ $this->accountStatus = $accountStatus;
+ }
+
+ public function getAccountStatus()
+ {
+ return $this->accountStatus;
+ }
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_Datafeed extends Google_Collection
+{
+ public $attributeLanguage;
+ public $contentLanguage;
+ public $contentType;
+ protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule';
+ protected $fetchScheduleDataType = '';
+ public $fileName;
+ protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat';
+ protected $formatDataType = '';
+ public $id;
+ public $intendedDestinations;
+ public $kind;
+ public $name;
+ public $targetCountry;
+
+ public function setAttributeLanguage($attributeLanguage)
+ {
+ $this->attributeLanguage = $attributeLanguage;
+ }
+
+ public function getAttributeLanguage()
+ {
+ return $this->attributeLanguage;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setContentType($contentType)
+ {
+ $this->contentType = $contentType;
+ }
+
+ public function getContentType()
+ {
+ return $this->contentType;
+ }
+
+ public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule)
+ {
+ $this->fetchSchedule = $fetchSchedule;
+ }
+
+ public function getFetchSchedule()
+ {
+ return $this->fetchSchedule;
+ }
+
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+
+ public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIntendedDestinations($intendedDestinations)
+ {
+ $this->intendedDestinations = $intendedDestinations;
+ }
+
+ public function getIntendedDestinations()
+ {
+ return $this->intendedDestinations;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model
+{
+ public $dayOfMonth;
+ public $fetchUrl;
+ public $hour;
+ public $password;
+ public $timeZone;
+ public $username;
+ public $weekday;
+
+ public function setDayOfMonth($dayOfMonth)
+ {
+ $this->dayOfMonth = $dayOfMonth;
+ }
+
+ public function getDayOfMonth()
+ {
+ return $this->dayOfMonth;
+ }
+
+ public function setFetchUrl($fetchUrl)
+ {
+ $this->fetchUrl = $fetchUrl;
+ }
+
+ public function getFetchUrl()
+ {
+ return $this->fetchUrl;
+ }
+
+ public function setHour($hour)
+ {
+ $this->hour = $hour;
+ }
+
+ public function getHour()
+ {
+ return $this->hour;
+ }
+
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ public function setTimeZone($timeZone)
+ {
+ $this->timeZone = $timeZone;
+ }
+
+ public function getTimeZone()
+ {
+ return $this->timeZone;
+ }
+
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+
+ public function getUsername()
+ {
+ return $this->username;
+ }
+
+ public function setWeekday($weekday)
+ {
+ $this->weekday = $weekday;
+ }
+
+ public function getWeekday()
+ {
+ return $this->weekday;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedFormat extends Google_Model
+{
+ public $columnDelimiter;
+ public $fileEncoding;
+ public $quotingMode;
+
+ public function setColumnDelimiter($columnDelimiter)
+ {
+ $this->columnDelimiter = $columnDelimiter;
+ }
+
+ public function getColumnDelimiter()
+ {
+ return $this->columnDelimiter;
+ }
+
+ public function setFileEncoding($fileEncoding)
+ {
+ $this->fileEncoding = $fileEncoding;
+ }
+
+ public function getFileEncoding()
+ {
+ return $this->fileEncoding;
+ }
+
+ public function setQuotingMode($quotingMode)
+ {
+ $this->quotingMode = $quotingMode;
+ }
+
+ public function getQuotingMode()
+ {
+ return $this->quotingMode;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection
+{
+ public $datafeedId;
+ protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $errorsDataType = 'array';
+ public $itemsTotal;
+ public $itemsValid;
+ public $kind;
+ public $processingStatus;
+ protected $warningsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
+ protected $warningsDataType = 'array';
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setItemsTotal($itemsTotal)
+ {
+ $this->itemsTotal = $itemsTotal;
+ }
+
+ public function getItemsTotal()
+ {
+ return $this->itemsTotal;
+ }
+
+ public function setItemsValid($itemsValid)
+ {
+ $this->itemsValid = $itemsValid;
+ }
+
+ public function getItemsValid()
+ {
+ return $this->itemsValid;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection
+{
+ public $code;
+ public $count;
+ protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample';
+ protected $examplesDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setExamples($examples)
+ {
+ $this->examples = $examples;
+ }
+
+ public function getExamples()
+ {
+ return $this->examples;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model
+{
+ public $itemId;
+ public $lineNumber;
+ public $value;
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+
+ public function setLineNumber($lineNumber)
+ {
+ $this->lineNumber = $lineNumber;
+ }
+
+ public function getLineNumber()
+ {
+ return $this->lineNumber;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsinsertrequestType = 'Google_Service_ShoppingContent_DatafeedsInsertRequest';
+ protected $datafeedsinsertrequestDataType = '';
+ protected $datafeedsupdaterequestType = 'Google_Service_ShoppingContent_DatafeedsUpdateRequest';
+ protected $datafeedsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsinsertrequest(Google_Service_ShoppingContent_DatafeedsInsertRequest $datafeedsinsertrequest)
+ {
+ $this->datafeedsinsertrequest = $datafeedsinsertrequest;
+ }
+
+ public function getDatafeedsinsertrequest()
+ {
+ return $this->datafeedsinsertrequest;
+ }
+
+ public function setDatafeedsupdaterequest(Google_Service_ShoppingContent_DatafeedsUpdateRequest $datafeedsupdaterequest)
+ {
+ $this->datafeedsupdaterequest = $datafeedsupdaterequest;
+ }
+
+ public function getDatafeedsupdaterequest()
+ {
+ return $this->datafeedsupdaterequest;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedsgetresponseType = 'Google_Service_ShoppingContent_DatafeedsGetResponse';
+ protected $datafeedsgetresponseDataType = '';
+ protected $datafeedsinsertresponseType = 'Google_Service_ShoppingContent_DatafeedsInsertResponse';
+ protected $datafeedsinsertresponseDataType = '';
+ protected $datafeedsupdateresponseType = 'Google_Service_ShoppingContent_DatafeedsUpdateResponse';
+ protected $datafeedsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedsgetresponse(Google_Service_ShoppingContent_DatafeedsGetResponse $datafeedsgetresponse)
+ {
+ $this->datafeedsgetresponse = $datafeedsgetresponse;
+ }
+
+ public function getDatafeedsgetresponse()
+ {
+ return $this->datafeedsgetresponse;
+ }
+
+ public function setDatafeedsinsertresponse(Google_Service_ShoppingContent_DatafeedsInsertResponse $datafeedsinsertresponse)
+ {
+ $this->datafeedsinsertresponse = $datafeedsinsertresponse;
+ }
+
+ public function getDatafeedsinsertresponse()
+ {
+ return $this->datafeedsinsertresponse;
+ }
+
+ public function setDatafeedsupdateresponse(Google_Service_ShoppingContent_DatafeedsUpdateResponse $datafeedsupdateresponse)
+ {
+ $this->datafeedsupdateresponse = $datafeedsupdateresponse;
+ }
+
+ public function getDatafeedsupdateresponse()
+ {
+ return $this->datafeedsupdateresponse;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $datafeedDataType = '';
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed)
+ {
+ $this->datafeed = $datafeed;
+ }
+
+ public function getDatafeed()
+ {
+ return $this->datafeed;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsInsertRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsInsertResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsUpdateRequest extends Google_Model
+{
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedsUpdateResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedstatusesBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_ShoppingContent_DatafeedstatusesBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedstatusesgetresponseType = 'Google_Service_ShoppingContent_DatafeedstatusesGetResponse';
+ protected $datafeedstatusesgetresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedstatusesgetresponse(Google_Service_ShoppingContent_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
+ {
+ $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
+ }
+
+ public function getDatafeedstatusesgetresponse()
+ {
+ return $this->datafeedstatusesgetresponse;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $datafeedId;
+ public $merchantId;
+ public $method;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedId($datafeedId)
+ {
+ $this->datafeedId = $datafeedId;
+ }
+
+ public function getDatafeedId()
+ {
+ return $this->datafeedId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $datafeedStatusDataType = '';
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus)
+ {
+ $this->datafeedStatus = $datafeedStatus;
+ }
+
+ public function getDatafeedStatus()
+ {
+ return $this->datafeedStatus;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesGetResponse extends Google_Model
+{
+ public $kind;
+ protected $resourceType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $resourceDataType = '';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResource(Google_Service_ShoppingContent_DatafeedStatus $resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_Error extends Google_Model
+{
+ public $domain;
+ public $message;
+ public $reason;
+
+ public function setDomain($domain)
+ {
+ $this->domain = $domain;
+ }
+
+ public function getDomain()
+ {
+ return $this->domain;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_ShoppingContent_Errors extends Google_Collection
+{
+ public $code;
+ protected $errorsType = 'Google_Service_ShoppingContent_Error';
+ protected $errorsDataType = 'array';
+ public $message;
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_ShoppingContent_Inventory extends Google_Model
+{
+ public $availability;
+ public $kind;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inventoryType = 'Google_Service_ShoppingContent_Inventory';
+ protected $inventoryDataType = '';
+ public $merchantId;
+ public $productId;
+ public $storeCode;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInventory(Google_Service_ShoppingContent_Inventory $inventory)
+ {
+ $this->inventory = $inventory;
+ }
+
+ public function getInventory()
+ {
+ return $this->inventory;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setStoreCode($storeCode)
+ {
+ $this->storeCode = $storeCode;
+ }
+
+ public function getStoreCode()
+ {
+ return $this->storeCode;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_InventorySetRequest extends Google_Model
+{
+ public $availability;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $quantity;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setQuantity($quantity)
+ {
+ $this->quantity = $quantity;
+ }
+
+ public function getQuantity()
+ {
+ return $this->quantity;
+ }
+
+ public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+}
+
+class Google_Service_ShoppingContent_InventorySetResponse extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model
+{
+ public $name;
+ public $pointsValue;
+ public $ratio;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPointsValue($pointsValue)
+ {
+ $this->pointsValue = $pointsValue;
+ }
+
+ public function getPointsValue()
+ {
+ return $this->pointsValue;
+ }
+
+ public function setRatio($ratio)
+ {
+ $this->ratio = $ratio;
+ }
+
+ public function getRatio()
+ {
+ return $this->ratio;
+ }
+}
+
+class Google_Service_ShoppingContent_Price extends Google_Model
+{
+ public $currency;
+ public $value;
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_Product extends Google_Collection
+{
+ public $additionalImageLinks;
+ public $adult;
+ public $adwordsGrouping;
+ public $adwordsLabels;
+ public $adwordsRedirect;
+ public $ageGroup;
+ public $availability;
+ public $availabilityDate;
+ public $brand;
+ public $channel;
+ public $color;
+ public $condition;
+ public $contentLanguage;
+ protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $customAttributesDataType = 'array';
+ protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup';
+ protected $customGroupsDataType = 'array';
+ public $customLabel0;
+ public $customLabel1;
+ public $customLabel2;
+ public $customLabel3;
+ public $customLabel4;
+ public $description;
+ protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination';
+ protected $destinationsDataType = 'array';
+ public $energyEfficiencyClass;
+ public $expirationDate;
+ public $gender;
+ public $googleProductCategory;
+ public $gtin;
+ public $id;
+ public $identifierExists;
+ public $imageLink;
+ protected $installmentType = 'Google_Service_ShoppingContent_ProductInstallment';
+ protected $installmentDataType = '';
+ public $isBundle;
+ public $itemGroupId;
+ public $kind;
+ public $link;
+ protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints';
+ protected $loyaltyPointsDataType = '';
+ public $material;
+ public $merchantMultipackQuantity;
+ public $mobileLink;
+ public $mpn;
+ public $offerId;
+ public $onlineOnly;
+ public $pattern;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $productType;
+ protected $salePriceType = 'Google_Service_ShoppingContent_Price';
+ protected $salePriceDataType = '';
+ public $salePriceEffectiveDate;
+ protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping';
+ protected $shippingDataType = 'array';
+ protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight';
+ protected $shippingWeightDataType = '';
+ public $sizeSystem;
+ public $sizeType;
+ public $sizes;
+ public $targetCountry;
+ protected $taxesType = 'Google_Service_ShoppingContent_ProductTax';
+ protected $taxesDataType = 'array';
+ public $title;
+ public $unitPricingBaseMeasure;
+ public $unitPricingMeasure;
+ public $validatedDestinations;
+ protected $warningsType = 'Google_Service_ShoppingContent_Error';
+ protected $warningsDataType = 'array';
+
+ public function setAdditionalImageLinks($additionalImageLinks)
+ {
+ $this->additionalImageLinks = $additionalImageLinks;
+ }
+
+ public function getAdditionalImageLinks()
+ {
+ return $this->additionalImageLinks;
+ }
+
+ public function setAdult($adult)
+ {
+ $this->adult = $adult;
+ }
+
+ public function getAdult()
+ {
+ return $this->adult;
+ }
+
+ public function setAdwordsGrouping($adwordsGrouping)
+ {
+ $this->adwordsGrouping = $adwordsGrouping;
+ }
+
+ public function getAdwordsGrouping()
+ {
+ return $this->adwordsGrouping;
+ }
+
+ public function setAdwordsLabels($adwordsLabels)
+ {
+ $this->adwordsLabels = $adwordsLabels;
+ }
+
+ public function getAdwordsLabels()
+ {
+ return $this->adwordsLabels;
+ }
+
+ public function setAdwordsRedirect($adwordsRedirect)
+ {
+ $this->adwordsRedirect = $adwordsRedirect;
+ }
+
+ public function getAdwordsRedirect()
+ {
+ return $this->adwordsRedirect;
+ }
+
+ public function setAgeGroup($ageGroup)
+ {
+ $this->ageGroup = $ageGroup;
+ }
+
+ public function getAgeGroup()
+ {
+ return $this->ageGroup;
+ }
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+
+ public function setAvailabilityDate($availabilityDate)
+ {
+ $this->availabilityDate = $availabilityDate;
+ }
+
+ public function getAvailabilityDate()
+ {
+ return $this->availabilityDate;
+ }
+
+ public function setBrand($brand)
+ {
+ $this->brand = $brand;
+ }
+
+ public function getBrand()
+ {
+ return $this->brand;
+ }
+
+ public function setChannel($channel)
+ {
+ $this->channel = $channel;
+ }
+
+ public function getChannel()
+ {
+ return $this->channel;
+ }
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setCondition($condition)
+ {
+ $this->condition = $condition;
+ }
+
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function setContentLanguage($contentLanguage)
+ {
+ $this->contentLanguage = $contentLanguage;
+ }
+
+ public function getContentLanguage()
+ {
+ return $this->contentLanguage;
+ }
+
+ public function setCustomAttributes($customAttributes)
+ {
+ $this->customAttributes = $customAttributes;
+ }
+
+ public function getCustomAttributes()
+ {
+ return $this->customAttributes;
+ }
+
+ public function setCustomGroups($customGroups)
+ {
+ $this->customGroups = $customGroups;
+ }
+
+ public function getCustomGroups()
+ {
+ return $this->customGroups;
+ }
+
+ public function setCustomLabel0($customLabel0)
+ {
+ $this->customLabel0 = $customLabel0;
+ }
+
+ public function getCustomLabel0()
+ {
+ return $this->customLabel0;
+ }
+
+ public function setCustomLabel1($customLabel1)
+ {
+ $this->customLabel1 = $customLabel1;
+ }
+
+ public function getCustomLabel1()
+ {
+ return $this->customLabel1;
+ }
+
+ public function setCustomLabel2($customLabel2)
+ {
+ $this->customLabel2 = $customLabel2;
+ }
+
+ public function getCustomLabel2()
+ {
+ return $this->customLabel2;
+ }
+
+ public function setCustomLabel3($customLabel3)
+ {
+ $this->customLabel3 = $customLabel3;
+ }
+
+ public function getCustomLabel3()
+ {
+ return $this->customLabel3;
+ }
+
+ public function setCustomLabel4($customLabel4)
+ {
+ $this->customLabel4 = $customLabel4;
+ }
+
+ public function getCustomLabel4()
+ {
+ return $this->customLabel4;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDestinations($destinations)
+ {
+ $this->destinations = $destinations;
+ }
+
+ public function getDestinations()
+ {
+ return $this->destinations;
+ }
+
+ public function setEnergyEfficiencyClass($energyEfficiencyClass)
+ {
+ $this->energyEfficiencyClass = $energyEfficiencyClass;
+ }
+
+ public function getEnergyEfficiencyClass()
+ {
+ return $this->energyEfficiencyClass;
+ }
+
+ public function setExpirationDate($expirationDate)
+ {
+ $this->expirationDate = $expirationDate;
+ }
+
+ public function getExpirationDate()
+ {
+ return $this->expirationDate;
+ }
+
+ public function setGender($gender)
+ {
+ $this->gender = $gender;
+ }
+
+ public function getGender()
+ {
+ return $this->gender;
+ }
+
+ public function setGoogleProductCategory($googleProductCategory)
+ {
+ $this->googleProductCategory = $googleProductCategory;
+ }
+
+ public function getGoogleProductCategory()
+ {
+ return $this->googleProductCategory;
+ }
+
+ public function setGtin($gtin)
+ {
+ $this->gtin = $gtin;
+ }
+
+ public function getGtin()
+ {
+ return $this->gtin;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setIdentifierExists($identifierExists)
+ {
+ $this->identifierExists = $identifierExists;
+ }
+
+ public function getIdentifierExists()
+ {
+ return $this->identifierExists;
+ }
+
+ public function setImageLink($imageLink)
+ {
+ $this->imageLink = $imageLink;
+ }
+
+ public function getImageLink()
+ {
+ return $this->imageLink;
+ }
+
+ public function setInstallment(Google_Service_ShoppingContent_ProductInstallment $installment)
+ {
+ $this->installment = $installment;
+ }
+
+ public function getInstallment()
+ {
+ return $this->installment;
+ }
+
+ public function setIsBundle($isBundle)
+ {
+ $this->isBundle = $isBundle;
+ }
+
+ public function getIsBundle()
+ {
+ return $this->isBundle;
+ }
+
+ public function setItemGroupId($itemGroupId)
+ {
+ $this->itemGroupId = $itemGroupId;
+ }
+
+ public function getItemGroupId()
+ {
+ return $this->itemGroupId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints)
+ {
+ $this->loyaltyPoints = $loyaltyPoints;
+ }
+
+ public function getLoyaltyPoints()
+ {
+ return $this->loyaltyPoints;
+ }
+
+ public function setMaterial($material)
+ {
+ $this->material = $material;
+ }
+
+ public function getMaterial()
+ {
+ return $this->material;
+ }
+
+ public function setMerchantMultipackQuantity($merchantMultipackQuantity)
+ {
+ $this->merchantMultipackQuantity = $merchantMultipackQuantity;
+ }
+
+ public function getMerchantMultipackQuantity()
+ {
+ return $this->merchantMultipackQuantity;
+ }
+
+ public function setMobileLink($mobileLink)
+ {
+ $this->mobileLink = $mobileLink;
+ }
+
+ public function getMobileLink()
+ {
+ return $this->mobileLink;
+ }
+
+ public function setMpn($mpn)
+ {
+ $this->mpn = $mpn;
+ }
+
+ public function getMpn()
+ {
+ return $this->mpn;
+ }
+
+ public function setOfferId($offerId)
+ {
+ $this->offerId = $offerId;
+ }
+
+ public function getOfferId()
+ {
+ return $this->offerId;
+ }
+
+ public function setOnlineOnly($onlineOnly)
+ {
+ $this->onlineOnly = $onlineOnly;
+ }
+
+ public function getOnlineOnly()
+ {
+ return $this->onlineOnly;
+ }
+
+ public function setPattern($pattern)
+ {
+ $this->pattern = $pattern;
+ }
+
+ public function getPattern()
+ {
+ return $this->pattern;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setProductType($productType)
+ {
+ $this->productType = $productType;
+ }
+
+ public function getProductType()
+ {
+ return $this->productType;
+ }
+
+ public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice)
+ {
+ $this->salePrice = $salePrice;
+ }
+
+ public function getSalePrice()
+ {
+ return $this->salePrice;
+ }
+
+ public function setSalePriceEffectiveDate($salePriceEffectiveDate)
+ {
+ $this->salePriceEffectiveDate = $salePriceEffectiveDate;
+ }
+
+ public function getSalePriceEffectiveDate()
+ {
+ return $this->salePriceEffectiveDate;
+ }
+
+ public function setShipping($shipping)
+ {
+ $this->shipping = $shipping;
+ }
+
+ public function getShipping()
+ {
+ return $this->shipping;
+ }
+
+ public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight)
+ {
+ $this->shippingWeight = $shippingWeight;
+ }
+
+ public function getShippingWeight()
+ {
+ return $this->shippingWeight;
+ }
+
+ public function setSizeSystem($sizeSystem)
+ {
+ $this->sizeSystem = $sizeSystem;
+ }
+
+ public function getSizeSystem()
+ {
+ return $this->sizeSystem;
+ }
+
+ public function setSizeType($sizeType)
+ {
+ $this->sizeType = $sizeType;
+ }
+
+ public function getSizeType()
+ {
+ return $this->sizeType;
+ }
+
+ public function setSizes($sizes)
+ {
+ $this->sizes = $sizes;
+ }
+
+ public function getSizes()
+ {
+ return $this->sizes;
+ }
+
+ public function setTargetCountry($targetCountry)
+ {
+ $this->targetCountry = $targetCountry;
+ }
+
+ public function getTargetCountry()
+ {
+ return $this->targetCountry;
+ }
+
+ public function setTaxes($taxes)
+ {
+ $this->taxes = $taxes;
+ }
+
+ public function getTaxes()
+ {
+ return $this->taxes;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setUnitPricingBaseMeasure($unitPricingBaseMeasure)
+ {
+ $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
+ }
+
+ public function getUnitPricingBaseMeasure()
+ {
+ return $this->unitPricingBaseMeasure;
+ }
+
+ public function setUnitPricingMeasure($unitPricingMeasure)
+ {
+ $this->unitPricingMeasure = $unitPricingMeasure;
+ }
+
+ public function getUnitPricingMeasure()
+ {
+ return $this->unitPricingMeasure;
+ }
+
+ public function setValidatedDestinations($validatedDestinations)
+ {
+ $this->validatedDestinations = $validatedDestinations;
+ }
+
+ public function getValidatedDestinations()
+ {
+ return $this->validatedDestinations;
+ }
+
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model
+{
+ public $name;
+ public $type;
+ public $unit;
+ public $value;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection
+{
+ protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
+ protected $attributesDataType = 'array';
+ public $name;
+
+ public function setAttributes($attributes)
+ {
+ $this->attributes = $attributes;
+ }
+
+ public function getAttributes()
+ {
+ return $this->attributes;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductDestination extends Google_Model
+{
+ public $destinationName;
+ public $intention;
+
+ public function setDestinationName($destinationName)
+ {
+ $this->destinationName = $destinationName;
+ }
+
+ public function getDestinationName()
+ {
+ return $this->destinationName;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductInstallment extends Google_Model
+{
+ protected $amountType = 'Google_Service_ShoppingContent_Price';
+ protected $amountDataType = '';
+ public $months;
+
+ public function setAmount(Google_Service_ShoppingContent_Price $amount)
+ {
+ $this->amount = $amount;
+ }
+
+ public function getAmount()
+ {
+ return $this->amount;
+ }
+
+ public function setMonths($months)
+ {
+ $this->months = $months;
+ }
+
+ public function getMonths()
+ {
+ return $this->months;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductShipping extends Google_Model
+{
+ public $country;
+ protected $priceType = 'Google_Service_ShoppingContent_Price';
+ protected $priceDataType = '';
+ public $region;
+ public $service;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setPrice(Google_Service_ShoppingContent_Price $price)
+ {
+ $this->price = $price;
+ }
+
+ public function getPrice()
+ {
+ return $this->price;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model
+{
+ public $unit;
+ public $value;
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductStatus extends Google_Collection
+{
+ protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus';
+ protected $destinationStatusesDataType = 'array';
+ public $kind;
+ public $link;
+ public $productId;
+ public $title;
+
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+
+ public function setDestinationStatuses($destinationStatuses)
+ {
+ $this->destinationStatuses = $destinationStatuses;
+ }
+
+ public function getDestinationStatuses()
+ {
+ return $this->destinationStatuses;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+
+ public function getLink()
+ {
+ return $this->link;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model
+{
+ public $detail;
+ public $fetchStatus;
+ public $id;
+ public $location;
+ public $timestamp;
+ public $valueOnLandingPage;
+ public $valueProvided;
+
+ public function setDetail($detail)
+ {
+ $this->detail = $detail;
+ }
+
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+
+ public function setFetchStatus($fetchStatus)
+ {
+ $this->fetchStatus = $fetchStatus;
+ }
+
+ public function getFetchStatus()
+ {
+ return $this->fetchStatus;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+
+ public function setValueProvided($valueProvided)
+ {
+ $this->valueProvided = $valueProvided;
+ }
+
+ public function getValueProvided()
+ {
+ return $this->valueProvided;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model
+{
+ public $approvalStatus;
+ public $destination;
+ public $intention;
+
+ public function setApprovalStatus($approvalStatus)
+ {
+ $this->approvalStatus = $approvalStatus;
+ }
+
+ public function getApprovalStatus()
+ {
+ return $this->approvalStatus;
+ }
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setIntention($intention)
+ {
+ $this->intention = $intention;
+ }
+
+ public function getIntention()
+ {
+ return $this->intention;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductTax extends Google_Model
+{
+ public $country;
+ public $rate;
+ public $region;
+ public $taxShip;
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+
+ public function getCountry()
+ {
+ return $this->country;
+ }
+
+ public function setRate($rate)
+ {
+ $this->rate = $rate;
+ }
+
+ public function getRate()
+ {
+ return $this->rate;
+ }
+
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ public function setTaxShip($taxShip)
+ {
+ $this->taxShip = $taxShip;
+ }
+
+ public function getTaxShip()
+ {
+ return $this->taxShip;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ protected $productType = 'Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProduct(Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productType = 'Google_Service_ShoppingContent_Product';
+ protected $productDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProduct(Google_Service_ShoppingContent_Product $product)
+ {
+ $this->product = $product;
+ }
+
+ public function getProduct()
+ {
+ return $this->product;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Product';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ public $merchantId;
+ public $method;
+ public $productId;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+
+ public function getMethod()
+ {
+ return $this->method;
+ }
+
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection
+{
+ protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+ protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus';
+ protected $productStatusDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus)
+ {
+ $this->productStatus = $productStatus;
+ }
+
+ public function getProductStatus()
+ {
+ return $this->productStatus;
+ }
+}
+
+class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus';
+ protected $resourcesDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_Weight extends Google_Model
+{
+ public $unit;
+ public $value;
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From fa5e5160750d35d048696c24aa4cce40d1515b73 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:58 -0700
Subject: [PATCH 0160/1371] Updated Oauth2.php
---
src/Google/Service/Oauth2.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/Oauth2.php b/src/Google/Service/Oauth2.php
index 10deaf785..766cf4a56 100644
--- a/src/Google/Service/Oauth2.php
+++ b/src/Google/Service/Oauth2.php
@@ -37,7 +37,7 @@ class Google_Service_Oauth2 extends Google_Service
const PLUS_ME = "https://www.googleapis.com/auth/plus.me";
/** View your email address. */
const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
- /** View basic information about your account. */
+ /** View your basic profile info. */
const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
public $userinfo;
From 5dd81002a7bc99b2bfc4acc704cf9f2c6bd9eb29 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:59 -0700
Subject: [PATCH 0161/1371] Updated PlusDomains.php
---
src/Google/Service/PlusDomains.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/PlusDomains.php b/src/Google/Service/PlusDomains.php
index df3679d83..3cd3bbef8 100644
--- a/src/Google/Service/PlusDomains.php
+++ b/src/Google/Service/PlusDomains.php
@@ -49,7 +49,7 @@ class Google_Service_PlusDomains extends Google_Service
const PLUS_STREAM_WRITE = "https://www.googleapis.com/auth/plus.stream.write";
/** View your email address. */
const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
- /** View basic information about your account. */
+ /** View your basic profile info. */
const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
public $activities;
From 804f94d80522d2d00432e6a42f851713cfed61b9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:48:59 -0700
Subject: [PATCH 0162/1371] Updated Plus.php
---
src/Google/Service/Plus.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/Plus.php b/src/Google/Service/Plus.php
index cf628f190..2f8721d30 100644
--- a/src/Google/Service/Plus.php
+++ b/src/Google/Service/Plus.php
@@ -37,7 +37,7 @@ class Google_Service_Plus extends Google_Service
const PLUS_ME = "https://www.googleapis.com/auth/plus.me";
/** View your email address. */
const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
- /** View basic information about your account. */
+ /** View your basic profile info. */
const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
public $activities;
From cab95eeba6de613b2dc1d19c7d71d1311fd8a809 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 19 Jul 2014 00:49:00 -0700
Subject: [PATCH 0163/1371] Removed Content.php
---
src/Google/Service/Content.php | 4856 --------------------------------
1 file changed, 4856 deletions(-)
delete mode 100644 src/Google/Service/Content.php
diff --git a/src/Google/Service/Content.php b/src/Google/Service/Content.php
deleted file mode 100644
index 98e86c579..000000000
--- a/src/Google/Service/Content.php
+++ /dev/null
@@ -1,4856 +0,0 @@
-
- * Manage product items, inventory, and Merchant Center accounts for Google Shopping.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_Content extends Google_Service
-{
- /** Manage your product listings and accounts for Google Shopping. */
- const CONTENT = "https://www.googleapis.com/auth/content";
-
- public $accounts;
- public $accountstatuses;
- public $datafeeds;
- public $datafeedstatuses;
- public $inventory;
- public $products;
- public $productstatuses;
-
-
- /**
- * Constructs the internal representation of the Content service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'content/v2/';
- $this->version = 'v2';
- $this->serviceName = 'content';
-
- $this->accounts = new Google_Service_Content_Accounts_Resource(
- $this,
- $this->serviceName,
- 'accounts',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'accounts/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'insert' => array(
- 'path' => '{merchantId}/accounts',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/accounts',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'patch' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'update' => array(
- 'path' => '{merchantId}/accounts/{accountId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->accountstatuses = new Google_Service_Content_Accountstatuses_Resource(
- $this,
- $this->serviceName,
- 'accountstatuses',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'accountstatuses/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'get' => array(
- 'path' => '{merchantId}/accountstatuses/{accountId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/accountstatuses',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->datafeeds = new Google_Service_Content_Datafeeds_Resource(
- $this,
- $this->serviceName,
- 'datafeeds',
- array(
- 'methods' => array(
- 'batch' => array(
- 'path' => 'datafeedsNativeBatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'custombatch' => array(
- 'path' => 'datafeeds/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'delete' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'insert' => array(
- 'path' => '{merchantId}/datafeeds',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/datafeeds',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'patch' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'update' => array(
- 'path' => '{merchantId}/datafeeds/{datafeedId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->datafeedstatuses = new Google_Service_Content_Datafeedstatuses_Resource(
- $this,
- $this->serviceName,
- 'datafeedstatuses',
- array(
- 'methods' => array(
- 'batch' => array(
- 'path' => 'datafeedstatusesNativeBatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'custombatch' => array(
- 'path' => 'datafeedstatuses/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'get' => array(
- 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'datafeedId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/datafeedstatuses',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->inventory = new Google_Service_Content_Inventory_Resource(
- $this,
- $this->serviceName,
- 'inventory',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'inventory/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'set' => array(
- 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'storeCode' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
- $this->products = new Google_Service_Content_Products_Resource(
- $this,
- $this->serviceName,
- 'products',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'products/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'dryRun' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'delete' => array(
- 'path' => '{merchantId}/products/{productId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'dryRun' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'get' => array(
- 'path' => '{merchantId}/products/{productId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'insert' => array(
- 'path' => '{merchantId}/products',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'dryRun' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/products',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->productstatuses = new Google_Service_Content_Productstatuses_Resource(
- $this,
- $this->serviceName,
- 'productstatuses',
- array(
- 'methods' => array(
- 'custombatch' => array(
- 'path' => 'productstatuses/batch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'get' => array(
- 'path' => '{merchantId}/productstatuses/{productId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'productId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => '{merchantId}/productstatuses',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "accounts" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $accounts = $contentService->accounts;
- *
- */
-class Google_Service_Content_Accounts_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves, inserts, updates, and deletes multiple Merchant Center
- * (sub-)accounts in a single request. (accounts.custombatch)
- *
- * @param Google_AccountsCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_AccountsCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_AccountsCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_AccountsCustomBatchResponse");
- }
- /**
- * Deletes a Merchant Center sub-account. (accounts.delete)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param array $optParams Optional parameters.
- */
- public function delete($merchantId, $accountId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Retrieves a Merchant Center account. (accounts.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function get($merchantId, $accountId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_Account");
- }
- /**
- * Creates a Merchant Center sub-account. (accounts.insert)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function insert($merchantId, Google_Service_Content_Account $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Content_Account");
- }
- /**
- * Lists the sub-accounts in your Merchant Center account.
- * (accounts.listAccounts)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of accounts to return in the response, used for paging.
- * @return Google_Service_Content_AccountsListResponse
- */
- public function listAccounts($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_AccountsListResponse");
- }
- /**
- * Updates a Merchant Center account. This method supports patch semantics.
- * (accounts.patch)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function patch($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Content_Account");
- }
- /**
- * Updates a Merchant Center account. (accounts.update)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param Google_Account $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Account
- */
- public function update($merchantId, $accountId, Google_Service_Content_Account $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Content_Account");
- }
-}
-
-/**
- * The "accountstatuses" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $accountstatuses = $contentService->accountstatuses;
- *
- */
-class Google_Service_Content_Accountstatuses_Resource extends Google_Service_Resource
-{
-
- /**
- * (accountstatuses.custombatch)
- *
- * @param Google_AccountstatusesCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_AccountstatusesCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_AccountstatusesCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_AccountstatusesCustomBatchResponse");
- }
- /**
- * Retrieves the status of a Merchant Center account. (accountstatuses.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_AccountStatus
- */
- public function get($merchantId, $accountId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_AccountStatus");
- }
- /**
- * Lists the statuses of the sub-accounts in your Merchant Center account.
- * (accountstatuses.listAccountstatuses)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of account statuses to return in the response, used for paging.
- * @return Google_Service_Content_AccountstatusesListResponse
- */
- public function listAccountstatuses($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_AccountstatusesListResponse");
- }
-}
-
-/**
- * The "datafeeds" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $datafeeds = $contentService->datafeeds;
- *
- */
-class Google_Service_Content_Datafeeds_Resource extends Google_Service_Resource
-{
-
- /**
- * (datafeeds.batch)
- *
- * @param Google_DatafeedsBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedsBatchResponse
- */
- public function batch(Google_Service_Content_DatafeedsBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batch', array($params), "Google_Service_Content_DatafeedsBatchResponse");
- }
- /**
- * (datafeeds.custombatch)
- *
- * @param Google_DatafeedsCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedsCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_DatafeedsCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedsCustomBatchResponse");
- }
- /**
- * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param array $optParams Optional parameters.
- */
- public function delete($merchantId, $datafeedId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function get($merchantId, $datafeedId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_Datafeed");
- }
- /**
- * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
- *
- * @param string $merchantId
- *
- * @param Google_Datafeed $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function insert($merchantId, Google_Service_Content_Datafeed $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Content_Datafeed");
- }
- /**
- * Lists the datafeeds in your Merchant Center account.
- * (datafeeds.listDatafeeds)
- *
- * @param string $merchantId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedsListResponse
- */
- public function listDatafeeds($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_DatafeedsListResponse");
- }
- /**
- * Updates a datafeed of your Merchant Center account. This method supports
- * patch semantics. (datafeeds.patch)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param Google_Datafeed $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function patch($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Content_Datafeed");
- }
- /**
- * Updates a datafeed of your Merchant Center account. (datafeeds.update)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param Google_Datafeed $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Datafeed
- */
- public function update($merchantId, $datafeedId, Google_Service_Content_Datafeed $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Content_Datafeed");
- }
-}
-
-/**
- * The "datafeedstatuses" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $datafeedstatuses = $contentService->datafeedstatuses;
- *
- */
-class Google_Service_Content_Datafeedstatuses_Resource extends Google_Service_Resource
-{
-
- /**
- * (datafeedstatuses.batch)
- *
- * @param Google_DatafeedstatusesBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedstatusesBatchResponse
- */
- public function batch(Google_Service_Content_DatafeedstatusesBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batch', array($params), "Google_Service_Content_DatafeedstatusesBatchResponse");
- }
- /**
- * (datafeedstatuses.custombatch)
- *
- * @param Google_DatafeedstatusesCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedstatusesCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_DatafeedstatusesCustomBatchResponse");
- }
- /**
- * Retrieves the status of a datafeed from your Merchant Center account.
- * (datafeedstatuses.get)
- *
- * @param string $merchantId
- *
- * @param string $datafeedId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedStatus
- */
- public function get($merchantId, $datafeedId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_DatafeedStatus");
- }
- /**
- * Lists the statuses of the datafeeds in your Merchant Center account.
- * (datafeedstatuses.listDatafeedstatuses)
- *
- * @param string $merchantId
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_DatafeedstatusesListResponse
- */
- public function listDatafeedstatuses($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_DatafeedstatusesListResponse");
- }
-}
-
-/**
- * The "inventory" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $inventory = $contentService->inventory;
- *
- */
-class Google_Service_Content_Inventory_Resource extends Google_Service_Resource
-{
-
- /**
- * Updates price and availability for multiple products or stores in a single
- * request. (inventory.custombatch)
- *
- * @param Google_InventoryCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_InventoryCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_InventoryCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_InventoryCustomBatchResponse");
- }
- /**
- * Updates price and availability of a product in your Merchant Center account.
- * (inventory.set)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $storeCode
- * The code of the store for which to update price and availability. Use online to update price and
- * availability of an online product.
- * @param string $productId
- * The ID of the product for which to update price and availability.
- * @param Google_InventorySetRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_InventorySetResponse
- */
- public function set($merchantId, $storeCode, $productId, Google_Service_Content_InventorySetRequest $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('set', array($params), "Google_Service_Content_InventorySetResponse");
- }
-}
-
-/**
- * The "products" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $products = $contentService->products;
- *
- */
-class Google_Service_Content_Products_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves, inserts, and deletes multiple products in a single request.
- * (products.custombatch)
- *
- * @param Google_ProductsCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool dryRun
- * Flag to run the request in dry-run mode.
- * @return Google_Service_Content_ProductsCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_ProductsCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_ProductsCustomBatchResponse");
- }
- /**
- * Deletes a product from your Merchant Center account. (products.delete)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $productId
- * The ID of the product.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool dryRun
- * Flag to run the request in dry-run mode.
- */
- public function delete($merchantId, $productId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Retrieves a product from your Merchant Center account. (products.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $productId
- * The ID of the product.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_Product
- */
- public function get($merchantId, $productId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_Product");
- }
- /**
- * Uploads a product to your Merchant Center account. (products.insert)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param Google_Product $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool dryRun
- * Flag to run the request in dry-run mode.
- * @return Google_Service_Content_Product
- */
- public function insert($merchantId, Google_Service_Content_Product $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Content_Product");
- }
- /**
- * Lists the products in your Merchant Center account. (products.listProducts)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of products to return in the response, used for paging.
- * @return Google_Service_Content_ProductsListResponse
- */
- public function listProducts($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_ProductsListResponse");
- }
-}
-
-/**
- * The "productstatuses" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_Content(...);
- * $productstatuses = $contentService->productstatuses;
- *
- */
-class Google_Service_Content_Productstatuses_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets the statuses of multiple products in a single request.
- * (productstatuses.custombatch)
- *
- * @param Google_ProductstatusesCustomBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_ProductstatusesCustomBatchResponse
- */
- public function custombatch(Google_Service_Content_ProductstatusesCustomBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_Content_ProductstatusesCustomBatchResponse");
- }
- /**
- * Gets the status of a product from your Merchant Center account.
- * (productstatuses.get)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $productId
- * The ID of the product.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Content_ProductStatus
- */
- public function get($merchantId, $productId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'productId' => $productId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Content_ProductStatus");
- }
- /**
- * Lists the statuses of the products in your Merchant Center account.
- * (productstatuses.listProductstatuses)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The token returned by the previous request.
- * @opt_param string maxResults
- * The maximum number of product statuses to return in the response, used for paging.
- * @return Google_Service_Content_ProductstatusesListResponse
- */
- public function listProductstatuses($merchantId, $optParams = array())
- {
- $params = array('merchantId' => $merchantId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Content_ProductstatusesListResponse");
- }
-}
-
-
-
-
-class Google_Service_Content_Account extends Google_Collection
-{
- public $adultContent;
- protected $adwordsLinksType = 'Google_Service_Content_AccountAdwordsLink';
- protected $adwordsLinksDataType = 'array';
- public $id;
- public $kind;
- public $name;
- public $reviewsUrl;
- public $sellerId;
- protected $usersType = 'Google_Service_Content_AccountUser';
- protected $usersDataType = 'array';
- public $websiteUrl;
-
- public function setAdultContent($adultContent)
- {
- $this->adultContent = $adultContent;
- }
-
- public function getAdultContent()
- {
- return $this->adultContent;
- }
-
- public function setAdwordsLinks($adwordsLinks)
- {
- $this->adwordsLinks = $adwordsLinks;
- }
-
- public function getAdwordsLinks()
- {
- return $this->adwordsLinks;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setReviewsUrl($reviewsUrl)
- {
- $this->reviewsUrl = $reviewsUrl;
- }
-
- public function getReviewsUrl()
- {
- return $this->reviewsUrl;
- }
-
- public function setSellerId($sellerId)
- {
- $this->sellerId = $sellerId;
- }
-
- public function getSellerId()
- {
- return $this->sellerId;
- }
-
- public function setUsers($users)
- {
- $this->users = $users;
- }
-
- public function getUsers()
- {
- return $this->users;
- }
-
- public function setWebsiteUrl($websiteUrl)
- {
- $this->websiteUrl = $websiteUrl;
- }
-
- public function getWebsiteUrl()
- {
- return $this->websiteUrl;
- }
-}
-
-class Google_Service_Content_AccountAdwordsLink extends Google_Model
-{
- public $adwordsId;
- public $status;
-
- public function setAdwordsId($adwordsId)
- {
- $this->adwordsId = $adwordsId;
- }
-
- public function getAdwordsId()
- {
- return $this->adwordsId;
- }
-
- public function setStatus($status)
- {
- $this->status = $status;
- }
-
- public function getStatus()
- {
- return $this->status;
- }
-}
-
-class Google_Service_Content_AccountStatus extends Google_Collection
-{
- public $accountId;
- protected $dataQualityIssuesType = 'Google_Service_Content_AccountStatusDataQualityIssue';
- protected $dataQualityIssuesDataType = 'array';
- public $kind;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setDataQualityIssues($dataQualityIssues)
- {
- $this->dataQualityIssues = $dataQualityIssues;
- }
-
- public function getDataQualityIssues()
- {
- return $this->dataQualityIssues;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountStatusDataQualityIssue extends Google_Collection
-{
- public $country;
- public $displayedValue;
- protected $exampleItemsType = 'Google_Service_Content_AccountStatusExampleItem';
- protected $exampleItemsDataType = 'array';
- public $id;
- public $lastChecked;
- public $numItems;
- public $severity;
- public $submittedValue;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setDisplayedValue($displayedValue)
- {
- $this->displayedValue = $displayedValue;
- }
-
- public function getDisplayedValue()
- {
- return $this->displayedValue;
- }
-
- public function setExampleItems($exampleItems)
- {
- $this->exampleItems = $exampleItems;
- }
-
- public function getExampleItems()
- {
- return $this->exampleItems;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastChecked($lastChecked)
- {
- $this->lastChecked = $lastChecked;
- }
-
- public function getLastChecked()
- {
- return $this->lastChecked;
- }
-
- public function setNumItems($numItems)
- {
- $this->numItems = $numItems;
- }
-
- public function getNumItems()
- {
- return $this->numItems;
- }
-
- public function setSeverity($severity)
- {
- $this->severity = $severity;
- }
-
- public function getSeverity()
- {
- return $this->severity;
- }
-
- public function setSubmittedValue($submittedValue)
- {
- $this->submittedValue = $submittedValue;
- }
-
- public function getSubmittedValue()
- {
- return $this->submittedValue;
- }
-}
-
-class Google_Service_Content_AccountStatusExampleItem extends Google_Model
-{
- public $itemId;
- public $link;
- public $submittedValue;
- public $title;
- public $valueOnLandingPage;
-
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- }
-
- public function getItemId()
- {
- return $this->itemId;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setSubmittedValue($submittedValue)
- {
- $this->submittedValue = $submittedValue;
- }
-
- public function getSubmittedValue()
- {
- return $this->submittedValue;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setValueOnLandingPage($valueOnLandingPage)
- {
- $this->valueOnLandingPage = $valueOnLandingPage;
- }
-
- public function getValueOnLandingPage()
- {
- return $this->valueOnLandingPage;
- }
-}
-
-class Google_Service_Content_AccountUser extends Google_Model
-{
- public $admin;
- public $emailAddress;
-
- public function setAdmin($admin)
- {
- $this->admin = $admin;
- }
-
- public function getAdmin()
- {
- return $this->admin;
- }
-
- public function setEmailAddress($emailAddress)
- {
- $this->emailAddress = $emailAddress;
- }
-
- public function getEmailAddress()
- {
- return $this->emailAddress;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountsCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchRequestEntry extends Google_Model
-{
- protected $accountType = 'Google_Service_Content_Account';
- protected $accountDataType = '';
- public $accountId;
- public $batchId;
- public $merchantId;
- public $method;
-
- public function setAccount(Google_Service_Content_Account $account)
- {
- $this->account = $account;
- }
-
- public function getAccount()
- {
- return $this->account;
- }
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountsCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountsCustomBatchResponseEntry extends Google_Model
-{
- protected $accountType = 'Google_Service_Content_Account';
- protected $accountDataType = '';
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
-
- public function setAccount(Google_Service_Content_Account $account)
- {
- $this->account = $account;
- }
-
- public function getAccount()
- {
- return $this->account;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountsListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_Account';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchRequestEntry extends Google_Model
-{
- public $accountId;
- public $batchId;
- public $merchantId;
- public $method;
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_AccountstatusesCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_AccountstatusesCustomBatchResponseEntry extends Google_Model
-{
- protected $accountStatusType = 'Google_Service_Content_AccountStatus';
- protected $accountStatusDataType = '';
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
-
- public function setAccountStatus(Google_Service_Content_AccountStatus $accountStatus)
- {
- $this->accountStatus = $accountStatus;
- }
-
- public function getAccountStatus()
- {
- return $this->accountStatus;
- }
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_Content_AccountstatusesListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_AccountStatus';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_Datafeed extends Google_Collection
-{
- public $attributeLanguage;
- public $contentLanguage;
- public $contentType;
- protected $fetchScheduleType = 'Google_Service_Content_DatafeedFetchSchedule';
- protected $fetchScheduleDataType = '';
- public $fileName;
- protected $formatType = 'Google_Service_Content_DatafeedFormat';
- protected $formatDataType = '';
- public $id;
- public $intendedDestinations;
- public $kind;
- public $name;
- public $targetCountry;
-
- public function setAttributeLanguage($attributeLanguage)
- {
- $this->attributeLanguage = $attributeLanguage;
- }
-
- public function getAttributeLanguage()
- {
- return $this->attributeLanguage;
- }
-
- public function setContentLanguage($contentLanguage)
- {
- $this->contentLanguage = $contentLanguage;
- }
-
- public function getContentLanguage()
- {
- return $this->contentLanguage;
- }
-
- public function setContentType($contentType)
- {
- $this->contentType = $contentType;
- }
-
- public function getContentType()
- {
- return $this->contentType;
- }
-
- public function setFetchSchedule(Google_Service_Content_DatafeedFetchSchedule $fetchSchedule)
- {
- $this->fetchSchedule = $fetchSchedule;
- }
-
- public function getFetchSchedule()
- {
- return $this->fetchSchedule;
- }
-
- public function setFileName($fileName)
- {
- $this->fileName = $fileName;
- }
-
- public function getFileName()
- {
- return $this->fileName;
- }
-
- public function setFormat(Google_Service_Content_DatafeedFormat $format)
- {
- $this->format = $format;
- }
-
- public function getFormat()
- {
- return $this->format;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setIntendedDestinations($intendedDestinations)
- {
- $this->intendedDestinations = $intendedDestinations;
- }
-
- public function getIntendedDestinations()
- {
- return $this->intendedDestinations;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setTargetCountry($targetCountry)
- {
- $this->targetCountry = $targetCountry;
- }
-
- public function getTargetCountry()
- {
- return $this->targetCountry;
- }
-}
-
-class Google_Service_Content_DatafeedFetchSchedule extends Google_Model
-{
- public $dayOfMonth;
- public $fetchUrl;
- public $hour;
- public $password;
- public $timeZone;
- public $username;
- public $weekday;
-
- public function setDayOfMonth($dayOfMonth)
- {
- $this->dayOfMonth = $dayOfMonth;
- }
-
- public function getDayOfMonth()
- {
- return $this->dayOfMonth;
- }
-
- public function setFetchUrl($fetchUrl)
- {
- $this->fetchUrl = $fetchUrl;
- }
-
- public function getFetchUrl()
- {
- return $this->fetchUrl;
- }
-
- public function setHour($hour)
- {
- $this->hour = $hour;
- }
-
- public function getHour()
- {
- return $this->hour;
- }
-
- public function setPassword($password)
- {
- $this->password = $password;
- }
-
- public function getPassword()
- {
- return $this->password;
- }
-
- public function setTimeZone($timeZone)
- {
- $this->timeZone = $timeZone;
- }
-
- public function getTimeZone()
- {
- return $this->timeZone;
- }
-
- public function setUsername($username)
- {
- $this->username = $username;
- }
-
- public function getUsername()
- {
- return $this->username;
- }
-
- public function setWeekday($weekday)
- {
- $this->weekday = $weekday;
- }
-
- public function getWeekday()
- {
- return $this->weekday;
- }
-}
-
-class Google_Service_Content_DatafeedFormat extends Google_Model
-{
- public $columnDelimiter;
- public $fileEncoding;
- public $quotingMode;
-
- public function setColumnDelimiter($columnDelimiter)
- {
- $this->columnDelimiter = $columnDelimiter;
- }
-
- public function getColumnDelimiter()
- {
- return $this->columnDelimiter;
- }
-
- public function setFileEncoding($fileEncoding)
- {
- $this->fileEncoding = $fileEncoding;
- }
-
- public function getFileEncoding()
- {
- return $this->fileEncoding;
- }
-
- public function setQuotingMode($quotingMode)
- {
- $this->quotingMode = $quotingMode;
- }
-
- public function getQuotingMode()
- {
- return $this->quotingMode;
- }
-}
-
-class Google_Service_Content_DatafeedStatus extends Google_Collection
-{
- public $datafeedId;
- protected $errorsType = 'Google_Service_Content_DatafeedStatusError';
- protected $errorsDataType = 'array';
- public $itemsTotal;
- public $itemsValid;
- public $kind;
- public $processingStatus;
- protected $warningsType = 'Google_Service_Content_DatafeedStatusError';
- protected $warningsDataType = 'array';
-
- public function setDatafeedId($datafeedId)
- {
- $this->datafeedId = $datafeedId;
- }
-
- public function getDatafeedId()
- {
- return $this->datafeedId;
- }
-
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setItemsTotal($itemsTotal)
- {
- $this->itemsTotal = $itemsTotal;
- }
-
- public function getItemsTotal()
- {
- return $this->itemsTotal;
- }
-
- public function setItemsValid($itemsValid)
- {
- $this->itemsValid = $itemsValid;
- }
-
- public function getItemsValid()
- {
- return $this->itemsValid;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setWarnings($warnings)
- {
- $this->warnings = $warnings;
- }
-
- public function getWarnings()
- {
- return $this->warnings;
- }
-}
-
-class Google_Service_Content_DatafeedStatusError extends Google_Collection
-{
- public $code;
- public $count;
- protected $examplesType = 'Google_Service_Content_DatafeedStatusExample';
- protected $examplesDataType = 'array';
- public $message;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setExamples($examples)
- {
- $this->examples = $examples;
- }
-
- public function getExamples()
- {
- return $this->examples;
- }
-
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_Content_DatafeedStatusExample extends Google_Model
-{
- public $itemId;
- public $lineNumber;
- public $value;
-
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- }
-
- public function getItemId()
- {
- return $this->itemId;
- }
-
- public function setLineNumber($lineNumber)
- {
- $this->lineNumber = $lineNumber;
- }
-
- public function getLineNumber()
- {
- return $this->lineNumber;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchRequest extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedsBatchRequestEntry';
- protected $entrysDataType = 'array';
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedsinsertrequestType = 'Google_Service_Content_DatafeedsInsertRequest';
- protected $datafeedsinsertrequestDataType = '';
- protected $datafeedsupdaterequestType = 'Google_Service_Content_DatafeedsUpdateRequest';
- protected $datafeedsupdaterequestDataType = '';
- public $methodName;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedsinsertrequest(Google_Service_Content_DatafeedsInsertRequest $datafeedsinsertrequest)
- {
- $this->datafeedsinsertrequest = $datafeedsinsertrequest;
- }
-
- public function getDatafeedsinsertrequest()
- {
- return $this->datafeedsinsertrequest;
- }
-
- public function setDatafeedsupdaterequest(Google_Service_Content_DatafeedsUpdateRequest $datafeedsupdaterequest)
- {
- $this->datafeedsupdaterequest = $datafeedsupdaterequest;
- }
-
- public function getDatafeedsupdaterequest()
- {
- return $this->datafeedsupdaterequest;
- }
-
- public function setMethodName($methodName)
- {
- $this->methodName = $methodName;
- }
-
- public function getMethodName()
- {
- return $this->methodName;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchResponse extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedsBatchResponseEntry';
- protected $entrysDataType = 'array';
- public $kind;
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedsBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedsgetresponseType = 'Google_Service_Content_DatafeedsGetResponse';
- protected $datafeedsgetresponseDataType = '';
- protected $datafeedsinsertresponseType = 'Google_Service_Content_DatafeedsInsertResponse';
- protected $datafeedsinsertresponseDataType = '';
- protected $datafeedsupdateresponseType = 'Google_Service_Content_DatafeedsUpdateResponse';
- protected $datafeedsupdateresponseDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedsgetresponse(Google_Service_Content_DatafeedsGetResponse $datafeedsgetresponse)
- {
- $this->datafeedsgetresponse = $datafeedsgetresponse;
- }
-
- public function getDatafeedsgetresponse()
- {
- return $this->datafeedsgetresponse;
- }
-
- public function setDatafeedsinsertresponse(Google_Service_Content_DatafeedsInsertResponse $datafeedsinsertresponse)
- {
- $this->datafeedsinsertresponse = $datafeedsinsertresponse;
- }
-
- public function getDatafeedsinsertresponse()
- {
- return $this->datafeedsinsertresponse;
- }
-
- public function setDatafeedsupdateresponse(Google_Service_Content_DatafeedsUpdateResponse $datafeedsupdateresponse)
- {
- $this->datafeedsupdateresponse = $datafeedsupdateresponse;
- }
-
- public function getDatafeedsupdateresponse()
- {
- return $this->datafeedsupdateresponse;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedType = 'Google_Service_Content_Datafeed';
- protected $datafeedDataType = '';
- public $datafeedId;
- public $merchantId;
- public $method;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
- {
- $this->datafeed = $datafeed;
- }
-
- public function getDatafeed()
- {
- return $this->datafeed;
- }
-
- public function setDatafeedId($datafeedId)
- {
- $this->datafeedId = $datafeedId;
- }
-
- public function getDatafeedId()
- {
- return $this->datafeedId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedsCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedsCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedType = 'Google_Service_Content_Datafeed';
- protected $datafeedDataType = '';
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeed(Google_Service_Content_Datafeed $datafeed)
- {
- $this->datafeed = $datafeed;
- }
-
- public function getDatafeed()
- {
- return $this->datafeed;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_Content_DatafeedsGetResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsInsertRequest extends Google_Model
-{
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsInsertResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsListResponse extends Google_Collection
-{
- public $kind;
- protected $resourcesType = 'Google_Service_Content_Datafeed';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_DatafeedsUpdateRequest extends Google_Model
-{
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedsUpdateResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchRequest extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchRequestEntry';
- protected $entrysDataType = 'array';
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $methodName;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMethodName($methodName)
- {
- $this->methodName = $methodName;
- }
-
- public function getMethodName()
- {
- return $this->methodName;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchResponse extends Google_Collection
-{
- protected $entrysType = 'Google_Service_Content_DatafeedstatusesBatchResponseEntry';
- protected $entrysDataType = 'array';
- public $kind;
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedstatusesgetresponseType = 'Google_Service_Content_DatafeedstatusesGetResponse';
- protected $datafeedstatusesgetresponseDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedstatusesgetresponse(Google_Service_Content_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
- {
- $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
- }
-
- public function getDatafeedstatusesgetresponse()
- {
- return $this->datafeedstatusesgetresponse;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $datafeedId;
- public $merchantId;
- public $method;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedId($datafeedId)
- {
- $this->datafeedId = $datafeedId;
- }
-
- public function getDatafeedId()
- {
- return $this->datafeedId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedStatusType = 'Google_Service_Content_DatafeedStatus';
- protected $datafeedStatusDataType = '';
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedStatus(Google_Service_Content_DatafeedStatus $datafeedStatus)
- {
- $this->datafeedStatus = $datafeedStatus;
- }
-
- public function getDatafeedStatus()
- {
- return $this->datafeedStatus;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesGetResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_Content_DatafeedStatus';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_Content_DatafeedStatus $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_Content_DatafeedstatusesListResponse extends Google_Collection
-{
- public $kind;
- protected $resourcesType = 'Google_Service_Content_DatafeedStatus';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_Error extends Google_Model
-{
- public $domain;
- public $message;
- public $reason;
-
- public function setDomain($domain)
- {
- $this->domain = $domain;
- }
-
- public function getDomain()
- {
- return $this->domain;
- }
-
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- public function getMessage()
- {
- return $this->message;
- }
-
- public function setReason($reason)
- {
- $this->reason = $reason;
- }
-
- public function getReason()
- {
- return $this->reason;
- }
-}
-
-class Google_Service_Content_Errors extends Google_Collection
-{
- public $code;
- protected $errorsType = 'Google_Service_Content_Error';
- protected $errorsDataType = 'array';
- public $message;
-
- public function setCode($code)
- {
- $this->code = $code;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setMessage($message)
- {
- $this->message = $message;
- }
-
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_Content_Inventory extends Google_Model
-{
- public $availability;
- public $kind;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $quantity;
- protected $salePriceType = 'Google_Service_Content_Price';
- protected $salePriceDataType = '';
- public $salePriceEffectiveDate;
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- }
-
- public function getQuantity()
- {
- return $this->quantity;
- }
-
- public function setSalePrice(Google_Service_Content_Price $salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSalePriceEffectiveDate($salePriceEffectiveDate)
- {
- $this->salePriceEffectiveDate = $salePriceEffectiveDate;
- }
-
- public function getSalePriceEffectiveDate()
- {
- return $this->salePriceEffectiveDate;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_InventoryCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $inventoryType = 'Google_Service_Content_Inventory';
- protected $inventoryDataType = '';
- public $merchantId;
- public $productId;
- public $storeCode;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setInventory(Google_Service_Content_Inventory $inventory)
- {
- $this->inventory = $inventory;
- }
-
- public function getInventory()
- {
- return $this->inventory;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-
- public function setStoreCode($storeCode)
- {
- $this->storeCode = $storeCode;
- }
-
- public function getStoreCode()
- {
- return $this->storeCode;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_InventoryCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_InventoryCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_InventorySetRequest extends Google_Model
-{
- public $availability;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $quantity;
- protected $salePriceType = 'Google_Service_Content_Price';
- protected $salePriceDataType = '';
- public $salePriceEffectiveDate;
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- }
-
- public function getQuantity()
- {
- return $this->quantity;
- }
-
- public function setSalePrice(Google_Service_Content_Price $salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSalePriceEffectiveDate($salePriceEffectiveDate)
- {
- $this->salePriceEffectiveDate = $salePriceEffectiveDate;
- }
-
- public function getSalePriceEffectiveDate()
- {
- return $this->salePriceEffectiveDate;
- }
-}
-
-class Google_Service_Content_InventorySetResponse extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_LoyaltyPoints extends Google_Model
-{
- public $name;
- public $pointsValue;
- public $ratio;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPointsValue($pointsValue)
- {
- $this->pointsValue = $pointsValue;
- }
-
- public function getPointsValue()
- {
- return $this->pointsValue;
- }
-
- public function setRatio($ratio)
- {
- $this->ratio = $ratio;
- }
-
- public function getRatio()
- {
- return $this->ratio;
- }
-}
-
-class Google_Service_Content_Price extends Google_Model
-{
- public $currency;
- public $value;
-
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- }
-
- public function getCurrency()
- {
- return $this->currency;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_Product extends Google_Collection
-{
- public $additionalImageLinks;
- public $adult;
- public $adwordsGrouping;
- public $adwordsLabels;
- public $adwordsRedirect;
- public $ageGroup;
- public $availability;
- public $availabilityDate;
- public $brand;
- public $channel;
- public $color;
- public $condition;
- public $contentLanguage;
- protected $customAttributesType = 'Google_Service_Content_ProductCustomAttribute';
- protected $customAttributesDataType = 'array';
- protected $customGroupsType = 'Google_Service_Content_ProductCustomGroup';
- protected $customGroupsDataType = 'array';
- public $customLabel0;
- public $customLabel1;
- public $customLabel2;
- public $customLabel3;
- public $customLabel4;
- public $description;
- protected $destinationsType = 'Google_Service_Content_ProductDestination';
- protected $destinationsDataType = 'array';
- public $energyEfficiencyClass;
- public $expirationDate;
- public $gender;
- public $googleProductCategory;
- public $gtin;
- public $id;
- public $identifierExists;
- public $imageLink;
- protected $installmentType = 'Google_Service_Content_ProductInstallment';
- protected $installmentDataType = '';
- public $isBundle;
- public $itemGroupId;
- public $kind;
- public $link;
- protected $loyaltyPointsType = 'Google_Service_Content_LoyaltyPoints';
- protected $loyaltyPointsDataType = '';
- public $material;
- public $merchantMultipackQuantity;
- public $mobileLink;
- public $mpn;
- public $offerId;
- public $onlineOnly;
- public $pattern;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $productType;
- protected $salePriceType = 'Google_Service_Content_Price';
- protected $salePriceDataType = '';
- public $salePriceEffectiveDate;
- protected $shippingType = 'Google_Service_Content_ProductShipping';
- protected $shippingDataType = 'array';
- protected $shippingWeightType = 'Google_Service_Content_ProductShippingWeight';
- protected $shippingWeightDataType = '';
- public $sizeSystem;
- public $sizeType;
- public $sizes;
- public $targetCountry;
- protected $taxesType = 'Google_Service_Content_ProductTax';
- protected $taxesDataType = 'array';
- public $title;
- public $unitPricingBaseMeasure;
- public $unitPricingMeasure;
- public $validatedDestinations;
- protected $warningsType = 'Google_Service_Content_Error';
- protected $warningsDataType = 'array';
-
- public function setAdditionalImageLinks($additionalImageLinks)
- {
- $this->additionalImageLinks = $additionalImageLinks;
- }
-
- public function getAdditionalImageLinks()
- {
- return $this->additionalImageLinks;
- }
-
- public function setAdult($adult)
- {
- $this->adult = $adult;
- }
-
- public function getAdult()
- {
- return $this->adult;
- }
-
- public function setAdwordsGrouping($adwordsGrouping)
- {
- $this->adwordsGrouping = $adwordsGrouping;
- }
-
- public function getAdwordsGrouping()
- {
- return $this->adwordsGrouping;
- }
-
- public function setAdwordsLabels($adwordsLabels)
- {
- $this->adwordsLabels = $adwordsLabels;
- }
-
- public function getAdwordsLabels()
- {
- return $this->adwordsLabels;
- }
-
- public function setAdwordsRedirect($adwordsRedirect)
- {
- $this->adwordsRedirect = $adwordsRedirect;
- }
-
- public function getAdwordsRedirect()
- {
- return $this->adwordsRedirect;
- }
-
- public function setAgeGroup($ageGroup)
- {
- $this->ageGroup = $ageGroup;
- }
-
- public function getAgeGroup()
- {
- return $this->ageGroup;
- }
-
- public function setAvailability($availability)
- {
- $this->availability = $availability;
- }
-
- public function getAvailability()
- {
- return $this->availability;
- }
-
- public function setAvailabilityDate($availabilityDate)
- {
- $this->availabilityDate = $availabilityDate;
- }
-
- public function getAvailabilityDate()
- {
- return $this->availabilityDate;
- }
-
- public function setBrand($brand)
- {
- $this->brand = $brand;
- }
-
- public function getBrand()
- {
- return $this->brand;
- }
-
- public function setChannel($channel)
- {
- $this->channel = $channel;
- }
-
- public function getChannel()
- {
- return $this->channel;
- }
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setCondition($condition)
- {
- $this->condition = $condition;
- }
-
- public function getCondition()
- {
- return $this->condition;
- }
-
- public function setContentLanguage($contentLanguage)
- {
- $this->contentLanguage = $contentLanguage;
- }
-
- public function getContentLanguage()
- {
- return $this->contentLanguage;
- }
-
- public function setCustomAttributes($customAttributes)
- {
- $this->customAttributes = $customAttributes;
- }
-
- public function getCustomAttributes()
- {
- return $this->customAttributes;
- }
-
- public function setCustomGroups($customGroups)
- {
- $this->customGroups = $customGroups;
- }
-
- public function getCustomGroups()
- {
- return $this->customGroups;
- }
-
- public function setCustomLabel0($customLabel0)
- {
- $this->customLabel0 = $customLabel0;
- }
-
- public function getCustomLabel0()
- {
- return $this->customLabel0;
- }
-
- public function setCustomLabel1($customLabel1)
- {
- $this->customLabel1 = $customLabel1;
- }
-
- public function getCustomLabel1()
- {
- return $this->customLabel1;
- }
-
- public function setCustomLabel2($customLabel2)
- {
- $this->customLabel2 = $customLabel2;
- }
-
- public function getCustomLabel2()
- {
- return $this->customLabel2;
- }
-
- public function setCustomLabel3($customLabel3)
- {
- $this->customLabel3 = $customLabel3;
- }
-
- public function getCustomLabel3()
- {
- return $this->customLabel3;
- }
-
- public function setCustomLabel4($customLabel4)
- {
- $this->customLabel4 = $customLabel4;
- }
-
- public function getCustomLabel4()
- {
- return $this->customLabel4;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDestinations($destinations)
- {
- $this->destinations = $destinations;
- }
-
- public function getDestinations()
- {
- return $this->destinations;
- }
-
- public function setEnergyEfficiencyClass($energyEfficiencyClass)
- {
- $this->energyEfficiencyClass = $energyEfficiencyClass;
- }
-
- public function getEnergyEfficiencyClass()
- {
- return $this->energyEfficiencyClass;
- }
-
- public function setExpirationDate($expirationDate)
- {
- $this->expirationDate = $expirationDate;
- }
-
- public function getExpirationDate()
- {
- return $this->expirationDate;
- }
-
- public function setGender($gender)
- {
- $this->gender = $gender;
- }
-
- public function getGender()
- {
- return $this->gender;
- }
-
- public function setGoogleProductCategory($googleProductCategory)
- {
- $this->googleProductCategory = $googleProductCategory;
- }
-
- public function getGoogleProductCategory()
- {
- return $this->googleProductCategory;
- }
-
- public function setGtin($gtin)
- {
- $this->gtin = $gtin;
- }
-
- public function getGtin()
- {
- return $this->gtin;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setIdentifierExists($identifierExists)
- {
- $this->identifierExists = $identifierExists;
- }
-
- public function getIdentifierExists()
- {
- return $this->identifierExists;
- }
-
- public function setImageLink($imageLink)
- {
- $this->imageLink = $imageLink;
- }
-
- public function getImageLink()
- {
- return $this->imageLink;
- }
-
- public function setInstallment(Google_Service_Content_ProductInstallment $installment)
- {
- $this->installment = $installment;
- }
-
- public function getInstallment()
- {
- return $this->installment;
- }
-
- public function setIsBundle($isBundle)
- {
- $this->isBundle = $isBundle;
- }
-
- public function getIsBundle()
- {
- return $this->isBundle;
- }
-
- public function setItemGroupId($itemGroupId)
- {
- $this->itemGroupId = $itemGroupId;
- }
-
- public function getItemGroupId()
- {
- return $this->itemGroupId;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setLoyaltyPoints(Google_Service_Content_LoyaltyPoints $loyaltyPoints)
- {
- $this->loyaltyPoints = $loyaltyPoints;
- }
-
- public function getLoyaltyPoints()
- {
- return $this->loyaltyPoints;
- }
-
- public function setMaterial($material)
- {
- $this->material = $material;
- }
-
- public function getMaterial()
- {
- return $this->material;
- }
-
- public function setMerchantMultipackQuantity($merchantMultipackQuantity)
- {
- $this->merchantMultipackQuantity = $merchantMultipackQuantity;
- }
-
- public function getMerchantMultipackQuantity()
- {
- return $this->merchantMultipackQuantity;
- }
-
- public function setMobileLink($mobileLink)
- {
- $this->mobileLink = $mobileLink;
- }
-
- public function getMobileLink()
- {
- return $this->mobileLink;
- }
-
- public function setMpn($mpn)
- {
- $this->mpn = $mpn;
- }
-
- public function getMpn()
- {
- return $this->mpn;
- }
-
- public function setOfferId($offerId)
- {
- $this->offerId = $offerId;
- }
-
- public function getOfferId()
- {
- return $this->offerId;
- }
-
- public function setOnlineOnly($onlineOnly)
- {
- $this->onlineOnly = $onlineOnly;
- }
-
- public function getOnlineOnly()
- {
- return $this->onlineOnly;
- }
-
- public function setPattern($pattern)
- {
- $this->pattern = $pattern;
- }
-
- public function getPattern()
- {
- return $this->pattern;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setProductType($productType)
- {
- $this->productType = $productType;
- }
-
- public function getProductType()
- {
- return $this->productType;
- }
-
- public function setSalePrice(Google_Service_Content_Price $salePrice)
- {
- $this->salePrice = $salePrice;
- }
-
- public function getSalePrice()
- {
- return $this->salePrice;
- }
-
- public function setSalePriceEffectiveDate($salePriceEffectiveDate)
- {
- $this->salePriceEffectiveDate = $salePriceEffectiveDate;
- }
-
- public function getSalePriceEffectiveDate()
- {
- return $this->salePriceEffectiveDate;
- }
-
- public function setShipping($shipping)
- {
- $this->shipping = $shipping;
- }
-
- public function getShipping()
- {
- return $this->shipping;
- }
-
- public function setShippingWeight(Google_Service_Content_ProductShippingWeight $shippingWeight)
- {
- $this->shippingWeight = $shippingWeight;
- }
-
- public function getShippingWeight()
- {
- return $this->shippingWeight;
- }
-
- public function setSizeSystem($sizeSystem)
- {
- $this->sizeSystem = $sizeSystem;
- }
-
- public function getSizeSystem()
- {
- return $this->sizeSystem;
- }
-
- public function setSizeType($sizeType)
- {
- $this->sizeType = $sizeType;
- }
-
- public function getSizeType()
- {
- return $this->sizeType;
- }
-
- public function setSizes($sizes)
- {
- $this->sizes = $sizes;
- }
-
- public function getSizes()
- {
- return $this->sizes;
- }
-
- public function setTargetCountry($targetCountry)
- {
- $this->targetCountry = $targetCountry;
- }
-
- public function getTargetCountry()
- {
- return $this->targetCountry;
- }
-
- public function setTaxes($taxes)
- {
- $this->taxes = $taxes;
- }
-
- public function getTaxes()
- {
- return $this->taxes;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-
- public function setUnitPricingBaseMeasure($unitPricingBaseMeasure)
- {
- $this->unitPricingBaseMeasure = $unitPricingBaseMeasure;
- }
-
- public function getUnitPricingBaseMeasure()
- {
- return $this->unitPricingBaseMeasure;
- }
-
- public function setUnitPricingMeasure($unitPricingMeasure)
- {
- $this->unitPricingMeasure = $unitPricingMeasure;
- }
-
- public function getUnitPricingMeasure()
- {
- return $this->unitPricingMeasure;
- }
-
- public function setValidatedDestinations($validatedDestinations)
- {
- $this->validatedDestinations = $validatedDestinations;
- }
-
- public function getValidatedDestinations()
- {
- return $this->validatedDestinations;
- }
-
- public function setWarnings($warnings)
- {
- $this->warnings = $warnings;
- }
-
- public function getWarnings()
- {
- return $this->warnings;
- }
-}
-
-class Google_Service_Content_ProductCustomAttribute extends Google_Model
-{
- public $name;
- public $type;
- public $unit;
- public $value;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_ProductCustomGroup extends Google_Collection
-{
- protected $attributesType = 'Google_Service_Content_ProductCustomAttribute';
- protected $attributesDataType = 'array';
- public $name;
-
- public function setAttributes($attributes)
- {
- $this->attributes = $attributes;
- }
-
- public function getAttributes()
- {
- return $this->attributes;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Content_ProductDestination extends Google_Model
-{
- public $destinationName;
- public $intention;
-
- public function setDestinationName($destinationName)
- {
- $this->destinationName = $destinationName;
- }
-
- public function getDestinationName()
- {
- return $this->destinationName;
- }
-
- public function setIntention($intention)
- {
- $this->intention = $intention;
- }
-
- public function getIntention()
- {
- return $this->intention;
- }
-}
-
-class Google_Service_Content_ProductInstallment extends Google_Model
-{
- protected $amountType = 'Google_Service_Content_Price';
- protected $amountDataType = '';
- public $months;
-
- public function setAmount(Google_Service_Content_Price $amount)
- {
- $this->amount = $amount;
- }
-
- public function getAmount()
- {
- return $this->amount;
- }
-
- public function setMonths($months)
- {
- $this->months = $months;
- }
-
- public function getMonths()
- {
- return $this->months;
- }
-}
-
-class Google_Service_Content_ProductShipping extends Google_Model
-{
- public $country;
- protected $priceType = 'Google_Service_Content_Price';
- protected $priceDataType = '';
- public $region;
- public $service;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setPrice(Google_Service_Content_Price $price)
- {
- $this->price = $price;
- }
-
- public function getPrice()
- {
- return $this->price;
- }
-
- public function setRegion($region)
- {
- $this->region = $region;
- }
-
- public function getRegion()
- {
- return $this->region;
- }
-
- public function setService($service)
- {
- $this->service = $service;
- }
-
- public function getService()
- {
- return $this->service;
- }
-}
-
-class Google_Service_Content_ProductShippingWeight extends Google_Model
-{
- public $unit;
- public $value;
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Content_ProductStatus extends Google_Collection
-{
- protected $dataQualityIssuesType = 'Google_Service_Content_ProductStatusDataQualityIssue';
- protected $dataQualityIssuesDataType = 'array';
- protected $destinationStatusesType = 'Google_Service_Content_ProductStatusDestinationStatus';
- protected $destinationStatusesDataType = 'array';
- public $kind;
- public $link;
- public $productId;
- public $title;
-
- public function setDataQualityIssues($dataQualityIssues)
- {
- $this->dataQualityIssues = $dataQualityIssues;
- }
-
- public function getDataQualityIssues()
- {
- return $this->dataQualityIssues;
- }
-
- public function setDestinationStatuses($destinationStatuses)
- {
- $this->destinationStatuses = $destinationStatuses;
- }
-
- public function getDestinationStatuses()
- {
- return $this->destinationStatuses;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLink($link)
- {
- $this->link = $link;
- }
-
- public function getLink()
- {
- return $this->link;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-
- public function setTitle($title)
- {
- $this->title = $title;
- }
-
- public function getTitle()
- {
- return $this->title;
- }
-}
-
-class Google_Service_Content_ProductStatusDataQualityIssue extends Google_Model
-{
- public $detail;
- public $fetchStatus;
- public $id;
- public $location;
- public $timestamp;
- public $valueOnLandingPage;
- public $valueProvided;
-
- public function setDetail($detail)
- {
- $this->detail = $detail;
- }
-
- public function getDetail()
- {
- return $this->detail;
- }
-
- public function setFetchStatus($fetchStatus)
- {
- $this->fetchStatus = $fetchStatus;
- }
-
- public function getFetchStatus()
- {
- return $this->fetchStatus;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLocation($location)
- {
- $this->location = $location;
- }
-
- public function getLocation()
- {
- return $this->location;
- }
-
- public function setTimestamp($timestamp)
- {
- $this->timestamp = $timestamp;
- }
-
- public function getTimestamp()
- {
- return $this->timestamp;
- }
-
- public function setValueOnLandingPage($valueOnLandingPage)
- {
- $this->valueOnLandingPage = $valueOnLandingPage;
- }
-
- public function getValueOnLandingPage()
- {
- return $this->valueOnLandingPage;
- }
-
- public function setValueProvided($valueProvided)
- {
- $this->valueProvided = $valueProvided;
- }
-
- public function getValueProvided()
- {
- return $this->valueProvided;
- }
-}
-
-class Google_Service_Content_ProductStatusDestinationStatus extends Google_Model
-{
- public $approvalStatus;
- public $destination;
- public $intention;
-
- public function setApprovalStatus($approvalStatus)
- {
- $this->approvalStatus = $approvalStatus;
- }
-
- public function getApprovalStatus()
- {
- return $this->approvalStatus;
- }
-
- public function setDestination($destination)
- {
- $this->destination = $destination;
- }
-
- public function getDestination()
- {
- return $this->destination;
- }
-
- public function setIntention($intention)
- {
- $this->intention = $intention;
- }
-
- public function getIntention()
- {
- return $this->intention;
- }
-}
-
-class Google_Service_Content_ProductTax extends Google_Model
-{
- public $country;
- public $rate;
- public $region;
- public $taxShip;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setRate($rate)
- {
- $this->rate = $rate;
- }
-
- public function getRate()
- {
- return $this->rate;
- }
-
- public function setRegion($region)
- {
- $this->region = $region;
- }
-
- public function getRegion()
- {
- return $this->region;
- }
-
- public function setTaxShip($taxShip)
- {
- $this->taxShip = $taxShip;
- }
-
- public function getTaxShip()
- {
- return $this->taxShip;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductsCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $merchantId;
- public $method;
- protected $productType = 'Google_Service_Content_Product';
- protected $productDataType = '';
- public $productId;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-
- public function setProduct(Google_Service_Content_Product $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductsCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_ProductsCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
- protected $productType = 'Google_Service_Content_Product';
- protected $productDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProduct(Google_Service_Content_Product $product)
- {
- $this->product = $product;
- }
-
- public function getProduct()
- {
- return $this->product;
- }
-}
-
-class Google_Service_Content_ProductsListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_Product';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchRequest extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchRequestEntry';
- protected $entriesDataType = 'array';
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $merchantId;
- public $method;
- public $productId;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMerchantId($merchantId)
- {
- $this->merchantId = $merchantId;
- }
-
- public function getMerchantId()
- {
- return $this->merchantId;
- }
-
- public function setMethod($method)
- {
- $this->method = $method;
- }
-
- public function getMethod()
- {
- return $this->method;
- }
-
- public function setProductId($productId)
- {
- $this->productId = $productId;
- }
-
- public function getProductId()
- {
- return $this->productId;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchResponse extends Google_Collection
-{
- protected $entriesType = 'Google_Service_Content_ProductstatusesCustomBatchResponseEntry';
- protected $entriesDataType = 'array';
- public $kind;
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
-
- public function getEntries()
- {
- return $this->entries;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Content_ProductstatusesCustomBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $errorsType = 'Google_Service_Content_Errors';
- protected $errorsDataType = '';
- public $kind;
- protected $productStatusType = 'Google_Service_Content_ProductStatus';
- protected $productStatusDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setErrors(Google_Service_Content_Errors $errors)
- {
- $this->errors = $errors;
- }
-
- public function getErrors()
- {
- return $this->errors;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setProductStatus(Google_Service_Content_ProductStatus $productStatus)
- {
- $this->productStatus = $productStatus;
- }
-
- public function getProductStatus()
- {
- return $this->productStatus;
- }
-}
-
-class Google_Service_Content_ProductstatusesListResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- protected $resourcesType = 'Google_Service_Content_ProductStatus';
- protected $resourcesDataType = 'array';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setResources($resources)
- {
- $this->resources = $resources;
- }
-
- public function getResources()
- {
- return $this->resources;
- }
-}
From d1e939968b9b1ac983eeb3c8c4f1c51edb3ee38a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:04 -0700
Subject: [PATCH 0164/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index e8eb4a781..dbd0c809f 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -2919,6 +2919,11 @@ public function getCoordinates()
}
}
+class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
+{
+
+}
+
class Google_Service_MapsEngine_IconStyle extends Google_Model
{
public $id;
From a6df8bec8ef2d51d867cf42902be1e99e747276d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:05 -0700
Subject: [PATCH 0165/1371] Updated Storage.php
---
src/Google/Service/Storage.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/Storage.php b/src/Google/Service/Storage.php
index b005dd795..ff432b493 100644
--- a/src/Google/Service/Storage.php
+++ b/src/Google/Service/Storage.php
@@ -2626,6 +2626,11 @@ public function getType()
}
}
+class Google_Service_Storage_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Storage_ComposeRequest extends Google_Collection
{
protected $destinationType = 'Google_Service_Storage_StorageObject';
@@ -3237,6 +3242,11 @@ public function getUpdated()
}
}
+class Google_Service_Storage_StorageObjectMetadata extends Google_Model
+{
+
+}
+
class Google_Service_Storage_StorageObjectOwner extends Google_Model
{
public $entity;
From b6872248d06d1e4002c67246af91cdd7facf37a9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:05 -0700
Subject: [PATCH 0166/1371] Updated Compute.php
---
src/Google/Service/Compute.php | 45 ++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index a087c0ada..0d21c71b4 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -5737,6 +5737,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_AddressAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_AddressList extends Google_Collection
{
public $id;
@@ -6656,6 +6661,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_DiskAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_DiskList extends Google_Collection
{
public $id;
@@ -6880,6 +6890,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_DiskTypeAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_DiskTypeList extends Google_Collection
{
public $id;
@@ -7521,6 +7536,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_ForwardingRuleAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_ForwardingRuleList extends Google_Collection
{
public $id;
@@ -8494,6 +8514,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_InstanceAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_InstanceList extends Google_Collection
{
public $id;
@@ -8918,6 +8943,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_MachineTypeAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_MachineTypeList extends Google_Collection
{
public $id;
@@ -9658,6 +9688,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_OperationAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_OperationError extends Google_Collection
{
protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
@@ -11256,6 +11291,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_TargetInstanceAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_TargetInstanceList extends Google_Collection
{
public $id;
@@ -11604,6 +11644,11 @@ public function getSelfLink()
}
}
+class Google_Service_Compute_TargetPoolAggregatedListItems extends Google_Model
+{
+
+}
+
class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
{
protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
From 00a4e1b846713d2ebf1c254153f8f408ea961331 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:06 -0700
Subject: [PATCH 0167/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 583d8220e..7198d7ee5 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -1111,6 +1111,11 @@ public function getPhaseset()
}
}
+class Google_Service_Genomics_CallInfo extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_Callset extends Google_Model
{
public $created;
@@ -1170,6 +1175,11 @@ public function getName()
}
}
+class Google_Service_Genomics_CallsetInfo extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_ContigBound extends Google_Model
{
public $contig;
@@ -1876,6 +1886,11 @@ public function getValue()
}
}
+class Google_Service_Genomics_MetadataInfo extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_Program extends Google_Model
{
public $commandLine;
@@ -2240,6 +2255,11 @@ public function getSequencingTechnology()
}
}
+class Google_Service_Genomics_ReadTags extends Google_Model
+{
+
+}
+
class Google_Service_Genomics_Readset extends Google_Collection
{
public $created;
@@ -2969,3 +2989,8 @@ public function getReferenceBases()
return $this->referenceBases;
}
}
+
+class Google_Service_Genomics_VariantInfo extends Google_Model
+{
+
+}
From 8885729078ad2f8e0f93d280795146b8f5926dbf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:06 -0700
Subject: [PATCH 0168/1371] Updated Calendar.php
---
src/Google/Service/Calendar.php | 40 +++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/src/Google/Service/Calendar.php b/src/Google/Service/Calendar.php
index 1557e7745..adb10426e 100644
--- a/src/Google/Service/Calendar.php
+++ b/src/Google/Service/Calendar.php
@@ -2545,6 +2545,11 @@ public function getType()
}
}
+class Google_Service_Calendar_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_ColorDefinition extends Google_Model
{
public $background;
@@ -2621,6 +2626,16 @@ public function getUpdated()
}
}
+class Google_Service_Calendar_ColorsCalendar extends Google_Model
+{
+
+}
+
+class Google_Service_Calendar_ColorsEvent extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_Error extends Google_Model
{
public $domain;
@@ -3282,6 +3297,16 @@ public function getShared()
}
}
+class Google_Service_Calendar_EventExtendedPropertiesPrivate extends Google_Model
+{
+
+}
+
+class Google_Service_Calendar_EventExtendedPropertiesShared extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_EventGadget extends Google_Model
{
public $display;
@@ -3374,6 +3399,11 @@ public function getWidth()
}
}
+class Google_Service_Calendar_EventGadgetPreferences extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_EventOrganizer extends Google_Model
{
public $displayName;
@@ -3830,6 +3860,16 @@ public function getTimeMin()
}
}
+class Google_Service_Calendar_FreeBusyResponseCalendars extends Google_Model
+{
+
+}
+
+class Google_Service_Calendar_FreeBusyResponseGroups extends Google_Model
+{
+
+}
+
class Google_Service_Calendar_Setting extends Google_Model
{
public $etag;
From cd4d36ff949d489ba6393c1b5c69824762fa14da Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:06 -0700
Subject: [PATCH 0169/1371] Updated Doubleclicksearch.php
---
src/Google/Service/Doubleclicksearch.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Doubleclicksearch.php b/src/Google/Service/Doubleclicksearch.php
index d32a01771..766deadeb 100644
--- a/src/Google/Service/Doubleclicksearch.php
+++ b/src/Google/Service/Doubleclicksearch.php
@@ -1448,6 +1448,11 @@ public function getStartDate()
}
}
+class Google_Service_Doubleclicksearch_ReportRow extends Google_Model
+{
+
+}
+
class Google_Service_Doubleclicksearch_SavedColumn extends Google_Model
{
public $kind;
From 096b6d0974d36f1668a6cfe8456bfc6384530d0b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:07 -0700
Subject: [PATCH 0170/1371] Updated Webfonts.php
---
src/Google/Service/Webfonts.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Webfonts.php b/src/Google/Service/Webfonts.php
index cdab4aece..3083266ef 100644
--- a/src/Google/Service/Webfonts.php
+++ b/src/Google/Service/Webfonts.php
@@ -195,6 +195,11 @@ public function getVersion()
}
}
+class Google_Service_Webfonts_WebfontFiles extends Google_Model
+{
+
+}
+
class Google_Service_Webfonts_WebfontList extends Google_Collection
{
protected $itemsType = 'Google_Service_Webfonts_Webfont';
From 51a11dda9081055dee5775287c61fdffcf815421 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:07 -0700
Subject: [PATCH 0171/1371] Updated CivicInfo.php
---
src/Google/Service/CivicInfo.php | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/Google/Service/CivicInfo.php b/src/Google/Service/CivicInfo.php
index a33b900e6..daa65862b 100644
--- a/src/Google/Service/CivicInfo.php
+++ b/src/Google/Service/CivicInfo.php
@@ -1392,6 +1392,21 @@ public function getStatus()
}
}
+class Google_Service_CivicInfo_RepresentativeInfoResponseDivisions extends Google_Model
+{
+
+}
+
+class Google_Service_CivicInfo_RepresentativeInfoResponseOffices extends Google_Model
+{
+
+}
+
+class Google_Service_CivicInfo_RepresentativeInfoResponseOfficials extends Google_Model
+{
+
+}
+
class Google_Service_CivicInfo_SimpleAddressType extends Google_Model
{
public $city;
From ac39de5e6e40837829cb0b694595e24ebbccfaab Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:07 -0700
Subject: [PATCH 0172/1371] Updated Bigquery.php
---
src/Google/Service/Bigquery.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Bigquery.php b/src/Google/Service/Bigquery.php
index 4041b904c..a5fd7cfb3 100644
--- a/src/Google/Service/Bigquery.php
+++ b/src/Google/Service/Bigquery.php
@@ -2452,6 +2452,11 @@ public function getState()
}
}
+class Google_Service_Bigquery_JsonObject extends Google_Model
+{
+
+}
+
class Google_Service_Bigquery_ProjectList extends Google_Collection
{
public $etag;
From 59b2624b1fd8d9fdb22087bd7c7a69fdea24135a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:08 -0700
Subject: [PATCH 0173/1371] Updated Manager.php
---
src/Google/Service/Manager.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Manager.php b/src/Google/Service/Manager.php
index ef9c7ee62..e99718862 100644
--- a/src/Google/Service/Manager.php
+++ b/src/Google/Service/Manager.php
@@ -686,6 +686,11 @@ public function getTemplateName()
}
}
+class Google_Service_Manager_DeploymentModules extends Google_Model
+{
+
+}
+
class Google_Service_Manager_DeploymentsListResponse extends Google_Collection
{
public $nextPageToken;
@@ -1584,6 +1589,11 @@ public function getResourceView()
}
}
+class Google_Service_Manager_ReplicaPoolModuleEnvVariables extends Google_Model
+{
+
+}
+
class Google_Service_Manager_ReplicaPoolModuleStatus extends Google_Model
{
public $replicaPoolUrl;
@@ -1892,6 +1902,16 @@ public function getName()
}
}
+class Google_Service_Manager_TemplateActions extends Google_Model
+{
+
+}
+
+class Google_Service_Manager_TemplateModules extends Google_Model
+{
+
+}
+
class Google_Service_Manager_TemplatesListResponse extends Google_Collection
{
public $nextPageToken;
From 238a6289da20a72b83ef4b0b1cf57aa6ccc4326d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:08 -0700
Subject: [PATCH 0174/1371] Updated Reports.php
---
src/Google/Service/Reports.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/Reports.php b/src/Google/Service/Reports.php
index f1ab72044..bf6cdd1f3 100644
--- a/src/Google/Service/Reports.php
+++ b/src/Google/Service/Reports.php
@@ -873,6 +873,11 @@ public function getType()
}
}
+class Google_Service_Reports_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Reports_UsageReport extends Google_Collection
{
public $date;
@@ -1052,6 +1057,11 @@ public function getStringValue()
}
}
+class Google_Service_Reports_UsageReportParametersMsgValue extends Google_Model
+{
+
+}
+
class Google_Service_Reports_UsageReports extends Google_Collection
{
public $etag;
From 075031356026aa727a2052b46eeb48afc980294b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0175/1371] Updated Analytics.php
---
src/Google/Service/Analytics.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Analytics.php b/src/Google/Service/Analytics.php
index fc23db2fa..45c3380a7 100644
--- a/src/Google/Service/Analytics.php
+++ b/src/Google/Service/Analytics.php
@@ -4231,6 +4231,11 @@ public function getKind()
}
}
+class Google_Service_Analytics_ColumnAttributes extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Columns extends Google_Collection
{
public $attributeNames;
@@ -6971,6 +6976,11 @@ public function getStartIndex()
}
}
+class Google_Service_Analytics_GaDataTotalsForAllResults extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Goal extends Google_Model
{
public $accountId;
@@ -7990,6 +8000,11 @@ public function getNodeValue()
}
}
+class Google_Service_Analytics_McfDataTotalsForAllResults extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Profile extends Google_Model
{
public $accountId;
@@ -8987,6 +9002,11 @@ public function getSort()
}
}
+class Google_Service_Analytics_RealtimeDataTotalsForAllResults extends Google_Model
+{
+
+}
+
class Google_Service_Analytics_Segment extends Google_Model
{
public $created;
From 0ea278f39c19c021d0063d853614677c6eca497a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0176/1371] Updated Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
index 850e6b5b1..6fba8da35 100644
--- a/src/Google/Service/Cloudmonitoring.php
+++ b/src/Google/Service/Cloudmonitoring.php
@@ -969,3 +969,8 @@ public function getProject()
return $this->project;
}
}
+
+class Google_Service_Cloudmonitoring_TimeseriesDescriptorLabels extends Google_Model
+{
+
+}
From d76205eb43fd30ab4b71bf72f6ad0d9fd810f364 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0177/1371] Updated Prediction.php
---
src/Google/Service/Prediction.php | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/src/Google/Service/Prediction.php b/src/Google/Service/Prediction.php
index 400bb3777..33286ba24 100644
--- a/src/Google/Service/Prediction.php
+++ b/src/Google/Service/Prediction.php
@@ -708,6 +708,11 @@ public function getValue()
}
}
+class Google_Service_Prediction_AnalyzeErrors extends Google_Model
+{
+
+}
+
class Google_Service_Prediction_AnalyzeModelDescription extends Google_Model
{
public $confusionMatrix;
@@ -746,6 +751,21 @@ public function getModelinfo()
}
}
+class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrix extends Google_Model
+{
+
+}
+
+class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixElement extends Google_Model
+{
+
+}
+
+class Google_Service_Prediction_AnalyzeModelDescriptionConfusionMatrixRowTotals extends Google_Model
+{
+
+}
+
class Google_Service_Prediction_Input extends Google_Model
{
protected $inputType = 'Google_Service_Prediction_InputInput';
@@ -1092,6 +1112,11 @@ public function getOutput()
}
}
+class Google_Service_Prediction_InsertUtility extends Google_Model
+{
+
+}
+
class Google_Service_Prediction_Output extends Google_Collection
{
public $id;
From bade60515a1bbcc736593fc862b7de26dc5722d9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:09 -0700
Subject: [PATCH 0178/1371] Updated IdentityToolkit.php
---
src/Google/Service/IdentityToolkit.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/IdentityToolkit.php b/src/Google/Service/IdentityToolkit.php
index f248f9c3f..03b2c5930 100644
--- a/src/Google/Service/IdentityToolkit.php
+++ b/src/Google/Service/IdentityToolkit.php
@@ -601,6 +601,11 @@ public function getLocalId()
}
}
+class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse extends Google_Model
+{
+
+}
+
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Google_Model
{
public $email;
From edb90204d6b0693cdf5ee7bb68a8a71558a14930 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:10 -0700
Subject: [PATCH 0179/1371] Updated Drive.php
---
src/Google/Service/Drive.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Drive.php b/src/Google/Service/Drive.php
index aaa94c035..1ed485817 100644
--- a/src/Google/Service/Drive.php
+++ b/src/Google/Service/Drive.php
@@ -3624,6 +3624,11 @@ public function getType()
}
}
+class Google_Service_Drive_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Drive_ChildList extends Google_Collection
{
public $etag;
@@ -4719,6 +4724,11 @@ public function getWritersCanShare()
}
}
+class Google_Service_Drive_DriveFileExportLinks extends Google_Model
+{
+
+}
+
class Google_Service_Drive_DriveFileImageMediaMetadata extends Google_Model
{
public $aperture;
@@ -5066,6 +5076,11 @@ public function getViewed()
}
}
+class Google_Service_Drive_DriveFileOpenWithLinks extends Google_Model
+{
+
+}
+
class Google_Service_Drive_DriveFileThumbnail extends Google_Model
{
public $image;
@@ -5826,6 +5841,11 @@ public function getSelfLink()
}
}
+class Google_Service_Drive_RevisionExportLinks extends Google_Model
+{
+
+}
+
class Google_Service_Drive_RevisionList extends Google_Collection
{
public $etag;
From fbda7f4163a242eae2f7bdc6bd995fd5f9fd4893 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:10 -0700
Subject: [PATCH 0180/1371] Updated Directory.php
---
src/Google/Service/Directory.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Directory.php b/src/Google/Service/Directory.php
index 7c50ce451..53a739305 100644
--- a/src/Google/Service/Directory.php
+++ b/src/Google/Service/Directory.php
@@ -2696,6 +2696,11 @@ public function getType()
}
}
+class Google_Service_Directory_ChannelParams extends Google_Model
+{
+
+}
+
class Google_Service_Directory_ChromeOsDevice extends Google_Collection
{
public $annotatedLocation;
From 7eb6b093432c61af9a1d925e72015ff11cfb2591 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:11 -0700
Subject: [PATCH 0181/1371] Updated Customsearch.php
---
src/Google/Service/Customsearch.php | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/Google/Service/Customsearch.php b/src/Google/Service/Customsearch.php
index cda6256c5..b45c9466d 100644
--- a/src/Google/Service/Customsearch.php
+++ b/src/Google/Service/Customsearch.php
@@ -1217,6 +1217,16 @@ public function getName()
}
}
+class Google_Service_Customsearch_ResultPagemap extends Google_Model
+{
+
+}
+
+class Google_Service_Customsearch_ResultPagemapItemElement extends Google_Model
+{
+
+}
+
class Google_Service_Customsearch_Search extends Google_Collection
{
protected $contextType = 'Google_Service_Customsearch_Context';
@@ -1316,6 +1326,11 @@ public function getUrl()
}
}
+class Google_Service_Customsearch_SearchQueries extends Google_Model
+{
+
+}
+
class Google_Service_Customsearch_SearchSearchInformation extends Google_Model
{
public $formattedSearchTime;
From b50cca43402bf87980aabb58df25039922eda2c9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:11 -0700
Subject: [PATCH 0182/1371] Updated Datastore.php
---
src/Google/Service/Datastore.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Datastore.php b/src/Google/Service/Datastore.php
index 1f7bdf2ca..8ec92e253 100644
--- a/src/Google/Service/Datastore.php
+++ b/src/Google/Service/Datastore.php
@@ -451,6 +451,11 @@ public function getProperties()
}
}
+class Google_Service_Datastore_EntityProperties extends Google_Model
+{
+
+}
+
class Google_Service_Datastore_EntityResult extends Google_Model
{
protected $entityType = 'Google_Service_Datastore_Entity';
From fa3a2dcbef5a2233cfaa9c6fe28bae57c03b6465 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 25 Jul 2014 00:55:11 -0700
Subject: [PATCH 0183/1371] Updated Pagespeedonline.php
---
src/Google/Service/Pagespeedonline.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Pagespeedonline.php b/src/Google/Service/Pagespeedonline.php
index 50437ea99..e1632d75f 100644
--- a/src/Google/Service/Pagespeedonline.php
+++ b/src/Google/Service/Pagespeedonline.php
@@ -281,6 +281,11 @@ public function getRuleResults()
}
}
+class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults extends Google_Model
+{
+
+}
+
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Google_Collection
{
public $localizedRuleName;
From d7252c325421d003079888782acc060317787645 Mon Sep 17 00:00:00 2001
From: Daniel Zhang
Date: Sat, 26 Jul 2014 20:03:23 +0800
Subject: [PATCH 0184/1371] Remove HTTP/1.1 proxy header
---
src/Google/IO/Abstract.php | 25 ++++++++++++++++---------
tests/general/IoTest.php | 31 ++++++++++++++++++-------------
2 files changed, 34 insertions(+), 22 deletions(-)
diff --git a/src/Google/IO/Abstract.php b/src/Google/IO/Abstract.php
index ba9fe8d87..2d80afdd8 100644
--- a/src/Google/IO/Abstract.php
+++ b/src/Google/IO/Abstract.php
@@ -28,7 +28,10 @@ abstract class Google_IO_Abstract
{
const UNKNOWN_CODE = 0;
const FORM_URLENCODED = 'application/x-www-form-urlencoded';
- const CONNECTION_ESTABLISHED = "HTTP/1.0 200 Connection established\r\n\r\n";
+ private static $CONNECTION_ESTABLISHED_HEADERS = array(
+ "HTTP/1.0 200 Connection established\r\n\r\n",
+ "HTTP/1.1 200 Connection established\r\n\r\n",
+ );
private static $ENTITY_HTTP_METHODS = array("POST" => null, "PUT" => null);
/** @var Google_Client */
@@ -249,14 +252,18 @@ protected function updateCachedRequest($cached, $responseHeaders)
*/
public function parseHttpResponse($respData, $headerSize)
{
- if (stripos($respData, self::CONNECTION_ESTABLISHED) !== false) {
- $respData = str_ireplace(self::CONNECTION_ESTABLISHED, '', $respData);
-
- // Subtract the proxy header size unless the cURL bug prior to 7.30.0
- // is present which prevented the proxy header size from being taken into
- // account.
- if (!$this->needsQuirk()) {
- $headerSize -= strlen(self::CONNECTION_ESTABLISHED);
+ // check proxy header
+ foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) {
+ if (stripos($respData, $established_header) !== false) {
+ // existed, remove it
+ $respData = str_ireplace($established_header, '', $respData);
+ // Subtract the proxy header size unless the cURL bug prior to 7.30.0
+ // is present which prevented the proxy header size from being taken into
+ // account.
+ if (!$this->needsQuirk()) {
+ $headerSize -= strlen($established_header);
+ }
+ break;
}
}
diff --git a/tests/general/IoTest.php b/tests/general/IoTest.php
index f4dfa14f1..8710f42fc 100644
--- a/tests/general/IoTest.php
+++ b/tests/general/IoTest.php
@@ -237,20 +237,25 @@ public function responseChecker($io)
$this->assertEquals(null, json_decode($body, true));
// Test transforms from proxies.
- $rawHeaders = Google_IO_Abstract::CONNECTION_ESTABLISHED
- . "HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n";
- $headersSize = strlen($rawHeaders);
- // If we have a broken cURL version we have to simulate it to get the
- // correct test result.
- if ($hasQuirk && get_class($io) === 'Google_IO_Curl') {
- $headersSize -= strlen(Google_IO_Abstract::CONNECTION_ESTABLISHED);
+ $connection_established_headers = array(
+ "HTTP/1.0 200 Connection established\r\n\r\n",
+ "HTTP/1.1 200 Connection established\r\n\r\n",
+ );
+ foreach ($connection_established_headers as $established_header) {
+ $rawHeaders = "{$established_header}HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n";
+ $headersSize = strlen($rawHeaders);
+ // If we have a broken cURL version we have to simulate it to get the
+ // correct test result.
+ if ($hasQuirk && get_class($io) === 'Google_IO_Curl') {
+ $headersSize -= strlen($established_header);
+ }
+ $rawBody = "{}";
+
+ $rawResponse = "$rawHeaders\r\n$rawBody";
+ list($headers, $body) = $io->parseHttpResponse($rawResponse, $headersSize);
+ $this->assertEquals(1, sizeof($headers));
+ $this->assertEquals(array(), json_decode($body, true));
}
- $rawBody = "{}";
-
- $rawResponse = "$rawHeaders\r\n$rawBody";
- list($headers, $body) = $io->parseHttpResponse($rawResponse, $headersSize);
- $this->assertEquals(1, sizeof($headers));
- $this->assertEquals(array(), json_decode($body, true));
}
public function processEntityRequest($io, $client)
From 697a0fe34fdd9a1e9f5d8fd0a21d9533318f6663 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sun, 27 Jul 2014 00:56:48 -0700
Subject: [PATCH 0185/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 76 ++++++++++++++++++++++-----------
1 file changed, 52 insertions(+), 24 deletions(-)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 7198d7ee5..1826ae6c1 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -209,6 +209,16 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
+ ),'undelete' => array(
+ 'path' => 'datasets/{datasetId}/undelete',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'datasetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),'update' => array(
'path' => 'datasets/{datasetId}',
'httpMethod' => 'PUT',
@@ -243,7 +253,17 @@ public function __construct(Google_Client $client)
'jobs',
array(
'methods' => array(
- 'get' => array(
+ 'cancel' => array(
+ 'path' => 'jobs/{jobId}/cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'jobId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
'path' => 'jobs/{jobId}',
'httpMethod' => 'GET',
'parameters' => array(
@@ -635,6 +655,22 @@ public function patch($datasetId, Google_Service_Genomics_Dataset $postBody, $op
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Genomics_Dataset");
}
+ /**
+ * Undeletes a dataset by restoring a dataset which was deleted via this API.
+ * This operation is only possible for a week after the deletion occurred.
+ * (datasets.undelete)
+ *
+ * @param string $datasetId
+ * The ID of the dataset to be undeleted.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Dataset
+ */
+ public function undelete($datasetId, $optParams = array())
+ {
+ $params = array('datasetId' => $datasetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Google_Service_Genomics_Dataset");
+ }
/**
* Updates a dataset. (datasets.update)
*
@@ -703,11 +739,25 @@ public function create(Google_Service_Genomics_ExperimentalCreateJobRequest $pos
class Google_Service_Genomics_Jobs_Resource extends Google_Service_Resource
{
+ /**
+ * Cancels a job by ID. Note that it is possible for partial results to be
+ * generated and stored for cancelled jobs. (jobs.cancel)
+ *
+ * @param string $jobId
+ * Required. The ID of the job.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($jobId, $optParams = array())
+ {
+ $params = array('jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
/**
* Gets a job by ID. (jobs.get)
*
* @param string $jobId
- * The ID of the job.
+ * Required. The ID of the job.
* @param array $optParams Optional parameters.
* @return Google_Service_Genomics_Job
*/
@@ -2262,23 +2312,11 @@ class Google_Service_Genomics_ReadTags extends Google_Model
class Google_Service_Genomics_Readset extends Google_Collection
{
- public $created;
public $datasetId;
protected $fileDataType = 'Google_Service_Genomics_HeaderSection';
protected $fileDataDataType = 'array';
public $id;
public $name;
- public $readCount;
-
- public function setCreated($created)
- {
- $this->created = $created;
- }
-
- public function getCreated()
- {
- return $this->created;
- }
public function setDatasetId($datasetId)
{
@@ -2319,16 +2357,6 @@ public function getName()
{
return $this->name;
}
-
- public function setReadCount($readCount)
- {
- $this->readCount = $readCount;
- }
-
- public function getReadCount()
- {
- return $this->readCount;
- }
}
class Google_Service_Genomics_ReferenceSequence extends Google_Model
From 6cfbed015679afaf3c197497bd1d44c0927a860f Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:55 -0700
Subject: [PATCH 0186/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index dbd0c809f..d898b708e 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -2156,7 +2156,8 @@ public function get($tableId, $id, $optParams = array())
* @opt_param string intersects
* A geometry literal that specifies the spatial restriction of the query.
* @opt_param string maxResults
- * The maximum number of items to include in the response, used for paging.
+ * The maximum number of items to include in the response, used for paging. The maximum supported
+ * value is 1000.
* @opt_param string pageToken
* The continuation token, used to page through large result sets. To get the next page of results,
* set this parameter to the value of nextPageToken from the previous response.
@@ -3082,7 +3083,7 @@ public function getDatasourceType()
return $this->datasourceType;
}
- public function setDatasources($datasources)
+ public function setDatasources(Google_Service_MapsEngine_Datasource $datasources)
{
$this->datasources = $datasources;
}
@@ -3322,7 +3323,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
{
public $bbox;
protected $contentsType = 'Google_Service_MapsEngine_MapItem';
- protected $contentsDataType = 'array';
+ protected $contentsDataType = '';
public $creationTime;
public $defaultViewport;
public $description;
@@ -3347,7 +3348,7 @@ public function getBbox()
return $this->bbox;
}
- public function setContents($contents)
+ public function setContents(Google_Service_MapsEngine_MapItem $contents)
{
$this->contents = $contents;
}
From 5051b676efa0457f5aa919b3cf2d4ddd5d40d03d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:55 -0700
Subject: [PATCH 0187/1371] Updated Blogger.php
---
src/Google/Service/Blogger.php | 84 ++++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
index 3842bec19..2438429b5 100644
--- a/src/Google/Service/Blogger.php
+++ b/src/Google/Service/Blogger.php
@@ -470,6 +470,36 @@ public function __construct(Google_Client $client)
'type' => 'boolean',
),
),
+ ),'publish' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}/publish',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'revert' => array(
+ 'path' => 'blogs/{blogId}/pages/{pageId}/revert',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'blogId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),'update' => array(
'path' => 'blogs/{blogId}/pages/{pageId}',
'httpMethod' => 'PUT',
@@ -1297,6 +1327,38 @@ public function patch($blogId, $pageId, Google_Service_Blogger_Page $postBody, $
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_Blogger_Page");
}
+ /**
+ * Publishes a draft page. (pages.publish)
+ *
+ * @param string $blogId
+ * The ID of the blog.
+ * @param string $pageId
+ * The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Page
+ */
+ public function publish($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_Blogger_Page");
+ }
+ /**
+ * Revert a published or scheduled page to draft state. (pages.revert)
+ *
+ * @param string $blogId
+ * The ID of the blog.
+ * @param string $pageId
+ * The ID of the page.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Blogger_Page
+ */
+ public function revert($blogId, $pageId, $optParams = array())
+ {
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revert', array($params), "Google_Service_Blogger_Page");
+ }
/**
* Update a page. (pages.update)
*
@@ -2372,6 +2434,7 @@ class Google_Service_Blogger_Page extends Google_Model
protected $blogType = 'Google_Service_Blogger_PageBlog';
protected $blogDataType = '';
public $content;
+ public $etag;
public $id;
public $kind;
public $published;
@@ -2411,6 +2474,16 @@ public function getContent()
return $this->content;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
@@ -2670,6 +2743,7 @@ class Google_Service_Blogger_Post extends Google_Collection
protected $blogDataType = '';
public $content;
public $customMetaData;
+ public $etag;
public $id;
protected $imagesType = 'Google_Service_Blogger_PostImages';
protected $imagesDataType = 'array';
@@ -2728,6 +2802,16 @@ public function getCustomMetaData()
return $this->customMetaData;
}
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
public function setId($id)
{
$this->id = $id;
From 3784898e3e8ed1a6ebddebe80e9102d4d3de65de Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:56 -0700
Subject: [PATCH 0188/1371] Updated AndroidPublisher.php
---
src/Google/Service/AndroidPublisher.php | 3099 ++++++++++++++++++++++-
1 file changed, 2991 insertions(+), 108 deletions(-)
diff --git a/src/Google/Service/AndroidPublisher.php b/src/Google/Service/AndroidPublisher.php
index 957ccb8c8..41a94e097 100644
--- a/src/Google/Service/AndroidPublisher.php
+++ b/src/Google/Service/AndroidPublisher.php
@@ -16,7 +16,7 @@
*/
/**
- * Service definition for AndroidPublisher (v1.1).
+ * Service definition for AndroidPublisher (v2).
*
*
* Lets Android application developers access their Google Play accounts.
@@ -34,8 +34,18 @@ class Google_Service_AndroidPublisher extends Google_Service
/** View and manage your Google Play Android Developer account. */
const ANDROIDPUBLISHER = "https://www.googleapis.com/auth/androidpublisher";
- public $inapppurchases;
- public $purchases;
+ public $edits;
+ public $edits_apklistings;
+ public $edits_apks;
+ public $edits_details;
+ public $edits_expansionfiles;
+ public $edits_images;
+ public $edits_listings;
+ public $edits_testers;
+ public $edits_tracks;
+ public $inappproducts;
+ public $purchases_products;
+ public $purchases_subscriptions;
/**
@@ -46,18 +56,48 @@ class Google_Service_AndroidPublisher extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'androidpublisher/v1.1/applications/';
- $this->version = 'v1.1';
+ $this->servicePath = 'androidpublisher/v2/applications/';
+ $this->version = 'v2';
$this->serviceName = 'androidpublisher';
- $this->inapppurchases = new Google_Service_AndroidPublisher_Inapppurchases_Resource(
+ $this->edits = new Google_Service_AndroidPublisher_Edits_Resource(
$this,
$this->serviceName,
- 'inapppurchases',
+ 'edits',
array(
'methods' => array(
- 'get' => array(
- 'path' => '{packageName}/inapp/{productId}/purchases/{token}',
+ 'commit' => array(
+ 'path' => '{packageName}/edits/{editId}:commit',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'delete' => array(
+ 'path' => '{packageName}/edits/{editId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}',
'httpMethod' => 'GET',
'parameters' => array(
'packageName' => array(
@@ -65,12 +105,17 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'productId' => array(
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'token' => array(
+ ),
+ ),'insert' => array(
+ 'path' => '{packageName}/edits',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -80,34 +125,59 @@ public function __construct(Google_Client $client)
)
)
);
- $this->purchases = new Google_Service_AndroidPublisher_Purchases_Resource(
+ $this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource(
$this,
$this->serviceName,
- 'purchases',
+ 'apklistings',
array(
'methods' => array(
- 'cancel' => array(
- 'path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel',
- 'httpMethod' => 'POST',
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'DELETE',
'parameters' => array(
'packageName' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'subscriptionId' => array(
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'token' => array(
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
),
),'get' => array(
- 'path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}',
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
'httpMethod' => 'GET',
'parameters' => array(
'packageName' => array(
@@ -115,12 +185,182 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'subscriptionId' => array(
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'token' => array(
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource(
+ $this,
+ $this->serviceName,
+ 'apks',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{packageName}/edits/{editId}/apks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource(
+ $this,
+ $this->serviceName,
+ 'details',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/details',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
@@ -130,105 +370,2632 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'expansionfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'apkVersionCode' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ 'expansionFileType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource(
+ $this,
+ $this->serviceName,
+ 'images',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'upload' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'imageType' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource(
+ $this,
+ $this->serviceName,
+ 'listings',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'deleteall' => array(
+ 'path' => '{packageName}/edits/{editId}/listings',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/listings',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'language' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource(
+ $this,
+ $this->serviceName,
+ 'testers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource(
+ $this,
+ $this->serviceName,
+ 'tracks',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'editId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'track' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource(
+ $this,
+ $this->serviceName,
+ 'inappproducts',
+ array(
+ 'methods' => array(
+ 'batch' => array(
+ 'path' => 'inappproducts/batch',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(),
+ ),'delete' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => '{packageName}/inappproducts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => '{packageName}/inappproducts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => '{packageName}/inappproducts/{sku}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sku' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'autoConvertMissingPrices' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource(
+ $this,
+ $this->serviceName,
+ 'products',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'productId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
+ $this,
+ $this->serviceName,
+ 'subscriptions',
+ array(
+ 'methods' => array(
+ 'cancel' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'packageName' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'subscriptionId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'token' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "edits" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $edits = $androidpublisherService->edits;
+ *
+ */
+class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Commits/applies the changes made in this edit back to the app. (edits.commit)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function commit($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit");
+ }
+ /**
+ * Deletes an edit for an app. Creating a new edit will automatically delete any
+ * of your previous edits so this method need only be called if you want to
+ * preemptively abandon an edit. (edits.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns information about the edit specified. Calls will fail if the edit is
+ * no long active (e.g. has been deleted, superseded or expired). (edits.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function get($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit");
+ }
+ /**
+ * Creates a new edit for an app, populated with the app's current state.
+ * (edits.insert)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param Google_AppEdit $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppEdit
+ */
+ public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit");
+ }
+}
+
+/**
+ * The "apklistings" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $apklistings = $androidpublisherService->apklistings;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the APK-specific localized listing for a specified APK and language
+ * code. (apklistings.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Deletes all the APK-specific localized listings for a specified APK.
+ * (apklistings.deleteall)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params));
+ }
+ /**
+ * Fetches the APK-specific localized listing for a specified APK and language
+ * code. (apklistings.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing");
+ }
+ /**
+ * Lists all the APK-specific localized listings for a specified APK.
+ * (apklistings.listEditsApklistings)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListingsListResponse
+ */
+ public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse");
+ }
+ /**
+ * Updates or creates the APK-specific localized listing for a specified APK and
+ * language code. This method supports patch semantics. (apklistings.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param Google_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing");
+ }
+ /**
+ * Updates or creates the APK-specific localized listing for a specified APK and
+ * language code. (apklistings.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The APK version code whose APK-specific listings should be read or modified.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
+ * modify. For example, to select Austrian German, pass "de-AT".
+ * @param Google_ApkListing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApkListing
+ */
+ public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing");
+ }
+}
+/**
+ * The "apks" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $apks = $androidpublisherService->apks;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (apks.listEditsApks)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ApksListResponse
+ */
+ public function listEditsApks($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse");
+ }
+ /**
+ * (apks.upload)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Apk
+ */
+ public function upload($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk");
+ }
+}
+/**
+ * The "details" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $details = $androidpublisherService->details;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetches app details for this edit. This includes the default language and
+ * developer support contact information. (details.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function get($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails");
+ }
+ /**
+ * Updates app details for this edit. This method supports patch semantics.
+ * (details.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param Google_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails");
+ }
+ /**
+ * Updates app details for this edit. (details.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param Google_AppDetails $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_AppDetails
+ */
+ public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails");
+ }
+}
+/**
+ * The "expansionfiles" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $expansionfiles = $androidpublisherService->expansionfiles;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetches the Expansion File configuration for the APK specified.
+ * (expansionfiles.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
+ }
+ /**
+ * Updates the APK's Expansion File configuration to reference another APK's
+ * Expansion Files. To add a new Expansion File use the Upload method. This
+ * method supports patch semantics. (expansionfiles.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param Google_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
+ }
+ /**
+ * Updates the APK's Expansion File configuration to reference another APK's
+ * Expansion Files. To add a new Expansion File use the Upload method.
+ * (expansionfiles.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param Google_ExpansionFile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFile
+ */
+ public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
+ }
+ /**
+ * Uploads and attaches a new Expansion File to the APK specified.
+ * (expansionfiles.upload)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param int $apkVersionCode
+ * The version code of the APK whose Expansion File configuration is being read or modified.
+ * @param string $expansionFileType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
+ */
+ public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
+ }
+}
+/**
+ * The "images" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $images = $androidpublisherService->images;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the image (specified by id) from the edit. (images.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param string $imageId
+ * Unique identifier an image within the set of images attached to this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Deletes all images for the specified language and image type.
+ * (images.deleteall)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse
+ */
+ public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
+ }
+ /**
+ * Lists all images for the specified language and image type.
+ * (images.listEditsImages)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ImagesListResponse
+ */
+ public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse");
+ }
+ /**
+ * Uploads a new image and adds it to the list of images for the specified
+ * language and image type. (images.upload)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
+ * modified. For example, to select Austrian German, pass "de-AT".
+ * @param string $imageType
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ImagesUploadResponse
+ */
+ public function upload($packageName, $editId, $language, $imageType, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse");
+ }
+}
+/**
+ * The "listings" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $listings = $androidpublisherService->listings;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified localized store listing from an edit. (listings.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $editId, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Deletes all localized listings from an edit. (listings.deleteall)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ */
+ public function deleteall($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('deleteall', array($params));
+ }
+ /**
+ * Fetches information about a localized store listing. (listings.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function get($packageName, $editId, $language, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing");
+ }
+ /**
+ * Returns all of the localized store listings attached to this edit.
+ * (listings.listEditsListings)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ListingsListResponse
+ */
+ public function listEditsListings($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse");
+ }
+ /**
+ * Creates or updates a localized store listing. This method supports patch
+ * semantics. (listings.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param Google_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing");
+ }
+ /**
+ * Creates or updates a localized store listing. (listings.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $language
+ * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
+ * example, to select Austrian German, pass "de-AT".
+ * @param Google_Listing $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Listing
+ */
+ public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing");
+ }
+}
+/**
+ * The "testers" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $testers = $androidpublisherService->testers;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (testers.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function get($packageName, $editId, $track, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers");
+ }
+ /**
+ * (testers.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ *
+ * @param Google_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers");
+ }
+ /**
+ * (testers.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ *
+ * @param Google_Testers $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Testers
+ */
+ public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers");
+ }
+}
+/**
+ * The "tracks" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $tracks = $androidpublisherService->tracks;
+ *
+ */
+class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Fetches the track configuration for the specified track type. Includes the
+ * APK version codes that are in this track. (tracks.get)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ * The track type to read or modify.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function get($packageName, $editId, $track, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track");
+ }
+ /**
+ * Lists all the track configurations for this edit. (tracks.listEditsTracks)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_TracksListResponse
+ */
+ public function listEditsTracks($packageName, $editId, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse");
+ }
+ /**
+ * Updates the track configuration for the specified track type. This method
+ * supports patch semantics. (tracks.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ * The track type to read or modify.
+ * @param Google_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track");
+ }
+ /**
+ * Updates the track configuration for the specified track type. (tracks.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
+ * @param string $editId
+ * Unique identifier for this edit.
+ * @param string $track
+ * The track type to read or modify.
+ * @param Google_Track $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_Track
+ */
+ public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track");
+ }
+}
+
+/**
+ * The "inappproducts" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $inappproducts = $androidpublisherService->inappproducts;
+ *
+ */
+class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (inappproducts.batch)
+ *
+ * @param Google_InappproductsBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_InappproductsBatchResponse
+ */
+ public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse");
+ }
+ /**
+ * Delete an in-app product for an app. (inappproducts.delete)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($packageName, $sku, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Returns information about the in-app product specified. (inappproducts.get)
+ *
+ * @param string $packageName
+ *
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function get($packageName, $sku, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+ /**
+ * Creates a new in-app product for an app. (inappproducts.insert)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app; for example, "com.spiffygame".
+ * @param Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices
+ * If true the prices for all regions targeted by the parent app that don't have a price specified
+ * for this in-app product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+ /**
+ * List all the in-app products for an Android app, both subscriptions and
+ * managed in-app products.. (inappproducts.listInappproducts)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with in-app products; for example, "com.spiffygame".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string token
+ *
+ * @opt_param string startIndex
+ *
+ * @opt_param string maxResults
+ *
+ * @return Google_Service_AndroidPublisher_InappproductsListResponse
+ */
+ public function listInappproducts($packageName, $optParams = array())
+ {
+ $params = array('packageName' => $packageName);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse");
+ }
+ /**
+ * Updates the details of an in-app product. This method supports patch
+ * semantics. (inappproducts.patch)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices
+ * If true the prices for all regions targeted by the parent app that don't have a price specified
+ * for this in-app product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+ /**
+ * Updates the details of an in-app product. (inappproducts.update)
+ *
+ * @param string $packageName
+ * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
+ * @param string $sku
+ * Unique identifier for the in-app product.
+ * @param Google_InAppProduct $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool autoConvertMissingPrices
+ * If true the prices for all regions targeted by the parent app that don't have a price specified
+ * for this in-app product will be auto converted to the target currency based on the default
+ * price. Defaults to false.
+ * @return Google_Service_AndroidPublisher_InAppProduct
+ */
+ public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct");
+ }
+}
+
+/**
+ * The "purchases" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $purchases = $androidpublisherService->purchases;
+ *
+ */
+class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
+{
+
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $products = $androidpublisherService->products;
+ *
+ */
+class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Checks the purchase and consumption status of an inapp item. (products.get)
+ *
+ * @param string $packageName
+ * The package name of the application the inapp product was sold in (for example,
+ * 'com.some.thing').
+ * @param string $productId
+ * The inapp product SKU (for example, 'com.some.thing.inapp1').
+ * @param string $token
+ * The token provided to the user's device when the inapp product was purchased.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_ProductPurchase
+ */
+ public function get($packageName, $productId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase");
+ }
+}
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ *
+ * $androidpublisherService = new Google_Service_AndroidPublisher(...);
+ * $subscriptions = $androidpublisherService->subscriptions;
+ *
+ */
+class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Cancels a user's subscription purchase. The subscription remains valid until
+ * its expiration time. (subscriptions.cancel)
+ *
+ * @param string $packageName
+ * The package name of the application for which this subscription was purchased (for example,
+ * 'com.some.thing').
+ * @param string $subscriptionId
+ * The purchased subscription ID (for example, 'monthly001').
+ * @param string $token
+ * The token provided to the user's device when the subscription was purchased.
+ * @param array $optParams Optional parameters.
+ */
+ public function cancel($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancel', array($params));
+ }
+ /**
+ * Checks whether a user's subscription purchase is valid and returns its expiry
+ * time. (subscriptions.get)
+ *
+ * @param string $packageName
+ * The package name of the application for which this subscription was purchased (for example,
+ * 'com.some.thing').
+ * @param string $subscriptionId
+ * The purchased subscription ID (for example, 'monthly001').
+ * @param string $token
+ * The token provided to the user's device when the subscription was purchased.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidPublisher_SubscriptionPurchase
+ */
+ public function get($packageName, $subscriptionId, $token, $optParams = array())
+ {
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
+ }
+}
+
+
+
+
+class Google_Service_AndroidPublisher_Apk extends Google_Model
+{
+ protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary';
+ protected $binaryDataType = '';
+ public $versionCode;
+
+ public function setBinary(Google_Service_AndroidPublisher_ApkBinary $binary)
+ {
+ $this->binary = $binary;
+ }
+
+ public function getBinary()
+ {
+ return $this->binary;
+ }
+
+ public function setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApkBinary extends Google_Model
+{
+ public $sha1;
+
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApkListing extends Google_Model
+{
+ public $language;
+ public $recentChanges;
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setRecentChanges($recentChanges)
+ {
+ $this->recentChanges = $recentChanges;
+ }
+
+ public function getRecentChanges()
+ {
+ return $this->recentChanges;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing';
+ protected $listingsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+
+ public function getListings()
+ {
+ return $this->listings;
+ }
+}
+
+class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
+{
+ protected $apksType = 'Google_Service_AndroidPublisher_Apk';
+ protected $apksDataType = 'array';
+ public $kind;
+
+ public function setApks($apks)
+ {
+ $this->apks = $apks;
+ }
+
+ public function getApks()
+ {
+ return $this->apks;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidPublisher_AppDetails extends Google_Model
+{
+ public $contactEmail;
+ public $contactPhone;
+ public $contactWebsite;
+ public $defaultLanguage;
+
+ public function setContactEmail($contactEmail)
+ {
+ $this->contactEmail = $contactEmail;
+ }
+
+ public function getContactEmail()
+ {
+ return $this->contactEmail;
+ }
+
+ public function setContactPhone($contactPhone)
+ {
+ $this->contactPhone = $contactPhone;
+ }
+
+ public function getContactPhone()
+ {
+ return $this->contactPhone;
+ }
+
+ public function setContactWebsite($contactWebsite)
+ {
+ $this->contactWebsite = $contactWebsite;
+ }
+
+ public function getContactWebsite()
+ {
+ return $this->contactWebsite;
+ }
+
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+}
+
+class Google_Service_AndroidPublisher_AppEdit extends Google_Model
+{
+ public $expiryTimeSeconds;
+ public $id;
+
+ public function setExpiryTimeSeconds($expiryTimeSeconds)
+ {
+ $this->expiryTimeSeconds = $expiryTimeSeconds;
+ }
+
+ public function getExpiryTimeSeconds()
+ {
+ return $this->expiryTimeSeconds;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
+{
+ public $fileSize;
+ public $referencesVersion;
+
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+
+ public function setReferencesVersion($referencesVersion)
+ {
+ $this->referencesVersion = $referencesVersion;
+ }
+
+ public function getReferencesVersion()
+ {
+ return $this->referencesVersion;
+ }
+}
+
+class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model
+{
+ protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile';
+ protected $expansionFileDataType = '';
+
+ public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
+ {
+ $this->expansionFile = $expansionFile;
+ }
+
+ public function getExpansionFile()
+ {
+ return $this->expansionFile;
+ }
+}
+
+class Google_Service_AndroidPublisher_Image extends Google_Model
+{
+ public $id;
+ public $sha1;
+ public $url;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setSha1($sha1)
+ {
+ $this->sha1 = $sha1;
+ }
+
+ public function getSha1()
+ {
+ return $this->sha1;
+ }
+
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
+{
+ protected $deletedType = 'Google_Service_AndroidPublisher_Image';
+ protected $deletedDataType = 'array';
+
+ public function setDeleted($deleted)
+ {
+ $this->deleted = $deleted;
+ }
+
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+}
+
+class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
+{
+ protected $imagesType = 'Google_Service_AndroidPublisher_Image';
+ protected $imagesDataType = 'array';
+
+ public function setImages($images)
+ {
+ $this->images = $images;
+ }
+
+ public function getImages()
+ {
+ return $this->images;
+ }
+}
+
+class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
+{
+ protected $imageType = 'Google_Service_AndroidPublisher_Image';
+ protected $imageDataType = '';
+
+ public function setImage(Google_Service_AndroidPublisher_Image $image)
+ {
+ $this->image = $image;
+ }
+
+ public function getImage()
+ {
+ return $this->image;
+ }
+}
+
+class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
+{
+ public $defaultLanguage;
+ protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
+ protected $defaultPriceDataType = '';
+ protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
+ protected $listingsDataType = 'map';
+ public $packageName;
+ protected $pricesType = 'Google_Service_AndroidPublisher_Price';
+ protected $pricesDataType = 'map';
+ public $purchaseType;
+ public $sku;
+ public $status;
+ public $subscriptionPeriod;
+ public $trialPeriod;
+
+ public function setDefaultLanguage($defaultLanguage)
+ {
+ $this->defaultLanguage = $defaultLanguage;
+ }
+
+ public function getDefaultLanguage()
+ {
+ return $this->defaultLanguage;
+ }
+
+ public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
+ {
+ $this->defaultPrice = $defaultPrice;
+ }
+
+ public function getDefaultPrice()
+ {
+ return $this->defaultPrice;
+ }
+
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+
+ public function getListings()
+ {
+ return $this->listings;
+ }
+
+ public function setPackageName($packageName)
+ {
+ $this->packageName = $packageName;
+ }
+
+ public function getPackageName()
+ {
+ return $this->packageName;
+ }
+
+ public function setPrices($prices)
+ {
+ $this->prices = $prices;
+ }
+
+ public function getPrices()
+ {
+ return $this->prices;
+ }
+
+ public function setPurchaseType($purchaseType)
+ {
+ $this->purchaseType = $purchaseType;
+ }
+
+ public function getPurchaseType()
+ {
+ return $this->purchaseType;
+ }
+
+ public function setSku($sku)
+ {
+ $this->sku = $sku;
+ }
+
+ public function getSku()
+ {
+ return $this->sku;
+ }
+
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ public function setSubscriptionPeriod($subscriptionPeriod)
+ {
+ $this->subscriptionPeriod = $subscriptionPeriod;
+ }
+
+ public function getSubscriptionPeriod()
+ {
+ return $this->subscriptionPeriod;
+ }
+
+ public function setTrialPeriod($trialPeriod)
+ {
+ $this->trialPeriod = $trialPeriod;
+ }
+
+ public function getTrialPeriod()
+ {
+ return $this->trialPeriod;
+ }
+}
+
+class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
+{
+ public $description;
+ public $title;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_AndroidPublisher_InAppProductListings extends Google_Model
+{
+
+}
+
+class Google_Service_AndroidPublisher_InAppProductPrices extends Google_Model
+{
+
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
+ protected $entrysDataType = 'array';
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model
+{
+ public $batchId;
+ protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest';
+ protected $inappproductsinsertrequestDataType = '';
+ protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest';
+ protected $inappproductsupdaterequestDataType = '';
+ public $methodName;
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
+ {
+ $this->inappproductsinsertrequest = $inappproductsinsertrequest;
+ }
+
+ public function getInappproductsinsertrequest()
+ {
+ return $this->inappproductsinsertrequest;
+ }
+
+ public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
+ {
+ $this->inappproductsupdaterequest = $inappproductsupdaterequest;
+ }
+
+ public function getInappproductsupdaterequest()
+ {
+ return $this->inappproductsupdaterequest;
+ }
+
+ public function setMethodName($methodName)
+ {
+ $this->methodName = $methodName;
+ }
+
+ public function getMethodName()
+ {
+ return $this->methodName;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
+{
+ protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
+ protected $entrysDataType = 'array';
+ public $kind;
+
+ public function setEntrys($entrys)
+ {
+ $this->entrys = $entrys;
+ }
+
+ public function getEntrys()
+ {
+ return $this->entrys;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model
+{
+ public $batchId;
+ protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse';
+ protected $inappproductsinsertresponseDataType = '';
+ protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse';
+ protected $inappproductsupdateresponseDataType = '';
+
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+
+ public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
+ {
+ $this->inappproductsinsertresponse = $inappproductsinsertresponse;
+ }
+
+ public function getInappproductsinsertresponse()
+ {
+ return $this->inappproductsinsertresponse;
+ }
+
+ public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
+ {
+ $this->inappproductsupdateresponse = $inappproductsupdateresponse;
+ }
+
+ public function getInappproductsupdateresponse()
+ {
+ return $this->inappproductsupdateresponse;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
+
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
}
}
+class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
+{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = 'array';
+ public $kind;
+ protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
+ protected $tokenPaginationDataType = '';
-/**
- * The "inapppurchases" collection of methods.
- * Typical usage is:
- *
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
- * $inapppurchases = $androidpublisherService->inapppurchases;
- *
- */
-class Google_Service_AndroidPublisher_Inapppurchases_Resource extends Google_Service_Resource
+ public function setInappproduct($inappproduct)
+ {
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+
+ public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+}
+
+class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model
{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
- /**
- * Checks the purchase and consumption status of an inapp item.
- * (inapppurchases.get)
- *
- * @param string $packageName
- * The package name of the application the inapp product was sold in (for example,
- * 'com.some.thing').
- * @param string $productId
- * The inapp product SKU (for example, 'com.some.thing.inapp1').
- * @param string $token
- * The token provided to the user's device when the inapp product was purchased.
- * @param array $optParams Optional parameters.
- * @return Google_Service_AndroidPublisher_InappPurchase
- */
- public function get($packageName, $productId, $token, $optParams = array())
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
{
- $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_InappPurchase");
+ $this->inappproduct = $inappproduct;
+ }
+
+ public function getInappproduct()
+ {
+ return $this->inappproduct;
}
}
-/**
- * The "purchases" collection of methods.
- * Typical usage is:
- *
- * $androidpublisherService = new Google_Service_AndroidPublisher(...);
- * $purchases = $androidpublisherService->purchases;
- *
- */
-class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
+class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model
{
+ protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
+ protected $inappproductDataType = '';
- /**
- * Cancels a user's subscription purchase. The subscription remains valid until
- * its expiration time. (purchases.cancel)
- *
- * @param string $packageName
- * The package name of the application for which this subscription was purchased (for example,
- * 'com.some.thing').
- * @param string $subscriptionId
- * The purchased subscription ID (for example, 'monthly001').
- * @param string $token
- * The token provided to the user's device when the subscription was purchased.
- * @param array $optParams Optional parameters.
- */
- public function cancel($packageName, $subscriptionId, $token, $optParams = array())
+ public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
{
- $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
- $params = array_merge($params, $optParams);
- return $this->call('cancel', array($params));
+ $this->inappproduct = $inappproduct;
}
- /**
- * Checks whether a user's subscription purchase is valid and returns its expiry
- * time. (purchases.get)
- *
- * @param string $packageName
- * The package name of the application for which this subscription was purchased (for example,
- * 'com.some.thing').
- * @param string $subscriptionId
- * The purchased subscription ID (for example, 'monthly001').
- * @param string $token
- * The token provided to the user's device when the subscription was purchased.
- * @param array $optParams Optional parameters.
- * @return Google_Service_AndroidPublisher_SubscriptionPurchase
- */
- public function get($packageName, $subscriptionId, $token, $optParams = array())
+
+ public function getInappproduct()
{
- $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
+ return $this->inappproduct;
+ }
+}
+
+class Google_Service_AndroidPublisher_Listing extends Google_Model
+{
+ public $fullDescription;
+ public $language;
+ public $shortDescription;
+ public $title;
+ public $video;
+
+ public function setFullDescription($fullDescription)
+ {
+ $this->fullDescription = $fullDescription;
+ }
+
+ public function getFullDescription()
+ {
+ return $this->fullDescription;
+ }
+
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+
+ public function setShortDescription($shortDescription)
+ {
+ $this->shortDescription = $shortDescription;
+ }
+
+ public function getShortDescription()
+ {
+ return $this->shortDescription;
+ }
+
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ public function setVideo($video)
+ {
+ $this->video = $video;
+ }
+
+ public function getVideo()
+ {
+ return $this->video;
+ }
+}
+
+class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
+{
+ public $kind;
+ protected $listingsType = 'Google_Service_AndroidPublisher_Listing';
+ protected $listingsDataType = 'array';
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setListings($listings)
+ {
+ $this->listings = $listings;
+ }
+
+ public function getListings()
+ {
+ return $this->listings;
+ }
+}
+
+class Google_Service_AndroidPublisher_PageInfo extends Google_Model
+{
+ public $resultPerPage;
+ public $startIndex;
+ public $totalResults;
+
+ public function setResultPerPage($resultPerPage)
+ {
+ $this->resultPerPage = $resultPerPage;
+ }
+
+ public function getResultPerPage()
+ {
+ return $this->resultPerPage;
+ }
+
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+
+ public function getTotalResults()
+ {
+ return $this->totalResults;
}
}
+class Google_Service_AndroidPublisher_Price extends Google_Model
+{
+ public $currency;
+ public $priceMicros;
+
+ public function setCurrency($currency)
+ {
+ $this->currency = $currency;
+ }
+
+ public function getCurrency()
+ {
+ return $this->currency;
+ }
+ public function setPriceMicros($priceMicros)
+ {
+ $this->priceMicros = $priceMicros;
+ }
+ public function getPriceMicros()
+ {
+ return $this->priceMicros;
+ }
+}
-class Google_Service_AndroidPublisher_InappPurchase extends Google_Model
+class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
{
public $consumptionState;
public $developerPayload;
public $kind;
public $purchaseState;
- public $purchaseTime;
+ public $purchaseTimeMillis;
public function setConsumptionState($consumptionState)
{
@@ -270,23 +3037,23 @@ public function getPurchaseState()
return $this->purchaseState;
}
- public function setPurchaseTime($purchaseTime)
+ public function setPurchaseTimeMillis($purchaseTimeMillis)
{
- $this->purchaseTime = $purchaseTime;
+ $this->purchaseTimeMillis = $purchaseTimeMillis;
}
- public function getPurchaseTime()
+ public function getPurchaseTimeMillis()
{
- return $this->purchaseTime;
+ return $this->purchaseTimeMillis;
}
}
class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
{
public $autoRenewing;
- public $initiationTimestampMsec;
+ public $expiryTimeMillis;
public $kind;
- public $validUntilTimestampMsec;
+ public $startTimeMillis;
public function setAutoRenewing($autoRenewing)
{
@@ -298,15 +3065,131 @@ public function getAutoRenewing()
return $this->autoRenewing;
}
- public function setInitiationTimestampMsec($initiationTimestampMsec)
+ public function setExpiryTimeMillis($expiryTimeMillis)
+ {
+ $this->expiryTimeMillis = $expiryTimeMillis;
+ }
+
+ public function getExpiryTimeMillis()
+ {
+ return $this->expiryTimeMillis;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+}
+
+class Google_Service_AndroidPublisher_Testers extends Google_Collection
+{
+ public $googleGroups;
+ public $googlePlusCommunities;
+
+ public function setGoogleGroups($googleGroups)
+ {
+ $this->googleGroups = $googleGroups;
+ }
+
+ public function getGoogleGroups()
+ {
+ return $this->googleGroups;
+ }
+
+ public function setGooglePlusCommunities($googlePlusCommunities)
+ {
+ $this->googlePlusCommunities = $googlePlusCommunities;
+ }
+
+ public function getGooglePlusCommunities()
+ {
+ return $this->googlePlusCommunities;
+ }
+}
+
+class Google_Service_AndroidPublisher_TokenPagination extends Google_Model
+{
+ public $nextPageToken;
+ public $previousPageToken;
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setPreviousPageToken($previousPageToken)
+ {
+ $this->previousPageToken = $previousPageToken;
+ }
+
+ public function getPreviousPageToken()
+ {
+ return $this->previousPageToken;
+ }
+}
+
+class Google_Service_AndroidPublisher_Track extends Google_Collection
+{
+ public $track;
+ public $userFraction;
+ public $versionCodes;
+
+ public function setTrack($track)
+ {
+ $this->track = $track;
+ }
+
+ public function getTrack()
+ {
+ return $this->track;
+ }
+
+ public function setUserFraction($userFraction)
+ {
+ $this->userFraction = $userFraction;
+ }
+
+ public function getUserFraction()
+ {
+ return $this->userFraction;
+ }
+
+ public function setVersionCodes($versionCodes)
{
- $this->initiationTimestampMsec = $initiationTimestampMsec;
+ $this->versionCodes = $versionCodes;
}
- public function getInitiationTimestampMsec()
+ public function getVersionCodes()
{
- return $this->initiationTimestampMsec;
+ return $this->versionCodes;
}
+}
+
+class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
+{
+ public $kind;
+ protected $tracksType = 'Google_Service_AndroidPublisher_Track';
+ protected $tracksDataType = 'array';
public function setKind($kind)
{
@@ -318,13 +3201,13 @@ public function getKind()
return $this->kind;
}
- public function setValidUntilTimestampMsec($validUntilTimestampMsec)
+ public function setTracks($tracks)
{
- $this->validUntilTimestampMsec = $validUntilTimestampMsec;
+ $this->tracks = $tracks;
}
- public function getValidUntilTimestampMsec()
+ public function getTracks()
{
- return $this->validUntilTimestampMsec;
+ return $this->tracks;
}
}
From fa614168459d078ad74f0a05658e58bd4e298e7a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:56 -0700
Subject: [PATCH 0189/1371] Updated Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
index 6fba8da35..48f5ca9b3 100644
--- a/src/Google/Service/Cloudmonitoring.php
+++ b/src/Google/Service/Cloudmonitoring.php
@@ -255,7 +255,6 @@ class Google_Service_Cloudmonitoring_Timeseries_Resource extends Google_Service_
* string-based project name.
* @param string $metric
* Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * appengine.googleapis.com/http/server/response_count or
* compute.googleapis.com/instance/disk/read_ops_count.
* @param string $youngest
* End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
@@ -326,7 +325,6 @@ class Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Goog
* string-based project name.
* @param string $metric
* Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * appengine.googleapis.com/http/server/response_count or
* compute.googleapis.com/instance/disk/read_ops_count.
* @param string $youngest
* End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
From f2f4cf6a1de99790a504ede4421d3a18e69089db Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 31 Jul 2014 00:59:56 -0700
Subject: [PATCH 0190/1371] Updated IdentityToolkit.php
---
src/Google/Service/IdentityToolkit.php | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/Google/Service/IdentityToolkit.php b/src/Google/Service/IdentityToolkit.php
index 03b2c5930..eba918b82 100644
--- a/src/Google/Service/IdentityToolkit.php
+++ b/src/Google/Service/IdentityToolkit.php
@@ -266,12 +266,12 @@ public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRel
-class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Collection
+class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Model
{
public $authUri;
+ public $forExistingProvider;
public $kind;
public $providerId;
- public $providers;
public $registered;
public function setAuthUri($authUri)
@@ -284,6 +284,16 @@ public function getAuthUri()
return $this->authUri;
}
+ public function setForExistingProvider($forExistingProvider)
+ {
+ $this->forExistingProvider = $forExistingProvider;
+ }
+
+ public function getForExistingProvider()
+ {
+ return $this->forExistingProvider;
+ }
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -304,16 +314,6 @@ public function getProviderId()
return $this->providerId;
}
- public function setProviders($providers)
- {
- $this->providers = $providers;
- }
-
- public function getProviders()
- {
- return $this->providers;
- }
-
public function setRegistered($registered)
{
$this->registered = $registered;
From f61f0a5c8c67f9825a12b7a3bbef865c7d0de6ab Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 1 Aug 2014 01:01:01 -0700
Subject: [PATCH 0191/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 1826ae6c1..958850791 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -2911,6 +2911,7 @@ class Google_Service_Genomics_Variant extends Google_Collection
public $contig;
public $created;
public $datasetId;
+ public $end;
public $id;
public $info;
public $names;
@@ -2967,6 +2968,16 @@ public function getDatasetId()
return $this->datasetId;
}
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
public function setId($id)
{
$this->id = $id;
From 70d70a02c0f332f0943ffe8af7c1ab7c753f9ce8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 5 Aug 2014 01:05:15 -0700
Subject: [PATCH 0192/1371] Removed MapsEngine.php
---
src/Google/Service/MapsEngine.php | 4761 -----------------------------
1 file changed, 4761 deletions(-)
delete mode 100644 src/Google/Service/MapsEngine.php
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
deleted file mode 100644
index d898b708e..000000000
--- a/src/Google/Service/MapsEngine.php
+++ /dev/null
@@ -1,4761 +0,0 @@
-
- * The Google Maps Engine API allows developers to store and query geospatial vector and raster data.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_MapsEngine extends Google_Service
-{
- /** View and manage your Google Maps Engine data. */
- const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine";
- /** View your Google Maps Engine data. */
- const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly";
-
- public $assets;
- public $assets_parents;
- public $layers;
- public $layers_parents;
- public $maps;
- public $projects;
- public $rasterCollections;
- public $rasterCollections_parents;
- public $rasterCollections_rasters;
- public $rasters;
- public $rasters_files;
- public $rasters_parents;
- public $tables;
- public $tables_features;
- public $tables_files;
- public $tables_parents;
-
-
- /**
- * Constructs the internal representation of the MapsEngine service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $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',
- ),
- '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',
- ),
- '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->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',
- ),
- ),
- ),'list' => array(
- 'path' => 'layers',
- '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',
- ),
- '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',
- ),
- ),
- ),'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,
- ),
- ),
- ),'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->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',
- ),
- ),
- ),'list' => array(
- 'path' => 'maps',
- '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',
- ),
- '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',
- ),
- ),
- ),'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,
- ),
- ),
- ),'unpublish' => array(
- 'path' => 'maps/{id}/unpublish',
- 'httpMethod' => 'POST',
- '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->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',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => 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',
- ),
- ),
- ),'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_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',
- ),
- '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',
- ),
- ),
- ),
- )
- )
- );
- $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,
- ),
- ),
- ),'patch' => array(
- 'path' => 'rasters/{id}',
- 'httpMethod' => 'PATCH',
- '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->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',
- ),
- 'tags' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'projectId' => 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',
- ),
- ),
- ),'patch' => array(
- 'path' => 'tables/{id}',
- 'httpMethod' => 'PATCH',
- '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',
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "assets" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $assets = $mapsengineService->assets;
- *
- */
-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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @opt_param string type
- * An asset type restriction. If set, only resources of this type will be returned.
- * @return Google_Service_MapsEngine_AssetsListResponse
- */
- public function listAssets($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_AssetsListResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified asset. (parents.listAssetsParents)
- *
- * @param string $id
- * The ID of the asset whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listAssetsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-/**
- * The "layers" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $layers = $mapsengineService->layers;
- *
- */
-class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource
-{
-
- /**
- * Cancel processing on a layer asset. (layers.cancelProcessing)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function cancelProcessing($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
- /**
- * Create a layer asset. (layers.create)
- *
- * @param Google_Layer $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool process
- * Whether to queue the created layer for processing.
- * @return Google_Service_MapsEngine_Layer
- */
- public function create(Google_Service_MapsEngine_Layer $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_Layer");
- }
- /**
- * Delete a layer. (layers.delete)
- *
- * @param string $id
- * The ID of the layer. Only the layer creator or project owner are permitted to delete. If the
- * layer is published, or included in a map, the request will fail. Unpublish the layer, and remove
- * it from all maps prior to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular layer. (layers.get)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_MapsEngine_Layer
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Layer");
- }
- /**
- * Return all layers readable by the current user. (layers.listLayers)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_LayersListResponse
- */
- public function listLayers($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
- }
- /**
- * Mutate a layer asset. (layers.patch)
- *
- * @param string $id
- * The ID of the layer.
- * @param Google_Layer $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Layer $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Process a layer asset. (layers.process)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function process($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
- /**
- * Publish a layer asset. (layers.publish)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function publish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
- /**
- * Unpublish a layer asset. (layers.unpublish)
- *
- * @param string $id
- * The ID of the layer.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function unpublish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified layer. (parents.listLayersParents)
- *
- * @param string $id
- * The ID of the layer whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listLayersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-/**
- * The "maps" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $maps = $mapsengineService->maps;
- *
- */
-class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource
-{
-
- /**
- * Create a map asset. (maps.create)
- *
- * @param Google_Map $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Map
- */
- public function create(Google_Service_MapsEngine_Map $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_Map");
- }
- /**
- * Delete a map. (maps.delete)
- *
- * @param string $id
- * The ID of the map. Only the map creator or project owner are permitted to delete. If the map is
- * published the request will fail. Unpublish the map prior to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular map. (maps.get)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_MapsEngine_Map
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Map");
- }
- /**
- * Return all maps readable by the current user. (maps.listMaps)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_MapsListResponse
- */
- public function listMaps($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse");
- }
- /**
- * Mutate a map asset. (maps.patch)
- *
- * @param string $id
- * The ID of the map.
- * @param Google_Map $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Map $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Publish a map asset. (maps.publish)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function publish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
- /**
- * Unpublish a map asset. (maps.unpublish)
- *
- * @param string $id
- * The ID of the map.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_PublishResponse
- */
- public function unpublish($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
- }
-}
-
-/**
- * The "projects" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $projects = $mapsengineService->projects;
- *
- */
-class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all projects readable by the current user. (projects.listProjects)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProjectsListResponse
- */
- public function listProjects($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse");
- }
-}
-
-/**
- * The "rasterCollections" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $rasterCollections = $mapsengineService->rasterCollections;
- *
- */
-class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource
-{
-
- /**
- * Cancel processing on a raster collection asset.
- * (rasterCollections.cancelProcessing)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function cancelProcessing($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
- /**
- * Create a raster collection asset. (rasterCollections.create)
- *
- * @param Google_RasterCollection $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollection
- */
- public function create(Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_RasterCollection");
- }
- /**
- * Delete a raster collection. (rasterCollections.delete)
- *
- * @param string $id
- * The ID of the raster collection. Only the raster collection creator or project owner are
- * permitted to delete. If the rastor collection is included in a layer, the request will fail.
- * Remove the raster collection from all layers prior to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular raster collection. (rasterCollections.get)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollection
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection");
- }
- /**
- * Return all raster collections readable by the current user.
- * (rasterCollections.listRasterCollections)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_RasterCollectionsListResponse
- */
- public function listRasterCollections($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse");
- }
- /**
- * Mutate a raster collection asset. (rasterCollections.patch)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param Google_RasterCollection $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Process a raster collection asset. (rasterCollections.process)
- *
- * @param string $id
- * The ID of the raster collection.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_ProcessResponse
- */
- public function process($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
- }
-}
-
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified raster collection.
- * (parents.listRasterCollectionsParents)
- *
- * @param string $id
- * The ID of the raster collection whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listRasterCollectionsParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Remove rasters from an existing raster collection.
- *
- * Up to 50 rasters can be included in a single batchDelete request. Each
- * batchDelete request is atomic. (rasters.batchDelete)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @param Google_RasterCollectionsRasterBatchDeleteRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse
- */
- public function batchDelete($id, Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse");
- }
- /**
- * Add rasters to an existing raster collection. Rasters must be successfully
- * processed in order to be added to a raster collection.
- *
- * Up to 50 rasters can be included in a single batchInsert request. Each
- * batchInsert request is atomic. (rasters.batchInsert)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @param Google_RasterCollectionsRastersBatchInsertRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse
- */
- public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchInsert', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse");
- }
- /**
- * Return all rasters within a raster collection.
- * (rasters.listRasterCollectionsRasters)
- *
- * @param string $id
- * The ID of the raster collection to which these rasters belong.
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
- */
- public function listRasterCollectionsRasters($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
- }
-}
-
-/**
- * The "rasters" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $rasters = $mapsengineService->rasters;
- *
- */
-class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete a raster. (rasters.delete)
- *
- * @param string $id
- * The ID of the raster. Only the raster creator or project owner are permitted to delete. If the
- * raster is included in a layer or mosaic, the request will fail. Remove it from all parents prior
- * to deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a single raster. (rasters.get)
- *
- * @param string $id
- * The ID of the raster.
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Raster
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Raster");
- }
- /**
- * Mutate a raster asset. (rasters.patch)
- *
- * @param string $id
- * The ID of the raster.
- * @param Google_Raster $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Raster $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Create a skeleton raster asset for upload. (rasters.upload)
- *
- * @param Google_Raster $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Raster
- */
- public function upload(Google_Service_MapsEngine_Raster $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_MapsEngine_Raster");
- }
-}
-
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a raster asset. (files.insert)
- *
- * @param string $id
- * The ID of the raster asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified rasters. (parents.listRastersParents)
- *
- * @param string $id
- * The ID of the rasters whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listRastersParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-/**
- * The "tables" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $tables = $mapsengineService->tables;
- *
- */
-class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource
-{
-
- /**
- * Create a table asset. (tables.create)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Table
- */
- public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
- }
- /**
- * Delete a table. (tables.delete)
- *
- * @param string $id
- * The ID of the table. Only the table creator or project owner are permitted to delete. If the
- * table is included in a layer, the request will fail. Remove it from all layers prior to
- * deleting.
- * @param array $optParams Optional parameters.
- */
- public function delete($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
- /**
- * Return metadata for a particular table, including the schema. (tables.get)
- *
- * @param string $id
- * The ID of the table.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- *
- * @return Google_Service_MapsEngine_Table
- */
- public function get($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Table");
- }
- /**
- * Return all tables readable by the current user. (tables.listTables)
- *
- * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
- * @opt_param string projectId
- * The ID of a Maps Engine project, used to filter the response. To list all available projects
- * with their IDs, send a Projects: list request. You can also find your project ID as the value of
- * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 100.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string creatorEmail
- * An email address representing a user. Returned assets that have been created by the user
- * associated with the provided email address.
- * @opt_param string bbox
- * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
- * bounding box will be returned.
- * @opt_param string modifiedBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been modified at or before this time.
- * @opt_param string createdBefore
- * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
- * been created at or before this time.
- * @return Google_Service_MapsEngine_TablesListResponse
- */
- public function listTables($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
- }
- /**
- * Mutate a table asset. (tables.patch)
- *
- * @param string $id
- * The ID of the table.
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- */
- public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params));
- }
- /**
- * Create a placeholder table asset to which table files can be uploaded. Once
- * the placeholder has been created, files are uploaded to the
- * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
- * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
- * the reference documentation for more information. (tables.upload)
- *
- * @param Google_Table $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_MapsEngine_Table
- */
- public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_MapsEngine_Table");
- }
-}
-
-/**
- * The "features" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $features = $mapsengineService->features;
- *
- */
-class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete all features matching the given IDs. (features.batchDelete)
- *
- * @param string $id
- * The ID of the table that contains the features to be deleted.
- * @param Google_FeaturesBatchDeleteRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchDelete', array($params));
- }
- /**
- * Append features to an existing table.
- *
- * A single batchInsert request can create:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * For more information about inserting features, read Creating features in the
- * Google Maps Engine developer's guide. (features.batchInsert)
- *
- * @param string $id
- * The ID of the table to append the features to.
- * @param Google_FeaturesBatchInsertRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchInsert', array($params));
- }
- /**
- * Update the supplied features.
- *
- * A single batchPatch request can update:
- *
- * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
- * are documented in the Supported data formats and limits article of the Google
- * Maps Engine help center. Note that free and paid accounts have different
- * limits.
- *
- * Feature updates use HTTP PATCH semantics:
- *
- * - A supplied value replaces an existing value (if any) in that field. -
- * Omitted fields remain unchanged. - Complex values in geometries and
- * properties must be replaced as atomic units. For example, providing just the
- * coordinates of a geometry is not allowed; the complete geometry, including
- * type, must be supplied. - Setting a property's value to null deletes that
- * property. For more information about updating features, read Updating
- * features in the Google Maps Engine developer's guide. (features.batchPatch)
- *
- * @param string $id
- * The ID of the table containing the features to be patched.
- * @param Google_FeaturesBatchPatchRequest $postBody
- * @param array $optParams Optional parameters.
- */
- public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
- {
- $params = array('id' => $id, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batchPatch', array($params));
- }
- /**
- * Return a single feature, given its ID. (features.get)
- *
- * @param string $tableId
- * The ID of the table.
- * @param string $id
- * The ID of the feature to get.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_MapsEngine_Feature
- */
- public function get($tableId, $id, $optParams = array())
- {
- $params = array('tableId' => $tableId, 'id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_MapsEngine_Feature");
- }
- /**
- * Return all features readable by the current user.
- * (features.listTablesFeatures)
- *
- * @param string $id
- * The ID of the table to which these features belong.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy
- * An SQL-like order by clause used to sort results. If this parameter is not included, the order
- * of features is undefined.
- * @opt_param string intersects
- * A geometry literal that specifies the spatial restriction of the query.
- * @opt_param string maxResults
- * The maximum number of items to include in the response, used for paging. The maximum supported
- * value is 1000.
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string version
- * The table version to access. See Accessing Public Data for information.
- * @opt_param string limit
- * The total number of features to return from the query, irrespective of the number of pages.
- * @opt_param string include
- * A comma separated list of optional data to include. Optional data available: schema.
- * @opt_param string where
- * An SQL-like predicate used to filter results.
- * @opt_param string select
- * A SQL-like projection clause used to specify returned properties. If this parameter is not
- * included, all properties are returned.
- * @return Google_Service_MapsEngine_FeaturesListResponse
- */
- public function listTablesFeatures($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse");
- }
-}
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $files = $mapsengineService->files;
- *
- */
-class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource
-{
-
- /**
- * Upload a file to a placeholder table asset. See Table Upload in the
- * Developer's Guide for more information. Supported file types are listed in
- * the Supported data formats and limits article of the Google Maps Engine help
- * center. (files.insert)
- *
- * @param string $id
- * The ID of the table asset.
- * @param string $filename
- * The file name of this uploaded file.
- * @param array $optParams Optional parameters.
- */
- public function insert($id, $filename, $optParams = array())
- {
- $params = array('id' => $id, 'filename' => $filename);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params));
- }
-}
-/**
- * The "parents" collection of methods.
- * Typical usage is:
- *
- * $mapsengineService = new Google_Service_MapsEngine(...);
- * $parents = $mapsengineService->parents;
- *
- */
-class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource
-{
-
- /**
- * Return all parent ids of the specified table. (parents.listTablesParents)
- *
- * @param string $id
- * The ID of the table whose parents will be listed.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * The continuation token, used to page through large result sets. To get the next page of results,
- * set this parameter to the value of nextPageToken from the previous response.
- * @opt_param string maxResults
- * The maximum number of items to include in a single response page. The maximum supported value is
- * 50.
- * @return Google_Service_MapsEngine_ParentsListResponse
- */
- public function listTablesParents($id, $optParams = array())
- {
- $params = array('id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
- }
-}
-
-
-
-
-class Google_Service_MapsEngine_AcquisitionTime extends Google_Model
-{
- public $end;
- public $precision;
- public $start;
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setPrecision($precision)
- {
- $this->precision = $precision;
- }
-
- public function getPrecision()
- {
- return $this->precision;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_MapsEngine_Asset extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $resource;
- public $tags;
- public $type;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setResource($resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection
-{
- protected $assetsType = 'Google_Service_MapsEngine_Asset';
- protected $assetsDataType = 'array';
- public $nextPageToken;
-
- public function setAssets($assets)
- {
- $this->assets = $assets;
- }
-
- public function getAssets()
- {
- return $this->assets;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_MapsEngine_Border extends Google_Model
-{
- public $color;
- public $opacity;
- public $width;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_MapsEngine_Color extends Google_Model
-{
- public $color;
- public $opacity;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-}
-
-class Google_Service_MapsEngine_Datasource extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_MapsEngine_DisplayRule extends Google_Collection
-{
- protected $filtersType = 'Google_Service_MapsEngine_Filter';
- protected $filtersDataType = 'array';
- protected $lineOptionsType = 'Google_Service_MapsEngine_LineStyle';
- protected $lineOptionsDataType = '';
- public $name;
- protected $pointOptionsType = 'Google_Service_MapsEngine_PointStyle';
- protected $pointOptionsDataType = '';
- protected $polygonOptionsType = 'Google_Service_MapsEngine_PolygonStyle';
- protected $polygonOptionsDataType = '';
- protected $zoomLevelsType = 'Google_Service_MapsEngine_ZoomLevels';
- protected $zoomLevelsDataType = '';
-
- public function setFilters($filters)
- {
- $this->filters = $filters;
- }
-
- public function getFilters()
- {
- return $this->filters;
- }
-
- public function setLineOptions(Google_Service_MapsEngine_LineStyle $lineOptions)
- {
- $this->lineOptions = $lineOptions;
- }
-
- public function getLineOptions()
- {
- return $this->lineOptions;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPointOptions(Google_Service_MapsEngine_PointStyle $pointOptions)
- {
- $this->pointOptions = $pointOptions;
- }
-
- public function getPointOptions()
- {
- return $this->pointOptions;
- }
-
- public function setPolygonOptions(Google_Service_MapsEngine_PolygonStyle $polygonOptions)
- {
- $this->polygonOptions = $polygonOptions;
- }
-
- public function getPolygonOptions()
- {
- return $this->polygonOptions;
- }
-
- public function setZoomLevels(Google_Service_MapsEngine_ZoomLevels $zoomLevels)
- {
- $this->zoomLevels = $zoomLevels;
- }
-
- public function getZoomLevels()
- {
- return $this->zoomLevels;
- }
-}
-
-class Google_Service_MapsEngine_Feature extends Google_Model
-{
- protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry';
- protected $geometryDataType = '';
- public $properties;
- public $type;
-
- public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry)
- {
- $this->geometry = $geometry;
- }
-
- public function getGeometry()
- {
- return $this->geometry;
- }
-
- public function setProperties($properties)
- {
- $this->properties = $properties;
- }
-
- public function getProperties()
- {
- return $this->properties;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_FeatureInfo extends Google_Model
-{
- public $content;
-
- public function setContent($content)
- {
- $this->content = $content;
- }
-
- public function getContent()
- {
- return $this->content;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
-{
- public $gxIds;
- public $primaryKeys;
-
- public function setGxIds($gxIds)
- {
- $this->gxIds = $gxIds;
- }
-
- public function getGxIds()
- {
- return $this->gxIds;
- }
-
- public function setPrimaryKeys($primaryKeys)
- {
- $this->primaryKeys = $primaryKeys;
- }
-
- public function getPrimaryKeys()
- {
- return $this->primaryKeys;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_MapsEngine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
-{
- protected $featuresType = 'Google_Service_MapsEngine_Feature';
- protected $featuresDataType = 'array';
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-}
-
-class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
-{
- public $allowedQueriesPerSecond;
- protected $featuresType = 'Google_Service_MapsEngine_Feature';
- protected $featuresDataType = 'array';
- public $nextPageToken;
- protected $schemaType = 'Google_Service_MapsEngine_Schema';
- protected $schemaDataType = '';
- public $type;
-
- public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
- {
- $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
- }
-
- public function getAllowedQueriesPerSecond()
- {
- return $this->allowedQueriesPerSecond;
- }
-
- public function setFeatures($features)
- {
- $this->features = $features;
- }
-
- public function getFeatures()
- {
- return $this->features;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setSchema(Google_Service_MapsEngine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_Filter extends Google_Model
-{
- public $column;
- public $operator;
- public $value;
-
- public function setColumn($column)
- {
- $this->column = $column;
- }
-
- public function getColumn()
- {
- return $this->column;
- }
-
- public function setOperator($operator)
- {
- $this->operator = $operator;
- }
-
- public function getOperator()
- {
- return $this->operator;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
-{
- protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
- protected $geometriesDataType = 'array';
-
- public function setGeometries($geometries)
- {
- $this->geometries = $geometries;
- }
-
- public function getGeometries()
- {
- return $this->geometries;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
-{
- public $coordinates;
-
- public function setCoordinates($coordinates)
- {
- $this->coordinates = $coordinates;
- }
-
- public function getCoordinates()
- {
- return $this->coordinates;
- }
-}
-
-class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_IconStyle extends Google_Model
-{
- public $id;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_MapsEngine_LabelStyle extends Google_Model
-{
- public $color;
- public $column;
- public $fontStyle;
- public $fontWeight;
- public $opacity;
- protected $outlineType = 'Google_Service_MapsEngine_Color';
- protected $outlineDataType = '';
- public $size;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setColumn($column)
- {
- $this->column = $column;
- }
-
- public function getColumn()
- {
- return $this->column;
- }
-
- public function setFontStyle($fontStyle)
- {
- $this->fontStyle = $fontStyle;
- }
-
- public function getFontStyle()
- {
- return $this->fontStyle;
- }
-
- public function setFontWeight($fontWeight)
- {
- $this->fontWeight = $fontWeight;
- }
-
- public function getFontWeight()
- {
- return $this->fontWeight;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-
- public function setOutline(Google_Service_MapsEngine_Color $outline)
- {
- $this->outline = $outline;
- }
-
- public function getOutline()
- {
- return $this->outline;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-}
-
-class Google_Service_MapsEngine_Layer extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $datasourceType;
- protected $datasourcesType = 'Google_Service_MapsEngine_Datasource';
- protected $datasourcesDataType = 'array';
- public $description;
- public $draftAccessList;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- protected $styleType = 'Google_Service_MapsEngine_VectorStyle';
- protected $styleDataType = '';
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDatasourceType($datasourceType)
- {
- $this->datasourceType = $datasourceType;
- }
-
- public function getDatasourceType()
- {
- return $this->datasourceType;
- }
-
- public function setDatasources(Google_Service_MapsEngine_Datasource $datasources)
- {
- $this->datasources = $datasources;
- }
-
- public function getDatasources()
- {
- return $this->datasources;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setStyle(Google_Service_MapsEngine_VectorStyle $style)
- {
- $this->style = $style;
- }
-
- public function getStyle()
- {
- return $this->style;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
-{
- protected $layersType = 'Google_Service_MapsEngine_Layer';
- protected $layersDataType = 'array';
- public $nextPageToken;
-
- public function setLayers($layers)
- {
- $this->layers = $layers;
- }
-
- public function getLayers()
- {
- return $this->layers;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_MapsEngine_LineStyle extends Google_Collection
-{
- protected $borderType = 'Google_Service_MapsEngine_Border';
- protected $borderDataType = '';
- public $dash;
- protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
- protected $labelDataType = '';
- protected $strokeType = 'Google_Service_MapsEngine_LineStyleStroke';
- protected $strokeDataType = '';
-
- public function setBorder(Google_Service_MapsEngine_Border $border)
- {
- $this->border = $border;
- }
-
- public function getBorder()
- {
- return $this->border;
- }
-
- public function setDash($dash)
- {
- $this->dash = $dash;
- }
-
- public function getDash()
- {
- return $this->dash;
- }
-
- public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
- {
- $this->label = $label;
- }
-
- public function getLabel()
- {
- return $this->label;
- }
-
- public function setStroke(Google_Service_MapsEngine_LineStyleStroke $stroke)
- {
- $this->stroke = $stroke;
- }
-
- public function getStroke()
- {
- return $this->stroke;
- }
-}
-
-class Google_Service_MapsEngine_LineStyleStroke extends Google_Model
-{
- public $color;
- public $opacity;
- public $width;
-
- public function setColor($color)
- {
- $this->color = $color;
- }
-
- public function getColor()
- {
- return $this->color;
- }
-
- public function setOpacity($opacity)
- {
- $this->opacity = $opacity;
- }
-
- public function getOpacity()
- {
- return $this->opacity;
- }
-
- public function setWidth($width)
- {
- $this->width = $width;
- }
-
- public function getWidth()
- {
- return $this->width;
- }
-}
-
-class Google_Service_MapsEngine_Map extends Google_Collection
-{
- public $bbox;
- protected $contentsType = 'Google_Service_MapsEngine_MapItem';
- protected $contentsDataType = '';
- public $creationTime;
- public $defaultViewport;
- public $description;
- public $draftAccessList;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- public $tags;
- public $versions;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setContents(Google_Service_MapsEngine_MapItem $contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-
- public function setVersions($versions)
- {
- $this->versions = $versions;
- }
-
- public function getVersions()
- {
- return $this->versions;
- }
-}
-
-class Google_Service_MapsEngine_MapFolder extends Google_Collection
-{
- protected $contentsType = 'Google_Service_MapsEngine_MapItem';
- protected $contentsDataType = 'array';
- public $defaultViewport;
- public $expandable;
- public $key;
- public $name;
- public $visibility;
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setExpandable($expandable)
- {
- $this->expandable = $expandable;
- }
-
- public function getExpandable()
- {
- return $this->expandable;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_MapsEngine_MapItem extends Google_Model
-{
- public $type;
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_MapKmlLink extends Google_Collection
-{
- public $defaultViewport;
- public $kmlUrl;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setKmlUrl($kmlUrl)
- {
- $this->kmlUrl = $kmlUrl;
- }
-
- public function getKmlUrl()
- {
- return $this->kmlUrl;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_MapsEngine_MapLayer extends Google_Collection
-{
- public $defaultViewport;
- public $id;
- public $key;
- public $name;
- public $visibility;
-
- public function setDefaultViewport($defaultViewport)
- {
- $this->defaultViewport = $defaultViewport;
- }
-
- public function getDefaultViewport()
- {
- return $this->defaultViewport;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setVisibility($visibility)
- {
- $this->visibility = $visibility;
- }
-
- public function getVisibility()
- {
- return $this->visibility;
- }
-}
-
-class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
-{
- protected $mapsType = 'Google_Service_MapsEngine_Map';
- protected $mapsDataType = 'array';
- public $nextPageToken;
-
- public function setMaps($maps)
- {
- $this->maps = $maps;
- }
-
- public function getMaps()
- {
- return $this->maps;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_MapsEngine_MapsengineFile extends Google_Model
-{
- public $filename;
- public $size;
- public $uploadStatus;
-
- public function setFilename($filename)
- {
- $this->filename = $filename;
- }
-
- public function getFilename()
- {
- return $this->filename;
- }
-
- public function setSize($size)
- {
- $this->size = $size;
- }
-
- public function getSize()
- {
- return $this->size;
- }
-
- public function setUploadStatus($uploadStatus)
- {
- $this->uploadStatus = $uploadStatus;
- }
-
- public function getUploadStatus()
- {
- return $this->uploadStatus;
- }
-}
-
-class Google_Service_MapsEngine_Parent extends Google_Model
-{
- public $id;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-}
-
-class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $parentsType = 'Google_Service_MapsEngine_Parent';
- protected $parentsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setParents($parents)
- {
- $this->parents = $parents;
- }
-
- public function getParents()
- {
- return $this->parents;
- }
-}
-
-class Google_Service_MapsEngine_PointStyle extends Google_Model
-{
- protected $iconType = 'Google_Service_MapsEngine_IconStyle';
- protected $iconDataType = '';
- protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
- protected $labelDataType = '';
-
- public function setIcon(Google_Service_MapsEngine_IconStyle $icon)
- {
- $this->icon = $icon;
- }
-
- public function getIcon()
- {
- return $this->icon;
- }
-
- public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
- {
- $this->label = $label;
- }
-
- public function getLabel()
- {
- return $this->label;
- }
-}
-
-class Google_Service_MapsEngine_PolygonStyle extends Google_Model
-{
- protected $fillType = 'Google_Service_MapsEngine_Color';
- protected $fillDataType = '';
- protected $strokeType = 'Google_Service_MapsEngine_Border';
- protected $strokeDataType = '';
-
- public function setFill(Google_Service_MapsEngine_Color $fill)
- {
- $this->fill = $fill;
- }
-
- public function getFill()
- {
- return $this->fill;
- }
-
- public function setStroke(Google_Service_MapsEngine_Border $stroke)
- {
- $this->stroke = $stroke;
- }
-
- public function getStroke()
- {
- return $this->stroke;
- }
-}
-
-class Google_Service_MapsEngine_ProcessResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_Project extends Google_Model
-{
- public $id;
- public $name;
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
-{
- protected $projectsType = 'Google_Service_MapsEngine_Project';
- protected $projectsDataType = 'array';
-
- public function setProjects($projects)
- {
- $this->projects = $projects;
- }
-
- public function getProjects()
- {
- return $this->projects;
- }
-}
-
-class Google_Service_MapsEngine_PublishResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_Raster extends Google_Collection
-{
- protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
- protected $acquisitionTimeDataType = '';
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- public $etag;
- protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $maskType;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
- {
- $this->acquisitionTime = $acquisitionTime;
- }
-
- public function getAcquisitionTime()
- {
- return $this->acquisitionTime;
- }
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMaskType($maskType)
- {
- $this->maskType = $maskType;
- }
-
- public function getMaskType()
- {
- return $this->maskType;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollection extends Google_Collection
-{
- public $attribution;
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- public $etag;
- public $id;
- public $lastModifiedTime;
- public $mosaic;
- public $name;
- public $processingStatus;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setAttribution($attribution)
- {
- $this->attribution = $attribution;
- }
-
- public function getAttribution()
- {
- return $this->attribution;
- }
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setMosaic($mosaic)
- {
- $this->mosaic = $mosaic;
- }
-
- public function getMosaic()
- {
- return $this->mosaic;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
- protected $rasterCollectionsDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasterCollections($rasterCollections)
- {
- $this->rasterCollections = $rasterCollections;
- }
-
- public function getRasterCollections()
- {
- return $this->rasterCollections;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $id;
- public $lastModifiedTime;
- public $name;
- public $projectId;
- public $rasterType;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setRasterType($rasterType)
- {
- $this->rasterType = $rasterType;
- }
-
- public function getRasterType()
- {
- return $this->rasterType;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
-{
- public $ids;
-
- public function setIds($ids)
- {
- $this->ids = $ids;
- }
-
- public function getIds()
- {
- return $this->ids;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Google_Collection
-{
- public $ids;
-
- public function setIds($ids)
- {
- $this->ids = $ids;
- }
-
- public function getIds()
- {
- return $this->ids;
- }
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse extends Google_Model
-{
-
-}
-
-class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
- protected $rastersDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setRasters($rasters)
- {
- $this->rasters = $rasters;
- }
-
- public function getRasters()
- {
- return $this->rasters;
- }
-}
-
-class Google_Service_MapsEngine_Schema extends Google_Collection
-{
- protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
- protected $columnsDataType = 'array';
- public $primaryGeometry;
- public $primaryKey;
-
- public function setColumns($columns)
- {
- $this->columns = $columns;
- }
-
- public function getColumns()
- {
- return $this->columns;
- }
-
- public function setPrimaryGeometry($primaryGeometry)
- {
- $this->primaryGeometry = $primaryGeometry;
- }
-
- public function getPrimaryGeometry()
- {
- return $this->primaryGeometry;
- }
-
- public function setPrimaryKey($primaryKey)
- {
- $this->primaryKey = $primaryKey;
- }
-
- public function getPrimaryKey()
- {
- return $this->primaryKey;
- }
-}
-
-class Google_Service_MapsEngine_Table extends Google_Collection
-{
- public $bbox;
- public $creationTime;
- public $description;
- public $draftAccessList;
- public $etag;
- protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
- protected $filesDataType = 'array';
- public $id;
- public $lastModifiedTime;
- public $name;
- public $processingStatus;
- public $projectId;
- public $publishedAccessList;
- protected $schemaType = 'Google_Service_MapsEngine_Schema';
- protected $schemaDataType = '';
- public $sourceEncoding;
- public $tags;
-
- public function setBbox($bbox)
- {
- $this->bbox = $bbox;
- }
-
- public function getBbox()
- {
- return $this->bbox;
- }
-
- public function setCreationTime($creationTime)
- {
- $this->creationTime = $creationTime;
- }
-
- public function getCreationTime()
- {
- return $this->creationTime;
- }
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setDraftAccessList($draftAccessList)
- {
- $this->draftAccessList = $draftAccessList;
- }
-
- public function getDraftAccessList()
- {
- return $this->draftAccessList;
- }
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
-
- public function getEtag()
- {
- return $this->etag;
- }
-
- public function setFiles($files)
- {
- $this->files = $files;
- }
-
- public function getFiles()
- {
- return $this->files;
- }
-
- public function setId($id)
- {
- $this->id = $id;
- }
-
- public function getId()
- {
- return $this->id;
- }
-
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
-
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProcessingStatus($processingStatus)
- {
- $this->processingStatus = $processingStatus;
- }
-
- public function getProcessingStatus()
- {
- return $this->processingStatus;
- }
-
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
-
- public function getProjectId()
- {
- return $this->projectId;
- }
-
- public function setPublishedAccessList($publishedAccessList)
- {
- $this->publishedAccessList = $publishedAccessList;
- }
-
- public function getPublishedAccessList()
- {
- return $this->publishedAccessList;
- }
-
- public function setSchema(Google_Service_MapsEngine_Schema $schema)
- {
- $this->schema = $schema;
- }
-
- public function getSchema()
- {
- return $this->schema;
- }
-
- public function setSourceEncoding($sourceEncoding)
- {
- $this->sourceEncoding = $sourceEncoding;
- }
-
- public function getSourceEncoding()
- {
- return $this->sourceEncoding;
- }
-
- public function setTags($tags)
- {
- $this->tags = $tags;
- }
-
- public function getTags()
- {
- return $this->tags;
- }
-}
-
-class Google_Service_MapsEngine_TableColumn extends Google_Model
-{
- public $name;
- public $type;
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
-{
- public $nextPageToken;
- protected $tablesType = 'Google_Service_MapsEngine_Table';
- protected $tablesDataType = 'array';
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setTables($tables)
- {
- $this->tables = $tables;
- }
-
- public function getTables()
- {
- return $this->tables;
- }
-}
-
-class Google_Service_MapsEngine_VectorStyle extends Google_Collection
-{
- protected $displayRulesType = 'Google_Service_MapsEngine_DisplayRule';
- protected $displayRulesDataType = 'array';
- protected $featureInfoType = 'Google_Service_MapsEngine_FeatureInfo';
- protected $featureInfoDataType = '';
- public $type;
-
- public function setDisplayRules($displayRules)
- {
- $this->displayRules = $displayRules;
- }
-
- public function getDisplayRules()
- {
- return $this->displayRules;
- }
-
- public function setFeatureInfo(Google_Service_MapsEngine_FeatureInfo $featureInfo)
- {
- $this->featureInfo = $featureInfo;
- }
-
- public function getFeatureInfo()
- {
- return $this->featureInfo;
- }
-
- public function setType($type)
- {
- $this->type = $type;
- }
-
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_MapsEngine_ZoomLevels extends Google_Model
-{
- public $max;
- public $min;
-
- public function setMax($max)
- {
- $this->max = $max;
- }
-
- public function getMax()
- {
- return $this->max;
- }
-
- public function setMin($min)
- {
- $this->min = $min;
- }
-
- public function getMin()
- {
- return $this->min;
- }
-}
From 652a3a2795a470a159cd4b5afdcade4d27ef18fd Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 6 Aug 2014 01:06:14 -0700
Subject: [PATCH 0193/1371] Added service MapsEngine.php
---
src/Google/Service/MapsEngine.php | 4761 +++++++++++++++++++++++++++++
1 file changed, 4761 insertions(+)
create mode 100644 src/Google/Service/MapsEngine.php
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
new file mode 100644
index 000000000..d898b708e
--- /dev/null
+++ b/src/Google/Service/MapsEngine.php
@@ -0,0 +1,4761 @@
+
+ * The Google Maps Engine API allows developers to store and query geospatial vector and raster data.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_MapsEngine extends Google_Service
+{
+ /** View and manage your Google Maps Engine data. */
+ const MAPSENGINE = "https://www.googleapis.com/auth/mapsengine";
+ /** View your Google Maps Engine data. */
+ const MAPSENGINE_READONLY = "https://www.googleapis.com/auth/mapsengine.readonly";
+
+ public $assets;
+ public $assets_parents;
+ public $layers;
+ public $layers_parents;
+ public $maps;
+ public $projects;
+ public $rasterCollections;
+ public $rasterCollections_parents;
+ public $rasterCollections_rasters;
+ public $rasters;
+ public $rasters_files;
+ public $rasters_parents;
+ public $tables;
+ public $tables_features;
+ public $tables_files;
+ public $tables_parents;
+
+
+ /**
+ * Constructs the internal representation of the MapsEngine service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $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',
+ ),
+ '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',
+ ),
+ '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->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',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'layers',
+ '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',
+ ),
+ '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',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),'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->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',
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'maps',
+ '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',
+ ),
+ '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',
+ ),
+ ),
+ ),'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,
+ ),
+ ),
+ ),'unpublish' => array(
+ 'path' => 'maps/{id}/unpublish',
+ 'httpMethod' => 'POST',
+ '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->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',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => 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',
+ ),
+ ),
+ ),'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_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',
+ ),
+ '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',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $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,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'rasters/{id}',
+ 'httpMethod' => 'PATCH',
+ '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->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',
+ ),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'projectId' => 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',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'tables/{id}',
+ 'httpMethod' => 'PATCH',
+ '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',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "assets" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $assets = $mapsengineService->assets;
+ *
+ */
+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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @opt_param string type
+ * An asset type restriction. If set, only resources of this type will be returned.
+ * @return Google_Service_MapsEngine_AssetsListResponse
+ */
+ public function listAssets($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_AssetsListResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_AssetsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified asset. (parents.listAssetsParents)
+ *
+ * @param string $id
+ * The ID of the asset whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listAssetsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "layers" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $layers = $mapsengineService->layers;
+ *
+ */
+class Google_Service_MapsEngine_Layers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Cancel processing on a layer asset. (layers.cancelProcessing)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function cancelProcessing($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+ /**
+ * Create a layer asset. (layers.create)
+ *
+ * @param Google_Layer $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool process
+ * Whether to queue the created layer for processing.
+ * @return Google_Service_MapsEngine_Layer
+ */
+ public function create(Google_Service_MapsEngine_Layer $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Layer");
+ }
+ /**
+ * Delete a layer. (layers.delete)
+ *
+ * @param string $id
+ * The ID of the layer. Only the layer creator or project owner are permitted to delete. If the
+ * layer is published, or included in a map, the request will fail. Unpublish the layer, and remove
+ * it from all maps prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular layer. (layers.get)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Layer
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Layer");
+ }
+ /**
+ * Return all layers readable by the current user. (layers.listLayers)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_LayersListResponse
+ */
+ public function listLayers($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_LayersListResponse");
+ }
+ /**
+ * Mutate a layer asset. (layers.patch)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param Google_Layer $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Layer $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Process a layer asset. (layers.process)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+ /**
+ * Publish a layer asset. (layers.publish)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function publish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+ /**
+ * Unpublish a layer asset. (layers.unpublish)
+ *
+ * @param string $id
+ * The ID of the layer.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function unpublish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_LayersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified layer. (parents.listLayersParents)
+ *
+ * @param string $id
+ * The ID of the layer whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listLayersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "maps" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $maps = $mapsengineService->maps;
+ *
+ */
+class Google_Service_MapsEngine_Maps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a map asset. (maps.create)
+ *
+ * @param Google_Map $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Map
+ */
+ public function create(Google_Service_MapsEngine_Map $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Map");
+ }
+ /**
+ * Delete a map. (maps.delete)
+ *
+ * @param string $id
+ * The ID of the map. Only the map creator or project owner are permitted to delete. If the map is
+ * published the request will fail. Unpublish the map prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular map. (maps.get)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Map
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Map");
+ }
+ /**
+ * Return all maps readable by the current user. (maps.listMaps)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_MapsListResponse
+ */
+ public function listMaps($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_MapsListResponse");
+ }
+ /**
+ * Mutate a map asset. (maps.patch)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param Google_Map $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Map $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Publish a map asset. (maps.publish)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function publish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('publish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+ /**
+ * Unpublish a map asset. (maps.unpublish)
+ *
+ * @param string $id
+ * The ID of the map.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_PublishResponse
+ */
+ public function unpublish($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('unpublish', array($params), "Google_Service_MapsEngine_PublishResponse");
+ }
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $projects = $mapsengineService->projects;
+ *
+ */
+class Google_Service_MapsEngine_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all projects readable by the current user. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProjectsListResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ProjectsListResponse");
+ }
+}
+
+/**
+ * The "rasterCollections" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasterCollections = $mapsengineService->rasterCollections;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Cancel processing on a raster collection asset.
+ * (rasterCollections.cancelProcessing)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function cancelProcessing($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('cancelProcessing', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+ /**
+ * Create a raster collection asset. (rasterCollections.create)
+ *
+ * @param Google_RasterCollection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollection
+ */
+ public function create(Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_RasterCollection");
+ }
+ /**
+ * Delete a raster collection. (rasterCollections.delete)
+ *
+ * @param string $id
+ * The ID of the raster collection. Only the raster collection creator or project owner are
+ * permitted to delete. If the rastor collection is included in a layer, the request will fail.
+ * Remove the raster collection from all layers prior to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular raster collection. (rasterCollections.get)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollection
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_RasterCollection");
+ }
+ /**
+ * Return all raster collections readable by the current user.
+ * (rasterCollections.listRasterCollections)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RasterCollectionsListResponse
+ */
+ public function listRasterCollections($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsListResponse");
+ }
+ /**
+ * Mutate a raster collection asset. (rasterCollections.patch)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param Google_RasterCollection $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_RasterCollection $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Process a raster collection asset. (rasterCollections.process)
+ *
+ * @param string $id
+ * The ID of the raster collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
+}
+
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified raster collection.
+ * (parents.listRasterCollectionsParents)
+ *
+ * @param string $id
+ * The ID of the raster collection whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRasterCollectionsParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Remove rasters from an existing raster collection.
+ *
+ * Up to 50 rasters can be included in a single batchDelete request. Each
+ * batchDelete request is atomic. (rasters.batchDelete)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param Google_RasterCollectionsRasterBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse");
+ }
+ /**
+ * Add rasters to an existing raster collection. Rasters must be successfully
+ * processed in order to be added to a raster collection.
+ *
+ * Up to 50 rasters can be included in a single batchInsert request. Each
+ * batchInsert request is atomic. (rasters.batchInsert)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @param Google_RasterCollectionsRastersBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse
+ */
+ public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse");
+ }
+ /**
+ * Return all rasters within a raster collection.
+ * (rasters.listRasterCollectionsRasters)
+ *
+ * @param string $id
+ * The ID of the raster collection to which these rasters belong.
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
+ */
+ public function listRasterCollectionsRasters($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");
+ }
+}
+
+/**
+ * The "rasters" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $rasters = $mapsengineService->rasters;
+ *
+ */
+class Google_Service_MapsEngine_Rasters_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete a raster. (rasters.delete)
+ *
+ * @param string $id
+ * The ID of the raster. Only the raster creator or project owner are permitted to delete. If the
+ * raster is included in a layer or mosaic, the request will fail. Remove it from all parents prior
+ * to deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a single raster. (rasters.get)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Raster
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Raster");
+ }
+ /**
+ * Mutate a raster asset. (rasters.patch)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param Google_Raster $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Raster $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Create a skeleton raster asset for upload. (rasters.upload)
+ *
+ * @param Google_Raster $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Raster
+ */
+ public function upload(Google_Service_MapsEngine_Raster $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Raster");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_RastersFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a raster asset. (files.insert)
+ *
+ * @param string $id
+ * The ID of the raster asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_RastersParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified rasters. (parents.listRastersParents)
+ *
+ * @param string $id
+ * The ID of the rasters whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listRastersParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+/**
+ * The "tables" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $tables = $mapsengineService->tables;
+ *
+ */
+class Google_Service_MapsEngine_Tables_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create a table asset. (tables.create)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function create(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Delete a table. (tables.delete)
+ *
+ * @param string $id
+ * The ID of the table. Only the table creator or project owner are permitted to delete. If the
+ * table is included in a layer, the request will fail. Remove it from all layers prior to
+ * deleting.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Return metadata for a particular table, including the schema. (tables.get)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ *
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function get($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Table");
+ }
+ /**
+ * Return all tables readable by the current user. (tables.listTables)
+ *
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @return Google_Service_MapsEngine_TablesListResponse
+ */
+ public function listTables($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_TablesListResponse");
+ }
+ /**
+ * Mutate a table asset. (tables.patch)
+ *
+ * @param string $id
+ * The ID of the table.
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function patch($id, Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params));
+ }
+ /**
+ * Create a placeholder table asset to which table files can be uploaded. Once
+ * the placeholder has been created, files are uploaded to the
+ * https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files
+ * endpoint. See Table Upload in the Developer's Guide or Table.files: insert in
+ * the reference documentation for more information. (tables.upload)
+ *
+ * @param Google_Table $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Table
+ */
+ public function upload(Google_Service_MapsEngine_Table $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_MapsEngine_Table");
+ }
+}
+
+/**
+ * The "features" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $features = $mapsengineService->features;
+ *
+ */
+class Google_Service_MapsEngine_TablesFeatures_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete all features matching the given IDs. (features.batchDelete)
+ *
+ * @param string $id
+ * The ID of the table that contains the features to be deleted.
+ * @param Google_FeaturesBatchDeleteRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchDelete($id, Google_Service_MapsEngine_FeaturesBatchDeleteRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchDelete', array($params));
+ }
+ /**
+ * Append features to an existing table.
+ *
+ * A single batchInsert request can create:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * For more information about inserting features, read Creating features in the
+ * Google Maps Engine developer's guide. (features.batchInsert)
+ *
+ * @param string $id
+ * The ID of the table to append the features to.
+ * @param Google_FeaturesBatchInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchInsert($id, Google_Service_MapsEngine_FeaturesBatchInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchInsert', array($params));
+ }
+ /**
+ * Update the supplied features.
+ *
+ * A single batchPatch request can update:
+ *
+ * - Up to 50 features. - A combined total of 10 000 vertices. Feature limits
+ * are documented in the Supported data formats and limits article of the Google
+ * Maps Engine help center. Note that free and paid accounts have different
+ * limits.
+ *
+ * Feature updates use HTTP PATCH semantics:
+ *
+ * - A supplied value replaces an existing value (if any) in that field. -
+ * Omitted fields remain unchanged. - Complex values in geometries and
+ * properties must be replaced as atomic units. For example, providing just the
+ * coordinates of a geometry is not allowed; the complete geometry, including
+ * type, must be supplied. - Setting a property's value to null deletes that
+ * property. For more information about updating features, read Updating
+ * features in the Google Maps Engine developer's guide. (features.batchPatch)
+ *
+ * @param string $id
+ * The ID of the table containing the features to be patched.
+ * @param Google_FeaturesBatchPatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ */
+ public function batchPatch($id, Google_Service_MapsEngine_FeaturesBatchPatchRequest $postBody, $optParams = array())
+ {
+ $params = array('id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('batchPatch', array($params));
+ }
+ /**
+ * Return a single feature, given its ID. (features.get)
+ *
+ * @param string $tableId
+ * The ID of the table.
+ * @param string $id
+ * The ID of the feature to get.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_Feature
+ */
+ public function get($tableId, $id, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Feature");
+ }
+ /**
+ * Return all features readable by the current user.
+ * (features.listTablesFeatures)
+ *
+ * @param string $id
+ * The ID of the table to which these features belong.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy
+ * An SQL-like order by clause used to sort results. If this parameter is not included, the order
+ * of features is undefined.
+ * @opt_param string intersects
+ * A geometry literal that specifies the spatial restriction of the query.
+ * @opt_param string maxResults
+ * The maximum number of items to include in the response, used for paging. The maximum supported
+ * value is 1000.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string version
+ * The table version to access. See Accessing Public Data for information.
+ * @opt_param string limit
+ * The total number of features to return from the query, irrespective of the number of pages.
+ * @opt_param string include
+ * A comma separated list of optional data to include. Optional data available: schema.
+ * @opt_param string where
+ * An SQL-like predicate used to filter results.
+ * @opt_param string select
+ * A SQL-like projection clause used to specify returned properties. If this parameter is not
+ * included, all properties are returned.
+ * @return Google_Service_MapsEngine_FeaturesListResponse
+ */
+ public function listTablesFeatures($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_FeaturesListResponse");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $files = $mapsengineService->files;
+ *
+ */
+class Google_Service_MapsEngine_TablesFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Upload a file to a placeholder table asset. See Table Upload in the
+ * Developer's Guide for more information. Supported file types are listed in
+ * the Supported data formats and limits article of the Google Maps Engine help
+ * center. (files.insert)
+ *
+ * @param string $id
+ * The ID of the table asset.
+ * @param string $filename
+ * The file name of this uploaded file.
+ * @param array $optParams Optional parameters.
+ */
+ public function insert($id, $filename, $optParams = array())
+ {
+ $params = array('id' => $id, 'filename' => $filename);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params));
+ }
+}
+/**
+ * The "parents" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $parents = $mapsengineService->parents;
+ *
+ */
+class Google_Service_MapsEngine_TablesParents_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Return all parent ids of the specified table. (parents.listTablesParents)
+ *
+ * @param string $id
+ * The ID of the table whose parents will be listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_ParentsListResponse
+ */
+ public function listTablesParents($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_ParentsListResponse");
+ }
+}
+
+
+
+
+class Google_Service_MapsEngine_AcquisitionTime extends Google_Model
+{
+ public $end;
+ public $precision;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setPrecision($precision)
+ {
+ $this->precision = $precision;
+ }
+
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_MapsEngine_Asset extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $resource;
+ public $tags;
+ public $type;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection
+{
+ protected $assetsType = 'Google_Service_MapsEngine_Asset';
+ protected $assetsDataType = 'array';
+ public $nextPageToken;
+
+ public function setAssets($assets)
+ {
+ $this->assets = $assets;
+ }
+
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_Border extends Google_Model
+{
+ public $color;
+ public $opacity;
+ public $width;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_MapsEngine_Color extends Google_Model
+{
+ public $color;
+ public $opacity;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+}
+
+class Google_Service_MapsEngine_Datasource extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_DisplayRule extends Google_Collection
+{
+ protected $filtersType = 'Google_Service_MapsEngine_Filter';
+ protected $filtersDataType = 'array';
+ protected $lineOptionsType = 'Google_Service_MapsEngine_LineStyle';
+ protected $lineOptionsDataType = '';
+ public $name;
+ protected $pointOptionsType = 'Google_Service_MapsEngine_PointStyle';
+ protected $pointOptionsDataType = '';
+ protected $polygonOptionsType = 'Google_Service_MapsEngine_PolygonStyle';
+ protected $polygonOptionsDataType = '';
+ protected $zoomLevelsType = 'Google_Service_MapsEngine_ZoomLevels';
+ protected $zoomLevelsDataType = '';
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+
+ public function setLineOptions(Google_Service_MapsEngine_LineStyle $lineOptions)
+ {
+ $this->lineOptions = $lineOptions;
+ }
+
+ public function getLineOptions()
+ {
+ return $this->lineOptions;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setPointOptions(Google_Service_MapsEngine_PointStyle $pointOptions)
+ {
+ $this->pointOptions = $pointOptions;
+ }
+
+ public function getPointOptions()
+ {
+ return $this->pointOptions;
+ }
+
+ public function setPolygonOptions(Google_Service_MapsEngine_PolygonStyle $polygonOptions)
+ {
+ $this->polygonOptions = $polygonOptions;
+ }
+
+ public function getPolygonOptions()
+ {
+ return $this->polygonOptions;
+ }
+
+ public function setZoomLevels(Google_Service_MapsEngine_ZoomLevels $zoomLevels)
+ {
+ $this->zoomLevels = $zoomLevels;
+ }
+
+ public function getZoomLevels()
+ {
+ return $this->zoomLevels;
+ }
+}
+
+class Google_Service_MapsEngine_Feature extends Google_Model
+{
+ protected $geometryType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometryDataType = '';
+ public $properties;
+ public $type;
+
+ public function setGeometry(Google_Service_MapsEngine_GeoJsonGeometry $geometry)
+ {
+ $this->geometry = $geometry;
+ }
+
+ public function getGeometry()
+ {
+ return $this->geometry;
+ }
+
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_FeatureInfo extends Google_Model
+{
+ public $content;
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+
+ public function getContent()
+ {
+ return $this->content;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
+{
+ public $gxIds;
+ public $primaryKeys;
+
+ public function setGxIds($gxIds)
+ {
+ $this->gxIds = $gxIds;
+ }
+
+ public function getGxIds()
+ {
+ return $this->gxIds;
+ }
+
+ public function setPrimaryKeys($primaryKeys)
+ {
+ $this->primaryKeys = $primaryKeys;
+ }
+
+ public function getPrimaryKeys()
+ {
+ return $this->primaryKeys;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
+{
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+}
+
+class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
+{
+ public $allowedQueriesPerSecond;
+ protected $featuresType = 'Google_Service_MapsEngine_Feature';
+ protected $featuresDataType = 'array';
+ public $nextPageToken;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $type;
+
+ public function setAllowedQueriesPerSecond($allowedQueriesPerSecond)
+ {
+ $this->allowedQueriesPerSecond = $allowedQueriesPerSecond;
+ }
+
+ public function getAllowedQueriesPerSecond()
+ {
+ return $this->allowedQueriesPerSecond;
+ }
+
+ public function setFeatures($features)
+ {
+ $this->features = $features;
+ }
+
+ public function getFeatures()
+ {
+ return $this->features;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_Filter extends Google_Model
+{
+ public $column;
+ public $operator;
+ public $value;
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+
+ public function getColumn()
+ {
+ return $this->column;
+ }
+
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometry extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
+{
+ protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
+ protected $geometriesDataType = 'array';
+
+ public function setGeometries($geometries)
+ {
+ $this->geometries = $geometries;
+ }
+
+ public function getGeometries()
+ {
+ return $this->geometries;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
+{
+ public $coordinates;
+
+ public function setCoordinates($coordinates)
+ {
+ $this->coordinates = $coordinates;
+ }
+
+ public function getCoordinates()
+ {
+ return $this->coordinates;
+ }
+}
+
+class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_IconStyle extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_MapsEngine_LabelStyle extends Google_Model
+{
+ public $color;
+ public $column;
+ public $fontStyle;
+ public $fontWeight;
+ public $opacity;
+ protected $outlineType = 'Google_Service_MapsEngine_Color';
+ protected $outlineDataType = '';
+ public $size;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setColumn($column)
+ {
+ $this->column = $column;
+ }
+
+ public function getColumn()
+ {
+ return $this->column;
+ }
+
+ public function setFontStyle($fontStyle)
+ {
+ $this->fontStyle = $fontStyle;
+ }
+
+ public function getFontStyle()
+ {
+ return $this->fontStyle;
+ }
+
+ public function setFontWeight($fontWeight)
+ {
+ $this->fontWeight = $fontWeight;
+ }
+
+ public function getFontWeight()
+ {
+ return $this->fontWeight;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+
+ public function setOutline(Google_Service_MapsEngine_Color $outline)
+ {
+ $this->outline = $outline;
+ }
+
+ public function getOutline()
+ {
+ return $this->outline;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+}
+
+class Google_Service_MapsEngine_Layer extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $datasourceType;
+ protected $datasourcesType = 'Google_Service_MapsEngine_Datasource';
+ protected $datasourcesDataType = 'array';
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $styleType = 'Google_Service_MapsEngine_VectorStyle';
+ protected $styleDataType = '';
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDatasourceType($datasourceType)
+ {
+ $this->datasourceType = $datasourceType;
+ }
+
+ public function getDatasourceType()
+ {
+ return $this->datasourceType;
+ }
+
+ public function setDatasources(Google_Service_MapsEngine_Datasource $datasources)
+ {
+ $this->datasources = $datasources;
+ }
+
+ public function getDatasources()
+ {
+ return $this->datasources;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setStyle(Google_Service_MapsEngine_VectorStyle $style)
+ {
+ $this->style = $style;
+ }
+
+ public function getStyle()
+ {
+ return $this->style;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
+{
+ protected $layersType = 'Google_Service_MapsEngine_Layer';
+ protected $layersDataType = 'array';
+ public $nextPageToken;
+
+ public function setLayers($layers)
+ {
+ $this->layers = $layers;
+ }
+
+ public function getLayers()
+ {
+ return $this->layers;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_LineStyle extends Google_Collection
+{
+ protected $borderType = 'Google_Service_MapsEngine_Border';
+ protected $borderDataType = '';
+ public $dash;
+ protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+ protected $strokeType = 'Google_Service_MapsEngine_LineStyleStroke';
+ protected $strokeDataType = '';
+
+ public function setBorder(Google_Service_MapsEngine_Border $border)
+ {
+ $this->border = $border;
+ }
+
+ public function getBorder()
+ {
+ return $this->border;
+ }
+
+ public function setDash($dash)
+ {
+ $this->dash = $dash;
+ }
+
+ public function getDash()
+ {
+ return $this->dash;
+ }
+
+ public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+
+ public function setStroke(Google_Service_MapsEngine_LineStyleStroke $stroke)
+ {
+ $this->stroke = $stroke;
+ }
+
+ public function getStroke()
+ {
+ return $this->stroke;
+ }
+}
+
+class Google_Service_MapsEngine_LineStyleStroke extends Google_Model
+{
+ public $color;
+ public $opacity;
+ public $width;
+
+ public function setColor($color)
+ {
+ $this->color = $color;
+ }
+
+ public function getColor()
+ {
+ return $this->color;
+ }
+
+ public function setOpacity($opacity)
+ {
+ $this->opacity = $opacity;
+ }
+
+ public function getOpacity()
+ {
+ return $this->opacity;
+ }
+
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_MapsEngine_Map extends Google_Collection
+{
+ public $bbox;
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = '';
+ public $creationTime;
+ public $defaultViewport;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ public $tags;
+ public $versions;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setContents(Google_Service_MapsEngine_MapItem $contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function setVersions($versions)
+ {
+ $this->versions = $versions;
+ }
+
+ public function getVersions()
+ {
+ return $this->versions;
+ }
+}
+
+class Google_Service_MapsEngine_MapFolder extends Google_Collection
+{
+ protected $contentsType = 'Google_Service_MapsEngine_MapItem';
+ protected $contentsDataType = 'array';
+ public $defaultViewport;
+ public $expandable;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setContents($contents)
+ {
+ $this->contents = $contents;
+ }
+
+ public function getContents()
+ {
+ return $this->contents;
+ }
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setExpandable($expandable)
+ {
+ $this->expandable = $expandable;
+ }
+
+ public function getExpandable()
+ {
+ return $this->expandable;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapItem extends Google_Model
+{
+ public $type;
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_MapKmlLink extends Google_Collection
+{
+ public $defaultViewport;
+ public $kmlUrl;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setKmlUrl($kmlUrl)
+ {
+ $this->kmlUrl = $kmlUrl;
+ }
+
+ public function getKmlUrl()
+ {
+ return $this->kmlUrl;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapLayer extends Google_Collection
+{
+ public $defaultViewport;
+ public $id;
+ public $key;
+ public $name;
+ public $visibility;
+
+ public function setDefaultViewport($defaultViewport)
+ {
+ $this->defaultViewport = $defaultViewport;
+ }
+
+ public function getDefaultViewport()
+ {
+ return $this->defaultViewport;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
+{
+ protected $mapsType = 'Google_Service_MapsEngine_Map';
+ protected $mapsDataType = 'array';
+ public $nextPageToken;
+
+ public function setMaps($maps)
+ {
+ $this->maps = $maps;
+ }
+
+ public function getMaps()
+ {
+ return $this->maps;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_MapsEngine_MapsengineFile extends Google_Model
+{
+ public $filename;
+ public $size;
+ public $uploadStatus;
+
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
+ public function setSize($size)
+ {
+ $this->size = $size;
+ }
+
+ public function getSize()
+ {
+ return $this->size;
+ }
+
+ public function setUploadStatus($uploadStatus)
+ {
+ $this->uploadStatus = $uploadStatus;
+ }
+
+ public function getUploadStatus()
+ {
+ return $this->uploadStatus;
+ }
+}
+
+class Google_Service_MapsEngine_Parent extends Google_Model
+{
+ public $id;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $parentsType = 'Google_Service_MapsEngine_Parent';
+ protected $parentsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setParents($parents)
+ {
+ $this->parents = $parents;
+ }
+
+ public function getParents()
+ {
+ return $this->parents;
+ }
+}
+
+class Google_Service_MapsEngine_PointStyle extends Google_Model
+{
+ protected $iconType = 'Google_Service_MapsEngine_IconStyle';
+ protected $iconDataType = '';
+ protected $labelType = 'Google_Service_MapsEngine_LabelStyle';
+ protected $labelDataType = '';
+
+ public function setIcon(Google_Service_MapsEngine_IconStyle $icon)
+ {
+ $this->icon = $icon;
+ }
+
+ public function getIcon()
+ {
+ return $this->icon;
+ }
+
+ public function setLabel(Google_Service_MapsEngine_LabelStyle $label)
+ {
+ $this->label = $label;
+ }
+
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
+class Google_Service_MapsEngine_PolygonStyle extends Google_Model
+{
+ protected $fillType = 'Google_Service_MapsEngine_Color';
+ protected $fillDataType = '';
+ protected $strokeType = 'Google_Service_MapsEngine_Border';
+ protected $strokeDataType = '';
+
+ public function setFill(Google_Service_MapsEngine_Color $fill)
+ {
+ $this->fill = $fill;
+ }
+
+ public function getFill()
+ {
+ return $this->fill;
+ }
+
+ public function setStroke(Google_Service_MapsEngine_Border $stroke)
+ {
+ $this->stroke = $stroke;
+ }
+
+ public function getStroke()
+ {
+ return $this->stroke;
+ }
+}
+
+class Google_Service_MapsEngine_ProcessResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_Project extends Google_Model
+{
+ public $id;
+ public $name;
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
+{
+ protected $projectsType = 'Google_Service_MapsEngine_Project';
+ protected $projectsDataType = 'array';
+
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Google_Service_MapsEngine_PublishResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_Raster extends Google_Collection
+{
+ protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
+ protected $acquisitionTimeDataType = '';
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $maskType;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAcquisitionTime(Google_Service_MapsEngine_AcquisitionTime $acquisitionTime)
+ {
+ $this->acquisitionTime = $acquisitionTime;
+ }
+
+ public function getAcquisitionTime()
+ {
+ return $this->acquisitionTime;
+ }
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMaskType($maskType)
+ {
+ $this->maskType = $maskType;
+ }
+
+ public function getMaskType()
+ {
+ return $this->maskType;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollection extends Google_Collection
+{
+ public $attribution;
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ public $id;
+ public $lastModifiedTime;
+ public $mosaic;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setAttribution($attribution)
+ {
+ $this->attribution = $attribution;
+ }
+
+ public function getAttribution()
+ {
+ return $this->attribution;
+ }
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setMosaic($mosaic)
+ {
+ $this->mosaic = $mosaic;
+ }
+
+ public function getMosaic()
+ {
+ return $this->mosaic;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
+ protected $rasterCollectionsDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasterCollections($rasterCollections)
+ {
+ $this->rasterCollections = $rasterCollections;
+ }
+
+ public function getRasterCollections()
+ {
+ return $this->rasterCollections;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $projectId;
+ public $rasterType;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setRasterType($rasterType)
+ {
+ $this->rasterType = $rasterType;
+ }
+
+ public function getRasterType()
+ {
+ return $this->rasterType;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
+{
+ public $ids;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Google_Collection
+{
+ public $ids;
+
+ public function setIds($ids)
+ {
+ $this->ids = $ids;
+ }
+
+ public function getIds()
+ {
+ return $this->ids;
+ }
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse extends Google_Model
+{
+
+}
+
+class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
+ protected $rastersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
+class Google_Service_MapsEngine_Schema extends Google_Collection
+{
+ protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
+ protected $columnsDataType = 'array';
+ public $primaryGeometry;
+ public $primaryKey;
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+
+ public function setPrimaryGeometry($primaryGeometry)
+ {
+ $this->primaryGeometry = $primaryGeometry;
+ }
+
+ public function getPrimaryGeometry()
+ {
+ return $this->primaryGeometry;
+ }
+
+ public function setPrimaryKey($primaryKey)
+ {
+ $this->primaryKey = $primaryKey;
+ }
+
+ public function getPrimaryKey()
+ {
+ return $this->primaryKey;
+ }
+}
+
+class Google_Service_MapsEngine_Table extends Google_Collection
+{
+ public $bbox;
+ public $creationTime;
+ public $description;
+ public $draftAccessList;
+ public $etag;
+ protected $filesType = 'Google_Service_MapsEngine_MapsengineFile';
+ protected $filesDataType = 'array';
+ public $id;
+ public $lastModifiedTime;
+ public $name;
+ public $processingStatus;
+ public $projectId;
+ public $publishedAccessList;
+ protected $schemaType = 'Google_Service_MapsEngine_Schema';
+ protected $schemaDataType = '';
+ public $sourceEncoding;
+ public $tags;
+
+ public function setBbox($bbox)
+ {
+ $this->bbox = $bbox;
+ }
+
+ public function getBbox()
+ {
+ return $this->bbox;
+ }
+
+ public function setCreationTime($creationTime)
+ {
+ $this->creationTime = $creationTime;
+ }
+
+ public function getCreationTime()
+ {
+ return $this->creationTime;
+ }
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setDraftAccessList($draftAccessList)
+ {
+ $this->draftAccessList = $draftAccessList;
+ }
+
+ public function getDraftAccessList()
+ {
+ return $this->draftAccessList;
+ }
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ public function setFiles($files)
+ {
+ $this->files = $files;
+ }
+
+ public function getFiles()
+ {
+ return $this->files;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProcessingStatus($processingStatus)
+ {
+ $this->processingStatus = $processingStatus;
+ }
+
+ public function getProcessingStatus()
+ {
+ return $this->processingStatus;
+ }
+
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+
+ public function setPublishedAccessList($publishedAccessList)
+ {
+ $this->publishedAccessList = $publishedAccessList;
+ }
+
+ public function getPublishedAccessList()
+ {
+ return $this->publishedAccessList;
+ }
+
+ public function setSchema(Google_Service_MapsEngine_Schema $schema)
+ {
+ $this->schema = $schema;
+ }
+
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function setSourceEncoding($sourceEncoding)
+ {
+ $this->sourceEncoding = $sourceEncoding;
+ }
+
+ public function getSourceEncoding()
+ {
+ return $this->sourceEncoding;
+ }
+
+ public function setTags($tags)
+ {
+ $this->tags = $tags;
+ }
+
+ public function getTags()
+ {
+ return $this->tags;
+ }
+}
+
+class Google_Service_MapsEngine_TableColumn extends Google_Model
+{
+ public $name;
+ public $type;
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $tablesType = 'Google_Service_MapsEngine_Table';
+ protected $tablesDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
+
+class Google_Service_MapsEngine_VectorStyle extends Google_Collection
+{
+ protected $displayRulesType = 'Google_Service_MapsEngine_DisplayRule';
+ protected $displayRulesDataType = 'array';
+ protected $featureInfoType = 'Google_Service_MapsEngine_FeatureInfo';
+ protected $featureInfoDataType = '';
+ public $type;
+
+ public function setDisplayRules($displayRules)
+ {
+ $this->displayRules = $displayRules;
+ }
+
+ public function getDisplayRules()
+ {
+ return $this->displayRules;
+ }
+
+ public function setFeatureInfo(Google_Service_MapsEngine_FeatureInfo $featureInfo)
+ {
+ $this->featureInfo = $featureInfo;
+ }
+
+ public function getFeatureInfo()
+ {
+ return $this->featureInfo;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_MapsEngine_ZoomLevels extends Google_Model
+{
+ public $max;
+ public $min;
+
+ public function setMax($max)
+ {
+ $this->max = $max;
+ }
+
+ public function getMax()
+ {
+ return $this->max;
+ }
+
+ public function setMin($min)
+ {
+ $this->min = $min;
+ }
+
+ public function getMin()
+ {
+ return $this->min;
+ }
+}
From 6a19712f0bac10753310e2064facd084d7c0f8e0 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 6 Aug 2014 01:06:14 -0700
Subject: [PATCH 0194/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 212 ++++++++++++++++++++++++++++++++
1 file changed, 212 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 958850791..b568ca9d7 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -47,6 +47,7 @@ class Google_Service_Genomics extends Google_Service
public $jobs;
public $reads;
public $readsets;
+ public $readsets_coveragebuckets;
public $variants;
@@ -357,6 +358,50 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->readsets_coveragebuckets = new Google_Service_Genomics_ReadsetsCoveragebuckets_Resource(
+ $this,
+ $this->serviceName,
+ 'coveragebuckets',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'readsets/{readsetId}/coveragebuckets',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'readsetId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'range.sequenceStart' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'range.sequenceName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'targetBucketWidth' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'range.sequenceEnd' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
$this->variants = new Google_Service_Genomics_Variants_Resource(
$this,
$this->serviceName,
@@ -935,6 +980,60 @@ public function update($readsetId, Google_Service_Genomics_Readset $postBody, $o
}
}
+/**
+ * The "coveragebuckets" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $coveragebuckets = $genomicsService->coveragebuckets;
+ *
+ */
+class Google_Service_Genomics_ReadsetsCoveragebuckets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists fixed width coverage buckets for a readset, each of which correspond to
+ * a range of a reference sequence. Each bucket summarizes coverage information
+ * across its corresponding genomic range. Coverage is defined as the number of
+ * reads which are aligned to a given base in the reference sequence. Coverage
+ * buckets are available at various bucket widths, enabling various coverage
+ * "zoom levels". The caller must have READ permissions for the target readset.
+ * (coveragebuckets.listReadsetsCoveragebuckets)
+ *
+ * @param string $readsetId
+ * Required. The ID of the readset over which coverage is requested.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string range.sequenceStart
+ * The start position of the range on the reference, 1-based inclusive. If specified, sequenceName
+ * must also be specified.
+ * @opt_param string maxResults
+ * The maximum number of results to return in a single page. If unspecified, defaults to 1024. The
+ * maximum value is 2048.
+ * @opt_param string range.sequenceName
+ * The reference sequence name, for example "chr1", "1", or "chrX".
+ * @opt_param string pageToken
+ * The continuation token, which is used to page through large result sets. To get the next page of
+ * results, set this parameter to the value of "nextPageToken" from the previous response.
+ * @opt_param string targetBucketWidth
+ * The desired width of each reported coverage bucket in base pairs. This will be rounded down to
+ * the nearest precomputed bucket width; the value of which is returned as bucket_width in the
+ * response. Defaults to infinity (each bucket spans an entire reference sequence) or the length of
+ * the target range, if specified. The smallest precomputed bucket_width is currently 2048 base
+ * pairs; this is subject to change.
+ * @opt_param string range.sequenceEnd
+ * The end position of the range on the reference, 1-based exclusive. If specified, sequenceName
+ * must also be specified.
+ * @return Google_Service_Genomics_ListCoverageBucketsResponse
+ */
+ public function listReadsetsCoveragebuckets($readsetId, $optParams = array())
+ {
+ $params = array('readsetId' => $readsetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Genomics_ListCoverageBucketsResponse");
+ }
+}
+
/**
* The "variants" collection of methods.
* Typical usage is:
@@ -1256,6 +1355,33 @@ public function getUpperBound()
}
}
+class Google_Service_Genomics_CoverageBucket extends Google_Model
+{
+ public $meanCoverage;
+ protected $rangeType = 'Google_Service_Genomics_GenomicRange';
+ protected $rangeDataType = '';
+
+ public function setMeanCoverage($meanCoverage)
+ {
+ $this->meanCoverage = $meanCoverage;
+ }
+
+ public function getMeanCoverage()
+ {
+ return $this->meanCoverage;
+ }
+
+ public function setRange(Google_Service_Genomics_GenomicRange $range)
+ {
+ $this->range = $range;
+ }
+
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
+
class Google_Service_Genomics_Dataset extends Google_Model
{
public $id;
@@ -1526,6 +1652,43 @@ public function getJobId()
}
}
+class Google_Service_Genomics_GenomicRange extends Google_Model
+{
+ public $sequenceEnd;
+ public $sequenceName;
+ public $sequenceStart;
+
+ public function setSequenceEnd($sequenceEnd)
+ {
+ $this->sequenceEnd = $sequenceEnd;
+ }
+
+ public function getSequenceEnd()
+ {
+ return $this->sequenceEnd;
+ }
+
+ public function setSequenceName($sequenceName)
+ {
+ $this->sequenceName = $sequenceName;
+ }
+
+ public function getSequenceName()
+ {
+ return $this->sequenceName;
+ }
+
+ public function setSequenceStart($sequenceStart)
+ {
+ $this->sequenceStart = $sequenceStart;
+ }
+
+ public function getSequenceStart()
+ {
+ return $this->sequenceStart;
+ }
+}
+
class Google_Service_Genomics_GetVariantsSummaryResponse extends Google_Collection
{
protected $contigBoundsType = 'Google_Service_Genomics_ContigBound';
@@ -1584,6 +1747,7 @@ class Google_Service_Genomics_HeaderSection extends Google_Collection
{
public $comments;
public $fileUri;
+ public $filename;
protected $headersType = 'Google_Service_Genomics_Header';
protected $headersDataType = 'array';
protected $programsType = 'Google_Service_Genomics_Program';
@@ -1613,6 +1777,16 @@ public function getFileUri()
return $this->fileUri;
}
+ public function setFilename($filename)
+ {
+ $this->filename = $filename;
+ }
+
+ public function getFilename()
+ {
+ return $this->filename;
+ }
+
public function setHeaders($headers)
{
$this->headers = $headers;
@@ -1828,6 +2002,44 @@ public function getWarnings()
}
}
+class Google_Service_Genomics_ListCoverageBucketsResponse extends Google_Collection
+{
+ public $bucketWidth;
+ protected $coverageBucketsType = 'Google_Service_Genomics_CoverageBucket';
+ protected $coverageBucketsDataType = 'array';
+ public $nextPageToken;
+
+ public function setBucketWidth($bucketWidth)
+ {
+ $this->bucketWidth = $bucketWidth;
+ }
+
+ public function getBucketWidth()
+ {
+ return $this->bucketWidth;
+ }
+
+ public function setCoverageBuckets($coverageBuckets)
+ {
+ $this->coverageBuckets = $coverageBuckets;
+ }
+
+ public function getCoverageBuckets()
+ {
+ return $this->coverageBuckets;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Genomics_ListDatasetsResponse extends Google_Collection
{
protected $datasetsType = 'Google_Service_Genomics_Dataset';
From e0d22f40d135c210bf3cf5f098088413a6d966cf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:54 -0700
Subject: [PATCH 0195/1371] Updated Compute.php
---
src/Google/Service/Compute.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index 0d21c71b4..4d704e4cb 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -6150,6 +6150,7 @@ class Google_Service_Compute_BackendService extends Google_Collection
public $kind;
public $name;
public $port;
+ public $portName;
public $protocol;
public $selfLink;
public $timeoutSec;
@@ -6244,6 +6245,16 @@ public function getPort()
return $this->port;
}
+ public function setPortName($portName)
+ {
+ $this->portName = $portName;
+ }
+
+ public function getPortName()
+ {
+ return $this->portName;
+ }
+
public function setProtocol($protocol)
{
$this->protocol = $protocol;
From 53cf94c87fe6a7c11711c126bb5fb08fd5ecc306 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:54 -0700
Subject: [PATCH 0196/1371] Updated Fusiontables.php
---
src/Google/Service/Fusiontables.php | 236 ++++++++++++++++++++++++++++
1 file changed, 236 insertions(+)
diff --git a/src/Google/Service/Fusiontables.php b/src/Google/Service/Fusiontables.php
index c9b64e5c1..ffa01bd10 100644
--- a/src/Google/Service/Fusiontables.php
+++ b/src/Google/Service/Fusiontables.php
@@ -40,6 +40,7 @@ class Google_Service_Fusiontables extends Google_Service
public $query;
public $style;
public $table;
+ public $task;
public $template;
@@ -434,6 +435,68 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->task = new Google_Service_Fusiontables_Task_Resource(
+ $this,
+ $this->serviceName,
+ 'task',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'tables/{tableId}/tasks/{taskId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'tables/{tableId}/tasks/{taskId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'taskId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'tables/{tableId}/tasks',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'tableId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'startIndex' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
$this->template = new Google_Service_Fusiontables_Template_Resource(
$this,
$this->serviceName,
@@ -998,6 +1061,71 @@ public function update($tableId, Google_Service_Fusiontables_Table $postBody, $o
}
}
+/**
+ * The "task" collection of methods.
+ * Typical usage is:
+ *
+ * $fusiontablesService = new Google_Service_Fusiontables(...);
+ * $task = $fusiontablesService->task;
+ *
+ */
+class Google_Service_Fusiontables_Task_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the task, unless already started. (task.delete)
+ *
+ * @param string $tableId
+ * Table from which the task is being deleted.
+ * @param string $taskId
+ *
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($tableId, $taskId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'taskId' => $taskId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+ /**
+ * Retrieves a specific task by its id. (task.get)
+ *
+ * @param string $tableId
+ * Table to which the task belongs.
+ * @param string $taskId
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fusiontables_Task
+ */
+ public function get($tableId, $taskId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId, 'taskId' => $taskId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Fusiontables_Task");
+ }
+ /**
+ * Retrieves a list of tasks. (task.listTask)
+ *
+ * @param string $tableId
+ * Table whose tasks are being listed.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ *
+ * @opt_param string startIndex
+ *
+ * @opt_param string maxResults
+ * Maximum number of columns to return. Optional. Default is 5.
+ * @return Google_Service_Fusiontables_TaskList
+ */
+ public function listTask($tableId, $optParams = array())
+ {
+ $params = array('tableId' => $tableId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Fusiontables_TaskList");
+ }
+}
+
/**
* The "template" collection of methods.
* Typical usage is:
@@ -2102,6 +2230,114 @@ public function getNextPageToken()
}
}
+class Google_Service_Fusiontables_Task extends Google_Model
+{
+ public $kind;
+ public $progress;
+ public $started;
+ public $taskId;
+ public $type;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+
+ public function setStarted($started)
+ {
+ $this->started = $started;
+ }
+
+ public function getStarted()
+ {
+ return $this->started;
+ }
+
+ public function setTaskId($taskId)
+ {
+ $this->taskId = $taskId;
+ }
+
+ public function getTaskId()
+ {
+ return $this->taskId;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Fusiontables_TaskList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_Fusiontables_Task';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $totalItems;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setTotalItems($totalItems)
+ {
+ $this->totalItems = $totalItems;
+ }
+
+ public function getTotalItems()
+ {
+ return $this->totalItems;
+ }
+}
+
class Google_Service_Fusiontables_Template extends Google_Collection
{
public $automaticColumnNames;
From 04d19e7238b3198014e4cc36690e567e650d1015 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:55 -0700
Subject: [PATCH 0197/1371] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 34 +++++++++++++++++++++++---
1 file changed, 31 insertions(+), 3 deletions(-)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index 5780318b9..09e89565f 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -1532,7 +1532,8 @@ class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Mod
{
public $deliveryLocationGroup;
public $deliveryLocationId;
- public $deliveryPostalCode;
+ protected $deliveryPostalCodeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $deliveryPostalCodeDataType = '';
protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
protected $priceMaxDataType = '';
public $shippingLabel;
@@ -1559,7 +1560,7 @@ public function getDeliveryLocationId()
return $this->deliveryLocationId;
}
- public function setDeliveryPostalCode($deliveryPostalCode)
+ public function setDeliveryPostalCode(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCode)
{
$this->deliveryPostalCode = $deliveryPostalCode;
}
@@ -1605,7 +1606,8 @@ class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google
public $country;
public $locationIds;
public $name;
- public $postalCodes;
+ protected $postalCodesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $postalCodesDataType = 'array';
public function setCountry($country)
{
@@ -1648,6 +1650,32 @@ public function getPostalCodes()
}
}
+class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
+{
+ public $end;
+ public $start;
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
{
protected $contentsType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
From a3b552de85e652fb6836503e428d76edda726987 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 8 Aug 2014 01:07:55 -0700
Subject: [PATCH 0198/1371] Updated AdExchangeBuyer.php
---
src/Google/Service/AdExchangeBuyer.php | 143 ++++++++++++++++++++++++-
1 file changed, 142 insertions(+), 1 deletion(-)
diff --git a/src/Google/Service/AdExchangeBuyer.php b/src/Google/Service/AdExchangeBuyer.php
index afb05a2f4..533b9b2fd 100644
--- a/src/Google/Service/AdExchangeBuyer.php
+++ b/src/Google/Service/AdExchangeBuyer.php
@@ -19,7 +19,7 @@
* Service definition for AdExchangeBuyer (v1.3).
*
*
- * Lets you manage your Ad Exchange Buyer account.
+ * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.
*
*
*
@@ -35,6 +35,7 @@ class Google_Service_AdExchangeBuyer extends Google_Service
const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer";
public $accounts;
+ public $billingInfo;
public $creatives;
public $directDeals;
public $performanceReport;
@@ -97,6 +98,30 @@ public function __construct(Google_Client $client)
)
)
);
+ $this->billingInfo = new Google_Service_AdExchangeBuyer_BillingInfo_Resource(
+ $this,
+ $this->serviceName,
+ 'billingInfo',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'billinginfo/{accountId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'accountId' => array(
+ 'location' => 'path',
+ 'type' => 'integer',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'billinginfo',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
$this->creatives = new Google_Service_AdExchangeBuyer_Creatives_Resource(
$this,
$this->serviceName,
@@ -379,6 +404,47 @@ public function update($id, Google_Service_AdExchangeBuyer_Account $postBody, $o
}
}
+/**
+ * The "billingInfo" collection of methods.
+ * Typical usage is:
+ *
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $billingInfo = $adexchangebuyerService->billingInfo;
+ *
+ */
+class Google_Service_AdExchangeBuyer_BillingInfo_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the billing information for one account specified by account ID.
+ * (billingInfo.get)
+ *
+ * @param int $accountId
+ * The account id.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_BillingInfo
+ */
+ public function get($accountId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_BillingInfo");
+ }
+ /**
+ * Retrieves a list of billing information for all accounts of the authenticated
+ * user. (billingInfo.listBillingInfo)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_BillingInfoList
+ */
+ public function listBillingInfo($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AdExchangeBuyer_BillingInfoList");
+ }
+}
+
/**
* The "creatives" collection of methods.
* Typical usage is:
@@ -772,6 +838,81 @@ public function getKind()
}
}
+class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
+{
+ public $accountId;
+ public $accountName;
+ public $billingId;
+ public $kind;
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+
+ public function setAccountName($accountName)
+ {
+ $this->accountName = $accountName;
+ }
+
+ public function getAccountName()
+ {
+ return $this->accountName;
+ }
+
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
+{
+ protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+
+ public function getItems()
+ {
+ return $this->items;
+ }
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
public $hTMLSnippet;
From a97daa4273a55a3f656617a292630fef50e7a1e6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 9 Aug 2014 01:09:06 -0700
Subject: [PATCH 0199/1371] Added service CloudMonitoring.php
---
src/Google/Service/CloudMonitoring.php | 974 +++++++++++++++++++++++++
1 file changed, 974 insertions(+)
create mode 100644 src/Google/Service/CloudMonitoring.php
diff --git a/src/Google/Service/CloudMonitoring.php b/src/Google/Service/CloudMonitoring.php
new file mode 100644
index 000000000..03fca0ff9
--- /dev/null
+++ b/src/Google/Service/CloudMonitoring.php
@@ -0,0 +1,974 @@
+
+ * API for accessing Google Cloud and API monitoring data.
+ *
+ *
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
+ *
+ * @author Google, Inc.
+ */
+class Google_Service_CloudMonitoring extends Google_Service
+{
+ /** View monitoring data for all of your Google Cloud and API projects. */
+ const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly";
+
+ public $metricDescriptors;
+ public $timeseries;
+ public $timeseriesDescriptors;
+
+
+ /**
+ * Constructs the internal representation of the CloudMonitoring service.
+ *
+ * @param Google_Client $client
+ */
+ public function __construct(Google_Client $client)
+ {
+ parent::__construct($client);
+ $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
+ $this->version = 'v2beta1';
+ $this->serviceName = 'cloudmonitoring';
+
+ $this->metricDescriptors = new Google_Service_CloudMonitoring_MetricDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'metricDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/metricDescriptors',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'query' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseries = new Google_Service_CloudMonitoring_Timeseries_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseries',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseries/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->timeseriesDescriptors = new Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource(
+ $this,
+ $this->serviceName,
+ 'timeseriesDescriptors',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => '{project}/timeseriesDescriptors/{metric}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'metric' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'youngest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'count' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'timespan' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'labels' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'oldest' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "metricDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
+ *
+ */
+class Google_Service_CloudMonitoring_MetricDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List metric descriptors that match the query. If the query is not set, then
+ * all of the metric descriptors will be returned. Large responses will be
+ * paginated, use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
+ *
+ * @param string $project
+ * The project id. The value can be the numeric project ID or string-based project name.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of metric descriptors per page. Used for pagination. If not specified, count =
+ * 100.
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string query
+ * The query used to search against existing metrics. Separate keywords with a space; the service
+ * joins all keywords with AND, meaning that all keywords must match for a metric to be returned.
+ * If this field is omitted, all metrics are returned. If an empty string is passed with this
+ * field, no metrics are returned.
+ * @return Google_Service_CloudMonitoring_ListMetricDescriptorsResponse
+ */
+ public function listMetricDescriptors($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListMetricDescriptorsResponse");
+ }
+}
+
+/**
+ * The "timeseries" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $timeseries = $cloudmonitoringService->timeseries;
+ *
+ */
+class Google_Service_CloudMonitoring_Timeseries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the data points of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseries.listTimeseries)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of data points per page, which is used for pagination of results.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_CloudMonitoring_ListTimeseriesResponse
+ */
+ public function listTimeseries($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesResponse");
+ }
+}
+
+/**
+ * The "timeseriesDescriptors" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
+ * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
+ *
+ */
+class Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List the descriptors of the time series that match the metric and labels
+ * values and that have data points in the interval. Large responses are
+ * paginated; use the nextPageToken returned in the response to request
+ * subsequent pages of results by setting the pageToken query parameter to the
+ * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
+ *
+ * @param string $project
+ * The project ID to which this time series belongs. The value can be the numeric project ID or
+ * string-based project name.
+ * @param string $metric
+ * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
+ * compute.googleapis.com/instance/disk/read_ops_count.
+ * @param string $youngest
+ * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int count
+ * Maximum number of time series descriptors per page. Used for pagination. If not specified, count
+ * = 100.
+ * @opt_param string timespan
+ * Length of the time interval to query, which is an alternative way to declare the interval:
+ * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
+ * Units:
+ - s: second
+ - m: minute
+ - h: hour
+ - d: day
+ - w: week Examples: 2s, 3m, 4w. Only
+ * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
+ If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest].
+ * @opt_param string labels
+ * A collection of labels for the matching time series, which are represented as:
+ - key==value:
+ * key equals the value
+ - key=~value: key regex matches the value
+ - key!=value: key does not
+ * equal the value
+ - key!~value: key regex does not match the value For example, to list all of
+ * the time series descriptors for the region us-central1, you could specify:
+ * label=cloud.googleapis.com%2Flocation=~us-central1.*
+ * @opt_param string pageToken
+ * The pagination token, which is used to page through large result sets. Set this value to the
+ * value of the nextPageToken to retrieve the next page of results.
+ * @opt_param string oldest
+ * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
+ * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
+ * youngest]
+ * @return Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse
+ */
+ public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
+ {
+ $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse");
+ }
+}
+
+
+
+
+class Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ protected $metricsType = 'Google_Service_CloudMonitoring_MetricDescriptor';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesRequest extends Google_Model
+{
+ public $kind;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_CloudMonitoring_ListTimeseriesResponse extends Google_Collection
+{
+ public $kind;
+ public $nextPageToken;
+ public $oldest;
+ protected $timeseriesType = 'Google_Service_CloudMonitoring_Timeseries';
+ protected $timeseriesDataType = 'array';
+ public $youngest;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setOldest($oldest)
+ {
+ $this->oldest = $oldest;
+ }
+
+ public function getOldest()
+ {
+ return $this->oldest;
+ }
+
+ public function setTimeseries($timeseries)
+ {
+ $this->timeseries = $timeseries;
+ }
+
+ public function getTimeseries()
+ {
+ return $this->timeseries;
+ }
+
+ public function setYoungest($youngest)
+ {
+ $this->youngest = $youngest;
+ }
+
+ public function getYoungest()
+ {
+ return $this->youngest;
+ }
+}
+
+class Google_Service_CloudMonitoring_MetricDescriptor extends Google_Collection
+{
+ public $description;
+ protected $labelsType = 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor';
+ protected $labelsDataType = 'array';
+ public $name;
+ public $project;
+ protected $typeDescriptorType = 'Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor';
+ protected $typeDescriptorDataType = '';
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ public function setTypeDescriptor(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
+ {
+ $this->typeDescriptor = $typeDescriptor;
+ }
+
+ public function getTypeDescriptor()
+ {
+ return $this->typeDescriptor;
+ }
+}
+
+class Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor extends Google_Model
+{
+ public $description;
+ public $key;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor extends Google_Model
+{
+ public $metricType;
+ public $valueType;
+
+ public function setMetricType($metricType)
+ {
+ $this->metricType = $metricType;
+ }
+
+ public function getMetricType()
+ {
+ return $this->metricType;
+ }
+
+ public function setValueType($valueType)
+ {
+ $this->valueType = $valueType;
+ }
+
+ public function getValueType()
+ {
+ return $this->valueType;
+ }
+}
+
+class Google_Service_CloudMonitoring_Point extends Google_Model
+{
+ public $boolValue;
+ protected $distributionValueType = 'Google_Service_CloudMonitoring_PointDistribution';
+ protected $distributionValueDataType = '';
+ public $doubleValue;
+ public $end;
+ public $int64Value;
+ public $start;
+ public $stringValue;
+
+ public function setBoolValue($boolValue)
+ {
+ $this->boolValue = $boolValue;
+ }
+
+ public function getBoolValue()
+ {
+ return $this->boolValue;
+ }
+
+ public function setDistributionValue(Google_Service_CloudMonitoring_PointDistribution $distributionValue)
+ {
+ $this->distributionValue = $distributionValue;
+ }
+
+ public function getDistributionValue()
+ {
+ return $this->distributionValue;
+ }
+
+ public function setDoubleValue($doubleValue)
+ {
+ $this->doubleValue = $doubleValue;
+ }
+
+ public function getDoubleValue()
+ {
+ return $this->doubleValue;
+ }
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+
+ public function getEnd()
+ {
+ return $this->end;
+ }
+
+ public function setInt64Value($int64Value)
+ {
+ $this->int64Value = $int64Value;
+ }
+
+ public function getInt64Value()
+ {
+ return $this->int64Value;
+ }
+
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+
+ public function getStart()
+ {
+ return $this->start;
+ }
+
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistribution extends Google_Collection
+{
+ protected $bucketsType = 'Google_Service_CloudMonitoring_PointDistributionBucket';
+ protected $bucketsDataType = 'array';
+ protected $overflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket';
+ protected $overflowBucketDataType = '';
+ protected $underflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionUnderflowBucket';
+ protected $underflowBucketDataType = '';
+
+ public function setBuckets($buckets)
+ {
+ $this->buckets = $buckets;
+ }
+
+ public function getBuckets()
+ {
+ return $this->buckets;
+ }
+
+ public function setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket)
+ {
+ $this->overflowBucket = $overflowBucket;
+ }
+
+ public function getOverflowBucket()
+ {
+ return $this->overflowBucket;
+ }
+
+ public function setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket)
+ {
+ $this->underflowBucket = $underflowBucket;
+ }
+
+ public function getUnderflowBucket()
+ {
+ return $this->underflowBucket;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistributionBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistributionOverflowBucket extends Google_Model
+{
+ public $count;
+ public $lowerBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setLowerBound($lowerBound)
+ {
+ $this->lowerBound = $lowerBound;
+ }
+
+ public function getLowerBound()
+ {
+ return $this->lowerBound;
+ }
+}
+
+class Google_Service_CloudMonitoring_PointDistributionUnderflowBucket extends Google_Model
+{
+ public $count;
+ public $upperBound;
+
+ public function setCount($count)
+ {
+ $this->count = $count;
+ }
+
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ public function setUpperBound($upperBound)
+ {
+ $this->upperBound = $upperBound;
+ }
+
+ public function getUpperBound()
+ {
+ return $this->upperBound;
+ }
+}
+
+class Google_Service_CloudMonitoring_Timeseries extends Google_Collection
+{
+ protected $pointsType = 'Google_Service_CloudMonitoring_Point';
+ protected $pointsDataType = 'array';
+ protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
+ protected $timeseriesDescDataType = '';
+
+ public function setPoints($points)
+ {
+ $this->points = $points;
+ }
+
+ public function getPoints()
+ {
+ return $this->points;
+ }
+
+ public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)
+ {
+ $this->timeseriesDesc = $timeseriesDesc;
+ }
+
+ public function getTimeseriesDesc()
+ {
+ return $this->timeseriesDesc;
+ }
+}
+
+class Google_Service_CloudMonitoring_TimeseriesDescriptor extends Google_Model
+{
+ public $labels;
+ public $metric;
+ public $project;
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
+
+class Google_Service_CloudMonitoring_TimeseriesDescriptorLabels extends Google_Model
+{
+
+}
From 4ae272683e18888362e1f935b813e345b99e23b8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Sat, 9 Aug 2014 01:09:06 -0700
Subject: [PATCH 0200/1371] Removed Cloudmonitoring.php
---
src/Google/Service/Cloudmonitoring.php | 974 -------------------------
1 file changed, 974 deletions(-)
delete mode 100644 src/Google/Service/Cloudmonitoring.php
diff --git a/src/Google/Service/Cloudmonitoring.php b/src/Google/Service/Cloudmonitoring.php
deleted file mode 100644
index 48f5ca9b3..000000000
--- a/src/Google/Service/Cloudmonitoring.php
+++ /dev/null
@@ -1,974 +0,0 @@
-
- * API for accessing Google Cloud and API monitoring data.
- *
- *
- *
- * For more information about this service, see the API
- * Documentation
- *
- *
- * @author Google, Inc.
- */
-class Google_Service_Cloudmonitoring extends Google_Service
-{
- /** View monitoring data for all of your Google Cloud and API projects. */
- const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly";
-
- public $metricDescriptors;
- public $timeseries;
- public $timeseriesDescriptors;
-
-
- /**
- * Constructs the internal representation of the Cloudmonitoring service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->servicePath = 'cloudmonitoring/v2beta1/projects/';
- $this->version = 'v2beta1';
- $this->serviceName = 'cloudmonitoring';
-
- $this->metricDescriptors = new Google_Service_Cloudmonitoring_MetricDescriptors_Resource(
- $this,
- $this->serviceName,
- 'metricDescriptors',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => '{project}/metricDescriptors',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'count' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'query' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->timeseries = new Google_Service_Cloudmonitoring_Timeseries_Resource(
- $this,
- $this->serviceName,
- 'timeseries',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => '{project}/timeseries/{metric}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metric' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'youngest' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'count' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'timespan' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'oldest' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->timeseriesDescriptors = new Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource(
- $this,
- $this->serviceName,
- 'timeseriesDescriptors',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => '{project}/timeseriesDescriptors/{metric}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'project' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metric' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'youngest' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'count' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'timespan' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'labels' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'repeated' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'oldest' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "metricDescriptors" collection of methods.
- * Typical usage is:
- *
- * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
- * $metricDescriptors = $cloudmonitoringService->metricDescriptors;
- *
- */
-class Google_Service_Cloudmonitoring_MetricDescriptors_Resource extends Google_Service_Resource
-{
-
- /**
- * List metric descriptors that match the query. If the query is not set, then
- * all of the metric descriptors will be returned. Large responses will be
- * paginated, use the nextPageToken returned in the response to request
- * subsequent pages of results by setting the pageToken query parameter to the
- * value of the nextPageToken. (metricDescriptors.listMetricDescriptors)
- *
- * @param string $project
- * The project id. The value can be the numeric project ID or string-based project name.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int count
- * Maximum number of metric descriptors per page. Used for pagination. If not specified, count =
- * 100.
- * @opt_param string pageToken
- * The pagination token, which is used to page through large result sets. Set this value to the
- * value of the nextPageToken to retrieve the next page of results.
- * @opt_param string query
- * The query used to search against existing metrics. Separate keywords with a space; the service
- * joins all keywords with AND, meaning that all keywords must match for a metric to be returned.
- * If this field is omitted, all metrics are returned. If an empty string is passed with this
- * field, no metrics are returned.
- * @return Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse
- */
- public function listMetricDescriptors($project, $optParams = array())
- {
- $params = array('project' => $project);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse");
- }
-}
-
-/**
- * The "timeseries" collection of methods.
- * Typical usage is:
- *
- * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
- * $timeseries = $cloudmonitoringService->timeseries;
- *
- */
-class Google_Service_Cloudmonitoring_Timeseries_Resource extends Google_Service_Resource
-{
-
- /**
- * List the data points of the time series that match the metric and labels
- * values and that have data points in the interval. Large responses are
- * paginated; use the nextPageToken returned in the response to request
- * subsequent pages of results by setting the pageToken query parameter to the
- * value of the nextPageToken. (timeseries.listTimeseries)
- *
- * @param string $project
- * The project ID to which this time series belongs. The value can be the numeric project ID or
- * string-based project name.
- * @param string $metric
- * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * compute.googleapis.com/instance/disk/read_ops_count.
- * @param string $youngest
- * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int count
- * Maximum number of data points per page, which is used for pagination of results.
- * @opt_param string timespan
- * Length of the time interval to query, which is an alternative way to declare the interval:
- * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
- * Units:
- - s: second
- - m: minute
- - h: hour
- - d: day
- - w: week Examples: 2s, 3m, 4w. Only
- * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
- If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest].
- * @opt_param string labels
- * A collection of labels for the matching time series, which are represented as:
- - key==value:
- * key equals the value
- - key=~value: key regex matches the value
- - key!=value: key does not
- * equal the value
- - key!~value: key regex does not match the value For example, to list all of
- * the time series descriptors for the region us-central1, you could specify:
- * label=cloud.googleapis.com%2Flocation=~us-central1.*
- * @opt_param string pageToken
- * The pagination token, which is used to page through large result sets. Set this value to the
- * value of the nextPageToken to retrieve the next page of results.
- * @opt_param string oldest
- * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest]
- * @return Google_Service_Cloudmonitoring_ListTimeseriesResponse
- */
- public function listTimeseries($project, $metric, $youngest, $optParams = array())
- {
- $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesResponse");
- }
-}
-
-/**
- * The "timeseriesDescriptors" collection of methods.
- * Typical usage is:
- *
- * $cloudmonitoringService = new Google_Service_Cloudmonitoring(...);
- * $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
- *
- */
-class Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Google_Service_Resource
-{
-
- /**
- * List the descriptors of the time series that match the metric and labels
- * values and that have data points in the interval. Large responses are
- * paginated; use the nextPageToken returned in the response to request
- * subsequent pages of results by setting the pageToken query parameter to the
- * value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors)
- *
- * @param string $project
- * The project ID to which this time series belongs. The value can be the numeric project ID or
- * string-based project name.
- * @param string $metric
- * Metric names are protocol-free URLs as listed in the Supported Metrics page. For example,
- * compute.googleapis.com/instance/disk/read_ops_count.
- * @param string $youngest
- * End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int count
- * Maximum number of time series descriptors per page. Used for pagination. If not specified, count
- * = 100.
- * @opt_param string timespan
- * Length of the time interval to query, which is an alternative way to declare the interval:
- * (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together.
- * Units:
- - s: second
- - m: minute
- - h: hour
- - d: day
- - w: week Examples: 2s, 3m, 4w. Only
- * one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead.
- If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest].
- * @opt_param string labels
- * A collection of labels for the matching time series, which are represented as:
- - key==value:
- * key equals the value
- - key=~value: key regex matches the value
- - key!=value: key does not
- * equal the value
- - key!~value: key regex does not match the value For example, to list all of
- * the time series descriptors for the region us-central1, you could specify:
- * label=cloud.googleapis.com%2Flocation=~us-central1.*
- * @opt_param string pageToken
- * The pagination token, which is used to page through large result sets. Set this value to the
- * value of the nextPageToken to retrieve the next page of results.
- * @opt_param string oldest
- * Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither
- * oldest nor timespan is specified, the default time interval will be (youngest - 4 hours,
- * youngest]
- * @return Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse
- */
- public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array())
- {
- $params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse");
- }
-}
-
-
-
-
-class Google_Service_Cloudmonitoring_ListMetricDescriptorsRequest extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse extends Google_Collection
-{
- public $kind;
- protected $metricsType = 'Google_Service_Cloudmonitoring_MetricDescriptor';
- protected $metricsDataType = 'array';
- public $nextPageToken;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setMetrics($metrics)
- {
- $this->metrics = $metrics;
- }
-
- public function getMetrics()
- {
- return $this->metrics;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- public $oldest;
- protected $timeseriesType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
- protected $timeseriesDataType = 'array';
- public $youngest;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setOldest($oldest)
- {
- $this->oldest = $oldest;
- }
-
- public function getOldest()
- {
- return $this->oldest;
- }
-
- public function setTimeseries($timeseries)
- {
- $this->timeseries = $timeseries;
- }
-
- public function getTimeseries()
- {
- return $this->timeseries;
- }
-
- public function setYoungest($youngest)
- {
- $this->youngest = $youngest;
- }
-
- public function getYoungest()
- {
- return $this->youngest;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesRequest extends Google_Model
-{
- public $kind;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_Cloudmonitoring_ListTimeseriesResponse extends Google_Collection
-{
- public $kind;
- public $nextPageToken;
- public $oldest;
- protected $timeseriesType = 'Google_Service_Cloudmonitoring_Timeseries';
- protected $timeseriesDataType = 'array';
- public $youngest;
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
-
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-
- public function setOldest($oldest)
- {
- $this->oldest = $oldest;
- }
-
- public function getOldest()
- {
- return $this->oldest;
- }
-
- public function setTimeseries($timeseries)
- {
- $this->timeseries = $timeseries;
- }
-
- public function getTimeseries()
- {
- return $this->timeseries;
- }
-
- public function setYoungest($youngest)
- {
- $this->youngest = $youngest;
- }
-
- public function getYoungest()
- {
- return $this->youngest;
- }
-}
-
-class Google_Service_Cloudmonitoring_MetricDescriptor extends Google_Collection
-{
- public $description;
- protected $labelsType = 'Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor';
- protected $labelsDataType = 'array';
- public $name;
- public $project;
- protected $typeDescriptorType = 'Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor';
- protected $typeDescriptorDataType = '';
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
-
- public function getLabels()
- {
- return $this->labels;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setProject($project)
- {
- $this->project = $project;
- }
-
- public function getProject()
- {
- return $this->project;
- }
-
- public function setTypeDescriptor(Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
- {
- $this->typeDescriptor = $typeDescriptor;
- }
-
- public function getTypeDescriptor()
- {
- return $this->typeDescriptor;
- }
-}
-
-class Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor extends Google_Model
-{
- public $description;
- public $key;
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
-
- public function getDescription()
- {
- return $this->description;
- }
-
- public function setKey($key)
- {
- $this->key = $key;
- }
-
- public function getKey()
- {
- return $this->key;
- }
-}
-
-class Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor extends Google_Model
-{
- public $metricType;
- public $valueType;
-
- public function setMetricType($metricType)
- {
- $this->metricType = $metricType;
- }
-
- public function getMetricType()
- {
- return $this->metricType;
- }
-
- public function setValueType($valueType)
- {
- $this->valueType = $valueType;
- }
-
- public function getValueType()
- {
- return $this->valueType;
- }
-}
-
-class Google_Service_Cloudmonitoring_Point extends Google_Model
-{
- public $boolValue;
- protected $distributionValueType = 'Google_Service_Cloudmonitoring_PointDistribution';
- protected $distributionValueDataType = '';
- public $doubleValue;
- public $end;
- public $int64Value;
- public $start;
- public $stringValue;
-
- public function setBoolValue($boolValue)
- {
- $this->boolValue = $boolValue;
- }
-
- public function getBoolValue()
- {
- return $this->boolValue;
- }
-
- public function setDistributionValue(Google_Service_Cloudmonitoring_PointDistribution $distributionValue)
- {
- $this->distributionValue = $distributionValue;
- }
-
- public function getDistributionValue()
- {
- return $this->distributionValue;
- }
-
- public function setDoubleValue($doubleValue)
- {
- $this->doubleValue = $doubleValue;
- }
-
- public function getDoubleValue()
- {
- return $this->doubleValue;
- }
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setInt64Value($int64Value)
- {
- $this->int64Value = $int64Value;
- }
-
- public function getInt64Value()
- {
- return $this->int64Value;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-
- public function setStringValue($stringValue)
- {
- $this->stringValue = $stringValue;
- }
-
- public function getStringValue()
- {
- return $this->stringValue;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistribution extends Google_Collection
-{
- protected $bucketsType = 'Google_Service_Cloudmonitoring_PointDistributionBucket';
- protected $bucketsDataType = 'array';
- protected $overflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionOverflowBucket';
- protected $overflowBucketDataType = '';
- protected $underflowBucketType = 'Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket';
- protected $underflowBucketDataType = '';
-
- public function setBuckets($buckets)
- {
- $this->buckets = $buckets;
- }
-
- public function getBuckets()
- {
- return $this->buckets;
- }
-
- public function setOverflowBucket(Google_Service_Cloudmonitoring_PointDistributionOverflowBucket $overflowBucket)
- {
- $this->overflowBucket = $overflowBucket;
- }
-
- public function getOverflowBucket()
- {
- return $this->overflowBucket;
- }
-
- public function setUnderflowBucket(Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket $underflowBucket)
- {
- $this->underflowBucket = $underflowBucket;
- }
-
- public function getUnderflowBucket()
- {
- return $this->underflowBucket;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistributionBucket extends Google_Model
-{
- public $count;
- public $lowerBound;
- public $upperBound;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setLowerBound($lowerBound)
- {
- $this->lowerBound = $lowerBound;
- }
-
- public function getLowerBound()
- {
- return $this->lowerBound;
- }
-
- public function setUpperBound($upperBound)
- {
- $this->upperBound = $upperBound;
- }
-
- public function getUpperBound()
- {
- return $this->upperBound;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistributionOverflowBucket extends Google_Model
-{
- public $count;
- public $lowerBound;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setLowerBound($lowerBound)
- {
- $this->lowerBound = $lowerBound;
- }
-
- public function getLowerBound()
- {
- return $this->lowerBound;
- }
-}
-
-class Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket extends Google_Model
-{
- public $count;
- public $upperBound;
-
- public function setCount($count)
- {
- $this->count = $count;
- }
-
- public function getCount()
- {
- return $this->count;
- }
-
- public function setUpperBound($upperBound)
- {
- $this->upperBound = $upperBound;
- }
-
- public function getUpperBound()
- {
- return $this->upperBound;
- }
-}
-
-class Google_Service_Cloudmonitoring_Timeseries extends Google_Collection
-{
- protected $pointsType = 'Google_Service_Cloudmonitoring_Point';
- protected $pointsDataType = 'array';
- protected $timeseriesDescType = 'Google_Service_Cloudmonitoring_TimeseriesDescriptor';
- protected $timeseriesDescDataType = '';
-
- public function setPoints($points)
- {
- $this->points = $points;
- }
-
- public function getPoints()
- {
- return $this->points;
- }
-
- public function setTimeseriesDesc(Google_Service_Cloudmonitoring_TimeseriesDescriptor $timeseriesDesc)
- {
- $this->timeseriesDesc = $timeseriesDesc;
- }
-
- public function getTimeseriesDesc()
- {
- return $this->timeseriesDesc;
- }
-}
-
-class Google_Service_Cloudmonitoring_TimeseriesDescriptor extends Google_Model
-{
- public $labels;
- public $metric;
- public $project;
-
- public function setLabels($labels)
- {
- $this->labels = $labels;
- }
-
- public function getLabels()
- {
- return $this->labels;
- }
-
- public function setMetric($metric)
- {
- $this->metric = $metric;
- }
-
- public function getMetric()
- {
- return $this->metric;
- }
-
- public function setProject($project)
- {
- $this->project = $project;
- }
-
- public function getProject()
- {
- return $this->project;
- }
-}
-
-class Google_Service_Cloudmonitoring_TimeseriesDescriptorLabels extends Google_Model
-{
-
-}
From 868a41c1e2e716642eeca513e2134df9b0809e9d Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:48:47 +0100
Subject: [PATCH 0201/1371] Remove the timezone set.
Fixes #253 - as far as we can tell the timezone setting adds no benefit
other than removing a warning, which should be addressed in the system.
---
src/Google/Client.php | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/Google/Client.php b/src/Google/Client.php
index 18197b35f..1ec2f32c3 100644
--- a/src/Google/Client.php
+++ b/src/Google/Client.php
@@ -80,11 +80,6 @@ class Google_Client
*/
public function __construct($config = null)
{
- if (! ini_get('date.timezone') &&
- function_exists('date_default_timezone_set')) {
- date_default_timezone_set('UTC');
- }
-
if (is_string($config) && strlen($config)) {
$config = new Google_Config($config);
} else if ( !($config instanceof Google_Config)) {
From e05a68f3fe8371ffe76fc5c6d1bf0d967ca7f42e Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:51:33 +0100
Subject: [PATCH 0202/1371] Add install instructions link to README
Fixed #273
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index 78bb88a34..0fce927d6 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,10 @@ The Google API Client Library enables you to work with Google APIs such as Googl
## Developer Documentation ##
http://developers.google.com/api-client-library/php
+## Installation ##
+
+For the latest installation and setup instructions, see [the documentation[(https://developers.google.com/api-client-library/php/start/installation)
+
## Basic Example ##
See the examples/ directory for examples of the key client features.
```PHP
From 016b6cf4c1b8ecd8c6b2299f447634081636f94c Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:52:40 +0100
Subject: [PATCH 0203/1371] Fix typo
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0fce927d6..8bacd6861 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ http://developers.google.com/api-client-library/php
## Installation ##
-For the latest installation and setup instructions, see [the documentation[(https://developers.google.com/api-client-library/php/start/installation)
+For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation)
## Basic Example ##
See the examples/ directory for examples of the key client features.
From 9cc33e71f3e5a018c8d6fba22ae5ab2bd1b80e98 Mon Sep 17 00:00:00 2001
From: Ian Barber
Date: Mon, 11 Aug 2014 17:53:58 +0100
Subject: [PATCH 0204/1371] Add full stop
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8bacd6861..dba6a26d8 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ http://developers.google.com/api-client-library/php
## Installation ##
-For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation)
+For the latest installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation).
## Basic Example ##
See the examples/ directory for examples of the key client features.
From 1c114105021fe2bae2ecac129968163020a5fee8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 12 Aug 2014 01:12:34 -0700
Subject: [PATCH 0205/1371] Updated Autoscaler.php
---
src/Google/Service/Autoscaler.php | 67 ++++++++++++++++++++++++++++++-
1 file changed, 66 insertions(+), 1 deletion(-)
diff --git a/src/Google/Service/Autoscaler.php b/src/Google/Service/Autoscaler.php
index 0a7939f48..5a31425a1 100644
--- a/src/Google/Service/Autoscaler.php
+++ b/src/Google/Service/Autoscaler.php
@@ -579,11 +579,15 @@ public function getNextPageToken()
}
}
-class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Model
+class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
{
public $coolDownPeriodSec;
protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
protected $cpuUtilizationDataType = '';
+ protected $customMetricUtilizationsType = 'Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
+ protected $customMetricUtilizationsDataType = 'array';
+ protected $loadBalancingUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization';
+ protected $loadBalancingUtilizationDataType = '';
public $maxNumReplicas;
public $minNumReplicas;
@@ -607,6 +611,26 @@ public function getCpuUtilization()
return $this->cpuUtilization;
}
+ public function setCustomMetricUtilizations($customMetricUtilizations)
+ {
+ $this->customMetricUtilizations = $customMetricUtilizations;
+ }
+
+ public function getCustomMetricUtilizations()
+ {
+ return $this->customMetricUtilizations;
+ }
+
+ public function setLoadBalancingUtilization(Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
+ {
+ $this->loadBalancingUtilization = $loadBalancingUtilization;
+ }
+
+ public function getLoadBalancingUtilization()
+ {
+ return $this->loadBalancingUtilization;
+ }
+
public function setMaxNumReplicas($maxNumReplicas)
{
$this->maxNumReplicas = $maxNumReplicas;
@@ -643,6 +667,47 @@ public function getUtilizationTarget()
}
}
+class Google_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends Google_Model
+{
+ public $metric;
+ public $utilizationTarget;
+
+ public function setMetric($metric)
+ {
+ $this->metric = $metric;
+ }
+
+ public function getMetric()
+ {
+ return $this->metric;
+ }
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
+class Google_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends Google_Model
+{
+ public $utilizationTarget;
+
+ public function setUtilizationTarget($utilizationTarget)
+ {
+ $this->utilizationTarget = $utilizationTarget;
+ }
+
+ public function getUtilizationTarget()
+ {
+ return $this->utilizationTarget;
+ }
+}
+
class Google_Service_Autoscaler_Operation extends Google_Collection
{
public $clientOperationId;
From 9394607e0a3204654738f4b63c8ad995ec562236 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Tue, 12 Aug 2014 01:12:35 -0700
Subject: [PATCH 0206/1371] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 705 -------------------------
1 file changed, 705 deletions(-)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index 09e89565f..5a7ad1417 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -35,9 +35,7 @@ class Google_Service_ShoppingContent extends Google_Service
const CONTENT = "https://www.googleapis.com/auth/content";
public $accounts;
- public $accountshipping;
public $accountstatuses;
- public $accounttax;
public $datafeeds;
public $datafeedstatuses;
public $inventory;
@@ -159,31 +157,6 @@ public function __construct(Google_Client $client)
)
)
);
- $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource(
- $this,
- $this->serviceName,
- 'accountshipping',
- array(
- 'methods' => array(
- 'patch' => array(
- 'path' => '{merchantId}/accountshipping/{accountId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
$this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource(
$this,
$this->serviceName,
@@ -231,31 +204,6 @@ public function __construct(Google_Client $client)
)
)
);
- $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource(
- $this,
- $this->serviceName,
- 'accounttax',
- array(
- 'methods' => array(
- 'patch' => array(
- 'path' => '{merchantId}/accounttax/{accountId}',
- 'httpMethod' => 'PATCH',
- 'parameters' => array(
- 'merchantId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'accountId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
$this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource(
$this,
$this->serviceName,
@@ -695,37 +643,6 @@ public function update($merchantId, $accountId, Google_Service_ShoppingContent_A
}
}
-/**
- * The "accountshipping" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_ShoppingContent(...);
- * $accountshipping = $contentService->accountshipping;
- *
- */
-class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource
-{
-
- /**
- * Updates the shipping settings of the account. This method supports patch
- * semantics. (accountshipping.patch)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account for which to get/update account shipping settings.
- * @param Google_AccountShipping $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_AccountShipping
- */
- public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
- }
-}
-
/**
* The "accountstatuses" collection of methods.
* Typical usage is:
@@ -788,37 +705,6 @@ public function listAccountstatuses($merchantId, $optParams = array())
}
}
-/**
- * The "accounttax" collection of methods.
- * Typical usage is:
- *
- * $contentService = new Google_Service_ShoppingContent(...);
- * $accounttax = $contentService->accounttax;
- *
- */
-class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource
-{
-
- /**
- * Updates the tax settings of the account. This method supports patch
- * semantics. (accounttax.patch)
- *
- * @param string $merchantId
- * The ID of the managing account.
- * @param string $accountId
- * The ID of the account for which to get/update account tax settings.
- * @param Google_AccountTax $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_AccountTax
- */
- public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
- {
- $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
- }
-}
-
/**
* The "datafeeds" collection of methods.
* Typical usage is:
@@ -1372,474 +1258,6 @@ public function getStatus()
}
}
-class Google_Service_ShoppingContent_AccountShipping extends Google_Collection
-{
- public $accountId;
- protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
- protected $carrierRatesDataType = 'array';
- public $kind;
- protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
- protected $locationGroupsDataType = 'array';
- protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
- protected $rateTablesDataType = 'array';
- protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
- protected $servicesDataType = 'array';
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setCarrierRates($carrierRates)
- {
- $this->carrierRates = $carrierRates;
- }
-
- public function getCarrierRates()
- {
- return $this->carrierRates;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setLocationGroups($locationGroups)
- {
- $this->locationGroups = $locationGroups;
- }
-
- public function getLocationGroups()
- {
- return $this->locationGroups;
- }
-
- public function setRateTables($rateTables)
- {
- $this->rateTables = $rateTables;
- }
-
- public function getRateTables()
- {
- return $this->rateTables;
- }
-
- public function setServices($services)
- {
- $this->services = $services;
- }
-
- public function getServices()
- {
- return $this->services;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
-{
- public $carrier;
- public $carrierService;
- protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
- protected $modifierFlatRateDataType = '';
- public $modifierPercent;
- public $name;
- public $saleCountry;
- public $shippingOrigin;
-
- public function setCarrier($carrier)
- {
- $this->carrier = $carrier;
- }
-
- public function getCarrier()
- {
- return $this->carrier;
- }
-
- public function setCarrierService($carrierService)
- {
- $this->carrierService = $carrierService;
- }
-
- public function getCarrierService()
- {
- return $this->carrierService;
- }
-
- public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
- {
- $this->modifierFlatRate = $modifierFlatRate;
- }
-
- public function getModifierFlatRate()
- {
- return $this->modifierFlatRate;
- }
-
- public function setModifierPercent($modifierPercent)
- {
- $this->modifierPercent = $modifierPercent;
- }
-
- public function getModifierPercent()
- {
- return $this->modifierPercent;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-
- public function setShippingOrigin($shippingOrigin)
- {
- $this->shippingOrigin = $shippingOrigin;
- }
-
- public function getShippingOrigin()
- {
- return $this->shippingOrigin;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
-{
- public $deliveryLocationGroup;
- public $deliveryLocationId;
- protected $deliveryPostalCodeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
- protected $deliveryPostalCodeDataType = '';
- protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
- protected $priceMaxDataType = '';
- public $shippingLabel;
- protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
- protected $weightMaxDataType = '';
-
- public function setDeliveryLocationGroup($deliveryLocationGroup)
- {
- $this->deliveryLocationGroup = $deliveryLocationGroup;
- }
-
- public function getDeliveryLocationGroup()
- {
- return $this->deliveryLocationGroup;
- }
-
- public function setDeliveryLocationId($deliveryLocationId)
- {
- $this->deliveryLocationId = $deliveryLocationId;
- }
-
- public function getDeliveryLocationId()
- {
- return $this->deliveryLocationId;
- }
-
- public function setDeliveryPostalCode(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCode)
- {
- $this->deliveryPostalCode = $deliveryPostalCode;
- }
-
- public function getDeliveryPostalCode()
- {
- return $this->deliveryPostalCode;
- }
-
- public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
- {
- $this->priceMax = $priceMax;
- }
-
- public function getPriceMax()
- {
- return $this->priceMax;
- }
-
- public function setShippingLabel($shippingLabel)
- {
- $this->shippingLabel = $shippingLabel;
- }
-
- public function getShippingLabel()
- {
- return $this->shippingLabel;
- }
-
- public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
- {
- $this->weightMax = $weightMax;
- }
-
- public function getWeightMax()
- {
- return $this->weightMax;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
-{
- public $country;
- public $locationIds;
- public $name;
- protected $postalCodesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
- protected $postalCodesDataType = 'array';
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLocationIds($locationIds)
- {
- $this->locationIds = $locationIds;
- }
-
- public function getLocationIds()
- {
- return $this->locationIds;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setPostalCodes($postalCodes)
- {
- $this->postalCodes = $postalCodes;
- }
-
- public function getPostalCodes()
- {
- return $this->postalCodes;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
-{
- public $end;
- public $start;
-
- public function setEnd($end)
- {
- $this->end = $end;
- }
-
- public function getEnd()
- {
- return $this->end;
- }
-
- public function setStart($start)
- {
- $this->start = $start;
- }
-
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
-{
- protected $contentsType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
- protected $contentsDataType = 'array';
- public $name;
- public $saleCountry;
-
- public function setContents($contents)
- {
- $this->contents = $contents;
- }
-
- public function getContents()
- {
- return $this->contents;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
-{
- protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
- protected $conditionDataType = '';
- protected $rateType = 'Google_Service_ShoppingContent_Price';
- protected $rateDataType = '';
-
- public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
- {
- $this->condition = $condition;
- }
-
- public function getCondition()
- {
- return $this->condition;
- }
-
- public function setRate(Google_Service_ShoppingContent_Price $rate)
- {
- $this->rate = $rate;
- }
-
- public function getRate()
- {
- return $this->rate;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
-{
- public $active;
- protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
- protected $calculationMethodDataType = '';
- public $name;
- public $saleCountry;
-
- public function setActive($active)
- {
- $this->active = $active;
- }
-
- public function getActive()
- {
- return $this->active;
- }
-
- public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
- {
- $this->calculationMethod = $calculationMethod;
- }
-
- public function getCalculationMethod()
- {
- return $this->calculationMethod;
- }
-
- public function setName($name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function setSaleCountry($saleCountry)
- {
- $this->saleCountry = $saleCountry;
- }
-
- public function getSaleCountry()
- {
- return $this->saleCountry;
- }
-}
-
-class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
-{
- public $carrierRate;
- protected $flatRateType = 'Google_Service_ShoppingContent_Price';
- protected $flatRateDataType = '';
- public $percentageRate;
- public $rateTable;
-
- public function setCarrierRate($carrierRate)
- {
- $this->carrierRate = $carrierRate;
- }
-
- public function getCarrierRate()
- {
- return $this->carrierRate;
- }
-
- public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
- {
- $this->flatRate = $flatRate;
- }
-
- public function getFlatRate()
- {
- return $this->flatRate;
- }
-
- public function setPercentageRate($percentageRate)
- {
- $this->percentageRate = $percentageRate;
- }
-
- public function getPercentageRate()
- {
- return $this->percentageRate;
- }
-
- public function setRateTable($rateTable)
- {
- $this->rateTable = $rateTable;
- }
-
- public function getRateTable()
- {
- return $this->rateTable;
- }
-}
-
class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
{
public $accountId;
@@ -2030,103 +1448,6 @@ public function getValueOnLandingPage()
}
}
-class Google_Service_ShoppingContent_AccountTax extends Google_Collection
-{
- public $accountId;
- public $kind;
- protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
- protected $rulesDataType = 'array';
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
-
- public function getAccountId()
- {
- return $this->accountId;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setRules($rules)
- {
- $this->rules = $rules;
- }
-
- public function getRules()
- {
- return $this->rules;
- }
-}
-
-class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
-{
- public $country;
- public $locationId;
- public $ratePercent;
- public $shippingTaxed;
- public $useGlobalRate;
-
- public function setCountry($country)
- {
- $this->country = $country;
- }
-
- public function getCountry()
- {
- return $this->country;
- }
-
- public function setLocationId($locationId)
- {
- $this->locationId = $locationId;
- }
-
- public function getLocationId()
- {
- return $this->locationId;
- }
-
- public function setRatePercent($ratePercent)
- {
- $this->ratePercent = $ratePercent;
- }
-
- public function getRatePercent()
- {
- return $this->ratePercent;
- }
-
- public function setShippingTaxed($shippingTaxed)
- {
- $this->shippingTaxed = $shippingTaxed;
- }
-
- public function getShippingTaxed()
- {
- return $this->shippingTaxed;
- }
-
- public function setUseGlobalRate($useGlobalRate)
- {
- $this->useGlobalRate = $useGlobalRate;
- }
-
- public function getUseGlobalRate()
- {
- return $this->useGlobalRate;
- }
-}
-
class Google_Service_ShoppingContent_AccountUser extends Google_Model
{
public $admin;
@@ -5533,29 +4854,3 @@ public function getResources()
return $this->resources;
}
}
-
-class Google_Service_ShoppingContent_Weight extends Google_Model
-{
- public $unit;
- public $value;
-
- public function setUnit($unit)
- {
- $this->unit = $unit;
- }
-
- public function getUnit()
- {
- return $this->unit;
- }
-
- public function setValue($value)
- {
- $this->value = $value;
- }
-
- public function getValue()
- {
- return $this->value;
- }
-}
From 71275546a574bc080f2fd7cab7dbf2439475b006 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 13 Aug 2014 01:13:48 -0700
Subject: [PATCH 0207/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index d898b708e..3e57bb4d9 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -3335,6 +3335,7 @@ class Google_Service_MapsEngine_Map extends Google_Collection
public $processingStatus;
public $projectId;
public $publishedAccessList;
+ public $publishingStatus;
public $tags;
public $versions;
@@ -3468,6 +3469,16 @@ public function getPublishedAccessList()
return $this->publishedAccessList;
}
+ public function setPublishingStatus($publishingStatus)
+ {
+ $this->publishingStatus = $publishingStatus;
+ }
+
+ public function getPublishingStatus()
+ {
+ return $this->publishingStatus;
+ }
+
public function setTags($tags)
{
$this->tags = $tags;
From 62738c84ba41b4b73ad63863b3adb6da61f204ba Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 13 Aug 2014 01:13:49 -0700
Subject: [PATCH 0208/1371] Updated YouTube.php
---
src/Google/Service/YouTube.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/YouTube.php b/src/Google/Service/YouTube.php
index ea24855e5..3d4654b52 100644
--- a/src/Google/Service/YouTube.php
+++ b/src/Google/Service/YouTube.php
@@ -1893,7 +1893,7 @@ public function bind($id, $part, $optParams = array())
* broadcast stream is delayed.
* @opt_param string walltime
* The walltime parameter specifies the wall clock time at which the specified slate change will
- * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+ * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
* @return Google_Service_YouTube_LiveBroadcast
*/
public function control($id, $part, $optParams = array())
From d5aef57715c52593f3ad77a30518cb82480615c9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Wed, 13 Aug 2014 01:13:50 -0700
Subject: [PATCH 0209/1371] Updated Games.php
---
src/Google/Service/Games.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Games.php b/src/Google/Service/Games.php
index 2f94fdad9..312825d8a 100644
--- a/src/Google/Service/Games.php
+++ b/src/Google/Service/Games.php
@@ -6912,6 +6912,7 @@ class Google_Service_Games_ScoreSubmission extends Google_Model
public $leaderboardId;
public $score;
public $scoreTag;
+ public $signature;
public function setKind($kind)
{
@@ -6952,6 +6953,16 @@ public function getScoreTag()
{
return $this->scoreTag;
}
+
+ public function setSignature($signature)
+ {
+ $this->signature = $signature;
+ }
+
+ public function getSignature()
+ {
+ return $this->signature;
+ }
}
class Google_Service_Games_Snapshot extends Google_Model
From ab8f7230f411b7a750067245b489d91edd2a5b89 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 14 Aug 2014 01:14:52 -0700
Subject: [PATCH 0210/1371] Updated YouTube.php
---
src/Google/Service/YouTube.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Service/YouTube.php b/src/Google/Service/YouTube.php
index 3d4654b52..ea24855e5 100644
--- a/src/Google/Service/YouTube.php
+++ b/src/Google/Service/YouTube.php
@@ -1893,7 +1893,7 @@ public function bind($id, $part, $optParams = array())
* broadcast stream is delayed.
* @opt_param string walltime
* The walltime parameter specifies the wall clock time at which the specified slate change will
- * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format.
+ * occur. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
* @return Google_Service_YouTube_LiveBroadcast
*/
public function control($id, $part, $optParams = array())
From 897b0e91d0c85c96eda2f1dd61b7cb287c2aeeee Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 14 Aug 2014 01:14:53 -0700
Subject: [PATCH 0211/1371] Updated Resourceviews.php
---
src/Google/Service/Resourceviews.php | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/Google/Service/Resourceviews.php b/src/Google/Service/Resourceviews.php
index 9a1c0d51c..e3d8d1cbd 100644
--- a/src/Google/Service/Resourceviews.php
+++ b/src/Google/Service/Resourceviews.php
@@ -33,6 +33,10 @@ class Google_Service_Resourceviews extends Google_Service
{
/** View and manage your data across Google Cloud Platform services. */
const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
+ /** View and manage your Google Compute Engine resources. */
+ const COMPUTE = "https://www.googleapis.com/auth/compute";
+ /** View your Google Compute Engine resources. */
+ const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly";
/** View and manage your Google Cloud Platform management resources and deployment status information. */
const NDEV_CLOUDMAN = "https://www.googleapis.com/auth/ndev.cloudman";
/** View your Google Cloud Platform management resources and deployment status information. */
@@ -464,8 +468,8 @@ public function insert($projectName, $region, Google_Service_Resourceviews_Resou
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_RegionViewsListResponse
*/
public function listRegionViews($projectName, $region, $optParams = array())
@@ -489,8 +493,8 @@ public function listRegionViews($projectName, $region, $optParams = array())
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_RegionViewsListResourcesResponse
*/
public function listresources($projectName, $region, $resourceViewName, $optParams = array())
@@ -613,8 +617,8 @@ public function insert($projectName, $zone, Google_Service_Resourceviews_Resourc
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_ZoneViewsListResponse
*/
public function listZoneViews($projectName, $zone, $optParams = array())
@@ -638,8 +642,8 @@ public function listZoneViews($projectName, $zone, $optParams = array())
* Specifies a nextPageToken returned by a previous list request. This token can be used to request
* the next page of results from a previous list request.
* @opt_param int maxResults
- * Maximum count of results to be returned. Acceptable values are 0 to 500, inclusive. (Default:
- * 50)
+ * Maximum count of results to be returned. Acceptable values are 0 to 5000, inclusive. (Default:
+ * 5000)
* @return Google_Service_Resourceviews_ZoneViewsListResourcesResponse
*/
public function listresources($projectName, $zone, $resourceViewName, $optParams = array())
From b6e753576f858d00a604565390632953d3583361 Mon Sep 17 00:00:00 2001
From: Ben Menasha
Date: Thu, 14 Aug 2014 09:47:00 -0400
Subject: [PATCH 0212/1371] distinguish memcache key when array of scopes are
used.
Previously the memcache key would be "Google_Auth_AppIdentity::Array"
when an array of scopes was passed to AppIdentity->authenticateForScope.
This would causees the token to be overwritten when multiple
Google_Auth_AppIdentity were used with multiple scopes. The fix is to
expand the array of scopes into a string creating a unique key.
---
src/Google/Auth/AppIdentity.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/Google/Auth/AppIdentity.php b/src/Google/Auth/AppIdentity.php
index ec6663e6c..0be591762 100644
--- a/src/Google/Auth/AppIdentity.php
+++ b/src/Google/Auth/AppIdentity.php
@@ -55,7 +55,13 @@ public function authenticateForScope($scopes)
if (!$this->token) {
$this->token = AppIdentityService::getAccessToken($scopes);
if ($this->token) {
- $memcache->set(self::CACHE_PREFIX . $scopes, $this->token, self::CACHE_LIFETIME);
+ $memcache_key = self::CACHE_PREFIX;
+ if (is_string($scopes)) {
+ $memcache_key .= $scopes;
+ } else if (is_array($scopes)) {
+ $memcache_key .= implode(":", $scopes);
+ }
+ $memcache->set($memcache_key, $this->token, self::CACHE_LIFETIME);
}
}
$this->tokenScopes = $scopes;
From de468999b3719d81147285f1af925e33c99411e6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 15 Aug 2014 01:16:03 -0700
Subject: [PATCH 0213/1371] Updated Mirror.php
---
src/Google/Service/Mirror.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/Mirror.php b/src/Google/Service/Mirror.php
index 92f060929..a44efd08a 100644
--- a/src/Google/Service/Mirror.php
+++ b/src/Google/Service/Mirror.php
@@ -564,6 +564,9 @@ class Google_Service_Mirror_Settings_Resource extends Google_Service_Resource
* The ID of the setting. The following IDs are valid:
- locale - The key to the user’s
* language/locale (BCP 47 identifier) that Glassware should use to render localized content.
+ -
+ * timezone - The key to the user’s current time zone region as defined in the tz database.
+ * Example: America/Los_Angeles.
* @param array $optParams Optional parameters.
* @return Google_Service_Mirror_Setting
*/
From 3c8f3ca7b688e8073ec3ba63f7aff9e80797edd1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 15 Aug 2014 01:16:04 -0700
Subject: [PATCH 0214/1371] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 418 +------------------------
1 file changed, 2 insertions(+), 416 deletions(-)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index 5a7ad1417..d1c71d104 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -210,11 +210,7 @@ public function __construct(Google_Client $client)
'datafeeds',
array(
'methods' => array(
- 'batch' => array(
- 'path' => 'datafeedsNativeBatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'custombatch' => array(
+ 'custombatch' => array(
'path' => 'datafeeds/batch',
'httpMethod' => 'POST',
'parameters' => array(),
@@ -308,11 +304,7 @@ public function __construct(Google_Client $client)
'datafeedstatuses',
array(
'methods' => array(
- 'batch' => array(
- 'path' => 'datafeedstatusesNativeBatch',
- 'httpMethod' => 'POST',
- 'parameters' => array(),
- ),'custombatch' => array(
+ 'custombatch' => array(
'path' => 'datafeedstatuses/batch',
'httpMethod' => 'POST',
'parameters' => array(),
@@ -716,19 +708,6 @@ public function listAccountstatuses($merchantId, $optParams = array())
class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource
{
- /**
- * (datafeeds.batch)
- *
- * @param Google_DatafeedsBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_DatafeedsBatchResponse
- */
- public function batch(Google_Service_ShoppingContent_DatafeedsBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batch', array($params), "Google_Service_ShoppingContent_DatafeedsBatchResponse");
- }
/**
* (datafeeds.custombatch)
*
@@ -851,19 +830,6 @@ public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_
class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource
{
- /**
- * (datafeedstatuses.batch)
- *
- * @param Google_DatafeedstatusesBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_DatafeedstatusesBatchResponse
- */
- public function batch(Google_Service_ShoppingContent_DatafeedstatusesBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('batch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesBatchResponse");
- }
/**
* (datafeedstatuses.custombatch)
*
@@ -2247,150 +2213,6 @@ public function getValue()
}
}
-class Google_Service_ShoppingContent_DatafeedsBatchRequest extends Google_Collection
-{
- protected $entrysType = 'Google_Service_ShoppingContent_DatafeedsBatchRequestEntry';
- protected $entrysDataType = 'array';
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedsBatchRequestEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedsinsertrequestType = 'Google_Service_ShoppingContent_DatafeedsInsertRequest';
- protected $datafeedsinsertrequestDataType = '';
- protected $datafeedsupdaterequestType = 'Google_Service_ShoppingContent_DatafeedsUpdateRequest';
- protected $datafeedsupdaterequestDataType = '';
- public $methodName;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedsinsertrequest(Google_Service_ShoppingContent_DatafeedsInsertRequest $datafeedsinsertrequest)
- {
- $this->datafeedsinsertrequest = $datafeedsinsertrequest;
- }
-
- public function getDatafeedsinsertrequest()
- {
- return $this->datafeedsinsertrequest;
- }
-
- public function setDatafeedsupdaterequest(Google_Service_ShoppingContent_DatafeedsUpdateRequest $datafeedsupdaterequest)
- {
- $this->datafeedsupdaterequest = $datafeedsupdaterequest;
- }
-
- public function getDatafeedsupdaterequest()
- {
- return $this->datafeedsupdaterequest;
- }
-
- public function setMethodName($methodName)
- {
- $this->methodName = $methodName;
- }
-
- public function getMethodName()
- {
- return $this->methodName;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedsBatchResponse extends Google_Collection
-{
- protected $entrysType = 'Google_Service_ShoppingContent_DatafeedsBatchResponseEntry';
- protected $entrysDataType = 'array';
- public $kind;
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedsBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedsgetresponseType = 'Google_Service_ShoppingContent_DatafeedsGetResponse';
- protected $datafeedsgetresponseDataType = '';
- protected $datafeedsinsertresponseType = 'Google_Service_ShoppingContent_DatafeedsInsertResponse';
- protected $datafeedsinsertresponseDataType = '';
- protected $datafeedsupdateresponseType = 'Google_Service_ShoppingContent_DatafeedsUpdateResponse';
- protected $datafeedsupdateresponseDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedsgetresponse(Google_Service_ShoppingContent_DatafeedsGetResponse $datafeedsgetresponse)
- {
- $this->datafeedsgetresponse = $datafeedsgetresponse;
- }
-
- public function getDatafeedsgetresponse()
- {
- return $this->datafeedsgetresponse;
- }
-
- public function setDatafeedsinsertresponse(Google_Service_ShoppingContent_DatafeedsInsertResponse $datafeedsinsertresponse)
- {
- $this->datafeedsinsertresponse = $datafeedsinsertresponse;
- }
-
- public function getDatafeedsinsertresponse()
- {
- return $this->datafeedsinsertresponse;
- }
-
- public function setDatafeedsupdateresponse(Google_Service_ShoppingContent_DatafeedsUpdateResponse $datafeedsupdateresponse)
- {
- $this->datafeedsupdateresponse = $datafeedsupdateresponse;
- }
-
- public function getDatafeedsupdateresponse()
- {
- return $this->datafeedsupdateresponse;
- }
-}
-
class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection
{
protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
@@ -2533,76 +2355,6 @@ public function getErrors()
}
}
-class Google_Service_ShoppingContent_DatafeedsGetResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedsInsertRequest extends Google_Model
-{
- protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
- protected $resourceDataType = '';
-
- public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedsInsertResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection
{
public $kind;
@@ -2630,145 +2382,6 @@ public function getResources()
}
}
-class Google_Service_ShoppingContent_DatafeedsUpdateRequest extends Google_Model
-{
- protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
- protected $resourceDataType = '';
-
- public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedsUpdateResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_ShoppingContent_Datafeed';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_ShoppingContent_Datafeed $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedstatusesBatchRequest extends Google_Collection
-{
- protected $entrysType = 'Google_Service_ShoppingContent_DatafeedstatusesBatchRequestEntry';
- protected $entrysDataType = 'array';
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedstatusesBatchRequestEntry extends Google_Model
-{
- public $batchId;
- public $methodName;
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setMethodName($methodName)
- {
- $this->methodName = $methodName;
- }
-
- public function getMethodName()
- {
- return $this->methodName;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedstatusesBatchResponse extends Google_Collection
-{
- protected $entrysType = 'Google_Service_ShoppingContent_DatafeedstatusesBatchResponseEntry';
- protected $entrysDataType = 'array';
- public $kind;
-
- public function setEntrys($entrys)
- {
- $this->entrys = $entrys;
- }
-
- public function getEntrys()
- {
- return $this->entrys;
- }
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_ShoppingContent_DatafeedstatusesBatchResponseEntry extends Google_Model
-{
- public $batchId;
- protected $datafeedstatusesgetresponseType = 'Google_Service_ShoppingContent_DatafeedstatusesGetResponse';
- protected $datafeedstatusesgetresponseDataType = '';
-
- public function setBatchId($batchId)
- {
- $this->batchId = $batchId;
- }
-
- public function getBatchId()
- {
- return $this->batchId;
- }
-
- public function setDatafeedstatusesgetresponse(Google_Service_ShoppingContent_DatafeedstatusesGetResponse $datafeedstatusesgetresponse)
- {
- $this->datafeedstatusesgetresponse = $datafeedstatusesgetresponse;
- }
-
- public function getDatafeedstatusesgetresponse()
- {
- return $this->datafeedstatusesgetresponse;
- }
-}
-
class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection
{
protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
@@ -2899,33 +2512,6 @@ public function getErrors()
}
}
-class Google_Service_ShoppingContent_DatafeedstatusesGetResponse extends Google_Model
-{
- public $kind;
- protected $resourceType = 'Google_Service_ShoppingContent_DatafeedStatus';
- protected $resourceDataType = '';
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
-
- public function getKind()
- {
- return $this->kind;
- }
-
- public function setResource(Google_Service_ShoppingContent_DatafeedStatus $resource)
- {
- $this->resource = $resource;
- }
-
- public function getResource()
- {
- return $this->resource;
- }
-}
-
class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection
{
public $kind;
From ff75c3715aa0f82b5e50e6cff1e222e59f3c7cd4 Mon Sep 17 00:00:00 2001
From: Florian
Date: Sun, 17 Aug 2014 22:25:13 +0200
Subject: [PATCH 0215/1371] Fix phpdoc @returns > @return
---
src/Google/Client.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Client.php b/src/Google/Client.php
index 1ec2f32c3..06f6ac5ba 100644
--- a/src/Google/Client.php
+++ b/src/Google/Client.php
@@ -486,7 +486,7 @@ public function setDefer($defer)
/**
* Helper method to execute deferred HTTP requests.
*
- * @returns object of the type of the expected class or array.
+ * @return object of the type of the expected class or array.
*/
public function execute($request)
{
From 7a2975ad654a208f9d8331ad3edf00d4dedc69c1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 21 Aug 2014 01:22:27 -0700
Subject: [PATCH 0216/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 99 +++++++++++++++++++++++++++----
1 file changed, 87 insertions(+), 12 deletions(-)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index 3e57bb4d9..551eb0f99 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -224,7 +224,7 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'tags' => array(
+ 'processingStatus' => array(
'location' => 'query',
'type' => 'string',
),
@@ -232,6 +232,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
@@ -286,6 +290,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'force' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'unpublish' => array(
'path' => 'layers/{id}/unpublish',
@@ -375,7 +383,7 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'tags' => array(
+ 'processingStatus' => array(
'location' => 'query',
'type' => 'string',
),
@@ -383,6 +391,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
@@ -427,6 +439,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'force' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'unpublish' => array(
'path' => 'maps/{id}/unpublish',
@@ -508,7 +524,7 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'tags' => array(
+ 'processingStatus' => array(
'location' => 'query',
'type' => 'string',
),
@@ -516,6 +532,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
@@ -705,6 +725,16 @@ public function __construct(Google_Client $client)
'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',
@@ -812,7 +842,7 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'tags' => array(
+ 'processingStatus' => array(
'location' => 'query',
'type' => 'string',
),
@@ -820,6 +850,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'tags' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
@@ -1219,12 +1253,14 @@ public function get($id, $optParams = array())
* @opt_param string createdAfter
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string processingStatus
+ *
* @opt_param string projectId
* The ID of a Maps Engine project, used to filter the response. To list all available projects
* with their IDs, send a Projects: list request. You can also find your project ID as the value of
* the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
* @opt_param string maxResults
* The maximum number of items to include in a single response page. The maximum supported value is
* 100.
@@ -1285,6 +1321,10 @@ public function process($id, $optParams = array())
* @param string $id
* The ID of the layer.
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool force
+ * If set to true, the API will allow publication of the layer even if it's out of date. If not
+ * true, you'll need to reprocess any out-of-date layer before publishing.
* @return Google_Service_MapsEngine_PublishResponse
*/
public function publish($id, $optParams = array())
@@ -1409,12 +1449,14 @@ public function get($id, $optParams = array())
* @opt_param string createdAfter
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string processingStatus
+ *
* @opt_param string projectId
* The ID of a Maps Engine project, used to filter the response. To list all available projects
* with their IDs, send a Projects: list request. You can also find your project ID as the value of
* the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
* @opt_param string maxResults
* The maximum number of items to include in a single response page. The maximum supported value is
* 100.
@@ -1461,6 +1503,10 @@ public function patch($id, Google_Service_MapsEngine_Map $postBody, $optParams =
* @param string $id
* The ID of the map.
* @param array $optParams Optional parameters.
+ *
+ * @opt_param bool force
+ * If set to true, the API will allow publication of the map even if it's out of date. If false,
+ * the map must have a processingStatus of complete before publishing.
* @return Google_Service_MapsEngine_PublishResponse
*/
public function publish($id, $optParams = array())
@@ -1590,12 +1636,14 @@ public function get($id, $optParams = array())
* @opt_param string createdAfter
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string processingStatus
+ *
* @opt_param string projectId
* The ID of a Maps Engine project, used to filter the response. To list all available projects
* with their IDs, send a Projects: list request. You can also find your project ID as the value of
* the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
* @opt_param string maxResults
* The maximum number of items to include in a single response page. The maximum supported value is
* 100.
@@ -1832,6 +1880,20 @@ public function patch($id, Google_Service_MapsEngine_Raster $postBody, $optParam
$params = array_merge($params, $optParams);
return $this->call('patch', array($params));
}
+ /**
+ * Process a raster asset. (rasters.process)
+ *
+ * @param string $id
+ * The ID of the raster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_ProcessResponse
+ */
+ public function process($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('process', array($params), "Google_Service_MapsEngine_ProcessResponse");
+ }
/**
* Create a skeleton raster asset for upload. (rasters.upload)
*
@@ -1975,12 +2037,14 @@ public function get($id, $optParams = array())
* @opt_param string createdAfter
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or after this time.
- * @opt_param string tags
- * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string processingStatus
+ *
* @opt_param string projectId
* The ID of a Maps Engine project, used to filter the response. To list all available projects
* with their IDs, send a Projects: list request. You can also find your project ID as the value of
* the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
* @opt_param string maxResults
* The maximum number of items to include in a single response page. The maximum supported value is
* 100.
@@ -3049,6 +3113,7 @@ class Google_Service_MapsEngine_Layer extends Google_Collection
public $processingStatus;
public $projectId;
public $publishedAccessList;
+ public $publishingStatus;
protected $styleType = 'Google_Service_MapsEngine_VectorStyle';
protected $styleDataType = '';
public $tags;
@@ -3183,6 +3248,16 @@ public function getPublishedAccessList()
return $this->publishedAccessList;
}
+ public function setPublishingStatus($publishingStatus)
+ {
+ $this->publishingStatus = $publishingStatus;
+ }
+
+ public function getPublishingStatus()
+ {
+ return $this->publishingStatus;
+ }
+
public function setStyle(Google_Service_MapsEngine_VectorStyle $style)
{
$this->style = $style;
From 503d017f64d8c737063cb4fde5ef96e63462eeaa Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 21 Aug 2014 01:22:27 -0700
Subject: [PATCH 0217/1371] Updated SQLAdmin.php
---
src/Google/Service/SQLAdmin.php | 163 +++++++++++++++++++++++++-------
1 file changed, 127 insertions(+), 36 deletions(-)
diff --git a/src/Google/Service/SQLAdmin.php b/src/Google/Service/SQLAdmin.php
index d5417e97a..8b697daa4 100644
--- a/src/Google/Service/SQLAdmin.php
+++ b/src/Google/Service/SQLAdmin.php
@@ -252,6 +252,21 @@ public function __construct(Google_Client $client)
'required' => true,
),
),
+ ),'promoteReplica' => array(
+ 'path' => 'projects/{project}/instances/{instance}/promoteReplica',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'project' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'instance' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
),'resetSslConfig' => array(
'path' => 'projects/{project}/instances/{instance}/resetSslConfig',
'httpMethod' => 'POST',
@@ -510,7 +525,7 @@ class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resourc
{
/**
- * Retrieves a resource containing information about a backup run.
+ * Retrieves information about a specified backup run for a Cloud SQL instance.
* (backupRuns.get)
*
* @param string $project
@@ -532,8 +547,7 @@ public function get($project, $instance, $backupConfiguration, $dueTime, $optPar
return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
}
/**
- * Lists all backup runs associated with a given instance and configuration in
- * the reverse chronological order of the enqueued time.
+ * Lists all backup runs associated with a Cloud SQL instance.
* (backupRuns.listBackupRuns)
*
* @param string $project
@@ -571,7 +585,7 @@ class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
{
/**
- * List all available database flags for Google Cloud SQL instances.
+ * Lists all database flags that can be set for Google Cloud SQL instances.
* (flags.listFlags)
*
* @param array $optParams Optional parameters.
@@ -597,7 +611,7 @@ class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
{
/**
- * Creates a Cloud SQL instance as a clone of the source instance.
+ * Creates a Cloud SQL instance as a clone of a source instance.
* (instances.cloneInstances)
*
* @param string $project
@@ -647,8 +661,7 @@ public function export($project, $instance, Google_Service_SQLAdmin_InstancesExp
return $this->call('export', array($params), "Google_Service_SQLAdmin_InstancesExportResponse");
}
/**
- * Retrieves a resource containing information about a Cloud SQL instance.
- * (instances.get)
+ * Retrieves information about a Cloud SQL instance. (instances.get)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -664,8 +677,8 @@ public function get($project, $instance, $optParams = array())
return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance");
}
/**
- * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
- * Storage. (instances.import)
+ * Imports data into a Cloud SQL instance from a MySQL dump file stored in a
+ * Google Cloud Storage bucket. (instances.import)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -697,8 +710,8 @@ public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postB
return $this->call('insert', array($params), "Google_Service_SQLAdmin_InstancesInsertResponse");
}
/**
- * Lists instances under a given project in the alphabetical order of the
- * instance name. (instances.listInstances)
+ * Lists instances for a given project, in alphabetical order by instance name.
+ * (instances.listInstances)
*
* @param string $project
* Project ID of the project for which to list Cloud SQL instances.
@@ -717,9 +730,7 @@ public function listInstances($project, $optParams = array())
return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse");
}
/**
- * Updates settings of a Cloud SQL instance. Caution: This is not a partial
- * update, so you must include values for all the settings that you want to
- * retain. For partial updates, use patch.. This method supports patch
+ * Updates the settings of a Cloud SQL instance. This method supports patch
* semantics. (instances.patch)
*
* @param string $project
@@ -736,11 +747,26 @@ public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInsta
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_SQLAdmin_InstancesUpdateResponse");
}
+ /**
+ * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
+ * (instances.promoteReplica)
+ *
+ * @param string $project
+ * ID of the project that contains the read replica.
+ * @param string $instance
+ * Cloud SQL read replica instance name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_InstancesPromoteReplicaResponse
+ */
+ public function promoteReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_InstancesPromoteReplicaResponse");
+ }
/**
* Deletes all client certificates and generates a new server SSL certificate
- * for the instance. The changes will not take effect until the instance is
- * restarted. Existing instances without a server certificate will need to call
- * this once to set a server certificate. (instances.resetSslConfig)
+ * for a Cloud SQL instance. (instances.resetSslConfig)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -793,7 +819,8 @@ public function restoreBackup($project, $instance, $backupConfiguration, $dueTim
return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_InstancesRestoreBackupResponse");
}
/**
- * Sets the password for the root user. (instances.setRootPassword)
+ * Sets the password for the root user of the specified Cloud SQL instance.
+ * (instances.setRootPassword)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -810,9 +837,7 @@ public function setRootPassword($project, $instance, Google_Service_SQLAdmin_Ins
return $this->call('setRootPassword', array($params), "Google_Service_SQLAdmin_InstancesSetRootPasswordResponse");
}
/**
- * Updates settings of a Cloud SQL instance. Caution: This is not a partial
- * update, so you must include values for all the settings that you want to
- * retain. For partial updates, use patch. (instances.update)
+ * Updates the settings of a Cloud SQL instance. (instances.update)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -842,8 +867,8 @@ class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resourc
{
/**
- * Retrieves an instance operation that has been performed on an instance.
- * (operations.get)
+ * Retrieves information about a specific operation that was performed on a
+ * Cloud SQL instance. (operations.get)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -861,8 +886,7 @@ public function get($project, $instance, $operation, $optParams = array())
return $this->call('get', array($params), "Google_Service_SQLAdmin_InstanceOperation");
}
/**
- * Lists all instance operations that have been performed on the given Cloud SQL
- * instance in the reverse chronological order of the start time.
+ * Lists all operations that have been performed on a Cloud SQL instance.
* (operations.listOperations)
*
* @param string $project
@@ -897,8 +921,7 @@ class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
{
/**
- * Deletes the SSL certificate. The change will not take effect until the
- * instance is restarted. (sslCerts.delete)
+ * Deletes an SSL certificate from a Cloud SQL instance. (sslCerts.delete)
*
* @param string $project
* Project ID of the project that contains the instance to be deleted.
@@ -916,9 +939,8 @@ public function delete($project, $instance, $sha1Fingerprint, $optParams = array
return $this->call('delete', array($params), "Google_Service_SQLAdmin_SslCertsDeleteResponse");
}
/**
- * Retrieves a particular SSL certificate. Does not include the private key
- * (required for usage). The private key must be saved from the response to
- * initial creation. (sslCerts.get)
+ * Retrieves an SSL certificate as specified by its SHA-1 fingerprint.
+ * (sslCerts.get)
*
* @param string $project
* Project ID of the project that contains the instance.
@@ -936,9 +958,8 @@ public function get($project, $instance, $sha1Fingerprint, $optParams = array())
return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert");
}
/**
- * Creates an SSL certificate and returns it along with the private key and
- * server certificate authority. The new certificate will not be usable until
- * the instance is restarted. (sslCerts.insert)
+ * Creates an SSL certificate and returns the certificate, the associated
+ * private key, and the server certificate authority. (sslCerts.insert)
*
* @param string $project
* Project ID of the project to which the newly created Cloud SQL instances should belong.
@@ -955,7 +976,7 @@ public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInse
return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse");
}
/**
- * Lists all of the current SSL certificates for the instance.
+ * Lists all of the current SSL certificates defined for a Cloud SQL instance.
* (sslCerts.listSslCerts)
*
* @param string $project
@@ -985,8 +1006,8 @@ class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
{
/**
- * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
- * For related information, see Pricing. (tiers.listTiers)
+ * Lists service tiers that can be used to create Google Cloud SQL instances.
+ * (tiers.listTiers)
*
* @param string $project
* Project ID of the project for which to list tiers.
@@ -1323,12 +1344,15 @@ class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
public $databaseVersion;
public $etag;
public $instance;
+ public $instanceType;
protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
protected $ipAddressesDataType = 'array';
public $kind;
+ public $masterInstanceName;
public $maxDiskSize;
public $project;
public $region;
+ public $replicaNames;
protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
protected $serverCaCertDataType = '';
protected $settingsType = 'Google_Service_SQLAdmin_Settings';
@@ -1375,6 +1399,16 @@ public function getInstance()
return $this->instance;
}
+ public function setInstanceType($instanceType)
+ {
+ $this->instanceType = $instanceType;
+ }
+
+ public function getInstanceType()
+ {
+ return $this->instanceType;
+ }
+
public function setIpAddresses($ipAddresses)
{
$this->ipAddresses = $ipAddresses;
@@ -1395,6 +1429,16 @@ public function getKind()
return $this->kind;
}
+ public function setMasterInstanceName($masterInstanceName)
+ {
+ $this->masterInstanceName = $masterInstanceName;
+ }
+
+ public function getMasterInstanceName()
+ {
+ return $this->masterInstanceName;
+ }
+
public function setMaxDiskSize($maxDiskSize)
{
$this->maxDiskSize = $maxDiskSize;
@@ -1425,6 +1469,16 @@ public function getRegion()
return $this->region;
}
+ public function setReplicaNames($replicaNames)
+ {
+ $this->replicaNames = $replicaNames;
+ }
+
+ public function getReplicaNames()
+ {
+ return $this->replicaNames;
+ }
+
public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
{
$this->serverCaCert = $serverCaCert;
@@ -2020,6 +2074,32 @@ public function getNextPageToken()
}
}
+class Google_Service_SQLAdmin_InstancesPromoteReplicaResponse extends Google_Model
+{
+ public $kind;
+ public $operation;
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+
+ public function getKind()
+ {
+ return $this->kind;
+ }
+
+ public function setOperation($operation)
+ {
+ $this->operation = $operation;
+ }
+
+ public function getOperation()
+ {
+ return $this->operation;
+ }
+}
+
class Google_Service_SQLAdmin_InstancesResetSslConfigResponse extends Google_Model
{
public $kind;
@@ -2348,6 +2428,7 @@ class Google_Service_SQLAdmin_Settings extends Google_Collection
protected $backupConfigurationDataType = 'array';
protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
protected $databaseFlagsDataType = 'array';
+ public $databaseReplicationEnabled;
protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
protected $ipConfigurationDataType = '';
public $kind;
@@ -2398,6 +2479,16 @@ public function getDatabaseFlags()
return $this->databaseFlags;
}
+ public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
+ {
+ $this->databaseReplicationEnabled = $databaseReplicationEnabled;
+ }
+
+ public function getDatabaseReplicationEnabled()
+ {
+ return $this->databaseReplicationEnabled;
+ }
+
public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
{
$this->ipConfiguration = $ipConfiguration;
From 0df848bc2ae9905257586574760b72423c3c11fe Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 21 Aug 2014 01:22:28 -0700
Subject: [PATCH 0218/1371] Updated Drive.php
---
src/Google/Service/Drive.php | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/Google/Service/Drive.php b/src/Google/Service/Drive.php
index 1ed485817..a922fd52e 100644
--- a/src/Google/Service/Drive.php
+++ b/src/Google/Service/Drive.php
@@ -1669,7 +1669,8 @@ class Google_Service_Drive_Files_Resource extends Google_Service_Resource
* The visibility of the new file. This parameter is only relevant when the source is not a native
* Google Doc and convert=false.
* @opt_param bool pinned
- * Whether to pin the head revision of the new copy.
+ * Whether to pin the head revision of the new copy. A file can have a maximum of 200 pinned
+ * revisions.
* @opt_param bool ocr
* Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
* @opt_param string timedTextTrackName
@@ -1742,7 +1743,8 @@ public function get($fileId, $optParams = array())
* @opt_param string visibility
* The visibility of the new file. This parameter is only relevant when convert=false.
* @opt_param bool pinned
- * Whether to pin the head revision of the uploaded file.
+ * Whether to pin the head revision of the uploaded file. A file can have a maximum of 200 pinned
+ * revisions.
* @opt_param bool ocr
* Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
* @opt_param string timedTextTrackName
@@ -1804,7 +1806,7 @@ public function listFiles($optParams = array())
* @opt_param string ocrLanguage
* If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
* @opt_param bool pinned
- * Whether to pin the new revision.
+ * Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.
* @opt_param bool newRevision
* Whether a blob upload should create a new revision. If false, the blob data in the current head
* revision is replaced. If not set or true, a new blob is created as head revision, and previous
@@ -1888,7 +1890,7 @@ public function untrash($fileId, $optParams = array())
* @opt_param string ocrLanguage
* If ocr is true, hints at the language to use. Valid values are ISO 639-1 codes.
* @opt_param bool pinned
- * Whether to pin the new revision.
+ * Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.
* @opt_param bool newRevision
* Whether a blob upload should create a new revision. If false, the blob data in the current head
* revision is replaced. If not set or true, a new blob is created as head revision, and previous
From 8111457846ab2769339f4977921dc8fbd09274c8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 22 Aug 2014 01:23:36 -0700
Subject: [PATCH 0219/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 354 ++++++++++++++++++++++++++++++
1 file changed, 354 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index 551eb0f99..ed528cefe 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -42,6 +42,7 @@ class Google_Service_MapsEngine extends Google_Service
public $layers_parents;
public $maps;
public $projects;
+ public $projects_icons;
public $rasterCollections;
public $rasterCollections_parents;
public $rasterCollections_rasters;
@@ -126,6 +127,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'type' => array(
'location' => 'query',
'type' => 'string',
@@ -260,6 +265,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'patch' => array(
'path' => 'layers/{id}',
@@ -419,6 +428,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'patch' => array(
'path' => 'maps/{id}',
@@ -472,6 +485,59 @@ public function __construct(Google_Client $client)
)
)
);
+ $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,
@@ -560,6 +626,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'patch' => array(
'path' => 'rasterCollections/{id}',
@@ -684,6 +754,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),
)
@@ -715,6 +789,60 @@ public function __construct(Google_Client $client)
'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',
+ ),
+ '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',
@@ -878,6 +1006,10 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
+ 'role' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'patch' => array(
'path' => 'tables/{id}',
@@ -1123,6 +1255,9 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @opt_param string type
* An asset type restriction. If set, only resources of this type will be returned.
* @return Google_Service_MapsEngine_AssetsListResponse
@@ -1279,6 +1414,9 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_LayersListResponse
*/
public function listLayers($optParams = array())
@@ -1475,6 +1613,9 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_MapsListResponse
*/
public function listMaps($optParams = array())
@@ -1556,6 +1697,71 @@ public function listProjects($optParams = array())
}
}
+/**
+ * The "icons" collection of methods.
+ * Typical usage is:
+ *
+ * $mapsengineService = new Google_Service_MapsEngine(...);
+ * $icons = $mapsengineService->icons;
+ *
+ */
+class Google_Service_MapsEngine_ProjectsIcons_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create an icon. (icons.create)
+ *
+ * @param string $projectId
+ * The ID of the project.
+ * @param Google_Icon $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Icon
+ */
+ public function create($projectId, Google_Service_MapsEngine_Icon $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_MapsEngine_Icon");
+ }
+ /**
+ * Return metadata for a specific icon (icons.get)
+ *
+ * @param string $projectId
+ * The ID of the project.
+ * @param string $id
+ * The ID of the icon.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MapsEngine_Icon
+ */
+ public function get($projectId, $id, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_MapsEngine_Icon");
+ }
+ /**
+ * Return all icons in the current project (icons.listProjectsIcons)
+ *
+ * @param string $projectId
+ * The ID of the project.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 50.
+ * @return Google_Service_MapsEngine_IconsListResponse
+ */
+ public function listProjectsIcons($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_IconsListResponse");
+ }
+}
+
/**
* The "rasterCollections" collection of methods.
* Typical usage is:
@@ -1662,6 +1868,9 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_RasterCollectionsListResponse
*/
public function listRasterCollections($optParams = array())
@@ -1816,6 +2025,9 @@ public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRast
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse
*/
public function listRasterCollectionsRasters($id, $optParams = array())
@@ -1866,6 +2078,54 @@ public function get($id, $optParams = array())
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_MapsEngine_Raster");
}
+ /**
+ * Return all rasters readable by the current user. (rasters.listRasters)
+ *
+ * @param string $projectId
+ * The ID of a Maps Engine project, used to filter the response. To list all available projects
+ * with their IDs, send a Projects: list request. You can also find your project ID as the value of
+ * the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.
+ * @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 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or after this time.
+ * @opt_param string processingStatus
+ *
+ * @opt_param string tags
+ * A comma separated list of tags. Returned assets will contain all the tags from the list.
+ * @opt_param string maxResults
+ * The maximum number of items to include in a single response page. The maximum supported value is
+ * 100.
+ * @opt_param string pageToken
+ * The continuation token, used to page through large result sets. To get the next page of results,
+ * set this parameter to the value of nextPageToken from the previous response.
+ * @opt_param string creatorEmail
+ * An email address representing a user. Returned assets that have been created by the user
+ * associated with the provided email address.
+ * @opt_param string bbox
+ * A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this
+ * bounding box will be returned.
+ * @opt_param string modifiedBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been modified at or before this time.
+ * @opt_param string createdBefore
+ * An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
+ * been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
+ * @return Google_Service_MapsEngine_RastersListResponse
+ */
+ public function listRasters($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_MapsEngine_RastersListResponse");
+ }
/**
* Mutate a raster asset. (rasters.patch)
*
@@ -2063,6 +2323,9 @@ public function get($id, $optParams = array())
* @opt_param string createdBefore
* An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have
* been created at or before this time.
+ * @opt_param string role
+ * The role parameter indicates that the response should only contain assets where the current user
+ * has the specified level of access.
* @return Google_Service_MapsEngine_TablesListResponse
*/
public function listTables($optParams = array())
@@ -2989,6 +3252,43 @@ class Google_Service_MapsEngine_GeoJsonProperties extends Google_Model
}
+class Google_Service_MapsEngine_Icon extends Google_Model
+{
+ public $description;
+ public $id;
+ public $name;
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
class Google_Service_MapsEngine_IconStyle extends Google_Model
{
public $id;
@@ -3015,6 +3315,33 @@ public function getName()
}
}
+class Google_Service_MapsEngine_IconsListResponse extends Google_Collection
+{
+ protected $iconsType = 'Google_Service_MapsEngine_Icon';
+ protected $iconsDataType = 'array';
+ public $nextPageToken;
+
+ public function setIcons($icons)
+ {
+ $this->icons = $icons;
+ }
+
+ public function getIcons()
+ {
+ return $this->icons;
+ }
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_MapsEngine_LabelStyle extends Google_Model
{
public $color;
@@ -4519,6 +4846,33 @@ public function getRasters()
}
}
+class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
+{
+ public $nextPageToken;
+ protected $rastersType = 'Google_Service_MapsEngine_Raster';
+ protected $rastersDataType = 'array';
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+
+ public function setRasters($rasters)
+ {
+ $this->rasters = $rasters;
+ }
+
+ public function getRasters()
+ {
+ return $this->rasters;
+ }
+}
+
class Google_Service_MapsEngine_Schema extends Google_Collection
{
protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
From f71b5e9ff7df7c045a34cf6106d03983cc77af07 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 22 Aug 2014 01:23:36 -0700
Subject: [PATCH 0220/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 60 +++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index b568ca9d7..53e1fa59d 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -1872,6 +1872,7 @@ public function getJobId()
class Google_Service_Genomics_ImportVariantsRequest extends Google_Collection
{
public $datasetId;
+ public $format;
public $sourceUris;
public function setDatasetId($datasetId)
@@ -1884,6 +1885,16 @@ public function getDatasetId()
return $this->datasetId;
}
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+
+ public function getFormat()
+ {
+ return $this->format;
+ }
+
public function setSourceUris($sourceUris)
{
$this->sourceUris = $sourceUris;
@@ -1918,6 +1929,8 @@ class Google_Service_Genomics_Job extends Google_Collection
public $id;
public $importedIds;
public $projectId;
+ protected $requestType = 'Google_Service_Genomics_JobRequest';
+ protected $requestDataType = '';
public $status;
public $warnings;
@@ -1981,6 +1994,16 @@ public function getProjectId()
return $this->projectId;
}
+ public function setRequest(Google_Service_Genomics_JobRequest $request)
+ {
+ $this->request = $request;
+ }
+
+ public function getRequest()
+ {
+ return $this->request;
+ }
+
public function setStatus($status)
{
$this->status = $status;
@@ -2002,6 +2025,43 @@ public function getWarnings()
}
}
+class Google_Service_Genomics_JobRequest extends Google_Collection
+{
+ public $destination;
+ public $source;
+ public $type;
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+
+ public function setSource($source)
+ {
+ $this->source = $source;
+ }
+
+ public function getSource()
+ {
+ return $this->source;
+ }
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
class Google_Service_Genomics_ListCoverageBucketsResponse extends Google_Collection
{
public $bucketWidth;
From f0fbc4f098444f194c7957235f14b1a23b0d7ee3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Fri, 22 Aug 2014 01:23:37 -0700
Subject: [PATCH 0221/1371] Updated Manager.php
---
src/Google/Service/Manager.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Manager.php b/src/Google/Service/Manager.php
index e99718862..5085e8cfe 100644
--- a/src/Google/Service/Manager.php
+++ b/src/Google/Service/Manager.php
@@ -997,6 +997,7 @@ class Google_Service_Manager_LbModule extends Google_Collection
public $ipAddress;
public $ipProtocol;
public $portRange;
+ public $sessionAffinity;
public $targetModules;
public function setDescription($description)
@@ -1049,6 +1050,16 @@ public function getPortRange()
return $this->portRange;
}
+ public function setSessionAffinity($sessionAffinity)
+ {
+ $this->sessionAffinity = $sessionAffinity;
+ }
+
+ public function getSessionAffinity()
+ {
+ return $this->sessionAffinity;
+ }
+
public function setTargetModules($targetModules)
{
$this->targetModules = $targetModules;
From 6cd719a35f3cd6d3e74b425afeb3ec1ed24ecace Mon Sep 17 00:00:00 2001
From: Matthew Strickland
Date: Mon, 25 Aug 2014 18:15:59 -0700
Subject: [PATCH 0222/1371] Fix multiple header definitions in
ParseStringHeaders method
---
src/Google/IO/Abstract.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/IO/Abstract.php b/src/Google/IO/Abstract.php
index 2d80afdd8..4f1134211 100644
--- a/src/Google/IO/Abstract.php
+++ b/src/Google/IO/Abstract.php
@@ -300,7 +300,7 @@ private function parseStringHeaders($rawHeaders)
if ($headerLine && strpos($headerLine, ':') !== false) {
list($header, $value) = explode(': ', $headerLine, 2);
$header = strtolower($header);
- if (isset($responseHeaders[$header])) {
+ if (isset($headers[$header])) {
$headers[$header] .= "\n" . $value;
} else {
$headers[$header] = $value;
From df075bbd62bdbf885fe93a8800f1ba40cf3ec90a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 01:30:46 -0700
Subject: [PATCH 0223/1371] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 66 ++++++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index d1c71d104..7040943b0 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -3024,6 +3024,7 @@ class Google_Service_ShoppingContent_Product extends Google_Collection
public $salePriceEffectiveDate;
protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping';
protected $shippingDataType = 'array';
+ public $shippingLabel;
protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight';
protected $shippingWeightDataType = '';
public $sizeSystem;
@@ -3519,6 +3520,16 @@ public function getShipping()
return $this->shipping;
}
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+
public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight)
{
$this->shippingWeight = $shippingWeight;
@@ -3761,6 +3772,9 @@ public function getMonths()
class Google_Service_ShoppingContent_ProductShipping extends Google_Model
{
public $country;
+ public $locationGroupName;
+ public $locationId;
+ public $postalCode;
protected $priceType = 'Google_Service_ShoppingContent_Price';
protected $priceDataType = '';
public $region;
@@ -3776,6 +3790,36 @@ public function getCountry()
return $this->country;
}
+ public function setLocationGroupName($locationGroupName)
+ {
+ $this->locationGroupName = $locationGroupName;
+ }
+
+ public function getLocationGroupName()
+ {
+ return $this->locationGroupName;
+ }
+
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+
public function setPrice(Google_Service_ShoppingContent_Price $price)
{
$this->price = $price;
@@ -4026,6 +4070,8 @@ public function getIntention()
class Google_Service_ShoppingContent_ProductTax extends Google_Model
{
public $country;
+ public $locationId;
+ public $postalCode;
public $rate;
public $region;
public $taxShip;
@@ -4040,6 +4086,26 @@ public function getCountry()
return $this->country;
}
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+
+ public function setPostalCode($postalCode)
+ {
+ $this->postalCode = $postalCode;
+ }
+
+ public function getPostalCode()
+ {
+ return $this->postalCode;
+ }
+
public function setRate($rate)
{
$this->rate = $rate;
From fd55df08644e73a754f72579adcd6044cb76767d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 01:30:46 -0700
Subject: [PATCH 0224/1371] Updated Gmail.php
---
src/Google/Service/Gmail.php | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/src/Google/Service/Gmail.php b/src/Google/Service/Gmail.php
index aec364df2..ec716fc0d 100644
--- a/src/Google/Service/Gmail.php
+++ b/src/Google/Service/Gmail.php
@@ -332,6 +332,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'internalDateSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'insert' => array(
'path' => '{userId}/messages',
@@ -342,6 +346,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'internalDateSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
),
),'list' => array(
'path' => '{userId}/messages',
@@ -909,13 +917,17 @@ public function get($userId, $id, $optParams = array())
return $this->call('get', array($params), "Google_Service_Gmail_Message");
}
/**
- * Directly imports a message into only this user's mailbox, similar to
- * receiving via SMTP. Does not send a message. (messages.import)
+ * Imports a message into only this user's mailbox, with standard email delivery
+ * scanning and classification similar to receiving via SMTP. Does not send a
+ * message. (messages.import)
*
* @param string $userId
* The user's email address. The special value me can be used to indicate the authenticated user.
* @param Google_Message $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param string internalDateSource
+ * Source for Gmail's internal date of the message.
* @return Google_Service_Gmail_Message
*/
public function import($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
@@ -925,13 +937,17 @@ public function import($userId, Google_Service_Gmail_Message $postBody, $optPara
return $this->call('import', array($params), "Google_Service_Gmail_Message");
}
/**
- * Directly inserts a message into only this user's mailbox. Does not send a
- * message. (messages.insert)
+ * Directly inserts a message into only this user's mailbox similar to IMAP
+ * APPEND, bypassing most scanning and classification. Does not send a message.
+ * (messages.insert)
*
* @param string $userId
* The user's email address. The special value me can be used to indicate the authenticated user.
* @param Google_Message $postBody
* @param array $optParams Optional parameters.
+ *
+ * @opt_param string internalDateSource
+ * Source for Gmail's internal date of the message.
* @return Google_Service_Gmail_Message
*/
public function insert($userId, Google_Service_Gmail_Message $postBody, $optParams = array())
From fd9db683efa14bfe26dd6cc461169afda2c6b843 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:09 -0700
Subject: [PATCH 0225/1371] Updated YouTube.php
---
src/Google/Service/YouTube.php | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/src/Google/Service/YouTube.php b/src/Google/Service/YouTube.php
index ea24855e5..404cc4299 100644
--- a/src/Google/Service/YouTube.php
+++ b/src/Google/Service/YouTube.php
@@ -3333,6 +3333,7 @@ public function unsetWatermarks($channelId, $optParams = array())
class Google_Service_YouTube_AccessPolicy extends Google_Collection
{
+ protected $collection_key = 'exception';
public $allowed;
public $exception;
@@ -3674,6 +3675,7 @@ public function getResourceId()
class Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Google_Collection
{
+ protected $collection_key = 'impressionUrl';
public $adTag;
public $clickTrackingUrl;
public $creativeViewUrl;
@@ -3918,6 +3920,7 @@ public function getVideoId()
class Google_Service_YouTube_ActivityListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_Activity';
@@ -4397,6 +4400,7 @@ public function getUrl()
class Google_Service_YouTube_ChannelBrandingSettings extends Google_Collection
{
+ protected $collection_key = 'hints';
protected $channelType = 'Google_Service_YouTube_ChannelSettings';
protected $channelDataType = '';
protected $hintsType = 'Google_Service_YouTube_PropertyValue';
@@ -4587,6 +4591,7 @@ public function getConversionUrl()
class Google_Service_YouTube_ChannelConversionPings extends Google_Collection
{
+ protected $collection_key = 'pings';
protected $pingsType = 'Google_Service_YouTube_ChannelConversionPing';
protected $pingsDataType = 'array';
@@ -4603,6 +4608,7 @@ public function getPings()
class Google_Service_YouTube_ChannelListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_Channel';
@@ -4770,6 +4776,7 @@ public function getSnippet()
class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection
{
+ protected $collection_key = 'playlists';
public $channels;
public $playlists;
@@ -4796,6 +4803,7 @@ public function getPlaylists()
class Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_ChannelSection';
@@ -4915,6 +4923,7 @@ public function getType()
class Google_Service_YouTube_ChannelSettings extends Google_Collection
{
+ protected $collection_key = 'featuredChannelsUrls';
public $defaultTab;
public $description;
public $featuredChannelsTitle;
@@ -5185,6 +5194,7 @@ public function getPrivacyStatus()
class Google_Service_YouTube_ChannelTopicDetails extends Google_Collection
{
+ protected $collection_key = 'topicIds';
public $topicIds;
public function setTopicIds($topicIds)
@@ -5983,6 +5993,7 @@ public function getSnippet()
class Google_Service_YouTube_GuideCategoryListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_GuideCategory';
@@ -6164,6 +6175,7 @@ public function getSnippet()
class Google_Service_YouTube_I18nLanguageListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_I18nLanguage';
@@ -6299,6 +6311,7 @@ public function getSnippet()
class Google_Service_YouTube_I18nRegionListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_I18nRegion';
@@ -6760,6 +6773,7 @@ public function getType()
class Google_Service_YouTube_InvideoPromotion extends Google_Collection
{
+ protected $collection_key = 'items';
protected $defaultTimingType = 'Google_Service_YouTube_InvideoTiming';
protected $defaultTimingDataType = '';
protected $itemsType = 'Google_Service_YouTube_PromotedItem';
@@ -7003,6 +7017,7 @@ public function getStartWithSlate()
class Google_Service_YouTube_LiveBroadcastListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_LiveBroadcast';
@@ -7361,6 +7376,7 @@ public function getClosedCaptionsIngestionUrl()
class Google_Service_YouTube_LiveStreamListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_LiveStream';
@@ -7530,6 +7546,7 @@ public function getStreamStatus()
class Google_Service_YouTube_LocalizedProperty extends Google_Collection
{
+ protected $collection_key = 'localized';
public $default;
protected $localizedType = 'Google_Service_YouTube_LocalizedString';
protected $localizedDataType = 'array';
@@ -7867,6 +7884,7 @@ public function getVideoId()
class Google_Service_YouTube_PlaylistItemListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_PlaylistItem';
@@ -8093,6 +8111,7 @@ public function getPrivacyStatus()
class Google_Service_YouTube_PlaylistListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_Playlist';
@@ -8214,6 +8233,7 @@ public function getEmbedHtml()
class Google_Service_YouTube_PlaylistSnippet extends Google_Collection
{
+ protected $collection_key = 'tags';
public $channelId;
public $channelTitle;
public $description;
@@ -8483,6 +8503,7 @@ public function getVideoId()
class Google_Service_YouTube_SearchListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_SearchResult';
@@ -8831,6 +8852,7 @@ public function getTotalItemCount()
class Google_Service_YouTube_SubscriptionListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_Subscription';
@@ -9170,6 +9192,7 @@ public function getStandard()
class Google_Service_YouTube_ThumbnailSetResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_ThumbnailDetails';
@@ -9538,6 +9561,7 @@ public function getSnippet()
class Google_Service_YouTube_VideoCategoryListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_VideoCategory';
@@ -9776,6 +9800,7 @@ public function getRegionRestriction()
class Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Google_Collection
{
+ protected $collection_key = 'blocked';
public $allowed;
public $blocked;
@@ -9828,6 +9853,7 @@ public function getConversionUrl()
class Google_Service_YouTube_VideoConversionPings extends Google_Collection
{
+ protected $collection_key = 'pings';
protected $pingsType = 'Google_Service_YouTube_VideoConversionPing';
protected $pingsDataType = 'array';
@@ -9844,6 +9870,7 @@ public function getPings()
class Google_Service_YouTube_VideoFileDetails extends Google_Collection
{
+ protected $collection_key = 'videoStreams';
protected $audioStreamsType = 'Google_Service_YouTube_VideoFileDetailsAudioStream';
protected $audioStreamsDataType = 'array';
public $bitrateBps;
@@ -10101,6 +10128,7 @@ public function getWidthPixels()
class Google_Service_YouTube_VideoGetRatingResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_YouTube_VideoRating';
protected $itemsDataType = 'array';
@@ -10139,6 +10167,7 @@ public function getKind()
class Google_Service_YouTube_VideoListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $eventId;
protected $itemsType = 'Google_Service_YouTube_Video';
@@ -10465,6 +10494,7 @@ public function getTimeLeftMs()
class Google_Service_YouTube_VideoProjectDetails extends Google_Collection
{
+ protected $collection_key = 'tags';
public $tags;
public function setTags($tags)
@@ -10544,6 +10574,7 @@ public function getRecordingDate()
class Google_Service_YouTube_VideoSnippet extends Google_Collection
{
+ protected $collection_key = 'tags';
public $categoryId;
public $channelId;
public $channelTitle;
@@ -10799,6 +10830,7 @@ public function getUploadStatus()
class Google_Service_YouTube_VideoSuggestions extends Google_Collection
{
+ protected $collection_key = 'tagSuggestions';
public $editorSuggestions;
public $processingErrors;
public $processingHints;
@@ -10859,6 +10891,7 @@ public function getTagSuggestions()
class Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Google_Collection
{
+ protected $collection_key = 'categoryRestricts';
public $categoryRestricts;
public $tag;
@@ -10885,6 +10918,7 @@ public function getTag()
class Google_Service_YouTube_VideoTopicDetails extends Google_Collection
{
+ protected $collection_key = 'topicIds';
public $relevantTopicIds;
public $topicIds;
From 2457e6eb49587452609e03a1fb7c3e0ceda42286 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:10 -0700
Subject: [PATCH 0226/1371] Updated AdExchangeBuyer.php
---
src/Google/Service/AdExchangeBuyer.php | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/src/Google/Service/AdExchangeBuyer.php b/src/Google/Service/AdExchangeBuyer.php
index 533b9b2fd..26fdde442 100644
--- a/src/Google/Service/AdExchangeBuyer.php
+++ b/src/Google/Service/AdExchangeBuyer.php
@@ -705,6 +705,7 @@ public function update($accountId, $configId, Google_Service_AdExchangeBuyer_Pre
class Google_Service_AdExchangeBuyer_Account extends Google_Collection
{
+ protected $collection_key = 'bidderLocation';
protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
protected $bidderLocationDataType = 'array';
public $cookieMatchingNid;
@@ -813,6 +814,7 @@ public function getUrl()
class Google_Service_AdExchangeBuyer_AccountsList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
protected $itemsDataType = 'array';
public $kind;
@@ -840,6 +842,7 @@ public function getKind()
class Google_Service_AdExchangeBuyer_BillingInfo extends Google_Collection
{
+ protected $collection_key = 'billingId';
public $accountId;
public $accountName;
public $billingId;
@@ -888,6 +891,7 @@ public function getKind()
class Google_Service_AdExchangeBuyer_BillingInfoList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
protected $itemsDataType = 'array';
public $kind;
@@ -915,6 +919,7 @@ public function getKind()
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
+ protected $collection_key = 'vendorType';
public $hTMLSnippet;
public $accountId;
public $advertiserId;
@@ -1142,6 +1147,7 @@ public function getWidth()
class Google_Service_AdExchangeBuyer_CreativeCorrections extends Google_Collection
{
+ protected $collection_key = 'details';
public $details;
public $reason;
@@ -1168,6 +1174,7 @@ public function getReason()
class Google_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Google_Collection
{
+ protected $collection_key = 'details';
public $details;
public $reason;
@@ -1194,6 +1201,7 @@ public function getReason()
class Google_Service_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
{
+ protected $collection_key = 'reasons';
public $date;
protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
protected $reasonsDataType = 'array';
@@ -1247,6 +1255,7 @@ public function getFilteringStatus()
class Google_Service_AdExchangeBuyer_CreativesList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
protected $itemsDataType = 'array';
public $kind;
@@ -1410,6 +1419,7 @@ public function getStartTime()
class Google_Service_AdExchangeBuyer_DirectDealsList extends Google_Collection
{
+ protected $collection_key = 'directDeals';
protected $directDealsType = 'Google_Service_AdExchangeBuyer_DirectDeal';
protected $directDealsDataType = 'array';
public $kind;
@@ -1437,6 +1447,7 @@ public function getKind()
class Google_Service_AdExchangeBuyer_PerformanceReport extends Google_Collection
{
+ protected $collection_key = 'hostedMatchStatusRate';
public $calloutStatusRate;
public $cookieMatcherStatusRate;
public $creativeStatusRate;
@@ -1617,6 +1628,7 @@ public function getTimestamp()
class Google_Service_AdExchangeBuyer_PerformanceReportList extends Google_Collection
{
+ protected $collection_key = 'performanceReport';
public $kind;
protected $performanceReportType = 'Google_Service_AdExchangeBuyer_PerformanceReport';
protected $performanceReportDataType = 'array';
@@ -1644,6 +1656,8 @@ public function getPerformanceReport()
class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collection
{
+ protected $collection_key = 'verticals';
+ public $billingId;
public $configId;
public $configName;
public $creativeType;
@@ -1670,6 +1684,16 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collectio
public $vendorTypes;
public $verticals;
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+
public function setConfigId($configId)
{
$this->configId = $configId;
@@ -1945,6 +1969,7 @@ public function getType()
class Google_Service_AdExchangeBuyer_PretargetingConfigList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_PretargetingConfig';
protected $itemsDataType = 'array';
public $kind;
From 3cb580feab544cba8186869f50b1fb8791db45fc Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:11 -0700
Subject: [PATCH 0227/1371] Updated Fusiontables.php
---
src/Google/Service/Fusiontables.php | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/Google/Service/Fusiontables.php b/src/Google/Service/Fusiontables.php
index ffa01bd10..89e7c2ad0 100644
--- a/src/Google/Service/Fusiontables.php
+++ b/src/Google/Service/Fusiontables.php
@@ -1422,6 +1422,7 @@ public function getTableIndex()
class Google_Service_Fusiontables_ColumnList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Fusiontables_Column';
protected $itemsDataType = 'array';
public $kind;
@@ -1471,6 +1472,7 @@ public function getTotalItems()
class Google_Service_Fusiontables_Geometry extends Google_Collection
{
+ protected $collection_key = 'geometries';
public $geometries;
public $geometry;
public $type;
@@ -1534,6 +1536,7 @@ public function getNumRowsReceived()
class Google_Service_Fusiontables_Line extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public $type;
@@ -1621,6 +1624,7 @@ public function getStrokeWeightStyler()
class Google_Service_Fusiontables_Point extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public $type;
@@ -1674,6 +1678,7 @@ public function getIconStyler()
class Google_Service_Fusiontables_Polygon extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public $type;
@@ -1795,6 +1800,7 @@ public function getStrokeWeightStyler()
class Google_Service_Fusiontables_Sqlresponse extends Google_Collection
{
+ protected $collection_key = 'rows';
public $columns;
public $kind;
public $rows;
@@ -1832,6 +1838,7 @@ public function getRows()
class Google_Service_Fusiontables_StyleFunction extends Google_Collection
{
+ protected $collection_key = 'buckets';
protected $bucketsType = 'Google_Service_Fusiontables_Bucket';
protected $bucketsDataType = 'array';
public $columnName;
@@ -1882,6 +1889,7 @@ public function getKind()
class Google_Service_Fusiontables_StyleFunctionGradient extends Google_Collection
{
+ protected $collection_key = 'colors';
protected $colorsType = 'Google_Service_Fusiontables_StyleFunctionGradientColors';
protected $colorsDataType = 'array';
public $max;
@@ -2030,6 +2038,7 @@ public function getTableId()
class Google_Service_Fusiontables_StyleSettingList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Fusiontables_StyleSetting';
protected $itemsDataType = 'array';
public $kind;
@@ -2079,6 +2088,7 @@ public function getTotalItems()
class Google_Service_Fusiontables_Table extends Google_Collection
{
+ protected $collection_key = 'columns';
public $attribution;
public $attributionLink;
public $baseTableIds;
@@ -2194,6 +2204,7 @@ public function getTableId()
class Google_Service_Fusiontables_TableList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Fusiontables_Table';
protected $itemsDataType = 'array';
public $kind;
@@ -2291,6 +2302,7 @@ public function getType()
class Google_Service_Fusiontables_TaskList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Fusiontables_Task';
protected $itemsDataType = 'array';
public $kind;
@@ -2340,6 +2352,7 @@ public function getTotalItems()
class Google_Service_Fusiontables_Template extends Google_Collection
{
+ protected $collection_key = 'automaticColumnNames';
public $automaticColumnNames;
public $body;
public $kind;
@@ -2410,6 +2423,7 @@ public function getTemplateId()
class Google_Service_Fusiontables_TemplateList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Fusiontables_Template';
protected $itemsDataType = 'array';
public $kind;
From 176ded8f2614515e8e400cffd7568cf946b69686 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:12 -0700
Subject: [PATCH 0228/1371] Updated Storage.php
---
src/Google/Service/Storage.php | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/Google/Service/Storage.php b/src/Google/Service/Storage.php
index ff432b493..eb71c9d31 100644
--- a/src/Google/Service/Storage.php
+++ b/src/Google/Service/Storage.php
@@ -1839,6 +1839,7 @@ public function watchAll($bucket, Google_Service_Storage_Channel $postBody, $opt
class Google_Service_Storage_Bucket extends Google_Collection
{
+ protected $collection_key = 'defaultObjectAcl';
protected $aclType = 'Google_Service_Storage_BucketAccessControl';
protected $aclDataType = 'array';
protected $corsType = 'Google_Service_Storage_BucketCors';
@@ -2201,6 +2202,7 @@ public function getTeam()
class Google_Service_Storage_BucketAccessControls extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Storage_BucketAccessControl';
protected $itemsDataType = 'array';
public $kind;
@@ -2228,6 +2230,7 @@ public function getKind()
class Google_Service_Storage_BucketCors extends Google_Collection
{
+ protected $collection_key = 'responseHeader';
public $maxAgeSeconds;
public $method;
public $origin;
@@ -2276,6 +2279,7 @@ public function getResponseHeader()
class Google_Service_Storage_BucketLifecycle extends Google_Collection
{
+ protected $collection_key = 'rule';
protected $ruleType = 'Google_Service_Storage_BucketLifecycleRule';
protected $ruleDataType = 'array';
@@ -2476,6 +2480,7 @@ public function getNotFoundPage()
class Google_Service_Storage_Buckets extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Storage_Bucket';
protected $itemsDataType = 'array';
public $kind;
@@ -2633,6 +2638,7 @@ class Google_Service_Storage_ChannelParams extends Google_Model
class Google_Service_Storage_ComposeRequest extends Google_Collection
{
+ protected $collection_key = 'sourceObjects';
protected $destinationType = 'Google_Service_Storage_StorageObject';
protected $destinationDataType = '';
public $kind;
@@ -2899,6 +2905,7 @@ public function getTeam()
class Google_Service_Storage_ObjectAccessControls extends Google_Collection
{
+ protected $collection_key = 'items';
public $items;
public $kind;
@@ -2925,6 +2932,7 @@ public function getKind()
class Google_Service_Storage_Objects extends Google_Collection
{
+ protected $collection_key = 'prefixes';
protected $itemsType = 'Google_Service_Storage_StorageObject';
protected $itemsDataType = 'array';
public $kind;
@@ -2974,6 +2982,7 @@ public function getPrefixes()
class Google_Service_Storage_StorageObject extends Google_Collection
{
+ protected $collection_key = 'acl';
protected $aclType = 'Google_Service_Storage_ObjectAccessControl';
protected $aclDataType = 'array';
public $bucket;
From 274bf8f2e871b12d1e6bd78d9537ff18fa8deb1f Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:12 -0700
Subject: [PATCH 0229/1371] Updated AdExchangeSeller.php
---
src/Google/Service/AdExchangeSeller.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/AdExchangeSeller.php b/src/Google/Service/AdExchangeSeller.php
index a09913a77..9c1c8231e 100644
--- a/src/Google/Service/AdExchangeSeller.php
+++ b/src/Google/Service/AdExchangeSeller.php
@@ -1079,6 +1079,7 @@ public function getSupportsReporting()
class Google_Service_AdExchangeSeller_AdClients extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdExchangeSeller_AdClient';
protected $itemsDataType = 'array';
@@ -1187,6 +1188,7 @@ public function getStatus()
class Google_Service_AdExchangeSeller_AdUnits extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdExchangeSeller_AdUnit';
protected $itemsDataType = 'array';
@@ -1295,6 +1297,7 @@ public function getType()
class Google_Service_AdExchangeSeller_Alerts extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeSeller_Alert';
protected $itemsDataType = 'array';
public $kind;
@@ -1430,6 +1433,7 @@ public function getSiteLanguage()
class Google_Service_AdExchangeSeller_CustomChannels extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdExchangeSeller_CustomChannel';
protected $itemsDataType = 'array';
@@ -1479,6 +1483,7 @@ public function getNextPageToken()
class Google_Service_AdExchangeSeller_Metadata extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeSeller_ReportingMetadataEntry';
protected $itemsDataType = 'array';
public $kind;
@@ -1598,6 +1603,7 @@ public function getStartTime()
class Google_Service_AdExchangeSeller_PreferredDeals extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeSeller_PreferredDeal';
protected $itemsDataType = 'array';
public $kind;
@@ -1625,6 +1631,7 @@ public function getKind()
class Google_Service_AdExchangeSeller_Report extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $averages;
protected $headersType = 'Google_Service_AdExchangeSeller_ReportHeaders';
protected $headersDataType = 'array';
@@ -1744,6 +1751,7 @@ public function getType()
class Google_Service_AdExchangeSeller_ReportingMetadataEntry extends Google_Collection
{
+ protected $collection_key = 'supportedProducts';
public $compatibleDimensions;
public $compatibleMetrics;
public $id;
@@ -1862,6 +1870,7 @@ public function getName()
class Google_Service_AdExchangeSeller_SavedReports extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdExchangeSeller_SavedReport';
protected $itemsDataType = 'array';
@@ -1948,6 +1957,7 @@ public function getUrlPattern()
class Google_Service_AdExchangeSeller_UrlChannels extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdExchangeSeller_UrlChannel';
protected $itemsDataType = 'array';
From 37e575c94ba7861b3337c6617186cfdd00d6a007 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:13 -0700
Subject: [PATCH 0230/1371] Updated Blogger.php
---
src/Google/Service/Blogger.php | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/Google/Service/Blogger.php b/src/Google/Service/Blogger.php
index 2438429b5..325d5fe0c 100644
--- a/src/Google/Service/Blogger.php
+++ b/src/Google/Service/Blogger.php
@@ -1893,6 +1893,7 @@ public function getUrl()
class Google_Service_Blogger_BlogList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $blogUserInfosType = 'Google_Service_Blogger_BlogUserInfo';
protected $blogUserInfosDataType = 'array';
protected $itemsType = 'Google_Service_Blogger_Blog';
@@ -2065,6 +2066,7 @@ public function getUserId()
class Google_Service_Blogger_BlogPosts extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Blogger_Post';
protected $itemsDataType = 'array';
public $selfLink;
@@ -2365,6 +2367,7 @@ public function getId()
class Google_Service_Blogger_CommentList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Blogger_Comment';
protected $itemsDataType = 'array';
public $kind;
@@ -2646,6 +2649,7 @@ public function getId()
class Google_Service_Blogger_PageList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Blogger_Page';
protected $itemsDataType = 'array';
public $kind;
@@ -2673,6 +2677,7 @@ public function getKind()
class Google_Service_Blogger_Pageviews extends Google_Collection
{
+ protected $collection_key = 'counts';
public $blogId;
protected $countsType = 'Google_Service_Blogger_PageviewsCounts';
protected $countsDataType = 'array';
@@ -2737,6 +2742,7 @@ public function getTimeRange()
class Google_Service_Blogger_Post extends Google_Collection
{
+ protected $collection_key = 'labels';
protected $authorType = 'Google_Service_Blogger_PostAuthor';
protected $authorDataType = '';
protected $blogType = 'Google_Service_Blogger_PostBlog';
@@ -3049,6 +3055,7 @@ public function getUrl()
class Google_Service_Blogger_PostList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Blogger_Post';
protected $itemsDataType = 'array';
public $kind;
@@ -3194,6 +3201,7 @@ public function getUserId()
class Google_Service_Blogger_PostReplies extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Blogger_Comment';
protected $itemsDataType = 'array';
public $selfLink;
@@ -3271,6 +3279,7 @@ public function getPostUserInfo()
class Google_Service_Blogger_PostUserInfosList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Blogger_PostUserInfo';
protected $itemsDataType = 'array';
public $kind;
From 948bb5717bb56f7dde9bff696587bc5d1fcc0eab Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:14 -0700
Subject: [PATCH 0231/1371] Updated AndroidPublisher.php
---
src/Google/Service/AndroidPublisher.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/AndroidPublisher.php b/src/Google/Service/AndroidPublisher.php
index 41a94e097..aba94d321 100644
--- a/src/Google/Service/AndroidPublisher.php
+++ b/src/Google/Service/AndroidPublisher.php
@@ -2187,6 +2187,7 @@ public function getRecentChanges()
class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
{
+ protected $collection_key = 'listings';
public $kind;
protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing';
protected $listingsDataType = 'array';
@@ -2214,6 +2215,7 @@ public function getListings()
class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
{
+ protected $collection_key = 'apks';
protected $apksType = 'Google_Service_AndroidPublisher_Apk';
protected $apksDataType = 'array';
public $kind;
@@ -2394,6 +2396,7 @@ public function getUrl()
class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
{
+ protected $collection_key = 'deleted';
protected $deletedType = 'Google_Service_AndroidPublisher_Image';
protected $deletedDataType = 'array';
@@ -2410,6 +2413,7 @@ public function getDeleted()
class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
{
+ protected $collection_key = 'images';
protected $imagesType = 'Google_Service_AndroidPublisher_Image';
protected $imagesDataType = 'array';
@@ -2595,6 +2599,7 @@ class Google_Service_AndroidPublisher_InAppProductPrices extends Google_Model
class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entrys';
protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
protected $entrysDataType = 'array';
@@ -2661,6 +2666,7 @@ public function getMethodName()
class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entrys';
protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
protected $entrysDataType = 'array';
public $kind;
@@ -2759,6 +2765,7 @@ public function getInappproduct()
class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
{
+ protected $collection_key = 'inappproduct';
protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
protected $inappproductDataType = 'array';
public $kind;
@@ -2901,6 +2908,7 @@ public function getVideo()
class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
{
+ protected $collection_key = 'listings';
public $kind;
protected $listingsType = 'Google_Service_AndroidPublisher_Listing';
protected $listingsDataType = 'array';
@@ -3098,6 +3106,7 @@ public function getStartTimeMillis()
class Google_Service_AndroidPublisher_Testers extends Google_Collection
{
+ protected $collection_key = 'googlePlusCommunities';
public $googleGroups;
public $googlePlusCommunities;
@@ -3150,6 +3159,7 @@ public function getPreviousPageToken()
class Google_Service_AndroidPublisher_Track extends Google_Collection
{
+ protected $collection_key = 'versionCodes';
public $track;
public $userFraction;
public $versionCodes;
@@ -3187,6 +3197,7 @@ public function getVersionCodes()
class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
{
+ protected $collection_key = 'tracks';
public $kind;
protected $tracksType = 'Google_Service_AndroidPublisher_Track';
protected $tracksDataType = 'array';
From 2c1aac6bcd6fb5a90ee917447a3f2a014b06de44 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:15 -0700
Subject: [PATCH 0232/1371] Updated Pagespeedonline.php
---
src/Google/Service/Pagespeedonline.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/Google/Service/Pagespeedonline.php b/src/Google/Service/Pagespeedonline.php
index e1632d75f..1a8f2ab96 100644
--- a/src/Google/Service/Pagespeedonline.php
+++ b/src/Google/Service/Pagespeedonline.php
@@ -138,6 +138,7 @@ public function runpagespeed($url, $optParams = array())
class Google_Service_Pagespeedonline_Result extends Google_Collection
{
+ protected $collection_key = 'invalidRules';
protected $formattedResultsType = 'Google_Service_Pagespeedonline_ResultFormattedResults';
protected $formattedResultsDataType = '';
public $id;
@@ -288,6 +289,7 @@ class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResults extends G
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement extends Google_Collection
{
+ protected $collection_key = 'urlBlocks';
public $localizedRuleName;
public $ruleImpact;
protected $urlBlocksType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks';
@@ -326,6 +328,7 @@ public function getUrlBlocks()
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks extends Google_Collection
{
+ protected $collection_key = 'urls';
protected $headerType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader';
protected $headerDataType = '';
protected $urlsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls';
@@ -354,6 +357,7 @@ public function getUrls()
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader extends Google_Collection
{
+ protected $collection_key = 'args';
protected $argsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs';
protected $argsDataType = 'array';
public $format;
@@ -407,6 +411,7 @@ public function getValue()
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls extends Google_Collection
{
+ protected $collection_key = 'details';
protected $detailsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails';
protected $detailsDataType = 'array';
protected $resultType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult';
@@ -435,6 +440,7 @@ public function getResult()
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails extends Google_Collection
{
+ protected $collection_key = 'args';
protected $argsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs';
protected $argsDataType = 'array';
public $format;
@@ -488,6 +494,7 @@ public function getValue()
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult extends Google_Collection
{
+ protected $collection_key = 'args';
protected $argsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs';
protected $argsDataType = 'array';
public $format;
From cfafa20877e24445e495dd50a7034e99d2bf91ed Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:15 -0700
Subject: [PATCH 0233/1371] Updated Genomics.php
---
src/Google/Service/Genomics.php | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/src/Google/Service/Genomics.php b/src/Google/Service/Genomics.php
index 53e1fa59d..5ab238856 100644
--- a/src/Google/Service/Genomics.php
+++ b/src/Google/Service/Genomics.php
@@ -1192,6 +1192,7 @@ public function getExists()
class Google_Service_Genomics_Call extends Google_Collection
{
+ protected $collection_key = 'genotypeLikelihood';
public $callsetId;
public $callsetName;
public $genotype;
@@ -1432,6 +1433,7 @@ public function getProjectId()
class Google_Service_Genomics_ExperimentalCreateJobRequest extends Google_Collection
{
+ protected $collection_key = 'sourceUris';
public $align;
public $callVariants;
public $gcsOutputPath;
@@ -1517,6 +1519,7 @@ public function getJobId()
class Google_Service_Genomics_ExportReadsetsRequest extends Google_Collection
{
+ protected $collection_key = 'readsetIds';
public $exportUri;
public $projectId;
public $readsetIds;
@@ -1569,6 +1572,7 @@ public function getJobId()
class Google_Service_Genomics_ExportVariantsRequest extends Google_Collection
{
+ protected $collection_key = 'callsetIds';
public $bigqueryDataset;
public $bigqueryTable;
public $callsetIds;
@@ -1691,6 +1695,7 @@ public function getSequenceStart()
class Google_Service_Genomics_GetVariantsSummaryResponse extends Google_Collection
{
+ protected $collection_key = 'metadata';
protected $contigBoundsType = 'Google_Service_Genomics_ContigBound';
protected $contigBoundsDataType = 'array';
protected $metadataType = 'Google_Service_Genomics_Metadata';
@@ -1745,6 +1750,7 @@ public function getVersion()
class Google_Service_Genomics_HeaderSection extends Google_Collection
{
+ protected $collection_key = 'refSequences';
public $comments;
public $fileUri;
public $filename;
@@ -1830,6 +1836,7 @@ public function getRefSequences()
class Google_Service_Genomics_ImportReadsetsRequest extends Google_Collection
{
+ protected $collection_key = 'sourceUris';
public $datasetId;
public $sourceUris;
@@ -1871,6 +1878,7 @@ public function getJobId()
class Google_Service_Genomics_ImportVariantsRequest extends Google_Collection
{
+ protected $collection_key = 'sourceUris';
public $datasetId;
public $format;
public $sourceUris;
@@ -1923,6 +1931,7 @@ public function getJobId()
class Google_Service_Genomics_Job extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $created;
public $description;
public $errors;
@@ -2027,6 +2036,7 @@ public function getWarnings()
class Google_Service_Genomics_JobRequest extends Google_Collection
{
+ protected $collection_key = 'source';
public $destination;
public $source;
public $type;
@@ -2064,6 +2074,7 @@ public function getType()
class Google_Service_Genomics_ListCoverageBucketsResponse extends Google_Collection
{
+ protected $collection_key = 'coverageBuckets';
public $bucketWidth;
protected $coverageBucketsType = 'Google_Service_Genomics_CoverageBucket';
protected $coverageBucketsDataType = 'array';
@@ -2102,6 +2113,7 @@ public function getNextPageToken()
class Google_Service_Genomics_ListDatasetsResponse extends Google_Collection
{
+ protected $collection_key = 'datasets';
protected $datasetsType = 'Google_Service_Genomics_Dataset';
protected $datasetsDataType = 'array';
public $nextPageToken;
@@ -2584,6 +2596,7 @@ class Google_Service_Genomics_ReadTags extends Google_Model
class Google_Service_Genomics_Readset extends Google_Collection
{
+ protected $collection_key = 'fileData';
public $datasetId;
protected $fileDataType = 'Google_Service_Genomics_HeaderSection';
protected $fileDataDataType = 'array';
@@ -2703,6 +2716,7 @@ public function getUri()
class Google_Service_Genomics_SearchCallsetsRequest extends Google_Collection
{
+ protected $collection_key = 'datasetIds';
public $datasetIds;
public $maxResults;
public $name;
@@ -2751,6 +2765,7 @@ public function getPageToken()
class Google_Service_Genomics_SearchCallsetsResponse extends Google_Collection
{
+ protected $collection_key = 'callsets';
protected $callsetsType = 'Google_Service_Genomics_Callset';
protected $callsetsDataType = 'array';
public $nextPageToken;
@@ -2778,6 +2793,7 @@ public function getNextPageToken()
class Google_Service_Genomics_SearchJobsRequest extends Google_Collection
{
+ protected $collection_key = 'status';
public $createdAfter;
public $createdBefore;
public $maxResults;
@@ -2848,6 +2864,7 @@ public function getStatus()
class Google_Service_Genomics_SearchJobsResponse extends Google_Collection
{
+ protected $collection_key = 'jobs';
protected $jobsType = 'Google_Service_Genomics_Job';
protected $jobsDataType = 'array';
public $nextPageToken;
@@ -2875,6 +2892,7 @@ public function getNextPageToken()
class Google_Service_Genomics_SearchReadsRequest extends Google_Collection
{
+ protected $collection_key = 'readsetIds';
public $maxResults;
public $pageToken;
public $readsetIds;
@@ -2945,6 +2963,7 @@ public function getSequenceStart()
class Google_Service_Genomics_SearchReadsResponse extends Google_Collection
{
+ protected $collection_key = 'reads';
public $nextPageToken;
protected $readsType = 'Google_Service_Genomics_Read';
protected $readsDataType = 'array';
@@ -2972,6 +2991,7 @@ public function getReads()
class Google_Service_Genomics_SearchReadsetsRequest extends Google_Collection
{
+ protected $collection_key = 'datasetIds';
public $datasetIds;
public $maxResults;
public $name;
@@ -3020,6 +3040,7 @@ public function getPageToken()
class Google_Service_Genomics_SearchReadsetsResponse extends Google_Collection
{
+ protected $collection_key = 'readsets';
public $nextPageToken;
protected $readsetsType = 'Google_Service_Genomics_Readset';
protected $readsetsDataType = 'array';
@@ -3047,6 +3068,7 @@ public function getReadsets()
class Google_Service_Genomics_SearchVariantsRequest extends Google_Collection
{
+ protected $collection_key = 'callsetNames';
public $callsetIds;
public $callsetNames;
public $contig;
@@ -3150,6 +3172,7 @@ public function getVariantName()
class Google_Service_Genomics_SearchVariantsResponse extends Google_Collection
{
+ protected $collection_key = 'variants';
public $nextPageToken;
protected $variantsType = 'Google_Service_Genomics_Variant';
protected $variantsDataType = 'array';
@@ -3177,6 +3200,7 @@ public function getVariants()
class Google_Service_Genomics_Variant extends Google_Collection
{
+ protected $collection_key = 'names';
public $alternateBases;
protected $callsType = 'Google_Service_Genomics_Call';
protected $callsDataType = 'array';
From 24faf1b13e16ea6b9bde4f67b2c9e969b1672243 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:16 -0700
Subject: [PATCH 0234/1371] Updated MapsEngine.php
---
src/Google/Service/MapsEngine.php | 37 +++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/src/Google/Service/MapsEngine.php b/src/Google/Service/MapsEngine.php
index ed528cefe..465ab831f 100644
--- a/src/Google/Service/MapsEngine.php
+++ b/src/Google/Service/MapsEngine.php
@@ -2614,6 +2614,7 @@ public function getStart()
class Google_Service_MapsEngine_Asset extends Google_Collection
{
+ protected $collection_key = 'tags';
public $bbox;
public $creationTime;
public $description;
@@ -2739,6 +2740,7 @@ public function getType()
class Google_Service_MapsEngine_AssetsListResponse extends Google_Collection
{
+ protected $collection_key = 'assets';
protected $assetsType = 'Google_Service_MapsEngine_Asset';
protected $assetsDataType = 'array';
public $nextPageToken;
@@ -2844,6 +2846,7 @@ public function getId()
class Google_Service_MapsEngine_DisplayRule extends Google_Collection
{
+ protected $collection_key = 'filters';
protected $filtersType = 'Google_Service_MapsEngine_Filter';
protected $filtersDataType = 'array';
protected $lineOptionsType = 'Google_Service_MapsEngine_LineStyle';
@@ -2972,6 +2975,7 @@ public function getContent()
class Google_Service_MapsEngine_FeaturesBatchDeleteRequest extends Google_Collection
{
+ protected $collection_key = 'primaryKeys';
public $gxIds;
public $primaryKeys;
@@ -2998,6 +3002,7 @@ public function getPrimaryKeys()
class Google_Service_MapsEngine_FeaturesBatchInsertRequest extends Google_Collection
{
+ protected $collection_key = 'features';
protected $featuresType = 'Google_Service_MapsEngine_Feature';
protected $featuresDataType = 'array';
@@ -3014,6 +3019,7 @@ public function getFeatures()
class Google_Service_MapsEngine_FeaturesBatchPatchRequest extends Google_Collection
{
+ protected $collection_key = 'features';
protected $featuresType = 'Google_Service_MapsEngine_Feature';
protected $featuresDataType = 'array';
@@ -3030,6 +3036,7 @@ public function getFeatures()
class Google_Service_MapsEngine_FeaturesListResponse extends Google_Collection
{
+ protected $collection_key = 'features';
public $allowedQueriesPerSecond;
protected $featuresType = 'Google_Service_MapsEngine_Feature';
protected $featuresDataType = 'array';
@@ -3143,6 +3150,7 @@ public function getType()
class Google_Service_MapsEngine_GeoJsonGeometryCollection extends Google_Collection
{
+ protected $collection_key = 'geometries';
protected $geometriesType = 'Google_Service_MapsEngine_GeoJsonGeometry';
protected $geometriesDataType = 'array';
@@ -3159,6 +3167,7 @@ public function getGeometries()
class Google_Service_MapsEngine_GeoJsonLineString extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public function setCoordinates($coordinates)
@@ -3174,6 +3183,7 @@ public function getCoordinates()
class Google_Service_MapsEngine_GeoJsonMultiLineString extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public function setCoordinates($coordinates)
@@ -3189,6 +3199,7 @@ public function getCoordinates()
class Google_Service_MapsEngine_GeoJsonMultiPoint extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public function setCoordinates($coordinates)
@@ -3204,6 +3215,7 @@ public function getCoordinates()
class Google_Service_MapsEngine_GeoJsonMultiPolygon extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public function setCoordinates($coordinates)
@@ -3219,6 +3231,7 @@ public function getCoordinates()
class Google_Service_MapsEngine_GeoJsonPoint extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public function setCoordinates($coordinates)
@@ -3234,6 +3247,7 @@ public function getCoordinates()
class Google_Service_MapsEngine_GeoJsonPolygon extends Google_Collection
{
+ protected $collection_key = 'coordinates';
public $coordinates;
public function setCoordinates($coordinates)
@@ -3317,6 +3331,7 @@ public function getName()
class Google_Service_MapsEngine_IconsListResponse extends Google_Collection
{
+ protected $collection_key = 'icons';
protected $iconsType = 'Google_Service_MapsEngine_Icon';
protected $iconsDataType = 'array';
public $nextPageToken;
@@ -3426,6 +3441,7 @@ public function getSize()
class Google_Service_MapsEngine_Layer extends Google_Collection
{
+ protected $collection_key = 'tags';
public $bbox;
public $creationTime;
public $datasourceType;
@@ -3608,6 +3624,7 @@ public function getTags()
class Google_Service_MapsEngine_LayersListResponse extends Google_Collection
{
+ protected $collection_key = 'layers';
protected $layersType = 'Google_Service_MapsEngine_Layer';
protected $layersDataType = 'array';
public $nextPageToken;
@@ -3635,6 +3652,7 @@ public function getNextPageToken()
class Google_Service_MapsEngine_LineStyle extends Google_Collection
{
+ protected $collection_key = 'dash';
protected $borderType = 'Google_Service_MapsEngine_Border';
protected $borderDataType = '';
public $dash;
@@ -3723,6 +3741,7 @@ public function getWidth()
class Google_Service_MapsEngine_Map extends Google_Collection
{
+ protected $collection_key = 'versions';
public $bbox;
protected $contentsType = 'Google_Service_MapsEngine_MapItem';
protected $contentsDataType = '';
@@ -3904,6 +3923,7 @@ public function getVersions()
class Google_Service_MapsEngine_MapFolder extends Google_Collection
{
+ protected $collection_key = 'defaultViewport';
protected $contentsType = 'Google_Service_MapsEngine_MapItem';
protected $contentsDataType = 'array';
public $defaultViewport;
@@ -3990,6 +4010,7 @@ public function getType()
class Google_Service_MapsEngine_MapKmlLink extends Google_Collection
{
+ protected $collection_key = 'defaultViewport';
public $defaultViewport;
public $kmlUrl;
public $name;
@@ -4038,6 +4059,7 @@ public function getVisibility()
class Google_Service_MapsEngine_MapLayer extends Google_Collection
{
+ protected $collection_key = 'defaultViewport';
public $defaultViewport;
public $id;
public $key;
@@ -4097,6 +4119,7 @@ public function getVisibility()
class Google_Service_MapsEngine_MapsListResponse extends Google_Collection
{
+ protected $collection_key = 'maps';
protected $mapsType = 'Google_Service_MapsEngine_Map';
protected $mapsDataType = 'array';
public $nextPageToken;
@@ -4176,6 +4199,7 @@ public function getId()
class Google_Service_MapsEngine_ParentsListResponse extends Google_Collection
{
+ protected $collection_key = 'parents';
public $nextPageToken;
protected $parentsType = 'Google_Service_MapsEngine_Parent';
protected $parentsDataType = 'array';
@@ -4290,6 +4314,7 @@ public function getName()
class Google_Service_MapsEngine_ProjectsListResponse extends Google_Collection
{
+ protected $collection_key = 'projects';
protected $projectsType = 'Google_Service_MapsEngine_Project';
protected $projectsDataType = 'array';
@@ -4311,6 +4336,7 @@ class Google_Service_MapsEngine_PublishResponse extends Google_Model
class Google_Service_MapsEngine_Raster extends Google_Collection
{
+ protected $collection_key = 'files';
protected $acquisitionTimeType = 'Google_Service_MapsEngine_AcquisitionTime';
protected $acquisitionTimeDataType = '';
public $attribution;
@@ -4493,6 +4519,7 @@ public function getTags()
class Google_Service_MapsEngine_RasterCollection extends Google_Collection
{
+ protected $collection_key = 'bbox';
public $attribution;
public $bbox;
public $creationTime;
@@ -4651,6 +4678,7 @@ public function getTags()
class Google_Service_MapsEngine_RasterCollectionsListResponse extends Google_Collection
{
+ protected $collection_key = 'rasterCollections';
public $nextPageToken;
protected $rasterCollectionsType = 'Google_Service_MapsEngine_RasterCollection';
protected $rasterCollectionsDataType = 'array';
@@ -4678,6 +4706,7 @@ public function getRasterCollections()
class Google_Service_MapsEngine_RasterCollectionsRaster extends Google_Collection
{
+ protected $collection_key = 'tags';
public $bbox;
public $creationTime;
public $description;
@@ -4781,6 +4810,7 @@ public function getTags()
class Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest extends Google_Collection
{
+ protected $collection_key = 'ids';
public $ids;
public function setIds($ids)
@@ -4801,6 +4831,7 @@ class Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse exte
class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest extends Google_Collection
{
+ protected $collection_key = 'ids';
public $ids;
public function setIds($ids)
@@ -4821,6 +4852,7 @@ class Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse exte
class Google_Service_MapsEngine_RasterCollectionsRastersListResponse extends Google_Collection
{
+ protected $collection_key = 'rasters';
public $nextPageToken;
protected $rastersType = 'Google_Service_MapsEngine_RasterCollectionsRaster';
protected $rastersDataType = 'array';
@@ -4848,6 +4880,7 @@ public function getRasters()
class Google_Service_MapsEngine_RastersListResponse extends Google_Collection
{
+ protected $collection_key = 'rasters';
public $nextPageToken;
protected $rastersType = 'Google_Service_MapsEngine_Raster';
protected $rastersDataType = 'array';
@@ -4875,6 +4908,7 @@ public function getRasters()
class Google_Service_MapsEngine_Schema extends Google_Collection
{
+ protected $collection_key = 'columns';
protected $columnsType = 'Google_Service_MapsEngine_TableColumn';
protected $columnsDataType = 'array';
public $primaryGeometry;
@@ -4913,6 +4947,7 @@ public function getPrimaryKey()
class Google_Service_MapsEngine_Table extends Google_Collection
{
+ protected $collection_key = 'tags';
public $bbox;
public $creationTime;
public $description;
@@ -5110,6 +5145,7 @@ public function getType()
class Google_Service_MapsEngine_TablesListResponse extends Google_Collection
{
+ protected $collection_key = 'tables';
public $nextPageToken;
protected $tablesType = 'Google_Service_MapsEngine_Table';
protected $tablesDataType = 'array';
@@ -5137,6 +5173,7 @@ public function getTables()
class Google_Service_MapsEngine_VectorStyle extends Google_Collection
{
+ protected $collection_key = 'displayRules';
protected $displayRulesType = 'Google_Service_MapsEngine_DisplayRule';
protected $displayRulesDataType = 'array';
protected $featureInfoType = 'Google_Service_MapsEngine_FeatureInfo';
From 63d617e737d9489b3150f2bf6665722d609771f1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:17 -0700
Subject: [PATCH 0235/1371] Updated Freebase.php
---
src/Google/Service/Freebase.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Google/Service/Freebase.php b/src/Google/Service/Freebase.php
index a1157f63a..4251de3a2 100644
--- a/src/Google/Service/Freebase.php
+++ b/src/Google/Service/Freebase.php
@@ -373,6 +373,7 @@ public function getName()
class Google_Service_Freebase_ReconcileGet extends Google_Collection
{
+ protected $collection_key = 'warning';
protected $candidateType = 'Google_Service_Freebase_ReconcileCandidate';
protected $candidateDataType = 'array';
protected $costsType = 'Google_Service_Freebase_ReconcileGetCosts';
From 4b52a542f8d23f7a9951a900e6b67b080b26289e Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:17 -0700
Subject: [PATCH 0236/1371] Updated Urlshortener.php
---
src/Google/Service/Urlshortener.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Google/Service/Urlshortener.php b/src/Google/Service/Urlshortener.php
index 37f6c4237..010529494 100644
--- a/src/Google/Service/Urlshortener.php
+++ b/src/Google/Service/Urlshortener.php
@@ -159,6 +159,7 @@ public function listUrl($optParams = array())
class Google_Service_Urlshortener_AnalyticsSnapshot extends Google_Collection
{
+ protected $collection_key = 'referrers';
protected $browsersType = 'Google_Service_Urlshortener_StringCount';
protected $browsersDataType = 'array';
protected $countriesType = 'Google_Service_Urlshortener_StringCount';
@@ -394,6 +395,7 @@ public function getStatus()
class Google_Service_Urlshortener_UrlHistory extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Urlshortener_Url';
protected $itemsDataType = 'array';
public $itemsPerPage;
From 14109eedfdac068c23dbfbc6305f1de0e3a5917e Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:18 -0700
Subject: [PATCH 0237/1371] Updated Dns.php
---
src/Google/Service/Dns.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Google/Service/Dns.php b/src/Google/Service/Dns.php
index d6fc44f88..f8f52ac35 100644
--- a/src/Google/Service/Dns.php
+++ b/src/Google/Service/Dns.php
@@ -495,6 +495,7 @@ public function listResourceRecordSets($project, $managedZone, $optParams = arra
class Google_Service_Dns_Change extends Google_Collection
{
+ protected $collection_key = 'deletions';
protected $additionsType = 'Google_Service_Dns_ResourceRecordSet';
protected $additionsDataType = 'array';
protected $deletionsType = 'Google_Service_Dns_ResourceRecordSet';
@@ -567,6 +568,7 @@ public function getStatus()
class Google_Service_Dns_ChangesListResponse extends Google_Collection
{
+ protected $collection_key = 'changes';
protected $changesType = 'Google_Service_Dns_Change';
protected $changesDataType = 'array';
public $kind;
@@ -605,6 +607,7 @@ public function getNextPageToken()
class Google_Service_Dns_ManagedZone extends Google_Collection
{
+ protected $collection_key = 'nameServers';
public $creationTime;
public $description;
public $dnsName;
@@ -686,6 +689,7 @@ public function getNameServers()
class Google_Service_Dns_ManagedZonesListResponse extends Google_Collection
{
+ protected $collection_key = 'managedZones';
public $kind;
protected $managedZonesType = 'Google_Service_Dns_ManagedZone';
protected $managedZonesDataType = 'array';
@@ -854,6 +858,7 @@ public function getTotalRrdataSizePerChange()
class Google_Service_Dns_ResourceRecordSet extends Google_Collection
{
+ protected $collection_key = 'rrdatas';
public $kind;
public $name;
public $rrdatas;
@@ -913,6 +918,7 @@ public function getType()
class Google_Service_Dns_ResourceRecordSetsListResponse extends Google_Collection
{
+ protected $collection_key = 'rrsets';
public $kind;
public $nextPageToken;
protected $rrsetsType = 'Google_Service_Dns_ResourceRecordSet';
From a9156eeb9a8f829f23d6bca2d62033f2d8483ea9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:18 -0700
Subject: [PATCH 0238/1371] Updated Reseller.php
---
src/Google/Service/Reseller.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Google/Service/Reseller.php b/src/Google/Service/Reseller.php
index 8fb776bfa..497b3cd63 100644
--- a/src/Google/Service/Reseller.php
+++ b/src/Google/Service/Reseller.php
@@ -1065,6 +1065,7 @@ public function getTrialEndTime()
class Google_Service_Reseller_Subscriptions extends Google_Collection
{
+ protected $collection_key = 'subscriptions';
public $kind;
public $nextPageToken;
protected $subscriptionsType = 'Google_Service_Reseller_Subscription';
From 2d22139b11e931ea2f281677b73d5073c0af6e93 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:19 -0700
Subject: [PATCH 0239/1371] Updated Games.php
---
src/Google/Service/Games.php | 38 ++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/src/Google/Service/Games.php b/src/Google/Service/Games.php
index 312825d8a..fe72291ad 100644
--- a/src/Google/Service/Games.php
+++ b/src/Google/Service/Games.php
@@ -2430,6 +2430,7 @@ public function getUnlockedIconUrl()
class Google_Service_Games_AchievementDefinitionsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_AchievementDefinition';
protected $itemsDataType = 'array';
public $kind;
@@ -2594,6 +2595,7 @@ public function getNewlyUnlocked()
class Google_Service_Games_AchievementUpdateMultipleRequest extends Google_Collection
{
+ protected $collection_key = 'updates';
public $kind;
protected $updatesType = 'Google_Service_Games_AchievementUpdateRequest';
protected $updatesDataType = 'array';
@@ -2621,6 +2623,7 @@ public function getUpdates()
class Google_Service_Games_AchievementUpdateMultipleResponse extends Google_Collection
{
+ protected $collection_key = 'updatedAchievements';
public $kind;
protected $updatedAchievementsType = 'Google_Service_Games_AchievementUpdateResponse';
protected $updatedAchievementsDataType = 'array';
@@ -2875,6 +2878,7 @@ public function getKind()
class Google_Service_Games_Application extends Google_Collection
{
+ protected $collection_key = 'instances';
public $achievementCount;
protected $assetsType = 'Google_Service_Games_ImageAsset';
protected $assetsDataType = 'array';
@@ -3088,6 +3092,7 @@ public function getKind()
class Google_Service_Games_CategoryListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_Category';
protected $itemsDataType = 'array';
public $kind;
@@ -3190,6 +3195,7 @@ public function getKind()
class Google_Service_Games_EventDefinition extends Google_Collection
{
+ protected $collection_key = 'childEvents';
protected $childEventsType = 'Google_Service_Games_EventChild';
protected $childEventsDataType = 'array';
public $description;
@@ -3283,6 +3289,7 @@ public function getVisibility()
class Google_Service_Games_EventDefinitionListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_EventDefinition';
protected $itemsDataType = 'array';
public $kind;
@@ -3358,6 +3365,7 @@ public function getPeriodStartMillis()
class Google_Service_Games_EventPeriodUpdate extends Google_Collection
{
+ protected $collection_key = 'updates';
public $kind;
protected $timePeriodType = 'Google_Service_Games_EventPeriodRange';
protected $timePeriodDataType = '';
@@ -3434,6 +3442,7 @@ public function getKind()
class Google_Service_Games_EventRecordRequest extends Google_Collection
{
+ protected $collection_key = 'timePeriods';
public $currentTimeMillis;
public $kind;
public $requestId;
@@ -3520,6 +3529,7 @@ public function getUpdateCount()
class Google_Service_Games_EventUpdateResponse extends Google_Collection
{
+ protected $collection_key = 'playerEvents';
protected $batchFailuresType = 'Google_Service_Games_EventBatchRecordFailure';
protected $batchFailuresDataType = 'array';
protected $eventFailuresType = 'Google_Service_Games_EventRecordFailure';
@@ -4139,6 +4149,7 @@ public function getWriteTimestampMillis()
class Google_Service_Games_LeaderboardListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_Leaderboard';
protected $itemsDataType = 'array';
public $kind;
@@ -4236,6 +4247,7 @@ public function getRank()
class Google_Service_Games_LeaderboardScores extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_LeaderboardEntry';
protected $itemsDataType = 'array';
public $kind;
@@ -4308,6 +4320,7 @@ public function getPrevPageToken()
class Google_Service_Games_MetagameConfig extends Google_Collection
{
+ protected $collection_key = 'playerLevels';
public $currentVersion;
public $kind;
protected $playerLevelsType = 'Google_Service_Games_PlayerLevel';
@@ -4844,6 +4857,7 @@ public function getLastUpdatedTimestamp()
class Google_Service_Games_PlayerAchievementListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_PlayerAchievement';
protected $itemsDataType = 'array';
public $kind;
@@ -4941,6 +4955,7 @@ public function getPlayerId()
class Google_Service_Games_PlayerEventListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_PlayerEvent';
protected $itemsDataType = 'array';
public $kind;
@@ -5145,6 +5160,7 @@ public function getWriteTimestamp()
class Google_Service_Games_PlayerLeaderboardScoreListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_PlayerLeaderboardScore';
protected $itemsDataType = 'array';
public $kind;
@@ -5243,6 +5259,7 @@ public function getMinExperiencePoints()
class Google_Service_Games_PlayerListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_Player';
protected $itemsDataType = 'array';
public $kind;
@@ -5366,6 +5383,7 @@ public function getTimeSpan()
class Google_Service_Games_PlayerScoreListResponse extends Google_Collection
{
+ protected $collection_key = 'submittedScores';
public $kind;
protected $submittedScoresType = 'Google_Service_Games_PlayerScoreResponse';
protected $submittedScoresDataType = 'array';
@@ -5393,6 +5411,7 @@ public function getSubmittedScores()
class Google_Service_Games_PlayerScoreResponse extends Google_Collection
{
+ protected $collection_key = 'unbeatenScores';
public $beatenScoreTimeSpans;
public $formattedScore;
public $kind;
@@ -5464,6 +5483,7 @@ public function getUnbeatenScores()
class Google_Service_Games_PlayerScoreSubmissionList extends Google_Collection
{
+ protected $collection_key = 'scores';
public $kind;
protected $scoresType = 'Google_Service_Games_ScoreSubmission';
protected $scoresDataType = 'array';
@@ -5593,6 +5613,7 @@ public function getApnsEnvironment()
class Google_Service_Games_Quest extends Google_Collection
{
+ protected $collection_key = 'milestones';
public $acceptedTimestampMillis;
public $applicationId;
public $bannerUrl;
@@ -5873,6 +5894,7 @@ public function getKind()
class Google_Service_Games_QuestListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_Quest';
protected $itemsDataType = 'array';
public $kind;
@@ -5911,6 +5933,7 @@ public function getNextPageToken()
class Google_Service_Games_QuestMilestone extends Google_Collection
{
+ protected $collection_key = 'criteria';
public $completionRewardData;
protected $criteriaType = 'Google_Service_Games_QuestCriterion';
protected $criteriaDataType = 'array';
@@ -6008,6 +6031,7 @@ public function getRevisionStatus()
class Google_Service_Games_Room extends Google_Collection
{
+ protected $collection_key = 'participants';
public $applicationId;
protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
protected $autoMatchingCriteriaDataType = '';
@@ -6260,6 +6284,7 @@ public function getXmppAddress()
class Google_Service_Games_RoomCreateRequest extends Google_Collection
{
+ protected $collection_key = 'invitedPlayerIds';
protected $autoMatchingCriteriaType = 'Google_Service_Games_RoomAutoMatchingCriteria';
protected $autoMatchingCriteriaDataType = '';
public $capabilities;
@@ -6355,6 +6380,7 @@ public function getVariant()
class Google_Service_Games_RoomJoinRequest extends Google_Collection
{
+ protected $collection_key = 'capabilities';
public $capabilities;
protected $clientAddressType = 'Google_Service_Games_RoomClientAddress';
protected $clientAddressDataType = '';
@@ -6405,6 +6431,7 @@ public function getNetworkDiagnostics()
class Google_Service_Games_RoomLeaveDiagnostics extends Google_Collection
{
+ protected $collection_key = 'peerSession';
public $androidNetworkSubtype;
public $androidNetworkType;
public $iosNetworkType;
@@ -6536,6 +6563,7 @@ public function getReason()
class Google_Service_Games_RoomList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_Room';
protected $itemsDataType = 'array';
public $kind;
@@ -6692,6 +6720,7 @@ public function getUnreliableRoundtripLatencyMillis()
class Google_Service_Games_RoomP2PStatuses extends Google_Collection
{
+ protected $collection_key = 'updates';
public $kind;
protected $updatesType = 'Google_Service_Games_RoomP2PStatus';
protected $updatesDataType = 'array';
@@ -6719,6 +6748,7 @@ public function getUpdates()
class Google_Service_Games_RoomParticipant extends Google_Collection
{
+ protected $collection_key = 'capabilities';
public $autoMatched;
protected $autoMatchedPlayerType = 'Google_Service_Games_AnonymousPlayer';
protected $autoMatchedPlayerDataType = '';
@@ -6836,6 +6866,7 @@ public function getStatus()
class Google_Service_Games_RoomStatus extends Google_Collection
{
+ protected $collection_key = 'participants';
protected $autoMatchingStatusType = 'Google_Service_Games_RoomAutoMatchStatus';
protected $autoMatchingStatusDataType = '';
public $kind;
@@ -7141,6 +7172,7 @@ public function getWidth()
class Google_Service_Games_SnapshotListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_Snapshot';
protected $itemsDataType = 'array';
public $kind;
@@ -7227,6 +7259,7 @@ public function getMinAutoMatchingPlayers()
class Google_Service_Games_TurnBasedMatch extends Google_Collection
{
+ protected $collection_key = 'results';
public $applicationId;
protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
protected $autoMatchingCriteriaDataType = '';
@@ -7458,6 +7491,7 @@ public function getWithParticipantId()
class Google_Service_Games_TurnBasedMatchCreateRequest extends Google_Collection
{
+ protected $collection_key = 'invitedPlayerIds';
protected $autoMatchingCriteriaType = 'Google_Service_Games_TurnBasedAutoMatchingCriteria';
protected $autoMatchingCriteriaDataType = '';
public $invitedPlayerIds;
@@ -7581,6 +7615,7 @@ public function getKind()
class Google_Service_Games_TurnBasedMatchList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
protected $itemsDataType = 'array';
public $kind;
@@ -7767,6 +7802,7 @@ public function getRematch()
class Google_Service_Games_TurnBasedMatchResults extends Google_Collection
{
+ protected $collection_key = 'results';
protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
protected $dataDataType = '';
public $kind;
@@ -7817,6 +7853,7 @@ public function getResults()
class Google_Service_Games_TurnBasedMatchSync extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Games_TurnBasedMatch';
protected $itemsDataType = 'array';
public $kind;
@@ -7866,6 +7903,7 @@ public function getNextPageToken()
class Google_Service_Games_TurnBasedMatchTurn extends Google_Collection
{
+ protected $collection_key = 'results';
protected $dataType = 'Google_Service_Games_TurnBasedMatchDataRequest';
protected $dataDataType = '';
public $kind;
From 7e8e8c2c38df3092abcd59f4f6bf277988004ff7 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:20 -0700
Subject: [PATCH 0240/1371] Updated Replicapool.php
---
src/Google/Service/Replicapool.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Replicapool.php b/src/Google/Service/Replicapool.php
index 4922ffb6e..db10e980b 100644
--- a/src/Google/Service/Replicapool.php
+++ b/src/Google/Service/Replicapool.php
@@ -580,6 +580,7 @@ public function getType()
class Google_Service_Replicapool_Action extends Google_Collection
{
+ protected $collection_key = 'envVariables';
public $commands;
protected $envVariablesType = 'Google_Service_Replicapool_EnvVariable';
protected $envVariablesDataType = 'array';
@@ -837,6 +838,7 @@ public function getValue()
class Google_Service_Replicapool_Metadata extends Google_Collection
{
+ protected $collection_key = 'items';
public $fingerPrint;
protected $itemsType = 'Google_Service_Replicapool_MetadataItem';
protected $itemsDataType = 'array';
@@ -890,6 +892,7 @@ public function getValue()
class Google_Service_Replicapool_NetworkInterface extends Google_Collection
{
+ protected $collection_key = 'accessConfigs';
protected $accessConfigsType = 'Google_Service_Replicapool_AccessConfig';
protected $accessConfigsDataType = 'array';
public $network;
@@ -1004,6 +1007,7 @@ public function getSourceImage()
class Google_Service_Replicapool_Pool extends Google_Collection
{
+ protected $collection_key = 'targetPools';
public $autoRestart;
public $baseInstanceName;
public $currentNumReplicas;
@@ -1176,6 +1180,7 @@ public function getType()
class Google_Service_Replicapool_PoolsDeleteRequest extends Google_Collection
{
+ protected $collection_key = 'abandonInstances';
public $abandonInstances;
public function setAbandonInstances($abandonInstances)
@@ -1191,6 +1196,7 @@ public function getAbandonInstances()
class Google_Service_Replicapool_PoolsListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $nextPageToken;
protected $resourcesType = 'Google_Service_Replicapool_Pool';
protected $resourcesDataType = 'array';
@@ -1330,6 +1336,7 @@ public function getAbandonInstance()
class Google_Service_Replicapool_ReplicasListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $nextPageToken;
protected $resourcesType = 'Google_Service_Replicapool_Replica';
protected $resourcesDataType = 'array';
@@ -1357,6 +1364,7 @@ public function getResources()
class Google_Service_Replicapool_ServiceAccount extends Google_Collection
{
+ protected $collection_key = 'scopes';
public $email;
public $scopes;
@@ -1383,6 +1391,7 @@ public function getScopes()
class Google_Service_Replicapool_Tag extends Google_Collection
{
+ protected $collection_key = 'items';
public $fingerPrint;
public $items;
@@ -1409,6 +1418,7 @@ public function getItems()
class Google_Service_Replicapool_Template extends Google_Collection
{
+ protected $collection_key = 'healthChecks';
protected $actionType = 'Google_Service_Replicapool_Action';
protected $actionDataType = '';
protected $healthChecksType = 'Google_Service_Replicapool_HealthCheck';
@@ -1460,6 +1470,7 @@ public function getVmParams()
class Google_Service_Replicapool_VmParams extends Google_Collection
{
+ protected $collection_key = 'serviceAccounts';
public $baseInstanceName;
public $canIpForward;
public $description;
From 4064ae5b1eeb1470fe1441974f7bf180ceef9766 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:21 -0700
Subject: [PATCH 0241/1371] Updated AppState.php
---
src/Google/Service/AppState.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Google/Service/AppState.php b/src/Google/Service/AppState.php
index fa5311abc..3a79673da 100644
--- a/src/Google/Service/AppState.php
+++ b/src/Google/Service/AppState.php
@@ -274,6 +274,7 @@ public function getStateKey()
class Google_Service_AppState_ListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AppState_GetResponse';
protected $itemsDataType = 'array';
public $kind;
From ff5a702e7e9b52af480d39bd75190c7a4f2f04b4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:21 -0700
Subject: [PATCH 0242/1371] Updated Drive.php
---
src/Google/Service/Drive.php | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/Google/Service/Drive.php b/src/Google/Service/Drive.php
index a922fd52e..a6bf70395 100644
--- a/src/Google/Service/Drive.php
+++ b/src/Google/Service/Drive.php
@@ -2537,6 +2537,7 @@ public function update($fileId, $revisionId, Google_Service_Drive_Revision $post
class Google_Service_Drive_About extends Google_Collection
{
+ protected $collection_key = 'quotaBytesByService';
protected $additionalRoleInfoType = 'Google_Service_Drive_AboutAdditionalRoleInfo';
protected $additionalRoleInfoDataType = 'array';
public $domainSharingPolicy;
@@ -2801,6 +2802,7 @@ public function getUser()
class Google_Service_Drive_AboutAdditionalRoleInfo extends Google_Collection
{
+ protected $collection_key = 'roleSets';
protected $roleSetsType = 'Google_Service_Drive_AboutAdditionalRoleInfoRoleSets';
protected $roleSetsDataType = 'array';
public $type;
@@ -2828,6 +2830,7 @@ public function getType()
class Google_Service_Drive_AboutAdditionalRoleInfoRoleSets extends Google_Collection
{
+ protected $collection_key = 'additionalRoles';
public $additionalRoles;
public $primaryRole;
@@ -2854,6 +2857,7 @@ public function getPrimaryRole()
class Google_Service_Drive_AboutExportFormats extends Google_Collection
{
+ protected $collection_key = 'targets';
public $source;
public $targets;
@@ -2906,6 +2910,7 @@ public function getFeatureRate()
class Google_Service_Drive_AboutImportFormats extends Google_Collection
{
+ protected $collection_key = 'targets';
public $source;
public $targets;
@@ -2984,6 +2989,7 @@ public function getServiceName()
class Google_Service_Drive_App extends Google_Collection
{
+ protected $collection_key = 'secondaryMimeTypes';
public $authorized;
public $createInFolderTemplate;
public $createUrl;
@@ -3290,6 +3296,7 @@ public function getSize()
class Google_Service_Drive_AppList extends Google_Collection
{
+ protected $collection_key = 'items';
public $defaultAppIds;
public $etag;
protected $itemsType = 'Google_Service_Drive_App';
@@ -3432,6 +3439,7 @@ public function getSelfLink()
class Google_Service_Drive_ChangeList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_Change';
protected $itemsDataType = 'array';
@@ -3633,6 +3641,7 @@ class Google_Service_Drive_ChannelParams extends Google_Model
class Google_Service_Drive_ChildList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_ChildReference';
protected $itemsDataType = 'array';
@@ -3752,6 +3761,7 @@ public function getSelfLink()
class Google_Service_Drive_Comment extends Google_Collection
{
+ protected $collection_key = 'replies';
public $anchor;
protected $authorType = 'Google_Service_Drive_User';
protected $authorDataType = '';
@@ -3950,6 +3960,7 @@ public function getValue()
class Google_Service_Drive_CommentList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Drive_Comment';
protected $itemsDataType = 'array';
public $kind;
@@ -4114,6 +4125,7 @@ public function getVerb()
class Google_Service_Drive_CommentReplyList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Drive_CommentReply';
protected $itemsDataType = 'array';
public $kind;
@@ -4174,6 +4186,7 @@ public function getSelfLink()
class Google_Service_Drive_DriveFile extends Google_Collection
{
+ protected $collection_key = 'properties';
public $alternateLink;
public $appDataContents;
public $copyable;
@@ -5111,6 +5124,7 @@ public function getMimeType()
class Google_Service_Drive_FileList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_DriveFile';
protected $itemsDataType = 'array';
@@ -5182,6 +5196,7 @@ public function getSelfLink()
class Google_Service_Drive_ParentList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_ParentReference';
protected $itemsDataType = 'array';
@@ -5290,6 +5305,7 @@ public function getSelfLink()
class Google_Service_Drive_Permission extends Google_Collection
{
+ protected $collection_key = 'additionalRoles';
public $additionalRoles;
public $authKey;
public $domain;
@@ -5474,6 +5490,7 @@ public function getKind()
class Google_Service_Drive_PermissionList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_Permission';
protected $itemsDataType = 'array';
@@ -5593,6 +5610,7 @@ public function getVisibility()
class Google_Service_Drive_PropertyList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_Property';
protected $itemsDataType = 'array';
@@ -5850,6 +5868,7 @@ class Google_Service_Drive_RevisionExportLinks extends Google_Model
class Google_Service_Drive_RevisionList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Drive_Revision';
protected $itemsDataType = 'array';
From 314ff089d218c69e74c527796f08f7817ee3f0b8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:22 -0700
Subject: [PATCH 0243/1371] Updated SQLAdmin.php
---
src/Google/Service/SQLAdmin.php | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/Google/Service/SQLAdmin.php b/src/Google/Service/SQLAdmin.php
index 8b697daa4..ac006eba1 100644
--- a/src/Google/Service/SQLAdmin.php
+++ b/src/Google/Service/SQLAdmin.php
@@ -1190,6 +1190,7 @@ public function getStatus()
class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SQLAdmin_BackupRun';
protected $itemsDataType = 'array';
public $kind;
@@ -1340,6 +1341,7 @@ public function getValue()
class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
{
+ protected $collection_key = 'replicaNames';
public $currentDiskSize;
public $databaseVersion;
public $etag;
@@ -1512,6 +1514,7 @@ public function getState()
class Google_Service_SQLAdmin_ExportContext extends Google_Collection
{
+ protected $collection_key = 'table';
public $database;
public $kind;
public $table;
@@ -1560,6 +1563,7 @@ public function getUri()
class Google_Service_SQLAdmin_Flag extends Google_Collection
{
+ protected $collection_key = 'appliesTo';
public $allowedStringValues;
public $appliesTo;
public $kind;
@@ -1641,6 +1645,7 @@ public function getType()
class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SQLAdmin_Flag';
protected $itemsDataType = 'array';
public $kind;
@@ -1668,6 +1673,7 @@ public function getKind()
class Google_Service_SQLAdmin_ImportContext extends Google_Collection
{
+ protected $collection_key = 'uri';
public $database;
public $kind;
public $uri;
@@ -1705,6 +1711,7 @@ public function getUri()
class Google_Service_SQLAdmin_InstanceOperation extends Google_Collection
{
+ protected $collection_key = 'error';
public $endTime;
public $enqueuedTime;
protected $errorType = 'Google_Service_SQLAdmin_OperationError';
@@ -2038,6 +2045,7 @@ public function getOperation()
class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
protected $itemsDataType = 'array';
public $kind;
@@ -2232,6 +2240,7 @@ public function getOperation()
class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
{
+ protected $collection_key = 'authorizedNetworks';
public $authorizedNetworks;
public $enabled;
public $requireSsl;
@@ -2358,6 +2367,7 @@ public function getKind()
class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SQLAdmin_InstanceOperation';
protected $itemsDataType = 'array';
public $kind;
@@ -2422,6 +2432,7 @@ public function getPassword()
class Google_Service_SQLAdmin_Settings extends Google_Collection
{
+ protected $collection_key = 'databaseFlags';
public $activationPolicy;
public $authorizedGaeApplications;
protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
@@ -2761,6 +2772,7 @@ public function getServerCaCert()
class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SQLAdmin_SslCert';
protected $itemsDataType = 'array';
public $kind;
@@ -2788,6 +2800,7 @@ public function getKind()
class Google_Service_SQLAdmin_Tier extends Google_Collection
{
+ protected $collection_key = 'region';
public $diskQuota;
public $rAM;
public $kind;
@@ -2847,6 +2860,7 @@ public function getTier()
class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SQLAdmin_Tier';
protected $itemsDataType = 'array';
public $kind;
From d3861b675f3a56fa4afcf4d92ad3907c8766d657 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:23 -0700
Subject: [PATCH 0244/1371] Updated Dfareporting.php
---
src/Google/Service/Dfareporting.php | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/Google/Service/Dfareporting.php b/src/Google/Service/Dfareporting.php
index c1ea1160c..2e1ee2b08 100644
--- a/src/Google/Service/Dfareporting.php
+++ b/src/Google/Service/Dfareporting.php
@@ -729,6 +729,7 @@ public function listUserProfiles($optParams = array())
class Google_Service_Dfareporting_Activities extends Google_Collection
{
+ protected $collection_key = 'metricNames';
protected $filtersType = 'Google_Service_Dfareporting_DimensionValue';
protected $filtersDataType = 'array';
public $kind;
@@ -842,6 +843,7 @@ public function getReportCompatibleFields()
class Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields extends Google_Collection
{
+ protected $collection_key = 'overlapMetrics';
protected $breakdownType = 'Google_Service_Dfareporting_Dimension';
protected $breakdownDataType = 'array';
protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
@@ -905,6 +907,7 @@ public function getOverlapMetrics()
class Google_Service_Dfareporting_CustomRichMediaEvents extends Google_Collection
{
+ protected $collection_key = 'filteredEventIds';
protected $filteredEventIdsType = 'Google_Service_Dfareporting_DimensionValue';
protected $filteredEventIdsDataType = 'array';
public $kind;
@@ -1255,6 +1258,7 @@ public function getValue()
class Google_Service_Dfareporting_DimensionValueList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Dfareporting_DimensionValue';
protected $itemsDataType = 'array';
@@ -1304,6 +1308,7 @@ public function getNextPageToken()
class Google_Service_Dfareporting_DimensionValueRequest extends Google_Collection
{
+ protected $collection_key = 'filters';
public $dimensionName;
public $endDate;
protected $filtersType = 'Google_Service_Dfareporting_DimensionFilter';
@@ -1364,6 +1369,7 @@ public function getStartDate()
class Google_Service_Dfareporting_FileList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Dfareporting_DfareportingFile';
protected $itemsDataType = 'array';
@@ -1413,6 +1419,7 @@ public function getNextPageToken()
class Google_Service_Dfareporting_FloodlightReportCompatibleFields extends Google_Collection
{
+ protected $collection_key = 'metrics';
protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
protected $dimensionFiltersDataType = 'array';
protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
@@ -1490,6 +1497,7 @@ public function getName()
class Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection
{
+ protected $collection_key = 'perInteractionDimensions';
protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension';
protected $conversionDimensionsDataType = 'array';
protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension';
@@ -1553,6 +1561,7 @@ public function getPerInteractionDimensions()
class Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection
{
+ protected $collection_key = 'reachByFrequencyMetrics';
protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
protected $dimensionFiltersDataType = 'array';
protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
@@ -1886,6 +1895,7 @@ public function getType()
class Google_Service_Dfareporting_ReportActiveGrpCriteria extends Google_Collection
{
+ protected $collection_key = 'metricNames';
protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
protected $dateRangeDataType = '';
protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
@@ -1937,6 +1947,7 @@ public function getMetricNames()
class Google_Service_Dfareporting_ReportCompatibleFields extends Google_Collection
{
+ protected $collection_key = 'pivotedActivityMetrics';
protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
protected $dimensionFiltersDataType = 'array';
protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
@@ -2000,6 +2011,7 @@ public function getPivotedActivityMetrics()
class Google_Service_Dfareporting_ReportCriteria extends Google_Collection
{
+ protected $collection_key = 'metricNames';
protected $activitiesType = 'Google_Service_Dfareporting_Activities';
protected $activitiesDataType = '';
protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
@@ -2075,6 +2087,7 @@ public function getMetricNames()
class Google_Service_Dfareporting_ReportCrossDimensionReachCriteria extends Google_Collection
{
+ protected $collection_key = 'overlapMetricNames';
protected $breakdownType = 'Google_Service_Dfareporting_SortedDimension';
protected $breakdownDataType = 'array';
protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
@@ -2159,6 +2172,7 @@ public function getPivoted()
class Google_Service_Dfareporting_ReportDelivery extends Google_Collection
{
+ protected $collection_key = 'recipients';
public $emailOwner;
public $emailOwnerDeliveryType;
public $message;
@@ -2208,6 +2222,7 @@ public function getRecipients()
class Google_Service_Dfareporting_ReportFloodlightCriteria extends Google_Collection
{
+ protected $collection_key = 'metricNames';
protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
protected $customRichMediaEventsDataType = 'array';
protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
@@ -2332,6 +2347,7 @@ public function getIncludeUnattributedIPConversions()
class Google_Service_Dfareporting_ReportList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Dfareporting_Report';
protected $itemsDataType = 'array';
@@ -2381,6 +2397,7 @@ public function getNextPageToken()
class Google_Service_Dfareporting_ReportPathToConversionCriteria extends Google_Collection
{
+ protected $collection_key = 'perInteractionDimensions';
protected $activityFiltersType = 'Google_Service_Dfareporting_DimensionValue';
protected $activityFiltersDataType = 'array';
protected $conversionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
@@ -2595,6 +2612,7 @@ public function getPivotOnInteractionPath()
class Google_Service_Dfareporting_ReportReachCriteria extends Google_Collection
{
+ protected $collection_key = 'reachByFrequencyMetricNames';
protected $activitiesType = 'Google_Service_Dfareporting_Activities';
protected $activitiesDataType = '';
protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
@@ -2681,6 +2699,7 @@ public function getReachByFrequencyMetricNames()
class Google_Service_Dfareporting_ReportSchedule extends Google_Collection
{
+ protected $collection_key = 'repeatsOnWeekDays';
public $active;
public $every;
public $expirationDate;
@@ -2891,6 +2910,7 @@ public function getUserName()
class Google_Service_Dfareporting_UserProfileList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Dfareporting_UserProfile';
protected $itemsDataType = 'array';
From fc7b73bfeff383c44ccee30a746675737c8afe89 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:24 -0700
Subject: [PATCH 0245/1371] Updated Coordinate.php
---
src/Google/Service/Coordinate.php | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/Google/Service/Coordinate.php b/src/Google/Service/Coordinate.php
index 285da1f92..f985caffa 100644
--- a/src/Google/Service/Coordinate.php
+++ b/src/Google/Service/Coordinate.php
@@ -884,6 +884,7 @@ public function getType()
class Google_Service_Coordinate_CustomFieldDefListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Coordinate_CustomFieldDef';
protected $itemsDataType = 'array';
public $kind;
@@ -911,6 +912,7 @@ public function getKind()
class Google_Service_Coordinate_CustomFields extends Google_Collection
{
+ protected $collection_key = 'customField';
protected $customFieldType = 'Google_Service_Coordinate_CustomField';
protected $customFieldDataType = 'array';
public $kind;
@@ -938,6 +940,7 @@ public function getKind()
class Google_Service_Coordinate_Job extends Google_Collection
{
+ protected $collection_key = 'jobChange';
public $id;
protected $jobChangeType = 'Google_Service_Coordinate_JobChange';
protected $jobChangeDataType = 'array';
@@ -1026,6 +1029,7 @@ public function getTimestamp()
class Google_Service_Coordinate_JobListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Coordinate_Job';
protected $itemsDataType = 'array';
public $kind;
@@ -1064,6 +1068,7 @@ public function getNextPageToken()
class Google_Service_Coordinate_JobState extends Google_Collection
{
+ protected $collection_key = 'note';
public $assignee;
protected $customFieldsType = 'Google_Service_Coordinate_CustomFields';
protected $customFieldsDataType = '';
@@ -1169,6 +1174,7 @@ public function getTitle()
class Google_Service_Coordinate_Location extends Google_Collection
{
+ protected $collection_key = 'addressLine';
public $addressLine;
public $kind;
public $lat;
@@ -1217,6 +1223,7 @@ public function getLng()
class Google_Service_Coordinate_LocationListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Coordinate_LocationRecord';
protected $itemsDataType = 'array';
public $kind;
@@ -1448,6 +1455,7 @@ public function getKind()
class Google_Service_Coordinate_WorkerListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Coordinate_Worker';
protected $itemsDataType = 'array';
public $kind;
From 66df9eaf4bb2ec831b27ed85f9bb799652b372f6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:24 -0700
Subject: [PATCH 0246/1371] Updated Translate.php
---
src/Google/Service/Translate.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/Translate.php b/src/Google/Service/Translate.php
index a1c055611..c2afb37c7 100644
--- a/src/Google/Service/Translate.php
+++ b/src/Google/Service/Translate.php
@@ -231,6 +231,7 @@ public function listTranslations($q, $target, $optParams = array())
class Google_Service_Translate_DetectionsListResponse extends Google_Collection
{
+ protected $collection_key = 'detections';
protected $detectionsType = 'Google_Service_Translate_DetectionsResourceItems';
protected $detectionsDataType = 'array';
@@ -284,6 +285,7 @@ public function getLanguage()
class Google_Service_Translate_LanguagesListResponse extends Google_Collection
{
+ protected $collection_key = 'languages';
protected $languagesType = 'Google_Service_Translate_LanguagesResource';
protected $languagesDataType = 'array';
@@ -326,6 +328,7 @@ public function getName()
class Google_Service_Translate_TranslationsListResponse extends Google_Collection
{
+ protected $collection_key = 'translations';
protected $translationsType = 'Google_Service_Translate_TranslationsResource';
protected $translationsDataType = 'array';
From 48c3c613ec77da3c4dc7244deb864236bfcf9f8b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:25 -0700
Subject: [PATCH 0247/1371] Updated Licensing.php
---
src/Google/Service/Licensing.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Google/Service/Licensing.php b/src/Google/Service/Licensing.php
index 81b13ba43..900557f06 100644
--- a/src/Google/Service/Licensing.php
+++ b/src/Google/Service/Licensing.php
@@ -451,6 +451,7 @@ public function getUserId()
class Google_Service_Licensing_LicenseAssignmentList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Licensing_LicenseAssignment';
protected $itemsDataType = 'array';
From 625f699a88d594f13174e633994dd3a4689a976a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:25 -0700
Subject: [PATCH 0248/1371] Updated Directory.php
---
src/Google/Service/Directory.php | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/Google/Service/Directory.php b/src/Google/Service/Directory.php
index 53a739305..1091b0094 100644
--- a/src/Google/Service/Directory.php
+++ b/src/Google/Service/Directory.php
@@ -2427,6 +2427,7 @@ public function getPrimaryEmail()
class Google_Service_Directory_Aliases extends Google_Collection
{
+ protected $collection_key = 'aliases';
protected $aliasesType = 'Google_Service_Directory_Alias';
protected $aliasesDataType = 'array';
public $etag;
@@ -2546,6 +2547,7 @@ public function getUserKey()
class Google_Service_Directory_Asps extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Directory_Asp';
protected $itemsDataType = 'array';
@@ -2703,6 +2705,7 @@ class Google_Service_Directory_ChannelParams extends Google_Model
class Google_Service_Directory_ChromeOsDevice extends Google_Collection
{
+ protected $collection_key = 'recentUsers';
public $annotatedLocation;
public $annotatedUser;
public $bootMode;
@@ -2987,6 +2990,7 @@ public function getType()
class Google_Service_Directory_ChromeOsDevices extends Google_Collection
{
+ protected $collection_key = 'chromeosdevices';
protected $chromeosdevicesType = 'Google_Service_Directory_ChromeOsDevice';
protected $chromeosdevicesDataType = 'array';
public $etag;
@@ -3036,6 +3040,7 @@ public function getNextPageToken()
class Google_Service_Directory_Group extends Google_Collection
{
+ protected $collection_key = 'nonEditableAliases';
public $adminCreated;
public $aliases;
public $description;
@@ -3150,6 +3155,7 @@ public function getNonEditableAliases()
class Google_Service_Directory_Groups extends Google_Collection
{
+ protected $collection_key = 'groups';
public $etag;
protected $groupsType = 'Google_Service_Directory_Group';
protected $groupsDataType = 'array';
@@ -3269,6 +3275,7 @@ public function getType()
class Google_Service_Directory_Members extends Google_Collection
{
+ protected $collection_key = 'members';
public $etag;
public $kind;
protected $membersType = 'Google_Service_Directory_Member';
@@ -3318,6 +3325,7 @@ public function getNextPageToken()
class Google_Service_Directory_MobileDevice extends Google_Collection
{
+ protected $collection_key = 'name';
protected $applicationsType = 'Google_Service_Directory_MobileDeviceApplications';
protected $applicationsDataType = 'array';
public $basebandVersion;
@@ -3624,6 +3632,7 @@ public function getAction()
class Google_Service_Directory_MobileDeviceApplications extends Google_Collection
{
+ protected $collection_key = 'permission';
public $displayName;
public $packageName;
public $permission;
@@ -3683,6 +3692,7 @@ public function getVersionName()
class Google_Service_Directory_MobileDevices extends Google_Collection
{
+ protected $collection_key = 'mobiledevices';
public $etag;
public $kind;
protected $mobiledevicesType = 'Google_Service_Directory_MobileDevice';
@@ -3824,6 +3834,7 @@ public function getSubject()
class Google_Service_Directory_Notifications extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Directory_Notification';
protected $itemsDataType = 'array';
@@ -3965,6 +3976,7 @@ public function getParentOrgUnitPath()
class Google_Service_Directory_OrgUnits extends Google_Collection
{
+ protected $collection_key = 'organizationUnits';
public $etag;
public $kind;
protected $organizationUnitsType = 'Google_Service_Directory_OrgUnit';
@@ -4003,6 +4015,7 @@ public function getOrganizationUnits()
class Google_Service_Directory_Token extends Google_Collection
{
+ protected $collection_key = 'scopes';
public $anonymous;
public $clientId;
public $displayText;
@@ -4095,6 +4108,7 @@ public function getUserKey()
class Google_Service_Directory_Tokens extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Directory_Token';
protected $itemsDataType = 'array';
@@ -4133,6 +4147,7 @@ public function getKind()
class Google_Service_Directory_User extends Google_Collection
{
+ protected $collection_key = 'nonEditableAliases';
public $addresses;
public $agreedToTerms;
public $aliases;
@@ -5150,6 +5165,7 @@ public function getOrgUnitPath()
class Google_Service_Directory_Users extends Google_Collection
{
+ protected $collection_key = 'users';
public $etag;
public $kind;
public $nextPageToken;
@@ -5258,6 +5274,7 @@ public function getVerificationCode()
class Google_Service_Directory_VerificationCodes extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Directory_VerificationCode';
protected $itemsDataType = 'array';
From 28f828ddd16e4deb810a9bd5b73aed1639ac279d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:26 -0700
Subject: [PATCH 0249/1371] Updated Resourceviews.php
---
src/Google/Service/Resourceviews.php | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/Google/Service/Resourceviews.php b/src/Google/Service/Resourceviews.php
index e3d8d1cbd..29076f2a4 100644
--- a/src/Google/Service/Resourceviews.php
+++ b/src/Google/Service/Resourceviews.php
@@ -703,6 +703,7 @@ public function getValue()
class Google_Service_Resourceviews_RegionViewsAddResourcesRequest extends Google_Collection
{
+ protected $collection_key = 'resources';
public $resources;
public function setResources($resources)
@@ -734,6 +735,7 @@ public function getResource()
class Google_Service_Resourceviews_RegionViewsListResourcesResponse extends Google_Collection
{
+ protected $collection_key = 'members';
public $members;
public $nextPageToken;
@@ -760,6 +762,7 @@ public function getNextPageToken()
class Google_Service_Resourceviews_RegionViewsListResponse extends Google_Collection
{
+ protected $collection_key = 'resourceViews';
public $nextPageToken;
protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
protected $resourceViewsDataType = 'array';
@@ -787,6 +790,7 @@ public function getResourceViews()
class Google_Service_Resourceviews_RegionViewsRemoveResourcesRequest extends Google_Collection
{
+ protected $collection_key = 'resources';
public $resources;
public function setResources($resources)
@@ -802,6 +806,7 @@ public function getResources()
class Google_Service_Resourceviews_ResourceView extends Google_Collection
{
+ protected $collection_key = 'members';
public $creationTime;
public $description;
public $id;
@@ -917,6 +922,7 @@ public function getSelfLink()
class Google_Service_Resourceviews_ZoneViewsAddResourcesRequest extends Google_Collection
{
+ protected $collection_key = 'resources';
public $resources;
public function setResources($resources)
@@ -948,6 +954,7 @@ public function getResource()
class Google_Service_Resourceviews_ZoneViewsListResourcesResponse extends Google_Collection
{
+ protected $collection_key = 'members';
public $members;
public $nextPageToken;
@@ -974,6 +981,7 @@ public function getNextPageToken()
class Google_Service_Resourceviews_ZoneViewsListResponse extends Google_Collection
{
+ protected $collection_key = 'resourceViews';
public $nextPageToken;
protected $resourceViewsType = 'Google_Service_Resourceviews_ResourceView';
protected $resourceViewsDataType = 'array';
@@ -1001,6 +1009,7 @@ public function getResourceViews()
class Google_Service_Resourceviews_ZoneViewsRemoveResourcesRequest extends Google_Collection
{
+ protected $collection_key = 'resources';
public $resources;
public function setResources($resources)
From 0eb88f1b5f12fa4f0ab98a9745840a49d83610d4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:27 -0700
Subject: [PATCH 0250/1371] Updated Analytics.php
---
src/Google/Service/Analytics.php | 39 ++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/src/Google/Service/Analytics.php b/src/Google/Service/Analytics.php
index 45c3380a7..470cb2a21 100644
--- a/src/Google/Service/Analytics.php
+++ b/src/Google/Service/Analytics.php
@@ -3773,6 +3773,7 @@ public function getType()
class Google_Service_Analytics_AccountPermissions extends Google_Collection
{
+ protected $collection_key = 'effective';
public $effective;
public function setEffective($effective)
@@ -3836,6 +3837,7 @@ public function getName()
class Google_Service_Analytics_AccountSummaries extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_AccountSummary';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -3929,6 +3931,7 @@ public function getUsername()
class Google_Service_Analytics_AccountSummary extends Google_Collection
{
+ protected $collection_key = 'webProperties';
public $id;
public $kind;
public $name;
@@ -4051,6 +4054,7 @@ public function getWebproperty()
class Google_Service_Analytics_Accounts extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Account';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -4181,6 +4185,7 @@ public function getKind()
class Google_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends Google_Collection
{
+ protected $collection_key = 'customDataImportUids';
public $customDataImportUids;
public function setCustomDataImportUids($customDataImportUids)
@@ -4238,6 +4243,7 @@ class Google_Service_Analytics_ColumnAttributes extends Google_Model
class Google_Service_Analytics_Columns extends Google_Collection
{
+ protected $collection_key = 'items';
public $attributeNames;
public $etag;
protected $itemsType = 'Google_Service_Analytics_Column';
@@ -4298,6 +4304,7 @@ public function getTotalResults()
class Google_Service_Analytics_CustomDataSource extends Google_Collection
{
+ protected $collection_key = 'profilesLinked';
public $accountId;
protected $childLinkType = 'Google_Service_Analytics_CustomDataSourceChildLink';
protected $childLinkDataType = '';
@@ -4521,6 +4528,7 @@ public function getType()
class Google_Service_Analytics_CustomDataSources extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_CustomDataSource';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -4614,6 +4622,7 @@ public function getUsername()
class Google_Service_Analytics_DailyUpload extends Google_Collection
{
+ protected $collection_key = 'recentChanges';
public $accountId;
public $appendCount;
public $createdTime;
@@ -4874,6 +4883,7 @@ public function getTime()
class Google_Service_Analytics_DailyUploads extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_DailyUpload';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -4967,6 +4977,7 @@ public function getUsername()
class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
{
+ protected $collection_key = 'profileIds';
protected $adWordsAccountsType = 'Google_Service_Analytics_AdWordsAccount';
protected $adWordsAccountsDataType = 'array';
protected $entityType = 'Google_Service_Analytics_EntityAdWordsLinkEntity';
@@ -5066,6 +5077,7 @@ public function getWebPropertyRef()
class Google_Service_Analytics_EntityAdWordsLinks extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_EntityAdWordsLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -5261,6 +5273,7 @@ public function getWebPropertyRef()
class Google_Service_Analytics_EntityUserLinkPermissions extends Google_Collection
{
+ protected $collection_key = 'local';
public $effective;
public $local;
@@ -5287,6 +5300,7 @@ public function getLocal()
class Google_Service_Analytics_EntityUserLinks extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_EntityUserLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -5369,6 +5383,7 @@ public function getTotalResults()
class Google_Service_Analytics_Experiment extends Google_Collection
{
+ protected $collection_key = 'variations';
public $accountId;
public $created;
public $description;
@@ -5768,6 +5783,7 @@ public function getWon()
class Google_Service_Analytics_Experiments extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Experiment';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -6373,6 +6389,7 @@ public function getField()
class Google_Service_Analytics_Filters extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Filter';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -6466,6 +6483,7 @@ public function getUsername()
class Google_Service_Analytics_GaData extends Google_Collection
{
+ protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_Analytics_GaDataColumnHeaders';
protected $columnHeadersDataType = 'array';
public $containsSampledData;
@@ -6687,6 +6705,7 @@ public function getName()
class Google_Service_Analytics_GaDataDataTable extends Google_Collection
{
+ protected $collection_key = 'rows';
protected $colsType = 'Google_Service_Analytics_GaDataDataTableCols';
protected $colsDataType = 'array';
protected $rowsType = 'Google_Service_Analytics_GaDataDataTableRows';
@@ -6752,6 +6771,7 @@ public function getType()
class Google_Service_Analytics_GaDataDataTableRows extends Google_Collection
{
+ protected $collection_key = 'c';
protected $cType = 'Google_Service_Analytics_GaDataDataTableRowsC';
protected $cDataType = 'array';
@@ -6853,6 +6873,7 @@ public function getWebPropertyId()
class Google_Service_Analytics_GaDataQuery extends Google_Collection
{
+ protected $collection_key = 'sort';
public $dimensions;
public $endDate;
public $filters;
@@ -7190,6 +7211,7 @@ public function getWebPropertyId()
class Google_Service_Analytics_GoalEventDetails extends Google_Collection
{
+ protected $collection_key = 'eventConditions';
protected $eventConditionsType = 'Google_Service_Analytics_GoalEventDetailsEventConditions';
protected $eventConditionsDataType = 'array';
public $useEventValue;
@@ -7302,6 +7324,7 @@ public function getType()
class Google_Service_Analytics_GoalUrlDestinationDetails extends Google_Collection
{
+ protected $collection_key = 'steps';
public $caseSensitive;
public $firstStepRequired;
public $matchType;
@@ -7451,6 +7474,7 @@ public function getComparisonValue()
class Google_Service_Analytics_Goals extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Goal';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -7544,6 +7568,7 @@ public function getUsername()
class Google_Service_Analytics_McfData extends Google_Collection
{
+ protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_Analytics_McfDataColumnHeaders';
protected $columnHeadersDataType = 'array';
public $containsSampledData;
@@ -7824,6 +7849,7 @@ public function getWebPropertyId()
class Google_Service_Analytics_McfDataQuery extends Google_Collection
{
+ protected $collection_key = 'sort';
public $dimensions;
public $endDate;
public $filters;
@@ -7949,6 +7975,7 @@ public function getStartIndex()
class Google_Service_Analytics_McfDataRows extends Google_Collection
{
+ protected $collection_key = 'conversionPathValue';
protected $conversionPathValueType = 'Google_Service_Analytics_McfDataRowsConversionPathValue';
protected $conversionPathValueDataType = 'array';
public $primitiveValue;
@@ -8365,6 +8392,7 @@ public function getSelfLink()
class Google_Service_Analytics_ProfileFilterLinks extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_ProfileFilterLink';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -8484,6 +8512,7 @@ public function getType()
class Google_Service_Analytics_ProfilePermissions extends Google_Collection
{
+ protected $collection_key = 'effective';
public $effective;
public function setEffective($effective)
@@ -8628,6 +8657,7 @@ public function getType()
class Google_Service_Analytics_Profiles extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Profile';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -8721,6 +8751,7 @@ public function getUsername()
class Google_Service_Analytics_RealtimeData extends Google_Collection
{
+ protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_Analytics_RealtimeDataColumnHeaders';
protected $columnHeadersDataType = 'array';
public $id;
@@ -8934,6 +8965,7 @@ public function getWebPropertyId()
class Google_Service_Analytics_RealtimeDataQuery extends Google_Collection
{
+ protected $collection_key = 'sort';
public $dimensions;
public $filters;
public $ids;
@@ -9112,6 +9144,7 @@ public function getUpdated()
class Google_Service_Analytics_Segments extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Segment';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -9461,6 +9494,7 @@ public function getDocumentId()
class Google_Service_Analytics_UnsampledReports extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_UnsampledReport';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -9554,6 +9588,7 @@ public function getUsername()
class Google_Service_Analytics_Upload extends Google_Collection
{
+ protected $collection_key = 'errors';
public $accountId;
public $customDataSourceId;
public $errors;
@@ -9624,6 +9659,7 @@ public function getStatus()
class Google_Service_Analytics_Uploads extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Upload';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -9813,6 +9849,7 @@ public function getName()
class Google_Service_Analytics_WebPropertySummary extends Google_Collection
{
+ protected $collection_key = 'profiles';
public $id;
public $internalWebPropertyId;
public $kind;
@@ -9895,6 +9932,7 @@ public function getWebsiteUrl()
class Google_Service_Analytics_Webproperties extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Analytics_Webproperty';
protected $itemsDataType = 'array';
public $itemsPerPage;
@@ -10223,6 +10261,7 @@ public function getType()
class Google_Service_Analytics_WebpropertyPermissions extends Google_Collection
{
+ protected $collection_key = 'effective';
public $effective;
public function setEffective($effective)
From f9e8312b6030fb8183bf2aaf391fd66ee0dd3e78 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:28 -0700
Subject: [PATCH 0251/1371] Updated Manager.php
---
src/Google/Service/Manager.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/Google/Service/Manager.php b/src/Google/Service/Manager.php
index 5085e8cfe..9dd88fb04 100644
--- a/src/Google/Service/Manager.php
+++ b/src/Google/Service/Manager.php
@@ -430,6 +430,7 @@ public function getType()
class Google_Service_Manager_Action extends Google_Collection
{
+ protected $collection_key = 'commands';
public $commands;
public $timeoutMs;
@@ -456,6 +457,7 @@ public function getTimeoutMs()
class Google_Service_Manager_AllowedRule extends Google_Collection
{
+ protected $collection_key = 'ports';
public $iPProtocol;
public $ports;
@@ -604,6 +606,7 @@ public function getStatus()
class Google_Service_Manager_Deployment extends Google_Collection
{
+ protected $collection_key = 'overrides';
public $creationDate;
public $description;
protected $modulesType = 'Google_Service_Manager_ModuleStatus';
@@ -693,6 +696,7 @@ class Google_Service_Manager_DeploymentModules extends Google_Model
class Google_Service_Manager_DeploymentsListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $nextPageToken;
protected $resourcesType = 'Google_Service_Manager_Deployment';
protected $resourcesDataType = 'array';
@@ -799,6 +803,7 @@ public function getSource()
class Google_Service_Manager_FirewallModule extends Google_Collection
{
+ protected $collection_key = 'targetTags';
protected $allowedType = 'Google_Service_Manager_AllowedRule';
protected $allowedDataType = 'array';
public $description;
@@ -992,6 +997,7 @@ public function getHealthCheckUrl()
class Google_Service_Manager_LbModule extends Google_Collection
{
+ protected $collection_key = 'targetModules';
public $description;
public $healthChecks;
public $ipAddress;
@@ -1099,6 +1105,7 @@ public function getTargetPoolUrl()
class Google_Service_Manager_Metadata extends Google_Collection
{
+ protected $collection_key = 'items';
public $fingerPrint;
protected $itemsType = 'Google_Service_Manager_MetadataItem';
protected $itemsDataType = 'array';
@@ -1338,6 +1345,7 @@ public function getType()
class Google_Service_Manager_NetworkInterface extends Google_Collection
{
+ protected $collection_key = 'accessConfigs';
protected $accessConfigsType = 'Google_Service_Manager_AccessConfig';
protected $accessConfigsDataType = 'array';
public $name;
@@ -1541,6 +1549,7 @@ public function getValue()
class Google_Service_Manager_ReplicaPoolModule extends Google_Collection
{
+ protected $collection_key = 'healthChecks';
protected $envVariablesType = 'Google_Service_Manager_EnvVariable';
protected $envVariablesDataType = 'map';
public $healthChecks;
@@ -1649,6 +1658,7 @@ public function getV1beta1()
class Google_Service_Manager_ReplicaPoolParamsV1Beta1 extends Google_Collection
{
+ protected $collection_key = 'serviceAccounts';
public $autoRestart;
public $baseInstanceName;
public $canIpForward;
@@ -1813,6 +1823,7 @@ public function getZone()
class Google_Service_Manager_ServiceAccount extends Google_Collection
{
+ protected $collection_key = 'scopes';
public $email;
public $scopes;
@@ -1839,6 +1850,7 @@ public function getScopes()
class Google_Service_Manager_Tag extends Google_Collection
{
+ protected $collection_key = 'items';
public $fingerPrint;
public $items;
@@ -1925,6 +1937,7 @@ class Google_Service_Manager_TemplateModules extends Google_Model
class Google_Service_Manager_TemplatesListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $nextPageToken;
protected $resourcesType = 'Google_Service_Manager_Template';
protected $resourcesDataType = 'array';
From 11a031caecd756dad3a189d7c0aba281e3873bc1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:28 -0700
Subject: [PATCH 0252/1371] Updated Autoscaler.php
---
src/Google/Service/Autoscaler.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Google/Service/Autoscaler.php b/src/Google/Service/Autoscaler.php
index 5a31425a1..22e317bd3 100644
--- a/src/Google/Service/Autoscaler.php
+++ b/src/Google/Service/Autoscaler.php
@@ -554,6 +554,7 @@ public function getTarget()
class Google_Service_Autoscaler_AutoscalerListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Autoscaler_Autoscaler';
protected $itemsDataType = 'array';
public $nextPageToken;
@@ -581,6 +582,7 @@ public function getNextPageToken()
class Google_Service_Autoscaler_AutoscalingPolicy extends Google_Collection
{
+ protected $collection_key = 'customMetricUtilizations';
public $coolDownPeriodSec;
protected $cpuUtilizationType = 'Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
protected $cpuUtilizationDataType = '';
@@ -710,6 +712,7 @@ public function getUtilizationTarget()
class Google_Service_Autoscaler_Operation extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $clientOperationId;
public $creationTimestamp;
public $endTime;
@@ -958,6 +961,7 @@ public function getZone()
class Google_Service_Autoscaler_OperationError extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $errorsType = 'Google_Service_Autoscaler_OperationErrorErrors';
protected $errorsDataType = 'array';
@@ -1011,6 +1015,7 @@ public function getMessage()
class Google_Service_Autoscaler_OperationList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Autoscaler_Operation';
protected $itemsDataType = 'array';
@@ -1071,6 +1076,7 @@ public function getSelfLink()
class Google_Service_Autoscaler_OperationWarnings extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Autoscaler_OperationWarningsData';
protected $dataDataType = 'array';
From d6d3a587321af0d4eec8b04f1e641e8bf124a29b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:29 -0700
Subject: [PATCH 0253/1371] Updated PlusDomains.php
---
src/Google/Service/PlusDomains.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/PlusDomains.php b/src/Google/Service/PlusDomains.php
index 3cd3bbef8..815c3d063 100644
--- a/src/Google/Service/PlusDomains.php
+++ b/src/Google/Service/PlusDomains.php
@@ -902,6 +902,7 @@ public function listByCircle($circleId, $optParams = array())
class Google_Service_PlusDomains_Acl extends Google_Collection
{
+ protected $collection_key = 'items';
public $description;
public $domainRestricted;
protected $itemsType = 'Google_Service_PlusDomains_PlusDomainsAclentryResource';
@@ -1282,6 +1283,7 @@ public function getGivenName()
class Google_Service_PlusDomains_ActivityFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $id;
protected $itemsType = 'Google_Service_PlusDomains_Activity';
@@ -1386,6 +1388,7 @@ public function getUpdated()
class Google_Service_PlusDomains_ActivityObject extends Google_Collection
{
+ protected $collection_key = 'attachments';
protected $actorType = 'Google_Service_PlusDomains_ActivityObjectActor';
protected $actorDataType = '';
protected $attachmentsType = 'Google_Service_PlusDomains_ActivityObjectAttachments';
@@ -1581,6 +1584,7 @@ public function getUrl()
class Google_Service_PlusDomains_ActivityObjectAttachments extends Google_Collection
{
+ protected $collection_key = 'thumbnails';
public $content;
public $displayName;
protected $embedType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed';
@@ -2135,6 +2139,7 @@ public function getVisibility()
class Google_Service_PlusDomains_AudiencesFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_PlusDomains_Audience';
protected $itemsDataType = 'array';
@@ -2277,6 +2282,7 @@ public function getSelfLink()
class Google_Service_PlusDomains_CircleFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_PlusDomains_Circle';
protected $itemsDataType = 'array';
@@ -2385,6 +2391,7 @@ public function getTotalItems()
class Google_Service_PlusDomains_Comment extends Google_Collection
{
+ protected $collection_key = 'inReplyTo';
protected $actorType = 'Google_Service_PlusDomains_CommentActor';
protected $actorDataType = '';
public $etag;
@@ -2578,6 +2585,7 @@ public function getUrl()
class Google_Service_PlusDomains_CommentFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $id;
protected $itemsType = 'Google_Service_PlusDomains_Comment';
@@ -2749,6 +2757,7 @@ public function getTotalItems()
class Google_Service_PlusDomains_Media extends Google_Collection
{
+ protected $collection_key = 'streams';
protected $authorType = 'Google_Service_PlusDomains_MediaAuthor';
protected $authorDataType = '';
public $displayName;
@@ -3033,6 +3042,7 @@ public function getTime()
class Google_Service_PlusDomains_PeopleFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_PlusDomains_Person';
protected $itemsDataType = 'array';
@@ -3115,6 +3125,7 @@ public function getTotalItems()
class Google_Service_PlusDomains_Person extends Google_Collection
{
+ protected $collection_key = 'urls';
public $aboutMe;
public $birthday;
public $braggingRights;
From 9870695c1cc90de736cdf1337fb33a9cf474e413 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:30 -0700
Subject: [PATCH 0254/1371] Updated Reports.php
---
src/Google/Service/Reports.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/Google/Service/Reports.php b/src/Google/Service/Reports.php
index bf6cdd1f3..51e72247a 100644
--- a/src/Google/Service/Reports.php
+++ b/src/Google/Service/Reports.php
@@ -446,6 +446,7 @@ public function get($userKey, $date, $optParams = array())
class Google_Service_Reports_Activities extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Reports_Activity';
protected $itemsDataType = 'array';
@@ -495,6 +496,7 @@ public function getNextPageToken()
class Google_Service_Reports_Activity extends Google_Collection
{
+ protected $collection_key = 'events';
protected $actorType = 'Google_Service_Reports_ActivityActor';
protected $actorDataType = '';
public $etag;
@@ -627,6 +629,7 @@ public function getProfileId()
class Google_Service_Reports_ActivityEvents extends Google_Collection
{
+ protected $collection_key = 'parameters';
public $name;
protected $parametersType = 'Google_Service_Reports_ActivityEventsParameters';
protected $parametersDataType = 'array';
@@ -880,6 +883,7 @@ class Google_Service_Reports_ChannelParams extends Google_Model
class Google_Service_Reports_UsageReport extends Google_Collection
{
+ protected $collection_key = 'parameters';
public $date;
protected $entityType = 'Google_Service_Reports_UsageReportEntity';
protected $entityDataType = '';
@@ -989,6 +993,7 @@ public function getUserEmail()
class Google_Service_Reports_UsageReportParameters extends Google_Collection
{
+ protected $collection_key = 'msgValue';
public $boolValue;
public $datetimeValue;
public $intValue;
@@ -1064,6 +1069,7 @@ class Google_Service_Reports_UsageReportParametersMsgValue extends Google_Model
class Google_Service_Reports_UsageReports extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $etag;
public $kind;
public $nextPageToken;
@@ -1125,6 +1131,7 @@ public function getWarnings()
class Google_Service_Reports_UsageReportsWarnings extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Reports_UsageReportsWarningsData';
protected $dataDataType = 'array';
From 6e3313ef5006f26048cca685cdf1bbf12b88a718 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:30 -0700
Subject: [PATCH 0255/1371] Updated Pubsub.php
---
src/Google/Service/Pubsub.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/Google/Service/Pubsub.php b/src/Google/Service/Pubsub.php
index 27c49682e..f37f604a3 100644
--- a/src/Google/Service/Pubsub.php
+++ b/src/Google/Service/Pubsub.php
@@ -412,6 +412,7 @@ public function publish(Google_Service_Pubsub_PublishRequest $postBody, $optPara
class Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection
{
+ protected $collection_key = 'ackId';
public $ackId;
public $subscription;
@@ -475,6 +476,7 @@ public function getStrValue()
class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
{
+ protected $collection_key = 'subscription';
public $nextPageToken;
protected $subscriptionType = 'Google_Service_Pubsub_Subscription';
protected $subscriptionDataType = 'array';
@@ -502,6 +504,7 @@ public function getSubscription()
class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
{
+ protected $collection_key = 'topic';
public $nextPageToken;
protected $topicType = 'Google_Service_Pubsub_Topic';
protected $topicDataType = 'array';
@@ -669,6 +672,7 @@ public function getTruncated()
class Google_Service_Pubsub_PubsubMessage extends Google_Collection
{
+ protected $collection_key = 'label';
public $data;
protected $labelType = 'Google_Service_Pubsub_Label';
protected $labelDataType = 'array';
From 2ea3d7b6fe3852addb4d0bda37e2e637e8c4fdab Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:31 -0700
Subject: [PATCH 0256/1371] Updated Calendar.php
---
src/Google/Service/Calendar.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Calendar.php b/src/Google/Service/Calendar.php
index adb10426e..f09aa5def 100644
--- a/src/Google/Service/Calendar.php
+++ b/src/Google/Service/Calendar.php
@@ -1900,6 +1900,7 @@ public function watch(Google_Service_Calendar_Channel $postBody, $optParams = ar
class Google_Service_Calendar_Acl extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Calendar_AclRule';
protected $itemsDataType = 'array';
@@ -2127,6 +2128,7 @@ public function getTimeZone()
class Google_Service_Calendar_CalendarList extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Calendar_CalendarListEntry';
protected $itemsDataType = 'array';
@@ -2187,6 +2189,7 @@ public function getNextSyncToken()
class Google_Service_Calendar_CalendarListEntry extends Google_Collection
{
+ protected $collection_key = 'defaultReminders';
public $accessRole;
public $backgroundColor;
public $colorId;
@@ -2391,6 +2394,7 @@ public function getTimeZone()
class Google_Service_Calendar_CalendarListEntryNotificationSettings extends Google_Collection
{
+ protected $collection_key = 'notifications';
protected $notificationsType = 'Google_Service_Calendar_CalendarNotification';
protected $notificationsDataType = 'array';
@@ -2664,6 +2668,7 @@ public function getReason()
class Google_Service_Calendar_Event extends Google_Collection
{
+ protected $collection_key = 'recurrence';
public $anyoneCanAddSelf;
protected $attendeesType = 'Google_Service_Calendar_EventAttendee';
protected $attendeesDataType = 'array';
@@ -3480,6 +3485,7 @@ public function getMinutes()
class Google_Service_Calendar_EventReminders extends Google_Collection
{
+ protected $collection_key = 'overrides';
protected $overridesType = 'Google_Service_Calendar_EventReminder';
protected $overridesDataType = 'array';
public $useDefault;
@@ -3533,6 +3539,7 @@ public function getUrl()
class Google_Service_Calendar_Events extends Google_Collection
{
+ protected $collection_key = 'items';
public $accessRole;
protected $defaultRemindersType = 'Google_Service_Calendar_EventReminder';
protected $defaultRemindersDataType = 'array';
@@ -3660,6 +3667,7 @@ public function getUpdated()
class Google_Service_Calendar_FreeBusyCalendar extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $busyType = 'Google_Service_Calendar_TimePeriod';
protected $busyDataType = 'array';
protected $errorsType = 'Google_Service_Calendar_Error';
@@ -3688,6 +3696,7 @@ public function getErrors()
class Google_Service_Calendar_FreeBusyGroup extends Google_Collection
{
+ protected $collection_key = 'errors';
public $calendars;
protected $errorsType = 'Google_Service_Calendar_Error';
protected $errorsDataType = 'array';
@@ -3715,6 +3724,7 @@ public function getErrors()
class Google_Service_Calendar_FreeBusyRequest extends Google_Collection
{
+ protected $collection_key = 'items';
public $calendarExpansionMax;
public $groupExpansionMax;
protected $itemsType = 'Google_Service_Calendar_FreeBusyRequestItem';
@@ -3920,6 +3930,7 @@ public function getValue()
class Google_Service_Calendar_Settings extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Calendar_Setting';
protected $itemsDataType = 'array';
From 4b8adcd7aacbced31770386c6f0d7c85d29c9c11 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:32 -0700
Subject: [PATCH 0257/1371] Updated Plus.php
---
src/Google/Service/Plus.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/Plus.php b/src/Google/Service/Plus.php
index 2f8721d30..eeafbcecd 100644
--- a/src/Google/Service/Plus.php
+++ b/src/Google/Service/Plus.php
@@ -648,6 +648,7 @@ public function search($query, $optParams = array())
class Google_Service_Plus_Acl extends Google_Collection
{
+ protected $collection_key = 'items';
public $description;
protected $itemsType = 'Google_Service_Plus_PlusAclentryResource';
protected $itemsDataType = 'array';
@@ -1017,6 +1018,7 @@ public function getGivenName()
class Google_Service_Plus_ActivityFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $id;
protected $itemsType = 'Google_Service_Plus_Activity';
@@ -1121,6 +1123,7 @@ public function getUpdated()
class Google_Service_Plus_ActivityObject extends Google_Collection
{
+ protected $collection_key = 'attachments';
protected $actorType = 'Google_Service_Plus_ActivityObjectActor';
protected $actorDataType = '';
protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments';
@@ -1304,6 +1307,7 @@ public function getUrl()
class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection
{
+ protected $collection_key = 'thumbnails';
public $content;
public $displayName;
protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed';
@@ -1712,6 +1716,7 @@ public function getTitle()
class Google_Service_Plus_Comment extends Google_Collection
{
+ protected $collection_key = 'inReplyTo';
protected $actorType = 'Google_Service_Plus_CommentActor';
protected $actorDataType = '';
public $etag;
@@ -1905,6 +1910,7 @@ public function getUrl()
class Google_Service_Plus_CommentFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
public $id;
protected $itemsType = 'Google_Service_Plus_Comment';
@@ -2076,6 +2082,7 @@ public function getTotalItems()
class Google_Service_Plus_ItemScope extends Google_Collection
{
+ protected $collection_key = 'performers';
protected $aboutType = 'Google_Service_Plus_ItemScope';
protected $aboutDataType = '';
public $additionalName;
@@ -2784,6 +2791,7 @@ public function getType()
class Google_Service_Plus_MomentsFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Plus_Moment';
protected $itemsDataType = 'array';
@@ -2877,6 +2885,7 @@ public function getUpdated()
class Google_Service_Plus_PeopleFeed extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Plus_Person';
protected $itemsDataType = 'array';
@@ -2959,6 +2968,7 @@ public function getTotalItems()
class Google_Service_Plus_Person extends Google_Collection
{
+ protected $collection_key = 'urls';
public $aboutMe;
protected $ageRangeType = 'Google_Service_Plus_PersonAgeRange';
protected $ageRangeDataType = '';
From fdae09afd1b53bb9550940622bb26f4974cc11f6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:32 -0700
Subject: [PATCH 0258/1371] Updated Spectrum.php
---
src/Google/Service/Spectrum.php | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/Google/Service/Spectrum.php b/src/Google/Service/Spectrum.php
index 21e1005b0..c2fbbdf3b 100644
--- a/src/Google/Service/Spectrum.php
+++ b/src/Google/Service/Spectrum.php
@@ -256,6 +256,7 @@ public function getUri()
class Google_Service_Spectrum_DbUpdateSpec extends Google_Collection
{
+ protected $collection_key = 'databases';
protected $databasesType = 'Google_Service_Spectrum_DatabaseSpec';
protected $databasesDataType = 'array';
@@ -272,6 +273,7 @@ public function getDatabases()
class Google_Service_Spectrum_DeviceCapabilities extends Google_Collection
{
+ protected $collection_key = 'frequencyRanges';
protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange';
protected $frequencyRangesDataType = 'array';
@@ -288,6 +290,7 @@ public function getFrequencyRanges()
class Google_Service_Spectrum_DeviceDescriptor extends Google_Collection
{
+ protected $collection_key = 'rulesetIds';
public $etsiEnDeviceCategory;
public $etsiEnDeviceEmissionsClass;
public $etsiEnDeviceType;
@@ -656,6 +659,7 @@ public function getLongitude()
class Google_Service_Spectrum_GeoLocationPolygon extends Google_Collection
{
+ protected $collection_key = 'exterior';
protected $exteriorType = 'Google_Service_Spectrum_GeoLocationPoint';
protected $exteriorDataType = 'array';
@@ -672,6 +676,7 @@ public function getExterior()
class Google_Service_Spectrum_GeoSpectrumSchedule extends Google_Collection
{
+ protected $collection_key = 'spectrumSchedules';
protected $locationType = 'Google_Service_Spectrum_GeoLocation';
protected $locationDataType = '';
protected $spectrumSchedulesType = 'Google_Service_Spectrum_SpectrumSchedule';
@@ -700,6 +705,7 @@ public function getSpectrumSchedules()
class Google_Service_Spectrum_PawsGetSpectrumBatchRequest extends Google_Collection
{
+ protected $collection_key = 'locations';
protected $antennaType = 'Google_Service_Spectrum_AntennaCharacteristics';
protected $antennaDataType = '';
protected $capabilitiesType = 'Google_Service_Spectrum_DeviceCapabilities';
@@ -809,6 +815,7 @@ public function getVersion()
class Google_Service_Spectrum_PawsGetSpectrumBatchResponse extends Google_Collection
{
+ protected $collection_key = 'geoSpectrumSchedules';
protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
protected $databaseChangeDataType = '';
protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
@@ -1047,6 +1054,7 @@ public function getVersion()
class Google_Service_Spectrum_PawsGetSpectrumResponse extends Google_Collection
{
+ protected $collection_key = 'spectrumSchedules';
protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
protected $databaseChangeDataType = '';
protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
@@ -1287,6 +1295,7 @@ public function getVersion()
class Google_Service_Spectrum_PawsNotifySpectrumUseRequest extends Google_Collection
{
+ protected $collection_key = 'spectra';
protected $deviceDescType = 'Google_Service_Spectrum_DeviceDescriptor';
protected $deviceDescDataType = '';
protected $locationType = 'Google_Service_Spectrum_GeoLocation';
@@ -1509,6 +1518,7 @@ public function getVersion()
class Google_Service_Spectrum_PawsVerifyDeviceRequest extends Google_Collection
{
+ protected $collection_key = 'deviceDescs';
protected $deviceDescsType = 'Google_Service_Spectrum_DeviceDescriptor';
protected $deviceDescsDataType = 'array';
public $type;
@@ -1547,6 +1557,7 @@ public function getVersion()
class Google_Service_Spectrum_PawsVerifyDeviceResponse extends Google_Collection
{
+ protected $collection_key = 'deviceValidities';
protected $databaseChangeType = 'Google_Service_Spectrum_DbUpdateSpec';
protected $databaseChangeDataType = '';
protected $deviceValiditiesType = 'Google_Service_Spectrum_DeviceValidity';
@@ -1608,6 +1619,7 @@ public function getVersion()
class Google_Service_Spectrum_RulesetInfo extends Google_Collection
{
+ protected $collection_key = 'rulesetIds';
public $authority;
public $maxLocationChange;
public $maxPollingSecs;
@@ -1656,6 +1668,7 @@ public function getRulesetIds()
class Google_Service_Spectrum_SpectrumMessage extends Google_Collection
{
+ protected $collection_key = 'frequencyRanges';
public $bandwidth;
protected $frequencyRangesType = 'Google_Service_Spectrum_FrequencyRange';
protected $frequencyRangesDataType = 'array';
@@ -1683,6 +1696,7 @@ public function getFrequencyRanges()
class Google_Service_Spectrum_SpectrumSchedule extends Google_Collection
{
+ protected $collection_key = 'spectra';
protected $eventTimeType = 'Google_Service_Spectrum_EventTime';
protected $eventTimeDataType = '';
protected $spectraType = 'Google_Service_Spectrum_SpectrumMessage';
From fc4d97c5f361a4cb14c3978685a702a8d24b08d5 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:33 -0700
Subject: [PATCH 0259/1371] Updated DoubleClickBidManager.php
---
src/Google/Service/DoubleClickBidManager.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/Google/Service/DoubleClickBidManager.php b/src/Google/Service/DoubleClickBidManager.php
index 4d340cd16..7485fa0b8 100644
--- a/src/Google/Service/DoubleClickBidManager.php
+++ b/src/Google/Service/DoubleClickBidManager.php
@@ -292,6 +292,7 @@ public function listreports($queryId, $optParams = array())
class Google_Service_DoubleClickBidManager_DownloadLineItemsRequest extends Google_Collection
{
+ protected $collection_key = 'filterIds';
public $filterIds;
public $filterType;
public $format;
@@ -370,6 +371,7 @@ public function getValue()
class Google_Service_DoubleClickBidManager_ListQueriesResponse extends Google_Collection
{
+ protected $collection_key = 'queries';
public $kind;
protected $queriesType = 'Google_Service_DoubleClickBidManager_Query';
protected $queriesDataType = 'array';
@@ -397,6 +399,7 @@ public function getQueries()
class Google_Service_DoubleClickBidManager_ListReportsResponse extends Google_Collection
{
+ protected $collection_key = 'reports';
public $kind;
protected $reportsType = 'Google_Service_DoubleClickBidManager_Report';
protected $reportsDataType = 'array';
@@ -424,6 +427,7 @@ public function getReports()
class Google_Service_DoubleClickBidManager_Parameters extends Google_Collection
{
+ protected $collection_key = 'metrics';
protected $filtersType = 'Google_Service_DoubleClickBidManager_FilterPair';
protected $filtersDataType = 'array';
public $groupBys;
@@ -579,6 +583,7 @@ public function getTimezoneCode()
class Google_Service_DoubleClickBidManager_QueryMetadata extends Google_Collection
{
+ protected $collection_key = 'shareEmailAddress';
public $dataRange;
public $format;
public $googleCloudStoragePathForLatestReport;
@@ -920,6 +925,7 @@ public function getState()
class Google_Service_DoubleClickBidManager_RowStatus extends Google_Collection
{
+ protected $collection_key = 'errors';
public $changed;
public $entityId;
public $entityName;
@@ -1091,6 +1097,7 @@ public function getUploadStatus()
class Google_Service_DoubleClickBidManager_UploadStatus extends Google_Collection
{
+ protected $collection_key = 'rowStatus';
public $errors;
protected $rowStatusType = 'Google_Service_DoubleClickBidManager_RowStatus';
protected $rowStatusDataType = 'array';
From 987ce02b43c840a352565ec645730a2a83fd80aa Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:33 -0700
Subject: [PATCH 0260/1371] Updated Audit.php
---
src/Google/Service/Audit.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/Audit.php b/src/Google/Service/Audit.php
index 973cd5503..08bad3120 100644
--- a/src/Google/Service/Audit.php
+++ b/src/Google/Service/Audit.php
@@ -168,6 +168,7 @@ public function listActivities($customerId, $applicationId, $optParams = array()
class Google_Service_Audit_Activities extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Audit_Activity';
protected $itemsDataType = 'array';
public $kind;
@@ -206,6 +207,7 @@ public function getNext()
class Google_Service_Audit_Activity extends Google_Collection
{
+ protected $collection_key = 'events';
protected $actorType = 'Google_Service_Audit_ActivityActor';
protected $actorDataType = '';
protected $eventsType = 'Google_Service_Audit_ActivityEvents';
@@ -327,6 +329,7 @@ public function getKey()
class Google_Service_Audit_ActivityEvents extends Google_Collection
{
+ protected $collection_key = 'parameters';
public $eventType;
public $name;
protected $parametersType = 'Google_Service_Audit_ActivityEventsParameters';
From e635ba0f85bce6fd5fe890a51d6fba4d90920839 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:34 -0700
Subject: [PATCH 0261/1371] Updated Doubleclicksearch.php
---
src/Google/Service/Doubleclicksearch.php | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/Google/Service/Doubleclicksearch.php b/src/Google/Service/Doubleclicksearch.php
index 766deadeb..5e3fb3d7b 100644
--- a/src/Google/Service/Doubleclicksearch.php
+++ b/src/Google/Service/Doubleclicksearch.php
@@ -532,6 +532,7 @@ public function getSegmentationType()
class Google_Service_Doubleclicksearch_Conversion extends Google_Collection
{
+ protected $collection_key = 'customMetric';
public $adGroupId;
public $adId;
public $advertiserId;
@@ -791,6 +792,7 @@ public function getType()
class Google_Service_Doubleclicksearch_ConversionList extends Google_Collection
{
+ protected $collection_key = 'conversion';
protected $conversionType = 'Google_Service_Doubleclicksearch_Conversion';
protected $conversionDataType = 'array';
public $kind;
@@ -870,6 +872,7 @@ public function getValue()
class Google_Service_Doubleclicksearch_Report extends Google_Collection
{
+ protected $collection_key = 'rows';
protected $filesType = 'Google_Service_Doubleclicksearch_ReportFiles';
protected $filesDataType = 'array';
public $id;
@@ -1093,6 +1096,7 @@ public function getUrl()
class Google_Service_Doubleclicksearch_ReportRequest extends Google_Collection
{
+ protected $collection_key = 'orderBy';
protected $columnsType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
protected $columnsDataType = 'array';
public $downloadFormat;
@@ -1256,6 +1260,7 @@ public function getVerifySingleTimeZone()
class Google_Service_Doubleclicksearch_ReportRequestFilters extends Google_Collection
{
+ protected $collection_key = 'values';
protected $columnType = 'Google_Service_Doubleclicksearch_ReportApiColumnSpec';
protected $columnDataType = '';
public $operator;
@@ -1492,6 +1497,7 @@ public function getType()
class Google_Service_Doubleclicksearch_SavedColumnList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Doubleclicksearch_SavedColumn';
protected $itemsDataType = 'array';
public $kind;
@@ -1519,6 +1525,7 @@ public function getKind()
class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
{
+ protected $collection_key = 'availabilities';
protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
protected $availabilitiesDataType = 'array';
@@ -1535,6 +1542,7 @@ public function getAvailabilities()
class Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection
{
+ protected $collection_key = 'availabilities';
protected $availabilitiesType = 'Google_Service_Doubleclicksearch_Availability';
protected $availabilitiesDataType = 'array';
From 51ba1575a6e4b4ab4880855a727524a98271adfc Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:35 -0700
Subject: [PATCH 0262/1371] Updated CivicInfo.php
---
src/Google/Service/CivicInfo.php | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/Google/Service/CivicInfo.php b/src/Google/Service/CivicInfo.php
index daa65862b..5721b27b5 100644
--- a/src/Google/Service/CivicInfo.php
+++ b/src/Google/Service/CivicInfo.php
@@ -249,6 +249,7 @@ public function representativeInfoQuery(Google_Service_CivicInfo_RepresentativeI
class Google_Service_CivicInfo_AdministrationRegion extends Google_Collection
{
+ protected $collection_key = 'sources';
protected $electionAdministrationBodyType = 'Google_Service_CivicInfo_AdministrativeBody';
protected $electionAdministrationBodyDataType = '';
public $id;
@@ -311,6 +312,7 @@ public function getSources()
class Google_Service_CivicInfo_AdministrativeBody extends Google_Collection
{
+ protected $collection_key = 'voter_services';
public $absenteeVotingInfoUrl;
public $ballotInfoUrl;
protected $correspondenceAddressType = 'Google_Service_CivicInfo_SimpleAddressType';
@@ -461,6 +463,7 @@ public function getVotingLocationFinderUrl()
class Google_Service_CivicInfo_Candidate extends Google_Collection
{
+ protected $collection_key = 'channels';
public $candidateUrl;
protected $channelsType = 'Google_Service_CivicInfo_Channel';
protected $channelsDataType = 'array';
@@ -580,6 +583,7 @@ public function getType()
class Google_Service_CivicInfo_Contest extends Google_Collection
{
+ protected $collection_key = 'sources';
public $ballotPlacement;
protected $candidatesType = 'Google_Service_CivicInfo_Candidate';
protected $candidatesDataType = 'array';
@@ -763,6 +767,7 @@ public function getType()
class Google_Service_CivicInfo_DivisionSearchResponse extends Google_Collection
{
+ protected $collection_key = 'results';
public $kind;
protected $resultsType = 'Google_Service_CivicInfo_DivisionSearchResult';
protected $resultsDataType = 'array';
@@ -801,6 +806,7 @@ public function getStatus()
class Google_Service_CivicInfo_DivisionSearchResult extends Google_Collection
{
+ protected $collection_key = 'aliases';
public $aliases;
public $name;
public $ocdId;
@@ -934,6 +940,7 @@ public function getTitle()
class Google_Service_CivicInfo_ElectionsQueryResponse extends Google_Collection
{
+ protected $collection_key = 'elections';
protected $electionsType = 'Google_Service_CivicInfo_Election';
protected $electionsDataType = 'array';
public $kind;
@@ -998,6 +1005,7 @@ public function getScope()
class Google_Service_CivicInfo_GeographicDivision extends Google_Collection
{
+ protected $collection_key = 'officeIds';
public $alsoKnownAs;
public $name;
public $officeIds;
@@ -1046,6 +1054,7 @@ public function getScope()
class Google_Service_CivicInfo_Office extends Google_Collection
{
+ protected $collection_key = 'sources';
public $divisionId;
public $level;
public $name;
@@ -1106,6 +1115,7 @@ public function getSources()
class Google_Service_CivicInfo_Official extends Google_Collection
{
+ protected $collection_key = 'urls';
protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType';
protected $addressDataType = 'array';
protected $channelsType = 'Google_Service_CivicInfo_Channel';
@@ -1200,6 +1210,7 @@ public function getUrls()
class Google_Service_CivicInfo_PollingLocation extends Google_Collection
{
+ protected $collection_key = 'sources';
protected $addressType = 'Google_Service_CivicInfo_SimpleAddressType';
protected $addressDataType = '';
public $endDate;
@@ -1531,6 +1542,7 @@ public function getAddress()
class Google_Service_CivicInfo_VoterInfoResponse extends Google_Collection
{
+ protected $collection_key = 'state';
protected $contestsType = 'Google_Service_CivicInfo_Contest';
protected $contestsDataType = 'array';
protected $earlyVoteSitesType = 'Google_Service_CivicInfo_PollingLocation';
From 5680dcd8bbb31a235b68e9bfb9fa2eb34104fbeb Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:35 -0700
Subject: [PATCH 0263/1371] Updated Customsearch.php
---
src/Google/Service/Customsearch.php | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/Google/Service/Customsearch.php b/src/Google/Service/Customsearch.php
index b45c9466d..5694e9430 100644
--- a/src/Google/Service/Customsearch.php
+++ b/src/Google/Service/Customsearch.php
@@ -298,6 +298,7 @@ public function listCse($q, $optParams = array())
class Google_Service_Customsearch_Context extends Google_Collection
{
+ protected $collection_key = 'facets';
protected $facetsType = 'Google_Service_Customsearch_ContextFacets';
protected $facetsDataType = 'array';
public $title;
@@ -362,6 +363,7 @@ public function getLabelWithOp()
class Google_Service_Customsearch_Promotion extends Google_Collection
{
+ protected $collection_key = 'bodyLines';
protected $bodyLinesType = 'Google_Service_Customsearch_PromotionBodyLines';
protected $bodyLinesDataType = 'array';
public $displayLink;
@@ -930,6 +932,7 @@ public function getTotalResults()
class Google_Service_Customsearch_Result extends Google_Collection
{
+ protected $collection_key = 'labels';
public $cacheId;
public $displayLink;
public $fileFormat;
@@ -1229,6 +1232,7 @@ class Google_Service_Customsearch_ResultPagemapItemElement extends Google_Model
class Google_Service_Customsearch_Search extends Google_Collection
{
+ protected $collection_key = 'promotions';
protected $contextType = 'Google_Service_Customsearch_Context';
protected $contextDataType = '';
protected $itemsType = 'Google_Service_Customsearch_Result';
From 5a794f788aa7f064122b8bfa1a7ff88da84647f6 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:36 -0700
Subject: [PATCH 0264/1371] Updated AdSenseHost.php
---
src/Google/Service/AdSenseHost.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/Google/Service/AdSenseHost.php b/src/Google/Service/AdSenseHost.php
index 8c1ca2066..c9b7c23dc 100644
--- a/src/Google/Service/AdSenseHost.php
+++ b/src/Google/Service/AdSenseHost.php
@@ -1303,6 +1303,7 @@ public function getStatus()
class Google_Service_AdSenseHost_Accounts extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSenseHost_Account';
protected $itemsDataType = 'array';
@@ -1400,6 +1401,7 @@ public function getSupportsReporting()
class Google_Service_AdSenseHost_AdClients extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSenseHost_AdClient';
protected $itemsDataType = 'array';
@@ -1828,6 +1830,7 @@ public function getType()
class Google_Service_AdSenseHost_AdUnits extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSenseHost_AdUnit';
protected $itemsDataType = 'array';
@@ -1877,6 +1880,7 @@ public function getNextPageToken()
class Google_Service_AdSenseHost_AssociationSession extends Google_Collection
{
+ protected $collection_key = 'productCodes';
public $accountId;
public $id;
public $kind;
@@ -2028,6 +2032,7 @@ public function getName()
class Google_Service_AdSenseHost_CustomChannels extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSenseHost_CustomChannel';
protected $itemsDataType = 'array';
@@ -2077,6 +2082,7 @@ public function getNextPageToken()
class Google_Service_AdSenseHost_Report extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $averages;
protected $headersType = 'Google_Service_AdSenseHost_ReportHeaders';
protected $headersDataType = 'array';
@@ -2233,6 +2239,7 @@ public function getUrlPattern()
class Google_Service_AdSenseHost_UrlChannels extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSenseHost_UrlChannel';
protected $itemsDataType = 'array';
From ecb1c12f6a5508b7bec74b081d5d92368ce55e84 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:37 -0700
Subject: [PATCH 0265/1371] Updated Books.php
---
src/Google/Service/Books.php | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/src/Google/Service/Books.php b/src/Google/Service/Books.php
index 53216632c..e12d66437 100644
--- a/src/Google/Service/Books.php
+++ b/src/Google/Service/Books.php
@@ -2476,6 +2476,7 @@ public function listVolumesUseruploaded($optParams = array())
class Google_Service_Books_Annotation extends Google_Collection
{
+ protected $collection_key = 'pageIds';
public $afterSelectedText;
public $beforeSelectedText;
protected $clientVersionRangesType = 'Google_Service_Books_AnnotationClientVersionRanges';
@@ -2936,6 +2937,7 @@ public function getVolumeId()
class Google_Service_Books_Annotations extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Annotation';
protected $itemsDataType = 'array';
public $kind;
@@ -2985,6 +2987,7 @@ public function getTotalItems()
class Google_Service_Books_AnnotationsSummary extends Google_Collection
{
+ protected $collection_key = 'layers';
public $kind;
protected $layersType = 'Google_Service_Books_AnnotationsSummaryLayers';
protected $layersDataType = 'array';
@@ -3071,6 +3074,7 @@ public function getUpdated()
class Google_Service_Books_Annotationsdata extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Annotationdata';
protected $itemsDataType = 'array';
public $kind;
@@ -3345,6 +3349,7 @@ public function getVolumesLastUpdated()
class Google_Service_Books_Bookshelves extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Bookshelf';
protected $itemsDataType = 'array';
public $kind;
@@ -3551,6 +3556,7 @@ public function getTitle()
class Google_Service_Books_DictlayerdataDict extends Google_Collection
{
+ protected $collection_key = 'words';
protected $sourceType = 'Google_Service_Books_DictlayerdataDictSource';
protected $sourceDataType = '';
protected $wordsType = 'Google_Service_Books_DictlayerdataDictWords';
@@ -3605,6 +3611,7 @@ public function getUrl()
class Google_Service_Books_DictlayerdataDictWords extends Google_Collection
{
+ protected $collection_key = 'senses';
protected $derivativesType = 'Google_Service_Books_DictlayerdataDictWordsDerivatives';
protected $derivativesDataType = 'array';
protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsExamples';
@@ -3763,6 +3770,7 @@ public function getUrl()
class Google_Service_Books_DictlayerdataDictWordsSenses extends Google_Collection
{
+ protected $collection_key = 'synonyms';
protected $conjugationsType = 'Google_Service_Books_DictlayerdataDictWordsSensesConjugations';
protected $conjugationsDataType = 'array';
protected $definitionsType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitions';
@@ -3885,6 +3893,7 @@ public function getValue()
class Google_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Google_Collection
{
+ protected $collection_key = 'examples';
public $definition;
protected $examplesType = 'Google_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
protected $examplesDataType = 'array';
@@ -4206,6 +4215,7 @@ public function getVolumeId()
class Google_Service_Books_DownloadAccesses extends Google_Collection
{
+ protected $collection_key = 'downloadAccessList';
protected $downloadAccessListType = 'Google_Service_Books_DownloadAccessRestriction';
protected $downloadAccessListDataType = 'array';
public $kind;
@@ -4331,6 +4341,7 @@ public function getTitle()
class Google_Service_Books_GeolayerdataGeo extends Google_Collection
{
+ protected $collection_key = 'boundary';
protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
protected $boundaryDataType = 'array';
public $cachePolicy;
@@ -4531,6 +4542,7 @@ public function getLongitude()
class Google_Service_Books_Layersummaries extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Layersummary';
protected $itemsDataType = 'array';
public $kind;
@@ -4569,6 +4581,7 @@ public function getTotalItems()
class Google_Service_Books_Layersummary extends Google_Collection
{
+ protected $collection_key = 'annotationTypes';
public $annotationCount;
public $annotationTypes;
public $annotationsDataLink;
@@ -4716,6 +4729,7 @@ public function getVolumeId()
class Google_Service_Books_Offers extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_OffersItems';
protected $itemsDataType = 'array';
public $kind;
@@ -4743,6 +4757,7 @@ public function getKind()
class Google_Service_Books_OffersItems extends Google_Collection
{
+ protected $collection_key = 'items';
public $artUrl;
public $id;
protected $itemsType = 'Google_Service_Books_OffersItemsItems';
@@ -5506,6 +5521,7 @@ public function getIsAvailable()
class Google_Service_Books_VolumeLayerInfo extends Google_Collection
{
+ protected $collection_key = 'layers';
protected $layersType = 'Google_Service_Books_VolumeLayerInfoLayers';
protected $layersDataType = 'array';
@@ -5563,6 +5579,7 @@ public function getExplanation()
class Google_Service_Books_VolumeSaleInfo extends Google_Collection
{
+ protected $collection_key = 'offers';
public $buyLink;
public $country;
public $isEbook;
@@ -6073,6 +6090,7 @@ public function getProcessingState()
class Google_Service_Books_VolumeVolumeInfo extends Google_Collection
{
+ protected $collection_key = 'industryIdentifiers';
public $authors;
public $averageRating;
public $canonicalVolumeLink;
@@ -6455,6 +6473,7 @@ public function getType()
class Google_Service_Books_Volumeannotation extends Google_Collection
{
+ protected $collection_key = 'pageIds';
public $annotationDataId;
public $annotationDataLink;
public $annotationType;
@@ -6665,6 +6684,7 @@ public function getGbTextRange()
class Google_Service_Books_Volumeannotations extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Volumeannotation';
protected $itemsDataType = 'array';
public $kind;
@@ -6725,6 +6745,7 @@ public function getVersion()
class Google_Service_Books_Volumes extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Books_Volume';
protected $itemsDataType = 'array';
public $kind;
From 0584569162a95ccae7915ac011190b9d21dfe27e Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:38 -0700
Subject: [PATCH 0266/1371] Updated Taskqueue.php
---
src/Google/Service/Taskqueue.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/Taskqueue.php b/src/Google/Service/Taskqueue.php
index 2255fc653..55f346f61 100644
--- a/src/Google/Service/Taskqueue.php
+++ b/src/Google/Service/Taskqueue.php
@@ -589,6 +589,7 @@ public function getStats()
class Google_Service_Taskqueue_TaskQueueAcl extends Google_Collection
{
+ protected $collection_key = 'producerEmails';
public $adminEmails;
public $consumerEmails;
public $producerEmails;
@@ -674,6 +675,7 @@ public function getTotalTasks()
class Google_Service_Taskqueue_Tasks extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Taskqueue_Task';
protected $itemsDataType = 'array';
public $kind;
@@ -701,6 +703,7 @@ public function getKind()
class Google_Service_Taskqueue_Tasks2 extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Taskqueue_Task';
protected $itemsDataType = 'array';
public $kind;
From b1bf322a9a690008bfbb41b942b18bde7ba15667 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:39 -0700
Subject: [PATCH 0267/1371] Updated Compute.php
---
src/Google/Service/Compute.php | 72 ++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/src/Google/Service/Compute.php b/src/Google/Service/Compute.php
index 4d704e4cb..150f75410 100644
--- a/src/Google/Service/Compute.php
+++ b/src/Google/Service/Compute.php
@@ -5565,6 +5565,7 @@ public function getType()
class Google_Service_Compute_Address extends Google_Collection
{
+ protected $collection_key = 'users';
public $address;
public $creationTimestamp;
public $description;
@@ -5744,6 +5745,7 @@ class Google_Service_Compute_AddressAggregatedListItems extends Google_Model
class Google_Service_Compute_AddressList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Address';
protected $itemsDataType = 'array';
@@ -5804,6 +5806,7 @@ public function getSelfLink()
class Google_Service_Compute_AddressesScopedList extends Google_Collection
{
+ protected $collection_key = 'addresses';
protected $addressesType = 'Google_Service_Compute_Address';
protected $addressesDataType = 'array';
protected $warningType = 'Google_Service_Compute_AddressesScopedListWarning';
@@ -5832,6 +5835,7 @@ public function getWarning()
class Google_Service_Compute_AddressesScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_AddressesScopedListWarningData';
protected $dataDataType = 'array';
@@ -5896,6 +5900,7 @@ public function getValue()
class Google_Service_Compute_AttachedDisk extends Google_Collection
{
+ protected $collection_key = 'licenses';
public $autoDelete;
public $boot;
public $deviceName;
@@ -6140,6 +6145,7 @@ public function getMaxUtilization()
class Google_Service_Compute_BackendService extends Google_Collection
{
+ protected $collection_key = 'healthChecks';
protected $backendsType = 'Google_Service_Compute_Backend';
protected $backendsDataType = 'array';
public $creationTimestamp;
@@ -6288,6 +6294,7 @@ public function getTimeoutSec()
class Google_Service_Compute_BackendServiceGroupHealth extends Google_Collection
{
+ protected $collection_key = 'healthStatus';
protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
protected $healthStatusDataType = 'array';
public $kind;
@@ -6315,6 +6322,7 @@ public function getKind()
class Google_Service_Compute_BackendServiceList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_BackendService';
protected $itemsDataType = 'array';
@@ -6434,6 +6442,7 @@ public function getState()
class Google_Service_Compute_Disk extends Google_Collection
{
+ protected $collection_key = 'licenses';
public $creationTimestamp;
public $description;
public $id;
@@ -6679,6 +6688,7 @@ class Google_Service_Compute_DiskAggregatedListItems extends Google_Model
class Google_Service_Compute_DiskList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Disk';
protected $itemsDataType = 'array';
@@ -6908,6 +6918,7 @@ class Google_Service_Compute_DiskTypeAggregatedListItems extends Google_Model
class Google_Service_Compute_DiskTypeList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_DiskType';
protected $itemsDataType = 'array';
@@ -6968,6 +6979,7 @@ public function getSelfLink()
class Google_Service_Compute_DiskTypesScopedList extends Google_Collection
{
+ protected $collection_key = 'diskTypes';
protected $diskTypesType = 'Google_Service_Compute_DiskType';
protected $diskTypesDataType = 'array';
protected $warningType = 'Google_Service_Compute_DiskTypesScopedListWarning';
@@ -6996,6 +7008,7 @@ public function getWarning()
class Google_Service_Compute_DiskTypesScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_DiskTypesScopedListWarningData';
protected $dataDataType = 'array';
@@ -7060,6 +7073,7 @@ public function getValue()
class Google_Service_Compute_DisksScopedList extends Google_Collection
{
+ protected $collection_key = 'disks';
protected $disksType = 'Google_Service_Compute_Disk';
protected $disksDataType = 'array';
protected $warningType = 'Google_Service_Compute_DisksScopedListWarning';
@@ -7088,6 +7102,7 @@ public function getWarning()
class Google_Service_Compute_DisksScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_DisksScopedListWarningData';
protected $dataDataType = 'array';
@@ -7152,6 +7167,7 @@ public function getValue()
class Google_Service_Compute_Firewall extends Google_Collection
{
+ protected $collection_key = 'targetTags';
protected $allowedType = 'Google_Service_Compute_FirewallAllowed';
protected $allowedDataType = 'array';
public $creationTimestamp;
@@ -7278,6 +7294,7 @@ public function getTargetTags()
class Google_Service_Compute_FirewallAllowed extends Google_Collection
{
+ protected $collection_key = 'ports';
public $iPProtocol;
public $ports;
@@ -7304,6 +7321,7 @@ public function getPorts()
class Google_Service_Compute_FirewallList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Firewall';
protected $itemsDataType = 'array';
@@ -7554,6 +7572,7 @@ class Google_Service_Compute_ForwardingRuleAggregatedListItems extends Google_Mo
class Google_Service_Compute_ForwardingRuleList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_ForwardingRule';
protected $itemsDataType = 'array';
@@ -7614,6 +7633,7 @@ public function getSelfLink()
class Google_Service_Compute_ForwardingRulesScopedList extends Google_Collection
{
+ protected $collection_key = 'forwardingRules';
protected $forwardingRulesType = 'Google_Service_Compute_ForwardingRule';
protected $forwardingRulesDataType = 'array';
protected $warningType = 'Google_Service_Compute_ForwardingRulesScopedListWarning';
@@ -7642,6 +7662,7 @@ public function getWarning()
class Google_Service_Compute_ForwardingRulesScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_ForwardingRulesScopedListWarningData';
protected $dataDataType = 'array';
@@ -7758,6 +7779,7 @@ public function getIpAddress()
class Google_Service_Compute_HostRule extends Google_Collection
{
+ protected $collection_key = 'hosts';
public $description;
public $hosts;
public $pathMatcher;
@@ -7942,6 +7964,7 @@ public function getUnhealthyThreshold()
class Google_Service_Compute_HttpHealthCheckList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_HttpHealthCheck';
protected $itemsDataType = 'array';
@@ -8002,6 +8025,7 @@ public function getSelfLink()
class Google_Service_Compute_Image extends Google_Collection
{
+ protected $collection_key = 'licenses';
public $archiveSizeBytes;
public $creationTimestamp;
protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
@@ -8173,6 +8197,7 @@ public function getStatus()
class Google_Service_Compute_ImageList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Image';
protected $itemsDataType = 'array';
@@ -8270,6 +8295,7 @@ public function getSource()
class Google_Service_Compute_Instance extends Google_Collection
{
+ protected $collection_key = 'serviceAccounts';
public $canIpForward;
public $creationTimestamp;
public $description;
@@ -8532,6 +8558,7 @@ class Google_Service_Compute_InstanceAggregatedListItems extends Google_Model
class Google_Service_Compute_InstanceList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Instance';
protected $itemsDataType = 'array';
@@ -8607,6 +8634,7 @@ public function getInstance()
class Google_Service_Compute_InstancesScopedList extends Google_Collection
{
+ protected $collection_key = 'instances';
protected $instancesType = 'Google_Service_Compute_Instance';
protected $instancesDataType = 'array';
protected $warningType = 'Google_Service_Compute_InstancesScopedListWarning';
@@ -8635,6 +8663,7 @@ public function getWarning()
class Google_Service_Compute_InstancesScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_InstancesScopedListWarningData';
protected $dataDataType = 'array';
@@ -8736,6 +8765,7 @@ public function getSelfLink()
class Google_Service_Compute_MachineType extends Google_Collection
{
+ protected $collection_key = 'scratchDisks';
public $creationTimestamp;
protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
protected $deprecatedDataType = '';
@@ -8961,6 +8991,7 @@ class Google_Service_Compute_MachineTypeAggregatedListItems extends Google_Model
class Google_Service_Compute_MachineTypeList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_MachineType';
protected $itemsDataType = 'array';
@@ -9036,6 +9067,7 @@ public function getDiskGb()
class Google_Service_Compute_MachineTypesScopedList extends Google_Collection
{
+ protected $collection_key = 'machineTypes';
protected $machineTypesType = 'Google_Service_Compute_MachineType';
protected $machineTypesDataType = 'array';
protected $warningType = 'Google_Service_Compute_MachineTypesScopedListWarning';
@@ -9064,6 +9096,7 @@ public function getWarning()
class Google_Service_Compute_MachineTypesScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_MachineTypesScopedListWarningData';
protected $dataDataType = 'array';
@@ -9128,6 +9161,7 @@ public function getValue()
class Google_Service_Compute_Metadata extends Google_Collection
{
+ protected $collection_key = 'items';
public $fingerprint;
protected $itemsType = 'Google_Service_Compute_MetadataItems';
protected $itemsDataType = 'array';
@@ -9284,6 +9318,7 @@ public function getSelfLink()
class Google_Service_Compute_NetworkInterface extends Google_Collection
{
+ protected $collection_key = 'accessConfigs';
protected $accessConfigsType = 'Google_Service_Compute_AccessConfig';
protected $accessConfigsDataType = 'array';
public $name;
@@ -9333,6 +9368,7 @@ public function getNetworkIP()
class Google_Service_Compute_NetworkList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Network';
protected $itemsDataType = 'array';
@@ -9393,6 +9429,7 @@ public function getSelfLink()
class Google_Service_Compute_Operation extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $clientOperationId;
public $creationTimestamp;
public $endTime;
@@ -9706,6 +9743,7 @@ class Google_Service_Compute_OperationAggregatedListItems extends Google_Model
class Google_Service_Compute_OperationError extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $errorsType = 'Google_Service_Compute_OperationErrorErrors';
protected $errorsDataType = 'array';
@@ -9759,6 +9797,7 @@ public function getMessage()
class Google_Service_Compute_OperationList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Operation';
protected $itemsDataType = 'array';
@@ -9819,6 +9858,7 @@ public function getSelfLink()
class Google_Service_Compute_OperationWarnings extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_OperationWarningsData';
protected $dataDataType = 'array';
@@ -9883,6 +9923,7 @@ public function getValue()
class Google_Service_Compute_OperationsScopedList extends Google_Collection
{
+ protected $collection_key = 'operations';
protected $operationsType = 'Google_Service_Compute_Operation';
protected $operationsDataType = 'array';
protected $warningType = 'Google_Service_Compute_OperationsScopedListWarning';
@@ -9911,6 +9952,7 @@ public function getWarning()
class Google_Service_Compute_OperationsScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_OperationsScopedListWarningData';
protected $dataDataType = 'array';
@@ -9975,6 +10017,7 @@ public function getValue()
class Google_Service_Compute_PathMatcher extends Google_Collection
{
+ protected $collection_key = 'pathRules';
public $defaultService;
public $description;
public $name;
@@ -10024,6 +10067,7 @@ public function getPathRules()
class Google_Service_Compute_PathRule extends Google_Collection
{
+ protected $collection_key = 'paths';
public $paths;
public $service;
@@ -10050,6 +10094,7 @@ public function getService()
class Google_Service_Compute_Project extends Google_Collection
{
+ protected $collection_key = 'quotas';
protected $commonInstanceMetadataType = 'Google_Service_Compute_Metadata';
protected $commonInstanceMetadataDataType = '';
public $creationTimestamp;
@@ -10193,6 +10238,7 @@ public function getUsage()
class Google_Service_Compute_Region extends Google_Collection
{
+ protected $collection_key = 'zones';
public $creationTimestamp;
protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
protected $deprecatedDataType = '';
@@ -10309,6 +10355,7 @@ public function getZones()
class Google_Service_Compute_RegionList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Region';
protected $itemsDataType = 'array';
@@ -10384,6 +10431,7 @@ public function getGroup()
class Google_Service_Compute_Route extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $creationTimestamp;
public $description;
public $destRange;
@@ -10554,6 +10602,7 @@ public function getWarnings()
class Google_Service_Compute_RouteList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Route';
protected $itemsDataType = 'array';
@@ -10614,6 +10663,7 @@ public function getSelfLink()
class Google_Service_Compute_RouteWarnings extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_RouteWarningsData';
protected $dataDataType = 'array';
@@ -10741,6 +10791,7 @@ public function getSelfLink()
class Google_Service_Compute_ServiceAccount extends Google_Collection
{
+ protected $collection_key = 'scopes';
public $email;
public $scopes;
@@ -10767,6 +10818,7 @@ public function getScopes()
class Google_Service_Compute_Snapshot extends Google_Collection
{
+ protected $collection_key = 'licenses';
public $creationTimestamp;
public $description;
public $diskSizeGb;
@@ -10914,6 +10966,7 @@ public function getStorageBytesStatus()
class Google_Service_Compute_SnapshotList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Snapshot';
protected $itemsDataType = 'array';
@@ -10974,6 +11027,7 @@ public function getSelfLink()
class Google_Service_Compute_Tags extends Google_Collection
{
+ protected $collection_key = 'items';
public $fingerprint;
public $items;
@@ -11081,6 +11135,7 @@ public function getUrlMap()
class Google_Service_Compute_TargetHttpProxyList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_TargetHttpProxy';
protected $itemsDataType = 'array';
@@ -11309,6 +11364,7 @@ class Google_Service_Compute_TargetInstanceAggregatedListItems extends Google_Mo
class Google_Service_Compute_TargetInstanceList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_TargetInstance';
protected $itemsDataType = 'array';
@@ -11369,6 +11425,7 @@ public function getSelfLink()
class Google_Service_Compute_TargetInstancesScopedList extends Google_Collection
{
+ protected $collection_key = 'targetInstances';
protected $targetInstancesType = 'Google_Service_Compute_TargetInstance';
protected $targetInstancesDataType = 'array';
protected $warningType = 'Google_Service_Compute_TargetInstancesScopedListWarning';
@@ -11397,6 +11454,7 @@ public function getWarning()
class Google_Service_Compute_TargetInstancesScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_TargetInstancesScopedListWarningData';
protected $dataDataType = 'array';
@@ -11461,6 +11519,7 @@ public function getValue()
class Google_Service_Compute_TargetPool extends Google_Collection
{
+ protected $collection_key = 'instances';
public $backupPool;
public $creationTimestamp;
public $description;
@@ -11662,6 +11721,7 @@ class Google_Service_Compute_TargetPoolAggregatedListItems extends Google_Model
class Google_Service_Compute_TargetPoolInstanceHealth extends Google_Collection
{
+ protected $collection_key = 'healthStatus';
protected $healthStatusType = 'Google_Service_Compute_HealthStatus';
protected $healthStatusDataType = 'array';
public $kind;
@@ -11689,6 +11749,7 @@ public function getKind()
class Google_Service_Compute_TargetPoolList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_TargetPool';
protected $itemsDataType = 'array';
@@ -11749,6 +11810,7 @@ public function getSelfLink()
class Google_Service_Compute_TargetPoolsAddHealthCheckRequest extends Google_Collection
{
+ protected $collection_key = 'healthChecks';
protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
protected $healthChecksDataType = 'array';
@@ -11765,6 +11827,7 @@ public function getHealthChecks()
class Google_Service_Compute_TargetPoolsAddInstanceRequest extends Google_Collection
{
+ protected $collection_key = 'instances';
protected $instancesType = 'Google_Service_Compute_InstanceReference';
protected $instancesDataType = 'array';
@@ -11781,6 +11844,7 @@ public function getInstances()
class Google_Service_Compute_TargetPoolsRemoveHealthCheckRequest extends Google_Collection
{
+ protected $collection_key = 'healthChecks';
protected $healthChecksType = 'Google_Service_Compute_HealthCheckReference';
protected $healthChecksDataType = 'array';
@@ -11797,6 +11861,7 @@ public function getHealthChecks()
class Google_Service_Compute_TargetPoolsRemoveInstanceRequest extends Google_Collection
{
+ protected $collection_key = 'instances';
protected $instancesType = 'Google_Service_Compute_InstanceReference';
protected $instancesDataType = 'array';
@@ -11813,6 +11878,7 @@ public function getInstances()
class Google_Service_Compute_TargetPoolsScopedList extends Google_Collection
{
+ protected $collection_key = 'targetPools';
protected $targetPoolsType = 'Google_Service_Compute_TargetPool';
protected $targetPoolsDataType = 'array';
protected $warningType = 'Google_Service_Compute_TargetPoolsScopedListWarning';
@@ -11841,6 +11907,7 @@ public function getWarning()
class Google_Service_Compute_TargetPoolsScopedListWarning extends Google_Collection
{
+ protected $collection_key = 'data';
public $code;
protected $dataType = 'Google_Service_Compute_TargetPoolsScopedListWarningData';
protected $dataDataType = 'array';
@@ -11968,6 +12035,7 @@ public function getPath()
class Google_Service_Compute_UrlMap extends Google_Collection
{
+ protected $collection_key = 'tests';
public $creationTimestamp;
public $defaultService;
public $description;
@@ -12096,6 +12164,7 @@ public function getTests()
class Google_Service_Compute_UrlMapList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_UrlMap';
protected $itemsDataType = 'array';
@@ -12219,6 +12288,7 @@ public function getService()
class Google_Service_Compute_UrlMapValidationResult extends Google_Collection
{
+ protected $collection_key = 'testFailures';
public $loadErrors;
public $loadSucceeded;
protected $testFailuresType = 'Google_Service_Compute_TestFailure';
@@ -12326,6 +12396,7 @@ public function getReportNamePrefix()
class Google_Service_Compute_Zone extends Google_Collection
{
+ protected $collection_key = 'maintenanceWindows';
public $creationTimestamp;
protected $deprecatedType = 'Google_Service_Compute_DeprecationStatus';
protected $deprecatedDataType = '';
@@ -12442,6 +12513,7 @@ public function getStatus()
class Google_Service_Compute_ZoneList extends Google_Collection
{
+ protected $collection_key = 'items';
public $id;
protected $itemsType = 'Google_Service_Compute_Zone';
protected $itemsDataType = 'array';
From 126f6b388f39fa5d3022820ab961440a6dcf0af4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:39 -0700
Subject: [PATCH 0268/1371] Updated IdentityToolkit.php
---
src/Google/Service/IdentityToolkit.php | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/Google/Service/IdentityToolkit.php b/src/Google/Service/IdentityToolkit.php
index eba918b82..847da8af0 100644
--- a/src/Google/Service/IdentityToolkit.php
+++ b/src/Google/Service/IdentityToolkit.php
@@ -342,6 +342,7 @@ public function getKind()
class Google_Service_IdentityToolkit_DownloadAccountResponse extends Google_Collection
{
+ protected $collection_key = 'users';
public $kind;
public $nextPageToken;
protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
@@ -380,6 +381,7 @@ public function getUsers()
class Google_Service_IdentityToolkit_GetAccountInfoResponse extends Google_Collection
{
+ protected $collection_key = 'users';
public $kind;
protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
protected $usersDataType = 'array';
@@ -566,6 +568,7 @@ public function getNextPageToken()
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest extends Google_Collection
{
+ protected $collection_key = 'localId';
public $email;
public $idToken;
public $localId;
@@ -656,6 +659,7 @@ public function getOobCode()
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest extends Google_Collection
{
+ protected $collection_key = 'provider';
public $captchaChallenge;
public $captchaResponse;
public $displayName;
@@ -781,6 +785,7 @@ public function getUpgradeToFederatedLogin()
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest extends Google_Collection
{
+ protected $collection_key = 'users';
public $hashAlgorithm;
public $memoryCost;
public $rounds;
@@ -1066,6 +1071,7 @@ public function getKind()
class Google_Service_IdentityToolkit_SetAccountInfoResponse extends Google_Collection
{
+ protected $collection_key = 'providerUserInfo';
public $displayName;
public $email;
public $idToken;
@@ -1163,6 +1169,7 @@ public function getProviderId()
class Google_Service_IdentityToolkit_UploadAccountResponse extends Google_Collection
{
+ protected $collection_key = 'error';
protected $errorType = 'Google_Service_IdentityToolkit_UploadAccountResponseError';
protected $errorDataType = 'array';
public $kind;
@@ -1216,6 +1223,7 @@ public function getMessage()
class Google_Service_IdentityToolkit_UserInfo extends Google_Collection
{
+ protected $collection_key = 'providerUserInfo';
public $displayName;
public $email;
public $emailVerified;
@@ -1379,6 +1387,7 @@ public function getProviderId()
class Google_Service_IdentityToolkit_VerifyAssertionResponse extends Google_Collection
{
+ protected $collection_key = 'verifiedProvider';
public $action;
public $appInstallationUrl;
public $appScheme;
From 0b626af2505b5f3ed7d8032e9febe6f624668f43 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:40 -0700
Subject: [PATCH 0269/1371] Updated Tasks.php
---
src/Google/Service/Tasks.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/Tasks.php b/src/Google/Service/Tasks.php
index ea9d66df0..b7badc3ae 100644
--- a/src/Google/Service/Tasks.php
+++ b/src/Google/Service/Tasks.php
@@ -584,6 +584,7 @@ public function update($tasklist, $task, Google_Service_Tasks_Task $postBody, $o
class Google_Service_Tasks_Task extends Google_Collection
{
+ protected $collection_key = 'links';
public $completed;
public $deleted;
public $due;
@@ -861,6 +862,7 @@ public function getUpdated()
class Google_Service_Tasks_TaskLists extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Tasks_TaskList';
protected $itemsDataType = 'array';
@@ -910,6 +912,7 @@ public function getNextPageToken()
class Google_Service_Tasks_Tasks extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_Tasks_Task';
protected $itemsDataType = 'array';
From 1a64a1810c9397cbb73c01aff2ca6078e602560a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:41 -0700
Subject: [PATCH 0270/1371] Updated AdSense.php
---
src/Google/Service/AdSense.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/Google/Service/AdSense.php b/src/Google/Service/AdSense.php
index f33c19192..19e5808eb 100644
--- a/src/Google/Service/AdSense.php
+++ b/src/Google/Service/AdSense.php
@@ -2174,6 +2174,7 @@ public function listUrlchannels($adClientId, $optParams = array())
class Google_Service_AdSense_Account extends Google_Collection
{
+ protected $collection_key = 'subAccounts';
public $id;
public $kind;
public $name;
@@ -2245,6 +2246,7 @@ public function getTimezone()
class Google_Service_AdSense_Accounts extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_Account';
protected $itemsDataType = 'array';
@@ -2364,6 +2366,7 @@ public function getSupportsReporting()
class Google_Service_AdSense_AdClients extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_AdClient';
protected $itemsDataType = 'array';
@@ -2863,6 +2866,7 @@ public function getType()
class Google_Service_AdSense_AdUnits extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_AdUnit';
protected $itemsDataType = 'array';
@@ -2912,6 +2916,7 @@ public function getNextPageToken()
class Google_Service_AdSense_AdsenseReportsGenerateResponse extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $averages;
public $endDate;
protected $headersType = 'Google_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
@@ -3123,6 +3128,7 @@ public function getType()
class Google_Service_AdSense_Alerts extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdSense_Alert';
protected $itemsDataType = 'array';
public $kind;
@@ -3258,6 +3264,7 @@ public function getSiteLanguage()
class Google_Service_AdSense_CustomChannels extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_CustomChannel';
protected $itemsDataType = 'array';
@@ -3307,6 +3314,7 @@ public function getNextPageToken()
class Google_Service_AdSense_Metadata extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdSense_ReportingMetadataEntry';
protected $itemsDataType = 'array';
public $kind;
@@ -3393,6 +3401,7 @@ public function getPaymentDate()
class Google_Service_AdSense_Payments extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdSense_Payment';
protected $itemsDataType = 'array';
public $kind;
@@ -3420,6 +3429,7 @@ public function getKind()
class Google_Service_AdSense_ReportingMetadataEntry extends Google_Collection
{
+ protected $collection_key = 'supportedProducts';
public $compatibleDimensions;
public $compatibleMetrics;
public $id;
@@ -3550,6 +3560,7 @@ public function getName()
class Google_Service_AdSense_SavedAdStyles extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_SavedAdStyle';
protected $itemsDataType = 'array';
@@ -3636,6 +3647,7 @@ public function getName()
class Google_Service_AdSense_SavedReports extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_SavedReport';
protected $itemsDataType = 'array';
@@ -3722,6 +3734,7 @@ public function getUrlPattern()
class Google_Service_AdSense_UrlChannels extends Google_Collection
{
+ protected $collection_key = 'items';
public $etag;
protected $itemsType = 'Google_Service_AdSense_UrlChannel';
protected $itemsDataType = 'array';
From 1f19f88be8d5c163f046178b60d8121ba527a616 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:41 -0700
Subject: [PATCH 0271/1371] Updated QPXExpress.php
---
src/Google/Service/QPXExpress.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/QPXExpress.php b/src/Google/Service/QPXExpress.php
index ebc1ceadf..f083273d8 100644
--- a/src/Google/Service/QPXExpress.php
+++ b/src/Google/Service/QPXExpress.php
@@ -182,6 +182,7 @@ public function getName()
class Google_Service_QPXExpress_BagDescriptor extends Google_Collection
{
+ protected $collection_key = 'description';
public $commercialName;
public $count;
public $description;
@@ -326,6 +327,7 @@ public function getName()
class Google_Service_QPXExpress_Data extends Google_Collection
{
+ protected $collection_key = 'tax';
protected $aircraftType = 'Google_Service_QPXExpress_AircraftData';
protected $aircraftDataType = 'array';
protected $airportType = 'Google_Service_QPXExpress_AirportData';
@@ -508,6 +510,7 @@ public function getNumber()
class Google_Service_QPXExpress_FreeBaggageAllowance extends Google_Collection
{
+ protected $collection_key = 'bagDescriptor';
protected $bagDescriptorType = 'Google_Service_QPXExpress_BagDescriptor';
protected $bagDescriptorDataType = 'array';
public $kilos;
@@ -840,6 +843,7 @@ public function getSeniorCount()
class Google_Service_QPXExpress_PricingInfo extends Google_Collection
{
+ protected $collection_key = 'tax';
public $baseFareTotal;
protected $fareType = 'Google_Service_QPXExpress_FareInfo';
protected $fareDataType = 'array';
@@ -991,6 +995,7 @@ public function getTax()
class Google_Service_QPXExpress_SegmentInfo extends Google_Collection
{
+ protected $collection_key = 'leg';
public $bookingCode;
public $bookingCodeCount;
public $cabin;
@@ -1118,6 +1123,7 @@ public function getSubjectToGovernmentApproval()
class Google_Service_QPXExpress_SegmentPricing extends Google_Collection
{
+ protected $collection_key = 'freeBaggageOption';
public $fareId;
protected $freeBaggageOptionType = 'Google_Service_QPXExpress_FreeBaggageAllowance';
protected $freeBaggageOptionDataType = 'array';
@@ -1167,6 +1173,7 @@ public function getSegmentId()
class Google_Service_QPXExpress_SliceInfo extends Google_Collection
{
+ protected $collection_key = 'segment';
public $duration;
public $kind;
protected $segmentType = 'Google_Service_QPXExpress_SegmentInfo';
@@ -1205,6 +1212,7 @@ public function getSegment()
class Google_Service_QPXExpress_SliceInput extends Google_Collection
{
+ protected $collection_key = 'prohibitedCarrier';
public $alliance;
public $date;
public $destination;
@@ -1475,6 +1483,7 @@ public function getLatestTime()
class Google_Service_QPXExpress_TripOption extends Google_Collection
{
+ protected $collection_key = 'slice';
public $id;
public $kind;
protected $pricingType = 'Google_Service_QPXExpress_PricingInfo';
@@ -1536,6 +1545,7 @@ public function getSlice()
class Google_Service_QPXExpress_TripOptionsRequest extends Google_Collection
{
+ protected $collection_key = 'slice';
public $maxPrice;
protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
protected $passengersDataType = '';
@@ -1608,6 +1618,7 @@ public function getSolutions()
class Google_Service_QPXExpress_TripOptionsResponse extends Google_Collection
{
+ protected $collection_key = 'tripOption';
protected $dataType = 'Google_Service_QPXExpress_Data';
protected $dataDataType = '';
public $kind;
From 3e533ab3ecd696294fcd78c50c2a3a4da382a013 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:42 -0700
Subject: [PATCH 0272/1371] Updated Orkut.php
---
src/Google/Service/Orkut.php | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/src/Google/Service/Orkut.php b/src/Google/Service/Orkut.php
index 77bbc4900..9080ab440 100644
--- a/src/Google/Service/Orkut.php
+++ b/src/Google/Service/Orkut.php
@@ -1628,6 +1628,7 @@ public function insert(Google_Service_Orkut_Activity $postBody, $optParams = arr
class Google_Service_Orkut_Acl extends Google_Collection
{
+ protected $collection_key = 'items';
public $description;
protected $itemsType = 'Google_Service_Orkut_AclItems';
protected $itemsDataType = 'array';
@@ -1703,6 +1704,7 @@ public function getType()
class Google_Service_Orkut_Activity extends Google_Collection
{
+ protected $collection_key = 'links';
protected $accessType = 'Google_Service_Orkut_Acl';
protected $accessDataType = '';
protected $actorType = 'Google_Service_Orkut_OrkutAuthorResource';
@@ -1821,6 +1823,7 @@ public function getVerb()
class Google_Service_Orkut_ActivityList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Orkut_Activity';
protected $itemsDataType = 'array';
public $kind;
@@ -1859,6 +1862,7 @@ public function getNextPageToken()
class Google_Service_Orkut_ActivityObject extends Google_Collection
{
+ protected $collection_key = 'items';
public $content;
protected $itemsType = 'Google_Service_Orkut_OrkutActivityobjectsResource';
protected $itemsDataType = 'array';
@@ -1909,6 +1913,7 @@ public function getReplies()
class Google_Service_Orkut_ActivityObjectReplies extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Orkut_Comment';
protected $itemsDataType = 'array';
public $totalItems;
@@ -2050,6 +2055,7 @@ public function getSponsorUrl()
class Google_Service_Orkut_BadgeList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Orkut_Badge';
protected $itemsDataType = 'array';
public $kind;
@@ -2077,6 +2083,7 @@ public function getKind()
class Google_Service_Orkut_Comment extends Google_Collection
{
+ protected $collection_key = 'links';
protected $actorType = 'Google_Service_Orkut_OrkutAuthorResource';
protected $actorDataType = '';
public $content;
@@ -2209,6 +2216,7 @@ public function getType()
class Google_Service_Orkut_CommentList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Orkut_Comment';
protected $itemsDataType = 'array';
public $kind;
@@ -2258,6 +2266,7 @@ public function getPreviousPageToken()
class Google_Service_Orkut_Community extends Google_Collection
{
+ protected $collection_key = 'moderators';
public $category;
protected $coOwnersType = 'Google_Service_Orkut_OrkutAuthorResource';
protected $coOwnersDataType = 'array';
@@ -2420,6 +2429,7 @@ public function getPhotoUrl()
class Google_Service_Orkut_CommunityList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Orkut_Community';
protected $itemsDataType = 'array';
public $kind;
@@ -2486,6 +2496,7 @@ public function getPerson()
class Google_Service_Orkut_CommunityMembersList extends Google_Collection
{
+ protected $collection_key = 'items';
public $firstPageToken;
protected $itemsType = 'Google_Service_Orkut_CommunityMembers';
protected $itemsDataType = 'array';
@@ -2682,6 +2693,7 @@ public function getStatus()
class Google_Service_Orkut_CommunityMessage extends Google_Collection
{
+ protected $collection_key = 'links';
public $addedDate;
protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
protected $authorDataType = '';
@@ -2776,6 +2788,7 @@ public function getSubject()
class Google_Service_Orkut_CommunityMessageList extends Google_Collection
{
+ protected $collection_key = 'items';
public $firstPageToken;
protected $itemsType = 'Google_Service_Orkut_CommunityMessage';
protected $itemsDataType = 'array';
@@ -2847,6 +2860,7 @@ public function getPrevPageToken()
class Google_Service_Orkut_CommunityPoll extends Google_Collection
{
+ protected $collection_key = 'votedOptions';
protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
protected $authorDataType = '';
public $communityId;
@@ -3157,6 +3171,7 @@ public function getKind()
class Google_Service_Orkut_CommunityPollCommentList extends Google_Collection
{
+ protected $collection_key = 'items';
public $firstPageToken;
protected $itemsType = 'Google_Service_Orkut_CommunityPollComment';
protected $itemsDataType = 'array';
@@ -3243,6 +3258,7 @@ public function getUrl()
class Google_Service_Orkut_CommunityPollList extends Google_Collection
{
+ protected $collection_key = 'items';
public $firstPageToken;
protected $itemsType = 'Google_Service_Orkut_CommunityPoll';
protected $itemsDataType = 'array';
@@ -3314,6 +3330,7 @@ public function getPrevPageToken()
class Google_Service_Orkut_CommunityPollVote extends Google_Collection
{
+ protected $collection_key = 'optionIds';
public $isVotevisible;
public $kind;
public $optionIds;
@@ -3351,6 +3368,7 @@ public function getOptionIds()
class Google_Service_Orkut_CommunityTopic extends Google_Collection
{
+ protected $collection_key = 'messages';
protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
protected $authorDataType = '';
public $body;
@@ -3479,6 +3497,7 @@ public function getTitle()
class Google_Service_Orkut_CommunityTopicList extends Google_Collection
{
+ protected $collection_key = 'items';
public $firstPageToken;
protected $itemsType = 'Google_Service_Orkut_CommunityTopic';
protected $itemsDataType = 'array';
@@ -3550,6 +3569,7 @@ public function getPrevPageToken()
class Google_Service_Orkut_Counters extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Orkut_OrkutCounterResource';
protected $itemsDataType = 'array';
public $kind;
@@ -3577,6 +3597,7 @@ public function getKind()
class Google_Service_Orkut_OrkutActivityobjectsResource extends Google_Collection
{
+ protected $collection_key = 'links';
protected $communityType = 'Google_Service_Orkut_Community';
protected $communityDataType = '';
public $content;
@@ -3988,6 +4009,7 @@ public function getType()
class Google_Service_Orkut_Visibility extends Google_Collection
{
+ protected $collection_key = 'links';
public $kind;
protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
protected $linksDataType = 'array';
From 8f69150cb72d7207a22ce60ecbd2b5c8ffcf51bb Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:42 -0700
Subject: [PATCH 0273/1371] Updated Admin.php
---
src/Google/Service/Admin.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Google/Service/Admin.php b/src/Google/Service/Admin.php
index 56fdc9a26..769adb1c9 100644
--- a/src/Google/Service/Admin.php
+++ b/src/Google/Service/Admin.php
@@ -105,6 +105,7 @@ public function insert($userKey, Google_Service_Admin_MailItem $postBody, $optPa
class Google_Service_Admin_MailItem extends Google_Collection
{
+ protected $collection_key = 'labels';
public $isDeleted;
public $isDraft;
public $isInbox;
From e54c359490fb29c29b927395eb7181324ec3b1af Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:43 -0700
Subject: [PATCH 0274/1371] Updated Gmail.php
---
src/Google/Service/Gmail.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Gmail.php b/src/Google/Service/Gmail.php
index ec716fc0d..963a007ce 100644
--- a/src/Google/Service/Gmail.php
+++ b/src/Google/Service/Gmail.php
@@ -1232,6 +1232,7 @@ public function getMessage()
class Google_Service_Gmail_History extends Google_Collection
{
+ protected $collection_key = 'messages';
public $id;
protected $messagesType = 'Google_Service_Gmail_Message';
protected $messagesDataType = 'array';
@@ -1318,6 +1319,7 @@ public function getType()
class Google_Service_Gmail_ListDraftsResponse extends Google_Collection
{
+ protected $collection_key = 'drafts';
protected $draftsType = 'Google_Service_Gmail_Draft';
protected $draftsDataType = 'array';
public $nextPageToken;
@@ -1356,6 +1358,7 @@ public function getResultSizeEstimate()
class Google_Service_Gmail_ListHistoryResponse extends Google_Collection
{
+ protected $collection_key = 'history';
protected $historyType = 'Google_Service_Gmail_History';
protected $historyDataType = 'array';
public $historyId;
@@ -1394,6 +1397,7 @@ public function getNextPageToken()
class Google_Service_Gmail_ListLabelsResponse extends Google_Collection
{
+ protected $collection_key = 'labels';
protected $labelsType = 'Google_Service_Gmail_Label';
protected $labelsDataType = 'array';
@@ -1410,6 +1414,7 @@ public function getLabels()
class Google_Service_Gmail_ListMessagesResponse extends Google_Collection
{
+ protected $collection_key = 'messages';
protected $messagesType = 'Google_Service_Gmail_Message';
protected $messagesDataType = 'array';
public $nextPageToken;
@@ -1448,6 +1453,7 @@ public function getResultSizeEstimate()
class Google_Service_Gmail_ListThreadsResponse extends Google_Collection
{
+ protected $collection_key = 'threads';
public $nextPageToken;
public $resultSizeEstimate;
protected $threadsType = 'Google_Service_Gmail_Thread';
@@ -1486,6 +1492,7 @@ public function getThreads()
class Google_Service_Gmail_Message extends Google_Collection
{
+ protected $collection_key = 'labelIds';
public $historyId;
public $id;
public $labelIds;
@@ -1579,6 +1586,7 @@ public function getThreadId()
class Google_Service_Gmail_MessagePart extends Google_Collection
{
+ protected $collection_key = 'parts';
protected $bodyType = 'Google_Service_Gmail_MessagePartBody';
protected $bodyDataType = '';
public $filename;
@@ -1715,6 +1723,7 @@ public function getValue()
class Google_Service_Gmail_ModifyMessageRequest extends Google_Collection
{
+ protected $collection_key = 'removeLabelIds';
public $addLabelIds;
public $removeLabelIds;
@@ -1741,6 +1750,7 @@ public function getRemoveLabelIds()
class Google_Service_Gmail_ModifyThreadRequest extends Google_Collection
{
+ protected $collection_key = 'removeLabelIds';
public $addLabelIds;
public $removeLabelIds;
@@ -1767,6 +1777,7 @@ public function getRemoveLabelIds()
class Google_Service_Gmail_Thread extends Google_Collection
{
+ protected $collection_key = 'messages';
public $historyId;
public $id;
protected $messagesType = 'Google_Service_Gmail_Message';
From dda92e0b1e86b7265e17f96c449d454407f3c058 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:44 -0700
Subject: [PATCH 0275/1371] Updated Datastore.php
---
src/Google/Service/Datastore.php | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/Google/Service/Datastore.php b/src/Google/Service/Datastore.php
index 8ec92e253..7efeaa662 100644
--- a/src/Google/Service/Datastore.php
+++ b/src/Google/Service/Datastore.php
@@ -235,6 +235,7 @@ public function runQuery($datasetId, Google_Service_Datastore_RunQueryRequest $p
class Google_Service_Datastore_AllocateIdsRequest extends Google_Collection
{
+ protected $collection_key = 'keys';
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
@@ -251,6 +252,7 @@ public function getKeys()
class Google_Service_Datastore_AllocateIdsResponse extends Google_Collection
{
+ protected $collection_key = 'keys';
protected $headerType = 'Google_Service_Datastore_ResponseHeader';
protected $headerDataType = '';
protected $keysType = 'Google_Service_Datastore_Key';
@@ -398,6 +400,7 @@ public function getMutationResult()
class Google_Service_Datastore_CompositeFilter extends Google_Collection
{
+ protected $collection_key = 'filters';
protected $filtersType = 'Google_Service_Datastore_Filter';
protected $filtersDataType = 'array';
public $operator;
@@ -502,6 +505,7 @@ public function getPropertyFilter()
class Google_Service_Datastore_GqlQuery extends Google_Collection
{
+ protected $collection_key = 'numberArgs';
public $allowLiteral;
protected $nameArgsType = 'Google_Service_Datastore_GqlQueryArg';
protected $nameArgsDataType = 'array';
@@ -590,6 +594,7 @@ public function getValue()
class Google_Service_Datastore_Key extends Google_Collection
{
+ protected $collection_key = 'path';
protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
protected $partitionIdDataType = '';
protected $pathType = 'Google_Service_Datastore_KeyPathElement';
@@ -670,6 +675,7 @@ public function getName()
class Google_Service_Datastore_LookupRequest extends Google_Collection
{
+ protected $collection_key = 'keys';
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
@@ -698,6 +704,7 @@ public function getReadOptions()
class Google_Service_Datastore_LookupResponse extends Google_Collection
{
+ protected $collection_key = 'missing';
protected $deferredType = 'Google_Service_Datastore_Key';
protected $deferredDataType = 'array';
protected $foundType = 'Google_Service_Datastore_EntityResult';
@@ -750,6 +757,7 @@ public function getMissing()
class Google_Service_Datastore_Mutation extends Google_Collection
{
+ protected $collection_key = 'upsert';
protected $deleteType = 'Google_Service_Datastore_Key';
protected $deleteDataType = 'array';
public $force;
@@ -825,6 +833,7 @@ public function getUpsert()
class Google_Service_Datastore_MutationResult extends Google_Collection
{
+ protected $collection_key = 'insertAutoIdKeys';
public $indexUpdates;
protected $insertAutoIdKeysType = 'Google_Service_Datastore_Key';
protected $insertAutoIdKeysDataType = 'array';
@@ -878,6 +887,7 @@ public function getNamespace()
class Google_Service_Datastore_Property extends Google_Collection
{
+ protected $collection_key = 'listValue';
public $blobKeyValue;
public $blobValue;
public $booleanValue;
@@ -1125,6 +1135,7 @@ public function getName()
class Google_Service_Datastore_Query extends Google_Collection
{
+ protected $collection_key = 'projection';
public $endCursor;
protected $filterType = 'Google_Service_Datastore_Filter';
protected $filterDataType = '';
@@ -1233,6 +1244,7 @@ public function getStartCursor()
class Google_Service_Datastore_QueryResultBatch extends Google_Collection
{
+ protected $collection_key = 'entityResults';
public $endCursor;
public $entityResultType;
protected $entityResultsType = 'Google_Service_Datastore_EntityResult';
@@ -1445,6 +1457,7 @@ public function getHeader()
class Google_Service_Datastore_Value extends Google_Collection
{
+ protected $collection_key = 'listValue';
public $blobKeyValue;
public $blobValue;
public $booleanValue;
From 1b23995b774bd9a98b7b862741e7018d6e379bef Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:44 -0700
Subject: [PATCH 0276/1371] Updated Bigquery.php
---
src/Google/Service/Bigquery.php | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/Google/Service/Bigquery.php b/src/Google/Service/Bigquery.php
index a5fd7cfb3..e4b5562d9 100644
--- a/src/Google/Service/Bigquery.php
+++ b/src/Google/Service/Bigquery.php
@@ -960,6 +960,7 @@ public function update($projectId, $datasetId, $tableId, Google_Service_Bigquery
class Google_Service_Bigquery_Dataset extends Google_Collection
{
+ protected $collection_key = 'access';
protected $accessType = 'Google_Service_Bigquery_DatasetAccess';
protected $accessDataType = 'array';
public $creationTime;
@@ -1135,6 +1136,7 @@ public function getUserByEmail()
class Google_Service_Bigquery_DatasetList extends Google_Collection
{
+ protected $collection_key = 'datasets';
protected $datasetsType = 'Google_Service_Bigquery_DatasetListDatasets';
protected $datasetsDataType = 'array';
public $etag;
@@ -1307,6 +1309,7 @@ public function getReason()
class Google_Service_Bigquery_GetQueryResultsResponse extends Google_Collection
{
+ protected $collection_key = 'rows';
public $cacheHit;
public $etag;
public $jobComplete;
@@ -1584,6 +1587,7 @@ public function getQuery()
class Google_Service_Bigquery_JobConfigurationExtract extends Google_Collection
{
+ protected $collection_key = 'destinationUris';
public $compression;
public $destinationFormat;
public $destinationUri;
@@ -1666,6 +1670,7 @@ public function getSourceTable()
class Google_Service_Bigquery_JobConfigurationLink extends Google_Collection
{
+ protected $collection_key = 'sourceUri';
public $createDisposition;
protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
protected $destinationTableDataType = '';
@@ -1715,6 +1720,7 @@ public function getWriteDisposition()
class Google_Service_Bigquery_JobConfigurationLoad extends Google_Collection
{
+ protected $collection_key = 'sourceUris';
public $allowJaggedRows;
public $allowQuotedNewlines;
public $createDisposition;
@@ -2013,6 +2019,7 @@ public function getWriteDisposition()
class Google_Service_Bigquery_JobConfigurationTableCopy extends Google_Collection
{
+ protected $collection_key = 'sourceTables';
public $createDisposition;
protected $destinationTableType = 'Google_Service_Bigquery_TableReference';
protected $destinationTableDataType = '';
@@ -2075,6 +2082,7 @@ public function getWriteDisposition()
class Google_Service_Bigquery_JobList extends Google_Collection
{
+ protected $collection_key = 'jobs';
public $etag;
protected $jobsType = 'Google_Service_Bigquery_JobListJobs';
protected $jobsDataType = 'array';
@@ -2415,6 +2423,7 @@ public function getOutputRows()
class Google_Service_Bigquery_JobStatus extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $errorResultType = 'Google_Service_Bigquery_ErrorProto';
protected $errorResultDataType = '';
protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
@@ -2459,6 +2468,7 @@ class Google_Service_Bigquery_JsonObject extends Google_Model
class Google_Service_Bigquery_ProjectList extends Google_Collection
{
+ protected $collection_key = 'projects';
public $etag;
public $kind;
public $nextPageToken;
@@ -2687,6 +2697,7 @@ public function getUseQueryCache()
class Google_Service_Bigquery_QueryResponse extends Google_Collection
{
+ protected $collection_key = 'rows';
public $cacheHit;
public $jobComplete;
protected $jobReferenceType = 'Google_Service_Bigquery_JobReference';
@@ -2980,6 +2991,7 @@ public function getV()
class Google_Service_Bigquery_TableDataInsertAllRequest extends Google_Collection
{
+ protected $collection_key = 'rows';
public $kind;
protected $rowsType = 'Google_Service_Bigquery_TableDataInsertAllRequestRows';
protected $rowsDataType = 'array';
@@ -3033,6 +3045,7 @@ public function getJson()
class Google_Service_Bigquery_TableDataInsertAllResponse extends Google_Collection
{
+ protected $collection_key = 'insertErrors';
protected $insertErrorsType = 'Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
protected $insertErrorsDataType = 'array';
public $kind;
@@ -3060,6 +3073,7 @@ public function getKind()
class Google_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $errorsType = 'Google_Service_Bigquery_ErrorProto';
protected $errorsDataType = 'array';
public $index;
@@ -3087,6 +3101,7 @@ public function getIndex()
class Google_Service_Bigquery_TableDataList extends Google_Collection
{
+ protected $collection_key = 'rows';
public $etag;
public $kind;
public $pageToken;
@@ -3147,6 +3162,7 @@ public function getTotalRows()
class Google_Service_Bigquery_TableFieldSchema extends Google_Collection
{
+ protected $collection_key = 'fields';
public $description;
protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
protected $fieldsDataType = 'array';
@@ -3207,6 +3223,7 @@ public function getType()
class Google_Service_Bigquery_TableList extends Google_Collection
{
+ protected $collection_key = 'tables';
public $etag;
public $kind;
public $nextPageToken;
@@ -3364,6 +3381,7 @@ public function getTableId()
class Google_Service_Bigquery_TableRow extends Google_Collection
{
+ protected $collection_key = 'f';
protected $fType = 'Google_Service_Bigquery_TableCell';
protected $fDataType = 'array';
@@ -3380,6 +3398,7 @@ public function getF()
class Google_Service_Bigquery_TableSchema extends Google_Collection
{
+ protected $collection_key = 'fields';
protected $fieldsType = 'Google_Service_Bigquery_TableFieldSchema';
protected $fieldsDataType = 'array';
From 4a01324475aee7ea4387b4c364f8fa53930f7fce Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:45 -0700
Subject: [PATCH 0277/1371] Updated ShoppingContent.php
---
src/Google/Service/ShoppingContent.php | 30 ++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/src/Google/Service/ShoppingContent.php b/src/Google/Service/ShoppingContent.php
index 7040943b0..392d934bb 100644
--- a/src/Google/Service/ShoppingContent.php
+++ b/src/Google/Service/ShoppingContent.php
@@ -1095,6 +1095,7 @@ public function listProductstatuses($merchantId, $optParams = array())
class Google_Service_ShoppingContent_Account extends Google_Collection
{
+ protected $collection_key = 'users';
public $adultContent;
protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink';
protected $adwordsLinksDataType = 'array';
@@ -1226,6 +1227,7 @@ public function getStatus()
class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
{
+ protected $collection_key = 'dataQualityIssues';
public $accountId;
protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
protected $dataQualityIssuesDataType = 'array';
@@ -1264,6 +1266,7 @@ public function getKind()
class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
{
+ protected $collection_key = 'exampleItems';
public $country;
public $displayedValue;
protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
@@ -1442,6 +1445,7 @@ public function getEmailAddress()
class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -1518,6 +1522,7 @@ public function getMethod()
class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -1595,6 +1600,7 @@ public function getKind()
class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $kind;
public $nextPageToken;
protected $resourcesType = 'Google_Service_ShoppingContent_Account';
@@ -1633,6 +1639,7 @@ public function getResources()
class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -1697,6 +1704,7 @@ public function getMethod()
class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -1763,6 +1771,7 @@ public function getErrors()
class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $kind;
public $nextPageToken;
protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus';
@@ -1801,6 +1810,7 @@ public function getResources()
class Google_Service_ShoppingContent_Datafeed extends Google_Collection
{
+ protected $collection_key = 'intendedDestinations';
public $attributeLanguage;
public $contentLanguage;
public $contentType;
@@ -2046,6 +2056,7 @@ public function getQuotingMode()
class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $datafeedId;
protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError';
protected $errorsDataType = 'array';
@@ -2129,6 +2140,7 @@ public function getWarnings()
class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection
{
+ protected $collection_key = 'examples';
public $code;
public $count;
protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample';
@@ -2215,6 +2227,7 @@ public function getValue()
class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -2291,6 +2304,7 @@ public function getMethod()
class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -2357,6 +2371,7 @@ public function getErrors()
class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $kind;
protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed';
protected $resourcesDataType = 'array';
@@ -2384,6 +2399,7 @@ public function getResources()
class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -2448,6 +2464,7 @@ public function getMethod()
class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -2514,6 +2531,7 @@ public function getErrors()
class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $kind;
protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus';
protected $resourcesDataType = 'array';
@@ -2578,6 +2596,7 @@ public function getReason()
class Google_Service_ShoppingContent_Errors extends Google_Collection
{
+ protected $collection_key = 'errors';
public $code;
protected $errorsType = 'Google_Service_ShoppingContent_Error';
protected $errorsDataType = 'array';
@@ -2688,6 +2707,7 @@ public function getSalePriceEffectiveDate()
class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -2764,6 +2784,7 @@ public function getStoreCode()
class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -2968,6 +2989,7 @@ public function getValue()
class Google_Service_ShoppingContent_Product extends Google_Collection
{
+ protected $collection_key = 'warnings';
public $additionalImageLinks;
public $adult;
public $adwordsGrouping;
@@ -3691,6 +3713,7 @@ public function getValue()
class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection
{
+ protected $collection_key = 'attributes';
protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute';
protected $attributesDataType = 'array';
public $name;
@@ -3879,6 +3902,7 @@ public function getValue()
class Google_Service_ShoppingContent_ProductStatus extends Google_Collection
{
+ protected $collection_key = 'destinationStatuses';
protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
protected $dataQualityIssuesDataType = 'array';
protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus';
@@ -4139,6 +4163,7 @@ public function getTaxShip()
class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -4215,6 +4240,7 @@ public function getProductId()
class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -4292,6 +4318,7 @@ public function getProduct()
class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $kind;
public $nextPageToken;
protected $resourcesType = 'Google_Service_ShoppingContent_Product';
@@ -4330,6 +4357,7 @@ public function getResources()
class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -4394,6 +4422,7 @@ public function getProductId()
class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection
{
+ protected $collection_key = 'entries';
protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -4471,6 +4500,7 @@ public function getProductStatus()
class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
public $kind;
public $nextPageToken;
protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus';
From 718e671e62df0d070e0f59ba2ffb67904725447b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:46 -0700
Subject: [PATCH 0278/1371] Updated Webfonts.php
---
src/Google/Service/Webfonts.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Google/Service/Webfonts.php b/src/Google/Service/Webfonts.php
index 3083266ef..a898496f4 100644
--- a/src/Google/Service/Webfonts.php
+++ b/src/Google/Service/Webfonts.php
@@ -105,6 +105,7 @@ public function listWebfonts($optParams = array())
class Google_Service_Webfonts_Webfont extends Google_Collection
{
+ protected $collection_key = 'variants';
public $category;
public $family;
public $files;
@@ -202,6 +203,7 @@ class Google_Service_Webfonts_WebfontFiles extends Google_Model
class Google_Service_Webfonts_WebfontList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Webfonts_Webfont';
protected $itemsDataType = 'array';
public $kind;
From f41354ea7faa6859d8e6c5f5f87ff8f96873e5e7 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:46 -0700
Subject: [PATCH 0279/1371] Updated SiteVerification.php
---
src/Google/Service/SiteVerification.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Google/Service/SiteVerification.php b/src/Google/Service/SiteVerification.php
index 59beccb97..5383967db 100644
--- a/src/Google/Service/SiteVerification.php
+++ b/src/Google/Service/SiteVerification.php
@@ -320,6 +320,7 @@ public function getToken()
class Google_Service_SiteVerification_SiteVerificationWebResourceListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_SiteVerification_SiteVerificationWebResourceResource';
protected $itemsDataType = 'array';
@@ -336,6 +337,7 @@ public function getItems()
class Google_Service_SiteVerification_SiteVerificationWebResourceResource extends Google_Collection
{
+ protected $collection_key = 'owners';
public $id;
public $owners;
protected $siteType = 'Google_Service_SiteVerification_SiteVerificationWebResourceResourceSite';
From 3a8d507d458abc6f582a88c077c6349a62e8831a Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:47 -0700
Subject: [PATCH 0280/1371] Updated YouTubeAnalytics.php
---
src/Google/Service/YouTubeAnalytics.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/YouTubeAnalytics.php b/src/Google/Service/YouTubeAnalytics.php
index 8c4fd7385..ddcaee2f1 100644
--- a/src/Google/Service/YouTubeAnalytics.php
+++ b/src/Google/Service/YouTubeAnalytics.php
@@ -285,6 +285,7 @@ public function query($ids, $startDate, $endDate, $metrics, $optParams = array()
class Google_Service_YouTubeAnalytics_BatchReportDefinitionList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplate';
protected $itemsDataType = 'array';
public $kind;
@@ -312,6 +313,7 @@ public function getKind()
class Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplate extends Google_Collection
{
+ protected $collection_key = 'defaultOutput';
protected $defaultOutputType = 'Google_Service_YouTubeAnalytics_BatchReportDefinitionTemplateDefaultOutput';
protected $defaultOutputDataType = 'array';
public $id;
@@ -398,6 +400,7 @@ public function getType()
class Google_Service_YouTubeAnalytics_BatchReportList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_YouTubeAnalytics_BatchReportTemplate';
protected $itemsDataType = 'array';
public $kind;
@@ -425,6 +428,7 @@ public function getKind()
class Google_Service_YouTubeAnalytics_BatchReportTemplate extends Google_Collection
{
+ protected $collection_key = 'outputs';
public $id;
protected $outputsType = 'Google_Service_YouTubeAnalytics_BatchReportTemplateOutputs';
protected $outputsDataType = 'array';
@@ -549,6 +553,7 @@ public function getStartTime()
class Google_Service_YouTubeAnalytics_ResultTable extends Google_Collection
{
+ protected $collection_key = 'rows';
protected $columnHeadersType = 'Google_Service_YouTubeAnalytics_ResultTableColumnHeaders';
protected $columnHeadersDataType = 'array';
public $kind;
From f1f50aaada3ab74f98fe5b5461e182844ad47dcf Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:47 -0700
Subject: [PATCH 0281/1371] Updated GamesManagement.php
---
src/Google/Service/GamesManagement.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Google/Service/GamesManagement.php b/src/Google/Service/GamesManagement.php
index ed61500df..da88b1808 100644
--- a/src/Google/Service/GamesManagement.php
+++ b/src/Google/Service/GamesManagement.php
@@ -604,6 +604,7 @@ public function reset($optParams = array())
class Google_Service_GamesManagement_AchievementResetAllResponse extends Google_Collection
{
+ protected $collection_key = 'results';
public $kind;
protected $resultsType = 'Google_Service_GamesManagement_AchievementResetResponse';
protected $resultsDataType = 'array';
@@ -830,6 +831,7 @@ public function getPlayer()
class Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_GamesManagement_HiddenPlayer';
protected $itemsDataType = 'array';
public $kind;
@@ -989,6 +991,7 @@ public function getGivenName()
class Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection
{
+ protected $collection_key = 'resetScoreTimeSpans';
public $kind;
public $resetScoreTimeSpans;
From ddb3802d5f29b66f2ec0bd829011f060f0d31881 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:48 -0700
Subject: [PATCH 0282/1371] Updated Mirror.php
---
src/Google/Service/Mirror.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/Google/Service/Mirror.php b/src/Google/Service/Mirror.php
index a44efd08a..d35726f31 100644
--- a/src/Google/Service/Mirror.php
+++ b/src/Google/Service/Mirror.php
@@ -836,6 +836,7 @@ public function listTimelineAttachments($itemId, $optParams = array())
class Google_Service_Mirror_Account extends Google_Collection
{
+ protected $collection_key = 'userData';
protected $authTokensType = 'Google_Service_Mirror_AuthToken';
protected $authTokensDataType = 'array';
public $features;
@@ -934,6 +935,7 @@ public function getIsProcessingContent()
class Google_Service_Mirror_AttachmentsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Mirror_Attachment';
protected $itemsDataType = 'array';
public $kind;
@@ -1002,6 +1004,7 @@ public function getType()
class Google_Service_Mirror_Contact extends Google_Collection
{
+ protected $collection_key = 'sharingFeatures';
protected $acceptCommandsType = 'Google_Service_Mirror_Command';
protected $acceptCommandsDataType = 'array';
public $acceptTypes;
@@ -1139,6 +1142,7 @@ public function getType()
class Google_Service_Mirror_ContactsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Mirror_Contact';
protected $itemsDataType = 'array';
public $kind;
@@ -1258,6 +1262,7 @@ public function getTimestamp()
class Google_Service_Mirror_LocationsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Mirror_Location';
protected $itemsDataType = 'array';
public $kind;
@@ -1285,6 +1290,7 @@ public function getKind()
class Google_Service_Mirror_MenuItem extends Google_Collection
{
+ protected $collection_key = 'values';
public $action;
public $id;
public $payload;
@@ -1382,6 +1388,7 @@ public function getState()
class Google_Service_Mirror_Notification extends Google_Collection
{
+ protected $collection_key = 'userActions';
public $collection;
public $itemId;
public $operation;
@@ -1516,6 +1523,7 @@ public function getValue()
class Google_Service_Mirror_Subscription extends Google_Collection
{
+ protected $collection_key = 'operation';
public $callbackUrl;
public $collection;
public $id;
@@ -1620,6 +1628,7 @@ public function getVerifyToken()
class Google_Service_Mirror_SubscriptionsListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Mirror_Subscription';
protected $itemsDataType = 'array';
public $kind;
@@ -1647,6 +1656,7 @@ public function getKind()
class Google_Service_Mirror_TimelineItem extends Google_Collection
{
+ protected $collection_key = 'recipients';
protected $attachmentsType = 'Google_Service_Mirror_Attachment';
protected $attachmentsDataType = 'array';
public $bundleId;
@@ -1943,6 +1953,7 @@ public function getUpdated()
class Google_Service_Mirror_TimelineListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Mirror_TimelineItem';
protected $itemsDataType = 'array';
public $kind;
From ebf99a793be9bb1f8b5ed985a41b4313b4af5f1b Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:49 -0700
Subject: [PATCH 0283/1371] Updated CloudMonitoring.php
---
src/Google/Service/CloudMonitoring.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Google/Service/CloudMonitoring.php b/src/Google/Service/CloudMonitoring.php
index 03fca0ff9..43b02d2ee 100644
--- a/src/Google/Service/CloudMonitoring.php
+++ b/src/Google/Service/CloudMonitoring.php
@@ -393,6 +393,7 @@ public function getKind()
class Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Google_Collection
{
+ protected $collection_key = 'metrics';
public $kind;
protected $metricsType = 'Google_Service_CloudMonitoring_MetricDescriptor';
protected $metricsDataType = 'array';
@@ -446,6 +447,7 @@ public function getKind()
class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
{
+ protected $collection_key = 'timeseries';
public $kind;
public $nextPageToken;
public $oldest;
@@ -521,6 +523,7 @@ public function getKind()
class Google_Service_CloudMonitoring_ListTimeseriesResponse extends Google_Collection
{
+ protected $collection_key = 'timeseries';
public $kind;
public $nextPageToken;
public $oldest;
@@ -581,6 +584,7 @@ public function getYoungest()
class Google_Service_CloudMonitoring_MetricDescriptor extends Google_Collection
{
+ protected $collection_key = 'labels';
public $description;
protected $labelsType = 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor';
protected $labelsDataType = 'array';
@@ -776,6 +780,7 @@ public function getStringValue()
class Google_Service_CloudMonitoring_PointDistribution extends Google_Collection
{
+ protected $collection_key = 'buckets';
protected $bucketsType = 'Google_Service_CloudMonitoring_PointDistributionBucket';
protected $bucketsDataType = 'array';
protected $overflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket';
@@ -905,6 +910,7 @@ public function getUpperBound()
class Google_Service_CloudMonitoring_Timeseries extends Google_Collection
{
+ protected $collection_key = 'points';
protected $pointsType = 'Google_Service_CloudMonitoring_Point';
protected $pointsDataType = 'array';
protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
From 7fc887fd6578a92ba5584ffa83d4b69a5d6daa29 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:49 -0700
Subject: [PATCH 0284/1371] Updated Appsactivity.php
---
src/Google/Service/Appsactivity.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Google/Service/Appsactivity.php b/src/Google/Service/Appsactivity.php
index 8da66dad3..867a77884 100644
--- a/src/Google/Service/Appsactivity.php
+++ b/src/Google/Service/Appsactivity.php
@@ -157,6 +157,7 @@ public function listActivities($optParams = array())
class Google_Service_Appsactivity_Activity extends Google_Collection
{
+ protected $collection_key = 'singleEvents';
protected $combinedEventType = 'Google_Service_Appsactivity_Event';
protected $combinedEventDataType = '';
protected $singleEventsType = 'Google_Service_Appsactivity_Event';
@@ -185,6 +186,7 @@ public function getSingleEvents()
class Google_Service_Appsactivity_Event extends Google_Collection
{
+ protected $collection_key = 'permissionChanges';
public $additionalEventTypes;
public $eventTimeMillis;
public $fromUserDeletion;
@@ -293,6 +295,7 @@ public function getUser()
class Google_Service_Appsactivity_ListActivitiesResponse extends Google_Collection
{
+ protected $collection_key = 'activities';
protected $activitiesType = 'Google_Service_Appsactivity_Activity';
protected $activitiesDataType = 'array';
public $nextPageToken;
@@ -320,6 +323,7 @@ public function getNextPageToken()
class Google_Service_Appsactivity_Move extends Google_Collection
{
+ protected $collection_key = 'removedParents';
protected $addedParentsType = 'Google_Service_Appsactivity_Parent';
protected $addedParentsDataType = 'array';
protected $removedParentsType = 'Google_Service_Appsactivity_Parent';
@@ -456,6 +460,7 @@ public function getWithLink()
class Google_Service_Appsactivity_PermissionChange extends Google_Collection
{
+ protected $collection_key = 'removedPermissions';
protected $addedPermissionsType = 'Google_Service_Appsactivity_Permission';
protected $addedPermissionsDataType = 'array';
protected $removedPermissionsType = 'Google_Service_Appsactivity_Permission';
From 99727b0129b23eaaf916d4a665e751d5732d563c Mon Sep 17 00:00:00 2001
From: Silvano Luciani
Date: Thu, 28 Aug 2014 16:03:50 -0700
Subject: [PATCH 0285/1371] Updated Prediction.php
---
src/Google/Service/Prediction.php | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/Google/Service/Prediction.php b/src/Google/Service/Prediction.php
index 33286ba24..4c874b9b0 100644
--- a/src/Google/Service/Prediction.php
+++ b/src/Google/Service/Prediction.php
@@ -363,6 +363,7 @@ public function update($project, $id, Google_Service_Prediction_Update $postBody
class Google_Service_Prediction_Analyze extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $dataDescriptionType = 'Google_Service_Prediction_AnalyzeDataDescription';
protected $dataDescriptionDataType = '';
public $errors;
@@ -435,6 +436,7 @@ public function getSelfLink()
class Google_Service_Prediction_AnalyzeDataDescription extends Google_Collection
{
+ protected $collection_key = 'features';
protected $featuresType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeatures';
protected $featuresDataType = 'array';
protected $outputFeatureType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature';
@@ -514,6 +516,7 @@ public function getText()
class Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategorical extends Google_Collection
{
+ protected $collection_key = 'values';
public $count;
protected $valuesType = 'Google_Service_Prediction_AnalyzeDataDescriptionFeaturesCategoricalValues';
protected $valuesDataType = 'array';
@@ -619,6 +622,7 @@ public function getCount()
class Google_Service_Prediction_AnalyzeDataDescriptionOutputFeature extends Google_Collection
{
+ protected $collection_key = 'text';
protected $numericType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureNumeric';
protected $numericDataType = '';
protected $textType = 'Google_Service_Prediction_AnalyzeDataDescriptionOutputFeatureText';
@@ -784,6 +788,7 @@ public function getInput()
class Google_Service_Prediction_InputInput extends Google_Collection
{
+ protected $collection_key = 'csvInstance';
public $csvInstance;
public function setCsvInstance($csvInstance)
@@ -799,6 +804,7 @@ public function getCsvInstance()
class Google_Service_Prediction_Insert extends Google_Collection
{
+ protected $collection_key = 'utility';
public $id;
public $modelType;
public $sourceModel;
@@ -1088,6 +1094,7 @@ public function getNumberLabels()
class Google_Service_Prediction_InsertTrainingInstances extends Google_Collection
{
+ protected $collection_key = 'csvInstance';
public $csvInstance;
public $output;
@@ -1119,6 +1126,7 @@ class Google_Service_Prediction_InsertUtility extends Google_Model
class Google_Service_Prediction_Output extends Google_Collection
{
+ protected $collection_key = 'outputMulti';
public $id;
public $kind;
public $outputLabel;
@@ -1216,6 +1224,7 @@ public function getScore()
class Google_Service_Prediction_PredictionList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $itemsType = 'Google_Service_Prediction_Insert2';
protected $itemsDataType = 'array';
public $kind;
@@ -1265,6 +1274,7 @@ public function getSelfLink()
class Google_Service_Prediction_Update extends Google_Collection
{
+ protected $collection_key = 'csvInstance';
public $csvInstance;
public $output;
From 3157d2617b4f48da44cf87c8e7669443e61a20c0 Mon Sep 17 00:00:00 2001
From: Daniel Bachhuber
Date: Tue, 2 Sep 2014 08:19:55 -0700
Subject: [PATCH 0286/1371] Include more description in Exception message when
detail is available
---
src/Google/Http/MediaFileUpload.php | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/Google/Http/MediaFileUpload.php b/src/Google/Http/MediaFileUpload.php
index a934f5672..dfe82b2f2 100644
--- a/src/Google/Http/MediaFileUpload.php
+++ b/src/Google/Http/MediaFileUpload.php
@@ -287,6 +287,15 @@ private function getResumeUri()
if (200 == $code && true == $location) {
return $location;
}
- throw new Google_Exception("Failed to start the resumable upload");
+ $message = $code;
+ $body = @json_decode( $response->getResponseBody() );
+ if ( ! empty( $body->error ) ) {
+ $message .= ': ';
+ foreach( $body->error->errors as $error ) {
+ $message .= "{$error->domain}, {$error->message};";
+ }
+ $message = rtrim( $message, ';' );
+ }
+ throw new Google_Exception("Failed to start the resumable upload (HTTP {$message})");
}
}
From 90eba3f97bf5164004c9ea78b709ddb6b1ccb76d Mon Sep 17 00:00:00 2001
From: Daniel Bachhuber
Date: Tue, 2 Sep 2014 09:32:14 -0700
Subject: [PATCH 0287/1371] Sometimes an error response doesn't have errors
---
src/Google/Http/MediaFileUpload.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Google/Http/MediaFileUpload.php b/src/Google/Http/MediaFileUpload.php
index dfe82b2f2..35c32e98e 100644
--- a/src/Google/Http/MediaFileUpload.php
+++ b/src/Google/Http/MediaFileUpload.php
@@ -289,7 +289,7 @@ private function getResumeUri()
}
$message = $code;
$body = @json_decode( $response->getResponseBody() );
- if ( ! empty( $body->error ) ) {
+ if ( ! empty( $body->error->errors ) ) {
$message .= ': ';
foreach( $body->error->errors as $error ) {
$message .= "{$error->domain}, {$error->message};";
From 7a2db9430c5790ca44d81a0a7134e78fd3682810 Mon Sep 17 00:00:00 2001
From: Daniel Wang
Date: Tue, 2 Sep 2014 22:51:10 -0700
Subject: [PATCH 0288/1371] Add current status at the top of README
This is part of the effort to make library status consistent with what's claimed on this page: https://devsite.googleplex.com/discovery/libraries
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index dba6a26d8..1b3022b81 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,9 @@
## Description ##
The Google API Client Library enables you to work with Google APIs such as Google+, Drive, or YouTube on your server.
+## Beta ##
+This library is in Beta. We're comfortable enough with the stability and features of the library that we want you to build real production applications on it. We will make an effort to support the public and protected surface of the library and maintain backwards compatibility in the future. While we are still in Beta, we reserve the right to make incompatible changes. If we do remove some functionality (typically because better functionality exists or if the feature proved infeasible), our intention is to deprecate and provide ample time for developers to update their code.
+
## Requirements ##
* [PHP 5.2.1 or higher](http://www.php.net/)
* [PHP JSON extension](http://php.net/manual/en/book.json.php)
From c5312fe1c5b22981d4fc84b0ca8a87f09ca58cec Mon Sep 17 00:00:00 2001
From: Silvano Luciani