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

Contents

Description

Deletes an instance. Immediately upon completion of the request: * Billing ceases for all of the instance's reserved resources. Soon afterward: * The instance and *all of its databases* immediately and irrevocably disappear from the API. All data in the databases is permanently deleted.

See: Cloud Spanner API Reference for spanner.projects.instances.delete.

Synopsis

REST Resource

type ProjectsInstancesDeleteResource = "v1" :> (Capture "name" 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.delete method which the ProjectsInstancesDelete request conforms to.

Creating a Request

projectsInstancesDelete Source #

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

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

data ProjectsInstancesDelete Source #

Deletes an instance. Immediately upon completion of the request: * Billing ceases for all of the instance's reserved resources. Soon afterward: * The instance and *all of its databases* immediately and irrevocably disappear from the API. All data in the databases is permanently deleted.

See: projectsInstancesDelete smart constructor.

Instances
Eq ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

Data ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

Methods

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

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

toConstr :: ProjectsInstancesDelete -> Constr #

dataTypeOf :: ProjectsInstancesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

Generic ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

Associated Types

type Rep ProjectsInstancesDelete :: Type -> Type #

GoogleRequest ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

type Rep ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

type Rep ProjectsInstancesDelete = D1 (MetaData "ProjectsInstancesDelete" "Network.Google.Resource.Spanner.Projects.Instances.Delete" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDelete'" PrefixI True) ((S1 (MetaSel (Just "_pidXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pidUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pidName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDelete Source # 
Instance details

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

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

Defined in Network.Google.Resource.Spanner.Projects.Instances.Delete

Request Lenses

pidUploadProtocol :: Lens' ProjectsInstancesDelete (Maybe Text) Source #

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

pidUploadType :: Lens' ProjectsInstancesDelete (Maybe Text) Source #

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

pidName :: Lens' ProjectsInstancesDelete Text Source #

Required. The name of the instance to be deleted. Values are of the form `projects//instances/`