mapsengine

package
v0.0.0-...-814acd1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2015 License: BSD-3-Clause Imports: 10 Imported by: 0

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

View Source
const (
	// View and manage your Google Maps Engine data
	MapsengineScope = "https://www.googleapis.com/auth/mapsengine"

	// View your Google Maps Engine data
	MapsengineReadonlyScope = "https://www.googleapis.com/auth/mapsengine.readonly"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcquisitionTime

type AcquisitionTime struct {
	// End: The end time if acquisition time is a range. The value is an RFC
	// 3339 formatted date-time value (1970-01-01T00:00:00Z).
	End string `json:"end,omitempty"`

	// Precision: The precision of acquisition time.
	Precision string `json:"precision,omitempty"`

	// Start: The acquisition time, or start time if acquisition time is a
	// range. The value is an RFC 3339 formatted date-time value
	// (1970-01-01T00:00:00Z).
	Start string `json:"start,omitempty"`
}

type Asset

type Asset struct {
	// Bbox: A rectangular bounding box which contains all of the data in
	// this asset. The box is expressed as \"west, south, east, north\". The
	// numbers represent latitude and longitude in decimal degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// CreationTime: The creation time of this asset. The value is an RFC
	// 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// CreatorEmail: The email address of the creator of this asset. This is
	// only returned on GET requests and not LIST requests.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Description: The asset's description.
	Description string `json:"description,omitempty"`

	// Etag: The ETag, used to refer to the current version of the asset.
	Etag string `json:"etag,omitempty"`

	// Id: The asset's globally unique ID.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this asset. The value is
	// an RFC 3339-formatted date-time value (for example,
	// 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// LastModifierEmail: The email address of the last modifier of this
	// asset. This is only returned on GET requests and not LIST requests.
	LastModifierEmail string `json:"lastModifierEmail,omitempty"`

	// Name: The asset's name.
	Name string `json:"name,omitempty"`

	// ProjectId: The ID of the project to which the asset belongs.
	ProjectId string `json:"projectId,omitempty"`

	// Resource: The URL to query to retrieve the asset's complete object.
	// The assets endpoint only returns high-level information about a
	// resource.
	Resource string `json:"resource,omitempty"`

	// Tags: An array of text strings, with each string representing a tag.
	// More information about tags can be found in the Tagging data article
	// of the Maps Engine help center.
	Tags []string `json:"tags,omitempty"`

	// Type: The type of asset. One of raster, rasterCollection, table, map,
	// or layer.
	Type string `json:"type,omitempty"`

	// WritersCanEditPermissions: If true, WRITERs of the asset are able to
	// edit the asset permissions.
	WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"`
}

type AssetsGetCall

type AssetsGetCall struct {
	// contains filtered or unexported fields
}

func (*AssetsGetCall) Do

func (c *AssetsGetCall) Do() (*Asset, error)

func (*AssetsGetCall) Fields

func (c *AssetsGetCall) Fields(s ...googleapi.Field) *AssetsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type AssetsListCall

type AssetsListCall struct {
	// contains filtered or unexported fields
}

func (*AssetsListCall) Bbox

func (c *AssetsListCall) Bbox(bbox string) *AssetsListCall

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*AssetsListCall) CreatedAfter

func (c *AssetsListCall) CreatedAfter(createdAfter string) *AssetsListCall

CreatedAfter sets the optional parameter "createdAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.

func (*AssetsListCall) CreatedBefore

func (c *AssetsListCall) CreatedBefore(createdBefore string) *AssetsListCall

CreatedBefore sets the optional parameter "createdBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.

func (*AssetsListCall) CreatorEmail

func (c *AssetsListCall) CreatorEmail(creatorEmail string) *AssetsListCall

CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

func (*AssetsListCall) Do

func (*AssetsListCall) Fields

func (c *AssetsListCall) Fields(s ...googleapi.Field) *AssetsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AssetsListCall) MaxResults

func (c *AssetsListCall) MaxResults(maxResults int64) *AssetsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*AssetsListCall) ModifiedAfter

func (c *AssetsListCall) ModifiedAfter(modifiedAfter string) *AssetsListCall

ModifiedAfter sets the optional parameter "modifiedAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.

func (*AssetsListCall) ModifiedBefore

func (c *AssetsListCall) ModifiedBefore(modifiedBefore string) *AssetsListCall

ModifiedBefore sets the optional parameter "modifiedBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.

func (*AssetsListCall) PageToken

func (c *AssetsListCall) PageToken(pageToken string) *AssetsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*AssetsListCall) ProjectId

func (c *AssetsListCall) ProjectId(projectId string) *AssetsListCall

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

func (*AssetsListCall) Role

func (c *AssetsListCall) Role(role string) *AssetsListCall

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*AssetsListCall) Search

func (c *AssetsListCall) Search(search string) *AssetsListCall

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*AssetsListCall) Tags

func (c *AssetsListCall) Tags(tags string) *AssetsListCall

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

func (*AssetsListCall) Type

func (c *AssetsListCall) Type(type_ string) *AssetsListCall

Type sets the optional parameter "type": A comma separated list of asset types. Returned assets will have one of the types from the provided list. Supported values are 'map', 'layer', 'rasterCollection' and 'table'.

type AssetsListResponse

type AssetsListResponse struct {
	// Assets: Assets returned.
	Assets []*Asset `json:"assets,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

type AssetsParentsListCall

type AssetsParentsListCall struct {
	// contains filtered or unexported fields
}

func (*AssetsParentsListCall) Do

func (*AssetsParentsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AssetsParentsListCall) MaxResults

func (c *AssetsParentsListCall) MaxResults(maxResults int64) *AssetsParentsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.

func (*AssetsParentsListCall) PageToken

func (c *AssetsParentsListCall) PageToken(pageToken string) *AssetsParentsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

type AssetsParentsService

type AssetsParentsService struct {
	// contains filtered or unexported fields
}

func NewAssetsParentsService

func NewAssetsParentsService(s *Service) *AssetsParentsService

func (*AssetsParentsService) List

List: Return all parent ids of the specified asset.

type AssetsPermissionsListCall

type AssetsPermissionsListCall struct {
	// contains filtered or unexported fields
}

func (*AssetsPermissionsListCall) Do

func (*AssetsPermissionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type AssetsPermissionsService

type AssetsPermissionsService struct {
	// contains filtered or unexported fields
}

func NewAssetsPermissionsService

func NewAssetsPermissionsService(s *Service) *AssetsPermissionsService

func (*AssetsPermissionsService) List

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"`
}

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"`
}

type Datasource

type Datasource struct {
	// Id: The ID of a datasource.
	Id string `json:"id,omitempty"`
}

type DisplayRule

type DisplayRule struct {
	// Filters: This display rule will only be applied to features that
	// match all of the filters here. If filters is empty, then the rule
	// applies to all features.
	Filters []*Filter `json:"filters,omitempty"`

	// LineOptions: Style applied to lines. Required for LineString
	// Geometry.
	LineOptions *LineStyle `json:"lineOptions,omitempty"`

	// Name: Display rule name. Name is not unique and cannot be used for
	// identification purpose.
	Name string `json:"name,omitempty"`

	// PointOptions: Style applied to points. Required for Point Geometry.
	PointOptions *PointStyle `json:"pointOptions,omitempty"`

	// PolygonOptions: Style applied to polygons. Required for Polygon
	// Geometry.
	PolygonOptions *PolygonStyle `json:"polygonOptions,omitempty"`

	// ZoomLevels: The zoom levels that this display rule apply.
	ZoomLevels *ZoomLevels `json:"zoomLevels,omitempty"`
}

type Feature

type Feature struct {
	// Geometry: The geometry member of this Feature.
	Geometry GeoJsonGeometry `json:"geometry,omitempty"`

	// Properties: Key/value pairs of this Feature.
	Properties *GeoJsonProperties `json:"properties,omitempty"`

	// Type: Identifies this object as a feature.
	Type string `json:"type,omitempty"`
}

type FeatureInfo

type FeatureInfo struct {
	// Content: HTML template of the info window. If not provided, a default
	// template with all attributes will be generated.
	Content string `json:"content,omitempty"`
}

type FeaturesBatchDeleteRequest

type FeaturesBatchDeleteRequest struct {
	Gx_ids []string `json:"gx_ids,omitempty"`

	PrimaryKeys []string `json:"primaryKeys,omitempty"`
}

type FeaturesBatchInsertRequest

type FeaturesBatchInsertRequest struct {
	Features []*Feature `json:"features,omitempty"`

	// NormalizeGeometries: If true, the server will normalize feature
	// geometries. It is assumed that the South Pole is exterior to any
	// polygons given. See here for a list of normalizations. If false, all
	// feature geometries must be given already normalized. The points in
	// all LinearRings must be listed in counter-clockwise order, and
	// LinearRings may not intersect.
	NormalizeGeometries bool `json:"normalizeGeometries,omitempty"`
}

type FeaturesBatchPatchRequest

type FeaturesBatchPatchRequest struct {
	Features []*Feature `json:"features,omitempty"`

	// NormalizeGeometries: If true, the server will normalize feature
	// geometries. It is assumed that the South Pole is exterior to any
	// polygons given. See here for a list of normalizations. If false, all
	// feature geometries must be given already normalized. The points in
	// all LinearRings must be listed in counter-clockwise order, and
	// LinearRings may not intersect.
	NormalizeGeometries bool `json:"normalizeGeometries,omitempty"`
}

type FeaturesListResponse

