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

Contents

Description

Lists Cloud Spanner databases.

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

Synopsis

REST Resource

type ProjectsInstancesDatabasesListResource = "v1" :> (Capture "parent" Text :> ("databases" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListDatabasesResponse)))))))))) Source #

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

Creating a Request

projectsInstancesDatabasesList Source #

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

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

data ProjectsInstancesDatabasesList Source #

Lists Cloud Spanner databases.

See: projectsInstancesDatabasesList smart constructor.

Instances
Eq ProjectsInstancesDatabasesList Source # 
Instance details

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

Data ProjectsInstancesDatabasesList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesDatabasesList -> Constr #

dataTypeOf :: ProjectsInstancesDatabasesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesDatabasesList Source # 
Instance details

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

Generic ProjectsInstancesDatabasesList Source # 
Instance details

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

Associated Types

type Rep ProjectsInstancesDatabasesList :: Type -> Type #

GoogleRequest ProjectsInstancesDatabasesList Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesList Source # 
Instance details

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

type Rep ProjectsInstancesDatabasesList = D1 (MetaData "ProjectsInstancesDatabasesList" "Network.Google.Resource.Spanner.Projects.Instances.Databases.List" "gogol-spanner-0.4.0-Gx6Dlj0rchWGrfXCDHk4fo" False) (C1 (MetaCons "ProjectsInstancesDatabasesList'" PrefixI True) (((S1 (MetaSel (Just "_pidlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pidlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pidlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pidlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pidlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pidlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pidlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInstancesDatabasesList Source # 
Instance details

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

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

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

Request Lenses

pidlParent :: Lens' ProjectsInstancesDatabasesList Text Source #

Required. The instance whose databases should be listed. Values are of the form `projects//instances/`.

pidlUploadProtocol :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #

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

pidlUploadType :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #

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

pidlPageToken :: Lens' ProjectsInstancesDatabasesList (Maybe Text) Source #

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

pidlPageSize :: Lens' ProjectsInstancesDatabasesList (Maybe Int32) Source #

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