Google_Service_MapsEngine_RasterCollectionsRasters_Resource

The "rasters" collection of methods.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/MapsEngine.php  
  1. class Google_Service_MapsEngine_RasterCollectionsRasters_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Remove rasters from an existing raster collection. 
  5. * Up to 50 rasters can be included in a single batchDelete request. Each 
  6. * batchDelete request is atomic. (rasters.batchDelete) 
  7. * @param string $id The ID of the raster collection to which these rasters 
  8. * belong. 
  9. * @param Google_RasterCollectionsRasterBatchDeleteRequest $postBody 
  10. * @param array $optParams Optional parameters. 
  11. * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse 
  12. */ 
  13. public function batchDelete($id, Google_Service_MapsEngine_RasterCollectionsRasterBatchDeleteRequest $postBody, $optParams = array()) 
  14. $params = array('id' => $id, 'postBody' => $postBody); 
  15. $params = array_merge($params, $optParams); 
  16. return $this->call('batchDelete', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchDeleteResponse"); 
  17.  
  18. /** 
  19. * Add rasters to an existing raster collection. Rasters must be successfully 
  20. * processed in order to be added to a raster collection. 
  21. * Up to 50 rasters can be included in a single batchInsert request. Each 
  22. * batchInsert request is atomic. (rasters.batchInsert) 
  23. * @param string $id The ID of the raster collection to which these rasters 
  24. * belong. 
  25. * @param Google_RasterCollectionsRastersBatchInsertRequest $postBody 
  26. * @param array $optParams Optional parameters. 
  27. * @return Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse 
  28. */ 
  29. public function batchInsert($id, Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertRequest $postBody, $optParams = array()) 
  30. $params = array('id' => $id, 'postBody' => $postBody); 
  31. $params = array_merge($params, $optParams); 
  32. return $this->call('batchInsert', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersBatchInsertResponse"); 
  33.  
  34. /** 
  35. * Return all rasters within a raster collection. 
  36. * (rasters.listRasterCollectionsRasters) 
  37. * @param string $id The ID of the raster collection to which these rasters 
  38. * belong. 
  39. * @param array $optParams Optional parameters. 
  40. * @opt_param string modifiedAfter An RFC 3339 formatted date-time value (e.g. 
  41. * 1970-01-01T00:00:00Z). Returned assets will have been modified at or after 
  42. * this time. 
  43. * @opt_param string createdAfter An RFC 3339 formatted date-time value (e.g. 
  44. * 1970-01-01T00:00:00Z). Returned assets will have been created at or after 
  45. * this time. 
  46. * @opt_param string tags A comma separated list of tags. Returned assets will 
  47. * contain all the tags from the list. 
  48. * @opt_param string search An unstructured search string used to filter the set 
  49. * of results based on asset metadata. 
  50. * @opt_param string maxResults The maximum number of items to include in a 
  51. * single response page. The maximum supported value is 100. 
  52. * @opt_param string pageToken The continuation token, used to page through 
  53. * large result sets. To get the next page of results, set this parameter to the 
  54. * value of nextPageToken from the previous response. 
  55. * @opt_param string creatorEmail An email address representing a user. Returned 
  56. * assets that have been created by the user associated with the provided email 
  57. * address. 
  58. * @opt_param string bbox A bounding box, expressed as "west, south, east, north". 
  59. * If set, only assets which intersect this bounding box will be returned. 
  60. * @opt_param string modifiedBefore An RFC 3339 formatted date-time value (e.g. 
  61. * 1970-01-01T00:00:00Z). Returned assets will have been modified at or before 
  62. * this time. 
  63. * @opt_param string createdBefore An RFC 3339 formatted date-time value (e.g. 
  64. * 1970-01-01T00:00:00Z). Returned assets will have been created at or before 
  65. * this time. 
  66. * @opt_param string role The role parameter indicates that the response should 
  67. * only contain assets where the current user has the specified level of access. 
  68. * @return Google_Service_MapsEngine_RasterCollectionsRastersListResponse 
  69. */ 
  70. public function listRasterCollectionsRasters($id, $optParams = array()) 
  71. $params = array('id' => $id); 
  72. $params = array_merge($params, $optParams); 
  73. return $this->call('list', array($params), "Google_Service_MapsEngine_RasterCollectionsRastersListResponse");