type FeaturesListResponse struct {
	// AllowedQueriesPerSecond: An indicator of the maximum rate at which
	// queries may be made, if all queries were as expensive as this query.
	AllowedQueriesPerSecond float64 `json:"allowedQueriesPerSecond,omitempty"`

	// Features: Resources returned.
	Features []*Feature `json:"features,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Schema: The feature schema.
	Schema *Schema `json:"schema,omitempty"`

	Type string `json:"type,omitempty"`
}

type 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.
	UploadStatus string `json:"uploadStatus,omitempty"`
}

type Filter

type Filter struct {
	// Column: The column name to filter on.
	Column string `json:"column,omitempty"`

	// Operator: Operation used to evaluate the filter.
	Operator string `json:"operator,omitempty"`

	// Value: Value to be evaluated against attribute.
	Value interface{} `json:"value,omitempty"`
}

type GeoJsonGeometry

type GeoJsonGeometry map[string]interface{}

func (GeoJsonGeometry) GeometryCollection

func (t GeoJsonGeometry) GeometryCollection() (r GeoJsonGeometryCollection, ok bool)

func (GeoJsonGeometry) LineString

func (t GeoJsonGeometry) LineString() (r GeoJsonLineString, ok bool)

func (GeoJsonGeometry) MultiLineString

func (t GeoJsonGeometry) MultiLineString() (r GeoJsonMultiLineString, ok bool)

func (GeoJsonGeometry) MultiPoint

func (t GeoJsonGeometry) MultiPoint() (r GeoJsonMultiPoint, ok bool)

func (GeoJsonGeometry) MultiPolygon

func (t GeoJsonGeometry) MultiPolygon() (r GeoJsonMultiPolygon, ok bool)

func (GeoJsonGeometry) Point

func (t GeoJsonGeometry) Point() (r GeoJsonPoint, ok bool)

func (GeoJsonGeometry) Polygon

func (t GeoJsonGeometry) Polygon() (r GeoJsonPolygon, ok bool)

func (GeoJsonGeometry) Type

func (t GeoJsonGeometry) Type() string

type GeoJsonGeometryCollection

type GeoJsonGeometryCollection struct {
	// Geometries: An array of geometry objects. There must be at least 2
	// different types of geometries in the array.
	Geometries []GeoJsonGeometry `json:"geometries,omitempty"`

	// Type: Identifies this object as a GeoJsonGeometryCollection.
	Type string `json:"type,omitempty"`
}

type GeoJsonLineString

type 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.
	Type string `json:"type,omitempty"`
}

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.
	Type string `json:"type,omitempty"`
}

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.
	Type string `json:"type,omitempty"`
}

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.
	Type string `json:"type,omitempty"`
}

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.
	Type string `json:"type,omitempty"`
}

type GeoJsonPolygon

type GeoJsonPolygon struct {
	// Coordinates: An array of LinearRings. A LinearRing is a
	// GeoJsonLineString which is closed (that is, the first and last
	// GeoJsonPositions are equal), and which contains at least four
	// GeoJsonPositions. For polygons with multiple rings, the first
	// LinearRing is the exterior ring, and any subsequent rings are
	// interior rings (that is, holes).
	Coordinates [][][]float64 `json:"coordinates,omitempty"`

	// Type: Identifies this object as a GeoJsonPolygon.
	Type string `json:"type,omitempty"`
}

type GeoJsonProperties

type GeoJsonProperties struct {
}

type Icon

type Icon struct {
	// Description: The description of this Icon, supplied by the author.
	Description string `json:"description,omitempty"`

	// Id: An ID used to refer to this Icon.
	Id string `json:"id,omitempty"`

	// Name: The name of this Icon, supplied by the author.
	Name string `json:"name,omitempty"`
}

type IconStyle

type IconStyle struct {
	// Id: Custom icon id.
	Id string `json:"id,omitempty"`

	// Name: Stock icon name. To use a stock icon, prefix it with 'gx_'. See
	// Stock icon names for valid icon names. For example, to specify
	// small_red, set name to 'gx_small_red'.
	Name string `json:"name,omitempty"`

	// ScaledShape: A scalable shape.
	ScaledShape *ScaledShape `json:"scaledShape,omitempty"`

	// ScalingFunction: The function used to scale shapes. Required when a
	// scaledShape is specified.
	ScalingFunction *ScalingFunction `json:"scalingFunction,omitempty"`
}

type IconsListResponse

type IconsListResponse struct {
	// Icons: Resources returned.
	Icons []*Icon `json:"icons,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

type LabelStyle

type LabelStyle struct {
	// Color: Color of the text. If not provided, default to black.
	Color string `json:"color,omitempty"`

	// Column: The column value of the feature to be displayed.
	Column string `json:"column,omitempty"`

	// FontStyle: Font style of the label, defaults to 'normal'.
	FontStyle string `json:"fontStyle,omitempty"`

	// FontWeight: Font weight of the label, defaults to 'normal'.
	FontWeight string `json:"fontWeight,omitempty"`

	// Opacity: Opacity of the text.
	Opacity float64 `json:"opacity,omitempty"`

	// Outline: Outline color of the text.
	Outline *Color `json:"outline,omitempty"`

	// Size: Font size of the label, in pixels. 8 <= size <= 15. If not
	// provided, a default size will be provided.
	Size float64 `json:"size,omitempty"`
}

type Layer

type Layer struct {
	// Bbox: A rectangular bounding box which contains all of the data in
	// this Layer. The box is expressed as \"west, south, east, north\". The
	// numbers represent latitude and longitude in decimal degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// CreationTime: The creation time of this layer. The value is an RFC
	// 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// CreatorEmail: The email address of the creator of this layer. This is
	// only returned on GET requests and not LIST requests.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// DatasourceType: Deprecated: The type of the datasources used to build
	// this Layer. Note: This has been replaced by layerType, but is still
	// available for now to maintain backward compatibility.
	DatasourceType string `json:"datasourceType,omitempty"`

	// Datasources: An array of datasources used to build this layer. If
	// layerType is "image", or layerType is not specified and
	// datasourceType is "image", then each element in this array is a
	// reference to an Image or RasterCollection. If layerType is "vector",
	// or layerType is not specified and datasourceType is "table" then each
	// element in this array is a reference to a Vector Table. Note:
	// Datasources are returned in response to a get request but not a list
	// request. After requesting a list of layers, you'll need to send a get
	// request to retrieve the datasources for each layer.
	Datasources []*Datasource `json:"datasources,omitempty"`

	// Description: The description of this Layer, supplied by the author.
	Description string `json:"description,omitempty"`

	// DraftAccessList: Deprecated: The name of an access list of the Map
	// Editor type. The user on whose behalf the request is being sent must
	// be an editor on that access list. Note: Google Maps Engine no longer
	// uses access lists. Instead, each asset has its own list of
	// permissions. For backward compatibility, the API still accepts access
	// lists for projects that are already using access lists. If you
	// created a GME account/project after July 14th, 2014, you will not be
	// able to send API requests that include access lists. Note: This is an
	// input field only. It is not returned in response to a list or get
	// request.
	DraftAccessList string `json:"draftAccessList,omitempty"`

	// Etag: The ETag, used to refer to the current version of the asset.
	Etag string `json:"etag,omitempty"`

	// Id: A globally unique ID, used to refer to this Layer.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this layer. The value is
	// an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// LastModifierEmail: The email address of the last modifier of this
	// layer. This is only returned on GET requests and not LIST requests.
	LastModifierEmail string `json:"lastModifierEmail,omitempty"`

	// LayerType: The type of the datasources used to build this Layer. This
	// should be used instead of datasourceType. At least one of layerType
	// and datasourceType and must be specified, but layerType takes
	// precedence.
	LayerType string `json:"layerType,omitempty"`

	// Name: The name of this Layer, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProcessingStatus: The processing status of this layer.
	ProcessingStatus string `json:"processingStatus,omitempty"`

	// ProjectId: The ID of the project that this Layer is in.
	ProjectId string `json:"projectId,omitempty"`

	// PublishedAccessList: Deprecated: The access list to whom view
	// permissions are granted. The value must be the name of a Maps Engine
	// access list of the Map Viewer type, and the user must be a viewer on
	// that list. Note: Google Maps Engine no longer uses access lists.
	// Instead, each asset has its own list of permissions. For backward
	// compatibility, the API still accepts access lists for projects that
	// are already using access lists. If you created a GME account/project
	// after July 14th, 2014, you will not be able to send API requests that
	// include access lists. Note: This is an input field only. It is not
	// returned in response to a list or get request.
	PublishedAccessList string `json:"publishedAccessList,omitempty"`

	// PublishingStatus: The publishing status of this layer.
	PublishingStatus string `json:"publishingStatus,omitempty"`

	// Style: The styling information for a vector layer. Note: Style
	// information is returned in response to a get request but not a list
	// request. After requesting a list of layers, you'll need to send a get
	// request to retrieve the VectorStyles for each layer.
	Style *VectorStyle `json:"style,omitempty"`

	// Tags: Tags of this Layer.
	Tags []string `json:"tags,omitempty"`

	// WritersCanEditPermissions: If true, WRITERs of the asset are able to
	// edit the asset permissions.
	WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"`
}

type LayersCancelProcessingCall

type LayersCancelProcessingCall struct {
	// contains filtered or unexported fields
}

func (*LayersCancelProcessingCall) Do

func (*LayersCancelProcessingCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersCreateCall

type LayersCreateCall struct {
	// contains filtered or unexported fields
}

func (*LayersCreateCall) Do

func (c *LayersCreateCall) Do() (*Layer, error)

func (*LayersCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*LayersCreateCall) Process

func (c *LayersCreateCall) Process(process bool) *LayersCreateCall

Process sets the optional parameter "process": Whether to queue the created layer for processing.

type LayersDeleteCall

type LayersDeleteCall struct {
	// contains filtered or unexported fields
}

func (*LayersDeleteCall) Do

func (c *LayersDeleteCall) Do() error

func (*LayersDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersGetCall

type LayersGetCall struct {
	// contains filtered or unexported fields
}

func (*LayersGetCall) Do

func (c *LayersGetCall) Do() (*Layer, error)

func (*LayersGetCall) Fields

func (c *LayersGetCall) Fields(s ...googleapi.Field) *LayersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*LayersGetCall) Version

func (c *LayersGetCall) Version(version string) *LayersGetCall

Version sets the optional parameter "version": Deprecated: The version parameter indicates which version of the layer should be returned. When version is set to published, the published version of the layer will be returned. Please use the layers.getPublished endpoint instead.

type LayersGetPublishedCall

type LayersGetPublishedCall struct {
	// contains filtered or unexported fields
}

func (*LayersGetPublishedCall) Do

func (*LayersGetPublishedCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersListCall

type LayersListCall struct {
	// contains filtered or unexported fields
}

func (*LayersListCall) Bbox

func (c *LayersListCall) Bbox(bbox string) *LayersListCall

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*LayersListCall) CreatedAfter

func (c *LayersListCall) CreatedAfter(createdAfter string) *LayersListCall

CreatedAfter sets the optional parameter "createdAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.

func (*LayersListCall) CreatedBefore

func (c *LayersListCall) CreatedBefore(createdBefore string) *LayersListCall

CreatedBefore sets the optional parameter "createdBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.

func (*LayersListCall) CreatorEmail

func (c *LayersListCall) CreatorEmail(creatorEmail string) *LayersListCall

CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

func (*LayersListCall) Do

func (*LayersListCall) Fields

func (c *LayersListCall) Fields(s ...googleapi.Field) *LayersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*LayersListCall) MaxResults

func (c *LayersListCall) MaxResults(maxResults int64) *LayersListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*LayersListCall) ModifiedAfter

func (c *LayersListCall) ModifiedAfter(modifiedAfter string) *LayersListCall

ModifiedAfter sets the optional parameter "modifiedAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.

func (*LayersListCall) ModifiedBefore

func (c *LayersListCall) ModifiedBefore(modifiedBefore string) *LayersListCall

ModifiedBefore sets the optional parameter "modifiedBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.

func (*LayersListCall) PageToken

