Documentation ¶
Overview ¶
Package mapsengine provides access to the Google Maps Engine API.
See https://developers.google.com/maps-engine/
Usage example:
import "google.golang.org/api/mapsengine/exp2" ... mapsengineService, err := mapsengine.New(oauthHttpClient)
Index ¶
- Constants
- type AcquisitionTime
- type Asset
- type AssetsGetCall
- type AssetsListCall
- func (c *AssetsListCall) Bbox(bbox string) *AssetsListCall
- func (c *AssetsListCall) CreatedAfter(createdAfter string) *AssetsListCall
- func (c *AssetsListCall) CreatedBefore(createdBefore string) *AssetsListCall
- func (c *AssetsListCall) CreatorEmail(creatorEmail string) *AssetsListCall
- func (c *AssetsListCall) Do() (*AssetsListResponse, error)
- func (c *AssetsListCall) Fields(s ...googleapi.Field) *AssetsListCall
- func (c *AssetsListCall) MaxResults(maxResults int64) *AssetsListCall
- func (c *AssetsListCall) ModifiedAfter(modifiedAfter string) *AssetsListCall
- func (c *AssetsListCall) ModifiedBefore(modifiedBefore string) *AssetsListCall
- func (c *AssetsListCall) PageToken(pageToken string) *AssetsListCall
- func (c *AssetsListCall) ProjectId(projectId string) *AssetsListCall
- func (c *AssetsListCall) Role(role string) *AssetsListCall
- func (c *AssetsListCall) Search(search string) *AssetsListCall
- func (c *AssetsListCall) Tags(tags string) *AssetsListCall
- func (c *AssetsListCall) Type(type_ string) *AssetsListCall
- type AssetsListResponse
- type AssetsParentsListCall
- func (c *AssetsParentsListCall) Do() (*ParentsListResponse, error)
- func (c *AssetsParentsListCall) Fields(s ...googleapi.Field) *AssetsParentsListCall
- func (c *AssetsParentsListCall) MaxResults(maxResults int64) *AssetsParentsListCall
- func (c *AssetsParentsListCall) PageToken(pageToken string) *AssetsParentsListCall
- type AssetsParentsService
- type AssetsPermissionsListCall
- type AssetsPermissionsService
- type AssetsService
- type Border
- type Color
- type Datasource
- type DisplayRule
- type Feature
- type FeatureInfo
- type FeaturesBatchDeleteRequest
- type FeaturesBatchInsertRequest
- type FeaturesBatchPatchRequest
- type FeaturesListResponse
- type File
- type Filter
- type GeoJsonGeometry
- func (t GeoJsonGeometry) GeometryCollection() (r GeoJsonGeometryCollection, ok bool)
- func (t GeoJsonGeometry) LineString() (r GeoJsonLineString, ok bool)
- func (t GeoJsonGeometry) MultiLineString() (r GeoJsonMultiLineString, ok bool)
- func (t GeoJsonGeometry) MultiPoint() (r GeoJsonMultiPoint, ok bool)
- func (t GeoJsonGeometry) MultiPolygon() (r GeoJsonMultiPolygon, ok bool)
- func (t GeoJsonGeometry) Point() (r GeoJsonPoint, ok bool)
- func (t GeoJsonGeometry) Polygon() (r GeoJsonPolygon, ok bool)
- func (t GeoJsonGeometry) Type() string
- type GeoJsonGeometryCollection
- type GeoJsonLineString
- type GeoJsonMultiLineString
- type GeoJsonMultiPoint
- type GeoJsonMultiPolygon
- type GeoJsonPoint
- type GeoJsonPolygon
- type GeoJsonProperties
- type Icon
- type IconStyle
- type IconsListResponse
- type LabelStyle
- type Layer
- type LayersCancelProcessingCall
- type LayersCreateCall
- type LayersDeleteCall
- type LayersGetCall
- type LayersGetPublishedCall
- type LayersListCall
- func (c *LayersListCall) Bbox(bbox string) *LayersListCall
- func (c *LayersListCall) CreatedAfter(createdAfter string) *LayersListCall
- func (c *LayersListCall) CreatedBefore(createdBefore string) *LayersListCall
- func (c *LayersListCall) CreatorEmail(creatorEmail string) *LayersListCall
- func (c *LayersListCall) Do() (*LayersListResponse, error)
- func (c *LayersListCall) Fields(s ...googleapi.Field) *LayersListCall
- func (c *LayersListCall) MaxResults(maxResults int64) *LayersListCall
- func (c *LayersListCall) ModifiedAfter(modifiedAfter string) *LayersListCall
- func (c *LayersListCall) ModifiedBefore(modifiedBefore string) *LayersListCall
- func (c *LayersListCall) PageToken(pageToken string) *LayersListCall
- func (c *LayersListCall) ProcessingStatus(processingStatus string) *LayersListCall
- func (c *LayersListCall) ProjectId(projectId string) *LayersListCall
- func (c *LayersListCall) Role(role string) *LayersListCall
- func (c *LayersListCall) Search(search string) *LayersListCall
- func (c *LayersListCall) Tags(tags string) *LayersListCall
- type LayersListPublishedCall
- func (c *LayersListPublishedCall) Do() (*PublishedLayersListResponse, error)
- func (c *LayersListPublishedCall) Fields(s ...googleapi.Field) *LayersListPublishedCall
- func (c *LayersListPublishedCall) MaxResults(maxResults int64) *LayersListPublishedCall
- func (c *LayersListPublishedCall) PageToken(pageToken string) *LayersListPublishedCall
- func (c *LayersListPublishedCall) ProjectId(projectId string) *LayersListPublishedCall
- type LayersListResponse
- type LayersParentsListCall
- func (c *LayersParentsListCall) Do() (*ParentsListResponse, error)
- func (c *LayersParentsListCall) Fields(s ...googleapi.Field) *LayersParentsListCall
- func (c *LayersParentsListCall) MaxResults(maxResults int64) *LayersParentsListCall
- func (c *LayersParentsListCall) PageToken(pageToken string) *LayersParentsListCall
- type LayersParentsService
- type LayersPatchCall
- type LayersPermissionsBatchDeleteCall
- type LayersPermissionsBatchUpdateCall
- type LayersPermissionsListCall
- type LayersPermissionsService
- func (r *LayersPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *LayersPermissionsBatchDeleteCall
- func (r *LayersPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *LayersPermissionsBatchUpdateCall
- func (r *LayersPermissionsService) List(id string) *LayersPermissionsListCall
- type LayersProcessCall
- type LayersPublishCall
- type LayersService
- func (r *LayersService) CancelProcessing(id string) *LayersCancelProcessingCall
- func (r *LayersService) Create(layer *Layer) *LayersCreateCall
- func (r *LayersService) Delete(id string) *LayersDeleteCall
- func (r *LayersService) Get(id string) *LayersGetCall
- func (r *LayersService) GetPublished(id string) *LayersGetPublishedCall
- func (r *LayersService) List() *LayersListCall
- func (r *LayersService) ListPublished() *LayersListPublishedCall
- func (r *LayersService) Patch(id string, layer *Layer) *LayersPatchCall
- func (r *LayersService) Process(id string) *LayersProcessCall
- func (r *LayersService) Publish(id string) *LayersPublishCall
- func (r *LayersService) Unpublish(id string) *LayersUnpublishCall
- type LayersUnpublishCall
- type LineStyle
- type LineStyleStroke
- type Map
- type MapFolder
- type MapItem
- type MapKmlLink
- type MapLayer
- type MapsCreateCall
- type MapsDeleteCall
- type MapsGetCall
- type MapsGetPublishedCall
- type MapsListCall
- func (c *MapsListCall) Bbox(bbox string) *MapsListCall
- func (c *MapsListCall) CreatedAfter(createdAfter string) *MapsListCall
- func (c *MapsListCall) CreatedBefore(createdBefore string) *MapsListCall
- func (c *MapsListCall) CreatorEmail(creatorEmail string) *MapsListCall
- func (c *MapsListCall) Do() (*MapsListResponse, error)
- func (c *MapsListCall) Fields(s ...googleapi.Field) *MapsListCall
- func (c *MapsListCall) MaxResults(maxResults int64) *MapsListCall
- func (c *MapsListCall) ModifiedAfter(modifiedAfter string) *MapsListCall
- func (c *MapsListCall) ModifiedBefore(modifiedBefore string) *MapsListCall
- func (c *MapsListCall) PageToken(pageToken string) *MapsListCall
- func (c *MapsListCall) ProcessingStatus(processingStatus string) *MapsListCall
- func (c *MapsListCall) ProjectId(projectId string) *MapsListCall
- func (c *MapsListCall) Role(role string) *MapsListCall
- func (c *MapsListCall) Search(search string) *MapsListCall
- func (c *MapsListCall) Tags(tags string) *MapsListCall
- func (c *MapsListCall) Version(version string) *MapsListCall
- type MapsListPublishedCall
- func (c *MapsListPublishedCall) Do() (*PublishedMapsListResponse, error)
- func (c *MapsListPublishedCall) Fields(s ...googleapi.Field) *MapsListPublishedCall
- func (c *MapsListPublishedCall) MaxResults(maxResults int64) *MapsListPublishedCall
- func (c *MapsListPublishedCall) PageToken(pageToken string) *MapsListPublishedCall
- func (c *MapsListPublishedCall) ProjectId(projectId string) *MapsListPublishedCall
- type MapsListResponse
- type MapsPatchCall
- type MapsPermissionsBatchDeleteCall
- type MapsPermissionsBatchUpdateCall
- type MapsPermissionsListCall
- type MapsPermissionsService
- func (r *MapsPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *MapsPermissionsBatchDeleteCall
- func (r *MapsPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *MapsPermissionsBatchUpdateCall
- func (r *MapsPermissionsService) List(id string) *MapsPermissionsListCall
- type MapsPublishCall
- type MapsService
- func (r *MapsService) Create(map_ *Map) *MapsCreateCall
- func (r *MapsService) Delete(id string) *MapsDeleteCall
- func (r *MapsService) Get(id string) *MapsGetCall
- func (r *MapsService) GetPublished(id string) *MapsGetPublishedCall
- func (r *MapsService) List() *MapsListCall
- func (r *MapsService) ListPublished() *MapsListPublishedCall
- func (r *MapsService) Patch(id string, map_ *Map) *MapsPatchCall
- func (r *MapsService) Publish(id string) *MapsPublishCall
- func (r *MapsService) Unpublish(id string) *MapsUnpublishCall
- type MapsUnpublishCall
- type Parent
- type ParentsListResponse
- type Permission
- type PermissionsBatchDeleteRequest
- type PermissionsBatchDeleteResponse
- type PermissionsBatchUpdateRequest
- type PermissionsBatchUpdateResponse
- type PermissionsListResponse
- type PointStyle
- type PolygonStyle
- type ProcessResponse
- type Project
- type ProjectsIconsCreateCall
- type ProjectsIconsGetCall
- type ProjectsIconsListCall
- func (c *ProjectsIconsListCall) Do() (*IconsListResponse, error)
- func (c *ProjectsIconsListCall) Fields(s ...googleapi.Field) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) MaxResults(maxResults int64) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) PageToken(pageToken string) *ProjectsIconsListCall
- type ProjectsIconsService
- type ProjectsListCall
- type ProjectsListResponse
- type ProjectsService
- type PublishResponse
- type PublishedLayer
- type PublishedLayersListResponse
- type PublishedMap
- type PublishedMapsListResponse
- type Raster
- type RasterCollection
- type RasterCollectionsCancelProcessingCall
- type RasterCollectionsCreateCall
- type RasterCollectionsDeleteCall
- type RasterCollectionsGetCall
- type RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Bbox(bbox string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) CreatedAfter(createdAfter string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) CreatedBefore(createdBefore string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) CreatorEmail(creatorEmail string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Do() (*RasterCollectionsListResponse, error)
- func (c *RasterCollectionsListCall) Fields(s ...googleapi.Field) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) MaxResults(maxResults int64) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) ModifiedAfter(modifiedAfter string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) ModifiedBefore(modifiedBefore string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) PageToken(pageToken string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) ProcessingStatus(processingStatus string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) ProjectId(projectId string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Role(role string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Search(search string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Tags(tags string) *RasterCollectionsListCall
- type RasterCollectionsListResponse
- type RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) Do() (*ParentsListResponse, error)
- func (c *RasterCollectionsParentsListCall) Fields(s ...googleapi.Field) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) MaxResults(maxResults int64) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) PageToken(pageToken string) *RasterCollectionsParentsListCall
- type RasterCollectionsParentsService
- type RasterCollectionsPatchCall
- type RasterCollectionsPermissionsBatchDeleteCall
- type RasterCollectionsPermissionsBatchUpdateCall
- type RasterCollectionsPermissionsListCall
- type RasterCollectionsPermissionsService
- func (r *RasterCollectionsPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *RasterCollectionsPermissionsBatchDeleteCall
- func (r *RasterCollectionsPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *RasterCollectionsPermissionsBatchUpdateCall
- func (r *RasterCollectionsPermissionsService) List(id string) *RasterCollectionsPermissionsListCall
- type RasterCollectionsProcessCall
- type RasterCollectionsRaster
- type RasterCollectionsRasterBatchDeleteRequest
- type RasterCollectionsRastersBatchDeleteCall
- type RasterCollectionsRastersBatchDeleteResponse
- type RasterCollectionsRastersBatchInsertCall
- type RasterCollectionsRastersBatchInsertRequest
- type RasterCollectionsRastersBatchInsertResponse
- type RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Bbox(bbox string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) CreatedAfter(createdAfter string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) CreatedBefore(createdBefore string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) CreatorEmail(creatorEmail string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Do() (*RasterCollectionsRastersListResponse, error)
- func (c *RasterCollectionsRastersListCall) Fields(s ...googleapi.Field) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) MaxResults(maxResults int64) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) ModifiedAfter(modifiedAfter string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) ModifiedBefore(modifiedBefore string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) PageToken(pageToken string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Role(role string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Search(search string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Tags(tags string) *RasterCollectionsRastersListCall
- type RasterCollectionsRastersListResponse
- type RasterCollectionsRastersService
- func (r *RasterCollectionsRastersService) BatchDelete(id string, ...) *RasterCollectionsRastersBatchDeleteCall
- func (r *RasterCollectionsRastersService) BatchInsert(id string, ...) *RasterCollectionsRastersBatchInsertCall
- func (r *RasterCollectionsRastersService) List(id string) *RasterCollectionsRastersListCall
- type RasterCollectionsService
- func (r *RasterCollectionsService) CancelProcessing(id string) *RasterCollectionsCancelProcessingCall
- func (r *RasterCollectionsService) Create(rastercollection *RasterCollection) *RasterCollectionsCreateCall
- func (r *RasterCollectionsService) Delete(id string) *RasterCollectionsDeleteCall
- func (r *RasterCollectionsService) Get(id string) *RasterCollectionsGetCall
- func (r *RasterCollectionsService) List() *RasterCollectionsListCall
- func (r *RasterCollectionsService) Patch(id string, rastercollection *RasterCollection) *RasterCollectionsPatchCall
- func (r *RasterCollectionsService) Process(id string) *RasterCollectionsProcessCall
- type RastersDeleteCall
- type RastersFilesInsertCall
- type RastersFilesService
- type RastersGetCall
- type RastersListCall
- func (c *RastersListCall) Bbox(bbox string) *RastersListCall
- func (c *RastersListCall) CreatedAfter(createdAfter string) *RastersListCall
- func (c *RastersListCall) CreatedBefore(createdBefore string) *RastersListCall
- func (c *RastersListCall) CreatorEmail(creatorEmail string) *RastersListCall
- func (c *RastersListCall) Do() (*RastersListResponse, error)
- func (c *RastersListCall) Fields(s ...googleapi.Field) *RastersListCall
- func (c *RastersListCall) MaxResults(maxResults int64) *RastersListCall
- func (c *RastersListCall) ModifiedAfter(modifiedAfter string) *RastersListCall
- func (c *RastersListCall) ModifiedBefore(modifiedBefore string) *RastersListCall
- func (c *RastersListCall) PageToken(pageToken string) *RastersListCall
- func (c *RastersListCall) ProcessingStatus(processingStatus string) *RastersListCall
- func (c *RastersListCall) Role(role string) *RastersListCall
- func (c *RastersListCall) Search(search string) *RastersListCall
- func (c *RastersListCall) Tags(tags string) *RastersListCall
- type RastersListResponse
- type RastersParentsListCall
- func (c *RastersParentsListCall) Do() (*ParentsListResponse, error)
- func (c *RastersParentsListCall) Fields(s ...googleapi.Field) *RastersParentsListCall
- func (c *RastersParentsListCall) MaxResults(maxResults int64) *RastersParentsListCall
- func (c *RastersParentsListCall) PageToken(pageToken string) *RastersParentsListCall
- type RastersParentsService
- type RastersPatchCall
- type RastersPermissionsBatchDeleteCall
- type RastersPermissionsBatchUpdateCall
- type RastersPermissionsListCall
- type RastersPermissionsService
- func (r *RastersPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *RastersPermissionsBatchDeleteCall
- func (r *RastersPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *RastersPermissionsBatchUpdateCall
- func (r *RastersPermissionsService) List(id string) *RastersPermissionsListCall
- type RastersProcessCall
- type RastersService
- func (r *RastersService) Delete(id string) *RastersDeleteCall
- func (r *RastersService) Get(id string) *RastersGetCall
- func (r *RastersService) List(projectId string) *RastersListCall
- func (r *RastersService) Patch(id string, raster *Raster) *RastersPatchCall
- func (r *RastersService) Process(id string) *RastersProcessCall
- func (r *RastersService) Upload(raster *Raster) *RastersUploadCall
- type RastersUploadCall
- type ScaledShape
- type ScalingFunction
- type Schema
- type Service
- type SizeRange
- type Table
- type TableColumn
- type TablesCreateCall
- type TablesDeleteCall
- type TablesFeaturesBatchDeleteCall
- type TablesFeaturesBatchInsertCall
- type TablesFeaturesBatchPatchCall
- type TablesFeaturesGetCall
- type TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Do() (*FeaturesListResponse, error)
- func (c *TablesFeaturesListCall) Fields(s ...googleapi.Field) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Include(include string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Intersects(intersects string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Limit(limit int64) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) MaxResults(maxResults int64) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) OrderBy(orderBy string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) PageToken(pageToken string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Select(select_ string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Version(version string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Where(where string) *TablesFeaturesListCall
- type TablesFeaturesService
- func (r *TablesFeaturesService) BatchDelete(id string, featuresbatchdeleterequest *FeaturesBatchDeleteRequest) *TablesFeaturesBatchDeleteCall
- func (r *TablesFeaturesService) BatchInsert(id string, featuresbatchinsertrequest *FeaturesBatchInsertRequest) *TablesFeaturesBatchInsertCall
- func (r *TablesFeaturesService) BatchPatch(id string, featuresbatchpatchrequest *FeaturesBatchPatchRequest) *TablesFeaturesBatchPatchCall
- func (r *TablesFeaturesService) Get(tableId string, id string) *TablesFeaturesGetCall
- func (r *TablesFeaturesService) List(id string) *TablesFeaturesListCall
- type TablesFilesInsertCall
- type TablesFilesService
- type TablesGetCall
- type TablesListCall
- func (c *TablesListCall) Bbox(bbox string) *TablesListCall
- func (c *TablesListCall) CreatedAfter(createdAfter string) *TablesListCall
- func (c *TablesListCall) CreatedBefore(createdBefore string) *TablesListCall
- func (c *TablesListCall) CreatorEmail(creatorEmail string) *TablesListCall
- func (c *TablesListCall) Do() (*TablesListResponse, error)
- func (c *TablesListCall) Fields(s ...googleapi.Field) *TablesListCall
- func (c *TablesListCall) MaxResults(maxResults int64) *TablesListCall
- func (c *TablesListCall) ModifiedAfter(modifiedAfter string) *TablesListCall
- func (c *TablesListCall) ModifiedBefore(modifiedBefore string) *TablesListCall
- func (c *TablesListCall) PageToken(pageToken string) *TablesListCall
- func (c *TablesListCall) ProcessingStatus(processingStatus string) *TablesListCall
- func (c *TablesListCall) ProjectId(projectId string) *TablesListCall
- func (c *TablesListCall) Role(role string) *TablesListCall
- func (c *TablesListCall) Search(search string) *TablesListCall
- func (c *TablesListCall) Tags(tags string) *TablesListCall
- type TablesListResponse
- type TablesParentsListCall
- func (c *TablesParentsListCall) Do() (*ParentsListResponse, error)
- func (c *TablesParentsListCall) Fields(s ...googleapi.Field) *TablesParentsListCall
- func (c *TablesParentsListCall) MaxResults(maxResults int64) *TablesParentsListCall
- func (c *TablesParentsListCall) PageToken(pageToken string) *TablesParentsListCall
- type TablesParentsService
- type TablesPatchCall
- type TablesPermissionsBatchDeleteCall
- type TablesPermissionsBatchUpdateCall
- type TablesPermissionsListCall
- type TablesPermissionsService
- func (r *TablesPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *TablesPermissionsBatchDeleteCall
- func (r *TablesPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *TablesPermissionsBatchUpdateCall
- func (r *TablesPermissionsService) List(id string) *TablesPermissionsListCall
- type TablesProcessCall
- type TablesService
- func (r *TablesService) Create(table *Table) *TablesCreateCall
- func (r *TablesService) Delete(id string) *TablesDeleteCall
- func (r *TablesService) Get(id string) *TablesGetCall
- func (r *TablesService) List() *TablesListCall
- func (r *TablesService) Patch(id string, table *Table) *TablesPatchCall
- func (r *TablesService) Process(id string) *TablesProcessCall
- func (r *TablesService) Upload(table *Table) *TablesUploadCall
- type TablesUploadCall
- type ValueRange
- type VectorStyle
- type ZoomLevels
Constants ¶
const ( // View and manage your Google Maps Engine data MapsengineScope = "https://www.googleapis.com/auth/mapsengine" // View your Google Maps Engine data MapsengineReadonlyScope = "https://www.googleapis.com/auth/mapsengine.readonly" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquisitionTime ¶
type AcquisitionTime struct { // End: The end time if acquisition time is a range. The value is an RFC // 3339 formatted date-time value (1970-01-01T00:00:00Z). End string `json:"end,omitempty"` // Precision: The precision of acquisition time. Precision string `json:"precision,omitempty"` // Start: The acquisition time, or start time if acquisition time is a // range. The value is an RFC 3339 formatted date-time value // (1970-01-01T00:00:00Z). Start string `json:"start,omitempty"` }
type Asset ¶
type Asset struct { // Bbox: A rectangular bounding box which contains all of the data in // this asset. The box is expressed as \"west, south, east, north\". The // numbers represent latitude and longitude in decimal degrees. Bbox []float64 `json:"bbox,omitempty"` // CreationTime: The creation time of this asset. The value is an RFC // 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // CreatorEmail: The email address of the creator of this asset. This is // only returned on GET requests and not LIST requests. CreatorEmail string `json:"creatorEmail,omitempty"` // Description: The asset's description. Description string `json:"description,omitempty"` // Etag: The ETag, used to refer to the current version of the asset. Etag string `json:"etag,omitempty"` // Id: The asset's globally unique ID. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this asset. The value is // an RFC 3339-formatted date-time value (for example, // 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // LastModifierEmail: The email address of the last modifier of this // asset. This is only returned on GET requests and not LIST requests. LastModifierEmail string `json:"lastModifierEmail,omitempty"` // Name: The asset's name. Name string `json:"name,omitempty"` // ProjectId: The ID of the project to which the asset belongs. ProjectId string `json:"projectId,omitempty"` // Resource: The URL to query to retrieve the asset's complete object. // The assets endpoint only returns high-level information about a // resource. Resource string `json:"resource,omitempty"` // Tags: An array of text strings, with each string representing a tag. // More information about tags can be found in the Tagging data article // of the Maps Engine help center. Tags []string `json:"tags,omitempty"` // Type: The type of asset. One of raster, rasterCollection, table, map, // or layer. Type string `json:"type,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` }
type AssetsGetCall ¶
type AssetsGetCall struct {
// contains filtered or unexported fields
}
func (*AssetsGetCall) Do ¶
func (c *AssetsGetCall) Do() (*Asset, error)
func (*AssetsGetCall) Fields ¶
func (c *AssetsGetCall) Fields(s ...googleapi.Field) *AssetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AssetsListCall ¶
type AssetsListCall struct {
// contains filtered or unexported fields
}
func (*AssetsListCall) Bbox ¶
func (c *AssetsListCall) Bbox(bbox string) *AssetsListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*AssetsListCall) CreatedAfter ¶
func (c *AssetsListCall) CreatedAfter(createdAfter string) *AssetsListCall
CreatedAfter sets the optional parameter "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.
func (*AssetsListCall) CreatedBefore ¶
func (c *AssetsListCall) CreatedBefore(createdBefore string) *AssetsListCall
CreatedBefore sets the optional parameter "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.
func (*AssetsListCall) CreatorEmail ¶
func (c *AssetsListCall) CreatorEmail(creatorEmail string) *AssetsListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*AssetsListCall) Do ¶
func (c *AssetsListCall) Do() (*AssetsListResponse, error)
func (*AssetsListCall) Fields ¶
func (c *AssetsListCall) Fields(s ...googleapi.Field) *AssetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AssetsListCall) MaxResults ¶
func (c *AssetsListCall) MaxResults(maxResults int64) *AssetsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*AssetsListCall) ModifiedAfter ¶
func (c *AssetsListCall) ModifiedAfter(modifiedAfter string) *AssetsListCall
ModifiedAfter sets the optional parameter "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.
func (*AssetsListCall) ModifiedBefore ¶
func (c *AssetsListCall) ModifiedBefore(modifiedBefore string) *AssetsListCall
ModifiedBefore sets the optional parameter "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.
func (*AssetsListCall) PageToken ¶
func (c *AssetsListCall) PageToken(pageToken string) *AssetsListCall
PageToken sets the optional parameter "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.
func (*AssetsListCall) ProjectId ¶
func (c *AssetsListCall) ProjectId(projectId string) *AssetsListCall
ProjectId sets the optional parameter "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.
func (*AssetsListCall) Role ¶
func (c *AssetsListCall) Role(role string) *AssetsListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*AssetsListCall) Search ¶
func (c *AssetsListCall) Search(search string) *AssetsListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*AssetsListCall) Tags ¶
func (c *AssetsListCall) Tags(tags string) *AssetsListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
func (*AssetsListCall) Type ¶
func (c *AssetsListCall) Type(type_ string) *AssetsListCall
Type sets the optional parameter "type": A comma separated list of asset types. Returned assets will have one of the types from the provided list. Supported values are 'map', 'layer', 'rasterCollection' and 'table'.
type AssetsListResponse ¶
type AssetsParentsListCall ¶
type AssetsParentsListCall struct {
// contains filtered or unexported fields
}
func (*AssetsParentsListCall) Do ¶
func (c *AssetsParentsListCall) Do() (*ParentsListResponse, error)
func (*AssetsParentsListCall) Fields ¶
func (c *AssetsParentsListCall) Fields(s ...googleapi.Field) *AssetsParentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AssetsParentsListCall) MaxResults ¶
func (c *AssetsParentsListCall) MaxResults(maxResults int64) *AssetsParentsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.
func (*AssetsParentsListCall) PageToken ¶
func (c *AssetsParentsListCall) PageToken(pageToken string) *AssetsParentsListCall
PageToken sets the optional parameter "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.
type AssetsParentsService ¶
type AssetsParentsService struct {
// contains filtered or unexported fields
}
func NewAssetsParentsService ¶
func NewAssetsParentsService(s *Service) *AssetsParentsService
func (*AssetsParentsService) List ¶
func (r *AssetsParentsService) List(id string) *AssetsParentsListCall
List: Return all parent ids of the specified asset.
type AssetsPermissionsListCall ¶
type AssetsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*AssetsPermissionsListCall) Do ¶
func (c *AssetsPermissionsListCall) Do() (*PermissionsListResponse, error)
func (*AssetsPermissionsListCall) Fields ¶
func (c *AssetsPermissionsListCall) Fields(s ...googleapi.Field) *AssetsPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type AssetsPermissionsService ¶
type AssetsPermissionsService struct {
// contains filtered or unexported fields
}
func NewAssetsPermissionsService ¶
func NewAssetsPermissionsService(s *Service) *AssetsPermissionsService
func (*AssetsPermissionsService) List ¶
func (r *AssetsPermissionsService) List(id string) *AssetsPermissionsListCall
List: Return all of the permissions for the specified asset.
type AssetsService ¶
type AssetsService struct { Parents *AssetsParentsService Permissions *AssetsPermissionsService // contains filtered or unexported fields }
func NewAssetsService ¶
func NewAssetsService(s *Service) *AssetsService
func (*AssetsService) Get ¶
func (r *AssetsService) Get(id string) *AssetsGetCall
Get: Return metadata for a particular asset.
func (*AssetsService) List ¶
func (r *AssetsService) List() *AssetsListCall
List: Return all assets readable by the current user.
type Datasource ¶
type Datasource struct { // Id: The ID of a datasource. Id string `json:"id,omitempty"` }
type DisplayRule ¶
type DisplayRule struct { // Filters: This display rule will only be applied to features that // match all of the filters here. If filters is empty, then the rule // applies to all features. Filters []*Filter `json:"filters,omitempty"` // LineOptions: Style applied to lines. Required for LineString // Geometry. LineOptions *LineStyle `json:"lineOptions,omitempty"` // Name: Display rule name. Name is not unique and cannot be used for // identification purpose. Name string `json:"name,omitempty"` // PointOptions: Style applied to points. Required for Point Geometry. PointOptions *PointStyle `json:"pointOptions,omitempty"` // PolygonOptions: Style applied to polygons. Required for Polygon // Geometry. PolygonOptions *PolygonStyle `json:"polygonOptions,omitempty"` // ZoomLevels: The zoom levels that this display rule apply. ZoomLevels *ZoomLevels `json:"zoomLevels,omitempty"` }
type Feature ¶
type Feature struct { // Geometry: The geometry member of this Feature. Geometry GeoJsonGeometry `json:"geometry,omitempty"` // Properties: Key/value pairs of this Feature. Properties *GeoJsonProperties `json:"properties,omitempty"` // Type: Identifies this object as a feature. Type string `json:"type,omitempty"` }
type FeatureInfo ¶
type FeatureInfo struct { // Content: HTML template of the info window. If not provided, a default // template with all attributes will be generated. Content string `json:"content,omitempty"` }
type FeaturesBatchInsertRequest ¶
type FeaturesBatchInsertRequest struct { Features []*Feature `json:"features,omitempty"` // NormalizeGeometries: If true, the server will normalize feature // geometries. It is assumed that the South Pole is exterior to any // polygons given. See here for a list of normalizations. If false, all // feature geometries must be given already normalized. The points in // all LinearRings must be listed in counter-clockwise order, and // LinearRings may not intersect. NormalizeGeometries bool `json:"normalizeGeometries,omitempty"` }
type FeaturesBatchPatchRequest ¶
type FeaturesBatchPatchRequest struct { Features []*Feature `json:"features,omitempty"` // NormalizeGeometries: If true, the server will normalize feature // geometries. It is assumed that the South Pole is exterior to any // polygons given. See here for a list of normalizations. If false, all // feature geometries must be given already normalized. The points in // all LinearRings must be listed in counter-clockwise order, and // LinearRings may not intersect. NormalizeGeometries bool `json:"normalizeGeometries,omitempty"` }
type FeaturesListResponse ¶
type FeaturesListResponse struct { // AllowedQueriesPerSecond: An indicator of the maximum rate at which // queries may be made, if all queries were as expensive as this query. AllowedQueriesPerSecond float64 `json:"allowedQueriesPerSecond,omitempty"` // Features: Resources returned. Features []*Feature `json:"features,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // Schema: The feature schema. Schema *Schema `json:"schema,omitempty"` Type string `json:"type,omitempty"` }
type GeoJsonGeometry ¶
type GeoJsonGeometry map[string]interface{}
func (GeoJsonGeometry) GeometryCollection ¶
func (t GeoJsonGeometry) GeometryCollection() (r GeoJsonGeometryCollection, ok bool)
func (GeoJsonGeometry) LineString ¶
func (t GeoJsonGeometry) LineString() (r GeoJsonLineString, ok bool)
func (GeoJsonGeometry) MultiLineString ¶
func (t GeoJsonGeometry) MultiLineString() (r GeoJsonMultiLineString, ok bool)
func (GeoJsonGeometry) MultiPoint ¶
func (t GeoJsonGeometry) MultiPoint() (r GeoJsonMultiPoint, ok bool)
func (GeoJsonGeometry) MultiPolygon ¶
func (t GeoJsonGeometry) MultiPolygon() (r GeoJsonMultiPolygon, ok bool)
func (GeoJsonGeometry) Point ¶
func (t GeoJsonGeometry) Point() (r GeoJsonPoint, ok bool)
func (GeoJsonGeometry) Polygon ¶
func (t GeoJsonGeometry) Polygon() (r GeoJsonPolygon, ok bool)
func (GeoJsonGeometry) Type ¶
func (t GeoJsonGeometry) Type() string
type GeoJsonGeometryCollection ¶
type GeoJsonGeometryCollection struct { // Geometries: An array of geometry objects. There must be at least 2 // different types of geometries in the array. Geometries []GeoJsonGeometry `json:"geometries,omitempty"` // Type: Identifies this object as a GeoJsonGeometryCollection. Type string `json:"type,omitempty"` }
type GeoJsonLineString ¶
type GeoJsonMultiLineString ¶
type GeoJsonMultiPoint ¶
type GeoJsonMultiPolygon ¶
type GeoJsonPoint ¶
type GeoJsonPolygon ¶
type GeoJsonPolygon struct { // Coordinates: An array of LinearRings. A LinearRing is a // GeoJsonLineString which is closed (that is, the first and last // GeoJsonPositions are equal), and which contains at least four // GeoJsonPositions. For polygons with multiple rings, the first // LinearRing is the exterior ring, and any subsequent rings are // interior rings (that is, holes). Coordinates [][][]float64 `json:"coordinates,omitempty"` // Type: Identifies this object as a GeoJsonPolygon. Type string `json:"type,omitempty"` }
type GeoJsonProperties ¶
type GeoJsonProperties struct { }
type Icon ¶
type Icon struct { // Description: The description of this Icon, supplied by the author. Description string `json:"description,omitempty"` // Id: An ID used to refer to this Icon. Id string `json:"id,omitempty"` // Name: The name of this Icon, supplied by the author. Name string `json:"name,omitempty"` }
type IconStyle ¶
type IconStyle struct { // Id: Custom icon id. Id string `json:"id,omitempty"` // Name: Stock icon name. To use a stock icon, prefix it with 'gx_'. See // Stock icon names for valid icon names. For example, to specify // small_red, set name to 'gx_small_red'. Name string `json:"name,omitempty"` // ScaledShape: A scalable shape. ScaledShape *ScaledShape `json:"scaledShape,omitempty"` // ScalingFunction: The function used to scale shapes. Required when a // scaledShape is specified. ScalingFunction *ScalingFunction `json:"scalingFunction,omitempty"` }
type IconsListResponse ¶
type LabelStyle ¶
type LabelStyle struct { // Color: Color of the text. If not provided, default to black. Color string `json:"color,omitempty"` // Column: The column value of the feature to be displayed. Column string `json:"column,omitempty"` // FontStyle: Font style of the label, defaults to 'normal'. FontStyle string `json:"fontStyle,omitempty"` // FontWeight: Font weight of the label, defaults to 'normal'. FontWeight string `json:"fontWeight,omitempty"` // Opacity: Opacity of the text. Opacity float64 `json:"opacity,omitempty"` // Outline: Outline color of the text. Outline *Color `json:"outline,omitempty"` // Size: Font size of the label, in pixels. 8 <= size <= 15. If not // provided, a default size will be provided. Size float64 `json:"size,omitempty"` }
type Layer ¶
type Layer struct { // Bbox: A rectangular bounding box which contains all of the data in // this Layer. The box is expressed as \"west, south, east, north\". The // numbers represent latitude and longitude in decimal degrees. Bbox []float64 `json:"bbox,omitempty"` // CreationTime: The creation time of this layer. The value is an RFC // 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // CreatorEmail: The email address of the creator of this layer. This is // only returned on GET requests and not LIST requests. CreatorEmail string `json:"creatorEmail,omitempty"` // DatasourceType: Deprecated: The type of the datasources used to build // this Layer. Note: This has been replaced by layerType, but is still // available for now to maintain backward compatibility. DatasourceType string `json:"datasourceType,omitempty"` // Datasources: An array of datasources used to build this layer. If // layerType is "image", or layerType is not specified and // datasourceType is "image", then each element in this array is a // reference to an Image or RasterCollection. If layerType is "vector", // or layerType is not specified and datasourceType is "table" then each // element in this array is a reference to a Vector Table. Note: // Datasources are returned in response to a get request but not a list // request. After requesting a list of layers, you'll need to send a get // request to retrieve the datasources for each layer. Datasources []*Datasource `json:"datasources,omitempty"` // Description: The description of this Layer, supplied by the author. Description string `json:"description,omitempty"` // DraftAccessList: Deprecated: The name of an access list of the Map // Editor type. The user on whose behalf the request is being sent must // be an editor on that access list. Note: Google Maps Engine no longer // uses access lists. Instead, each asset has its own list of // permissions. For backward compatibility, the API still accepts access // lists for projects that are already using access lists. If you // created a GME account/project after July 14th, 2014, you will not be // able to send API requests that include access lists. Note: This is an // input field only. It is not returned in response to a list or get // request. DraftAccessList string `json:"draftAccessList,omitempty"` // Etag: The ETag, used to refer to the current version of the asset. Etag string `json:"etag,omitempty"` // Id: A globally unique ID, used to refer to this Layer. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this layer. The value is // an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // LastModifierEmail: The email address of the last modifier of this // layer. This is only returned on GET requests and not LIST requests. LastModifierEmail string `json:"lastModifierEmail,omitempty"` // LayerType: The type of the datasources used to build this Layer. This // should be used instead of datasourceType. At least one of layerType // and datasourceType and must be specified, but layerType takes // precedence. LayerType string `json:"layerType,omitempty"` // Name: The name of this Layer, supplied by the author. Name string `json:"name,omitempty"` // ProcessingStatus: The processing status of this layer. ProcessingStatus string `json:"processingStatus,omitempty"` // ProjectId: The ID of the project that this Layer is in. ProjectId string `json:"projectId,omitempty"` // PublishedAccessList: Deprecated: The access list to whom view // permissions are granted. The value must be the name of a Maps Engine // access list of the Map Viewer type, and the user must be a viewer on // that list. Note: Google Maps Engine no longer uses access lists. // Instead, each asset has its own list of permissions. For backward // compatibility, the API still accepts access lists for projects that // are already using access lists. If you created a GME account/project // after July 14th, 2014, you will not be able to send API requests that // include access lists. Note: This is an input field only. It is not // returned in response to a list or get request. PublishedAccessList string `json:"publishedAccessList,omitempty"` // PublishingStatus: The publishing status of this layer. PublishingStatus string `json:"publishingStatus,omitempty"` // Style: The styling information for a vector layer. Note: Style // information is returned in response to a get request but not a list // request. After requesting a list of layers, you'll need to send a get // request to retrieve the VectorStyles for each layer. Style *VectorStyle `json:"style,omitempty"` // Tags: Tags of this Layer. Tags []string `json:"tags,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` }
type LayersCancelProcessingCall ¶
type LayersCancelProcessingCall struct {
// contains filtered or unexported fields
}
func (*LayersCancelProcessingCall) Do ¶
func (c *LayersCancelProcessingCall) Do() (*ProcessResponse, error)
func (*LayersCancelProcessingCall) Fields ¶
func (c *LayersCancelProcessingCall) Fields(s ...googleapi.Field) *LayersCancelProcessingCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersCreateCall ¶
type LayersCreateCall struct {
// contains filtered or unexported fields
}
func (*LayersCreateCall) Do ¶
func (c *LayersCreateCall) Do() (*Layer, error)
func (*LayersCreateCall) Fields ¶
func (c *LayersCreateCall) Fields(s ...googleapi.Field) *LayersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LayersCreateCall) Process ¶
func (c *LayersCreateCall) Process(process bool) *LayersCreateCall
Process sets the optional parameter "process": Whether to queue the created layer for processing.
type LayersDeleteCall ¶
type LayersDeleteCall struct {
// contains filtered or unexported fields
}
func (*LayersDeleteCall) Do ¶
func (c *LayersDeleteCall) Do() error
func (*LayersDeleteCall) Fields ¶
func (c *LayersDeleteCall) Fields(s ...googleapi.Field) *LayersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersGetCall ¶
type LayersGetCall struct {
// contains filtered or unexported fields
}
func (*LayersGetCall) Do ¶
func (c *LayersGetCall) Do() (*Layer, error)
func (*LayersGetCall) Fields ¶
func (c *LayersGetCall) Fields(s ...googleapi.Field) *LayersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LayersGetCall) Version ¶
func (c *LayersGetCall) Version(version string) *LayersGetCall
Version sets the optional parameter "version": Deprecated: The version parameter indicates which version of the layer should be returned. When version is set to published, the published version of the layer will be returned. Please use the layers.getPublished endpoint instead.
type LayersGetPublishedCall ¶
type LayersGetPublishedCall struct {
// contains filtered or unexported fields
}
func (*LayersGetPublishedCall) Do ¶
func (c *LayersGetPublishedCall) Do() (*PublishedLayer, error)
func (*LayersGetPublishedCall) Fields ¶
func (c *LayersGetPublishedCall) Fields(s ...googleapi.Field) *LayersGetPublishedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersListCall ¶
type LayersListCall struct {
// contains filtered or unexported fields
}
func (*LayersListCall) Bbox ¶
func (c *LayersListCall) Bbox(bbox string) *LayersListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*LayersListCall) CreatedAfter ¶
func (c *LayersListCall) CreatedAfter(createdAfter string) *LayersListCall
CreatedAfter sets the optional parameter "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.
func (*LayersListCall) CreatedBefore ¶
func (c *LayersListCall) CreatedBefore(createdBefore string) *LayersListCall
CreatedBefore sets the optional parameter "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.
func (*LayersListCall) CreatorEmail ¶
func (c *LayersListCall) CreatorEmail(creatorEmail string) *LayersListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*LayersListCall) Do ¶
func (c *LayersListCall) Do() (*LayersListResponse, error)
func (*LayersListCall) Fields ¶
func (c *LayersListCall) Fields(s ...googleapi.Field) *LayersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LayersListCall) MaxResults ¶
func (c *LayersListCall) MaxResults(maxResults int64) *LayersListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*LayersListCall) ModifiedAfter ¶
func (c *LayersListCall) ModifiedAfter(modifiedAfter string) *LayersListCall
ModifiedAfter sets the optional parameter "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.
func (*LayersListCall) ModifiedBefore ¶
func (c *LayersListCall) ModifiedBefore(modifiedBefore string) *LayersListCall
ModifiedBefore sets the optional parameter "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.
func (*LayersListCall) PageToken ¶
func (c *LayersListCall) PageToken(pageToken string) *LayersListCall
PageToken sets the optional parameter "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.
func (*LayersListCall) ProcessingStatus ¶
func (c *LayersListCall) ProcessingStatus(processingStatus string) *LayersListCall
ProcessingStatus sets the optional parameter "processingStatus":
func (*LayersListCall) ProjectId ¶
func (c *LayersListCall) ProjectId(projectId string) *LayersListCall
ProjectId sets the optional parameter "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.
func (*LayersListCall) Role ¶
func (c *LayersListCall) Role(role string) *LayersListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*LayersListCall) Search ¶
func (c *LayersListCall) Search(search string) *LayersListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*LayersListCall) Tags ¶
func (c *LayersListCall) Tags(tags string) *LayersListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
type LayersListPublishedCall ¶
type LayersListPublishedCall struct {
// contains filtered or unexported fields
}
func (*LayersListPublishedCall) Do ¶
func (c *LayersListPublishedCall) Do() (*PublishedLayersListResponse, error)
func (*LayersListPublishedCall) Fields ¶
func (c *LayersListPublishedCall) Fields(s ...googleapi.Field) *LayersListPublishedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LayersListPublishedCall) MaxResults ¶
func (c *LayersListPublishedCall) MaxResults(maxResults int64) *LayersListPublishedCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*LayersListPublishedCall) PageToken ¶
func (c *LayersListPublishedCall) PageToken(pageToken string) *LayersListPublishedCall
PageToken sets the optional parameter "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.
func (*LayersListPublishedCall) ProjectId ¶
func (c *LayersListPublishedCall) ProjectId(projectId string) *LayersListPublishedCall
ProjectId sets the optional parameter "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.
type LayersListResponse ¶
type LayersParentsListCall ¶
type LayersParentsListCall struct {
// contains filtered or unexported fields
}
func (*LayersParentsListCall) Do ¶
func (c *LayersParentsListCall) Do() (*ParentsListResponse, error)
func (*LayersParentsListCall) Fields ¶
func (c *LayersParentsListCall) Fields(s ...googleapi.Field) *LayersParentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LayersParentsListCall) MaxResults ¶
func (c *LayersParentsListCall) MaxResults(maxResults int64) *LayersParentsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.
func (*LayersParentsListCall) PageToken ¶
func (c *LayersParentsListCall) PageToken(pageToken string) *LayersParentsListCall
PageToken sets the optional parameter "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.
type LayersParentsService ¶
type LayersParentsService struct {
// contains filtered or unexported fields
}
func NewLayersParentsService ¶
func NewLayersParentsService(s *Service) *LayersParentsService
func (*LayersParentsService) List ¶
func (r *LayersParentsService) List(id string) *LayersParentsListCall
List: Return all parent ids of the specified layer.
type LayersPatchCall ¶
type LayersPatchCall struct {
// contains filtered or unexported fields
}
func (*LayersPatchCall) Do ¶
func (c *LayersPatchCall) Do() error
func (*LayersPatchCall) Fields ¶
func (c *LayersPatchCall) Fields(s ...googleapi.Field) *LayersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersPermissionsBatchDeleteCall ¶
type LayersPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*LayersPermissionsBatchDeleteCall) Do ¶
func (c *LayersPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
func (*LayersPermissionsBatchDeleteCall) Fields ¶
func (c *LayersPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *LayersPermissionsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersPermissionsBatchUpdateCall ¶
type LayersPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*LayersPermissionsBatchUpdateCall) Do ¶
func (c *LayersPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
func (*LayersPermissionsBatchUpdateCall) Fields ¶
func (c *LayersPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *LayersPermissionsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersPermissionsListCall ¶
type LayersPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*LayersPermissionsListCall) Do ¶
func (c *LayersPermissionsListCall) Do() (*PermissionsListResponse, error)
func (*LayersPermissionsListCall) Fields ¶
func (c *LayersPermissionsListCall) Fields(s ...googleapi.Field) *LayersPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersPermissionsService ¶
type LayersPermissionsService struct {
// contains filtered or unexported fields
}
func NewLayersPermissionsService ¶
func NewLayersPermissionsService(s *Service) *LayersPermissionsService
func (*LayersPermissionsService) BatchDelete ¶
func (r *LayersPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *LayersPermissionsBatchDeleteCall
BatchDelete: Remove permission entries from an already existing asset.
func (*LayersPermissionsService) BatchUpdate ¶
func (r *LayersPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *LayersPermissionsBatchUpdateCall
BatchUpdate: Add or update permission entries to an already existing asset.
An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.
func (*LayersPermissionsService) List ¶
func (r *LayersPermissionsService) List(id string) *LayersPermissionsListCall
List: Return all of the permissions for the specified asset.
type LayersProcessCall ¶
type LayersProcessCall struct {
// contains filtered or unexported fields
}
func (*LayersProcessCall) Do ¶
func (c *LayersProcessCall) Do() (*ProcessResponse, error)
func (*LayersProcessCall) Fields ¶
func (c *LayersProcessCall) Fields(s ...googleapi.Field) *LayersProcessCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LayersPublishCall ¶
type LayersPublishCall struct {
// contains filtered or unexported fields
}
func (*LayersPublishCall) Do ¶
func (c *LayersPublishCall) Do() (*PublishResponse, error)
func (*LayersPublishCall) Fields ¶
func (c *LayersPublishCall) Fields(s ...googleapi.Field) *LayersPublishCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*LayersPublishCall) Force ¶
func (c *LayersPublishCall) Force(force bool) *LayersPublishCall
Force sets the optional parameter "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.
type LayersService ¶
type LayersService struct { Parents *LayersParentsService Permissions *LayersPermissionsService // contains filtered or unexported fields }
func NewLayersService ¶
func NewLayersService(s *Service) *LayersService
func (*LayersService) CancelProcessing ¶
func (r *LayersService) CancelProcessing(id string) *LayersCancelProcessingCall
CancelProcessing: Cancel processing on a layer asset.
func (*LayersService) Create ¶
func (r *LayersService) Create(layer *Layer) *LayersCreateCall
Create: Create a layer asset.
func (*LayersService) Delete ¶
func (r *LayersService) Delete(id string) *LayersDeleteCall
Delete: Delete a layer.
func (*LayersService) Get ¶
func (r *LayersService) Get(id string) *LayersGetCall
Get: Return metadata for a particular layer.
func (*LayersService) GetPublished ¶
func (r *LayersService) GetPublished(id string) *LayersGetPublishedCall
GetPublished: Return the published metadata for a particular layer.
func (*LayersService) List ¶
func (r *LayersService) List() *LayersListCall
List: Return all layers readable by the current user.
func (*LayersService) ListPublished ¶
func (r *LayersService) ListPublished() *LayersListPublishedCall
ListPublished: Return all published layers readable by the current user.
func (*LayersService) Patch ¶
func (r *LayersService) Patch(id string, layer *Layer) *LayersPatchCall
Patch: Mutate a layer asset.
func (*LayersService) Process ¶
func (r *LayersService) Process(id string) *LayersProcessCall
Process: Process a layer asset.
func (*LayersService) Publish ¶
func (r *LayersService) Publish(id string) *LayersPublishCall
Publish: Publish a layer asset.
func (*LayersService) Unpublish ¶
func (r *LayersService) Unpublish(id string) *LayersUnpublishCall
Unpublish: Unpublish a layer asset.
type LayersUnpublishCall ¶
type LayersUnpublishCall struct {
// contains filtered or unexported fields
}
func (*LayersUnpublishCall) Do ¶
func (c *LayersUnpublishCall) Do() (*PublishResponse, error)
func (*LayersUnpublishCall) Fields ¶
func (c *LayersUnpublishCall) Fields(s ...googleapi.Field) *LayersUnpublishCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type LineStyle ¶
type LineStyle struct { // Border: Border of the line. 0 < border.width <= 5. Border *Border `json:"border,omitempty"` // Dash: Dash defines the pattern of the line, the values are pixel // lengths of alternating dash and gap. If dash is not provided, then it // means a solid line. Dash can contain up to 10 values and must contain // even number of values. Dash []float64 `json:"dash,omitempty"` // Label: Label style for the line. Label *LabelStyle `json:"label,omitempty"` // Stroke: Stroke of the line. Stroke *LineStyleStroke `json:"stroke,omitempty"` }
type LineStyleStroke ¶
type LineStyleStroke struct { // Color: Color of the line. Color string `json:"color,omitempty"` // Opacity: Opacity of the line. Opacity float64 `json:"opacity,omitempty"` // Width: Width of the line, in pixels. 0 <= width <= 10. If width is // set to 0, the line will be invisible. Width float64 `json:"width,omitempty"` }
type Map ¶
type Map struct { // Bbox: A rectangular bounding box which contains all of the data in // this Map. The box is expressed as \"west, south, east, north\". The // numbers represent latitude and longitude in decimal degrees. Bbox []float64 `json:"bbox,omitempty"` // Contents: The contents of this Map. Contents []MapItem `json:"contents,omitempty"` // CreationTime: The creation time of this map. The value is an RFC 3339 // formatted date-time value (e.g. 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // CreatorEmail: The email address of the creator of this map. This is // only returned on GET requests and not LIST requests. CreatorEmail string `json:"creatorEmail,omitempty"` // DefaultViewport: An array of four numbers (west, south, east, north) // which defines the rectangular bounding box of the default viewport. // The numbers represent latitude and longitude in decimal degrees. DefaultViewport []float64 `json:"defaultViewport,omitempty"` // Description: The description of this Map, supplied by the author. Description string `json:"description,omitempty"` // DraftAccessList: Deprecated: The name of an access list of the Map // Editor type. The user on whose behalf the request is being sent must // be an editor on that access list. Note: Google Maps Engine no longer // uses access lists. Instead, each asset has its own list of // permissions. For backward compatibility, the API still accepts access // lists for projects that are already using access lists. If you // created a GME account/project after July 14th, 2014, you will not be // able to send API requests that include access lists. Note: This is an // input field only. It is not returned in response to a list or get // request. DraftAccessList string `json:"draftAccessList,omitempty"` // Etag: The ETag, used to refer to the current version of the asset. Etag string `json:"etag,omitempty"` // Id: A globally unique ID, used to refer to this Map. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this map. The value is an // RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // LastModifierEmail: The email address of the last modifier of this // map. This is only returned on GET requests and not LIST requests. LastModifierEmail string `json:"lastModifierEmail,omitempty"` // Name: The name of this Map, supplied by the author. Name string `json:"name,omitempty"` // ProcessingStatus: The processing status of this map. Map processing // is automatically started once a map becomes ready for processing. ProcessingStatus string `json:"processingStatus,omitempty"` // ProjectId: The ID of the project that this Map is in. ProjectId string `json:"projectId,omitempty"` // PublishedAccessList: Deprecated: The access list to whom view // permissions are granted. The value must be the name of a Maps Engine // access list of the Map Viewer type, and the user must be a viewer on // that list. Note: Google Maps Engine no longer uses access lists. // Instead, each asset has its own list of permissions. For backward // compatibility, the API still accepts access lists for projects that // are already using access lists. If you created a GME account/project // after July 14th, 2014, you will not be able to send API requests that // include access lists. This is an input field only. It is not returned // in response to a list or get request. PublishedAccessList string `json:"publishedAccessList,omitempty"` // PublishingStatus: The publishing status of this map. PublishingStatus string `json:"publishingStatus,omitempty"` // Tags: Tags of this Map. Tags []string `json:"tags,omitempty"` // Versions: Deprecated: An array containing the available versions of // this Map. Currently may only contain "published". The // publishingStatus field should be used instead. Versions []string `json:"versions,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` }
type MapFolder ¶
type MapFolder struct { Contents []MapItem `json:"contents,omitempty"` // DefaultViewport: An array of four numbers (west, south, east, north) // which defines the rectangular bounding box of the default viewport. // The numbers represent latitude and longitude in decimal degrees. DefaultViewport []float64 `json:"defaultViewport,omitempty"` // Expandable: The expandability setting of this MapFolder. If true, the // folder can be expanded. Expandable bool `json:"expandable,omitempty"` // Key: A user defined alias for this MapFolder, specific to this Map. Key string `json:"key,omitempty"` // Name: The name of this MapFolder. Name string `json:"name,omitempty"` // Type: Identifies this object as a MapFolder. Type string `json:"type,omitempty"` // Visibility: The visibility setting of this MapFolder. One of // "defaultOn" or "defaultOff". Visibility string `json:"visibility,omitempty"` }
type MapItem ¶
type MapItem map[string]interface{}
func (MapItem) KmlLink ¶
func (t MapItem) KmlLink() (r MapKmlLink, ok bool)
type MapKmlLink ¶
type MapKmlLink struct { // DefaultViewport: An array of four numbers (west, south, east, north) // which defines the rectangular bounding box of the default viewport. // The numbers represent latitude and longitude in decimal degrees. DefaultViewport []float64 `json:"defaultViewport,omitempty"` // KmlUrl: The URL to the KML file represented by this MapKmlLink. KmlUrl string `json:"kmlUrl,omitempty"` // Name: The name of this MapKmlLink. Name string `json:"name,omitempty"` // Type: Identifies this object as a MapKmlLink. Type string `json:"type,omitempty"` // Visibility: The visibility setting of this MapKmlLink. One of // "defaultOn" or "defaultOff". Visibility string `json:"visibility,omitempty"` }
type MapLayer ¶
type MapLayer struct { // DefaultViewport: An array of four numbers (west, south, east, north) // which defines the rectangular bounding box of the default viewport. // The numbers represent latitude and longitude in decimal degrees. DefaultViewport []float64 `json:"defaultViewport,omitempty"` // Id: The ID of this MapLayer. This ID can be used to request more // details about the layer. Id string `json:"id,omitempty"` // Key: A user defined alias for this MapLayer, specific to this Map. Key string `json:"key,omitempty"` // Name: The name of this MapLayer. Name string `json:"name,omitempty"` // Type: Identifies this object as a MapLayer. Type string `json:"type,omitempty"` // Visibility: The visibility setting of this MapLayer. One of // "defaultOn" or "defaultOff". Visibility string `json:"visibility,omitempty"` }
type MapsCreateCall ¶
type MapsCreateCall struct {
// contains filtered or unexported fields
}
func (*MapsCreateCall) Do ¶
func (c *MapsCreateCall) Do() (*Map, error)
func (*MapsCreateCall) Fields ¶
func (c *MapsCreateCall) Fields(s ...googleapi.Field) *MapsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsDeleteCall ¶
type MapsDeleteCall struct {
// contains filtered or unexported fields
}
func (*MapsDeleteCall) Do ¶
func (c *MapsDeleteCall) Do() error
func (*MapsDeleteCall) Fields ¶
func (c *MapsDeleteCall) Fields(s ...googleapi.Field) *MapsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsGetCall ¶
type MapsGetCall struct {
// contains filtered or unexported fields
}
func (*MapsGetCall) Do ¶
func (c *MapsGetCall) Do() (*Map, error)
func (*MapsGetCall) Fields ¶
func (c *MapsGetCall) Fields(s ...googleapi.Field) *MapsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MapsGetCall) Version ¶
func (c *MapsGetCall) Version(version string) *MapsGetCall
Version sets the optional parameter "version": Deprecated: The version parameter indicates which version of the map should be returned. When version is set to published, the published version of the map will be returned. Please use the maps.getPublished endpoint instead.
type MapsGetPublishedCall ¶
type MapsGetPublishedCall struct {
// contains filtered or unexported fields
}
func (*MapsGetPublishedCall) Do ¶
func (c *MapsGetPublishedCall) Do() (*PublishedMap, error)
func (*MapsGetPublishedCall) Fields ¶
func (c *MapsGetPublishedCall) Fields(s ...googleapi.Field) *MapsGetPublishedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsListCall ¶
type MapsListCall struct {
// contains filtered or unexported fields
}
func (*MapsListCall) Bbox ¶
func (c *MapsListCall) Bbox(bbox string) *MapsListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*MapsListCall) CreatedAfter ¶
func (c *MapsListCall) CreatedAfter(createdAfter string) *MapsListCall
CreatedAfter sets the optional parameter "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.
func (*MapsListCall) CreatedBefore ¶
func (c *MapsListCall) CreatedBefore(createdBefore string) *MapsListCall
CreatedBefore sets the optional parameter "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.
func (*MapsListCall) CreatorEmail ¶
func (c *MapsListCall) CreatorEmail(creatorEmail string) *MapsListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*MapsListCall) Do ¶
func (c *MapsListCall) Do() (*MapsListResponse, error)
func (*MapsListCall) Fields ¶
func (c *MapsListCall) Fields(s ...googleapi.Field) *MapsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MapsListCall) MaxResults ¶
func (c *MapsListCall) MaxResults(maxResults int64) *MapsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*MapsListCall) ModifiedAfter ¶
func (c *MapsListCall) ModifiedAfter(modifiedAfter string) *MapsListCall
ModifiedAfter sets the optional parameter "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.
func (*MapsListCall) ModifiedBefore ¶
func (c *MapsListCall) ModifiedBefore(modifiedBefore string) *MapsListCall
ModifiedBefore sets the optional parameter "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.
func (*MapsListCall) PageToken ¶
func (c *MapsListCall) PageToken(pageToken string) *MapsListCall
PageToken sets the optional parameter "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.
func (*MapsListCall) ProcessingStatus ¶
func (c *MapsListCall) ProcessingStatus(processingStatus string) *MapsListCall
ProcessingStatus sets the optional parameter "processingStatus":
func (*MapsListCall) ProjectId ¶
func (c *MapsListCall) ProjectId(projectId string) *MapsListCall
ProjectId sets the optional parameter "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.
func (*MapsListCall) Role ¶
func (c *MapsListCall) Role(role string) *MapsListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*MapsListCall) Search ¶
func (c *MapsListCall) Search(search string) *MapsListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*MapsListCall) Tags ¶
func (c *MapsListCall) Tags(tags string) *MapsListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
func (*MapsListCall) Version ¶
func (c *MapsListCall) Version(version string) *MapsListCall
Version sets the optional parameter "version": Deprecated: The version parameter indicates which version of the maps should be returned. When version is set to published this parameter will filter the result set to include only maps that are published. Please use the maps.listPublished endpoint instead.
type MapsListPublishedCall ¶
type MapsListPublishedCall struct {
// contains filtered or unexported fields
}
func (*MapsListPublishedCall) Do ¶
func (c *MapsListPublishedCall) Do() (*PublishedMapsListResponse, error)
func (*MapsListPublishedCall) Fields ¶
func (c *MapsListPublishedCall) Fields(s ...googleapi.Field) *MapsListPublishedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MapsListPublishedCall) MaxResults ¶
func (c *MapsListPublishedCall) MaxResults(maxResults int64) *MapsListPublishedCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*MapsListPublishedCall) PageToken ¶
func (c *MapsListPublishedCall) PageToken(pageToken string) *MapsListPublishedCall
PageToken sets the optional parameter "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.
func (*MapsListPublishedCall) ProjectId ¶
func (c *MapsListPublishedCall) ProjectId(projectId string) *MapsListPublishedCall
ProjectId sets the optional parameter "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.
type MapsListResponse ¶
type MapsPatchCall ¶
type MapsPatchCall struct {
// contains filtered or unexported fields
}
func (*MapsPatchCall) Do ¶
func (c *MapsPatchCall) Do() error
func (*MapsPatchCall) Fields ¶
func (c *MapsPatchCall) Fields(s ...googleapi.Field) *MapsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsPermissionsBatchDeleteCall ¶
type MapsPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*MapsPermissionsBatchDeleteCall) Do ¶
func (c *MapsPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
func (*MapsPermissionsBatchDeleteCall) Fields ¶
func (c *MapsPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *MapsPermissionsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsPermissionsBatchUpdateCall ¶
type MapsPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*MapsPermissionsBatchUpdateCall) Do ¶
func (c *MapsPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
func (*MapsPermissionsBatchUpdateCall) Fields ¶
func (c *MapsPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *MapsPermissionsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsPermissionsListCall ¶
type MapsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*MapsPermissionsListCall) Do ¶
func (c *MapsPermissionsListCall) Do() (*PermissionsListResponse, error)
func (*MapsPermissionsListCall) Fields ¶
func (c *MapsPermissionsListCall) Fields(s ...googleapi.Field) *MapsPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type MapsPermissionsService ¶
type MapsPermissionsService struct {
// contains filtered or unexported fields
}
func NewMapsPermissionsService ¶
func NewMapsPermissionsService(s *Service) *MapsPermissionsService
func (*MapsPermissionsService) BatchDelete ¶
func (r *MapsPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *MapsPermissionsBatchDeleteCall
BatchDelete: Remove permission entries from an already existing asset.
func (*MapsPermissionsService) BatchUpdate ¶
func (r *MapsPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *MapsPermissionsBatchUpdateCall
BatchUpdate: Add or update permission entries to an already existing asset.
An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.
func (*MapsPermissionsService) List ¶
func (r *MapsPermissionsService) List(id string) *MapsPermissionsListCall
List: Return all of the permissions for the specified asset.
type MapsPublishCall ¶
type MapsPublishCall struct {
// contains filtered or unexported fields
}
func (*MapsPublishCall) Do ¶
func (c *MapsPublishCall) Do() (*PublishResponse, error)
func (*MapsPublishCall) Fields ¶
func (c *MapsPublishCall) Fields(s ...googleapi.Field) *MapsPublishCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*MapsPublishCall) Force ¶
func (c *MapsPublishCall) Force(force bool) *MapsPublishCall
Force sets the optional parameter "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.
type MapsService ¶
type MapsService struct { Permissions *MapsPermissionsService // contains filtered or unexported fields }
func NewMapsService ¶
func NewMapsService(s *Service) *MapsService
func (*MapsService) Create ¶
func (r *MapsService) Create(map_ *Map) *MapsCreateCall
Create: Create a map asset.
func (*MapsService) Delete ¶
func (r *MapsService) Delete(id string) *MapsDeleteCall
Delete: Delete a map.
func (*MapsService) Get ¶
func (r *MapsService) Get(id string) *MapsGetCall
Get: Return metadata for a particular map.
func (*MapsService) GetPublished ¶
func (r *MapsService) GetPublished(id string) *MapsGetPublishedCall
GetPublished: Return the published metadata for a particular map.
func (*MapsService) List ¶
func (r *MapsService) List() *MapsListCall
List: Return all maps readable by the current user.
func (*MapsService) ListPublished ¶
func (r *MapsService) ListPublished() *MapsListPublishedCall
ListPublished: Return all published maps readable by the current user.
func (*MapsService) Patch ¶
func (r *MapsService) Patch(id string, map_ *Map) *MapsPatchCall
Patch: Mutate a map asset.
func (*MapsService) Publish ¶
func (r *MapsService) Publish(id string) *MapsPublishCall
Publish: Publish a map asset.
func (*MapsService) Unpublish ¶
func (r *MapsService) Unpublish(id string) *MapsUnpublishCall
Unpublish: Unpublish a map asset.
type MapsUnpublishCall ¶
type MapsUnpublishCall struct {
// contains filtered or unexported fields
}
func (*MapsUnpublishCall) Do ¶
func (c *MapsUnpublishCall) Do() (*PublishResponse, error)
func (*MapsUnpublishCall) Fields ¶
func (c *MapsUnpublishCall) Fields(s ...googleapi.Field) *MapsUnpublishCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ParentsListResponse ¶
type Permission ¶
type Permission struct { // Discoverable: Indicates whether a public asset is listed and can be // found via a web search (value true), or is visible only to people who // have a link to the asset (value false). Discoverable bool `json:"discoverable,omitempty"` // Id: The unique identifier of the permission. This could be the email // address of the user or group this permission refers to, or the string // "anyone" for public permissions. Id string `json:"id,omitempty"` // Role: The type of access granted to this user or group. Role string `json:"role,omitempty"` // Type: The account type. Type string `json:"type,omitempty"` }
type PermissionsBatchDeleteRequest ¶
type PermissionsBatchDeleteRequest struct { // Ids: An array of permission ids to be removed. This could be the // email address of the user or group this permission refers to, or the // string "anyone" for public permissions. Ids []string `json:"ids,omitempty"` }
type PermissionsBatchDeleteResponse ¶
type PermissionsBatchDeleteResponse struct { }
type PermissionsBatchUpdateRequest ¶
type PermissionsBatchUpdateRequest struct { // Permissions: The permissions to be inserted or updated. Permissions []*Permission `json:"permissions,omitempty"` }
type PermissionsBatchUpdateResponse ¶
type PermissionsBatchUpdateResponse struct { }
type PermissionsListResponse ¶
type PermissionsListResponse struct { // Permissions: The set of permissions associated with this asset. Permissions []*Permission `json:"permissions,omitempty"` }
type PointStyle ¶
type PointStyle struct { // Icon: Icon for the point; if it isn't null, exactly one of 'name', // 'id' or 'scaledShape' must be set. Icon *IconStyle `json:"icon,omitempty"` // Label: Label style for the point. Label *LabelStyle `json:"label,omitempty"` }
type PolygonStyle ¶
type PolygonStyle struct { // Fill: Fill color of the polygon. If not provided, the polygon will be // transparent and not visible if there is no border. Fill *Color `json:"fill,omitempty"` // Label: Label style for the polygon. Label *LabelStyle `json:"label,omitempty"` // Stroke: Border of the polygon. 0 < border.width <= 10. Stroke *Border `json:"stroke,omitempty"` }
type ProcessResponse ¶
type ProcessResponse struct { }
type ProjectsIconsCreateCall ¶
type ProjectsIconsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsIconsCreateCall) Do ¶
func (c *ProjectsIconsCreateCall) Do() (*Icon, error)
func (*ProjectsIconsCreateCall) Fields ¶
func (c *ProjectsIconsCreateCall) Fields(s ...googleapi.Field) *ProjectsIconsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsIconsCreateCall) Media ¶
func (c *ProjectsIconsCreateCall) Media(r io.Reader) *ProjectsIconsCreateCall
type ProjectsIconsGetCall ¶
type ProjectsIconsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsIconsGetCall) Do ¶
func (c *ProjectsIconsGetCall) Do() (*Icon, error)
func (*ProjectsIconsGetCall) Fields ¶
func (c *ProjectsIconsGetCall) Fields(s ...googleapi.Field) *ProjectsIconsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ProjectsIconsListCall ¶
type ProjectsIconsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsIconsListCall) Do ¶
func (c *ProjectsIconsListCall) Do() (*IconsListResponse, error)
func (*ProjectsIconsListCall) Fields ¶
func (c *ProjectsIconsListCall) Fields(s ...googleapi.Field) *ProjectsIconsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsIconsListCall) MaxResults ¶
func (c *ProjectsIconsListCall) MaxResults(maxResults int64) *ProjectsIconsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.
func (*ProjectsIconsListCall) PageToken ¶
func (c *ProjectsIconsListCall) PageToken(pageToken string) *ProjectsIconsListCall
PageToken sets the optional parameter "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.
type ProjectsIconsService ¶
type ProjectsIconsService struct {
// contains filtered or unexported fields
}
func NewProjectsIconsService ¶
func NewProjectsIconsService(s *Service) *ProjectsIconsService
func (*ProjectsIconsService) Create ¶
func (r *ProjectsIconsService) Create(projectId string, icon *Icon) *ProjectsIconsCreateCall
Create: Create an icon.
func (*ProjectsIconsService) Get ¶
func (r *ProjectsIconsService) Get(projectId string, id string) *ProjectsIconsGetCall
Get: Return an icon or its associated metadata
func (*ProjectsIconsService) List ¶
func (r *ProjectsIconsService) List(projectId string) *ProjectsIconsListCall
List: Return all icons in the current project
type ProjectsListCall ¶
type ProjectsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsListCall) Do ¶
func (c *ProjectsListCall) Do() (*ProjectsListResponse, error)
func (*ProjectsListCall) Fields ¶
func (c *ProjectsListCall) Fields(s ...googleapi.Field) *ProjectsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ProjectsListResponse ¶
type ProjectsListResponse struct { // Projects: Projects returned. Projects []*Project `json:"projects,omitempty"` }
type ProjectsService ¶
type ProjectsService struct { Icons *ProjectsIconsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService) List ¶
func (r *ProjectsService) List() *ProjectsListCall
List: Return all projects readable by the current user.
type PublishResponse ¶
type PublishResponse struct { }
type PublishedLayer ¶
type PublishedLayer struct { // Description: The description of this Layer, supplied by the author. Description string `json:"description,omitempty"` // Id: A globally unique ID, used to refer to this Layer. Id string `json:"id,omitempty"` // LayerType: The type of the datasources used to build this Layer. This // should be used instead of datasourceType. At least one of layerType // and datasourceType and must be specified, but layerType takes // precedence. LayerType string `json:"layerType,omitempty"` // Name: The name of this Layer, supplied by the author. Name string `json:"name,omitempty"` // ProjectId: The ID of the project that this Layer is in. ProjectId string `json:"projectId,omitempty"` }
type PublishedLayersListResponse ¶
type PublishedLayersListResponse struct { // Layers: Resources returned. Layers []*PublishedLayer `json:"layers,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` }
type PublishedMap ¶
type PublishedMap struct { // Contents: The contents of this Map. Contents []MapItem `json:"contents,omitempty"` // DefaultViewport: An array of four numbers (west, south, east, north) // which defines the rectangular bounding box of the default viewport. // The numbers represent latitude and longitude in decimal degrees. DefaultViewport []float64 `json:"defaultViewport,omitempty"` // Description: The description of this Map, supplied by the author. Description string `json:"description,omitempty"` // Id: A globally unique ID, used to refer to this Map. Id string `json:"id,omitempty"` // Name: The name of this Map, supplied by the author. Name string `json:"name,omitempty"` // ProjectId: The ID of the project that this Map is in. ProjectId string `json:"projectId,omitempty"` }
type PublishedMapsListResponse ¶
type PublishedMapsListResponse struct { // Maps: Resources returned. Maps []*PublishedMap `json:"maps,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` }
type Raster ¶
type Raster struct { // AcquisitionTime: The acquisition time of this Raster. AcquisitionTime *AcquisitionTime `json:"acquisitionTime,omitempty"` // Attribution: The name of the attribution to be used for this Raster. Attribution string `json:"attribution,omitempty"` // Bbox: A rectangular bounding box which contains all of the data in // this Raster. The box is expressed as \"west, south, east, north\". // The numbers represent latitudes and longitudes in decimal degrees. Bbox []float64 `json:"bbox,omitempty"` // CreationTime: The creation time of this raster. The value is an RFC // 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // CreatorEmail: The email address of the creator of this raster. This // is only returned on GET requests and not LIST requests. CreatorEmail string `json:"creatorEmail,omitempty"` // Description: The description of this Raster, supplied by the author. Description string `json:"description,omitempty"` // DraftAccessList: Deprecated: The name of an access list of the Map // Editor type. The user on whose behalf the request is being sent must // be an editor on that access list. Note: Google Maps Engine no longer // uses access lists. Instead, each asset has its own list of // permissions. For backward compatibility, the API still accepts access // lists for projects that are already using access lists. If you // created a GME account/project after July 14th, 2014, you will not be // able to send API requests that include access lists. Note: This is an // input field only. It is not returned in response to a list or get // request. DraftAccessList string `json:"draftAccessList,omitempty"` // Etag: The ETag, used to refer to the current version of the asset. Etag string `json:"etag,omitempty"` // Files: The files associated with this Raster. Files []*File `json:"files,omitempty"` // Id: A globally unique ID, used to refer to this Raster. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this raster. The value is // an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // LastModifierEmail: The email address of the last modifier of this // raster. This is only returned on GET requests and not LIST requests. LastModifierEmail string `json:"lastModifierEmail,omitempty"` // MaskType: The mask processing type of this Raster. MaskType string `json:"maskType,omitempty"` // Name: The name of this Raster, supplied by the author. Name string `json:"name,omitempty"` // ProcessingStatus: The processing status of this Raster. ProcessingStatus string `json:"processingStatus,omitempty"` // ProjectId: The ID of the project that this Raster is in. ProjectId string `json:"projectId,omitempty"` // RasterType: The type of this Raster. Always "image" today. RasterType string `json:"rasterType,omitempty"` // Tags: Tags of this Raster. Tags []string `json:"tags,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` }
type RasterCollection ¶
type RasterCollection struct { // Attribution: The name of the attribution to be used for this // RasterCollection. Note: Attribution is returned in response to a get // request but not a list request. After requesting a list of raster // collections, you'll need to send a get request to retrieve the // attribution for each raster collection. Attribution string `json:"attribution,omitempty"` // Bbox: A rectangular bounding box which contains all of the data in // this RasterCollection. The box is expressed as \"west, south, east, // north\". The numbers represent latitude and longitude in decimal // degrees. Bbox []float64 `json:"bbox,omitempty"` // CreationTime: The creation time of this RasterCollection. The value // is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // CreatorEmail: The email address of the creator of this raster // collection. This is only returned on GET requests and not LIST // requests. CreatorEmail string `json:"creatorEmail,omitempty"` // Description: The description of this RasterCollection, supplied by // the author. Description string `json:"description,omitempty"` // DraftAccessList: Deprecated: The name of an access list of the Map // Editor type. The user on whose behalf the request is being sent must // be an editor on that access list. Note: Google Maps Engine no longer // uses access lists. Instead, each asset has its own list of // permissions. For backward compatibility, the API still accepts access // lists for projects that are already using access lists. If you // created a GME account/project after July 14th, 2014, you will not be // able to send API requests that include access lists. Note: This is an // input field only. It is not returned in response to a list or get // request. DraftAccessList string `json:"draftAccessList,omitempty"` // Etag: The ETag, used to refer to the current version of the asset. Etag string `json:"etag,omitempty"` // Id: A globally unique ID, used to refer to this RasterCollection. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this RasterCollection. // The value is an RFC 3339 formatted date-time value (e.g. // 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // LastModifierEmail: The email address of the last modifier of this // raster collection. This is only returned on GET requests and not LIST // requests. LastModifierEmail string `json:"lastModifierEmail,omitempty"` // Mosaic: True if this RasterCollection is a mosaic. Mosaic bool `json:"mosaic,omitempty"` // Name: The name of this RasterCollection, supplied by the author. Name string `json:"name,omitempty"` // ProcessingStatus: The processing status of this RasterCollection. ProcessingStatus string `json:"processingStatus,omitempty"` // ProjectId: The ID of the project that this RasterCollection is in. ProjectId string `json:"projectId,omitempty"` // RasterType: The type of rasters contained within this // RasterCollection. RasterType string `json:"rasterType,omitempty"` // Tags: Tags of this RasterCollection. Tags []string `json:"tags,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` }
type RasterCollectionsCancelProcessingCall ¶
type RasterCollectionsCancelProcessingCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsCancelProcessingCall) Do ¶
func (c *RasterCollectionsCancelProcessingCall) Do() (*ProcessResponse, error)
func (*RasterCollectionsCancelProcessingCall) Fields ¶
func (c *RasterCollectionsCancelProcessingCall) Fields(s ...googleapi.Field) *RasterCollectionsCancelProcessingCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsCreateCall ¶
type RasterCollectionsCreateCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsCreateCall) Do ¶
func (c *RasterCollectionsCreateCall) Do() (*RasterCollection, error)
func (*RasterCollectionsCreateCall) Fields ¶
func (c *RasterCollectionsCreateCall) Fields(s ...googleapi.Field) *RasterCollectionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsDeleteCall ¶
type RasterCollectionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsDeleteCall) Do ¶
func (c *RasterCollectionsDeleteCall) Do() error
func (*RasterCollectionsDeleteCall) Fields ¶
func (c *RasterCollectionsDeleteCall) Fields(s ...googleapi.Field) *RasterCollectionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsGetCall ¶
type RasterCollectionsGetCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsGetCall) Do ¶
func (c *RasterCollectionsGetCall) Do() (*RasterCollection, error)
func (*RasterCollectionsGetCall) Fields ¶
func (c *RasterCollectionsGetCall) Fields(s ...googleapi.Field) *RasterCollectionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsListCall ¶
type RasterCollectionsListCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsListCall) Bbox ¶
func (c *RasterCollectionsListCall) Bbox(bbox string) *RasterCollectionsListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*RasterCollectionsListCall) CreatedAfter ¶
func (c *RasterCollectionsListCall) CreatedAfter(createdAfter string) *RasterCollectionsListCall
CreatedAfter sets the optional parameter "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.
func (*RasterCollectionsListCall) CreatedBefore ¶
func (c *RasterCollectionsListCall) CreatedBefore(createdBefore string) *RasterCollectionsListCall
CreatedBefore sets the optional parameter "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.
func (*RasterCollectionsListCall) CreatorEmail ¶
func (c *RasterCollectionsListCall) CreatorEmail(creatorEmail string) *RasterCollectionsListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*RasterCollectionsListCall) Do ¶
func (c *RasterCollectionsListCall) Do() (*RasterCollectionsListResponse, error)
func (*RasterCollectionsListCall) Fields ¶
func (c *RasterCollectionsListCall) Fields(s ...googleapi.Field) *RasterCollectionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RasterCollectionsListCall) MaxResults ¶
func (c *RasterCollectionsListCall) MaxResults(maxResults int64) *RasterCollectionsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*RasterCollectionsListCall) ModifiedAfter ¶
func (c *RasterCollectionsListCall) ModifiedAfter(modifiedAfter string) *RasterCollectionsListCall
ModifiedAfter sets the optional parameter "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.
func (*RasterCollectionsListCall) ModifiedBefore ¶
func (c *RasterCollectionsListCall) ModifiedBefore(modifiedBefore string) *RasterCollectionsListCall
ModifiedBefore sets the optional parameter "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.
func (*RasterCollectionsListCall) PageToken ¶
func (c *RasterCollectionsListCall) PageToken(pageToken string) *RasterCollectionsListCall
PageToken sets the optional parameter "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.
func (*RasterCollectionsListCall) ProcessingStatus ¶
func (c *RasterCollectionsListCall) ProcessingStatus(processingStatus string) *RasterCollectionsListCall
ProcessingStatus sets the optional parameter "processingStatus":
func (*RasterCollectionsListCall) ProjectId ¶
func (c *RasterCollectionsListCall) ProjectId(projectId string) *RasterCollectionsListCall
ProjectId sets the optional parameter "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.
func (*RasterCollectionsListCall) Role ¶
func (c *RasterCollectionsListCall) Role(role string) *RasterCollectionsListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*RasterCollectionsListCall) Search ¶
func (c *RasterCollectionsListCall) Search(search string) *RasterCollectionsListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*RasterCollectionsListCall) Tags ¶
func (c *RasterCollectionsListCall) Tags(tags string) *RasterCollectionsListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
type RasterCollectionsListResponse ¶
type RasterCollectionsListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // RasterCollections: Resources returned. RasterCollections []*RasterCollection `json:"rasterCollections,omitempty"` }
type RasterCollectionsParentsListCall ¶
type RasterCollectionsParentsListCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsParentsListCall) Do ¶
func (c *RasterCollectionsParentsListCall) Do() (*ParentsListResponse, error)
func (*RasterCollectionsParentsListCall) Fields ¶
func (c *RasterCollectionsParentsListCall) Fields(s ...googleapi.Field) *RasterCollectionsParentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RasterCollectionsParentsListCall) MaxResults ¶
func (c *RasterCollectionsParentsListCall) MaxResults(maxResults int64) *RasterCollectionsParentsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.
func (*RasterCollectionsParentsListCall) PageToken ¶
func (c *RasterCollectionsParentsListCall) PageToken(pageToken string) *RasterCollectionsParentsListCall
PageToken sets the optional parameter "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.
type RasterCollectionsParentsService ¶
type RasterCollectionsParentsService struct {
// contains filtered or unexported fields
}
func NewRasterCollectionsParentsService ¶
func NewRasterCollectionsParentsService(s *Service) *RasterCollectionsParentsService
func (*RasterCollectionsParentsService) List ¶
func (r *RasterCollectionsParentsService) List(id string) *RasterCollectionsParentsListCall
List: Return all parent ids of the specified raster collection.
type RasterCollectionsPatchCall ¶
type RasterCollectionsPatchCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPatchCall) Do ¶
func (c *RasterCollectionsPatchCall) Do() error
func (*RasterCollectionsPatchCall) Fields ¶
func (c *RasterCollectionsPatchCall) Fields(s ...googleapi.Field) *RasterCollectionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsPermissionsBatchDeleteCall ¶
type RasterCollectionsPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPermissionsBatchDeleteCall) Do ¶
func (c *RasterCollectionsPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
func (*RasterCollectionsPermissionsBatchDeleteCall) Fields ¶
func (c *RasterCollectionsPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *RasterCollectionsPermissionsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsPermissionsBatchUpdateCall ¶
type RasterCollectionsPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPermissionsBatchUpdateCall) Do ¶
func (c *RasterCollectionsPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
func (*RasterCollectionsPermissionsBatchUpdateCall) Fields ¶
func (c *RasterCollectionsPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *RasterCollectionsPermissionsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsPermissionsListCall ¶
type RasterCollectionsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPermissionsListCall) Do ¶
func (c *RasterCollectionsPermissionsListCall) Do() (*PermissionsListResponse, error)
func (*RasterCollectionsPermissionsListCall) Fields ¶
func (c *RasterCollectionsPermissionsListCall) Fields(s ...googleapi.Field) *RasterCollectionsPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsPermissionsService ¶
type RasterCollectionsPermissionsService struct {
// contains filtered or unexported fields
}
func NewRasterCollectionsPermissionsService ¶
func NewRasterCollectionsPermissionsService(s *Service) *RasterCollectionsPermissionsService
func (*RasterCollectionsPermissionsService) BatchDelete ¶
func (r *RasterCollectionsPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *RasterCollectionsPermissionsBatchDeleteCall
BatchDelete: Remove permission entries from an already existing asset.
func (*RasterCollectionsPermissionsService) BatchUpdate ¶
func (r *RasterCollectionsPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *RasterCollectionsPermissionsBatchUpdateCall
BatchUpdate: Add or update permission entries to an already existing asset.
An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.
func (*RasterCollectionsPermissionsService) List ¶
func (r *RasterCollectionsPermissionsService) List(id string) *RasterCollectionsPermissionsListCall
List: Return all of the permissions for the specified asset.
type RasterCollectionsProcessCall ¶
type RasterCollectionsProcessCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsProcessCall) Do ¶
func (c *RasterCollectionsProcessCall) Do() (*ProcessResponse, error)
func (*RasterCollectionsProcessCall) Fields ¶
func (c *RasterCollectionsProcessCall) Fields(s ...googleapi.Field) *RasterCollectionsProcessCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsRaster ¶
type RasterCollectionsRaster struct { // Bbox: A rectangular bounding box which contains all of the data in // this Raster. The box is expressed as \"west, south, east, north\". // The numbers represent latitudes and longitudes in decimal degrees. Bbox []float64 `json:"bbox,omitempty"` // CreationTime: The creation time of this raster. The value is an RFC // 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // Description: The description of this Raster, supplied by the author. Description string `json:"description,omitempty"` // Id: A globally unique ID, used to refer to this Raster. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this raster. The value is // an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // Name: The name of this Raster, supplied by the author. Name string `json:"name,omitempty"` // ProjectId: The ID of the project that this Raster is in. ProjectId string `json:"projectId,omitempty"` // RasterType: The type of this Raster. Always "image" today. RasterType string `json:"rasterType,omitempty"` // Tags: Tags of this Raster. Tags []string `json:"tags,omitempty"` }
type RasterCollectionsRasterBatchDeleteRequest ¶
type RasterCollectionsRasterBatchDeleteRequest struct { // Ids: An array of Raster asset IDs to be removed from this // RasterCollection. Ids []string `json:"ids,omitempty"` }
type RasterCollectionsRastersBatchDeleteCall ¶
type RasterCollectionsRastersBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsRastersBatchDeleteCall) Fields ¶
func (c *RasterCollectionsRastersBatchDeleteCall) Fields(s ...googleapi.Field) *RasterCollectionsRastersBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsRastersBatchDeleteResponse ¶
type RasterCollectionsRastersBatchDeleteResponse struct { }
type RasterCollectionsRastersBatchInsertCall ¶
type RasterCollectionsRastersBatchInsertCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsRastersBatchInsertCall) Fields ¶
func (c *RasterCollectionsRastersBatchInsertCall) Fields(s ...googleapi.Field) *RasterCollectionsRastersBatchInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RasterCollectionsRastersBatchInsertRequest ¶
type RasterCollectionsRastersBatchInsertRequest struct { // Ids: An array of Raster asset IDs to be added to this // RasterCollection. Ids []string `json:"ids,omitempty"` }
type RasterCollectionsRastersBatchInsertResponse ¶
type RasterCollectionsRastersBatchInsertResponse struct { }
type RasterCollectionsRastersListCall ¶
type RasterCollectionsRastersListCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsRastersListCall) Bbox ¶
func (c *RasterCollectionsRastersListCall) Bbox(bbox string) *RasterCollectionsRastersListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*RasterCollectionsRastersListCall) CreatedAfter ¶
func (c *RasterCollectionsRastersListCall) CreatedAfter(createdAfter string) *RasterCollectionsRastersListCall
CreatedAfter sets the optional parameter "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.
func (*RasterCollectionsRastersListCall) CreatedBefore ¶
func (c *RasterCollectionsRastersListCall) CreatedBefore(createdBefore string) *RasterCollectionsRastersListCall
CreatedBefore sets the optional parameter "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.
func (*RasterCollectionsRastersListCall) CreatorEmail ¶
func (c *RasterCollectionsRastersListCall) CreatorEmail(creatorEmail string) *RasterCollectionsRastersListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*RasterCollectionsRastersListCall) Do ¶
func (c *RasterCollectionsRastersListCall) Do() (*RasterCollectionsRastersListResponse, error)
func (*RasterCollectionsRastersListCall) Fields ¶
func (c *RasterCollectionsRastersListCall) Fields(s ...googleapi.Field) *RasterCollectionsRastersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RasterCollectionsRastersListCall) MaxResults ¶
func (c *RasterCollectionsRastersListCall) MaxResults(maxResults int64) *RasterCollectionsRastersListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*RasterCollectionsRastersListCall) ModifiedAfter ¶
func (c *RasterCollectionsRastersListCall) ModifiedAfter(modifiedAfter string) *RasterCollectionsRastersListCall
ModifiedAfter sets the optional parameter "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.
func (*RasterCollectionsRastersListCall) ModifiedBefore ¶
func (c *RasterCollectionsRastersListCall) ModifiedBefore(modifiedBefore string) *RasterCollectionsRastersListCall
ModifiedBefore sets the optional parameter "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.
func (*RasterCollectionsRastersListCall) PageToken ¶
func (c *RasterCollectionsRastersListCall) PageToken(pageToken string) *RasterCollectionsRastersListCall
PageToken sets the optional parameter "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.
func (*RasterCollectionsRastersListCall) Role ¶
func (c *RasterCollectionsRastersListCall) Role(role string) *RasterCollectionsRastersListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*RasterCollectionsRastersListCall) Search ¶
func (c *RasterCollectionsRastersListCall) Search(search string) *RasterCollectionsRastersListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*RasterCollectionsRastersListCall) Tags ¶
func (c *RasterCollectionsRastersListCall) Tags(tags string) *RasterCollectionsRastersListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
type RasterCollectionsRastersListResponse ¶
type RasterCollectionsRastersListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // Rasters: Resources returned. Rasters []*RasterCollectionsRaster `json:"rasters,omitempty"` }
type RasterCollectionsRastersService ¶
type RasterCollectionsRastersService struct {
// contains filtered or unexported fields
}
func NewRasterCollectionsRastersService ¶
func NewRasterCollectionsRastersService(s *Service) *RasterCollectionsRastersService
func (*RasterCollectionsRastersService) BatchDelete ¶
func (r *RasterCollectionsRastersService) BatchDelete(id string, rastercollectionsrasterbatchdeleterequest *RasterCollectionsRasterBatchDeleteRequest) *RasterCollectionsRastersBatchDeleteCall
BatchDelete: Remove rasters from an existing raster collection.
Up to 50 rasters can be included in a single batchDelete request. Each batchDelete request is atomic.
func (*RasterCollectionsRastersService) BatchInsert ¶
func (r *RasterCollectionsRastersService) BatchInsert(id string, rastercollectionsrastersbatchinsertrequest *RasterCollectionsRastersBatchInsertRequest) *RasterCollectionsRastersBatchInsertCall
BatchInsert: 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.
func (*RasterCollectionsRastersService) List ¶
func (r *RasterCollectionsRastersService) List(id string) *RasterCollectionsRastersListCall
List: Return all rasters within a raster collection.
type RasterCollectionsService ¶
type RasterCollectionsService struct { Parents *RasterCollectionsParentsService Permissions *RasterCollectionsPermissionsService Rasters *RasterCollectionsRastersService // contains filtered or unexported fields }
func NewRasterCollectionsService ¶
func NewRasterCollectionsService(s *Service) *RasterCollectionsService
func (*RasterCollectionsService) CancelProcessing ¶
func (r *RasterCollectionsService) CancelProcessing(id string) *RasterCollectionsCancelProcessingCall
CancelProcessing: Cancel processing on a raster collection asset.
func (*RasterCollectionsService) Create ¶
func (r *RasterCollectionsService) Create(rastercollection *RasterCollection) *RasterCollectionsCreateCall
Create: Create a raster collection asset.
func (*RasterCollectionsService) Delete ¶
func (r *RasterCollectionsService) Delete(id string) *RasterCollectionsDeleteCall
Delete: Delete a raster collection.
func (*RasterCollectionsService) Get ¶
func (r *RasterCollectionsService) Get(id string) *RasterCollectionsGetCall
Get: Return metadata for a particular raster collection.
func (*RasterCollectionsService) List ¶
func (r *RasterCollectionsService) List() *RasterCollectionsListCall
List: Return all raster collections readable by the current user.
func (*RasterCollectionsService) Patch ¶
func (r *RasterCollectionsService) Patch(id string, rastercollection *RasterCollection) *RasterCollectionsPatchCall
Patch: Mutate a raster collection asset.
func (*RasterCollectionsService) Process ¶
func (r *RasterCollectionsService) Process(id string) *RasterCollectionsProcessCall
Process: Process a raster collection asset.
type RastersDeleteCall ¶
type RastersDeleteCall struct {
// contains filtered or unexported fields
}
func (*RastersDeleteCall) Do ¶
func (c *RastersDeleteCall) Do() error
func (*RastersDeleteCall) Fields ¶
func (c *RastersDeleteCall) Fields(s ...googleapi.Field) *RastersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersFilesInsertCall ¶
type RastersFilesInsertCall struct {
// contains filtered or unexported fields
}
func (*RastersFilesInsertCall) Do ¶
func (c *RastersFilesInsertCall) Do() error
func (*RastersFilesInsertCall) Fields ¶
func (c *RastersFilesInsertCall) Fields(s ...googleapi.Field) *RastersFilesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RastersFilesInsertCall) Media ¶
func (c *RastersFilesInsertCall) Media(r io.Reader) *RastersFilesInsertCall
type RastersFilesService ¶
type RastersFilesService struct {
// contains filtered or unexported fields
}
func NewRastersFilesService ¶
func NewRastersFilesService(s *Service) *RastersFilesService
func (*RastersFilesService) Insert ¶
func (r *RastersFilesService) Insert(id string, filename string) *RastersFilesInsertCall
Insert: Upload a file to a raster asset.
type RastersGetCall ¶
type RastersGetCall struct {
// contains filtered or unexported fields
}
func (*RastersGetCall) Do ¶
func (c *RastersGetCall) Do() (*Raster, error)
func (*RastersGetCall) Fields ¶
func (c *RastersGetCall) Fields(s ...googleapi.Field) *RastersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersListCall ¶
type RastersListCall struct {
// contains filtered or unexported fields
}
func (*RastersListCall) Bbox ¶
func (c *RastersListCall) Bbox(bbox string) *RastersListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*RastersListCall) CreatedAfter ¶
func (c *RastersListCall) CreatedAfter(createdAfter string) *RastersListCall
CreatedAfter sets the optional parameter "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.
func (*RastersListCall) CreatedBefore ¶
func (c *RastersListCall) CreatedBefore(createdBefore string) *RastersListCall
CreatedBefore sets the optional parameter "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.
func (*RastersListCall) CreatorEmail ¶
func (c *RastersListCall) CreatorEmail(creatorEmail string) *RastersListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*RastersListCall) Do ¶
func (c *RastersListCall) Do() (*RastersListResponse, error)
func (*RastersListCall) Fields ¶
func (c *RastersListCall) Fields(s ...googleapi.Field) *RastersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RastersListCall) MaxResults ¶
func (c *RastersListCall) MaxResults(maxResults int64) *RastersListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*RastersListCall) ModifiedAfter ¶
func (c *RastersListCall) ModifiedAfter(modifiedAfter string) *RastersListCall
ModifiedAfter sets the optional parameter "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.
func (*RastersListCall) ModifiedBefore ¶
func (c *RastersListCall) ModifiedBefore(modifiedBefore string) *RastersListCall
ModifiedBefore sets the optional parameter "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.
func (*RastersListCall) PageToken ¶
func (c *RastersListCall) PageToken(pageToken string) *RastersListCall
PageToken sets the optional parameter "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.
func (*RastersListCall) ProcessingStatus ¶
func (c *RastersListCall) ProcessingStatus(processingStatus string) *RastersListCall
ProcessingStatus sets the optional parameter "processingStatus":
func (*RastersListCall) Role ¶
func (c *RastersListCall) Role(role string) *RastersListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*RastersListCall) Search ¶
func (c *RastersListCall) Search(search string) *RastersListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*RastersListCall) Tags ¶
func (c *RastersListCall) Tags(tags string) *RastersListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
type RastersListResponse ¶
type RastersParentsListCall ¶
type RastersParentsListCall struct {
// contains filtered or unexported fields
}
func (*RastersParentsListCall) Do ¶
func (c *RastersParentsListCall) Do() (*ParentsListResponse, error)
func (*RastersParentsListCall) Fields ¶
func (c *RastersParentsListCall) Fields(s ...googleapi.Field) *RastersParentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*RastersParentsListCall) MaxResults ¶
func (c *RastersParentsListCall) MaxResults(maxResults int64) *RastersParentsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.
func (*RastersParentsListCall) PageToken ¶
func (c *RastersParentsListCall) PageToken(pageToken string) *RastersParentsListCall
PageToken sets the optional parameter "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.
type RastersParentsService ¶
type RastersParentsService struct {
// contains filtered or unexported fields
}
func NewRastersParentsService ¶
func NewRastersParentsService(s *Service) *RastersParentsService
func (*RastersParentsService) List ¶
func (r *RastersParentsService) List(id string) *RastersParentsListCall
List: Return all parent ids of the specified rasters.
type RastersPatchCall ¶
type RastersPatchCall struct {
// contains filtered or unexported fields
}
func (*RastersPatchCall) Do ¶
func (c *RastersPatchCall) Do() error
func (*RastersPatchCall) Fields ¶
func (c *RastersPatchCall) Fields(s ...googleapi.Field) *RastersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersPermissionsBatchDeleteCall ¶
type RastersPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*RastersPermissionsBatchDeleteCall) Do ¶
func (c *RastersPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
func (*RastersPermissionsBatchDeleteCall) Fields ¶
func (c *RastersPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *RastersPermissionsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersPermissionsBatchUpdateCall ¶
type RastersPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*RastersPermissionsBatchUpdateCall) Do ¶
func (c *RastersPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
func (*RastersPermissionsBatchUpdateCall) Fields ¶
func (c *RastersPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *RastersPermissionsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersPermissionsListCall ¶
type RastersPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*RastersPermissionsListCall) Do ¶
func (c *RastersPermissionsListCall) Do() (*PermissionsListResponse, error)
func (*RastersPermissionsListCall) Fields ¶
func (c *RastersPermissionsListCall) Fields(s ...googleapi.Field) *RastersPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersPermissionsService ¶
type RastersPermissionsService struct {
// contains filtered or unexported fields
}
func NewRastersPermissionsService ¶
func NewRastersPermissionsService(s *Service) *RastersPermissionsService
func (*RastersPermissionsService) BatchDelete ¶
func (r *RastersPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *RastersPermissionsBatchDeleteCall
BatchDelete: Remove permission entries from an already existing asset.
func (*RastersPermissionsService) BatchUpdate ¶
func (r *RastersPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *RastersPermissionsBatchUpdateCall
BatchUpdate: Add or update permission entries to an already existing asset.
An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.
func (*RastersPermissionsService) List ¶
func (r *RastersPermissionsService) List(id string) *RastersPermissionsListCall
List: Return all of the permissions for the specified asset.
type RastersProcessCall ¶
type RastersProcessCall struct {
// contains filtered or unexported fields
}
func (*RastersProcessCall) Do ¶
func (c *RastersProcessCall) Do() (*ProcessResponse, error)
func (*RastersProcessCall) Fields ¶
func (c *RastersProcessCall) Fields(s ...googleapi.Field) *RastersProcessCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type RastersService ¶
type RastersService struct { Files *RastersFilesService Parents *RastersParentsService Permissions *RastersPermissionsService // contains filtered or unexported fields }
func NewRastersService ¶
func NewRastersService(s *Service) *RastersService
func (*RastersService) Delete ¶
func (r *RastersService) Delete(id string) *RastersDeleteCall
Delete: Delete a raster.
func (*RastersService) Get ¶
func (r *RastersService) Get(id string) *RastersGetCall
Get: Return metadata for a single raster.
func (*RastersService) List ¶
func (r *RastersService) List(projectId string) *RastersListCall
List: Return all rasters readable by the current user.
func (*RastersService) Patch ¶
func (r *RastersService) Patch(id string, raster *Raster) *RastersPatchCall
Patch: Mutate a raster asset.
func (*RastersService) Process ¶
func (r *RastersService) Process(id string) *RastersProcessCall
Process: Process a raster asset.
func (*RastersService) Upload ¶
func (r *RastersService) Upload(raster *Raster) *RastersUploadCall
Upload: Create a skeleton raster asset for upload.
type RastersUploadCall ¶
type RastersUploadCall struct {
// contains filtered or unexported fields
}
func (*RastersUploadCall) Do ¶
func (c *RastersUploadCall) Do() (*Raster, error)
func (*RastersUploadCall) Fields ¶
func (c *RastersUploadCall) Fields(s ...googleapi.Field) *RastersUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ScaledShape ¶
type ScaledShape struct { // Border: Border color/width of the shape. If not specified the shape // won't have a border. Border *Border `json:"border,omitempty"` // Fill: The fill color of the shape. If not specified the shape will be // transparent (although the borders may not be). Fill *Color `json:"fill,omitempty"` // Shape: Name of the shape. Shape string `json:"shape,omitempty"` }
type ScalingFunction ¶
type ScalingFunction struct { // Column: Name of the numeric column used to scale a shape. Column string `json:"column,omitempty"` // ScalingType: The type of scaling function to use. Defaults to SQRT. // Currently only linear and square root scaling are supported. ScalingType string `json:"scalingType,omitempty"` // SizeRange: The range of shape sizes, in pixels. For circles, the size // corresponds to the diameter. SizeRange *SizeRange `json:"sizeRange,omitempty"` // ValueRange: The range of values to display across the size range. ValueRange *ValueRange `json:"valueRange,omitempty"` }
type Schema ¶
type Schema struct { // Columns: An array of TableColumn objects. The first object in the // array must be named geometry and be of type points, lineStrings, // polygons, or mixedGeometry. Columns []*TableColumn `json:"columns,omitempty"` // PrimaryGeometry: The name of the column that contains a feature's // geometry. This field can be omitted during table create; Google Maps // Engine supports only a single geometry column, which must be named // geometry and be the first object in the columns array. PrimaryGeometry string `json:"primaryGeometry,omitempty"` // PrimaryKey: The name of the column that contains the unique // identifier of a Feature. PrimaryKey string `json:"primaryKey,omitempty"` }
type Service ¶
type Service struct { BasePath string // API endpoint base URL Assets *AssetsService Layers *LayersService Maps *MapsService Projects *ProjectsService RasterCollections *RasterCollectionsService Rasters *RastersService Tables *TablesService // contains filtered or unexported fields }
type Table ¶
type Table struct { // Bbox: A rectangular bounding box which contains all of the data in // this Table. The box is expressed as \"west, south, east, north\". The // numbers represent latitude and longitude in decimal degrees. Bbox []float64 `json:"bbox,omitempty"` // CreationTime: The creation time of this table. The value is an RFC // 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). CreationTime string `json:"creationTime,omitempty"` // CreatorEmail: The email address of the creator of this table. This is // only returned on GET requests and not LIST requests. CreatorEmail string `json:"creatorEmail,omitempty"` // Description: The description of this table, supplied by the author. Description string `json:"description,omitempty"` // DraftAccessList: Deprecated: The name of an access list of the Map // Editor type. The user on whose behalf the request is being sent must // be an editor on that access list. Note: Google Maps Engine no longer // uses access lists. Instead, each asset has its own list of // permissions. For backward compatibility, the API still accepts access // lists for projects that are already using access lists. If you // created a GME account/project after July 14th, 2014, you will not be // able to send API requests that include access lists. Note: This is an // input field only. It is not returned in response to a list or get // request. DraftAccessList string `json:"draftAccessList,omitempty"` // Etag: The ETag, used to refer to the current version of the asset. Etag string `json:"etag,omitempty"` // Files: The files associated with this table. Files []*File `json:"files,omitempty"` // Id: A globally unique ID, used to refer to this table. Id string `json:"id,omitempty"` // LastModifiedTime: The last modified time of this table. The value is // an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). LastModifiedTime string `json:"lastModifiedTime,omitempty"` // LastModifierEmail: The email address of the last modifier of this // table. This is only returned on GET requests and not LIST requests. LastModifierEmail string `json:"lastModifierEmail,omitempty"` // Name: The name of this table, supplied by the author. Name string `json:"name,omitempty"` // ProcessingStatus: The processing status of this table. ProcessingStatus string `json:"processingStatus,omitempty"` // ProjectId: The ID of the project to which the table belongs. ProjectId string `json:"projectId,omitempty"` // PublishedAccessList: Deprecated: The access list to whom view // permissions are granted. The value must be the name of a Maps Engine // access list of the Map Viewer type, and the user must be a viewer on // that list. Note: Google Maps Engine no longer uses access lists. // Instead, each asset has its own list of permissions. For backward // compatibility, the API still accepts access lists for projects that // are already using access lists. If you created a GME account/project // after July 14th, 2014, you will not be able to send API requests that // include access lists. Note: This is an input field only. It is not // returned in response to a list or get request. PublishedAccessList string `json:"publishedAccessList,omitempty"` // Schema: The schema for this table. Note: The schema is returned in // response to a get request but not a list request. After requesting a // list of tables, you'll need to send a get request to retrieve the // schema for each table. Schema *Schema `json:"schema,omitempty"` // SourceEncoding: Encoding of the uploaded files. Valid values include // UTF-8, CP1251, ISO 8859-1, and Shift_JIS. SourceEncoding string `json:"sourceEncoding,omitempty"` // Tags: An array of text strings, with each string representing a tag. // More information about tags can be found in the Tagging data article // of the Maps Engine help center. Tags []string `json:"tags,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` }
type TableColumn ¶
type TablesCreateCall ¶
type TablesCreateCall struct {
// contains filtered or unexported fields
}
func (*TablesCreateCall) Do ¶
func (c *TablesCreateCall) Do() (*Table, error)
func (*TablesCreateCall) Fields ¶
func (c *TablesCreateCall) Fields(s ...googleapi.Field) *TablesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesDeleteCall ¶
type TablesDeleteCall struct {
// contains filtered or unexported fields
}
func (*TablesDeleteCall) Do ¶
func (c *TablesDeleteCall) Do() error
func (*TablesDeleteCall) Fields ¶
func (c *TablesDeleteCall) Fields(s ...googleapi.Field) *TablesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesFeaturesBatchDeleteCall ¶
type TablesFeaturesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesBatchDeleteCall) Do ¶
func (c *TablesFeaturesBatchDeleteCall) Do() error
func (*TablesFeaturesBatchDeleteCall) Fields ¶
func (c *TablesFeaturesBatchDeleteCall) Fields(s ...googleapi.Field) *TablesFeaturesBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesFeaturesBatchInsertCall ¶
type TablesFeaturesBatchInsertCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesBatchInsertCall) Do ¶
func (c *TablesFeaturesBatchInsertCall) Do() error
func (*TablesFeaturesBatchInsertCall) Fields ¶
func (c *TablesFeaturesBatchInsertCall) Fields(s ...googleapi.Field) *TablesFeaturesBatchInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesFeaturesBatchPatchCall ¶
type TablesFeaturesBatchPatchCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesBatchPatchCall) Do ¶
func (c *TablesFeaturesBatchPatchCall) Do() error
func (*TablesFeaturesBatchPatchCall) Fields ¶
func (c *TablesFeaturesBatchPatchCall) Fields(s ...googleapi.Field) *TablesFeaturesBatchPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesFeaturesGetCall ¶
type TablesFeaturesGetCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesGetCall) Do ¶
func (c *TablesFeaturesGetCall) Do() (*Feature, error)
func (*TablesFeaturesGetCall) Fields ¶
func (c *TablesFeaturesGetCall) Fields(s ...googleapi.Field) *TablesFeaturesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TablesFeaturesGetCall) Select ¶
func (c *TablesFeaturesGetCall) Select(select_ string) *TablesFeaturesGetCall
Select sets the optional parameter "select": A SQL-like projection clause used to specify returned properties. If this parameter is not included, all properties are returned.
func (*TablesFeaturesGetCall) Version ¶
func (c *TablesFeaturesGetCall) Version(version string) *TablesFeaturesGetCall
Version sets the optional parameter "version": The table version to access. See Accessing Public Data for information.
type TablesFeaturesListCall ¶
type TablesFeaturesListCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesListCall) Do ¶
func (c *TablesFeaturesListCall) Do() (*FeaturesListResponse, error)
func (*TablesFeaturesListCall) Fields ¶
func (c *TablesFeaturesListCall) Fields(s ...googleapi.Field) *TablesFeaturesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TablesFeaturesListCall) Include ¶
func (c *TablesFeaturesListCall) Include(include string) *TablesFeaturesListCall
Include sets the optional parameter "include": A comma separated list of optional data to include. Optional data available: schema.
func (*TablesFeaturesListCall) Intersects ¶
func (c *TablesFeaturesListCall) Intersects(intersects string) *TablesFeaturesListCall
Intersects sets the optional parameter "intersects": A geometry literal that specifies the spatial restriction of the query.
func (*TablesFeaturesListCall) Limit ¶
func (c *TablesFeaturesListCall) Limit(limit int64) *TablesFeaturesListCall
Limit sets the optional parameter "limit": The total number of features to return from the query, irrespective of the number of pages.
func (*TablesFeaturesListCall) MaxResults ¶
func (c *TablesFeaturesListCall) MaxResults(maxResults int64) *TablesFeaturesListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in the response, used for paging. The maximum supported value is 1000.
func (*TablesFeaturesListCall) OrderBy ¶
func (c *TablesFeaturesListCall) OrderBy(orderBy string) *TablesFeaturesListCall
OrderBy sets the optional parameter "orderBy": An SQL-like order by clause used to sort results. If this parameter is not included, the order of features is undefined.
func (*TablesFeaturesListCall) PageToken ¶
func (c *TablesFeaturesListCall) PageToken(pageToken string) *TablesFeaturesListCall
PageToken sets the optional parameter "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.
func (*TablesFeaturesListCall) Select ¶
func (c *TablesFeaturesListCall) Select(select_ string) *TablesFeaturesListCall
Select sets the optional parameter "select": A SQL-like projection clause used to specify returned properties. If this parameter is not included, all properties are returned.
func (*TablesFeaturesListCall) Version ¶
func (c *TablesFeaturesListCall) Version(version string) *TablesFeaturesListCall
Version sets the optional parameter "version": The table version to access. See Accessing Public Data for information.
func (*TablesFeaturesListCall) Where ¶
func (c *TablesFeaturesListCall) Where(where string) *TablesFeaturesListCall
Where sets the optional parameter "where": An SQL-like predicate used to filter results.
type TablesFeaturesService ¶
type TablesFeaturesService struct {
// contains filtered or unexported fields
}
func NewTablesFeaturesService ¶
func NewTablesFeaturesService(s *Service) *TablesFeaturesService
func (*TablesFeaturesService) BatchDelete ¶
func (r *TablesFeaturesService) BatchDelete(id string, featuresbatchdeleterequest *FeaturesBatchDeleteRequest) *TablesFeaturesBatchDeleteCall
BatchDelete: Delete all features matching the given IDs.
func (*TablesFeaturesService) BatchInsert ¶
func (r *TablesFeaturesService) BatchInsert(id string, featuresbatchinsertrequest *FeaturesBatchInsertRequest) *TablesFeaturesBatchInsertCall
BatchInsert: 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.
func (*TablesFeaturesService) BatchPatch ¶
func (r *TablesFeaturesService) BatchPatch(id string, featuresbatchpatchrequest *FeaturesBatchPatchRequest) *TablesFeaturesBatchPatchCall
BatchPatch: 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.
func (*TablesFeaturesService) Get ¶
func (r *TablesFeaturesService) Get(tableId string, id string) *TablesFeaturesGetCall
Get: Return a single feature, given its ID.
func (*TablesFeaturesService) List ¶
func (r *TablesFeaturesService) List(id string) *TablesFeaturesListCall
List: Return all features readable by the current user.
type TablesFilesInsertCall ¶
type TablesFilesInsertCall struct {
// contains filtered or unexported fields
}
func (*TablesFilesInsertCall) Do ¶
func (c *TablesFilesInsertCall) Do() error
func (*TablesFilesInsertCall) Fields ¶
func (c *TablesFilesInsertCall) Fields(s ...googleapi.Field) *TablesFilesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TablesFilesInsertCall) Media ¶
func (c *TablesFilesInsertCall) Media(r io.Reader) *TablesFilesInsertCall
type TablesFilesService ¶
type TablesFilesService struct {
// contains filtered or unexported fields
}
func NewTablesFilesService ¶
func NewTablesFilesService(s *Service) *TablesFilesService
func (*TablesFilesService) Insert ¶
func (r *TablesFilesService) Insert(id string, filename string) *TablesFilesInsertCall
Insert: 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.
type TablesGetCall ¶
type TablesGetCall struct {
// contains filtered or unexported fields
}
func (*TablesGetCall) Do ¶
func (c *TablesGetCall) Do() (*Table, error)
func (*TablesGetCall) Fields ¶
func (c *TablesGetCall) Fields(s ...googleapi.Field) *TablesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TablesGetCall) Version ¶
func (c *TablesGetCall) Version(version string) *TablesGetCall
Version sets the optional parameter "version":
type TablesListCall ¶
type TablesListCall struct {
// contains filtered or unexported fields
}
func (*TablesListCall) Bbox ¶
func (c *TablesListCall) Bbox(bbox string) *TablesListCall
Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.
func (*TablesListCall) CreatedAfter ¶
func (c *TablesListCall) CreatedAfter(createdAfter string) *TablesListCall
CreatedAfter sets the optional parameter "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.
func (*TablesListCall) CreatedBefore ¶
func (c *TablesListCall) CreatedBefore(createdBefore string) *TablesListCall
CreatedBefore sets the optional parameter "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.
func (*TablesListCall) CreatorEmail ¶
func (c *TablesListCall) CreatorEmail(creatorEmail string) *TablesListCall
CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.
func (*TablesListCall) Do ¶
func (c *TablesListCall) Do() (*TablesListResponse, error)
func (*TablesListCall) Fields ¶
func (c *TablesListCall) Fields(s ...googleapi.Field) *TablesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TablesListCall) MaxResults ¶
func (c *TablesListCall) MaxResults(maxResults int64) *TablesListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.
func (*TablesListCall) ModifiedAfter ¶
func (c *TablesListCall) ModifiedAfter(modifiedAfter string) *TablesListCall
ModifiedAfter sets the optional parameter "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.
func (*TablesListCall) ModifiedBefore ¶
func (c *TablesListCall) ModifiedBefore(modifiedBefore string) *TablesListCall
ModifiedBefore sets the optional parameter "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.
func (*TablesListCall) PageToken ¶
func (c *TablesListCall) PageToken(pageToken string) *TablesListCall
PageToken sets the optional parameter "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.
func (*TablesListCall) ProcessingStatus ¶
func (c *TablesListCall) ProcessingStatus(processingStatus string) *TablesListCall
ProcessingStatus sets the optional parameter "processingStatus":
func (*TablesListCall) ProjectId ¶
func (c *TablesListCall) ProjectId(projectId string) *TablesListCall
ProjectId sets the optional parameter "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.
func (*TablesListCall) Role ¶
func (c *TablesListCall) Role(role string) *TablesListCall
Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.
func (*TablesListCall) Search ¶
func (c *TablesListCall) Search(search string) *TablesListCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*TablesListCall) Tags ¶
func (c *TablesListCall) Tags(tags string) *TablesListCall
Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.
type TablesListResponse ¶
type TablesParentsListCall ¶
type TablesParentsListCall struct {
// contains filtered or unexported fields
}
func (*TablesParentsListCall) Do ¶
func (c *TablesParentsListCall) Do() (*ParentsListResponse, error)
func (*TablesParentsListCall) Fields ¶
func (c *TablesParentsListCall) Fields(s ...googleapi.Field) *TablesParentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*TablesParentsListCall) MaxResults ¶
func (c *TablesParentsListCall) MaxResults(maxResults int64) *TablesParentsListCall
MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.
func (*TablesParentsListCall) PageToken ¶
func (c *TablesParentsListCall) PageToken(pageToken string) *TablesParentsListCall
PageToken sets the optional parameter "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.
type TablesParentsService ¶
type TablesParentsService struct {
// contains filtered or unexported fields
}
func NewTablesParentsService ¶
func NewTablesParentsService(s *Service) *TablesParentsService
func (*TablesParentsService) List ¶
func (r *TablesParentsService) List(id string) *TablesParentsListCall
List: Return all parent ids of the specified table.
type TablesPatchCall ¶
type TablesPatchCall struct {
// contains filtered or unexported fields
}
func (*TablesPatchCall) Do ¶
func (c *TablesPatchCall) Do() error
func (*TablesPatchCall) Fields ¶
func (c *TablesPatchCall) Fields(s ...googleapi.Field) *TablesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesPermissionsBatchDeleteCall ¶
type TablesPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*TablesPermissionsBatchDeleteCall) Do ¶
func (c *TablesPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
func (*TablesPermissionsBatchDeleteCall) Fields ¶
func (c *TablesPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *TablesPermissionsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesPermissionsBatchUpdateCall ¶
type TablesPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*TablesPermissionsBatchUpdateCall) Do ¶
func (c *TablesPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
func (*TablesPermissionsBatchUpdateCall) Fields ¶
func (c *TablesPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *TablesPermissionsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesPermissionsListCall ¶
type TablesPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*TablesPermissionsListCall) Do ¶
func (c *TablesPermissionsListCall) Do() (*PermissionsListResponse, error)
func (*TablesPermissionsListCall) Fields ¶
func (c *TablesPermissionsListCall) Fields(s ...googleapi.Field) *TablesPermissionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesPermissionsService ¶
type TablesPermissionsService struct {
// contains filtered or unexported fields
}
func NewTablesPermissionsService ¶
func NewTablesPermissionsService(s *Service) *TablesPermissionsService
func (*TablesPermissionsService) BatchDelete ¶
func (r *TablesPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *TablesPermissionsBatchDeleteCall
BatchDelete: Remove permission entries from an already existing asset.
func (*TablesPermissionsService) BatchUpdate ¶
func (r *TablesPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *TablesPermissionsBatchUpdateCall
BatchUpdate: Add or update permission entries to an already existing asset.
An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.
func (*TablesPermissionsService) List ¶
func (r *TablesPermissionsService) List(id string) *TablesPermissionsListCall
List: Return all of the permissions for the specified asset.
type TablesProcessCall ¶
type TablesProcessCall struct {
// contains filtered or unexported fields
}
func (*TablesProcessCall) Do ¶
func (c *TablesProcessCall) Do() (*ProcessResponse, error)
func (*TablesProcessCall) Fields ¶
func (c *TablesProcessCall) Fields(s ...googleapi.Field) *TablesProcessCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type TablesService ¶
type TablesService struct { Features *TablesFeaturesService Files *TablesFilesService Parents *TablesParentsService Permissions *TablesPermissionsService // contains filtered or unexported fields }
func NewTablesService ¶
func NewTablesService(s *Service) *TablesService
func (*TablesService) Create ¶
func (r *TablesService) Create(table *Table) *TablesCreateCall
Create: Create a table asset.
func (*TablesService) Delete ¶
func (r *TablesService) Delete(id string) *TablesDeleteCall
Delete: Delete a table.
func (*TablesService) Get ¶
func (r *TablesService) Get(id string) *TablesGetCall
Get: Return metadata for a particular table, including the schema.
func (*TablesService) List ¶
func (r *TablesService) List() *TablesListCall
List: Return all tables readable by the current user.
func (*TablesService) Patch ¶
func (r *TablesService) Patch(id string, table *Table) *TablesPatchCall
Patch: Mutate a table asset.
func (*TablesService) Process ¶
func (r *TablesService) Process(id string) *TablesProcessCall
Process: Process a table asset.
func (*TablesService) Upload ¶
func (r *TablesService) Upload(table *Table) *TablesUploadCall
Upload: 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.
type TablesUploadCall ¶
type TablesUploadCall struct {
// contains filtered or unexported fields
}
func (*TablesUploadCall) Do ¶
func (c *TablesUploadCall) Do() (*Table, error)
func (*TablesUploadCall) Fields ¶
func (c *TablesUploadCall) Fields(s ...googleapi.Field) *TablesUploadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
type ValueRange ¶
type VectorStyle ¶
type VectorStyle struct { DisplayRules []*DisplayRule `json:"displayRules,omitempty"` // FeatureInfo: Individual feature info, this is called Info Window in // Maps Engine UI. If not provided, a default template with all // attributes will be generated. FeatureInfo *FeatureInfo `json:"featureInfo,omitempty"` // Type: The type of the vector style. Currently, only displayRule is // supported. Type string `json:"type,omitempty"` }