gogol-spanner-0.4.0: Google Cloud Spanner 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.Spanner.Projects.Instances.Databases.Get

Contents

Description

Gets the state of a Cloud Spanner database.

See: Cloud Spanner API Reference for spanner.projects.instances.databases.get.

Synopsis

REST Resource

type ProjectsInstancesDatabasesGetResource = "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] Database))))))) Source #

A resource alias for spanner.projects.instances.databases.get method which the ProjectsInstancesDatabasesGet request conforms to.

Creating a Request

projectsInstancesDatabasesGet Source #

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

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

data ProjectsInstancesDatabasesGet Source #

Gets the state of a Cloud Spanner database.

See: projectsInstancesDatabasesGet smart constructor.

Instances
Eq ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

Data ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

Methods

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

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

toConstr :: ProjectsInstancesDatabasesGet -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

Generic ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

Associated Types

type Rep ProjectsInstancesDatabasesGet :: Type -> Type #

GoogleRequest ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

type Rep ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

type Rep ProjectsInstancesDatabasesGet = D1 (MetaData "ProjectsInstancesDatabasesGet" "Network.Google.Resource.Spanner.Projects.Instances.Databases.Get" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesGet'" PrefixI True) ((S1 (MetaSel (Just "_pidgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pidgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pidgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

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

Defined in Network.Google.Resource.Spanner.Projects.Instances.Databases.Get

Request Lenses

pidgUploadProtocol :: Lens' ProjectsInstancesDatabasesGet (Maybe Text) Source #

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

pidgUploadType :: Lens' ProjectsInstancesDatabasesGet (Maybe Text) Source #

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

pidgName :: Lens' ProjectsInstancesDatabasesGet Text Source #

Required. The name of the requested database. Values are of the form `projects//instances//databases/`.