gogol-firestore-0.4.0: Google Cloud Firestore 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.FireStore.Projects.Locations.Get

Contents

Description

Gets information about a location.

See: Cloud Firestore API Reference for firestore.projects.locations.get.

Synopsis

REST Resource

type ProjectsLocationsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Location))))))) Source #

A resource alias for firestore.projects.locations.get method which the ProjectsLocationsGet request conforms to.

Creating a Request

projectsLocationsGet Source #

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

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

data ProjectsLocationsGet Source #

Gets information about a location.

See: projectsLocationsGet smart constructor.

Instances
Eq ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

Data ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

Methods

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

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

toConstr :: ProjectsLocationsGet -> Constr #

dataTypeOf :: ProjectsLocationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

Generic ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

Associated Types

type Rep ProjectsLocationsGet :: Type -> Type #

GoogleRequest ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

Associated Types

type Rs ProjectsLocationsGet :: Type #

type Scopes ProjectsLocationsGet :: [Symbol] #

type Rep ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

type Rep ProjectsLocationsGet = D1 (MetaData "ProjectsLocationsGet" "Network.Google.Resource.FireStore.Projects.Locations.Get" "gogol-firestore-0.4.0-GW3AvKXkpND5rISC8pKhKY" False) (C1 (MetaCons "ProjectsLocationsGet'" PrefixI True) ((S1 (MetaSel (Just "_plgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

type Scopes ProjectsLocationsGet = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/datastore" ': ([] :: [Symbol]))
type Rs ProjectsLocationsGet Source # 
Instance details

Defined in Network.Google.Resource.FireStore.Projects.Locations.Get

Request Lenses

plgUploadProtocol :: Lens' ProjectsLocationsGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plgUploadType :: Lens' ProjectsLocationsGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

plgName :: Lens' ProjectsLocationsGet Text Source #

Resource name for the location.