func (c *LayersListCall) PageToken(pageToken string) *LayersListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*LayersListCall) ProcessingStatus

func (c *LayersListCall) ProcessingStatus(processingStatus string) *LayersListCall

ProcessingStatus sets the optional parameter "processingStatus":

func (*LayersListCall) ProjectId

func (c *LayersListCall) ProjectId(projectId string) *LayersListCall

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

func (*LayersListCall) Role

func (c *LayersListCall) Role(role string) *LayersListCall

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*LayersListCall) Search

func (c *LayersListCall) Search(search string) *LayersListCall

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*LayersListCall) Tags

func (c *LayersListCall) Tags(tags string) *LayersListCall

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

type LayersListPublishedCall

type LayersListPublishedCall struct {
	// contains filtered or unexported fields
}

func (*LayersListPublishedCall) Do

func (*LayersListPublishedCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*LayersListPublishedCall) MaxResults

func (c *LayersListPublishedCall) MaxResults(maxResults int64) *LayersListPublishedCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*LayersListPublishedCall) PageToken

func (c *LayersListPublishedCall) PageToken(pageToken string) *LayersListPublishedCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*LayersListPublishedCall) ProjectId

func (c *LayersListPublishedCall) ProjectId(projectId string) *LayersListPublishedCall

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

type LayersListResponse

type LayersListResponse struct {
	// Layers: Resources returned.
	Layers []*Layer `json:"layers,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

type LayersParentsListCall

type LayersParentsListCall struct {
	// contains filtered or unexported fields
}

func (*LayersParentsListCall) Do

func (*LayersParentsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*LayersParentsListCall) MaxResults

func (c *LayersParentsListCall) MaxResults(maxResults int64) *LayersParentsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.

func (*LayersParentsListCall) PageToken

func (c *LayersParentsListCall) PageToken(pageToken string) *LayersParentsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

type LayersParentsService

type LayersParentsService struct {
	// contains filtered or unexported fields
}

func NewLayersParentsService

func NewLayersParentsService(s *Service) *LayersParentsService

func (*LayersParentsService) List

List: Return all parent ids of the specified layer.

type LayersPatchCall

type LayersPatchCall struct {
	// contains filtered or unexported fields
}

func (*LayersPatchCall) Do

func (c *LayersPatchCall) Do() error

func (*LayersPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersPermissionsBatchDeleteCall

type LayersPermissionsBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*LayersPermissionsBatchDeleteCall) Do

func (*LayersPermissionsBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersPermissionsBatchUpdateCall

type LayersPermissionsBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*LayersPermissionsBatchUpdateCall) Do

func (*LayersPermissionsBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersPermissionsListCall

type LayersPermissionsListCall struct {
	// contains filtered or unexported fields
}

func (*LayersPermissionsListCall) Do

func (*LayersPermissionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersPermissionsService

type LayersPermissionsService struct {
	// contains filtered or unexported fields
}

func NewLayersPermissionsService

func NewLayersPermissionsService(s *Service) *LayersPermissionsService

func (*LayersPermissionsService) BatchDelete

func (r *LayersPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *LayersPermissionsBatchDeleteCall

BatchDelete: Remove permission entries from an already existing asset.

func (*LayersPermissionsService) BatchUpdate

func (r *LayersPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *LayersPermissionsBatchUpdateCall

BatchUpdate: Add or update permission entries to an already existing asset.

An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.

func (*LayersPermissionsService) List

List: Return all of the permissions for the specified asset.

type LayersProcessCall

type LayersProcessCall struct {
	// contains filtered or unexported fields
}

func (*LayersProcessCall) Do

func (*LayersProcessCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LayersPublishCall

type LayersPublishCall struct {
	// contains filtered or unexported fields
}

func (*LayersPublishCall) Do

func (*LayersPublishCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*LayersPublishCall) Force

func (c *LayersPublishCall) Force(force bool) *LayersPublishCall

Force sets the optional parameter "force": If set to true, the API will allow publication of the layer even if it's out of date. If not true, you'll need to reprocess any out-of-date layer before publishing.

type LayersService

type LayersService struct {
	Parents *LayersParentsService

	Permissions *LayersPermissionsService
	// contains filtered or unexported fields
}

func NewLayersService

func NewLayersService(s *Service) *LayersService

func (*LayersService) CancelProcessing

func (r *LayersService) CancelProcessing(id string) *LayersCancelProcessingCall

CancelProcessing: Cancel processing on a layer asset.

func (*LayersService) Create

func (r *LayersService) Create(layer *Layer) *LayersCreateCall

Create: Create a layer asset.

func (*LayersService) Delete

func (r *LayersService) Delete(id string) *LayersDeleteCall

Delete: Delete a layer.

func (*LayersService) Get

func (r *LayersService) Get(id string) *LayersGetCall

Get: Return metadata for a particular layer.

func (*LayersService) GetPublished

func (r *LayersService) GetPublished(id string) *LayersGetPublishedCall

GetPublished: Return the published metadata for a particular layer.

func (*LayersService) List

func (r *LayersService) List() *LayersListCall

List: Return all layers readable by the current user.

func (*LayersService) ListPublished

func (r *LayersService) ListPublished() *LayersListPublishedCall

ListPublished: Return all published layers readable by the current user.

func (*LayersService) Patch

func (r *LayersService) Patch(id string, layer *Layer) *LayersPatchCall

Patch: Mutate a layer asset.

func (*LayersService) Process

func (r *LayersService) Process(id string) *LayersProcessCall

Process: Process a layer asset.

func (*LayersService) Publish

func (r *LayersService) Publish(id string) *LayersPublishCall

Publish: Publish a layer asset.

func (*LayersService) Unpublish

func (r *LayersService) Unpublish(id string) *LayersUnpublishCall

Unpublish: Unpublish a layer asset.

type LayersUnpublishCall

type LayersUnpublishCall struct {
	// contains filtered or unexported fields
}

func (*LayersUnpublishCall) Do

func (*LayersUnpublishCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type LineStyle

type LineStyle struct {
	// Border: Border of the line. 0 < border.width <= 5.
	Border *Border `json:"border,omitempty"`

	// Dash: Dash defines the pattern of the line, the values are pixel
	// lengths of alternating dash and gap. If dash is not provided, then it
	// means a solid line. Dash can contain up to 10 values and must contain
	// even number of values.
	Dash []float64 `json:"dash,omitempty"`

	// Label: Label style for the line.
	Label *LabelStyle `json:"label,omitempty"`

	// Stroke: Stroke of the line.
	Stroke *LineStyleStroke `json:"stroke,omitempty"`
}

type LineStyleStroke

type LineStyleStroke struct {
	// Color: Color of the line.
	Color string `json:"color,omitempty"`

	// Opacity: Opacity of the line.
	Opacity float64 `json:"opacity,omitempty"`

	// Width: Width of the line, in pixels. 0 <= width <= 10. If width is
	// set to 0, the line will be invisible.
	Width float64 `json:"width,omitempty"`
}

type Map

type Map struct {
	// Bbox: A rectangular bounding box which contains all of the data in
	// this Map. The box is expressed as \"west, south, east, north\". The
	// numbers represent latitude and longitude in decimal degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// Contents: The contents of this Map.
	Contents []MapItem `json:"contents,omitempty"`

	// CreationTime: The creation time of this map. The value is an RFC 3339
	// formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// CreatorEmail: The email address of the creator of this map. This is
	// only returned on GET requests and not LIST requests.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// DefaultViewport: An array of four numbers (west, south, east, north)
	// which defines the rectangular bounding box of the default viewport.
	// The numbers represent latitude and longitude in decimal degrees.
	DefaultViewport []float64 `json:"defaultViewport,omitempty"`

	// Description: The description of this Map, supplied by the author.
	Description string `json:"description,omitempty"`

	// DraftAccessList: Deprecated: The name of an access list of the Map
	// Editor type. The user on whose behalf the request is being sent must
	// be an editor on that access list. Note: Google Maps Engine no longer
	// uses access lists. Instead, each asset has its own list of
	// permissions. For backward compatibility, the API still accepts access
	// lists for projects that are already using access lists. If you
	// created a GME account/project after July 14th, 2014, you will not be
	// able to send API requests that include access lists. Note: This is an
	// input field only. It is not returned in response to a list or get
	// request.
	DraftAccessList string `json:"draftAccessList,omitempty"`

	// Etag: The ETag, used to refer to the current version of the asset.
	Etag string `json:"etag,omitempty"`

	// Id: A globally unique ID, used to refer to this Map.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this map. The value is an
	// RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// LastModifierEmail: The email address of the last modifier of this
	// map. This is only returned on GET requests and not LIST requests.
	LastModifierEmail string `json:"lastModifierEmail,omitempty"`

	// Name: The name of this Map, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProcessingStatus: The processing status of this map. Map processing
	// is automatically started once a map becomes ready for processing.
	ProcessingStatus string `json:"processingStatus,omitempty"`

	// ProjectId: The ID of the project that this Map is in.
	ProjectId string `json:"projectId,omitempty"`

	// PublishedAccessList: Deprecated: The access list to whom view
	// permissions are granted. The value must be the name of a Maps Engine
	// access list of the Map Viewer type, and the user must be a viewer on
	// that list. Note: Google Maps Engine no longer uses access lists.
	// Instead, each asset has its own list of permissions. For backward
	// compatibility, the API still accepts access lists for projects that
	// are already using access lists. If you created a GME account/project
	// after July 14th, 2014, you will not be able to send API requests that
	// include access lists. This is an input field only. It is not returned
	// in response to a list or get request.
	PublishedAccessList string `json:"publishedAccessList,omitempty"`

	// PublishingStatus: The publishing status of this map.
	PublishingStatus string `json:"publishingStatus,omitempty"`

	// Tags: Tags of this Map.
	Tags []string `json:"tags,omitempty"`

	// Versions: Deprecated: An array containing the available versions of
	// this Map. Currently may only contain "published". The
	// publishingStatus field should be used instead.
	Versions []string `json:"versions,omitempty"`

	// WritersCanEditPermissions: If true, WRITERs of the asset are able to
	// edit the asset permissions.
	WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"`
}

type MapFolder

type MapFolder struct {
	Contents []MapItem `json:"contents,omitempty"`

	// DefaultViewport: An array of four numbers (west, south, east, north)
	// which defines the rectangular bounding box of the default viewport.
	// The numbers represent latitude and longitude in decimal degrees.
	DefaultViewport []float64 `json:"defaultViewport,omitempty"`

	// Expandable: The expandability setting of this MapFolder. If true, the
	// folder can be expanded.
	Expandable bool `json:"expandable,omitempty"`

	// Key: A user defined alias for this MapFolder, specific to this Map.
	Key string `json:"key,omitempty"`

	// Name: The name of this MapFolder.
	Name string `json:"name,omitempty"`

	// Type: Identifies this object as a MapFolder.
	Type string `json:"type,omitempty"`

	// Visibility: The visibility setting of this MapFolder. One of
	// "defaultOn" or "defaultOff".
	Visibility string `json:"visibility,omitempty"`
}

type MapItem

type MapItem map[string]interface{}

func (MapItem) Folder

func (t MapItem) Folder() (r MapFolder, ok bool)
func (t MapItem) KmlLink() (r MapKmlLink, ok bool)

func (MapItem) Layer

func (t MapItem) Layer() (r MapLayer, ok bool)

func (MapItem) Type

func (t MapItem) Type() string
type MapKmlLink struct {
	// DefaultViewport: An array of four numbers (west, south, east, north)
	// which defines the rectangular bounding box of the default viewport.
	// The numbers represent latitude and longitude in decimal degrees.
	DefaultViewport []float64 `json:"defaultViewport,omitempty"`

	// KmlUrl: The URL to the KML file represented by this MapKmlLink.
	KmlUrl string `json:"kmlUrl,omitempty"`

	// Name: The name of this MapKmlLink.
	Name string `json:"name,omitempty"`

	// Type: Identifies this object as a MapKmlLink.
	Type string `json:"type,omitempty"`

	// Visibility: The visibility setting of this MapKmlLink. One of
	// "defaultOn" or "defaultOff".
	Visibility string `json:"visibility,omitempty"`
}

type MapLayer

type MapLayer struct {
	// DefaultViewport: An array of four numbers (west, south, east, north)
	// which defines the rectangular bounding box of the default viewport.
	// The numbers represent latitude and longitude in decimal degrees.
	DefaultViewport []float64 `json:"defaultViewport,omitempty"`

	// Id: The ID of this MapLayer. This ID can be used to request more
	// details about the layer.
	Id string `json:"id,omitempty"`

	// Key: A user defined alias for this MapLayer, specific to this Map.
	Key string `json:"key,omitempty"`

	// Name: The name of this MapLayer.
	Name string `json:"name,omitempty"`

	// Type: Identifies this object as a MapLayer.
	Type string `json:"type,omitempty"`

	// Visibility: The visibility setting of this MapLayer. One of
	// "defaultOn" or "defaultOff".
	Visibility string `json:"visibility,omitempty"`
}

type MapsCreateCall

type MapsCreateCall struct {
	// contains filtered or unexported fields
}

func (*MapsCreateCall) Do

func (c *MapsCreateCall) Do() (*Map, error)

func (*MapsCreateCall) Fields

func (c *MapsCreateCall) Fields(s ...googleapi.Field) *MapsCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsDeleteCall

type MapsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*MapsDeleteCall) Do

func (c *MapsDeleteCall) Do() error

func (*MapsDeleteCall) Fields

func (c *MapsDeleteCall) Fields(s ...googleapi.Field) *MapsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsGetCall

type MapsGetCall struct {
	// contains filtered or unexported fields
}

func (*MapsGetCall) Do

func (c *MapsGetCall) Do() (*Map, error)

func (*MapsGetCall) Fields

func (c *MapsGetCall) Fields(s ...googleapi.Field) *MapsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*MapsGetCall) Version

func (c *MapsGetCall) Version(version string) *MapsGetCall

Version sets the optional parameter "version": Deprecated: The version parameter indicates which version of the map should be returned. When version is set to published, the published version of the map will be returned. Please use the maps.getPublished endpoint instead.

type MapsGetPublishedCall

type MapsGetPublishedCall struct {
	// contains filtered or unexported fields
}

func (*MapsGetPublishedCall) Do

func (*MapsGetPublishedCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsListCall

type MapsListCall struct {
	// contains filtered or unexported fields
}

func (*MapsListCall) Bbox

func (c *MapsListCall) Bbox(bbox string) *MapsListCall

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*MapsListCall) CreatedAfter

func (c *MapsListCall) CreatedAfter(createdAfter string) *MapsListCall

CreatedAfter sets the optional parameter "createdAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.

func (*MapsListCall) CreatedBefore

func (c *MapsListCall) CreatedBefore(createdBefore string) *MapsListCall

CreatedBefore sets the optional parameter "createdBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.

func (*MapsListCall) CreatorEmail

func (c *MapsListCall) CreatorEmail(creatorEmail string) *MapsListCall

CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

func (*MapsListCall) Do

func (c *MapsListCall) Do() (*MapsListResponse, error)

func (*MapsListCall) Fields

func (c *MapsListCall) Fields(s ...googleapi.Field) *MapsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*MapsListCall) MaxResults

func (c *MapsListCall) MaxResults(maxResults int64) *MapsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*MapsListCall) ModifiedAfter

func (c *MapsListCall) ModifiedAfter(modifiedAfter string) *MapsListCall

ModifiedAfter sets the optional parameter "modifiedAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.

func (*MapsListCall) ModifiedBefore

func (c *MapsListCall) ModifiedBefore(modifiedBefore string) *MapsListCall

ModifiedBefore sets the optional parameter "modifiedBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.

func (*MapsListCall) PageToken

func (c *MapsListCall) PageToken(pageToken string) *MapsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*MapsListCall) ProcessingStatus

func (c *MapsListCall) ProcessingStatus(processingStatus string) *MapsListCall

ProcessingStatus sets the optional parameter "processingStatus":

func (*MapsListCall) ProjectId

func (c *MapsListCall) ProjectId(projectId string) *MapsListCall

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

func (*MapsListCall) Role

func (c *MapsListCall) Role(role string) *MapsListCall

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*MapsListCall) Search

func (c *MapsListCall) Search(search string) *MapsListCall

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*MapsListCall) Tags

func (c *MapsListCall) Tags(tags string) *MapsListCall

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

func (*MapsListCall) Version

func (c *MapsListCall) Version(version string) *MapsListCall

Version sets the optional parameter "version": Deprecated: The version parameter indicates which version of the maps should be returned. When version is set to published this parameter will filter the result set to include only maps that are published. Please use the maps.listPublished endpoint instead.

type MapsListPublishedCall

type MapsListPublishedCall struct {
	// contains filtered or unexported fields
}

func (*MapsListPublishedCall) Do

func (*MapsListPublishedCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*MapsListPublishedCall) MaxResults

func (c *MapsListPublishedCall) MaxResults(maxResults int64) *MapsListPublishedCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*MapsListPublishedCall) PageToken

func (c *MapsListPublishedCall) PageToken(pageToken string) *MapsListPublishedCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*MapsListPublishedCall) ProjectId

func (c *MapsListPublishedCall) ProjectId(projectId string) *MapsListPublishedCall

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

type MapsListResponse

type MapsListResponse struct {
	// Maps: Resources returned.
	Maps []*Map `json:"maps,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

type MapsPatchCall

type MapsPatchCall struct {
	// contains filtered or unexported fields
}

func (*MapsPatchCall) Do

func (c *MapsPatchCall) Do() error

func (*MapsPatchCall) Fields

func (c *MapsPatchCall) Fields(s ...googleapi.Field) *MapsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsPermissionsBatchDeleteCall

type MapsPermissionsBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*MapsPermissionsBatchDeleteCall) Do

func (*MapsPermissionsBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsPermissionsBatchUpdateCall

type MapsPermissionsBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*MapsPermissionsBatchUpdateCall) Do

func (*MapsPermissionsBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsPermissionsListCall

type MapsPermissionsListCall struct {
	// contains filtered or unexported fields
}

func (*MapsPermissionsListCall) Do

func (*MapsPermissionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type MapsPermissionsService

type MapsPermissionsService struct {
	// contains filtered or unexported fields
}

func NewMapsPermissionsService

func NewMapsPermissionsService(s *Service) *MapsPermissionsService

func (*MapsPermissionsService) BatchDelete

func (r *MapsPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *MapsPermissionsBatchDeleteCall

BatchDelete: Remove permission entries from an already existing asset.

func (*MapsPermissionsService) BatchUpdate

func (r *MapsPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *MapsPermissionsBatchUpdateCall

BatchUpdate: Add or update permission entries to an already existing asset.

An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.

func (*MapsPermissionsService) List

List: Return all of the permissions for the specified asset.

type MapsPublishCall

type MapsPublishCall struct {
	// contains filtered or unexported fields
}

func (*MapsPublishCall) Do

func (*MapsPublishCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*MapsPublishCall) Force

func (c *MapsPublishCall) Force(force bool) *MapsPublishCall

Force sets the optional parameter "force": If set to true, the API will allow publication of the map even if it's out of date. If false, the map must have a processingStatus of complete before publishing.

type MapsService

type MapsService struct {
	Permissions *MapsPermissionsService
	// contains filtered or unexported fields
}

func NewMapsService

func NewMapsService(s *Service) *MapsService

func (*MapsService) Create

func (r *MapsService) Create(map_ *Map) *MapsCreateCall

Create: Create a map asset.

func (*MapsService) Delete

func (r *MapsService) Delete(id string) *MapsDeleteCall

Delete: Delete a map.

func (*MapsService) Get

func (r *MapsService) Get(id string) *MapsGetCall

Get: Return metadata for a particular map.

func (*MapsService) GetPublished

func (r *MapsService) GetPublished(id string) *MapsGetPublishedCall

GetPublished: Return the published metadata for a particular map.

func (*MapsService) List

func (r *MapsService) List() *MapsListCall

List: Return all maps readable by the current user.

func (*MapsService) ListPublished

func (r *MapsService) ListPublished() *MapsListPublishedCall

ListPublished: Return all published maps readable by the current user.

func (*MapsService) Patch

func (r *MapsService) Patch(id string, map_ *Map) *MapsPatchCall

Patch: Mutate a map asset.

func (*MapsService) Publish

func (r *MapsService) Publish(id string) *MapsPublishCall

Publish: Publish a map asset.

func (*MapsService) Unpublish

func (r *MapsService) Unpublish(id string) *MapsUnpublishCall

Unpublish: Unpublish a map asset.

type MapsUnpublishCall

type MapsUnpublishCall struct {
	// contains filtered or unexported fields
}

func (*MapsUnpublishCall) Do

func (*MapsUnpublishCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type Parent

type Parent struct {
	// Id: The ID of this parent.
	Id string `json:"id,omitempty"`
}

type ParentsListResponse

type ParentsListResponse struct {
	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Parents: The parent assets.
	Parents []*Parent `json:"parents,omitempty"`
}

type Permission

type Permission struct {
	// Discoverable: Indicates whether a public asset is listed and can be
	// found via a web search (value true), or is visible only to people who
	// have a link to the asset (value false).
	Discoverable bool `json:"discoverable,omitempty"`

	// Id: The unique identifier of the permission. This could be the email
	// address of the user or group this permission refers to, or the string
	// "anyone" for public permissions.
	Id string `json:"id,omitempty"`

	// Role: The type of access granted to this user or group.
	Role string `json:"role,omitempty"`

	// Type: The account type.
	Type string `json:"type,omitempty"`
}

type PermissionsBatchDeleteRequest

type PermissionsBatchDeleteRequest struct {
	// Ids: An array of permission ids to be removed. This could be the
	// email address of the user or group this permission refers to, or the
	// string "anyone" for public permissions.
	Ids []string `json:"ids,omitempty"`
}

type PermissionsBatchDeleteResponse

type PermissionsBatchDeleteResponse struct {
}

type PermissionsBatchUpdateRequest

type PermissionsBatchUpdateRequest struct {
	// Permissions: The permissions to be inserted or updated.
	Permissions []*Permission `json:"permissions,omitempty"`
}

type PermissionsBatchUpdateResponse

type PermissionsBatchUpdateResponse struct {
}

type PermissionsListResponse

type PermissionsListResponse struct {
	// Permissions: The set of permissions associated with this asset.
	Permissions []*Permission `json:"permissions,omitempty"`
}

type PointStyle

type PointStyle struct {
	// Icon: Icon for the point; if it isn't null, exactly one of 'name',
	// 'id' or 'scaledShape' must be set.
	Icon *IconStyle `json:"icon,omitempty"`

	// Label: Label style for the point.
	Label *LabelStyle `json:"label,omitempty"`
}

type PolygonStyle

type PolygonStyle struct {
	// Fill: Fill color of the polygon. If not provided, the polygon will be
	// transparent and not visible if there is no border.
	Fill *Color `json:"fill,omitempty"`

	// Label: Label style for the polygon.
	Label *LabelStyle `json:"label,omitempty"`

	// Stroke: Border of the polygon. 0 < border.width <= 10.
	Stroke *Border `json:"stroke,omitempty"`
}

type ProcessResponse

type ProcessResponse struct {
}

type 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"`
}

