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

Copyright(c) 2015-2016 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.Resource.MapsEngine.Layers.List

Contents

Description

Return all layers readable by the current user.

See: Google Maps Engine API Reference for mapsengine.layers.list.

Synopsis

REST Resource

type LayersListResource = "mapsengine" :> ("v1" :> ("layers" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "creatorEmail" Text :> (QueryParam "role" LayersListRole :> (QueryParam "bbox" Text :> (QueryParam "processingStatus" LayersListProcessingStatus :> (QueryParam "modifiedAfter" DateTime' :> (QueryParam "modifiedBefore" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "search" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "tags" Text :> (QueryParam "createdBefore" DateTime' :> (QueryParam "alt" AltJSON :> Get '[JSON] LayersListResponse)))))))))))))))) Source #

A resource alias for mapsengine.layers.list method which the LayersList request conforms to.

Creating a Request

layersList :: LayersList Source #

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

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

data LayersList Source #

Return all layers readable by the current user.

See: layersList smart constructor.

Instances

Eq LayersList Source # 
Data LayersList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LayersList -> c LayersList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LayersList #

toConstr :: LayersList -> Constr #

dataTypeOf :: LayersList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LayersList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LayersList) #

gmapT :: (forall b. Data b => b -> b) -> LayersList -> LayersList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LayersList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LayersList -> r #

gmapQ :: (forall d. Data d => d -> u) -> LayersList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LayersList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LayersList -> m LayersList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LayersList -> m LayersList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LayersList -> m LayersList #

Show LayersList Source # 
Generic LayersList Source # 

Associated Types

type Rep LayersList :: * -> * #

GoogleRequest LayersList Source # 

Associated Types

type Rs LayersList :: * #

type Scopes LayersList :: [Symbol] #

type Rep LayersList Source # 
type Rep LayersList = D1 (MetaData "LayersList" "Network.Google.Resource.MapsEngine.Layers.List" "gogol-maps-engine-0.3.0-8urOfAmB6laBICTI61kKED" False) (C1 (MetaCons "LayersList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_llCreatedAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) ((:*:) (S1 (MetaSel (Just Symbol "_llCreatorEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_llRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LayersListRole))))) ((:*:) (S1 (MetaSel (Just Symbol "_llBbox") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_llProcessingStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LayersListProcessingStatus))) (S1 (MetaSel (Just Symbol "_llModifiedAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_llModifiedBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) ((:*:) (S1 (MetaSel (Just Symbol "_llPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_llProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_llSearch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_llMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))) ((:*:) (S1 (MetaSel (Just Symbol "_llTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_llCreatedBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))))
type Scopes LayersList Source # 
type Scopes LayersList = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ((:) Symbol "https://www.googleapis.com/auth/mapsengine.readonly" ([] Symbol))
type Rs LayersList Source # 

Request Lenses

llCreatedAfter :: Lens' LayersList (Maybe UTCTime) Source #

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.

llCreatorEmail :: Lens' LayersList (Maybe Text) Source #

An email address representing a user. Returned assets that have been created by the user associated with the provided email address.

llRole :: Lens' LayersList (Maybe LayersListRole) Source #

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

llBbox :: Lens' LayersList (Maybe Text) Source #

A bounding box, expressed as "west,south,east,north". If set, only assets which intersect this bounding box will be returned.

llModifiedAfter :: Lens' LayersList (Maybe UTCTime) Source #

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.

llModifiedBefore :: Lens' LayersList (Maybe UTCTime) Source #

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.

llPageToken :: Lens' LayersList (Maybe Text) Source #

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.

llProjectId :: Lens' LayersList (Maybe Text) Source #

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.

llSearch :: Lens' LayersList (Maybe Text) Source #

An unstructured search string used to filter the set of results based on asset metadata.

llMaxResults :: Lens' LayersList (Maybe Word32) Source #

The maximum number of items to include in a single response page. The maximum supported value is 100.

llTags :: Lens' LayersList (Maybe Text) Source #

A comma separated list of tags. Returned assets will contain all the tags from the list.

llCreatedBefore :: Lens' LayersList (Maybe UTCTime) Source #

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.