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
- func (c *AssetsGetCall) Context(ctx context.Context) *AssetsGetCall
- func (c *AssetsGetCall) Do() (*Asset, error)
- func (c *AssetsGetCall) Fields(s ...googleapi.Field) *AssetsGetCall
- func (c *AssetsGetCall) IfNoneMatch(entityTag string) *AssetsGetCall
- func (c *AssetsGetCall) QuotaUser(quotaUser string) *AssetsGetCall
- func (c *AssetsGetCall) UserIP(userIP string) *AssetsGetCall
- type AssetsListCall
- func (c *AssetsListCall) Bbox(bbox string) *AssetsListCall
- func (c *AssetsListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser 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
- func (c *AssetsListCall) UserIP(userIP string) *AssetsListCall
- type AssetsListResponse
- type AssetsParentsListCall
- func (c *AssetsParentsListCall) Context(ctx context.Context) *AssetsParentsListCall
- func (c *AssetsParentsListCall) Do() (*ParentsListResponse, error)
- func (c *AssetsParentsListCall) Fields(s ...googleapi.Field) *AssetsParentsListCall
- func (c *AssetsParentsListCall) IfNoneMatch(entityTag string) *AssetsParentsListCall
- func (c *AssetsParentsListCall) MaxResults(maxResults int64) *AssetsParentsListCall
- func (c *AssetsParentsListCall) PageToken(pageToken string) *AssetsParentsListCall
- func (c *AssetsParentsListCall) QuotaUser(quotaUser string) *AssetsParentsListCall
- func (c *AssetsParentsListCall) UserIP(userIP string) *AssetsParentsListCall
- type AssetsParentsService
- type AssetsPermissionsListCall
- func (c *AssetsPermissionsListCall) Context(ctx context.Context) *AssetsPermissionsListCall
- func (c *AssetsPermissionsListCall) Do() (*PermissionsListResponse, error)
- func (c *AssetsPermissionsListCall) Fields(s ...googleapi.Field) *AssetsPermissionsListCall
- func (c *AssetsPermissionsListCall) IfNoneMatch(entityTag string) *AssetsPermissionsListCall
- func (c *AssetsPermissionsListCall) QuotaUser(quotaUser string) *AssetsPermissionsListCall
- func (c *AssetsPermissionsListCall) UserIP(userIP string) *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
- func (c *LayersCancelProcessingCall) Context(ctx context.Context) *LayersCancelProcessingCall
- func (c *LayersCancelProcessingCall) Do() (*ProcessResponse, error)
- func (c *LayersCancelProcessingCall) Fields(s ...googleapi.Field) *LayersCancelProcessingCall
- func (c *LayersCancelProcessingCall) QuotaUser(quotaUser string) *LayersCancelProcessingCall
- func (c *LayersCancelProcessingCall) UserIP(userIP string) *LayersCancelProcessingCall
- type LayersCreateCall
- func (c *LayersCreateCall) Context(ctx context.Context) *LayersCreateCall
- func (c *LayersCreateCall) Do() (*Layer, error)
- func (c *LayersCreateCall) Fields(s ...googleapi.Field) *LayersCreateCall
- func (c *LayersCreateCall) Process(process bool) *LayersCreateCall
- func (c *LayersCreateCall) QuotaUser(quotaUser string) *LayersCreateCall
- func (c *LayersCreateCall) UserIP(userIP string) *LayersCreateCall
- type LayersDeleteCall
- func (c *LayersDeleteCall) Context(ctx context.Context) *LayersDeleteCall
- func (c *LayersDeleteCall) Do() error
- func (c *LayersDeleteCall) Fields(s ...googleapi.Field) *LayersDeleteCall
- func (c *LayersDeleteCall) QuotaUser(quotaUser string) *LayersDeleteCall
- func (c *LayersDeleteCall) UserIP(userIP string) *LayersDeleteCall
- type LayersGetCall
- func (c *LayersGetCall) Context(ctx context.Context) *LayersGetCall
- func (c *LayersGetCall) Do() (*Layer, error)
- func (c *LayersGetCall) Fields(s ...googleapi.Field) *LayersGetCall
- func (c *LayersGetCall) IfNoneMatch(entityTag string) *LayersGetCall
- func (c *LayersGetCall) QuotaUser(quotaUser string) *LayersGetCall
- func (c *LayersGetCall) UserIP(userIP string) *LayersGetCall
- func (c *LayersGetCall) Version(version string) *LayersGetCall
- type LayersGetPublishedCall
- func (c *LayersGetPublishedCall) Context(ctx context.Context) *LayersGetPublishedCall
- func (c *LayersGetPublishedCall) Do() (*PublishedLayer, error)
- func (c *LayersGetPublishedCall) Fields(s ...googleapi.Field) *LayersGetPublishedCall
- func (c *LayersGetPublishedCall) IfNoneMatch(entityTag string) *LayersGetPublishedCall
- func (c *LayersGetPublishedCall) QuotaUser(quotaUser string) *LayersGetPublishedCall
- func (c *LayersGetPublishedCall) UserIP(userIP string) *LayersGetPublishedCall
- type LayersListCall
- func (c *LayersListCall) Bbox(bbox string) *LayersListCall
- func (c *LayersListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser string) *LayersListCall
- func (c *LayersListCall) Role(role string) *LayersListCall
- func (c *LayersListCall) Search(search string) *LayersListCall
- func (c *LayersListCall) Tags(tags string) *LayersListCall
- func (c *LayersListCall) UserIP(userIP string) *LayersListCall
- type LayersListPublishedCall
- func (c *LayersListPublishedCall) Context(ctx context.Context) *LayersListPublishedCall
- func (c *LayersListPublishedCall) Do() (*PublishedLayersListResponse, error)
- func (c *LayersListPublishedCall) Fields(s ...googleapi.Field) *LayersListPublishedCall
- func (c *LayersListPublishedCall) IfNoneMatch(entityTag string) *LayersListPublishedCall
- func (c *LayersListPublishedCall) MaxResults(maxResults int64) *LayersListPublishedCall
- func (c *LayersListPublishedCall) PageToken(pageToken string) *LayersListPublishedCall
- func (c *LayersListPublishedCall) ProjectId(projectId string) *LayersListPublishedCall
- func (c *LayersListPublishedCall) QuotaUser(quotaUser string) *LayersListPublishedCall
- func (c *LayersListPublishedCall) Search(search string) *LayersListPublishedCall
- func (c *LayersListPublishedCall) UserIP(userIP string) *LayersListPublishedCall
- type LayersListResponse
- type LayersParentsListCall
- func (c *LayersParentsListCall) Context(ctx context.Context) *LayersParentsListCall
- func (c *LayersParentsListCall) Do() (*ParentsListResponse, error)
- func (c *LayersParentsListCall) Fields(s ...googleapi.Field) *LayersParentsListCall
- func (c *LayersParentsListCall) IfNoneMatch(entityTag string) *LayersParentsListCall
- func (c *LayersParentsListCall) MaxResults(maxResults int64) *LayersParentsListCall
- func (c *LayersParentsListCall) PageToken(pageToken string) *LayersParentsListCall
- func (c *LayersParentsListCall) QuotaUser(quotaUser string) *LayersParentsListCall
- func (c *LayersParentsListCall) UserIP(userIP string) *LayersParentsListCall
- type LayersParentsService
- type LayersPatchCall
- func (c *LayersPatchCall) Context(ctx context.Context) *LayersPatchCall
- func (c *LayersPatchCall) Do() error
- func (c *LayersPatchCall) Fields(s ...googleapi.Field) *LayersPatchCall
- func (c *LayersPatchCall) QuotaUser(quotaUser string) *LayersPatchCall
- func (c *LayersPatchCall) UserIP(userIP string) *LayersPatchCall
- type LayersPermissionsBatchDeleteCall
- func (c *LayersPermissionsBatchDeleteCall) Context(ctx context.Context) *LayersPermissionsBatchDeleteCall
- func (c *LayersPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
- func (c *LayersPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *LayersPermissionsBatchDeleteCall
- func (c *LayersPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *LayersPermissionsBatchDeleteCall
- func (c *LayersPermissionsBatchDeleteCall) UserIP(userIP string) *LayersPermissionsBatchDeleteCall
- type LayersPermissionsBatchUpdateCall
- func (c *LayersPermissionsBatchUpdateCall) Context(ctx context.Context) *LayersPermissionsBatchUpdateCall
- func (c *LayersPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
- func (c *LayersPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *LayersPermissionsBatchUpdateCall
- func (c *LayersPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *LayersPermissionsBatchUpdateCall
- func (c *LayersPermissionsBatchUpdateCall) UserIP(userIP string) *LayersPermissionsBatchUpdateCall
- type LayersPermissionsListCall
- func (c *LayersPermissionsListCall) Context(ctx context.Context) *LayersPermissionsListCall
- func (c *LayersPermissionsListCall) Do() (*PermissionsListResponse, error)
- func (c *LayersPermissionsListCall) Fields(s ...googleapi.Field) *LayersPermissionsListCall
- func (c *LayersPermissionsListCall) IfNoneMatch(entityTag string) *LayersPermissionsListCall
- func (c *LayersPermissionsListCall) QuotaUser(quotaUser string) *LayersPermissionsListCall
- func (c *LayersPermissionsListCall) UserIP(userIP string) *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
- func (c *LayersProcessCall) Context(ctx context.Context) *LayersProcessCall
- func (c *LayersProcessCall) Do() (*ProcessResponse, error)
- func (c *LayersProcessCall) Fields(s ...googleapi.Field) *LayersProcessCall
- func (c *LayersProcessCall) QuotaUser(quotaUser string) *LayersProcessCall
- func (c *LayersProcessCall) UserIP(userIP string) *LayersProcessCall
- type LayersPublishCall
- func (c *LayersPublishCall) Context(ctx context.Context) *LayersPublishCall
- func (c *LayersPublishCall) Do() (*PublishResponse, error)
- func (c *LayersPublishCall) Fields(s ...googleapi.Field) *LayersPublishCall
- func (c *LayersPublishCall) Force(force bool) *LayersPublishCall
- func (c *LayersPublishCall) QuotaUser(quotaUser string) *LayersPublishCall
- func (c *LayersPublishCall) UserIP(userIP string) *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
- func (c *LayersUnpublishCall) Context(ctx context.Context) *LayersUnpublishCall
- func (c *LayersUnpublishCall) Do() (*PublishResponse, error)
- func (c *LayersUnpublishCall) Fields(s ...googleapi.Field) *LayersUnpublishCall
- func (c *LayersUnpublishCall) QuotaUser(quotaUser string) *LayersUnpublishCall
- func (c *LayersUnpublishCall) UserIP(userIP string) *LayersUnpublishCall
- type LineStyle
- type LineStyleStroke
- type Map
- type MapFolder
- type MapItem
- type MapKmlLink
- type MapLayer
- type MapsCreateCall
- func (c *MapsCreateCall) Context(ctx context.Context) *MapsCreateCall
- func (c *MapsCreateCall) Do() (*Map, error)
- func (c *MapsCreateCall) Fields(s ...googleapi.Field) *MapsCreateCall
- func (c *MapsCreateCall) QuotaUser(quotaUser string) *MapsCreateCall
- func (c *MapsCreateCall) UserIP(userIP string) *MapsCreateCall
- type MapsDeleteCall
- func (c *MapsDeleteCall) Context(ctx context.Context) *MapsDeleteCall
- func (c *MapsDeleteCall) Do() error
- func (c *MapsDeleteCall) Fields(s ...googleapi.Field) *MapsDeleteCall
- func (c *MapsDeleteCall) QuotaUser(quotaUser string) *MapsDeleteCall
- func (c *MapsDeleteCall) UserIP(userIP string) *MapsDeleteCall
- type MapsGetCall
- func (c *MapsGetCall) Context(ctx context.Context) *MapsGetCall
- func (c *MapsGetCall) Do() (*Map, error)
- func (c *MapsGetCall) Fields(s ...googleapi.Field) *MapsGetCall
- func (c *MapsGetCall) IfNoneMatch(entityTag string) *MapsGetCall
- func (c *MapsGetCall) QuotaUser(quotaUser string) *MapsGetCall
- func (c *MapsGetCall) UserIP(userIP string) *MapsGetCall
- func (c *MapsGetCall) Version(version string) *MapsGetCall
- type MapsGetPublishedCall
- func (c *MapsGetPublishedCall) Context(ctx context.Context) *MapsGetPublishedCall
- func (c *MapsGetPublishedCall) Do() (*PublishedMap, error)
- func (c *MapsGetPublishedCall) Fields(s ...googleapi.Field) *MapsGetPublishedCall
- func (c *MapsGetPublishedCall) IfNoneMatch(entityTag string) *MapsGetPublishedCall
- func (c *MapsGetPublishedCall) QuotaUser(quotaUser string) *MapsGetPublishedCall
- func (c *MapsGetPublishedCall) UserIP(userIP string) *MapsGetPublishedCall
- type MapsListCall
- func (c *MapsListCall) Bbox(bbox string) *MapsListCall
- func (c *MapsListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser 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) UserIP(userIP string) *MapsListCall
- func (c *MapsListCall) Version(version string) *MapsListCall
- type MapsListPublishedCall
- func (c *MapsListPublishedCall) Context(ctx context.Context) *MapsListPublishedCall
- func (c *MapsListPublishedCall) Do() (*PublishedMapsListResponse, error)
- func (c *MapsListPublishedCall) Fields(s ...googleapi.Field) *MapsListPublishedCall
- func (c *MapsListPublishedCall) IfNoneMatch(entityTag string) *MapsListPublishedCall
- func (c *MapsListPublishedCall) MaxResults(maxResults int64) *MapsListPublishedCall
- func (c *MapsListPublishedCall) PageToken(pageToken string) *MapsListPublishedCall
- func (c *MapsListPublishedCall) ProjectId(projectId string) *MapsListPublishedCall
- func (c *MapsListPublishedCall) QuotaUser(quotaUser string) *MapsListPublishedCall
- func (c *MapsListPublishedCall) Search(search string) *MapsListPublishedCall
- func (c *MapsListPublishedCall) UserIP(userIP string) *MapsListPublishedCall
- type MapsListResponse
- type MapsPatchCall
- type MapsPermissionsBatchDeleteCall
- func (c *MapsPermissionsBatchDeleteCall) Context(ctx context.Context) *MapsPermissionsBatchDeleteCall
- func (c *MapsPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
- func (c *MapsPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *MapsPermissionsBatchDeleteCall
- func (c *MapsPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *MapsPermissionsBatchDeleteCall
- func (c *MapsPermissionsBatchDeleteCall) UserIP(userIP string) *MapsPermissionsBatchDeleteCall
- type MapsPermissionsBatchUpdateCall
- func (c *MapsPermissionsBatchUpdateCall) Context(ctx context.Context) *MapsPermissionsBatchUpdateCall
- func (c *MapsPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
- func (c *MapsPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *MapsPermissionsBatchUpdateCall
- func (c *MapsPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *MapsPermissionsBatchUpdateCall
- func (c *MapsPermissionsBatchUpdateCall) UserIP(userIP string) *MapsPermissionsBatchUpdateCall
- type MapsPermissionsListCall
- func (c *MapsPermissionsListCall) Context(ctx context.Context) *MapsPermissionsListCall
- func (c *MapsPermissionsListCall) Do() (*PermissionsListResponse, error)
- func (c *MapsPermissionsListCall) Fields(s ...googleapi.Field) *MapsPermissionsListCall
- func (c *MapsPermissionsListCall) IfNoneMatch(entityTag string) *MapsPermissionsListCall
- func (c *MapsPermissionsListCall) QuotaUser(quotaUser string) *MapsPermissionsListCall
- func (c *MapsPermissionsListCall) UserIP(userIP string) *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
- func (c *MapsPublishCall) Context(ctx context.Context) *MapsPublishCall
- func (c *MapsPublishCall) Do() (*PublishResponse, error)
- func (c *MapsPublishCall) Fields(s ...googleapi.Field) *MapsPublishCall
- func (c *MapsPublishCall) Force(force bool) *MapsPublishCall
- func (c *MapsPublishCall) QuotaUser(quotaUser string) *MapsPublishCall
- func (c *MapsPublishCall) UserIP(userIP string) *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
- func (c *MapsUnpublishCall) Context(ctx context.Context) *MapsUnpublishCall
- func (c *MapsUnpublishCall) Do() (*PublishResponse, error)
- func (c *MapsUnpublishCall) Fields(s ...googleapi.Field) *MapsUnpublishCall
- func (c *MapsUnpublishCall) QuotaUser(quotaUser string) *MapsUnpublishCall
- func (c *MapsUnpublishCall) UserIP(userIP string) *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
- func (c *ProjectsIconsCreateCall) Context(ctx context.Context) *ProjectsIconsCreateCall
- func (c *ProjectsIconsCreateCall) Do() (*Icon, error)
- func (c *ProjectsIconsCreateCall) Fields(s ...googleapi.Field) *ProjectsIconsCreateCall
- func (c *ProjectsIconsCreateCall) Media(r io.Reader) *ProjectsIconsCreateCall
- func (c *ProjectsIconsCreateCall) ProgressUpdater(pu googleapi.ProgressUpdater) *ProjectsIconsCreateCall
- func (c *ProjectsIconsCreateCall) QuotaUser(quotaUser string) *ProjectsIconsCreateCall
- func (c *ProjectsIconsCreateCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *ProjectsIconsCreateCall
- func (c *ProjectsIconsCreateCall) UserIP(userIP string) *ProjectsIconsCreateCall
- type ProjectsIconsGetCall
- func (c *ProjectsIconsGetCall) Context(ctx context.Context) *ProjectsIconsGetCall
- func (c *ProjectsIconsGetCall) Do() (*Icon, error)
- func (c *ProjectsIconsGetCall) Download() (*http.Response, error)
- func (c *ProjectsIconsGetCall) Fields(s ...googleapi.Field) *ProjectsIconsGetCall
- func (c *ProjectsIconsGetCall) IfNoneMatch(entityTag string) *ProjectsIconsGetCall
- func (c *ProjectsIconsGetCall) QuotaUser(quotaUser string) *ProjectsIconsGetCall
- func (c *ProjectsIconsGetCall) UserIP(userIP string) *ProjectsIconsGetCall
- type ProjectsIconsListCall
- func (c *ProjectsIconsListCall) Context(ctx context.Context) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) Do() (*IconsListResponse, error)
- func (c *ProjectsIconsListCall) Fields(s ...googleapi.Field) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) IfNoneMatch(entityTag string) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) MaxResults(maxResults int64) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) PageToken(pageToken string) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) QuotaUser(quotaUser string) *ProjectsIconsListCall
- func (c *ProjectsIconsListCall) UserIP(userIP string) *ProjectsIconsListCall
- type ProjectsIconsService
- type ProjectsListCall
- func (c *ProjectsListCall) Context(ctx context.Context) *ProjectsListCall
- func (c *ProjectsListCall) Do() (*ProjectsListResponse, error)
- func (c *ProjectsListCall) Fields(s ...googleapi.Field) *ProjectsListCall
- func (c *ProjectsListCall) IfNoneMatch(entityTag string) *ProjectsListCall
- func (c *ProjectsListCall) QuotaUser(quotaUser string) *ProjectsListCall
- func (c *ProjectsListCall) UserIP(userIP string) *ProjectsListCall
- type ProjectsListResponse
- type ProjectsService
- type PublishResponse
- type PublishedLayer
- type PublishedLayersListResponse
- type PublishedMap
- type PublishedMapsListResponse
- type Raster
- type RasterCollection
- type RasterCollectionsCancelProcessingCall
- func (c *RasterCollectionsCancelProcessingCall) Context(ctx context.Context) *RasterCollectionsCancelProcessingCall
- func (c *RasterCollectionsCancelProcessingCall) Do() (*ProcessResponse, error)
- func (c *RasterCollectionsCancelProcessingCall) Fields(s ...googleapi.Field) *RasterCollectionsCancelProcessingCall
- func (c *RasterCollectionsCancelProcessingCall) QuotaUser(quotaUser string) *RasterCollectionsCancelProcessingCall
- func (c *RasterCollectionsCancelProcessingCall) UserIP(userIP string) *RasterCollectionsCancelProcessingCall
- type RasterCollectionsCreateCall
- func (c *RasterCollectionsCreateCall) Context(ctx context.Context) *RasterCollectionsCreateCall
- func (c *RasterCollectionsCreateCall) Do() (*RasterCollection, error)
- func (c *RasterCollectionsCreateCall) Fields(s ...googleapi.Field) *RasterCollectionsCreateCall
- func (c *RasterCollectionsCreateCall) QuotaUser(quotaUser string) *RasterCollectionsCreateCall
- func (c *RasterCollectionsCreateCall) UserIP(userIP string) *RasterCollectionsCreateCall
- type RasterCollectionsDeleteCall
- func (c *RasterCollectionsDeleteCall) Context(ctx context.Context) *RasterCollectionsDeleteCall
- func (c *RasterCollectionsDeleteCall) Do() error
- func (c *RasterCollectionsDeleteCall) Fields(s ...googleapi.Field) *RasterCollectionsDeleteCall
- func (c *RasterCollectionsDeleteCall) QuotaUser(quotaUser string) *RasterCollectionsDeleteCall
- func (c *RasterCollectionsDeleteCall) UserIP(userIP string) *RasterCollectionsDeleteCall
- type RasterCollectionsGetCall
- func (c *RasterCollectionsGetCall) Context(ctx context.Context) *RasterCollectionsGetCall
- func (c *RasterCollectionsGetCall) Do() (*RasterCollection, error)
- func (c *RasterCollectionsGetCall) Fields(s ...googleapi.Field) *RasterCollectionsGetCall
- func (c *RasterCollectionsGetCall) IfNoneMatch(entityTag string) *RasterCollectionsGetCall
- func (c *RasterCollectionsGetCall) QuotaUser(quotaUser string) *RasterCollectionsGetCall
- func (c *RasterCollectionsGetCall) UserIP(userIP string) *RasterCollectionsGetCall
- type RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Bbox(bbox string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Role(role string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Search(search string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) Tags(tags string) *RasterCollectionsListCall
- func (c *RasterCollectionsListCall) UserIP(userIP string) *RasterCollectionsListCall
- type RasterCollectionsListResponse
- type RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) Context(ctx context.Context) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) Do() (*ParentsListResponse, error)
- func (c *RasterCollectionsParentsListCall) Fields(s ...googleapi.Field) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) IfNoneMatch(entityTag string) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) MaxResults(maxResults int64) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) PageToken(pageToken string) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) QuotaUser(quotaUser string) *RasterCollectionsParentsListCall
- func (c *RasterCollectionsParentsListCall) UserIP(userIP string) *RasterCollectionsParentsListCall
- type RasterCollectionsParentsService
- type RasterCollectionsPatchCall
- func (c *RasterCollectionsPatchCall) Context(ctx context.Context) *RasterCollectionsPatchCall
- func (c *RasterCollectionsPatchCall) Do() error
- func (c *RasterCollectionsPatchCall) Fields(s ...googleapi.Field) *RasterCollectionsPatchCall
- func (c *RasterCollectionsPatchCall) QuotaUser(quotaUser string) *RasterCollectionsPatchCall
- func (c *RasterCollectionsPatchCall) UserIP(userIP string) *RasterCollectionsPatchCall
- type RasterCollectionsPermissionsBatchDeleteCall
- func (c *RasterCollectionsPermissionsBatchDeleteCall) Context(ctx context.Context) *RasterCollectionsPermissionsBatchDeleteCall
- func (c *RasterCollectionsPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
- func (c *RasterCollectionsPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *RasterCollectionsPermissionsBatchDeleteCall
- func (c *RasterCollectionsPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *RasterCollectionsPermissionsBatchDeleteCall
- func (c *RasterCollectionsPermissionsBatchDeleteCall) UserIP(userIP string) *RasterCollectionsPermissionsBatchDeleteCall
- type RasterCollectionsPermissionsBatchUpdateCall
- func (c *RasterCollectionsPermissionsBatchUpdateCall) Context(ctx context.Context) *RasterCollectionsPermissionsBatchUpdateCall
- func (c *RasterCollectionsPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
- func (c *RasterCollectionsPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *RasterCollectionsPermissionsBatchUpdateCall
- func (c *RasterCollectionsPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *RasterCollectionsPermissionsBatchUpdateCall
- func (c *RasterCollectionsPermissionsBatchUpdateCall) UserIP(userIP string) *RasterCollectionsPermissionsBatchUpdateCall
- type RasterCollectionsPermissionsListCall
- func (c *RasterCollectionsPermissionsListCall) Context(ctx context.Context) *RasterCollectionsPermissionsListCall
- func (c *RasterCollectionsPermissionsListCall) Do() (*PermissionsListResponse, error)
- func (c *RasterCollectionsPermissionsListCall) Fields(s ...googleapi.Field) *RasterCollectionsPermissionsListCall
- func (c *RasterCollectionsPermissionsListCall) IfNoneMatch(entityTag string) *RasterCollectionsPermissionsListCall
- func (c *RasterCollectionsPermissionsListCall) QuotaUser(quotaUser string) *RasterCollectionsPermissionsListCall
- func (c *RasterCollectionsPermissionsListCall) UserIP(userIP string) *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
- func (c *RasterCollectionsProcessCall) Context(ctx context.Context) *RasterCollectionsProcessCall
- func (c *RasterCollectionsProcessCall) Do() (*ProcessResponse, error)
- func (c *RasterCollectionsProcessCall) Fields(s ...googleapi.Field) *RasterCollectionsProcessCall
- func (c *RasterCollectionsProcessCall) QuotaUser(quotaUser string) *RasterCollectionsProcessCall
- func (c *RasterCollectionsProcessCall) UserIP(userIP string) *RasterCollectionsProcessCall
- type RasterCollectionsRaster
- type RasterCollectionsRasterBatchDeleteRequest
- type RasterCollectionsRastersBatchDeleteCall
- func (c *RasterCollectionsRastersBatchDeleteCall) Context(ctx context.Context) *RasterCollectionsRastersBatchDeleteCall
- func (c *RasterCollectionsRastersBatchDeleteCall) Do() (*RasterCollectionsRastersBatchDeleteResponse, error)
- func (c *RasterCollectionsRastersBatchDeleteCall) Fields(s ...googleapi.Field) *RasterCollectionsRastersBatchDeleteCall
- func (c *RasterCollectionsRastersBatchDeleteCall) QuotaUser(quotaUser string) *RasterCollectionsRastersBatchDeleteCall
- func (c *RasterCollectionsRastersBatchDeleteCall) UserIP(userIP string) *RasterCollectionsRastersBatchDeleteCall
- type RasterCollectionsRastersBatchDeleteResponse
- type RasterCollectionsRastersBatchInsertCall
- func (c *RasterCollectionsRastersBatchInsertCall) Context(ctx context.Context) *RasterCollectionsRastersBatchInsertCall
- func (c *RasterCollectionsRastersBatchInsertCall) Do() (*RasterCollectionsRastersBatchInsertResponse, error)
- func (c *RasterCollectionsRastersBatchInsertCall) Fields(s ...googleapi.Field) *RasterCollectionsRastersBatchInsertCall
- func (c *RasterCollectionsRastersBatchInsertCall) QuotaUser(quotaUser string) *RasterCollectionsRastersBatchInsertCall
- func (c *RasterCollectionsRastersBatchInsertCall) UserIP(userIP string) *RasterCollectionsRastersBatchInsertCall
- type RasterCollectionsRastersBatchInsertRequest
- type RasterCollectionsRastersBatchInsertResponse
- type RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Bbox(bbox string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Role(role string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Search(search string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) Tags(tags string) *RasterCollectionsRastersListCall
- func (c *RasterCollectionsRastersListCall) UserIP(userIP 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
- func (c *RastersDeleteCall) Context(ctx context.Context) *RastersDeleteCall
- func (c *RastersDeleteCall) Do() error
- func (c *RastersDeleteCall) Fields(s ...googleapi.Field) *RastersDeleteCall
- func (c *RastersDeleteCall) QuotaUser(quotaUser string) *RastersDeleteCall
- func (c *RastersDeleteCall) UserIP(userIP string) *RastersDeleteCall
- type RastersFilesInsertCall
- func (c *RastersFilesInsertCall) Context(ctx context.Context) *RastersFilesInsertCall
- func (c *RastersFilesInsertCall) Do() error
- func (c *RastersFilesInsertCall) Fields(s ...googleapi.Field) *RastersFilesInsertCall
- func (c *RastersFilesInsertCall) Media(r io.Reader) *RastersFilesInsertCall
- func (c *RastersFilesInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *RastersFilesInsertCall
- func (c *RastersFilesInsertCall) QuotaUser(quotaUser string) *RastersFilesInsertCall
- func (c *RastersFilesInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *RastersFilesInsertCall
- func (c *RastersFilesInsertCall) UserIP(userIP string) *RastersFilesInsertCall
- type RastersFilesService
- type RastersGetCall
- func (c *RastersGetCall) Context(ctx context.Context) *RastersGetCall
- func (c *RastersGetCall) Do() (*Raster, error)
- func (c *RastersGetCall) Fields(s ...googleapi.Field) *RastersGetCall
- func (c *RastersGetCall) IfNoneMatch(entityTag string) *RastersGetCall
- func (c *RastersGetCall) QuotaUser(quotaUser string) *RastersGetCall
- func (c *RastersGetCall) UserIP(userIP string) *RastersGetCall
- type RastersListCall
- func (c *RastersListCall) Bbox(bbox string) *RastersListCall
- func (c *RastersListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser string) *RastersListCall
- func (c *RastersListCall) Role(role string) *RastersListCall
- func (c *RastersListCall) Search(search string) *RastersListCall
- func (c *RastersListCall) Tags(tags string) *RastersListCall
- func (c *RastersListCall) UserIP(userIP string) *RastersListCall
- type RastersListResponse
- type RastersParentsListCall
- func (c *RastersParentsListCall) Context(ctx context.Context) *RastersParentsListCall
- func (c *RastersParentsListCall) Do() (*ParentsListResponse, error)
- func (c *RastersParentsListCall) Fields(s ...googleapi.Field) *RastersParentsListCall
- func (c *RastersParentsListCall) IfNoneMatch(entityTag string) *RastersParentsListCall
- func (c *RastersParentsListCall) MaxResults(maxResults int64) *RastersParentsListCall
- func (c *RastersParentsListCall) PageToken(pageToken string) *RastersParentsListCall
- func (c *RastersParentsListCall) QuotaUser(quotaUser string) *RastersParentsListCall
- func (c *RastersParentsListCall) UserIP(userIP string) *RastersParentsListCall
- type RastersParentsService
- type RastersPatchCall
- func (c *RastersPatchCall) Context(ctx context.Context) *RastersPatchCall
- func (c *RastersPatchCall) Do() error
- func (c *RastersPatchCall) Fields(s ...googleapi.Field) *RastersPatchCall
- func (c *RastersPatchCall) QuotaUser(quotaUser string) *RastersPatchCall
- func (c *RastersPatchCall) UserIP(userIP string) *RastersPatchCall
- type RastersPermissionsBatchDeleteCall
- func (c *RastersPermissionsBatchDeleteCall) Context(ctx context.Context) *RastersPermissionsBatchDeleteCall
- func (c *RastersPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
- func (c *RastersPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *RastersPermissionsBatchDeleteCall
- func (c *RastersPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *RastersPermissionsBatchDeleteCall
- func (c *RastersPermissionsBatchDeleteCall) UserIP(userIP string) *RastersPermissionsBatchDeleteCall
- type RastersPermissionsBatchUpdateCall
- func (c *RastersPermissionsBatchUpdateCall) Context(ctx context.Context) *RastersPermissionsBatchUpdateCall
- func (c *RastersPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
- func (c *RastersPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *RastersPermissionsBatchUpdateCall
- func (c *RastersPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *RastersPermissionsBatchUpdateCall
- func (c *RastersPermissionsBatchUpdateCall) UserIP(userIP string) *RastersPermissionsBatchUpdateCall
- type RastersPermissionsListCall
- func (c *RastersPermissionsListCall) Context(ctx context.Context) *RastersPermissionsListCall
- func (c *RastersPermissionsListCall) Do() (*PermissionsListResponse, error)
- func (c *RastersPermissionsListCall) Fields(s ...googleapi.Field) *RastersPermissionsListCall
- func (c *RastersPermissionsListCall) IfNoneMatch(entityTag string) *RastersPermissionsListCall
- func (c *RastersPermissionsListCall) QuotaUser(quotaUser string) *RastersPermissionsListCall
- func (c *RastersPermissionsListCall) UserIP(userIP string) *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
- func (c *RastersProcessCall) Context(ctx context.Context) *RastersProcessCall
- func (c *RastersProcessCall) Do() (*ProcessResponse, error)
- func (c *RastersProcessCall) Fields(s ...googleapi.Field) *RastersProcessCall
- func (c *RastersProcessCall) QuotaUser(quotaUser string) *RastersProcessCall
- func (c *RastersProcessCall) UserIP(userIP string) *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
- func (c *RastersUploadCall) Context(ctx context.Context) *RastersUploadCall
- func (c *RastersUploadCall) Do() (*Raster, error)
- func (c *RastersUploadCall) Fields(s ...googleapi.Field) *RastersUploadCall
- func (c *RastersUploadCall) QuotaUser(quotaUser string) *RastersUploadCall
- func (c *RastersUploadCall) UserIP(userIP string) *RastersUploadCall
- type ScaledShape
- type ScalingFunction
- type Schema
- type Service
- type SizeRange
- type Table
- type TableColumn
- type TablesCreateCall
- func (c *TablesCreateCall) Context(ctx context.Context) *TablesCreateCall
- func (c *TablesCreateCall) Do() (*Table, error)
- func (c *TablesCreateCall) Fields(s ...googleapi.Field) *TablesCreateCall
- func (c *TablesCreateCall) QuotaUser(quotaUser string) *TablesCreateCall
- func (c *TablesCreateCall) UserIP(userIP string) *TablesCreateCall
- type TablesDeleteCall
- func (c *TablesDeleteCall) Context(ctx context.Context) *TablesDeleteCall
- func (c *TablesDeleteCall) Do() error
- func (c *TablesDeleteCall) Fields(s ...googleapi.Field) *TablesDeleteCall
- func (c *TablesDeleteCall) QuotaUser(quotaUser string) *TablesDeleteCall
- func (c *TablesDeleteCall) UserIP(userIP string) *TablesDeleteCall
- type TablesFeaturesBatchDeleteCall
- func (c *TablesFeaturesBatchDeleteCall) Context(ctx context.Context) *TablesFeaturesBatchDeleteCall
- func (c *TablesFeaturesBatchDeleteCall) Do() error
- func (c *TablesFeaturesBatchDeleteCall) Fields(s ...googleapi.Field) *TablesFeaturesBatchDeleteCall
- func (c *TablesFeaturesBatchDeleteCall) QuotaUser(quotaUser string) *TablesFeaturesBatchDeleteCall
- func (c *TablesFeaturesBatchDeleteCall) UserIP(userIP string) *TablesFeaturesBatchDeleteCall
- type TablesFeaturesBatchInsertCall
- func (c *TablesFeaturesBatchInsertCall) Context(ctx context.Context) *TablesFeaturesBatchInsertCall
- func (c *TablesFeaturesBatchInsertCall) Do() error
- func (c *TablesFeaturesBatchInsertCall) Fields(s ...googleapi.Field) *TablesFeaturesBatchInsertCall
- func (c *TablesFeaturesBatchInsertCall) QuotaUser(quotaUser string) *TablesFeaturesBatchInsertCall
- func (c *TablesFeaturesBatchInsertCall) UserIP(userIP string) *TablesFeaturesBatchInsertCall
- type TablesFeaturesBatchPatchCall
- func (c *TablesFeaturesBatchPatchCall) Context(ctx context.Context) *TablesFeaturesBatchPatchCall
- func (c *TablesFeaturesBatchPatchCall) Do() error
- func (c *TablesFeaturesBatchPatchCall) Fields(s ...googleapi.Field) *TablesFeaturesBatchPatchCall
- func (c *TablesFeaturesBatchPatchCall) QuotaUser(quotaUser string) *TablesFeaturesBatchPatchCall
- func (c *TablesFeaturesBatchPatchCall) UserIP(userIP string) *TablesFeaturesBatchPatchCall
- type TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) Context(ctx context.Context) *TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) Do() (*Feature, error)
- func (c *TablesFeaturesGetCall) Fields(s ...googleapi.Field) *TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) IfNoneMatch(entityTag string) *TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) QuotaUser(quotaUser string) *TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) Select(select_ string) *TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) UserIP(userIP string) *TablesFeaturesGetCall
- func (c *TablesFeaturesGetCall) Version(version string) *TablesFeaturesGetCall
- type TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Context(ctx context.Context) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Do() (*FeaturesListResponse, error)
- func (c *TablesFeaturesListCall) Fields(s ...googleapi.Field) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) Select(select_ string) *TablesFeaturesListCall
- func (c *TablesFeaturesListCall) UserIP(userIP 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
- func (c *TablesFilesInsertCall) Context(ctx context.Context) *TablesFilesInsertCall
- func (c *TablesFilesInsertCall) Do() error
- func (c *TablesFilesInsertCall) Fields(s ...googleapi.Field) *TablesFilesInsertCall
- func (c *TablesFilesInsertCall) Media(r io.Reader) *TablesFilesInsertCall
- func (c *TablesFilesInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *TablesFilesInsertCall
- func (c *TablesFilesInsertCall) QuotaUser(quotaUser string) *TablesFilesInsertCall
- func (c *TablesFilesInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TablesFilesInsertCall
- func (c *TablesFilesInsertCall) UserIP(userIP string) *TablesFilesInsertCall
- type TablesFilesService
- type TablesGetCall
- func (c *TablesGetCall) Context(ctx context.Context) *TablesGetCall
- func (c *TablesGetCall) Do() (*Table, error)
- func (c *TablesGetCall) Fields(s ...googleapi.Field) *TablesGetCall
- func (c *TablesGetCall) IfNoneMatch(entityTag string) *TablesGetCall
- func (c *TablesGetCall) QuotaUser(quotaUser string) *TablesGetCall
- func (c *TablesGetCall) UserIP(userIP string) *TablesGetCall
- func (c *TablesGetCall) Version(version string) *TablesGetCall
- type TablesListCall
- func (c *TablesListCall) Bbox(bbox string) *TablesListCall
- func (c *TablesListCall) Context(ctx context.Context) *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) IfNoneMatch(entityTag string) *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) QuotaUser(quotaUser string) *TablesListCall
- func (c *TablesListCall) Role(role string) *TablesListCall
- func (c *TablesListCall) Search(search string) *TablesListCall
- func (c *TablesListCall) Tags(tags string) *TablesListCall
- func (c *TablesListCall) UserIP(userIP string) *TablesListCall
- type TablesListResponse
- type TablesParentsListCall
- func (c *TablesParentsListCall) Context(ctx context.Context) *TablesParentsListCall
- func (c *TablesParentsListCall) Do() (*ParentsListResponse, error)
- func (c *TablesParentsListCall) Fields(s ...googleapi.Field) *TablesParentsListCall
- func (c *TablesParentsListCall) IfNoneMatch(entityTag string) *TablesParentsListCall
- func (c *TablesParentsListCall) MaxResults(maxResults int64) *TablesParentsListCall
- func (c *TablesParentsListCall) PageToken(pageToken string) *TablesParentsListCall
- func (c *TablesParentsListCall) QuotaUser(quotaUser string) *TablesParentsListCall
- func (c *TablesParentsListCall) UserIP(userIP string) *TablesParentsListCall
- type TablesParentsService
- type TablesPatchCall
- func (c *TablesPatchCall) Context(ctx context.Context) *TablesPatchCall
- func (c *TablesPatchCall) Do() error
- func (c *TablesPatchCall) Fields(s ...googleapi.Field) *TablesPatchCall
- func (c *TablesPatchCall) QuotaUser(quotaUser string) *TablesPatchCall
- func (c *TablesPatchCall) UserIP(userIP string) *TablesPatchCall
- type TablesPermissionsBatchDeleteCall
- func (c *TablesPermissionsBatchDeleteCall) Context(ctx context.Context) *TablesPermissionsBatchDeleteCall
- func (c *TablesPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
- func (c *TablesPermissionsBatchDeleteCall) Fields(s ...googleapi.Field) *TablesPermissionsBatchDeleteCall
- func (c *TablesPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *TablesPermissionsBatchDeleteCall
- func (c *TablesPermissionsBatchDeleteCall) UserIP(userIP string) *TablesPermissionsBatchDeleteCall
- type TablesPermissionsBatchUpdateCall
- func (c *TablesPermissionsBatchUpdateCall) Context(ctx context.Context) *TablesPermissionsBatchUpdateCall
- func (c *TablesPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
- func (c *TablesPermissionsBatchUpdateCall) Fields(s ...googleapi.Field) *TablesPermissionsBatchUpdateCall
- func (c *TablesPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *TablesPermissionsBatchUpdateCall
- func (c *TablesPermissionsBatchUpdateCall) UserIP(userIP string) *TablesPermissionsBatchUpdateCall
- type TablesPermissionsListCall
- func (c *TablesPermissionsListCall) Context(ctx context.Context) *TablesPermissionsListCall
- func (c *TablesPermissionsListCall) Do() (*PermissionsListResponse, error)
- func (c *TablesPermissionsListCall) Fields(s ...googleapi.Field) *TablesPermissionsListCall
- func (c *TablesPermissionsListCall) IfNoneMatch(entityTag string) *TablesPermissionsListCall
- func (c *TablesPermissionsListCall) QuotaUser(quotaUser string) *TablesPermissionsListCall
- func (c *TablesPermissionsListCall) UserIP(userIP string) *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
- func (c *TablesProcessCall) Context(ctx context.Context) *TablesProcessCall
- func (c *TablesProcessCall) Do() (*ProcessResponse, error)
- func (c *TablesProcessCall) Fields(s ...googleapi.Field) *TablesProcessCall
- func (c *TablesProcessCall) QuotaUser(quotaUser string) *TablesProcessCall
- func (c *TablesProcessCall) UserIP(userIP string) *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
- func (c *TablesUploadCall) Context(ctx context.Context) *TablesUploadCall
- func (c *TablesUploadCall) Do() (*Table, error)
- func (c *TablesUploadCall) Fields(s ...googleapi.Field) *TablesUploadCall
- func (c *TablesUploadCall) QuotaUser(quotaUser string) *TablesUploadCall
- func (c *TablesUploadCall) UserIP(userIP string) *TablesUploadCall
- type ValueRange
- type VectorStyle
- type ZoomLevels
Constants ¶
const ( // View and manage your Google My Maps data MapsengineScope = "https://www.googleapis.com/auth/mapsengine" // View your Google My Maps 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. // // Possible values: // "day" // "hour" // "minute" // "month" // "second" // "year" 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"` // ForceSendFields is a list of field names (e.g. "End") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
AcquisitionTime: Acquisition time represents acquired time of a raster.
func (*AcquisitionTime) MarshalJSON ¶
func (s *AcquisitionTime) MarshalJSON() ([]byte, error)
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. // // Possible values: // "layer" // "map" // "raster" // "rasterCollection" // "table" Type string `json:"type,omitempty"` // WritersCanEditPermissions: If true, WRITERs of the asset are able to // edit the asset permissions. WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Bbox") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Asset: An asset is any Google Maps Engine resource that has a globally unique ID. Assets include maps, layers, vector tables, raster collections, and rasters. Projects and features are not considered assets.
More detailed information about an asset can be obtained by querying the asset's particular endpoint.
func (*Asset) MarshalJSON ¶
type AssetsGetCall ¶
type AssetsGetCall struct {
// contains filtered or unexported fields
}
func (*AssetsGetCall) Context ¶
func (c *AssetsGetCall) Context(ctx context.Context) *AssetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AssetsGetCall) Do ¶
func (c *AssetsGetCall) Do() (*Asset, error)
Do executes the "mapsengine.assets.get" call. Exactly one of *Asset or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Asset.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*AssetsGetCall) IfNoneMatch ¶
func (c *AssetsGetCall) IfNoneMatch(entityTag string) *AssetsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AssetsGetCall) QuotaUser ¶
func (c *AssetsGetCall) QuotaUser(quotaUser string) *AssetsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AssetsGetCall) UserIP ¶
func (c *AssetsGetCall) UserIP(userIP string) *AssetsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *AssetsListCall) Context(ctx context.Context) *AssetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.assets.list" call. Exactly one of *AssetsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AssetsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *AssetsListCall) IfNoneMatch(entityTag string) *AssetsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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) QuotaUser ¶
func (c *AssetsListCall) QuotaUser(quotaUser string) *AssetsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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'.
func (*AssetsListCall) UserIP ¶
func (c *AssetsListCall) UserIP(userIP string) *AssetsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type AssetsListResponse ¶
type AssetsListResponse struct { // Assets: Assets returned. Assets []*Asset `json:"assets,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Assets") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
AssetsListResponse: The response returned by a call to resources.List.
func (*AssetsListResponse) MarshalJSON ¶
func (s *AssetsListResponse) MarshalJSON() ([]byte, error)
type AssetsParentsListCall ¶
type AssetsParentsListCall struct {
// contains filtered or unexported fields
}
func (*AssetsParentsListCall) Context ¶
func (c *AssetsParentsListCall) Context(ctx context.Context) *AssetsParentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AssetsParentsListCall) Do ¶
func (c *AssetsParentsListCall) Do() (*ParentsListResponse, error)
Do executes the "mapsengine.assets.parents.list" call. Exactly one of *ParentsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ParentsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *AssetsParentsListCall) IfNoneMatch(entityTag string) *AssetsParentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*AssetsParentsListCall) QuotaUser ¶
func (c *AssetsParentsListCall) QuotaUser(quotaUser string) *AssetsParentsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AssetsParentsListCall) UserIP ¶
func (c *AssetsParentsListCall) UserIP(userIP string) *AssetsParentsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *AssetsPermissionsListCall) Context(ctx context.Context) *AssetsPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*AssetsPermissionsListCall) Do ¶
func (c *AssetsPermissionsListCall) Do() (*PermissionsListResponse, error)
Do executes the "mapsengine.assets.permissions.list" call. Exactly one of *PermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*AssetsPermissionsListCall) IfNoneMatch ¶
func (c *AssetsPermissionsListCall) IfNoneMatch(entityTag string) *AssetsPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*AssetsPermissionsListCall) QuotaUser ¶
func (c *AssetsPermissionsListCall) QuotaUser(quotaUser string) *AssetsPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*AssetsPermissionsListCall) UserIP ¶
func (c *AssetsPermissionsListCall) UserIP(userIP string) *AssetsPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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 Border ¶
type Border struct { // Color: Color of the border. Color string `json:"color,omitempty"` // Opacity: Opacity of the border. Opacity float64 `json:"opacity,omitempty"` // Width: Width of the border, in pixels. Width float64 `json:"width,omitempty"` // ForceSendFields is a list of field names (e.g. "Color") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Border: Border in line style. Both color and width are required.
func (*Border) MarshalJSON ¶
type Color ¶
type Color struct { // Color: The CSS style color, can be in format of "red" or "#7733EE". Color string `json:"color,omitempty"` // Opacity: Opacity ranges from 0 to 1, inclusive. If not provided, // default to 1. Opacity float64 `json:"opacity,omitempty"` // ForceSendFields is a list of field names (e.g. "Color") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Color: Basic color used in styling.
func (*Color) MarshalJSON ¶
type Datasource ¶
type Datasource struct { // Id: The ID of a datasource. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*Datasource) MarshalJSON ¶
func (s *Datasource) MarshalJSON() ([]byte, error)
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"` // ForceSendFields is a list of field names (e.g. "Filters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
DisplayRule: A display rule of the vector style.
func (*DisplayRule) MarshalJSON ¶
func (s *DisplayRule) MarshalJSON() ([]byte, error)
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Geometry") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Feature: A feature within a table.
func (*Feature) MarshalJSON ¶
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"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
FeatureInfo: A feature info contains information about individual feature.
func (*FeatureInfo) MarshalJSON ¶
func (s *FeatureInfo) MarshalJSON() ([]byte, error)
type FeaturesBatchDeleteRequest ¶
type FeaturesBatchDeleteRequest struct { GxIds []string `json:"gx_ids,omitempty"` PrimaryKeys []string `json:"primaryKeys,omitempty"` // ForceSendFields is a list of field names (e.g. "GxIds") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
FeaturesBatchDeleteRequest: The request sent to features.BatchDelete.
func (*FeaturesBatchDeleteRequest) MarshalJSON ¶
func (s *FeaturesBatchDeleteRequest) MarshalJSON() ([]byte, error)
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. // // Default: true NormalizeGeometries *bool `json:"normalizeGeometries,omitempty"` // ForceSendFields is a list of field names (e.g. "Features") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
FeaturesBatchInsertRequest: The request sent to features.Insert.
func (*FeaturesBatchInsertRequest) MarshalJSON ¶
func (s *FeaturesBatchInsertRequest) MarshalJSON() ([]byte, error)
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. // // Default: true NormalizeGeometries *bool `json:"normalizeGeometries,omitempty"` // ForceSendFields is a list of field names (e.g. "Features") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
FeaturesBatchPatchRequest: The request sent to features.BatchPatch.
func (*FeaturesBatchPatchRequest) MarshalJSON ¶
func (s *FeaturesBatchPatchRequest) MarshalJSON() ([]byte, error)
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "AllowedQueriesPerSecond") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` }
FeaturesListResponse: The response returned by a call to features.List.
func (*FeaturesListResponse) MarshalJSON ¶
func (s *FeaturesListResponse) MarshalJSON() ([]byte, error)
type File ¶
type File struct { // Filename: The name of the file. Filename string `json:"filename,omitempty"` // Size: The size of the file in bytes. Size int64 `json:"size,omitempty,string"` // UploadStatus: The upload status of the file. // // Possible values: // "canceled" // "complete" // "failed" // "inProgress" UploadStatus string `json:"uploadStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "Filename") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
File: A single File, which is a component of an Asset.
func (*File) MarshalJSON ¶
type Filter ¶
type Filter struct { // Column: The column name to filter on. Column string `json:"column,omitempty"` // Operator: Operation used to evaluate the filter. // // Possible values: // "!=" // "<" // "<=" // "==" // ">" // ">=" // "contains" // "endsWith" // "startsWith" Operator string `json:"operator,omitempty"` // Value: Value to be evaluated against attribute. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Column") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Filter: Conditions for filtering features.
func (*Filter) MarshalJSON ¶
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. // // Possible values: // "GeometryCollection" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Geometries") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
GeoJsonGeometryCollection: A heterogenous collection of GeoJsonGeometry objects.
func (*GeoJsonGeometryCollection) MarshalJSON ¶
func (s *GeoJsonGeometryCollection) MarshalJSON() ([]byte, error)
type GeoJsonLineString ¶
type GeoJsonLineString struct { // Coordinates: An array of two or more positions, representing a line. Coordinates [][]float64 `json:"coordinates,omitempty"` // Type: Identifies this object as a GeoJsonLineString. // // Possible values: // "LineString" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Coordinates") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*GeoJsonLineString) MarshalJSON ¶
func (s *GeoJsonLineString) MarshalJSON() ([]byte, error)
type GeoJsonMultiLineString ¶
type GeoJsonMultiLineString struct { // Coordinates: An array of at least two GeoJsonLineString coordinate // arrays. Coordinates [][][]float64 `json:"coordinates,omitempty"` // Type: Identifies this object as a GeoJsonMultiLineString. // // Possible values: // "MultiLineString" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Coordinates") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
GeoJsonMultiLineString: Multi Line String
func (*GeoJsonMultiLineString) MarshalJSON ¶
func (s *GeoJsonMultiLineString) MarshalJSON() ([]byte, error)
type GeoJsonMultiPoint ¶
type GeoJsonMultiPoint struct { // Coordinates: An array of at least two GeoJsonPoint coordinate arrays. Coordinates [][]float64 `json:"coordinates,omitempty"` // Type: Identifies this object as a GeoJsonMultiPoint. // // Possible values: // "MultiPoint" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Coordinates") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*GeoJsonMultiPoint) MarshalJSON ¶
func (s *GeoJsonMultiPoint) MarshalJSON() ([]byte, error)
type GeoJsonMultiPolygon ¶
type GeoJsonMultiPolygon struct { // Coordinates: An array of at least two GeoJsonPolygon coordinate // arrays. Coordinates [][][][]float64 `json:"coordinates,omitempty"` // Type: Identifies this object as a GeoJsonMultiPolygon. // // Possible values: // "MultiPolygon" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Coordinates") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*GeoJsonMultiPolygon) MarshalJSON ¶
func (s *GeoJsonMultiPolygon) MarshalJSON() ([]byte, error)
type GeoJsonPoint ¶
type GeoJsonPoint struct { // Coordinates: A single GeoJsonPosition, specifying the location of the // point. Coordinates []float64 `json:"coordinates,omitempty"` // Type: Identifies this object as a GeoJsonPoint. // // Possible values: // "Point" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Coordinates") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*GeoJsonPoint) MarshalJSON ¶
func (s *GeoJsonPoint) MarshalJSON() ([]byte, error)
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. // // Possible values: // "Polygon" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Coordinates") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*GeoJsonPolygon) MarshalJSON ¶
func (s *GeoJsonPolygon) MarshalJSON() ([]byte, error)
type GeoJsonProperties ¶
type GeoJsonProperties interface{}
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Icon: An icon is a user-uploaded image that can be used to style point geometries.
func (*Icon) MarshalJSON ¶
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"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
IconStyle: Style for icon, this is part of point style.
func (*IconStyle) MarshalJSON ¶
type IconsListResponse ¶
type IconsListResponse struct { // Icons: Resources returned. Icons []*Icon `json:"icons,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Icons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
IconsListResponse: The response returned by a call to icons.List.
func (*IconsListResponse) MarshalJSON ¶
func (s *IconsListResponse) MarshalJSON() ([]byte, error)
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'. // // Possible values: // "italic" // "normal" FontStyle string `json:"fontStyle,omitempty"` // FontWeight: Font weight of the label, defaults to 'normal'. // // Possible values: // "bold" // "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"` // ForceSendFields is a list of field names (e.g. "Color") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
LabelStyle: Text label style.
func (*LabelStyle) MarshalJSON ¶
func (s *LabelStyle) MarshalJSON() ([]byte, error)
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. // // Possible values: // "image" // "table" 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. // // Possible values: // "image" // "vector" 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. // // Possible values: // "complete" // "failed" // "notReady" // "processing" // "ready" 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. // // Possible values: // "notPublished" // "published" 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Bbox") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Layer: A Layer combines multiple datasources, with styling information, for presentation on a map.
func (*Layer) MarshalJSON ¶
type LayersCancelProcessingCall ¶
type LayersCancelProcessingCall struct {
// contains filtered or unexported fields
}
func (*LayersCancelProcessingCall) Context ¶
func (c *LayersCancelProcessingCall) Context(ctx context.Context) *LayersCancelProcessingCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersCancelProcessingCall) Do ¶
func (c *LayersCancelProcessingCall) Do() (*ProcessResponse, error)
Do executes the "mapsengine.layers.cancelProcessing" call. Exactly one of *ProcessResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProcessResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersCancelProcessingCall) QuotaUser ¶
func (c *LayersCancelProcessingCall) QuotaUser(quotaUser string) *LayersCancelProcessingCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersCancelProcessingCall) UserIP ¶
func (c *LayersCancelProcessingCall) UserIP(userIP string) *LayersCancelProcessingCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersCreateCall ¶
type LayersCreateCall struct {
// contains filtered or unexported fields
}
func (*LayersCreateCall) Context ¶
func (c *LayersCreateCall) Context(ctx context.Context) *LayersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersCreateCall) Do ¶
func (c *LayersCreateCall) Do() (*Layer, error)
Do executes the "mapsengine.layers.create" call. Exactly one of *Layer or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Layer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersCreateCall) QuotaUser ¶
func (c *LayersCreateCall) QuotaUser(quotaUser string) *LayersCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersCreateCall) UserIP ¶
func (c *LayersCreateCall) UserIP(userIP string) *LayersCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersDeleteCall ¶
type LayersDeleteCall struct {
// contains filtered or unexported fields
}
func (*LayersDeleteCall) Context ¶
func (c *LayersDeleteCall) Context(ctx context.Context) *LayersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersDeleteCall) Do ¶
func (c *LayersDeleteCall) Do() error
Do executes the "mapsengine.layers.delete" call.
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.
func (*LayersDeleteCall) QuotaUser ¶
func (c *LayersDeleteCall) QuotaUser(quotaUser string) *LayersDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersDeleteCall) UserIP ¶
func (c *LayersDeleteCall) UserIP(userIP string) *LayersDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersGetCall ¶
type LayersGetCall struct {
// contains filtered or unexported fields
}
func (*LayersGetCall) Context ¶
func (c *LayersGetCall) Context(ctx context.Context) *LayersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersGetCall) Do ¶
func (c *LayersGetCall) Do() (*Layer, error)
Do executes the "mapsengine.layers.get" call. Exactly one of *Layer or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Layer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *LayersGetCall) IfNoneMatch(entityTag string) *LayersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*LayersGetCall) QuotaUser ¶
func (c *LayersGetCall) QuotaUser(quotaUser string) *LayersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersGetCall) UserIP ¶
func (c *LayersGetCall) UserIP(userIP string) *LayersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
Possible values:
"draft" - The draft version. "published" - The published version.
type LayersGetPublishedCall ¶
type LayersGetPublishedCall struct {
// contains filtered or unexported fields
}
func (*LayersGetPublishedCall) Context ¶
func (c *LayersGetPublishedCall) Context(ctx context.Context) *LayersGetPublishedCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersGetPublishedCall) Do ¶
func (c *LayersGetPublishedCall) Do() (*PublishedLayer, error)
Do executes the "mapsengine.layers.getPublished" call. Exactly one of *PublishedLayer or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishedLayer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersGetPublishedCall) IfNoneMatch ¶
func (c *LayersGetPublishedCall) IfNoneMatch(entityTag string) *LayersGetPublishedCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*LayersGetPublishedCall) QuotaUser ¶
func (c *LayersGetPublishedCall) QuotaUser(quotaUser string) *LayersGetPublishedCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersGetPublishedCall) UserIP ¶
func (c *LayersGetPublishedCall) UserIP(userIP string) *LayersGetPublishedCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *LayersListCall) Context(ctx context.Context) *LayersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.layers.list" call. Exactly one of *LayersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LayersListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *LayersListCall) IfNoneMatch(entityTag string) *LayersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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":
Possible values:
"complete" - The layer has completed processing. "failed" - The layer has failed processing. "notReady" - The layer is not ready for processing. "processing" - The layer is processing. "ready" - The layer is ready for processing.
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) QuotaUser ¶
func (c *LayersListCall) QuotaUser(quotaUser string) *LayersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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.
func (*LayersListCall) UserIP ¶
func (c *LayersListCall) UserIP(userIP string) *LayersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersListPublishedCall ¶
type LayersListPublishedCall struct {
// contains filtered or unexported fields
}
func (*LayersListPublishedCall) Context ¶
func (c *LayersListPublishedCall) Context(ctx context.Context) *LayersListPublishedCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersListPublishedCall) Do ¶
func (c *LayersListPublishedCall) Do() (*PublishedLayersListResponse, error)
Do executes the "mapsengine.layers.listPublished" call. Exactly one of *PublishedLayersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishedLayersListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *LayersListPublishedCall) IfNoneMatch(entityTag string) *LayersListPublishedCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*LayersListPublishedCall) QuotaUser ¶
func (c *LayersListPublishedCall) QuotaUser(quotaUser string) *LayersListPublishedCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersListPublishedCall) Search ¶
func (c *LayersListPublishedCall) Search(search string) *LayersListPublishedCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*LayersListPublishedCall) UserIP ¶
func (c *LayersListPublishedCall) UserIP(userIP string) *LayersListPublishedCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersListResponse ¶
type LayersListResponse struct { // Layers: Resources returned. Layers []*Layer `json:"layers,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Layers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
LayersListResponse: The response returned by a call to layers.List. Note: The list response does not include all the fields available in a layer. Refer to the layer resource description for details of the fields that are not included. You'll need to send a get request to retrieve the additional fields for each layer.
func (*LayersListResponse) MarshalJSON ¶
func (s *LayersListResponse) MarshalJSON() ([]byte, error)
type LayersParentsListCall ¶
type LayersParentsListCall struct {
// contains filtered or unexported fields
}
func (*LayersParentsListCall) Context ¶
func (c *LayersParentsListCall) Context(ctx context.Context) *LayersParentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersParentsListCall) Do ¶
func (c *LayersParentsListCall) Do() (*ParentsListResponse, error)
Do executes the "mapsengine.layers.parents.list" call. Exactly one of *ParentsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ParentsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *LayersParentsListCall) IfNoneMatch(entityTag string) *LayersParentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*LayersParentsListCall) QuotaUser ¶
func (c *LayersParentsListCall) QuotaUser(quotaUser string) *LayersParentsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersParentsListCall) UserIP ¶
func (c *LayersParentsListCall) UserIP(userIP string) *LayersParentsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *LayersPatchCall) Context(ctx context.Context) *LayersPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersPatchCall) Do ¶
func (c *LayersPatchCall) Do() error
Do executes the "mapsengine.layers.patch" call.
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.
func (*LayersPatchCall) QuotaUser ¶
func (c *LayersPatchCall) QuotaUser(quotaUser string) *LayersPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersPatchCall) UserIP ¶
func (c *LayersPatchCall) UserIP(userIP string) *LayersPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersPermissionsBatchDeleteCall ¶
type LayersPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*LayersPermissionsBatchDeleteCall) Context ¶
func (c *LayersPermissionsBatchDeleteCall) Context(ctx context.Context) *LayersPermissionsBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersPermissionsBatchDeleteCall) Do ¶
func (c *LayersPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
Do executes the "mapsengine.layers.permissions.batchDelete" call. Exactly one of *PermissionsBatchDeleteResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchDeleteResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersPermissionsBatchDeleteCall) QuotaUser ¶
func (c *LayersPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *LayersPermissionsBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersPermissionsBatchDeleteCall) UserIP ¶
func (c *LayersPermissionsBatchDeleteCall) UserIP(userIP string) *LayersPermissionsBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersPermissionsBatchUpdateCall ¶
type LayersPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*LayersPermissionsBatchUpdateCall) Context ¶
func (c *LayersPermissionsBatchUpdateCall) Context(ctx context.Context) *LayersPermissionsBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersPermissionsBatchUpdateCall) Do ¶
func (c *LayersPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
Do executes the "mapsengine.layers.permissions.batchUpdate" call. Exactly one of *PermissionsBatchUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersPermissionsBatchUpdateCall) QuotaUser ¶
func (c *LayersPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *LayersPermissionsBatchUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersPermissionsBatchUpdateCall) UserIP ¶
func (c *LayersPermissionsBatchUpdateCall) UserIP(userIP string) *LayersPermissionsBatchUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersPermissionsListCall ¶
type LayersPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*LayersPermissionsListCall) Context ¶
func (c *LayersPermissionsListCall) Context(ctx context.Context) *LayersPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersPermissionsListCall) Do ¶
func (c *LayersPermissionsListCall) Do() (*PermissionsListResponse, error)
Do executes the "mapsengine.layers.permissions.list" call. Exactly one of *PermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersPermissionsListCall) IfNoneMatch ¶
func (c *LayersPermissionsListCall) IfNoneMatch(entityTag string) *LayersPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*LayersPermissionsListCall) QuotaUser ¶
func (c *LayersPermissionsListCall) QuotaUser(quotaUser string) *LayersPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersPermissionsListCall) UserIP ¶
func (c *LayersPermissionsListCall) UserIP(userIP string) *LayersPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *LayersProcessCall) Context(ctx context.Context) *LayersProcessCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersProcessCall) Do ¶
func (c *LayersProcessCall) Do() (*ProcessResponse, error)
Do executes the "mapsengine.layers.process" call. Exactly one of *ProcessResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProcessResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersProcessCall) QuotaUser ¶
func (c *LayersProcessCall) QuotaUser(quotaUser string) *LayersProcessCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersProcessCall) UserIP ¶
func (c *LayersProcessCall) UserIP(userIP string) *LayersProcessCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type LayersPublishCall ¶
type LayersPublishCall struct {
// contains filtered or unexported fields
}
func (*LayersPublishCall) Context ¶
func (c *LayersPublishCall) Context(ctx context.Context) *LayersPublishCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersPublishCall) Do ¶
func (c *LayersPublishCall) Do() (*PublishResponse, error)
Do executes the "mapsengine.layers.publish" call. Exactly one of *PublishResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersPublishCall) QuotaUser ¶
func (c *LayersPublishCall) QuotaUser(quotaUser string) *LayersPublishCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersPublishCall) UserIP ¶
func (c *LayersPublishCall) UserIP(userIP string) *LayersPublishCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *LayersUnpublishCall) Context(ctx context.Context) *LayersUnpublishCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*LayersUnpublishCall) Do ¶
func (c *LayersUnpublishCall) Do() (*PublishResponse, error)
Do executes the "mapsengine.layers.unpublish" call. Exactly one of *PublishResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*LayersUnpublishCall) QuotaUser ¶
func (c *LayersUnpublishCall) QuotaUser(quotaUser string) *LayersUnpublishCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*LayersUnpublishCall) UserIP ¶
func (c *LayersUnpublishCall) UserIP(userIP string) *LayersUnpublishCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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"` // ForceSendFields is a list of field names (e.g. "Border") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
LineStyle: Style for lines.
func (*LineStyle) MarshalJSON ¶
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"` // ForceSendFields is a list of field names (e.g. "Color") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
LineStyleStroke: Stroke of the line.
func (*LineStyleStroke) MarshalJSON ¶
func (s *LineStyleStroke) MarshalJSON() ([]byte, error)
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. // // Possible values: // "complete" // "failed" // "notReady" // "processing" // "ready" 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. // // Possible values: // "notPublished" // "published" 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Bbox") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Map: A Map is a collection of Layers, optionally contained within folders.
func (*Map) MarshalJSON ¶
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. // // Possible values: // "folder" Type string `json:"type,omitempty"` // Visibility: The visibility setting of this MapFolder. One of // "defaultOn" or "defaultOff". Visibility string `json:"visibility,omitempty"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*MapFolder) MarshalJSON ¶
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. // // Possible values: // "kmlLink" Type string `json:"type,omitempty"` // Visibility: The visibility setting of this MapKmlLink. One of // "defaultOn" or "defaultOff". Visibility string `json:"visibility,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultViewport") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*MapKmlLink) MarshalJSON ¶
func (s *MapKmlLink) MarshalJSON() ([]byte, error)
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. // // Possible values: // "layer" Type string `json:"type,omitempty"` // Visibility: The visibility setting of this MapLayer. One of // "defaultOn" or "defaultOff". Visibility string `json:"visibility,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultViewport") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*MapLayer) MarshalJSON ¶
type MapsCreateCall ¶
type MapsCreateCall struct {
// contains filtered or unexported fields
}
func (*MapsCreateCall) Context ¶
func (c *MapsCreateCall) Context(ctx context.Context) *MapsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsCreateCall) Do ¶
func (c *MapsCreateCall) Do() (*Map, error)
Do executes the "mapsengine.maps.create" call. Exactly one of *Map or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Map.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsCreateCall) QuotaUser ¶
func (c *MapsCreateCall) QuotaUser(quotaUser string) *MapsCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsCreateCall) UserIP ¶
func (c *MapsCreateCall) UserIP(userIP string) *MapsCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MapsDeleteCall ¶
type MapsDeleteCall struct {
// contains filtered or unexported fields
}
func (*MapsDeleteCall) Context ¶
func (c *MapsDeleteCall) Context(ctx context.Context) *MapsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsDeleteCall) Do ¶
func (c *MapsDeleteCall) Do() error
Do executes the "mapsengine.maps.delete" call.
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.
func (*MapsDeleteCall) QuotaUser ¶
func (c *MapsDeleteCall) QuotaUser(quotaUser string) *MapsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsDeleteCall) UserIP ¶
func (c *MapsDeleteCall) UserIP(userIP string) *MapsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MapsGetCall ¶
type MapsGetCall struct {
// contains filtered or unexported fields
}
func (*MapsGetCall) Context ¶
func (c *MapsGetCall) Context(ctx context.Context) *MapsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsGetCall) Do ¶
func (c *MapsGetCall) Do() (*Map, error)
Do executes the "mapsengine.maps.get" call. Exactly one of *Map or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Map.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *MapsGetCall) IfNoneMatch(entityTag string) *MapsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*MapsGetCall) QuotaUser ¶
func (c *MapsGetCall) QuotaUser(quotaUser string) *MapsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsGetCall) UserIP ¶
func (c *MapsGetCall) UserIP(userIP string) *MapsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
Possible values:
"draft" - The draft version. "published" - The published version.
type MapsGetPublishedCall ¶
type MapsGetPublishedCall struct {
// contains filtered or unexported fields
}
func (*MapsGetPublishedCall) Context ¶
func (c *MapsGetPublishedCall) Context(ctx context.Context) *MapsGetPublishedCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsGetPublishedCall) Do ¶
func (c *MapsGetPublishedCall) Do() (*PublishedMap, error)
Do executes the "mapsengine.maps.getPublished" call. Exactly one of *PublishedMap or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishedMap.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsGetPublishedCall) IfNoneMatch ¶
func (c *MapsGetPublishedCall) IfNoneMatch(entityTag string) *MapsGetPublishedCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*MapsGetPublishedCall) QuotaUser ¶
func (c *MapsGetPublishedCall) QuotaUser(quotaUser string) *MapsGetPublishedCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsGetPublishedCall) UserIP ¶
func (c *MapsGetPublishedCall) UserIP(userIP string) *MapsGetPublishedCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *MapsListCall) Context(ctx context.Context) *MapsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.maps.list" call. Exactly one of *MapsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *MapsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *MapsListCall) IfNoneMatch(entityTag string) *MapsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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":
Possible values:
"complete" - The map has completed processing. "failed" - The map has failed processing. "notReady" - The map is not ready for processing. "processing" - The map is processing.
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) QuotaUser ¶
func (c *MapsListCall) QuotaUser(quotaUser string) *MapsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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) UserIP ¶
func (c *MapsListCall) UserIP(userIP string) *MapsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
Possible values:
"draft" - The draft version. "published" - The published version.
type MapsListPublishedCall ¶
type MapsListPublishedCall struct {
// contains filtered or unexported fields
}
func (*MapsListPublishedCall) Context ¶
func (c *MapsListPublishedCall) Context(ctx context.Context) *MapsListPublishedCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsListPublishedCall) Do ¶
func (c *MapsListPublishedCall) Do() (*PublishedMapsListResponse, error)
Do executes the "mapsengine.maps.listPublished" call. Exactly one of *PublishedMapsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishedMapsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *MapsListPublishedCall) IfNoneMatch(entityTag string) *MapsListPublishedCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*MapsListPublishedCall) QuotaUser ¶
func (c *MapsListPublishedCall) QuotaUser(quotaUser string) *MapsListPublishedCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsListPublishedCall) Search ¶
func (c *MapsListPublishedCall) Search(search string) *MapsListPublishedCall
Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.
func (*MapsListPublishedCall) UserIP ¶
func (c *MapsListPublishedCall) UserIP(userIP string) *MapsListPublishedCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MapsListResponse ¶
type MapsListResponse struct { // Maps: Resources returned. Maps []*Map `json:"maps,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Maps") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
MapsListResponse: The response returned by a call to maps.List.
func (*MapsListResponse) MarshalJSON ¶
func (s *MapsListResponse) MarshalJSON() ([]byte, error)
type MapsPatchCall ¶
type MapsPatchCall struct {
// contains filtered or unexported fields
}
func (*MapsPatchCall) Context ¶
func (c *MapsPatchCall) Context(ctx context.Context) *MapsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsPatchCall) Do ¶
func (c *MapsPatchCall) Do() error
Do executes the "mapsengine.maps.patch" call.
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.
func (*MapsPatchCall) QuotaUser ¶
func (c *MapsPatchCall) QuotaUser(quotaUser string) *MapsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsPatchCall) UserIP ¶
func (c *MapsPatchCall) UserIP(userIP string) *MapsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MapsPermissionsBatchDeleteCall ¶
type MapsPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*MapsPermissionsBatchDeleteCall) Context ¶
func (c *MapsPermissionsBatchDeleteCall) Context(ctx context.Context) *MapsPermissionsBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsPermissionsBatchDeleteCall) Do ¶
func (c *MapsPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
Do executes the "mapsengine.maps.permissions.batchDelete" call. Exactly one of *PermissionsBatchDeleteResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchDeleteResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsPermissionsBatchDeleteCall) QuotaUser ¶
func (c *MapsPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *MapsPermissionsBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsPermissionsBatchDeleteCall) UserIP ¶
func (c *MapsPermissionsBatchDeleteCall) UserIP(userIP string) *MapsPermissionsBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MapsPermissionsBatchUpdateCall ¶
type MapsPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*MapsPermissionsBatchUpdateCall) Context ¶
func (c *MapsPermissionsBatchUpdateCall) Context(ctx context.Context) *MapsPermissionsBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsPermissionsBatchUpdateCall) Do ¶
func (c *MapsPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
Do executes the "mapsengine.maps.permissions.batchUpdate" call. Exactly one of *PermissionsBatchUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsPermissionsBatchUpdateCall) QuotaUser ¶
func (c *MapsPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *MapsPermissionsBatchUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsPermissionsBatchUpdateCall) UserIP ¶
func (c *MapsPermissionsBatchUpdateCall) UserIP(userIP string) *MapsPermissionsBatchUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type MapsPermissionsListCall ¶
type MapsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*MapsPermissionsListCall) Context ¶
func (c *MapsPermissionsListCall) Context(ctx context.Context) *MapsPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsPermissionsListCall) Do ¶
func (c *MapsPermissionsListCall) Do() (*PermissionsListResponse, error)
Do executes the "mapsengine.maps.permissions.list" call. Exactly one of *PermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsPermissionsListCall) IfNoneMatch ¶
func (c *MapsPermissionsListCall) IfNoneMatch(entityTag string) *MapsPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*MapsPermissionsListCall) QuotaUser ¶
func (c *MapsPermissionsListCall) QuotaUser(quotaUser string) *MapsPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsPermissionsListCall) UserIP ¶
func (c *MapsPermissionsListCall) UserIP(userIP string) *MapsPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *MapsPublishCall) Context(ctx context.Context) *MapsPublishCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsPublishCall) Do ¶
func (c *MapsPublishCall) Do() (*PublishResponse, error)
Do executes the "mapsengine.maps.publish" call. Exactly one of *PublishResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsPublishCall) QuotaUser ¶
func (c *MapsPublishCall) QuotaUser(quotaUser string) *MapsPublishCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsPublishCall) UserIP ¶
func (c *MapsPublishCall) UserIP(userIP string) *MapsPublishCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *MapsUnpublishCall) Context(ctx context.Context) *MapsUnpublishCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*MapsUnpublishCall) Do ¶
func (c *MapsUnpublishCall) Do() (*PublishResponse, error)
Do executes the "mapsengine.maps.unpublish" call. Exactly one of *PublishResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PublishResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*MapsUnpublishCall) QuotaUser ¶
func (c *MapsUnpublishCall) QuotaUser(quotaUser string) *MapsUnpublishCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*MapsUnpublishCall) UserIP ¶
func (c *MapsUnpublishCall) UserIP(userIP string) *MapsUnpublishCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type Parent ¶
type Parent struct { // Id: The ID of this parent. Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Parent: A list of the parents of an asset.
func (*Parent) MarshalJSON ¶
type ParentsListResponse ¶
type ParentsListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // Parents: The parent assets. Parents []*Parent `json:"parents,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ParentsListResponse: The response returned by a call to parents.List.
func (*ParentsListResponse) MarshalJSON ¶
func (s *ParentsListResponse) MarshalJSON() ([]byte, error)
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. // // Possible values: // "owner" // "reader" // "viewer" // "writer" Role string `json:"role,omitempty"` // Type: The account type. // // Possible values: // "anyone" // "group" // "user" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Discoverable") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Permission: A permission defines the user or group that has access to an asset, and the type of access they have.
func (*Permission) MarshalJSON ¶
func (s *Permission) MarshalJSON() ([]byte, error)
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"` // ForceSendFields is a list of field names (e.g. "Ids") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PermissionsBatchDeleteRequest: The request sent to mapsengine.permissions.batchDelete.
func (*PermissionsBatchDeleteRequest) MarshalJSON ¶
func (s *PermissionsBatchDeleteRequest) MarshalJSON() ([]byte, error)
type PermissionsBatchDeleteResponse ¶
type PermissionsBatchDeleteResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
PermissionsBatchDeleteResponse: The response returned by a call to mapsengine.permissions.batchDelete.
type PermissionsBatchUpdateRequest ¶
type PermissionsBatchUpdateRequest struct { // Permissions: The permissions to be inserted or updated. Permissions []*Permission `json:"permissions,omitempty"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PermissionsBatchUpdateRequest: The request sent to mapsengine.permissions.batchUpdate.
func (*PermissionsBatchUpdateRequest) MarshalJSON ¶
func (s *PermissionsBatchUpdateRequest) MarshalJSON() ([]byte, error)
type PermissionsBatchUpdateResponse ¶
type PermissionsBatchUpdateResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
PermissionsBatchUpdateResponse: The response returned by a call to mapsengine.permissions.batchUpdate.
type PermissionsListResponse ¶
type PermissionsListResponse struct { // Permissions: The set of permissions associated with this asset. Permissions []*Permission `json:"permissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*PermissionsListResponse) MarshalJSON ¶
func (s *PermissionsListResponse) MarshalJSON() ([]byte, error)
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"` // ForceSendFields is a list of field names (e.g. "Icon") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PointStyle: Style for points.
func (*PointStyle) MarshalJSON ¶
func (s *PointStyle) MarshalJSON() ([]byte, error)
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"` // ForceSendFields is a list of field names (e.g. "Fill") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PolygonStyle: Style for polygons.
func (*PolygonStyle) MarshalJSON ¶
func (s *PolygonStyle) MarshalJSON() ([]byte, error)
type ProcessResponse ¶
type ProcessResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
ProcessResponse: The response returned by a call to any asset's Process method.
type Project ¶
type Project struct { // Id: An ID used to refer to this project. Id string `json:"id,omitempty"` // Name: A user provided name for this project. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Project: A project groups a collection of resources.
func (*Project) MarshalJSON ¶
type ProjectsIconsCreateCall ¶
type ProjectsIconsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsIconsCreateCall) Context ¶
func (c *ProjectsIconsCreateCall) Context(ctx context.Context) *ProjectsIconsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.
func (*ProjectsIconsCreateCall) Do ¶
func (c *ProjectsIconsCreateCall) Do() (*Icon, error)
Do executes the "mapsengine.projects.icons.create" call. Exactly one of *Icon or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Icon.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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
Media specifies the media to upload in a single chunk. At most one of Media and ResumableMedia may be set.
func (*ProjectsIconsCreateCall) ProgressUpdater ¶
func (c *ProjectsIconsCreateCall) ProgressUpdater(pu googleapi.ProgressUpdater) *ProjectsIconsCreateCall
ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).
func (*ProjectsIconsCreateCall) QuotaUser ¶
func (c *ProjectsIconsCreateCall) QuotaUser(quotaUser string) *ProjectsIconsCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ProjectsIconsCreateCall) ResumableMedia ¶
func (c *ProjectsIconsCreateCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *ProjectsIconsCreateCall
ResumableMedia specifies the media to upload in chunks and can be canceled with ctx. At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.
func (*ProjectsIconsCreateCall) UserIP ¶
func (c *ProjectsIconsCreateCall) UserIP(userIP string) *ProjectsIconsCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ProjectsIconsGetCall ¶
type ProjectsIconsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsIconsGetCall) Context ¶
func (c *ProjectsIconsGetCall) Context(ctx context.Context) *ProjectsIconsGetCall
Context sets the context to be used in this call's Do and Download methods. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsIconsGetCall) Do ¶
func (c *ProjectsIconsGetCall) Do() (*Icon, error)
Do executes the "mapsengine.projects.icons.get" call. Exactly one of *Icon or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Icon.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsIconsGetCall) Download ¶
func (c *ProjectsIconsGetCall) Download() (*http.Response, error)
Download fetches the API endpoint's "media" value, instead of the normal API response value. If the returned error is nil, the Response is guaranteed to have a 2xx status code. Callers must close the Response.Body as usual.
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.
func (*ProjectsIconsGetCall) IfNoneMatch ¶
func (c *ProjectsIconsGetCall) IfNoneMatch(entityTag string) *ProjectsIconsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsIconsGetCall) QuotaUser ¶
func (c *ProjectsIconsGetCall) QuotaUser(quotaUser string) *ProjectsIconsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ProjectsIconsGetCall) UserIP ¶
func (c *ProjectsIconsGetCall) UserIP(userIP string) *ProjectsIconsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ProjectsIconsListCall ¶
type ProjectsIconsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsIconsListCall) Context ¶
func (c *ProjectsIconsListCall) Context(ctx context.Context) *ProjectsIconsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsIconsListCall) Do ¶
func (c *ProjectsIconsListCall) Do() (*IconsListResponse, error)
Do executes the "mapsengine.projects.icons.list" call. Exactly one of *IconsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *IconsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *ProjectsIconsListCall) IfNoneMatch(entityTag string) *ProjectsIconsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*ProjectsIconsListCall) QuotaUser ¶
func (c *ProjectsIconsListCall) QuotaUser(quotaUser string) *ProjectsIconsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ProjectsIconsListCall) UserIP ¶
func (c *ProjectsIconsListCall) UserIP(userIP string) *ProjectsIconsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *ProjectsListCall) Context(ctx context.Context) *ProjectsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsListCall) Do ¶
func (c *ProjectsListCall) Do() (*ProjectsListResponse, error)
Do executes the "mapsengine.projects.list" call. Exactly one of *ProjectsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProjectsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*ProjectsListCall) IfNoneMatch ¶
func (c *ProjectsListCall) IfNoneMatch(entityTag string) *ProjectsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsListCall) QuotaUser ¶
func (c *ProjectsListCall) QuotaUser(quotaUser string) *ProjectsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*ProjectsListCall) UserIP ¶
func (c *ProjectsListCall) UserIP(userIP string) *ProjectsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ProjectsListResponse ¶
type ProjectsListResponse struct { // Projects: Projects returned. Projects []*Project `json:"projects,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Projects") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ProjectsListResponse: The response returned by a call to projects.List.
func (*ProjectsListResponse) MarshalJSON ¶
func (s *ProjectsListResponse) MarshalJSON() ([]byte, error)
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 { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
PublishResponse: The response returned by a call to any asset's Publish method.
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. // // Possible values: // "image" // "vector" 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PublishedLayer: The published version of a layer.
func (*PublishedLayer) MarshalJSON ¶
func (s *PublishedLayer) MarshalJSON() ([]byte, error)
type PublishedLayersListResponse ¶
type PublishedLayersListResponse struct { // Layers: Resources returned. Layers []*PublishedLayer `json:"layers,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Layers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PublishedLayersListResponse: The response returned by a call to layers.List.published.
func (*PublishedLayersListResponse) MarshalJSON ¶
func (s *PublishedLayersListResponse) MarshalJSON() ([]byte, error)
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Contents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PublishedMap: The published version of a map asset.
func (*PublishedMap) MarshalJSON ¶
func (s *PublishedMap) MarshalJSON() ([]byte, error)
type PublishedMapsListResponse ¶
type PublishedMapsListResponse struct { // Maps: Resources returned. Maps []*PublishedMap `json:"maps,omitempty"` // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Maps") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
PublishedMapsListResponse: The response returned by a call to maps.List.published.
func (*PublishedMapsListResponse) MarshalJSON ¶
func (s *PublishedMapsListResponse) MarshalJSON() ([]byte, error)
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. // // Possible values: // "complete" // "failed" // "notReady" // "processing" // "ready" 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. // // Possible values: // "image" 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AcquisitionTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Raster: A geo-referenced raster.
func (*Raster) MarshalJSON ¶
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. // // Possible values: // "complete" // "failed" // "notReady" // "processing" // "ready" 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. // // Possible values: // "image" 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Attribution") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RasterCollection: A raster collection groups multiple Raster resources for inclusion in a Layer.
func (*RasterCollection) MarshalJSON ¶
func (s *RasterCollection) MarshalJSON() ([]byte, error)
type RasterCollectionsCancelProcessingCall ¶
type RasterCollectionsCancelProcessingCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsCancelProcessingCall) Context ¶
func (c *RasterCollectionsCancelProcessingCall) Context(ctx context.Context) *RasterCollectionsCancelProcessingCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsCancelProcessingCall) Do ¶
func (c *RasterCollectionsCancelProcessingCall) Do() (*ProcessResponse, error)
Do executes the "mapsengine.rasterCollections.cancelProcessing" call. Exactly one of *ProcessResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProcessResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsCancelProcessingCall) QuotaUser ¶
func (c *RasterCollectionsCancelProcessingCall) QuotaUser(quotaUser string) *RasterCollectionsCancelProcessingCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsCancelProcessingCall) UserIP ¶
func (c *RasterCollectionsCancelProcessingCall) UserIP(userIP string) *RasterCollectionsCancelProcessingCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsCreateCall ¶
type RasterCollectionsCreateCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsCreateCall) Context ¶
func (c *RasterCollectionsCreateCall) Context(ctx context.Context) *RasterCollectionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsCreateCall) Do ¶
func (c *RasterCollectionsCreateCall) Do() (*RasterCollection, error)
Do executes the "mapsengine.rasterCollections.create" call. Exactly one of *RasterCollection or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RasterCollection.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsCreateCall) QuotaUser ¶
func (c *RasterCollectionsCreateCall) QuotaUser(quotaUser string) *RasterCollectionsCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsCreateCall) UserIP ¶
func (c *RasterCollectionsCreateCall) UserIP(userIP string) *RasterCollectionsCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsDeleteCall ¶
type RasterCollectionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsDeleteCall) Context ¶
func (c *RasterCollectionsDeleteCall) Context(ctx context.Context) *RasterCollectionsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsDeleteCall) Do ¶
func (c *RasterCollectionsDeleteCall) Do() error
Do executes the "mapsengine.rasterCollections.delete" call.
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.
func (*RasterCollectionsDeleteCall) QuotaUser ¶
func (c *RasterCollectionsDeleteCall) QuotaUser(quotaUser string) *RasterCollectionsDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsDeleteCall) UserIP ¶
func (c *RasterCollectionsDeleteCall) UserIP(userIP string) *RasterCollectionsDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsGetCall ¶
type RasterCollectionsGetCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsGetCall) Context ¶
func (c *RasterCollectionsGetCall) Context(ctx context.Context) *RasterCollectionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsGetCall) Do ¶
func (c *RasterCollectionsGetCall) Do() (*RasterCollection, error)
Do executes the "mapsengine.rasterCollections.get" call. Exactly one of *RasterCollection or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RasterCollection.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsGetCall) IfNoneMatch ¶
func (c *RasterCollectionsGetCall) IfNoneMatch(entityTag string) *RasterCollectionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*RasterCollectionsGetCall) QuotaUser ¶
func (c *RasterCollectionsGetCall) QuotaUser(quotaUser string) *RasterCollectionsGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsGetCall) UserIP ¶
func (c *RasterCollectionsGetCall) UserIP(userIP string) *RasterCollectionsGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RasterCollectionsListCall) Context(ctx context.Context) *RasterCollectionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.rasterCollections.list" call. Exactly one of *RasterCollectionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RasterCollectionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *RasterCollectionsListCall) IfNoneMatch(entityTag string) *RasterCollectionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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":
Possible values:
"complete" - The raster collection has completed processing. "failed" - The raster collection has failed processing. "notReady" - The raster collection is not ready for processing. "processing" - The raster collection is processing. "ready" - The raster collection is ready for processing.
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) QuotaUser ¶
func (c *RasterCollectionsListCall) QuotaUser(quotaUser string) *RasterCollectionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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.
func (*RasterCollectionsListCall) UserIP ¶
func (c *RasterCollectionsListCall) UserIP(userIP string) *RasterCollectionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsListResponse ¶
type RasterCollectionsListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // RasterCollections: Resources returned. RasterCollections []*RasterCollection `json:"rasterCollections,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RasterCollectionsListResponse: The response returned by a call to raster_collections.List. Note: The list response does not include all the fields available in a raster collection. Refer to the RasterCollection resource description for details of the fields that are not included. You'll need to send a get request to retrieve the additional fields for each raster collection.
func (*RasterCollectionsListResponse) MarshalJSON ¶
func (s *RasterCollectionsListResponse) MarshalJSON() ([]byte, error)
type RasterCollectionsParentsListCall ¶
type RasterCollectionsParentsListCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsParentsListCall) Context ¶
func (c *RasterCollectionsParentsListCall) Context(ctx context.Context) *RasterCollectionsParentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsParentsListCall) Do ¶
func (c *RasterCollectionsParentsListCall) Do() (*ParentsListResponse, error)
Do executes the "mapsengine.rasterCollections.parents.list" call. Exactly one of *ParentsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ParentsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *RasterCollectionsParentsListCall) IfNoneMatch(entityTag string) *RasterCollectionsParentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*RasterCollectionsParentsListCall) QuotaUser ¶
func (c *RasterCollectionsParentsListCall) QuotaUser(quotaUser string) *RasterCollectionsParentsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsParentsListCall) UserIP ¶
func (c *RasterCollectionsParentsListCall) UserIP(userIP string) *RasterCollectionsParentsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RasterCollectionsPatchCall) Context(ctx context.Context) *RasterCollectionsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsPatchCall) Do ¶
func (c *RasterCollectionsPatchCall) Do() error
Do executes the "mapsengine.rasterCollections.patch" call.
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.
func (*RasterCollectionsPatchCall) QuotaUser ¶
func (c *RasterCollectionsPatchCall) QuotaUser(quotaUser string) *RasterCollectionsPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsPatchCall) UserIP ¶
func (c *RasterCollectionsPatchCall) UserIP(userIP string) *RasterCollectionsPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsPermissionsBatchDeleteCall ¶
type RasterCollectionsPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPermissionsBatchDeleteCall) Context ¶
func (c *RasterCollectionsPermissionsBatchDeleteCall) Context(ctx context.Context) *RasterCollectionsPermissionsBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsPermissionsBatchDeleteCall) Do ¶
func (c *RasterCollectionsPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
Do executes the "mapsengine.rasterCollections.permissions.batchDelete" call. Exactly one of *PermissionsBatchDeleteResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchDeleteResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsPermissionsBatchDeleteCall) QuotaUser ¶
func (c *RasterCollectionsPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *RasterCollectionsPermissionsBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsPermissionsBatchDeleteCall) UserIP ¶
func (c *RasterCollectionsPermissionsBatchDeleteCall) UserIP(userIP string) *RasterCollectionsPermissionsBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsPermissionsBatchUpdateCall ¶
type RasterCollectionsPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPermissionsBatchUpdateCall) Context ¶
func (c *RasterCollectionsPermissionsBatchUpdateCall) Context(ctx context.Context) *RasterCollectionsPermissionsBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsPermissionsBatchUpdateCall) Do ¶
func (c *RasterCollectionsPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
Do executes the "mapsengine.rasterCollections.permissions.batchUpdate" call. Exactly one of *PermissionsBatchUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsPermissionsBatchUpdateCall) QuotaUser ¶
func (c *RasterCollectionsPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *RasterCollectionsPermissionsBatchUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsPermissionsBatchUpdateCall) UserIP ¶
func (c *RasterCollectionsPermissionsBatchUpdateCall) UserIP(userIP string) *RasterCollectionsPermissionsBatchUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsPermissionsListCall ¶
type RasterCollectionsPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsPermissionsListCall) Context ¶
func (c *RasterCollectionsPermissionsListCall) Context(ctx context.Context) *RasterCollectionsPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsPermissionsListCall) Do ¶
func (c *RasterCollectionsPermissionsListCall) Do() (*PermissionsListResponse, error)
Do executes the "mapsengine.rasterCollections.permissions.list" call. Exactly one of *PermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsPermissionsListCall) IfNoneMatch ¶
func (c *RasterCollectionsPermissionsListCall) IfNoneMatch(entityTag string) *RasterCollectionsPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*RasterCollectionsPermissionsListCall) QuotaUser ¶
func (c *RasterCollectionsPermissionsListCall) QuotaUser(quotaUser string) *RasterCollectionsPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsPermissionsListCall) UserIP ¶
func (c *RasterCollectionsPermissionsListCall) UserIP(userIP string) *RasterCollectionsPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RasterCollectionsProcessCall) Context(ctx context.Context) *RasterCollectionsProcessCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsProcessCall) Do ¶
func (c *RasterCollectionsProcessCall) Do() (*ProcessResponse, error)
Do executes the "mapsengine.rasterCollections.process" call. Exactly one of *ProcessResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProcessResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsProcessCall) QuotaUser ¶
func (c *RasterCollectionsProcessCall) QuotaUser(quotaUser string) *RasterCollectionsProcessCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsProcessCall) UserIP ¶
func (c *RasterCollectionsProcessCall) UserIP(userIP string) *RasterCollectionsProcessCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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"` // ForceSendFields is a list of field names (e.g. "Bbox") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RasterCollectionsRaster: A raster resource.
func (*RasterCollectionsRaster) MarshalJSON ¶
func (s *RasterCollectionsRaster) MarshalJSON() ([]byte, error)
type RasterCollectionsRasterBatchDeleteRequest ¶
type RasterCollectionsRasterBatchDeleteRequest struct { // Ids: An array of Raster asset IDs to be removed from this // RasterCollection. Ids []string `json:"ids,omitempty"` // ForceSendFields is a list of field names (e.g. "Ids") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RasterCollectionsRasterBatchDeleteRequest: The request sent to rasterCollections.Rasters.BatchDelete.
func (*RasterCollectionsRasterBatchDeleteRequest) MarshalJSON ¶
func (s *RasterCollectionsRasterBatchDeleteRequest) MarshalJSON() ([]byte, error)
type RasterCollectionsRastersBatchDeleteCall ¶
type RasterCollectionsRastersBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsRastersBatchDeleteCall) Context ¶
func (c *RasterCollectionsRastersBatchDeleteCall) Context(ctx context.Context) *RasterCollectionsRastersBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsRastersBatchDeleteCall) Do ¶
func (c *RasterCollectionsRastersBatchDeleteCall) Do() (*RasterCollectionsRastersBatchDeleteResponse, error)
Do executes the "mapsengine.rasterCollections.rasters.batchDelete" call. Exactly one of *RasterCollectionsRastersBatchDeleteResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RasterCollectionsRastersBatchDeleteResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsRastersBatchDeleteCall) QuotaUser ¶
func (c *RasterCollectionsRastersBatchDeleteCall) QuotaUser(quotaUser string) *RasterCollectionsRastersBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsRastersBatchDeleteCall) UserIP ¶
func (c *RasterCollectionsRastersBatchDeleteCall) UserIP(userIP string) *RasterCollectionsRastersBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsRastersBatchDeleteResponse ¶
type RasterCollectionsRastersBatchDeleteResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
RasterCollectionsRastersBatchDeleteResponse: The response returned by a call to rasterCollections.rasters.batchDelete.
type RasterCollectionsRastersBatchInsertCall ¶
type RasterCollectionsRastersBatchInsertCall struct {
// contains filtered or unexported fields
}
func (*RasterCollectionsRastersBatchInsertCall) Context ¶
func (c *RasterCollectionsRastersBatchInsertCall) Context(ctx context.Context) *RasterCollectionsRastersBatchInsertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RasterCollectionsRastersBatchInsertCall) Do ¶
func (c *RasterCollectionsRastersBatchInsertCall) Do() (*RasterCollectionsRastersBatchInsertResponse, error)
Do executes the "mapsengine.rasterCollections.rasters.batchInsert" call. Exactly one of *RasterCollectionsRastersBatchInsertResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RasterCollectionsRastersBatchInsertResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RasterCollectionsRastersBatchInsertCall) QuotaUser ¶
func (c *RasterCollectionsRastersBatchInsertCall) QuotaUser(quotaUser string) *RasterCollectionsRastersBatchInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RasterCollectionsRastersBatchInsertCall) UserIP ¶
func (c *RasterCollectionsRastersBatchInsertCall) UserIP(userIP string) *RasterCollectionsRastersBatchInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsRastersBatchInsertRequest ¶
type RasterCollectionsRastersBatchInsertRequest struct { // Ids: An array of Raster asset IDs to be added to this // RasterCollection. Ids []string `json:"ids,omitempty"` // ForceSendFields is a list of field names (e.g. "Ids") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RasterCollectionsRastersBatchInsertRequest: The request sent to rasterCollections.Rasters.BatchInsert.
func (*RasterCollectionsRastersBatchInsertRequest) MarshalJSON ¶
func (s *RasterCollectionsRastersBatchInsertRequest) MarshalJSON() ([]byte, error)
type RasterCollectionsRastersBatchInsertResponse ¶
type RasterCollectionsRastersBatchInsertResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
RasterCollectionsRastersBatchInsertResponse: The response returned by a call to rasterCollections.rasters.batchInsert.
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) Context ¶
func (c *RasterCollectionsRastersListCall) Context(ctx context.Context) *RasterCollectionsRastersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.rasterCollections.rasters.list" call. Exactly one of *RasterCollectionsRastersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RasterCollectionsRastersListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *RasterCollectionsRastersListCall) IfNoneMatch(entityTag string) *RasterCollectionsRastersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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) QuotaUser ¶
func (c *RasterCollectionsRastersListCall) QuotaUser(quotaUser string) *RasterCollectionsRastersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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.
func (*RasterCollectionsRastersListCall) UserIP ¶
func (c *RasterCollectionsRastersListCall) UserIP(userIP string) *RasterCollectionsRastersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RasterCollectionsRastersListResponse ¶
type RasterCollectionsRastersListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // Rasters: Resources returned. Rasters []*RasterCollectionsRaster `json:"rasters,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RasterCollectionsRastersListResponse: The response returned by a call to rasterCollections.rasters.List.
func (*RasterCollectionsRastersListResponse) MarshalJSON ¶
func (s *RasterCollectionsRastersListResponse) MarshalJSON() ([]byte, error)
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) Context ¶
func (c *RastersDeleteCall) Context(ctx context.Context) *RastersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersDeleteCall) Do ¶
func (c *RastersDeleteCall) Do() error
Do executes the "mapsengine.rasters.delete" call.
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.
func (*RastersDeleteCall) QuotaUser ¶
func (c *RastersDeleteCall) QuotaUser(quotaUser string) *RastersDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersDeleteCall) UserIP ¶
func (c *RastersDeleteCall) UserIP(userIP string) *RastersDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RastersFilesInsertCall ¶
type RastersFilesInsertCall struct {
// contains filtered or unexported fields
}
func (*RastersFilesInsertCall) Context ¶
func (c *RastersFilesInsertCall) Context(ctx context.Context) *RastersFilesInsertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.
func (*RastersFilesInsertCall) Do ¶
func (c *RastersFilesInsertCall) Do() error
Do executes the "mapsengine.rasters.files.insert" call.
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
Media specifies the media to upload in a single chunk. At most one of Media and ResumableMedia may be set.
func (*RastersFilesInsertCall) ProgressUpdater ¶
func (c *RastersFilesInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *RastersFilesInsertCall
ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).
func (*RastersFilesInsertCall) QuotaUser ¶
func (c *RastersFilesInsertCall) QuotaUser(quotaUser string) *RastersFilesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersFilesInsertCall) ResumableMedia ¶
func (c *RastersFilesInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *RastersFilesInsertCall
ResumableMedia specifies the media to upload in chunks and can be canceled with ctx. At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.
func (*RastersFilesInsertCall) UserIP ¶
func (c *RastersFilesInsertCall) UserIP(userIP string) *RastersFilesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RastersGetCall) Context(ctx context.Context) *RastersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersGetCall) Do ¶
func (c *RastersGetCall) Do() (*Raster, error)
Do executes the "mapsengine.rasters.get" call. Exactly one of *Raster or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Raster.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RastersGetCall) IfNoneMatch ¶
func (c *RastersGetCall) IfNoneMatch(entityTag string) *RastersGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*RastersGetCall) QuotaUser ¶
func (c *RastersGetCall) QuotaUser(quotaUser string) *RastersGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersGetCall) UserIP ¶
func (c *RastersGetCall) UserIP(userIP string) *RastersGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RastersListCall) Context(ctx context.Context) *RastersListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.rasters.list" call. Exactly one of *RastersListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RastersListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *RastersListCall) IfNoneMatch(entityTag string) *RastersListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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":
Possible values:
"complete" - The raster has completed processing. "failed" - The raster has failed processing. "notReady" - The raster is not ready for processing. "processing" - The raster is processing. "ready" - The raster is ready for processing.
func (*RastersListCall) QuotaUser ¶
func (c *RastersListCall) QuotaUser(quotaUser string) *RastersListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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.
func (*RastersListCall) UserIP ¶
func (c *RastersListCall) UserIP(userIP string) *RastersListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RastersListResponse ¶
type RastersListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // Rasters: Resources returned. Rasters []*Raster `json:"rasters,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
RastersListResponse: The response returned by a call to rasters.List.
func (*RastersListResponse) MarshalJSON ¶
func (s *RastersListResponse) MarshalJSON() ([]byte, error)
type RastersParentsListCall ¶
type RastersParentsListCall struct {
// contains filtered or unexported fields
}
func (*RastersParentsListCall) Context ¶
func (c *RastersParentsListCall) Context(ctx context.Context) *RastersParentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersParentsListCall) Do ¶
func (c *RastersParentsListCall) Do() (*ParentsListResponse, error)
Do executes the "mapsengine.rasters.parents.list" call. Exactly one of *ParentsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ParentsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *RastersParentsListCall) IfNoneMatch(entityTag string) *RastersParentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*RastersParentsListCall) QuotaUser ¶
func (c *RastersParentsListCall) QuotaUser(quotaUser string) *RastersParentsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersParentsListCall) UserIP ¶
func (c *RastersParentsListCall) UserIP(userIP string) *RastersParentsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RastersPatchCall) Context(ctx context.Context) *RastersPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersPatchCall) Do ¶
func (c *RastersPatchCall) Do() error
Do executes the "mapsengine.rasters.patch" call.
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.
func (*RastersPatchCall) QuotaUser ¶
func (c *RastersPatchCall) QuotaUser(quotaUser string) *RastersPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersPatchCall) UserIP ¶
func (c *RastersPatchCall) UserIP(userIP string) *RastersPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RastersPermissionsBatchDeleteCall ¶
type RastersPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*RastersPermissionsBatchDeleteCall) Context ¶
func (c *RastersPermissionsBatchDeleteCall) Context(ctx context.Context) *RastersPermissionsBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersPermissionsBatchDeleteCall) Do ¶
func (c *RastersPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
Do executes the "mapsengine.rasters.permissions.batchDelete" call. Exactly one of *PermissionsBatchDeleteResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchDeleteResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RastersPermissionsBatchDeleteCall) QuotaUser ¶
func (c *RastersPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *RastersPermissionsBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersPermissionsBatchDeleteCall) UserIP ¶
func (c *RastersPermissionsBatchDeleteCall) UserIP(userIP string) *RastersPermissionsBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RastersPermissionsBatchUpdateCall ¶
type RastersPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*RastersPermissionsBatchUpdateCall) Context ¶
func (c *RastersPermissionsBatchUpdateCall) Context(ctx context.Context) *RastersPermissionsBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersPermissionsBatchUpdateCall) Do ¶
func (c *RastersPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
Do executes the "mapsengine.rasters.permissions.batchUpdate" call. Exactly one of *PermissionsBatchUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RastersPermissionsBatchUpdateCall) QuotaUser ¶
func (c *RastersPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *RastersPermissionsBatchUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersPermissionsBatchUpdateCall) UserIP ¶
func (c *RastersPermissionsBatchUpdateCall) UserIP(userIP string) *RastersPermissionsBatchUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type RastersPermissionsListCall ¶
type RastersPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*RastersPermissionsListCall) Context ¶
func (c *RastersPermissionsListCall) Context(ctx context.Context) *RastersPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersPermissionsListCall) Do ¶
func (c *RastersPermissionsListCall) Do() (*PermissionsListResponse, error)
Do executes the "mapsengine.rasters.permissions.list" call. Exactly one of *PermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RastersPermissionsListCall) IfNoneMatch ¶
func (c *RastersPermissionsListCall) IfNoneMatch(entityTag string) *RastersPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*RastersPermissionsListCall) QuotaUser ¶
func (c *RastersPermissionsListCall) QuotaUser(quotaUser string) *RastersPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersPermissionsListCall) UserIP ¶
func (c *RastersPermissionsListCall) UserIP(userIP string) *RastersPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RastersProcessCall) Context(ctx context.Context) *RastersProcessCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersProcessCall) Do ¶
func (c *RastersProcessCall) Do() (*ProcessResponse, error)
Do executes the "mapsengine.rasters.process" call. Exactly one of *ProcessResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProcessResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RastersProcessCall) QuotaUser ¶
func (c *RastersProcessCall) QuotaUser(quotaUser string) *RastersProcessCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersProcessCall) UserIP ¶
func (c *RastersProcessCall) UserIP(userIP string) *RastersProcessCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *RastersUploadCall) Context(ctx context.Context) *RastersUploadCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*RastersUploadCall) Do ¶
func (c *RastersUploadCall) Do() (*Raster, error)
Do executes the "mapsengine.rasters.upload" call. Exactly one of *Raster or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Raster.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*RastersUploadCall) QuotaUser ¶
func (c *RastersUploadCall) QuotaUser(quotaUser string) *RastersUploadCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*RastersUploadCall) UserIP ¶
func (c *RastersUploadCall) UserIP(userIP string) *RastersUploadCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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. // // Possible values: // "circle" Shape string `json:"shape,omitempty"` // ForceSendFields is a list of field names (e.g. "Border") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ScaledShape: Parameters for styling points as scaled shapes.
func (*ScaledShape) MarshalJSON ¶
func (s *ScaledShape) MarshalJSON() ([]byte, error)
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. // // Possible values: // "linear" // "sqrt" 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"` // ForceSendFields is a list of field names (e.g. "Column") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ScalingFunction: Parameters for scaling scaled shapes.
func (*ScalingFunction) MarshalJSON ¶
func (s *ScalingFunction) MarshalJSON() ([]byte, error)
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"` // ForceSendFields is a list of field names (e.g. "Columns") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Schema: A schema indicating the properties which may be associated with features within a Table, and the types of those properties.
func (*Schema) MarshalJSON ¶
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Assets *AssetsService Layers *LayersService Maps *MapsService Projects *ProjectsService RasterCollections *RasterCollectionsService Rasters *RastersService Tables *TablesService // contains filtered or unexported fields }
type SizeRange ¶
type SizeRange struct { // Max: Maximum size, in pixels. Max float64 `json:"max,omitempty"` // Min: Minimum size, in pixels. Min float64 `json:"min,omitempty"` // ForceSendFields is a list of field names (e.g. "Max") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
SizeRange: Scaled shape size range in pixels. For circles, size corresponds to diameter.
func (*SizeRange) MarshalJSON ¶
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. // // Possible values: // "complete" // "failed" // "notReady" // "processing" // "ready" 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Bbox") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
Table: A collection of geographic features, and associated metadata.
func (*Table) MarshalJSON ¶
type TableColumn ¶
type TableColumn struct { // Name: The column name. Name string `json:"name,omitempty"` // Type: The type of data stored in this column. // // Possible values: // "datetime" // "double" // "integer" // "lineStrings" // "mixedGeometry" // "points" // "polygons" // "string" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
func (*TableColumn) MarshalJSON ¶
func (s *TableColumn) MarshalJSON() ([]byte, error)
type TablesCreateCall ¶
type TablesCreateCall struct {
// contains filtered or unexported fields
}
func (*TablesCreateCall) Context ¶
func (c *TablesCreateCall) Context(ctx context.Context) *TablesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesCreateCall) Do ¶
func (c *TablesCreateCall) Do() (*Table, error)
Do executes the "mapsengine.tables.create" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*TablesCreateCall) QuotaUser ¶
func (c *TablesCreateCall) QuotaUser(quotaUser string) *TablesCreateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesCreateCall) UserIP ¶
func (c *TablesCreateCall) UserIP(userIP string) *TablesCreateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesDeleteCall ¶
type TablesDeleteCall struct {
// contains filtered or unexported fields
}
func (*TablesDeleteCall) Context ¶
func (c *TablesDeleteCall) Context(ctx context.Context) *TablesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesDeleteCall) Do ¶
func (c *TablesDeleteCall) Do() error
Do executes the "mapsengine.tables.delete" call.
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.
func (*TablesDeleteCall) QuotaUser ¶
func (c *TablesDeleteCall) QuotaUser(quotaUser string) *TablesDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesDeleteCall) UserIP ¶
func (c *TablesDeleteCall) UserIP(userIP string) *TablesDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesFeaturesBatchDeleteCall ¶
type TablesFeaturesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesBatchDeleteCall) Context ¶
func (c *TablesFeaturesBatchDeleteCall) Context(ctx context.Context) *TablesFeaturesBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesFeaturesBatchDeleteCall) Do ¶
func (c *TablesFeaturesBatchDeleteCall) Do() error
Do executes the "mapsengine.tables.features.batchDelete" call.
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.
func (*TablesFeaturesBatchDeleteCall) QuotaUser ¶
func (c *TablesFeaturesBatchDeleteCall) QuotaUser(quotaUser string) *TablesFeaturesBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesFeaturesBatchDeleteCall) UserIP ¶
func (c *TablesFeaturesBatchDeleteCall) UserIP(userIP string) *TablesFeaturesBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesFeaturesBatchInsertCall ¶
type TablesFeaturesBatchInsertCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesBatchInsertCall) Context ¶
func (c *TablesFeaturesBatchInsertCall) Context(ctx context.Context) *TablesFeaturesBatchInsertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesFeaturesBatchInsertCall) Do ¶
func (c *TablesFeaturesBatchInsertCall) Do() error
Do executes the "mapsengine.tables.features.batchInsert" call.
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.
func (*TablesFeaturesBatchInsertCall) QuotaUser ¶
func (c *TablesFeaturesBatchInsertCall) QuotaUser(quotaUser string) *TablesFeaturesBatchInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesFeaturesBatchInsertCall) UserIP ¶
func (c *TablesFeaturesBatchInsertCall) UserIP(userIP string) *TablesFeaturesBatchInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesFeaturesBatchPatchCall ¶
type TablesFeaturesBatchPatchCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesBatchPatchCall) Context ¶
func (c *TablesFeaturesBatchPatchCall) Context(ctx context.Context) *TablesFeaturesBatchPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesFeaturesBatchPatchCall) Do ¶
func (c *TablesFeaturesBatchPatchCall) Do() error
Do executes the "mapsengine.tables.features.batchPatch" call.
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.
func (*TablesFeaturesBatchPatchCall) QuotaUser ¶
func (c *TablesFeaturesBatchPatchCall) QuotaUser(quotaUser string) *TablesFeaturesBatchPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesFeaturesBatchPatchCall) UserIP ¶
func (c *TablesFeaturesBatchPatchCall) UserIP(userIP string) *TablesFeaturesBatchPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesFeaturesGetCall ¶
type TablesFeaturesGetCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesGetCall) Context ¶
func (c *TablesFeaturesGetCall) Context(ctx context.Context) *TablesFeaturesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesFeaturesGetCall) Do ¶
func (c *TablesFeaturesGetCall) Do() (*Feature, error)
Do executes the "mapsengine.tables.features.get" call. Exactly one of *Feature or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Feature.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *TablesFeaturesGetCall) IfNoneMatch(entityTag string) *TablesFeaturesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*TablesFeaturesGetCall) QuotaUser ¶
func (c *TablesFeaturesGetCall) QuotaUser(quotaUser string) *TablesFeaturesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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) UserIP ¶
func (c *TablesFeaturesGetCall) UserIP(userIP string) *TablesFeaturesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
Possible values:
"draft" - The draft version. "published" - The published version.
type TablesFeaturesListCall ¶
type TablesFeaturesListCall struct {
// contains filtered or unexported fields
}
func (*TablesFeaturesListCall) Context ¶
func (c *TablesFeaturesListCall) Context(ctx context.Context) *TablesFeaturesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesFeaturesListCall) Do ¶
func (c *TablesFeaturesListCall) Do() (*FeaturesListResponse, error)
Do executes the "mapsengine.tables.features.list" call. Exactly one of *FeaturesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FeaturesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *TablesFeaturesListCall) IfNoneMatch(entityTag string) *TablesFeaturesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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) QuotaUser ¶
func (c *TablesFeaturesListCall) QuotaUser(quotaUser string) *TablesFeaturesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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) UserIP ¶
func (c *TablesFeaturesListCall) UserIP(userIP string) *TablesFeaturesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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.
Possible values:
"draft" - The draft version. "published" - The published version.
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) Context ¶
func (c *TablesFilesInsertCall) Context(ctx context.Context) *TablesFilesInsertCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled. This context will supersede any context previously provided to the ResumableMedia method.
func (*TablesFilesInsertCall) Do ¶
func (c *TablesFilesInsertCall) Do() error
Do executes the "mapsengine.tables.files.insert" call.
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
Media specifies the media to upload in a single chunk. At most one of Media and ResumableMedia may be set.
func (*TablesFilesInsertCall) ProgressUpdater ¶
func (c *TablesFilesInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *TablesFilesInsertCall
ProgressUpdater provides a callback function that will be called after every chunk. It should be a low-latency function in order to not slow down the upload operation. This should only be called when using ResumableMedia (as opposed to Media).
func (*TablesFilesInsertCall) QuotaUser ¶
func (c *TablesFilesInsertCall) QuotaUser(quotaUser string) *TablesFilesInsertCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesFilesInsertCall) ResumableMedia ¶
func (c *TablesFilesInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *TablesFilesInsertCall
ResumableMedia specifies the media to upload in chunks and can be canceled with ctx. At most one of Media and ResumableMedia may be set. mediaType identifies the MIME media type of the upload, such as "image/png". If mediaType is "", it will be auto-detected. The provided ctx will supersede any context previously provided to the Context method.
func (*TablesFilesInsertCall) UserIP ¶
func (c *TablesFilesInsertCall) UserIP(userIP string) *TablesFilesInsertCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *TablesGetCall) Context(ctx context.Context) *TablesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesGetCall) Do ¶
func (c *TablesGetCall) Do() (*Table, error)
Do executes the "mapsengine.tables.get" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *TablesGetCall) IfNoneMatch(entityTag string) *TablesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*TablesGetCall) QuotaUser ¶
func (c *TablesGetCall) QuotaUser(quotaUser string) *TablesGetCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesGetCall) UserIP ¶
func (c *TablesGetCall) UserIP(userIP string) *TablesGetCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
func (*TablesGetCall) Version ¶
func (c *TablesGetCall) Version(version string) *TablesGetCall
Version sets the optional parameter "version":
Possible values:
"draft" - The draft version. "published" - The published 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) Context ¶
func (c *TablesListCall) Context(ctx context.Context) *TablesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
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)
Do executes the "mapsengine.tables.list" call. Exactly one of *TablesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TablesListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *TablesListCall) IfNoneMatch(entityTag string) *TablesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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":
Possible values:
"complete" - The table has completed processing. "failed" - The table has failed processing. "notReady" - The table is not ready for processing. "processing" - The table is processing. "ready" - The table is ready for processing.
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) QuotaUser ¶
func (c *TablesListCall) QuotaUser(quotaUser string) *TablesListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
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.
Possible values:
"owner" - The user can read, write and administer the asset. "reader" - The user can read the asset. "writer" - The user can read and write the asset.
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.
func (*TablesListCall) UserIP ¶
func (c *TablesListCall) UserIP(userIP string) *TablesListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesListResponse ¶
type TablesListResponse struct { // NextPageToken: Next page token. NextPageToken string `json:"nextPageToken,omitempty"` // Tables: Resources returned. Tables []*Table `json:"tables,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
TablesListResponse: The response returned by a call to tables.List. Note: The list response does not include all the fields available in a table. Refer to the table resource description for details of the fields that are not included. You'll need to send a get request to retrieve the additional fields for each table.
func (*TablesListResponse) MarshalJSON ¶
func (s *TablesListResponse) MarshalJSON() ([]byte, error)
type TablesParentsListCall ¶
type TablesParentsListCall struct {
// contains filtered or unexported fields
}
func (*TablesParentsListCall) Context ¶
func (c *TablesParentsListCall) Context(ctx context.Context) *TablesParentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesParentsListCall) Do ¶
func (c *TablesParentsListCall) Do() (*ParentsListResponse, error)
Do executes the "mapsengine.tables.parents.list" call. Exactly one of *ParentsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ParentsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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) IfNoneMatch ¶
func (c *TablesParentsListCall) IfNoneMatch(entityTag string) *TablesParentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
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.
func (*TablesParentsListCall) QuotaUser ¶
func (c *TablesParentsListCall) QuotaUser(quotaUser string) *TablesParentsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesParentsListCall) UserIP ¶
func (c *TablesParentsListCall) UserIP(userIP string) *TablesParentsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *TablesPatchCall) Context(ctx context.Context) *TablesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesPatchCall) Do ¶
func (c *TablesPatchCall) Do() error
Do executes the "mapsengine.tables.patch" call.
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.
func (*TablesPatchCall) QuotaUser ¶
func (c *TablesPatchCall) QuotaUser(quotaUser string) *TablesPatchCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesPatchCall) UserIP ¶
func (c *TablesPatchCall) UserIP(userIP string) *TablesPatchCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesPermissionsBatchDeleteCall ¶
type TablesPermissionsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*TablesPermissionsBatchDeleteCall) Context ¶
func (c *TablesPermissionsBatchDeleteCall) Context(ctx context.Context) *TablesPermissionsBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesPermissionsBatchDeleteCall) Do ¶
func (c *TablesPermissionsBatchDeleteCall) Do() (*PermissionsBatchDeleteResponse, error)
Do executes the "mapsengine.tables.permissions.batchDelete" call. Exactly one of *PermissionsBatchDeleteResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchDeleteResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*TablesPermissionsBatchDeleteCall) QuotaUser ¶
func (c *TablesPermissionsBatchDeleteCall) QuotaUser(quotaUser string) *TablesPermissionsBatchDeleteCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesPermissionsBatchDeleteCall) UserIP ¶
func (c *TablesPermissionsBatchDeleteCall) UserIP(userIP string) *TablesPermissionsBatchDeleteCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesPermissionsBatchUpdateCall ¶
type TablesPermissionsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*TablesPermissionsBatchUpdateCall) Context ¶
func (c *TablesPermissionsBatchUpdateCall) Context(ctx context.Context) *TablesPermissionsBatchUpdateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesPermissionsBatchUpdateCall) Do ¶
func (c *TablesPermissionsBatchUpdateCall) Do() (*PermissionsBatchUpdateResponse, error)
Do executes the "mapsengine.tables.permissions.batchUpdate" call. Exactly one of *PermissionsBatchUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsBatchUpdateResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*TablesPermissionsBatchUpdateCall) QuotaUser ¶
func (c *TablesPermissionsBatchUpdateCall) QuotaUser(quotaUser string) *TablesPermissionsBatchUpdateCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesPermissionsBatchUpdateCall) UserIP ¶
func (c *TablesPermissionsBatchUpdateCall) UserIP(userIP string) *TablesPermissionsBatchUpdateCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type TablesPermissionsListCall ¶
type TablesPermissionsListCall struct {
// contains filtered or unexported fields
}
func (*TablesPermissionsListCall) Context ¶
func (c *TablesPermissionsListCall) Context(ctx context.Context) *TablesPermissionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesPermissionsListCall) Do ¶
func (c *TablesPermissionsListCall) Do() (*PermissionsListResponse, error)
Do executes the "mapsengine.tables.permissions.list" call. Exactly one of *PermissionsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PermissionsListResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*TablesPermissionsListCall) IfNoneMatch ¶
func (c *TablesPermissionsListCall) IfNoneMatch(entityTag string) *TablesPermissionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*TablesPermissionsListCall) QuotaUser ¶
func (c *TablesPermissionsListCall) QuotaUser(quotaUser string) *TablesPermissionsListCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesPermissionsListCall) UserIP ¶
func (c *TablesPermissionsListCall) UserIP(userIP string) *TablesPermissionsListCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *TablesProcessCall) Context(ctx context.Context) *TablesProcessCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesProcessCall) Do ¶
func (c *TablesProcessCall) Do() (*ProcessResponse, error)
Do executes the "mapsengine.tables.process" call. Exactly one of *ProcessResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ProcessResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*TablesProcessCall) QuotaUser ¶
func (c *TablesProcessCall) QuotaUser(quotaUser string) *TablesProcessCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesProcessCall) UserIP ¶
func (c *TablesProcessCall) UserIP(userIP string) *TablesProcessCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
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) Context ¶
func (c *TablesUploadCall) Context(ctx context.Context) *TablesUploadCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*TablesUploadCall) Do ¶
func (c *TablesUploadCall) Do() (*Table, error)
Do executes the "mapsengine.tables.upload" call. Exactly one of *Table or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Table.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
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.
func (*TablesUploadCall) QuotaUser ¶
func (c *TablesUploadCall) QuotaUser(quotaUser string) *TablesUploadCall
QuotaUser sets the optional parameter "quotaUser": Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
func (*TablesUploadCall) UserIP ¶
func (c *TablesUploadCall) UserIP(userIP string) *TablesUploadCall
UserIP sets the optional parameter "userIp": IP address of the site where the request originates. Use this if you want to enforce per-user limits.
type ValueRange ¶
type ValueRange struct { // Max: Maximum value. Max float64 `json:"max,omitempty"` // Min: Minimum value. Min float64 `json:"min,omitempty"` // ForceSendFields is a list of field names (e.g. "Max") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ValueRange: Range of values used for scaling shapes. The min/max values will be drawn as shapes with the min/max size.
func (*ValueRange) MarshalJSON ¶
func (s *ValueRange) MarshalJSON() ([]byte, error)
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. // // Possible values: // "displayRule" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayRules") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
VectorStyle: A vector style contains styling information for vector layer.
func (*VectorStyle) MarshalJSON ¶
func (s *VectorStyle) MarshalJSON() ([]byte, error)
type ZoomLevels ¶
type ZoomLevels struct { // Max: Maximum zoom level. Max int64 `json:"max,omitempty"` // Min: Minimum zoom level. Min int64 `json:"min,omitempty"` // ForceSendFields is a list of field names (e.g. "Max") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` }
ZoomLevels: Zoom level range. Zoom levels are restricted between 0 and 24, inclusive.
func (*ZoomLevels) MarshalJSON ¶
func (s *ZoomLevels) MarshalJSON() ([]byte, error)