type ProjectsIconsCreateCall

type ProjectsIconsCreateCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsIconsCreateCall) Do

func (c *ProjectsIconsCreateCall) Do() (*Icon, error)

func (*ProjectsIconsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsIconsCreateCall) Media

type ProjectsIconsGetCall

type ProjectsIconsGetCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsIconsGetCall) Do

func (c *ProjectsIconsGetCall) Do() (*Icon, error)

func (*ProjectsIconsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type ProjectsIconsListCall

type ProjectsIconsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsIconsListCall) Do

func (*ProjectsIconsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsIconsListCall) MaxResults

func (c *ProjectsIconsListCall) MaxResults(maxResults int64) *ProjectsIconsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.

func (*ProjectsIconsListCall) PageToken

func (c *ProjectsIconsListCall) PageToken(pageToken string) *ProjectsIconsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

type ProjectsIconsService

type ProjectsIconsService struct {
	// contains filtered or unexported fields
}

func NewProjectsIconsService

func NewProjectsIconsService(s *Service) *ProjectsIconsService

func (*ProjectsIconsService) Create

func (r *ProjectsIconsService) Create(projectId string, icon *Icon) *ProjectsIconsCreateCall

Create: Create an icon.

func (*ProjectsIconsService) Get

func (r *ProjectsIconsService) Get(projectId string, id string) *ProjectsIconsGetCall

Get: Return an icon or its associated metadata

func (*ProjectsIconsService) List

List: Return all icons in the current project

type ProjectsListCall

type ProjectsListCall struct {
	// contains filtered or unexported fields
}

func (*ProjectsListCall) Do

func (*ProjectsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type ProjectsListResponse

type ProjectsListResponse struct {
	// Projects: Projects returned.
	Projects []*Project `json:"projects,omitempty"`
}

type ProjectsService

type ProjectsService struct {
	Icons *ProjectsIconsService
	// contains filtered or unexported fields
}

func NewProjectsService

func NewProjectsService(s *Service) *ProjectsService

func (*ProjectsService) List

func (r *ProjectsService) List() *ProjectsListCall

List: Return all projects readable by the current user.

type PublishResponse

type PublishResponse struct {
}

type PublishedLayer

type PublishedLayer struct {
	// Description: The description of this Layer, supplied by the author.
	Description string `json:"description,omitempty"`

	// Id: A globally unique ID, used to refer to this Layer.
	Id string `json:"id,omitempty"`

	// LayerType: The type of the datasources used to build this Layer. This
	// should be used instead of datasourceType. At least one of layerType
	// and datasourceType and must be specified, but layerType takes
	// precedence.
	LayerType string `json:"layerType,omitempty"`

	// Name: The name of this Layer, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProjectId: The ID of the project that this Layer is in.
	ProjectId string `json:"projectId,omitempty"`
}

type PublishedLayersListResponse

type PublishedLayersListResponse struct {
	// Layers: Resources returned.
	Layers []*PublishedLayer `json:"layers,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

type PublishedMap

type PublishedMap struct {
	// Contents: The contents of this Map.
	Contents []MapItem `json:"contents,omitempty"`

	// DefaultViewport: An array of four numbers (west, south, east, north)
	// which defines the rectangular bounding box of the default viewport.
	// The numbers represent latitude and longitude in decimal degrees.
	DefaultViewport []float64 `json:"defaultViewport,omitempty"`

	// Description: The description of this Map, supplied by the author.
	Description string `json:"description,omitempty"`

	// Id: A globally unique ID, used to refer to this Map.
	Id string `json:"id,omitempty"`

	// Name: The name of this Map, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProjectId: The ID of the project that this Map is in.
	ProjectId string `json:"projectId,omitempty"`
}

type PublishedMapsListResponse

type PublishedMapsListResponse struct {
	// Maps: Resources returned.
	Maps []*PublishedMap `json:"maps,omitempty"`

	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

type Raster

type Raster struct {
	// AcquisitionTime: The acquisition time of this Raster.
	AcquisitionTime *AcquisitionTime `json:"acquisitionTime,omitempty"`

	// Attribution: The name of the attribution to be used for this Raster.
	Attribution string `json:"attribution,omitempty"`

	// Bbox: A rectangular bounding box which contains all of the data in
	// this Raster. The box is expressed as \"west, south, east, north\".
	// The numbers represent latitudes and longitudes in decimal degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// CreationTime: The creation time of this raster. The value is an RFC
	// 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// CreatorEmail: The email address of the creator of this raster. This
	// is only returned on GET requests and not LIST requests.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Description: The description of this Raster, supplied by the author.
	Description string `json:"description,omitempty"`

	// DraftAccessList: Deprecated: The name of an access list of the Map
	// Editor type. The user on whose behalf the request is being sent must
	// be an editor on that access list. Note: Google Maps Engine no longer
	// uses access lists. Instead, each asset has its own list of
	// permissions. For backward compatibility, the API still accepts access
	// lists for projects that are already using access lists. If you
	// created a GME account/project after July 14th, 2014, you will not be
	// able to send API requests that include access lists. Note: This is an
	// input field only. It is not returned in response to a list or get
	// request.
	DraftAccessList string `json:"draftAccessList,omitempty"`

	// Etag: The ETag, used to refer to the current version of the asset.
	Etag string `json:"etag,omitempty"`

	// Files: The files associated with this Raster.
	Files []*File `json:"files,omitempty"`

	// Id: A globally unique ID, used to refer to this Raster.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this raster. The value is
	// an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// LastModifierEmail: The email address of the last modifier of this
	// raster. This is only returned on GET requests and not LIST requests.
	LastModifierEmail string `json:"lastModifierEmail,omitempty"`

	// MaskType: The mask processing type of this Raster.
	MaskType string `json:"maskType,omitempty"`

	// Name: The name of this Raster, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProcessingStatus: The processing status of this Raster.
	ProcessingStatus string `json:"processingStatus,omitempty"`

	// ProjectId: The ID of the project that this Raster is in.
	ProjectId string `json:"projectId,omitempty"`

	// RasterType: The type of this Raster. Always "image" today.
	RasterType string `json:"rasterType,omitempty"`

	// Tags: Tags of this Raster.
	Tags []string `json:"tags,omitempty"`

	// WritersCanEditPermissions: If true, WRITERs of the asset are able to
	// edit the asset permissions.
	WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"`
}

type RasterCollection

type RasterCollection struct {
	// Attribution: The name of the attribution to be used for this
	// RasterCollection. Note: Attribution is returned in response to a get
	// request but not a list request. After requesting a list of raster
	// collections, you'll need to send a get request to retrieve the
	// attribution for each raster collection.
	Attribution string `json:"attribution,omitempty"`

	// Bbox: A rectangular bounding box which contains all of the data in
	// this RasterCollection. The box is expressed as \"west, south, east,
	// north\". The numbers represent latitude and longitude in decimal
	// degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// CreationTime: The creation time of this RasterCollection. The value
	// is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// CreatorEmail: The email address of the creator of this raster
	// collection. This is only returned on GET requests and not LIST
	// requests.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Description: The description of this RasterCollection, supplied by
	// the author.
	Description string `json:"description,omitempty"`

	// DraftAccessList: Deprecated: The name of an access list of the Map
	// Editor type. The user on whose behalf the request is being sent must
	// be an editor on that access list. Note: Google Maps Engine no longer
	// uses access lists. Instead, each asset has its own list of
	// permissions. For backward compatibility, the API still accepts access
	// lists for projects that are already using access lists. If you
	// created a GME account/project after July 14th, 2014, you will not be
	// able to send API requests that include access lists. Note: This is an
	// input field only. It is not returned in response to a list or get
	// request.
	DraftAccessList string `json:"draftAccessList,omitempty"`

	// Etag: The ETag, used to refer to the current version of the asset.
	Etag string `json:"etag,omitempty"`

	// Id: A globally unique ID, used to refer to this RasterCollection.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this RasterCollection.
	// The value is an RFC 3339 formatted date-time value (e.g.
	// 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// LastModifierEmail: The email address of the last modifier of this
	// raster collection. This is only returned on GET requests and not LIST
	// requests.
	LastModifierEmail string `json:"lastModifierEmail,omitempty"`

	// Mosaic: True if this RasterCollection is a mosaic.
	Mosaic bool `json:"mosaic,omitempty"`

	// Name: The name of this RasterCollection, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProcessingStatus: The processing status of this RasterCollection.
	ProcessingStatus string `json:"processingStatus,omitempty"`

	// ProjectId: The ID of the project that this RasterCollection is in.
	ProjectId string `json:"projectId,omitempty"`

	// RasterType: The type of rasters contained within this
	// RasterCollection.
	RasterType string `json:"rasterType,omitempty"`

	// Tags: Tags of this RasterCollection.
	Tags []string `json:"tags,omitempty"`

	// WritersCanEditPermissions: If true, WRITERs of the asset are able to
	// edit the asset permissions.
	WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"`
}

type RasterCollectionsCancelProcessingCall

type RasterCollectionsCancelProcessingCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsCancelProcessingCall) Do

func (*RasterCollectionsCancelProcessingCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsCreateCall

type RasterCollectionsCreateCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsCreateCall) Do

func (*RasterCollectionsCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsDeleteCall

type RasterCollectionsDeleteCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsDeleteCall) Do

func (*RasterCollectionsDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsGetCall

type RasterCollectionsGetCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsGetCall) Do

func (*RasterCollectionsGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsListCall

type RasterCollectionsListCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsListCall) Bbox

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*RasterCollectionsListCall) CreatedAfter

func (c *RasterCollectionsListCall) CreatedAfter(createdAfter string) *RasterCollectionsListCall

CreatedAfter sets the optional parameter "createdAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.

func (*RasterCollectionsListCall) CreatedBefore

func (c *RasterCollectionsListCall) CreatedBefore(createdBefore string) *RasterCollectionsListCall

CreatedBefore sets the optional parameter "createdBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.

func (*RasterCollectionsListCall) CreatorEmail

func (c *RasterCollectionsListCall) CreatorEmail(creatorEmail string) *RasterCollectionsListCall

CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

func (*RasterCollectionsListCall) Do

func (*RasterCollectionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*RasterCollectionsListCall) MaxResults

func (c *RasterCollectionsListCall) MaxResults(maxResults int64) *RasterCollectionsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*RasterCollectionsListCall) ModifiedAfter

func (c *RasterCollectionsListCall) ModifiedAfter(modifiedAfter string) *RasterCollectionsListCall

ModifiedAfter sets the optional parameter "modifiedAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.

func (*RasterCollectionsListCall) ModifiedBefore

func (c *RasterCollectionsListCall) ModifiedBefore(modifiedBefore string) *RasterCollectionsListCall

ModifiedBefore sets the optional parameter "modifiedBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.

func (*RasterCollectionsListCall) PageToken

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*RasterCollectionsListCall) ProcessingStatus

func (c *RasterCollectionsListCall) ProcessingStatus(processingStatus string) *RasterCollectionsListCall

ProcessingStatus sets the optional parameter "processingStatus":

func (*RasterCollectionsListCall) ProjectId

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

func (*RasterCollectionsListCall) Role

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*RasterCollectionsListCall) Search

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*RasterCollectionsListCall) Tags

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

type RasterCollectionsListResponse

type RasterCollectionsListResponse struct {
	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// RasterCollections: Resources returned.
	RasterCollections []*RasterCollection `json:"rasterCollections,omitempty"`
}

type RasterCollectionsParentsListCall

type RasterCollectionsParentsListCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsParentsListCall) Do

func (*RasterCollectionsParentsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*RasterCollectionsParentsListCall) MaxResults

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

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

type RasterCollectionsParentsService

type RasterCollectionsParentsService struct {
	// contains filtered or unexported fields
}

func NewRasterCollectionsParentsService

func NewRasterCollectionsParentsService(s *Service) *RasterCollectionsParentsService

func (*RasterCollectionsParentsService) List

List: Return all parent ids of the specified raster collection.

type RasterCollectionsPatchCall

type RasterCollectionsPatchCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsPatchCall) Do

func (*RasterCollectionsPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsPermissionsBatchDeleteCall

type RasterCollectionsPermissionsBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsPermissionsBatchDeleteCall) Do

func (*RasterCollectionsPermissionsBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsPermissionsBatchUpdateCall

type RasterCollectionsPermissionsBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsPermissionsBatchUpdateCall) Do

func (*RasterCollectionsPermissionsBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsPermissionsListCall

type RasterCollectionsPermissionsListCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsPermissionsListCall) Do

func (*RasterCollectionsPermissionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsPermissionsService

type RasterCollectionsPermissionsService struct {
	// contains filtered or unexported fields
}

func NewRasterCollectionsPermissionsService

func NewRasterCollectionsPermissionsService(s *Service) *RasterCollectionsPermissionsService

func (*RasterCollectionsPermissionsService) BatchDelete

BatchDelete: Remove permission entries from an already existing asset.

func (*RasterCollectionsPermissionsService) BatchUpdate

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

List: Return all of the permissions for the specified asset.

type RasterCollectionsProcessCall

type RasterCollectionsProcessCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsProcessCall) Do

func (*RasterCollectionsProcessCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsRaster

type RasterCollectionsRaster struct {
	// Bbox: A rectangular bounding box which contains all of the data in
	// this Raster. The box is expressed as \"west, south, east, north\".
	// The numbers represent latitudes and longitudes in decimal degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// CreationTime: The creation time of this raster. The value is an RFC
	// 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// Description: The description of this Raster, supplied by the author.
	Description string `json:"description,omitempty"`

	// Id: A globally unique ID, used to refer to this Raster.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this raster. The value is
	// an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// Name: The name of this Raster, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProjectId: The ID of the project that this Raster is in.
	ProjectId string `json:"projectId,omitempty"`

	// RasterType: The type of this Raster. Always "image" today.
	RasterType string `json:"rasterType,omitempty"`

	// Tags: Tags of this Raster.
	Tags []string `json:"tags,omitempty"`
}

type RasterCollectionsRasterBatchDeleteRequest

type RasterCollectionsRasterBatchDeleteRequest struct {
	// Ids: An array of Raster asset IDs to be removed from this
	// RasterCollection.
	Ids []string `json:"ids,omitempty"`
}

type RasterCollectionsRastersBatchDeleteCall

type RasterCollectionsRastersBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsRastersBatchDeleteCall) Do

func (*RasterCollectionsRastersBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsRastersBatchDeleteResponse

type RasterCollectionsRastersBatchDeleteResponse struct {
}

type RasterCollectionsRastersBatchInsertCall

type RasterCollectionsRastersBatchInsertCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsRastersBatchInsertCall) Do

func (*RasterCollectionsRastersBatchInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RasterCollectionsRastersBatchInsertRequest

type RasterCollectionsRastersBatchInsertRequest struct {
	// Ids: An array of Raster asset IDs to be added to this
	// RasterCollection.
	Ids []string `json:"ids,omitempty"`
}

type RasterCollectionsRastersBatchInsertResponse

type RasterCollectionsRastersBatchInsertResponse struct {
}

type RasterCollectionsRastersListCall

type RasterCollectionsRastersListCall struct {
	// contains filtered or unexported fields
}

func (*RasterCollectionsRastersListCall) Bbox

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*RasterCollectionsRastersListCall) CreatedAfter

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

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

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 (*RasterCollectionsRastersListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*RasterCollectionsRastersListCall) MaxResults

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

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

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

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*RasterCollectionsRastersListCall) Role

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*RasterCollectionsRastersListCall) Search

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*RasterCollectionsRastersListCall) Tags

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

type RasterCollectionsRastersListResponse

type RasterCollectionsRastersListResponse struct {
	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Rasters: Resources returned.
	Rasters []*RasterCollectionsRaster `json:"rasters,omitempty"`
}

type RasterCollectionsRastersService

type RasterCollectionsRastersService struct {
	// contains filtered or unexported fields
}

func NewRasterCollectionsRastersService

func NewRasterCollectionsRastersService(s *Service) *RasterCollectionsRastersService

func (*RasterCollectionsRastersService) BatchDelete

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

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

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

CancelProcessing: Cancel processing on a raster collection asset.

func (*RasterCollectionsService) Create

Create: Create a raster collection asset.

func (*RasterCollectionsService) Delete

Delete: Delete a raster collection.

func (*RasterCollectionsService) Get

Get: Return metadata for a particular raster collection.

func (*RasterCollectionsService) List

List: Return all raster collections readable by the current user.

func (*RasterCollectionsService) Patch

Patch: Mutate a raster collection asset.

func (*RasterCollectionsService) Process

Process: Process a raster collection asset.

type RastersDeleteCall

type RastersDeleteCall struct {
	// contains filtered or unexported fields
}

func (*RastersDeleteCall) Do

func (c *RastersDeleteCall) Do() error

func (*RastersDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersFilesInsertCall

type RastersFilesInsertCall struct {
	// contains filtered or unexported fields
}

func (*RastersFilesInsertCall) Do

func (c *RastersFilesInsertCall) Do() error

func (*RastersFilesInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*RastersFilesInsertCall) Media

type RastersFilesService

type RastersFilesService struct {
	// contains filtered or unexported fields
}

func NewRastersFilesService

func NewRastersFilesService(s *Service) *RastersFilesService

func (*RastersFilesService) Insert

func (r *RastersFilesService) Insert(id string, filename string) *RastersFilesInsertCall

Insert: Upload a file to a raster asset.

type RastersGetCall

type RastersGetCall struct {
	// contains filtered or unexported fields
}

func (*RastersGetCall) Do

func (c *RastersGetCall) Do() (*Raster, error)

func (*RastersGetCall) Fields

func (c *RastersGetCall) Fields(s ...googleapi.Field) *RastersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersListCall

type RastersListCall struct {
	// contains filtered or unexported fields
}

func (*RastersListCall) Bbox

func (c *RastersListCall) Bbox(bbox string) *RastersListCall

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*RastersListCall) CreatedAfter

func (c *RastersListCall) CreatedAfter(createdAfter string) *RastersListCall

CreatedAfter sets the optional parameter "createdAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.

func (*RastersListCall) CreatedBefore

func (c *RastersListCall) CreatedBefore(createdBefore string) *RastersListCall

CreatedBefore sets the optional parameter "createdBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.

func (*RastersListCall) CreatorEmail

func (c *RastersListCall) CreatorEmail(creatorEmail string) *RastersListCall

CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

func (*RastersListCall) Do

func (*RastersListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*RastersListCall) MaxResults

func (c *RastersListCall) MaxResults(maxResults int64) *RastersListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*RastersListCall) ModifiedAfter

func (c *RastersListCall) ModifiedAfter(modifiedAfter string) *RastersListCall

ModifiedAfter sets the optional parameter "modifiedAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.

func (*RastersListCall) ModifiedBefore

func (c *RastersListCall) ModifiedBefore(modifiedBefore string) *RastersListCall

ModifiedBefore sets the optional parameter "modifiedBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.

func (*RastersListCall) PageToken

func (c *RastersListCall) PageToken(pageToken string) *RastersListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*RastersListCall) ProcessingStatus

func (c *RastersListCall) ProcessingStatus(processingStatus string) *RastersListCall

ProcessingStatus sets the optional parameter "processingStatus":

func (*RastersListCall) Role

func (c *RastersListCall) Role(role string) *RastersListCall

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*RastersListCall) Search

func (c *RastersListCall) Search(search string) *RastersListCall

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*RastersListCall) Tags

