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

Contents

Description

Ends a session, releasing server resources associated with it.

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

Synopsis

REST Resource

type ProjectsInstancesDatabasesSessionsDeleteResource = "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.databases.sessions.delete method which the ProjectsInstancesDatabasesSessionsDelete request conforms to.

Creating a Request

projectsInstancesDatabasesSessionsDelete Source #

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

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

data ProjectsInstancesDatabasesSessionsDelete Source #

Ends a session, releasing server resources associated with it.

See: projectsInstancesDatabasesSessionsDelete smart constructor.

Instances
Eq ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

Data ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesDatabasesSessionsDelete -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesSessionsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

Generic ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

GoogleRequest ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesSessionsDelete = D1 (MetaData "ProjectsInstancesDatabasesSessionsDelete" "Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.Delete" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesSessionsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pidsdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pidsdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidsdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pidsdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pidsdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidsdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesSessionsDelete Source # 
Instance details

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

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

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

Request Lenses

pidsdUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text) Source #

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

pidsdUploadType :: Lens' ProjectsInstancesDatabasesSessionsDelete (Maybe Text) Source #

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

pidsdName :: Lens' ProjectsInstancesDatabasesSessionsDelete Text Source #

Required. The name of the session to delete.