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.Assets.List

Contents

Description

Return all assets readable by the current user.

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

Synopsis

REST Resource

type AssetsListResource = "mapsengine" :> ("v1" :> ("assets" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "creatorEmail" Text :> (QueryParam "role" AssetsListRole :> (QueryParam "bbox" Text :> (QueryParam "modifiedAfter" DateTime' :> (QueryParam "modifiedBefore" DateTime' :> (QueryParam "pageToken" Text :> (QueryParam "projectId" Text :> (QueryParam "type" Text :> (QueryParam "search" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "tags" Text :> (QueryParam "createdBefore" DateTime' :> (QueryParam "alt" AltJSON :> Get '[JSON] AssetsListResponse)))))))))))))))) Source #

A resource alias for mapsengine.assets.list method which the AssetsList request conforms to.

Creating a Request

assetsList :: AssetsList Source #

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

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

data AssetsList Source #

Return all assets readable by the current user.

See: assetsList smart constructor.

Instances

Eq AssetsList Source # 
Data AssetsList Source # 

Methods

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

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

toConstr :: AssetsList -> Constr #

dataTypeOf :: AssetsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AssetsList Source # 
Generic AssetsList Source # 

Associated Types

type Rep AssetsList :: * -> * #

GoogleRequest AssetsList Source # 

Associated Types

type Rs AssetsList :: * #

type Scopes AssetsList :: [Symbol] #

type Rep AssetsList Source # 
type Rep AssetsList = D1 (MetaData "AssetsList" "Network.Google.Resource.MapsEngine.Assets.List" "gogol-maps-engine-0.3.0-8urOfAmB6laBICTI61kKED" False) (C1 (MetaCons "AssetsList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alCreatedAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) ((:*:) (S1 (MetaSel (Just Symbol "_alCreatorEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssetsListRole))))) ((:*:) (S1 (MetaSel (Just Symbol "_alBbox") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alModifiedAfter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) (S1 (MetaSel (Just Symbol "_alModifiedBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alSearch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))) ((:*:) (S1 (MetaSel (Just Symbol "_alTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_alCreatedBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))))
type Scopes AssetsList Source # 
type Scopes AssetsList = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ((:) Symbol "https://www.googleapis.com/auth/mapsengine.readonly" ([] Symbol))
type Rs AssetsList Source # 

Request Lenses

alCreatedAfter :: Lens' AssetsList (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.

alCreatorEmail :: Lens' AssetsList (Maybe Text) Source #

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

alRole :: Lens' AssetsList (Maybe AssetsListRole) Source #

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

alBbox :: Lens' AssetsList (Maybe Text) Source #

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

alModifiedAfter :: Lens' AssetsList (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.

alModifiedBefore :: Lens' AssetsList (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.

alPageToken :: Lens' AssetsList (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.

alProjectId :: Lens' AssetsList (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.

alType :: Lens' AssetsList (Maybe Text) Source #

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

alSearch :: Lens' AssetsList (Maybe Text) Source #

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

alMaxResults :: Lens' AssetsList (Maybe Word32) Source #

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

alTags :: Lens' AssetsList (Maybe Text) Source #

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

alCreatedBefore :: Lens' AssetsList (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.