func (c *RastersListCall) Tags(tags string) *RastersListCall

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

type RastersListResponse

type RastersListResponse struct {
	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Rasters: Resources returned.
	Rasters []*Raster `json:"rasters,omitempty"`
}

type RastersParentsListCall

type RastersParentsListCall struct {
	// contains filtered or unexported fields
}

func (*RastersParentsListCall) Do

func (*RastersParentsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*RastersParentsListCall) MaxResults

func (c *RastersParentsListCall) MaxResults(maxResults int64) *RastersParentsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.

func (*RastersParentsListCall) PageToken

func (c *RastersParentsListCall) PageToken(pageToken string) *RastersParentsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

type RastersParentsService

type RastersParentsService struct {
	// contains filtered or unexported fields
}

func NewRastersParentsService

func NewRastersParentsService(s *Service) *RastersParentsService

func (*RastersParentsService) List

List: Return all parent ids of the specified rasters.

type RastersPatchCall

type RastersPatchCall struct {
	// contains filtered or unexported fields
}

func (*RastersPatchCall) Do

func (c *RastersPatchCall) Do() error

func (*RastersPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersPermissionsBatchDeleteCall

type RastersPermissionsBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*RastersPermissionsBatchDeleteCall) Do

func (*RastersPermissionsBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersPermissionsBatchUpdateCall

type RastersPermissionsBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*RastersPermissionsBatchUpdateCall) Do

