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

Contents

Description

Drops (aka deletes) a Cloud Spanner database.

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

Synopsis

REST Resource

type ProjectsInstancesDatabasesDropDatabaseResource = "v1" :> (Capture "database" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #

A resource alias for spanner.projects.instances.databases.dropDatabase method which the ProjectsInstancesDatabasesDropDatabase request conforms to.

Creating a Request

projectsInstancesDatabasesDropDatabase Source #

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

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

data ProjectsInstancesDatabasesDropDatabase Source #

Drops (aka deletes) a Cloud Spanner database.

See: projectsInstancesDatabasesDropDatabase smart constructor.

Instances
Eq ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

Data ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesDatabasesDropDatabase -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesDropDatabase -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

Generic ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

GoogleRequest ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesDropDatabase = D1 (MetaData "ProjectsInstancesDatabasesDropDatabase" "Network.Google.Resource.Spanner.Projects.Instances.Databases.DropDatabase" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesDropDatabase'" PrefixI True) ((S1 (MetaSel (Just "_pidddXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidddUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidddDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: (S1 (MetaSel (Just "_pidddAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pidddUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidddCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesDropDatabase Source # 
Instance details

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

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

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

Request Lenses

pidddUploadProtocol :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text) Source #

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

pidddDatabase :: Lens' ProjectsInstancesDatabasesDropDatabase Text Source #

Required. The database to be dropped.

pidddUploadType :: Lens' ProjectsInstancesDatabasesDropDatabase (Maybe Text) Source #

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