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

Contents

Description

Deletes a database from a Cloud SQL instance.

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

Synopsis

REST Resource

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

A resource alias for sql.databases.delete method which the DatabasesDelete request conforms to.

Creating a Request

databasesDelete Source #

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

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

data DatabasesDelete Source #

Deletes a database from a Cloud SQL instance.

See: databasesDelete smart constructor.

Instances
Eq DatabasesDelete Source # 
Instance details

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

Data DatabasesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: DatabasesDelete -> Constr #

dataTypeOf :: DatabasesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DatabasesDelete Source # 
Instance details

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

Generic DatabasesDelete Source # 
Instance details

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

Associated Types

type Rep DatabasesDelete :: Type -> Type #

GoogleRequest DatabasesDelete Source # 
Instance details

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

Associated Types

type Rs DatabasesDelete :: Type #

type Scopes DatabasesDelete :: [Symbol] #

type Rep DatabasesDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

ddProject :: Lens' DatabasesDelete Text Source #

Project ID of the project that contains the instance.

ddDatabase :: Lens' DatabasesDelete Text Source #

Name of the database to be deleted in the instance.

ddInstance :: Lens' DatabasesDelete Text Source #

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