func (*RastersPermissionsBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersPermissionsListCall

type RastersPermissionsListCall struct {
	// contains filtered or unexported fields
}

func (*RastersPermissionsListCall) Do

func (*RastersPermissionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersPermissionsService

type RastersPermissionsService struct {
	// contains filtered or unexported fields
}

func NewRastersPermissionsService

func NewRastersPermissionsService(s *Service) *RastersPermissionsService

func (*RastersPermissionsService) BatchDelete

func (r *RastersPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *RastersPermissionsBatchDeleteCall

BatchDelete: Remove permission entries from an already existing asset.

func (*RastersPermissionsService) BatchUpdate

func (r *RastersPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *RastersPermissionsBatchUpdateCall

BatchUpdate: Add or update permission entries to an already existing asset.

An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.

func (*RastersPermissionsService) List

List: Return all of the permissions for the specified asset.

type RastersProcessCall

type RastersProcessCall struct {
	// contains filtered or unexported fields
}

func (*RastersProcessCall) Do

func (*RastersProcessCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type RastersService

type RastersService struct {
	Files *RastersFilesService

	Parents *RastersParentsService

	Permissions *RastersPermissionsService
	// contains filtered or unexported fields
}

func NewRastersService

func NewRastersService(s *Service) *RastersService

func (*RastersService) Delete

func (r *RastersService) Delete(id string) *RastersDeleteCall

Delete: Delete a raster.

func (*RastersService) Get

func (r *RastersService) Get(id string) *RastersGetCall

Get: Return metadata for a single raster.

func (*RastersService) List

func (r *RastersService) List(projectId string) *RastersListCall

List: Return all rasters readable by the current user.

func (*RastersService) Patch

func (r *RastersService) Patch(id string, raster *Raster) *RastersPatchCall

Patch: Mutate a raster asset.

func (*RastersService) Process

func (r *RastersService) Process(id string) *RastersProcessCall

Process: Process a raster asset.

func (*RastersService) Upload

func (r *RastersService) Upload(raster *Raster) *RastersUploadCall

Upload: Create a skeleton raster asset for upload.

type RastersUploadCall

type RastersUploadCall struct {
	// contains filtered or unexported fields
}

func (*RastersUploadCall) Do

func (c *RastersUploadCall) Do() (*Raster, error)

func (*RastersUploadCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type ScaledShape

type ScaledShape struct {
	// Border: Border color/width of the shape. If not specified the shape
	// won't have a border.
	Border *Border `json:"border,omitempty"`

	// Fill: The fill color of the shape. If not specified the shape will be
	// transparent (although the borders may not be).
	Fill *Color `json:"fill,omitempty"`

	// Shape: Name of the shape.
	Shape string `json:"shape,omitempty"`
}

type ScalingFunction

type ScalingFunction struct {
	// Column: Name of the numeric column used to scale a shape.
	Column string `json:"column,omitempty"`

	// ScalingType: The type of scaling function to use. Defaults to SQRT.
	// Currently only linear and square root scaling are supported.
	ScalingType string `json:"scalingType,omitempty"`

	// SizeRange: The range of shape sizes, in pixels. For circles, the size
	// corresponds to the diameter.
	SizeRange *SizeRange `json:"sizeRange,omitempty"`

	// ValueRange: The range of values to display across the size range.
	ValueRange *ValueRange `json:"valueRange,omitempty"`
}

type Schema

type Schema struct {
	// Columns: An array of TableColumn objects. The first object in the
	// array must be named geometry and be of type points, lineStrings,
	// polygons, or mixedGeometry.
	Columns []*TableColumn `json:"columns,omitempty"`

	// PrimaryGeometry: The name of the column that contains a feature's
	// geometry. This field can be omitted during table create; Google Maps
	// Engine supports only a single geometry column, which must be named
	// geometry and be the first object in the columns array.
	PrimaryGeometry string `json:"primaryGeometry,omitempty"`

	// PrimaryKey: The name of the column that contains the unique
	// identifier of a Feature.
	PrimaryKey string `json:"primaryKey,omitempty"`
}

type Service

type Service struct {
	BasePath string // API endpoint base URL

	Assets *AssetsService

	Layers *LayersService

	Maps *MapsService

	Projects *ProjectsService

	RasterCollections *RasterCollectionsService

	Rasters *RastersService

	Tables *TablesService
	// contains filtered or unexported fields
}

func New

func New(client *http.Client) (*Service, error)

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"`
}

type Table

type Table struct {
	// Bbox: A rectangular bounding box which contains all of the data in
	// this Table. The box is expressed as \"west, south, east, north\". The
	// numbers represent latitude and longitude in decimal degrees.
	Bbox []float64 `json:"bbox,omitempty"`

	// CreationTime: The creation time of this table. The value is an RFC
	// 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	CreationTime string `json:"creationTime,omitempty"`

	// CreatorEmail: The email address of the creator of this table. This is
	// only returned on GET requests and not LIST requests.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Description: The description of this table, supplied by the author.
	Description string `json:"description,omitempty"`

	// DraftAccessList: Deprecated: The name of an access list of the Map
	// Editor type. The user on whose behalf the request is being sent must
	// be an editor on that access list. Note: Google Maps Engine no longer
	// uses access lists. Instead, each asset has its own list of
	// permissions. For backward compatibility, the API still accepts access
	// lists for projects that are already using access lists. If you
	// created a GME account/project after July 14th, 2014, you will not be
	// able to send API requests that include access lists. Note: This is an
	// input field only. It is not returned in response to a list or get
	// request.
	DraftAccessList string `json:"draftAccessList,omitempty"`

	// Etag: The ETag, used to refer to the current version of the asset.
	Etag string `json:"etag,omitempty"`

	// Files: The files associated with this table.
	Files []*File `json:"files,omitempty"`

	// Id: A globally unique ID, used to refer to this table.
	Id string `json:"id,omitempty"`

	// LastModifiedTime: The last modified time of this table. The value is
	// an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).
	LastModifiedTime string `json:"lastModifiedTime,omitempty"`

	// LastModifierEmail: The email address of the last modifier of this
	// table. This is only returned on GET requests and not LIST requests.
	LastModifierEmail string `json:"lastModifierEmail,omitempty"`

	// Name: The name of this table, supplied by the author.
	Name string `json:"name,omitempty"`

	// ProcessingStatus: The processing status of this table.
	ProcessingStatus string `json:"processingStatus,omitempty"`

	// ProjectId: The ID of the project to which the table belongs.
	ProjectId string `json:"projectId,omitempty"`

	// PublishedAccessList: Deprecated: The access list to whom view
	// permissions are granted. The value must be the name of a Maps Engine
	// access list of the Map Viewer type, and the user must be a viewer on
	// that list. Note: Google Maps Engine no longer uses access lists.
	// Instead, each asset has its own list of permissions. For backward
	// compatibility, the API still accepts access lists for projects that
	// are already using access lists. If you created a GME account/project
	// after July 14th, 2014, you will not be able to send API requests that
	// include access lists. Note: This is an input field only. It is not
	// returned in response to a list or get request.
	PublishedAccessList string `json:"publishedAccessList,omitempty"`

	// Schema: The schema for this table. Note: The schema is returned in
	// response to a get request but not a list request. After requesting a
	// list of tables, you'll need to send a get request to retrieve the
	// schema for each table.
	Schema *Schema `json:"schema,omitempty"`

	// SourceEncoding: Encoding of the uploaded files. Valid values include
	// UTF-8, CP1251, ISO 8859-1, and Shift_JIS.
	SourceEncoding string `json:"sourceEncoding,omitempty"`

	// Tags: An array of text strings, with each string representing a tag.
	// More information about tags can be found in the Tagging data article
	// of the Maps Engine help center.
	Tags []string `json:"tags,omitempty"`

	// WritersCanEditPermissions: If true, WRITERs of the asset are able to
	// edit the asset permissions.
	WritersCanEditPermissions bool `json:"writersCanEditPermissions,omitempty"`
}

type TableColumn

type TableColumn struct {
	// Name: The column name.
	Name string `json:"name,omitempty"`

	// Type: The type of data stored in this column.
	Type string `json:"type,omitempty"`
}

type TablesCreateCall

type TablesCreateCall struct {
	// contains filtered or unexported fields
}

func (*TablesCreateCall) Do

func (c *TablesCreateCall) Do() (*Table, error)

func (*TablesCreateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesDeleteCall

type TablesDeleteCall struct {
	// contains filtered or unexported fields
}

func (*TablesDeleteCall) Do

func (c *TablesDeleteCall) Do() error

func (*TablesDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesFeaturesBatchDeleteCall

type TablesFeaturesBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*TablesFeaturesBatchDeleteCall) Do

func (*TablesFeaturesBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesFeaturesBatchInsertCall

type TablesFeaturesBatchInsertCall struct {
	// contains filtered or unexported fields
}

func (*TablesFeaturesBatchInsertCall) Do

func (*TablesFeaturesBatchInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesFeaturesBatchPatchCall

type TablesFeaturesBatchPatchCall struct {
	// contains filtered or unexported fields
}

func (*TablesFeaturesBatchPatchCall) Do

func (*TablesFeaturesBatchPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesFeaturesGetCall

type TablesFeaturesGetCall struct {
	// contains filtered or unexported fields
}

func (*TablesFeaturesGetCall) Do

func (c *TablesFeaturesGetCall) Do() (*Feature, error)

func (*TablesFeaturesGetCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablesFeaturesGetCall) Select

Select sets the optional parameter "select": A SQL-like projection clause used to specify returned properties. If this parameter is not included, all properties are returned.

func (*TablesFeaturesGetCall) Version

func (c *TablesFeaturesGetCall) Version(version string) *TablesFeaturesGetCall

Version sets the optional parameter "version": The table version to access. See Accessing Public Data for information.

type TablesFeaturesListCall

type TablesFeaturesListCall struct {
	// contains filtered or unexported fields
}

func (*TablesFeaturesListCall) Do

func (*TablesFeaturesListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablesFeaturesListCall) Include

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

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

OrderBy sets the optional parameter "orderBy": An SQL-like order by clause used to sort results. If this parameter is not included, the order of features is undefined.

func (*TablesFeaturesListCall) PageToken

func (c *TablesFeaturesListCall) PageToken(pageToken string) *TablesFeaturesListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*TablesFeaturesListCall) Select

Select sets the optional parameter "select": A SQL-like projection clause used to specify returned properties. If this parameter is not included, all properties are returned.

func (*TablesFeaturesListCall) Version

Version sets the optional parameter "version": The table version to access. See Accessing Public Data for information.

func (*TablesFeaturesListCall) Where

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

Get: Return a single feature, given its ID.

func (*TablesFeaturesService) List

List: Return all features readable by the current user.

type TablesFilesInsertCall

type TablesFilesInsertCall struct {
	// contains filtered or unexported fields
}

func (*TablesFilesInsertCall) Do

func (c *TablesFilesInsertCall) Do() error

func (*TablesFilesInsertCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablesFilesInsertCall) Media

type TablesFilesService

type TablesFilesService struct {
	// contains filtered or unexported fields
}

func NewTablesFilesService

func NewTablesFilesService(s *Service) *TablesFilesService

func (*TablesFilesService) Insert

func (r *TablesFilesService) Insert(id string, filename string) *TablesFilesInsertCall

Insert: Upload a file to a placeholder table asset. See Table Upload in the Developer's Guide for more information. Supported file types are listed in the Supported data formats and limits article of the Google Maps Engine help center.

type TablesGetCall

type TablesGetCall struct {
	// contains filtered or unexported fields
}

func (*TablesGetCall) Do

func (c *TablesGetCall) Do() (*Table, error)

func (*TablesGetCall) Fields

func (c *TablesGetCall) Fields(s ...googleapi.Field) *TablesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablesGetCall) Version

func (c *TablesGetCall) Version(version string) *TablesGetCall

Version sets the optional parameter "version":

type TablesListCall

type TablesListCall struct {
	// contains filtered or unexported fields
}

func (*TablesListCall) Bbox

func (c *TablesListCall) Bbox(bbox string) *TablesListCall

Bbox sets the optional parameter "bbox": A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

func (*TablesListCall) CreatedAfter

func (c *TablesListCall) CreatedAfter(createdAfter string) *TablesListCall

CreatedAfter sets the optional parameter "createdAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or after this time.

func (*TablesListCall) CreatedBefore

func (c *TablesListCall) CreatedBefore(createdBefore string) *TablesListCall

CreatedBefore sets the optional parameter "createdBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been created at or before this time.

func (*TablesListCall) CreatorEmail

func (c *TablesListCall) CreatorEmail(creatorEmail string) *TablesListCall

CreatorEmail sets the optional parameter "creatorEmail": An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

func (*TablesListCall) Do

func (*TablesListCall) Fields

func (c *TablesListCall) Fields(s ...googleapi.Field) *TablesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablesListCall) MaxResults

func (c *TablesListCall) MaxResults(maxResults int64) *TablesListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 100.

func (*TablesListCall) ModifiedAfter

func (c *TablesListCall) ModifiedAfter(modifiedAfter string) *TablesListCall

ModifiedAfter sets the optional parameter "modifiedAfter": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or after this time.

func (*TablesListCall) ModifiedBefore

func (c *TablesListCall) ModifiedBefore(modifiedBefore string) *TablesListCall

ModifiedBefore sets the optional parameter "modifiedBefore": An RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z). Returned assets will have been modified at or before this time.

func (*TablesListCall) PageToken

func (c *TablesListCall) PageToken(pageToken string) *TablesListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

func (*TablesListCall) ProcessingStatus

func (c *TablesListCall) ProcessingStatus(processingStatus string) *TablesListCall

ProcessingStatus sets the optional parameter "processingStatus":

func (*TablesListCall) ProjectId

func (c *TablesListCall) ProjectId(projectId string) *TablesListCall

ProjectId sets the optional parameter "projectId": The ID of a Maps Engine project, used to filter the response. To list all available projects with their IDs, send a Projects: list request. You can also find your project ID as the value of the DashboardPlace:cid URL parameter when signed in to mapsengine.google.com.

func (*TablesListCall) Role

func (c *TablesListCall) Role(role string) *TablesListCall

Role sets the optional parameter "role": The role parameter indicates that the response should only contain assets where the current user has the specified level of access.

func (*TablesListCall) Search

func (c *TablesListCall) Search(search string) *TablesListCall

Search sets the optional parameter "search": An unstructured search string used to filter the set of results based on asset metadata.

func (*TablesListCall) Tags

func (c *TablesListCall) Tags(tags string) *TablesListCall

Tags sets the optional parameter "tags": A comma separated list of tags. Returned assets will contain all the tags from the list.

type TablesListResponse

type TablesListResponse struct {
	// NextPageToken: Next page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Tables: Resources returned.
	Tables []*Table `json:"tables,omitempty"`
}

type TablesParentsListCall

type TablesParentsListCall struct {
	// contains filtered or unexported fields
}

func (*TablesParentsListCall) Do

func (*TablesParentsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*TablesParentsListCall) MaxResults

func (c *TablesParentsListCall) MaxResults(maxResults int64) *TablesParentsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of items to include in a single response page. The maximum supported value is 50.

func (*TablesParentsListCall) PageToken

func (c *TablesParentsListCall) PageToken(pageToken string) *TablesParentsListCall

PageToken sets the optional parameter "pageToken": The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

type TablesParentsService

type TablesParentsService struct {
	// contains filtered or unexported fields
}

func NewTablesParentsService

func NewTablesParentsService(s *Service) *TablesParentsService

func (*TablesParentsService) List

List: Return all parent ids of the specified table.

type TablesPatchCall

type TablesPatchCall struct {
	// contains filtered or unexported fields
}

func (*TablesPatchCall) Do

func (c *TablesPatchCall) Do() error

func (*TablesPatchCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesPermissionsBatchDeleteCall

type TablesPermissionsBatchDeleteCall struct {
	// contains filtered or unexported fields
}

func (*TablesPermissionsBatchDeleteCall) Do

func (*TablesPermissionsBatchDeleteCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesPermissionsBatchUpdateCall

type TablesPermissionsBatchUpdateCall struct {
	// contains filtered or unexported fields
}

func (*TablesPermissionsBatchUpdateCall) Do

func (*TablesPermissionsBatchUpdateCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesPermissionsListCall

type TablesPermissionsListCall struct {
	// contains filtered or unexported fields
}

func (*TablesPermissionsListCall) Do

func (*TablesPermissionsListCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesPermissionsService

type TablesPermissionsService struct {
	// contains filtered or unexported fields
}

func NewTablesPermissionsService

func NewTablesPermissionsService(s *Service) *TablesPermissionsService

func (*TablesPermissionsService) BatchDelete

func (r *TablesPermissionsService) BatchDelete(id string, permissionsbatchdeleterequest *PermissionsBatchDeleteRequest) *TablesPermissionsBatchDeleteCall

BatchDelete: Remove permission entries from an already existing asset.

func (*TablesPermissionsService) BatchUpdate

func (r *TablesPermissionsService) BatchUpdate(id string, permissionsbatchupdaterequest *PermissionsBatchUpdateRequest) *TablesPermissionsBatchUpdateCall

BatchUpdate: Add or update permission entries to an already existing asset.

An asset can hold up to 20 different permission entries. Each batchInsert request is atomic.

func (*TablesPermissionsService) List

List: Return all of the permissions for the specified asset.

type TablesProcessCall

type TablesProcessCall struct {
	// contains filtered or unexported fields
}

func (*TablesProcessCall) Do

func (*TablesProcessCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type TablesService

type TablesService struct {
	Features *TablesFeaturesService

	Files *TablesFilesService

	Parents *TablesParentsService

	Permissions *TablesPermissionsService
	// contains filtered or unexported fields
}

func NewTablesService

func NewTablesService(s *Service) *TablesService

func (*TablesService) Create

func (r *TablesService) Create(table *Table) *TablesCreateCall

Create: Create a table asset.

func (*TablesService) Delete

func (r *TablesService) Delete(id string) *TablesDeleteCall

Delete: Delete a table.

func (*TablesService) Get

func (r *TablesService) Get(id string) *TablesGetCall

Get: Return metadata for a particular table, including the schema.

func (*TablesService) List

func (r *TablesService) List() *TablesListCall

List: Return all tables readable by the current user.

func (*TablesService) Patch

func (r *TablesService) Patch(id string, table *Table) *TablesPatchCall

Patch: Mutate a table asset.

func (*TablesService) Process

func (r *TablesService) Process(id string) *TablesProcessCall

Process: Process a table asset.

func (*TablesService) Upload

func (r *TablesService) Upload(table *Table) *TablesUploadCall

Upload: Create a placeholder table asset to which table files can be uploaded. Once the placeholder has been created, files are uploaded to the https://www.googleapis.com/upload/mapsengine/v1/tables/table_id/files endpoint. See Table Upload in the Developer's Guide or Table.files: insert in the reference documentation for more information.

type TablesUploadCall

type TablesUploadCall struct {
	// contains filtered or unexported fields
}

func (*TablesUploadCall) Do

func (c *TablesUploadCall) Do() (*Table, error)

func (*TablesUploadCall) Fields

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

type ValueRange

type ValueRange struct {
	// Max: Maximum value.
	Max float64 `json:"max,omitempty"`

	// Min: Minimum value.
	Min float64 `json:"min,omitempty"`
}

type VectorStyle

type VectorStyle struct {
	DisplayRules []*DisplayRule `json:"displayRules,omitempty"`

	// FeatureInfo: Individual feature info, this is called Info Window in
	// Maps Engine UI. If not provided, a default template with all
	// attributes will be generated.
	FeatureInfo *FeatureInfo `json:"featureInfo,omitempty"`

	// Type: The type of the vector style. Currently, only displayRule is
	// supported.
	Type string `json:"type,omitempty"`
}

type ZoomLevels

type ZoomLevels struct {
	// Max: Maximum zoom level.
	Max int64 `json:"max,omitempty"`

	// Min: Minimum zoom level.
	Min int64 `json:"min,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL