gogol-maps-engine-0.0.1: Google Maps Engine SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.MapsEngine

Contents

Description

The Google Maps Engine API allows developers to store and query geospatial vector and raster data.

See: Google Maps Engine API Reference

Synopsis

Service Configuration

mapsEngineService :: Service Source

Default request referring to version v1 of the Google Maps Engine API. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

type MapsEngineAPI = MapsPermissionsListResource :<|> (MapsPermissionsBatchUpdateResource :<|> (MapsPermissionsBatchDeleteResource :<|> (MapsListResource :<|> (MapsListPublishedResource :<|> (MapsPatchResource :<|> (MapsGetResource :<|> (MapsGetPublishedResource :<|> (MapsCreateResource :<|> (MapsUnPublishResource :<|> (MapsDeleteResource :<|> (MapsPublishResource :<|> (TablesParentsListResource :<|> (TablesFeaturesListResource :<|> (TablesFeaturesBatchInsertResource :<|> (TablesFeaturesGetResource :<|> (TablesFeaturesBatchPatchResource :<|> (TablesFeaturesBatchDeleteResource :<|> (TablesFilesInsertResource :<|> (TablesPermissionsListResource :<|> (TablesPermissionsBatchUpdateResource :<|> (TablesPermissionsBatchDeleteResource :<|> (TablesListResource :<|> (TablesProcessResource :<|> (TablesPatchResource :<|> (TablesGetResource :<|> (TablesCreateResource :<|> (TablesUploadResource :<|> (TablesDeleteResource :<|> (LayersParentsListResource :<|> (LayersPermissionsListResource :<|> (LayersPermissionsBatchUpdateResource :<|> (LayersPermissionsBatchDeleteResource :<|> (LayersListResource :<|> (LayersListPublishedResource :<|> (LayersProcessResource :<|> (LayersPatchResource :<|> (LayersGetResource :<|> (LayersGetPublishedResource :<|> (LayersCreateResource :<|> (LayersUnPublishResource :<|> (LayersCancelProcessingResource :<|> (LayersDeleteResource :<|> (LayersPublishResource :<|> (RastersParentsListResource :<|> (RastersFilesInsertResource :<|> (RastersPermissionsListResource :<|> (RastersPermissionsBatchUpdateResource :<|> (RastersPermissionsBatchDeleteResource :<|> (RastersListResource :<|> (RastersProcessResource :<|> (RastersPatchResource :<|> (RastersGetResource :<|> (RastersUploadResource :<|> (RastersDeleteResource :<|> (AssetsParentsListResource :<|> (AssetsPermissionsListResource :<|> (AssetsListResource :<|> (AssetsGetResource :<|> (RasterCollectionsParentsListResource :<|> (RasterCollectionsPermissionsListResource :<|> (RasterCollectionsPermissionsBatchUpdateResource :<|> (RasterCollectionsPermissionsBatchDeleteResource :<|> (RasterCollectionsRastersListResource :<|> (RasterCollectionsRastersBatchInsertResource :<|> (RasterCollectionsRastersBatchDeleteResource :<|> (RasterCollectionsListResource :<|> (RasterCollectionsProcessResource :<|> (RasterCollectionsPatchResource :<|> (RasterCollectionsGetResource :<|> (RasterCollectionsCreateResource :<|> (RasterCollectionsCancelProcessingResource :<|> (RasterCollectionsDeleteResource :<|> (ProjectsIconsListResource :<|> (ProjectsIconsGetResource :<|> (ProjectsIconsCreateResource :<|> ProjectsListResource))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Source

Represents the entirety of the methods and resources available for the Google Maps Engine API service.

Resources

mapsengine.assets.get

mapsengine.assets.list

mapsengine.assets.parents.list

mapsengine.assets.permissions.list

mapsengine.layers.cancelProcessing

mapsengine.layers.create

mapsengine.layers.delete

mapsengine.layers.get

mapsengine.layers.getPublished

mapsengine.layers.list

mapsengine.layers.listPublished

mapsengine.layers.parents.list

mapsengine.layers.patch

mapsengine.layers.permissions.batchDelete

mapsengine.layers.permissions.batchUpdate

mapsengine.layers.permissions.list

mapsengine.layers.process

mapsengine.layers.publish

mapsengine.layers.unpublish

mapsengine.maps.create

mapsengine.maps.delete

mapsengine.maps.get

mapsengine.maps.getPublished

mapsengine.maps.list

mapsengine.maps.listPublished

mapsengine.maps.patch

mapsengine.maps.permissions.batchDelete

mapsengine.maps.permissions.batchUpdate

mapsengine.maps.permissions.list

mapsengine.maps.publish

mapsengine.maps.unpublish

mapsengine.projects.icons.create

mapsengine.projects.icons.get

mapsengine.projects.icons.list

mapsengine.projects.list

mapsengine.rasterCollections.cancelProcessing

mapsengine.rasterCollections.create

mapsengine.rasterCollections.delete

mapsengine.rasterCollections.get

mapsengine.rasterCollections.list

mapsengine.rasterCollections.parents.list

mapsengine.rasterCollections.patch

mapsengine.rasterCollections.permissions.batchDelete

mapsengine.rasterCollections.permissions.batchUpdate

mapsengine.rasterCollections.permissions.list

mapsengine.rasterCollections.process

mapsengine.rasterCollections.rasters.batchDelete

mapsengine.rasterCollections.rasters.batchInsert

mapsengine.rasterCollections.rasters.list

mapsengine.rasters.delete

mapsengine.rasters.files.insert

mapsengine.rasters.get

mapsengine.rasters.list

mapsengine.rasters.parents.list

mapsengine.rasters.patch

mapsengine.rasters.permissions.batchDelete

mapsengine.rasters.permissions.batchUpdate

mapsengine.rasters.permissions.list

mapsengine.rasters.process

mapsengine.rasters.upload

mapsengine.tables.create

mapsengine.tables.delete

mapsengine.tables.features.batchDelete

mapsengine.tables.features.batchInsert

mapsengine.tables.features.batchPatch

mapsengine.tables.features.get

mapsengine.tables.features.list

mapsengine.tables.files.insert

mapsengine.tables.get

mapsengine.tables.list

mapsengine.tables.parents.list

mapsengine.tables.patch

mapsengine.tables.permissions.batchDelete

mapsengine.tables.permissions.batchUpdate

mapsengine.tables.permissions.list

mapsengine.tables.process

mapsengine.tables.upload

Types

ValueRange

data ValueRange Source

Range of values used for scaling shapes. The min/max values will be drawn as shapes with the min/max size.

See: valueRange smart constructor.

valueRange :: ValueRange Source

Creates a value of ValueRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GeoJSONProperties

geoJSONProperties Source

Creates a value of GeoJSONProperties with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjpAddtional :: Lens' GeoJSONProperties (HashMap Text JSONValue) Source

An arbitrary key-value pair. The key must be the name of a column in the table's schema, and the type of the value must correspond to the type specified in the schema.

Feature

data Feature Source

A feature within a table.

See: feature smart constructor.

feature :: Feature Source

Creates a value of Feature with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fGeometry :: Lens' Feature (Maybe GeoJSONGeometry) Source

The geometry member of this Feature.

fType :: Lens' Feature Text Source

Identifies this object as a feature.

fProperties :: Lens' Feature (Maybe GeoJSONProperties) Source

Key/value pairs of this Feature.

Parent

data Parent Source

A list of the parents of an asset.

See: parent smart constructor.

parent :: Parent Source

Creates a value of Parent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pId :: Lens' Parent (Maybe Text) Source

The ID of this parent.

FeaturesBatchPatchRequest

featuresBatchPatchRequest :: FeaturesBatchPatchRequest Source

Creates a value of FeaturesBatchPatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fbprNormalizeGeometries :: Lens' FeaturesBatchPatchRequest Bool Source

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.

PermissionsBatchUpdateRequest

permissionsBatchUpdateRequest :: PermissionsBatchUpdateRequest Source

Creates a value of PermissionsBatchUpdateRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pburPermissions :: Lens' PermissionsBatchUpdateRequest [Permission] Source

The permissions to be inserted or updated.

RasterProcessingStatus

LayerProcessingStatus

ScaledShapeShape

PermissionsBatchDeleteRequest

permissionsBatchDeleteRequest :: PermissionsBatchDeleteRequest Source

Creates a value of PermissionsBatchDeleteRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pbdrIds :: Lens' PermissionsBatchDeleteRequest [Text] Source

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.

RasterCollectionsListResponse

data RasterCollectionsListResponse Source

The response returned by a call to raster_collections.List. Note: The list response does not include all the fields available in a raster collection. Refer to the RasterCollection resource description for details of the fields that are not included. You'll need to send a get request to retrieve the additional fields for each raster collection.

See: rasterCollectionsListResponse smart constructor.

rasterCollectionsListResponse :: RasterCollectionsListResponse Source

Creates a value of RasterCollectionsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GeoJSONMultiLineStringType

PermissionRole

ProjectsListResponse

projectsListResponse :: ProjectsListResponse Source

Creates a value of ProjectsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GeoJSONGeometry

geoJSONGeometry :: GeoJSONGeometry Source

Creates a value of GeoJSONGeometry with the minimum fields required to make a request.

MapLayer

mapLayer :: MapLayer Source

Creates a value of MapLayer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mlDefaultViewport :: Lens' MapLayer [Double] Source

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.

mlVisibility :: Lens' MapLayer (Maybe Text) Source

The visibility setting of this MapLayer. One of "defaultOn" or "defaultOff".

mlKey :: Lens' MapLayer (Maybe Text) Source

A user defined alias for this MapLayer, specific to this Map.

mlName :: Lens' MapLayer (Maybe Text) Source

The name of this MapLayer.

mlId :: Lens' MapLayer (Maybe Text) Source

The ID of this MapLayer. This ID can be used to request more details about the layer.

mlType :: Lens' MapLayer (Maybe MapLayerType) Source

Identifies this object as a MapLayer.

ZoomLevels

data ZoomLevels Source

Zoom level range. Zoom levels are restricted between 0 and 24, inclusive.

See: zoomLevels smart constructor.

zoomLevels :: ZoomLevels Source

Creates a value of ZoomLevels with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

zlMax :: Lens' ZoomLevels (Maybe Int32) Source

Maximum zoom level.

zlMin :: Lens' ZoomLevels (Maybe Int32) Source

Minimum zoom level.

FeatureInfo

data FeatureInfo Source

A feature info contains information about individual feature.

See: featureInfo smart constructor.

featureInfo :: FeatureInfo Source

Creates a value of FeatureInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fiContent :: Lens' FeatureInfo (Maybe Text) Source

HTML template of the info window. If not provided, a default template with all attributes will be generated.

AcquisitionTimePrecision

SizeRange

data SizeRange Source

Scaled shape size range in pixels. For circles, size corresponds to diameter.

See: sizeRange smart constructor.

sizeRange :: SizeRange Source

Creates a value of SizeRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

srMax :: Lens' SizeRange (Maybe Double) Source

Maximum size, in pixels.

srMin :: Lens' SizeRange (Maybe Double) Source

Minimum size, in pixels.

ScalingFunctionScalingType

MapFolder

mapFolder :: MapFolder Source

Creates a value of MapFolder with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mfExpandable :: Lens' MapFolder (Maybe Bool) Source

The expandability setting of this MapFolder. If true, the folder can be expanded.

mfDefaultViewport :: Lens' MapFolder [Double] Source

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.

mfVisibility :: Lens' MapFolder (Maybe Text) Source

The visibility setting of this MapFolder. One of "defaultOn" or "defaultOff".

mfKey :: Lens' MapFolder (Maybe Text) Source

A user defined alias for this MapFolder, specific to this Map.

mfName :: Lens' MapFolder (Maybe Text) Source

The name of this MapFolder.

mfType :: Lens' MapFolder (Maybe MapFolderType) Source

Identifies this object as a MapFolder.

AssetsListRole

data AssetsListRole Source

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

Constructors

ALROwner

owner The user can read, write and administer the asset.

ALRReader

reader The user can read the asset.

ALRWriter

writer The user can read and write the asset.

RastersListProcessingStatus

Project

data Project Source

A Maps Engine project groups a collection of resources.

See: project smart constructor.

project :: Project Source

Creates a value of Project with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

proName :: Lens' Project (Maybe Text) Source

A user provided name for this Maps Engine project.

proId :: Lens' Project (Maybe Text) Source

An ID used to refer to this Maps Engine project.

Color

data Color Source

Basic color used in styling.

See: color smart constructor.

color :: Color Source

Creates a value of Color with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cColor :: Lens' Color (Maybe Text) Source

The CSS style color, can be in format of "red" or "#7733EE".

cOpacity :: Lens' Color (Maybe Double) Source

Opacity ranges from 0 to 1, inclusive. If not provided, default to 1.

LayersListProcessingStatus

RasterCollection

rcCreationTime :: Lens' RasterCollection (Maybe UTCTime) Source

The creation time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

rcWritersCanEditPermissions :: Lens' RasterCollection (Maybe Bool) Source

If true, WRITERs of the asset are able to edit the asset permissions.

rcEtag :: Lens' RasterCollection (Maybe Text) Source

The ETag, used to refer to the current version of the asset.

rcCreatorEmail :: Lens' RasterCollection (Maybe Text) Source

The email address of the creator of this raster collection. This is only returned on GET requests and not LIST requests.

rcRasterType :: Lens' RasterCollection (Maybe RasterCollectionRasterType) Source

The type of rasters contained within this RasterCollection.

rcLastModifiedTime :: Lens' RasterCollection (Maybe UTCTime) Source

The last modified time of this RasterCollection. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

rcLastModifierEmail :: Lens' RasterCollection (Maybe Text) Source

The email address of the last modifier of this raster collection. This is only returned on GET requests and not LIST requests.

rcName :: Lens' RasterCollection (Maybe Text) Source

The name of this RasterCollection, supplied by the author.

rcBbox :: Lens' RasterCollection [Double] Source

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.

rcProcessingStatus :: Lens' RasterCollection (Maybe RasterCollectionProcessingStatus) Source

The processing status of this RasterCollection.

rcMosaic :: Lens' RasterCollection (Maybe Bool) Source

True if this RasterCollection is a mosaic.

rcId :: Lens' RasterCollection (Maybe Text) Source

A globally unique ID, used to refer to this RasterCollection.

rcProjectId :: Lens' RasterCollection (Maybe Text) Source

The ID of the project that this RasterCollection is in.

rcDraftAccessList :: Lens' RasterCollection (Maybe Text) Source

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.

rcDescription :: Lens' RasterCollection (Maybe Text) Source

The description of this RasterCollection, supplied by the author.

rcAttribution :: Lens' RasterCollection (Maybe Text) Source

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.

rcTags :: Lens' RasterCollection [Text] Source

Tags of this RasterCollection.

LineStyleStroke

lineStyleStroke :: LineStyleStroke Source

Creates a value of LineStyleStroke with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lssWidth :: Lens' LineStyleStroke (Maybe Double) Source

Width of the line, in pixels. 0 <= width <= 10. If width is set to 0, the line will be invisible.

RasterCollectionsRastersListRole

GeoJSONMultiPolygonType

GeoJSONMultiPointType

RasterCollectionsRastersBatchDeleteResponse

ProcessResponse

processResponse :: ProcessResponse Source

Creates a value of ProcessResponse with the minimum fields required to make a request.

TableColumn

tableColumn :: TableColumn Source

Creates a value of TableColumn with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tcName :: Lens' TableColumn (Maybe Text) Source

The column name.

tcType :: Lens' TableColumn (Maybe TableColumnType) Source

The type of data stored in this column.

PublishedLayerLayerType

TablesListProcessingStatus

Asset

data Asset Source

An asset is any Google Maps Engine resource that has a globally unique ID. Assets include maps, layers, vector tables, raster collections, and rasters. Projects and features are not considered assets. More detailed information about an asset can be obtained by querying the asset's particular endpoint.

See: asset smart constructor.

asset :: Asset Source

Creates a value of Asset with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aCreationTime :: Lens' Asset (Maybe UTCTime) Source

The creation time of this asset. The value is an RFC 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).

aWritersCanEditPermissions :: Lens' Asset (Maybe Bool) Source

If true, WRITERs of the asset are able to edit the asset permissions.

aEtag :: Lens' Asset (Maybe Text) Source

The ETag, used to refer to the current version of the asset.

aCreatorEmail :: Lens' Asset (Maybe Text) Source

The email address of the creator of this asset. This is only returned on GET requests and not LIST requests.

aLastModifiedTime :: Lens' Asset (Maybe UTCTime) Source

The last modified time of this asset. The value is an RFC 3339-formatted date-time value (for example, 1970-01-01T00:00:00Z).

aLastModifierEmail :: Lens' Asset (Maybe Text) Source

The email address of the last modifier of this asset. This is only returned on GET requests and not LIST requests.

aName :: Lens' Asset (Maybe Text) Source

The asset's name.

aBbox :: Lens' Asset [Double] Source

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.

aResource :: Lens' Asset (Maybe Text) Source

The URL to query to retrieve the asset's complete object. The assets endpoint only returns high-level information about a resource.

aId :: Lens' Asset (Maybe Text) Source

The asset's globally unique ID.

aProjectId :: Lens' Asset (Maybe Text) Source

The ID of the project to which the asset belongs.

aType :: Lens' Asset (Maybe AssetType) Source

The type of asset. One of raster, rasterCollection, table, map, or layer.

aDescription :: Lens' Asset (Maybe Text) Source

The asset's description.

aTags :: Lens' Asset [Text] Source

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.

LayerLayerType

data LayerLayerType Source

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.

Constructors

LLTImage
image
LLTVector
vector

ScaledShape

scaledShape :: ScaledShape Source

Creates a value of ScaledShape with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ssBOrder :: Lens' ScaledShape (Maybe BOrder) Source

Border color/width of the shape. If not specified the shape won't have a border.

ssFill :: Lens' ScaledShape (Maybe Color) Source

The fill color of the shape. If not specified the shape will be transparent (although the borders may not be).

PermissionType

MapProcessingStatus

FeaturesBatchDeleteRequest

featuresBatchDeleteRequest :: FeaturesBatchDeleteRequest Source

Creates a value of FeaturesBatchDeleteRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

MapsGetVersion

data MapsGetVersion Source

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.

Constructors

Draft

draft The draft version.

Published

published The published version.

TablesListRole

data TablesListRole Source

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

Constructors

TLROwner

owner The user can read, write and administer the asset.

TLRReader

reader The user can read the asset.

TLRWriter

writer The user can read and write the asset.

Icon

data Icon Source

An icon is a user-uploaded image that can be used to style point geometries.

See: icon smart constructor.

icon :: Icon Source

Creates a value of Icon with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iName :: Lens' Icon (Maybe Text) Source

The name of this Icon, supplied by the author.

iId :: Lens' Icon (Maybe Text) Source

An ID used to refer to this Icon.

iDescription :: Lens' Icon (Maybe Text) Source

The description of this Icon, supplied by the author.

VectorStyleType

GeoJSONLineStringType

ParentsListResponse

parentsListResponse :: ParentsListResponse Source

Creates a value of ParentsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

FeaturesListResponse

featuresListResponse :: FeaturesListResponse Source

Creates a value of FeaturesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

flrAllowedQueriesPerSecond :: Lens' FeaturesListResponse (Maybe Double) Source

An indicator of the maximum rate at which queries may be made, if all queries were as expensive as this query.

RasterCollectionsRastersBatchInsertResponse

LayerPublishingStatus

MapKmlLinkType

LayerDatasourceType

GeoJSONGeometryCollectionType

IconsListResponse

iconsListResponse :: IconsListResponse Source

Creates a value of IconsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ilrIcons :: Lens' IconsListResponse [Icon] Source

Resources returned.

LabelStyle

labelStyle :: LabelStyle Source

Creates a value of LabelStyle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsFontStyle :: Lens' LabelStyle (Maybe LabelStyleFontStyle) Source

Font style of the label, defaults to 'normal'.

lsColor :: Lens' LabelStyle (Maybe Text) Source

Color of the text. If not provided, default to black.

lsSize :: Lens' LabelStyle (Maybe Double) Source

Font size of the label, in pixels. 8 <= size <= 15. If not provided, a default size will be provided.

lsOpacity :: Lens' LabelStyle (Maybe Double) Source

Opacity of the text.

lsOutline :: Lens' LabelStyle (Maybe Color) Source

Outline color of the text.

lsFontWeight :: Lens' LabelStyle (Maybe LabelStyleFontWeight) Source

Font weight of the label, defaults to 'normal'.

lsColumn :: Lens' LabelStyle (Maybe Text) Source

The column value of the feature to be displayed.

RasterCollectionsRasterBatchDeleteRequest

rasterCollectionsRasterBatchDeleteRequest :: RasterCollectionsRasterBatchDeleteRequest Source

Creates a value of RasterCollectionsRasterBatchDeleteRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rcrbdrIds :: Lens' RasterCollectionsRasterBatchDeleteRequest [Text] Source

An array of Raster asset IDs to be removed from this RasterCollection.

Schema

data Schema Source

A schema indicating the properties which may be associated with features within a Table, and the types of those properties.

See: schema smart constructor.

schema :: Schema Source

Creates a value of Schema with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sPrimaryKey :: Lens' Schema (Maybe Text) Source

The name of the column that contains the unique identifier of a Feature.

sColumns :: Lens' Schema [TableColumn] Source

An array of TableColumn objects. The first object in the array must be named geometry and be of type points, lineStrings, polygons, or mixedGeometry.

sPrimaryGeometry :: Lens' Schema (Maybe Text) Source

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.

MapItem

mapItem :: MapItem Source

Creates a value of MapItem with the minimum fields required to make a request.

GeoJSONPointType

GeoJSONPolygonType

RasterCollectionsRastersBatchInsertRequest

rasterCollectionsRastersBatchInsertRequest :: RasterCollectionsRastersBatchInsertRequest Source

Creates a value of RasterCollectionsRastersBatchInsertRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rcrbirIds :: Lens' RasterCollectionsRastersBatchInsertRequest [Text] Source

An array of Raster asset IDs to be added to this RasterCollection.

PublishedMap

publishedMap :: PublishedMap Source

Creates a value of PublishedMap with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pmDefaultViewport :: Lens' PublishedMap [Double] Source

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.

pmContents :: Lens' PublishedMap [MapItem] Source

The contents of this Map.

pmName :: Lens' PublishedMap (Maybe Text) Source

The name of this Map, supplied by the author.

pmId :: Lens' PublishedMap (Maybe Text) Source

A globally unique ID, used to refer to this Map.

pmProjectId :: Lens' PublishedMap (Maybe Text) Source

The ID of the project that this Map is in.

pmDescription :: Lens' PublishedMap (Maybe Text) Source

The description of this Map, supplied by the author.

AcquisitionTime

acquisitionTime :: AcquisitionTime Source

Creates a value of AcquisitionTime with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atStart :: Lens' AcquisitionTime (Maybe UTCTime) Source

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).

atPrecision :: Lens' AcquisitionTime (Maybe AcquisitionTimePrecision) Source

The precision of acquisition time.

atEnd :: Lens' AcquisitionTime (Maybe UTCTime) Source

The end time if acquisition time is a range. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).

LayersGetVersion

data LayersGetVersion Source

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.

Constructors

LGVDraft

draft The draft version.

LGVPublished

published The published version.

TablesListResponse

data TablesListResponse Source

The response returned by a call to tables.List. Note: The list response does not include all the fields available in a table. Refer to the table resource description for details of the fields that are not included. You'll need to send a get request to retrieve the additional fields for each table.

See: tablesListResponse smart constructor.

tablesListResponse :: TablesListResponse Source

Creates a value of TablesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

IconStyle

data IconStyle Source

Style for icon, this is part of point style.

See: iconStyle smart constructor.

iconStyle :: IconStyle Source

Creates a value of IconStyle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

isScalingFunction :: Lens' IconStyle (Maybe ScalingFunction) Source

The function used to scale shapes. Required when a scaledShape is specified.

isName :: Lens' IconStyle (Maybe Text) Source

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'.

isId :: Lens' IconStyle (Maybe Text) Source

Custom icon id.

DisplayRule

displayRule :: DisplayRule Source

Creates a value of DisplayRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

drPointOptions :: Lens' DisplayRule (Maybe PointStyle) Source

Style applied to points. Required for Point Geometry.

drPolygonOptions :: Lens' DisplayRule (Maybe PolygonStyle) Source

Style applied to polygons. Required for Polygon Geometry.

drZoomLevels :: Lens' DisplayRule (Maybe ZoomLevels) Source

The zoom levels that this display rule apply.

drFilters :: Lens' DisplayRule [Filter] Source

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.

drName :: Lens' DisplayRule (Maybe Text) Source

Display rule name. Name is not unique and cannot be used for identification purpose.

drLineOptions :: Lens' DisplayRule (Maybe LineStyle) Source

Style applied to lines. Required for LineString Geometry.

BOrder

data BOrder Source

Border in line style. Both color and width are required.

See: bOrder smart constructor.

bOrder :: BOrder Source

Creates a value of BOrder with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

boColor :: Lens' BOrder (Maybe Text) Source

Color of the border.

boWidth :: Lens' BOrder (Maybe Double) Source

Width of the border, in pixels.

boOpacity :: Lens' BOrder (Maybe Double) Source

Opacity of the border.

Map

data Map Source

A Map is a collection of Layers, optionally contained within folders.

See: map' smart constructor.

mCreationTime :: Lens' Map (Maybe UTCTime) Source

The creation time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

mWritersCanEditPermissions :: Lens' Map (Maybe Bool) Source

If true, WRITERs of the asset are able to edit the asset permissions.

mEtag :: Lens' Map (Maybe Text) Source

The ETag, used to refer to the current version of the asset.

mDefaultViewport :: Lens' Map [Double] Source

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.

mContents :: Lens' Map [MapItem] Source

The contents of this Map.

mPublishingStatus :: Lens' Map (Maybe MapPublishingStatus) Source

The publishing status of this map.

mCreatorEmail :: Lens' Map (Maybe Text) Source

The email address of the creator of this map. This is only returned on GET requests and not LIST requests.

mLastModifiedTime :: Lens' Map (Maybe UTCTime) Source

The last modified time of this map. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

mLastModifierEmail :: Lens' Map (Maybe Text) Source

The email address of the last modifier of this map. This is only returned on GET requests and not LIST requests.

mVersions :: Lens' Map [Text] Source

Deprecated: An array containing the available versions of this Map. Currently may only contain "published". The publishingStatus field should be used instead.

mName :: Lens' Map (Maybe Text) Source

The name of this Map, supplied by the author.

mBbox :: Lens' Map [Double] Source

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.

mProcessingStatus :: Lens' Map (Maybe MapProcessingStatus) Source

The processing status of this map. Map processing is automatically started once a map becomes ready for processing.

mId :: Lens' Map (Maybe Text) Source

A globally unique ID, used to refer to this Map.

mProjectId :: Lens' Map (Maybe Text) Source

The ID of the project that this Map is in.

mDraftAccessList :: Lens' Map (Maybe Text) Source

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.

mPublishedAccessList :: Lens' Map (Maybe Text) Source

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.

mDescription :: Lens' Map (Maybe Text) Source

The description of this Map, supplied by the author.

mTags :: Lens' Map [Text] Source

Tags of this Map.

MapLayerType

RasterCollectionsRastersListResponse

rasterCollectionsRastersListResponse :: RasterCollectionsRastersListResponse Source

Creates a value of RasterCollectionsRastersListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GeoJSONMultiLineString

geoJSONMultiLineString :: GeoJSONMultiLineString Source

Creates a value of GeoJSONMultiLineString with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjmlsCoordinates :: Lens' GeoJSONMultiLineString [[[Double]]] Source

An array of at least two GeoJsonLineString coordinate arrays.

gjmlsType :: Lens' GeoJSONMultiLineString (Maybe GeoJSONMultiLineStringType) Source

Identifies this object as a GeoJsonMultiLineString.

ScalingFunction

scalingFunction :: ScalingFunction Source

Creates a value of ScalingFunction with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sfValueRange :: Lens' ScalingFunction (Maybe ValueRange) Source

The range of values to display across the size range.

sfSizeRange :: Lens' ScalingFunction (Maybe SizeRange) Source

The range of shape sizes, in pixels. For circles, the size corresponds to the diameter.

sfScalingType :: Lens' ScalingFunction (Maybe ScalingFunctionScalingType) Source

The type of scaling function to use. Defaults to SQRT. Currently only linear and square root scaling are supported.

sfColumn :: Lens' ScalingFunction (Maybe Text) Source

Name of the numeric column used to scale a shape.

LabelStyleFontWeight

MapFolderType

RasterCollectionProcessingStatus

TablesFeaturesListVersion

MapsListProcessingStatus

AssetsListResponse

assetsListResponse :: AssetsListResponse Source

Creates a value of AssetsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

PublishResponse

publishResponse :: PublishResponse Source

Creates a value of PublishResponse with the minimum fields required to make a request.

FeaturesBatchInsertRequest

featuresBatchInsertRequest :: FeaturesBatchInsertRequest Source

Creates a value of FeaturesBatchInsertRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fbirNormalizeGeometries :: Lens' FeaturesBatchInsertRequest Bool Source

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.

Datasource

datasource :: Datasource Source

Creates a value of Datasource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dId :: Lens' Datasource (Maybe Text) Source

The ID of a datasource.

LabelStyleFontStyle

RasterCollectionsRaster

rasterCollectionsRaster :: RasterCollectionsRaster Source

Creates a value of RasterCollectionsRaster with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rcrCreationTime :: Lens' RasterCollectionsRaster (Maybe UTCTime) Source

The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

rcrRasterType :: Lens' RasterCollectionsRaster Text Source

The type of this Raster. Always "image" today.

rcrLastModifiedTime :: Lens' RasterCollectionsRaster (Maybe UTCTime) Source

The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

rcrName :: Lens' RasterCollectionsRaster (Maybe Text) Source

The name of this Raster, supplied by the author.

rcrBbox :: Lens' RasterCollectionsRaster [Double] Source

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.

rcrId :: Lens' RasterCollectionsRaster (Maybe Text) Source

A globally unique ID, used to refer to this Raster.

rcrProjectId :: Lens' RasterCollectionsRaster (Maybe Text) Source

The ID of the project that this Raster is in.

rcrDescription :: Lens' RasterCollectionsRaster (Maybe Text) Source

The description of this Raster, supplied by the author.

Filter

data Filter Source

Conditions for filtering features.

See: filter' smart constructor.

filter' :: Filter Source

Creates a value of Filter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fOperator :: Lens' Filter (Maybe FilterOperator) Source

Operation used to evaluate the filter.

fValue :: Lens' Filter (Maybe JSONValue) Source

Value to be evaluated against attribute.

fColumn :: Lens' Filter (Maybe Text) Source

The column name to filter on.

GeoJSONMultiPoint

geoJSONMultiPoint :: GeoJSONMultiPoint Source

Creates a value of GeoJSONMultiPoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjmpCoordinates :: Lens' GeoJSONMultiPoint [[Double]] Source

An array of at least two GeoJsonPoint coordinate arrays.

gjmpType :: Lens' GeoJSONMultiPoint (Maybe GeoJSONMultiPointType) Source

Identifies this object as a GeoJsonMultiPoint.

AssetType

RasterRasterType

RasterCollectionsListRole

FilterOperator

TableColumnType

GeoJSONMultiPolygon

geoJSONMultiPolygon :: GeoJSONMultiPolygon Source

Creates a value of GeoJSONMultiPolygon with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjsonmpCoordinates :: Lens' GeoJSONMultiPolygon [[[[Double]]]] Source

An array of at least two GeoJsonPolygon coordinate arrays.

gjsonmpType :: Lens' GeoJSONMultiPolygon (Maybe GeoJSONMultiPolygonType) Source

Identifies this object as a GeoJsonMultiPolygon.

Layer

data Layer Source

A Layer combines multiple datasources, with styling information, for presentation on a map.

See: layer smart constructor.

layCreationTime :: Lens' Layer (Maybe UTCTime) Source

The creation time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

layWritersCanEditPermissions :: Lens' Layer (Maybe Bool) Source

If true, WRITERs of the asset are able to edit the asset permissions.

layStyle :: Lens' Layer (Maybe VectorStyle) Source

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.

layEtag :: Lens' Layer (Maybe Text) Source

The ETag, used to refer to the current version of the asset.

layDatasourceType :: Lens' Layer (Maybe LayerDatasourceType) Source

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.

layPublishingStatus :: Lens' Layer (Maybe LayerPublishingStatus) Source

The publishing status of this layer.

layCreatorEmail :: Lens' Layer (Maybe Text) Source

The email address of the creator of this layer. This is only returned on GET requests and not LIST requests.

layLayerType :: Lens' Layer (Maybe LayerLayerType) Source

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.

layLastModifiedTime :: Lens' Layer (Maybe UTCTime) Source

The last modified time of this layer. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

layDatasources :: Lens' Layer [Datasource] Source

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.

layLastModifierEmail :: Lens' Layer (Maybe Text) Source

The email address of the last modifier of this layer. This is only returned on GET requests and not LIST requests.

layName :: Lens' Layer (Maybe Text) Source

The name of this Layer, supplied by the author.

layBbox :: Lens' Layer [Double] Source

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.

layProcessingStatus :: Lens' Layer (Maybe LayerProcessingStatus) Source

The processing status of this layer.

layId :: Lens' Layer (Maybe Text) Source

A globally unique ID, used to refer to this Layer.

layProjectId :: Lens' Layer (Maybe Text) Source

The ID of the project that this Layer is in.

layDraftAccessList :: Lens' Layer (Maybe Text) Source

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.

layPublishedAccessList :: Lens' Layer (Maybe Text) Source

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.

layDescription :: Lens' Layer (Maybe Text) Source

The description of this Layer, supplied by the author.

layTags :: Lens' Layer [Text] Source

Tags of this Layer.

PointStyle

pointStyle :: PointStyle Source

Creates a value of PointStyle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psIcon :: Lens' PointStyle (Maybe IconStyle) Source

Icon for the point; if it isn't null, exactly one of 'name', 'id' or 'scaledShape' must be set.

psLabel :: Lens' PointStyle (Maybe LabelStyle) Source

Label style for the point.

RasterCollectionsListProcessingStatus

Raster

data Raster Source

A geo-referenced raster.

See: raster smart constructor.

rrCreationTime :: Lens' Raster (Maybe UTCTime) Source

The creation time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

rrWritersCanEditPermissions :: Lens' Raster (Maybe Bool) Source

If true, WRITERs of the asset are able to edit the asset permissions.

rrMaskType :: Lens' Raster Text Source

The mask processing type of this Raster.

rrEtag :: Lens' Raster (Maybe Text) Source

The ETag, used to refer to the current version of the asset.

rrCreatorEmail :: Lens' Raster (Maybe Text) Source

The email address of the creator of this raster. This is only returned on GET requests and not LIST requests.

rrRasterType :: Lens' Raster (Maybe RasterRasterType) Source

The type of this Raster. Always "image" today.

rrLastModifiedTime :: Lens' Raster (Maybe UTCTime) Source

The last modified time of this raster. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

rrLastModifierEmail :: Lens' Raster (Maybe Text) Source

The email address of the last modifier of this raster. This is only returned on GET requests and not LIST requests.

rrAcquisitionTime :: Lens' Raster (Maybe AcquisitionTime) Source

The acquisition time of this Raster.

rrName :: Lens' Raster (Maybe Text) Source

The name of this Raster, supplied by the author.

rrBbox :: Lens' Raster [Double] Source

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.

rrProcessingStatus :: Lens' Raster (Maybe RasterProcessingStatus) Source

The processing status of this Raster.

rrFiles :: Lens' Raster [File] Source

The files associated with this Raster.

rrId :: Lens' Raster (Maybe Text) Source

A globally unique ID, used to refer to this Raster.

rrProjectId :: Lens' Raster (Maybe Text) Source

The ID of the project that this Raster is in.

rrDraftAccessList :: Lens' Raster (Maybe Text) Source

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.

rrDescription :: Lens' Raster (Maybe Text) Source

The description of this Raster, supplied by the author.

rrAttribution :: Lens' Raster (Maybe Text) Source

The name of the attribution to be used for this Raster.

rrTags :: Lens' Raster [Text] Source

Tags of this Raster.

PolygonStyle

polygonStyle :: PolygonStyle Source

Creates a value of PolygonStyle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pStroke :: Lens' PolygonStyle (Maybe BOrder) Source

Border of the polygon. 0 < border.width <= 10.

pFill :: Lens' PolygonStyle (Maybe Color) Source

Fill color of the polygon. If not provided, the polygon will be transparent and not visible if there is no border.

pLabel :: Lens' PolygonStyle (Maybe LabelStyle) Source

Label style for the polygon.

Permission

data Permission Source

A permission defines the user or group that has access to an asset, and the type of access they have.

See: permission smart constructor.

permission :: Permission Source

Creates a value of Permission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

perRole :: Lens' Permission (Maybe PermissionRole) Source

The type of access granted to this user or group.

perId :: Lens' Permission (Maybe Text) Source

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.

perDiscoverable :: Lens' Permission (Maybe Bool) Source

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).

PublishedLayer

publishedLayer :: PublishedLayer Source

Creates a value of PublishedLayer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

plLayerType :: Lens' PublishedLayer (Maybe PublishedLayerLayerType) Source

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.

plName :: Lens' PublishedLayer (Maybe Text) Source

The name of this Layer, supplied by the author.

plId :: Lens' PublishedLayer (Maybe Text) Source

A globally unique ID, used to refer to this Layer.

plProjectId :: Lens' PublishedLayer (Maybe Text) Source

The ID of the project that this Layer is in.

plDescription :: Lens' PublishedLayer (Maybe Text) Source

The description of this Layer, supplied by the author.

LayersListRole

data LayersListRole Source

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

Constructors

LLROwner

owner The user can read, write and administer the asset.

LLRReader

reader The user can read the asset.

LLRWriter

writer The user can read and write the asset.

Table

data Table Source

A collection of geographic features, and associated metadata.

See: table smart constructor.

tabCreationTime :: Lens' Table (Maybe UTCTime) Source

The creation time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

tabWritersCanEditPermissions :: Lens' Table (Maybe Bool) Source

If true, WRITERs of the asset are able to edit the asset permissions.

tabEtag :: Lens' Table (Maybe Text) Source

The ETag, used to refer to the current version of the asset.

tabCreatorEmail :: Lens' Table (Maybe Text) Source

The email address of the creator of this table. This is only returned on GET requests and not LIST requests.

tabLastModifiedTime :: Lens' Table (Maybe UTCTime) Source

The last modified time of this table. The value is an RFC 3339 formatted date-time value (e.g. 1970-01-01T00:00:00Z).

tabSchema :: Lens' Table (Maybe Schema) Source

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.

tabLastModifierEmail :: Lens' Table (Maybe Text) Source

The email address of the last modifier of this table. This is only returned on GET requests and not LIST requests.

tabName :: Lens' Table (Maybe Text) Source

The name of this table, supplied by the author.

tabBbox :: Lens' Table [Double] Source

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.

tabProcessingStatus :: Lens' Table (Maybe TableProcessingStatus) Source

The processing status of this table.

tabFiles :: Lens' Table [File] Source

The files associated with this table.

tabId :: Lens' Table (Maybe Text) Source

A globally unique ID, used to refer to this table.

tabProjectId :: Lens' Table (Maybe Text) Source

The ID of the project to which the table belongs.

tabDraftAccessList :: Lens' Table (Maybe Text) Source

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.

tabPublishedAccessList :: Lens' Table (Maybe Text) Source

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.

tabSourceEncoding :: Lens' Table Text Source

Encoding of the uploaded files. Valid values include UTF-8, CP1251, ISO 8859-1, and Shift_JIS.

tabDescription :: Lens' Table (Maybe Text) Source

The description of this table, supplied by the author.

tabTags :: Lens' Table [Text] Source

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.

File

data File Source

A single File, which is a component of an Asset.

See: file smart constructor.

file :: File Source

Creates a value of File with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fSize :: Lens' File (Maybe Int64) Source

The size of the file in bytes.

fUploadStatus :: Lens' File (Maybe FileUploadStatus) Source

The upload status of the file.

fFilename :: Lens' File (Maybe Text) Source

The name of the file.

VectorStyle

data VectorStyle Source

A vector style contains styling information for vector layer.

See: vectorStyle smart constructor.

vectorStyle :: VectorStyle Source

Creates a value of VectorStyle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vsFeatureInfo :: Lens' VectorStyle (Maybe FeatureInfo) Source

Individual feature info, this is called Info Window in Maps Engine UI. If not provided, a default template with all attributes will be generated.

vsType :: Lens' VectorStyle (Maybe VectorStyleType) Source

The type of the vector style. Currently, only displayRule is supported.

PermissionsBatchDeleteResponse

permissionsBatchDeleteResponse :: PermissionsBatchDeleteResponse Source

Creates a value of PermissionsBatchDeleteResponse with the minimum fields required to make a request.

TablesFeaturesGetVersion

MapKmlLink

mapKmlLink :: MapKmlLink Source

Creates a value of MapKmlLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mklDefaultViewport :: Lens' MapKmlLink [Double] Source

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.

mklVisibility :: Lens' MapKmlLink (Maybe Text) Source

The visibility setting of this MapKmlLink. One of "defaultOn" or "defaultOff".

mklName :: Lens' MapKmlLink (Maybe Text) Source

The name of this MapKmlLink.

mklType :: Lens' MapKmlLink (Maybe MapKmlLinkType) Source

Identifies this object as a MapKmlLink.

mklKmlURL :: Lens' MapKmlLink (Maybe Text) Source

The URL to the KML file represented by this MapKmlLink.

RasterCollectionRasterType

RastersListRole

data RastersListRole Source

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

Constructors

RLROwner

owner The user can read, write and administer the asset.

RLRReader

reader The user can read the asset.

RLRWriter

writer The user can read and write the asset.

PermissionsBatchUpdateResponse

permissionsBatchUpdateResponse :: PermissionsBatchUpdateResponse Source

Creates a value of PermissionsBatchUpdateResponse with the minimum fields required to make a request.

GeoJSONLineString

geoJSONLineString :: GeoJSONLineString Source

Creates a value of GeoJSONLineString with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjlsCoordinates :: Lens' GeoJSONLineString [[Double]] Source

An array of two or more positions, representing a line.

gjlsType :: Lens' GeoJSONLineString (Maybe GeoJSONLineStringType) Source

Identifies this object as a GeoJsonLineString.

PublishedMapsListResponse

publishedMapsListResponse :: PublishedMapsListResponse Source

Creates a value of PublishedMapsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

MapsListResponse

mapsListResponse :: MapsListResponse Source

Creates a value of MapsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mlrMaps :: Lens' MapsListResponse [Map] Source

Resources returned.

MapPublishingStatus

GeoJSONGeometryCollection

geoJSONGeometryCollection :: GeoJSONGeometryCollection Source

Creates a value of GeoJSONGeometryCollection with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjgcGeometries :: Lens' GeoJSONGeometryCollection [GeoJSONGeometry] Source

An array of geometry objects. There must be at least 2 different types of geometries in the array.

gjgcType :: Lens' GeoJSONGeometryCollection (Maybe GeoJSONGeometryCollectionType) Source

Identifies this object as a GeoJsonGeometryCollection.

GeoJSONPolygon

geoJSONPolygon :: GeoJSONPolygon Source

Creates a value of GeoJSONPolygon with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjpCoordinates :: Lens' GeoJSONPolygon [[[Double]]] Source

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).

gjpType :: Lens' GeoJSONPolygon (Maybe GeoJSONPolygonType) Source

Identifies this object as a GeoJsonPolygon.

GeoJSONPoint

geoJSONPoint :: GeoJSONPoint Source

Creates a value of GeoJSONPoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gjsonpCoordinates :: Lens' GeoJSONPoint [Double] Source

A single GeoJsonPosition, specifying the location of the point.

gjsonpType :: Lens' GeoJSONPoint (Maybe GeoJSONPointType) Source

Identifies this object as a GeoJsonPoint.

LayersListResponse

data LayersListResponse Source

The response returned by a call to layers.List. Note: The list response does not include all the fields available in a layer. Refer to the layer resource description for details of the fields that are not included. You'll need to send a get request to retrieve the additional fields for each layer.

See: layersListResponse smart constructor.

layersListResponse :: LayersListResponse Source

Creates a value of LayersListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

RastersListResponse

rastersListResponse :: RastersListResponse Source

Creates a value of RastersListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

FileUploadStatus

MapsListRole

data MapsListRole Source

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

Constructors

MLROwner

owner The user can read, write and administer the asset.

MLRReader

reader The user can read the asset.

MLRWriter

writer The user can read and write the asset.

TablesGetVersion

PermissionsListResponse

permissionsListResponse :: PermissionsListResponse Source

Creates a value of PermissionsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

plrPermissions :: Lens' PermissionsListResponse [Permission] Source

The set of permissions associated with this asset.

TableProcessingStatus

LineStyle

lineStyle :: LineStyle Source

Creates a value of LineStyle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsBOrder :: Lens' LineStyle (Maybe BOrder) Source

Border of the line. 0 < border.width <= 5.

lsDash :: Lens' LineStyle [Double] Source

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.

lsLabel :: Lens' LineStyle (Maybe LabelStyle) Source

Label style for the line.

PublishedLayersListResponse

publishedLayersListResponse :: PublishedLayersListResponse Source

Creates a value of PublishedLayersListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired: