gogol-sqladmin-0.4.0: Google Cloud SQL Admin 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.SQL.Databases.Get

Contents

Description

Retrieves a resource containing information about a database inside a Cloud SQL instance.

See: Cloud SQL Admin API Reference for sql.databases.get.

Synopsis

REST Resource

type DatabasesGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (Capture "database" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Database)))))))) Source #

A resource alias for sql.databases.get method which the DatabasesGet request conforms to.

Creating a Request

databasesGet Source #

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

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

data DatabasesGet Source #

Retrieves a resource containing information about a database inside a Cloud SQL instance.

See: databasesGet smart constructor.

Instances
Eq DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

Data DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

Methods

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

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

toConstr :: DatabasesGet -> Constr #

dataTypeOf :: DatabasesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

Generic DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

Associated Types

type Rep DatabasesGet :: Type -> Type #

GoogleRequest DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

Associated Types

type Rs DatabasesGet :: Type #

type Scopes DatabasesGet :: [Symbol] #

type Rep DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

type Rep DatabasesGet = D1 (MetaData "DatabasesGet" "Network.Google.Resource.SQL.Databases.Get" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "DatabasesGet'" PrefixI True) (S1 (MetaSel (Just "_dgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_dgDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dgInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes DatabasesGet Source # 
Instance details

Defined in Network.Google.Resource.SQL.Databases.Get

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

Defined in Network.Google.Resource.SQL.Databases.Get

Request Lenses

dgProject :: Lens' DatabasesGet Text Source #

Project ID of the project that contains the instance.

dgDatabase :: Lens' DatabasesGet Text Source #

Name of the database in the instance.

dgInstance :: Lens' DatabasesGet Text Source #

Database instance ID. This does not include the project ID.