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

Contents

Description

Lists databases in the specified Cloud SQL instance.

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

Synopsis

REST Resource

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

A resource alias for sql.databases.list method which the DatabasesList request conforms to.

Creating a Request

databasesList Source #

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

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

data DatabasesList Source #

Lists databases in the specified Cloud SQL instance.

See: databasesList smart constructor.

Instances
Eq DatabasesList Source # 
Instance details

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

Data DatabasesList Source # 
Instance details

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

Methods

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

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

toConstr :: DatabasesList -> Constr #

dataTypeOf :: DatabasesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DatabasesList Source # 
Instance details

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

Generic DatabasesList Source # 
Instance details

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

Associated Types

type Rep DatabasesList :: Type -> Type #

GoogleRequest DatabasesList Source # 
Instance details

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

Associated Types

type Rs DatabasesList :: Type #

type Scopes DatabasesList :: [Symbol] #

type Rep DatabasesList Source # 
Instance details

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

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

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

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

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

Request Lenses

dlProject :: Lens' DatabasesList Text Source #

Project ID of the project that contains the instance.

dlInstance :: Lens' DatabasesList Text Source #

Cloud SQL instance ID. This does not include the project ID.