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

Contents

Description

Lists all sessions in a given database.

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

Synopsis

REST Resource

type ProjectsInstancesDatabasesSessionsListResource = "v1" :> (Capture "database" Text :> ("sessions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSessionsResponse))))))))))) Source #

A resource alias for spanner.projects.instances.databases.sessions.list method which the ProjectsInstancesDatabasesSessionsList request conforms to.

Creating a Request

data ProjectsInstancesDatabasesSessionsList Source #

Lists all sessions in a given database.

See: projectsInstancesDatabasesSessionsList smart constructor.

Instances
Eq ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

Data ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesDatabasesSessionsList -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesSessionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

Generic ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

GoogleRequest ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesSessionsList = D1 (MetaData "ProjectsInstancesDatabasesSessionsList" "Network.Google.Resource.Spanner.Projects.Instances.Databases.Sessions.List" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesSessionsList'" PrefixI True) (((S1 (MetaSel (Just "_pidslXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pidslUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pidslDatabase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidslAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pidslUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidslFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pidslPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pidslPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pidslCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsInstancesDatabasesSessionsList Source # 
Instance details

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

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

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

Request Lenses

pidslUploadProtocol :: Lens' ProjectsInstancesDatabasesSessionsList (Maybe Text) Source #

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

pidslDatabase :: Lens' ProjectsInstancesDatabasesSessionsList Text Source #

Required. The database in which to list sessions.

pidslUploadType :: Lens' ProjectsInstancesDatabasesSessionsList (Maybe Text) Source #

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

pidslFilter :: Lens' ProjectsInstancesDatabasesSessionsList (Maybe Text) Source #

An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `labels.key` where key is the name of a label Some examples of using filters are: * `labels.env:*` --> The session has the label "env". * `labels.env:dev` --> The session has the label "env" and the value of the label contains the string "dev".

pidslPageToken :: Lens' ProjectsInstancesDatabasesSessionsList (Maybe Text) Source #

If non-empty, `page_token` should contain a next_page_token from a previous ListSessionsResponse.

pidslPageSize :: Lens' ProjectsInstancesDatabasesSessionsList (Maybe Int32) Source #

Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.