gogol-spanner-0.5.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.List

Contents

Description

Lists all instances in the given project.

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

Synopsis

REST Resource

type ProjectsInstancesListResource = "v1" :> (Capture "parent" Text :> ("instances" :> (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] ListInstancesResponse))))))))))) Source #

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

Creating a Request

projectsInstancesList Source #

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

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

data ProjectsInstancesList Source #

Lists all instances in the given project.

See: projectsInstancesList smart constructor.

Instances
Eq ProjectsInstancesList Source # 
Instance details

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

Data ProjectsInstancesList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInstancesList -> Constr #

dataTypeOf :: ProjectsInstancesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInstancesList Source # 
Instance details

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

Generic ProjectsInstancesList Source # 
Instance details

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

Associated Types

type Rep ProjectsInstancesList :: Type -> Type #

GoogleRequest ProjectsInstancesList Source # 
Instance details

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

type Rep ProjectsInstancesList Source # 
Instance details

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

type Rep ProjectsInstancesList = D1 (MetaData "ProjectsInstancesList" "Network.Google.Resource.Spanner.Projects.Instances.List" "gogol-spanner-0.5.0-EbKAd7GSsmo9VdnPLfZZzz" False) (C1 (MetaCons "ProjectsInstancesList'" PrefixI True) (((S1 (MetaSel (Just "_pilParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pilXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pilUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pilAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pilUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pilFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pilPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pilPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pilCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsInstancesList Source # 
Instance details

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

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

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

Request Lenses

pilParent :: Lens' ProjectsInstancesList Text Source #

Required. The name of the project for which a list of instances is requested. Values are of the form `projects/`.

pilUploadProtocol :: Lens' ProjectsInstancesList (Maybe Text) Source #

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

pilUploadType :: Lens' ProjectsInstancesList (Maybe Text) Source #

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

pilFilter :: Lens' ProjectsInstancesList (Maybe Text) Source #

An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `display_name` * `labels.key` where key is the name of a label Some examples of using filters are: * `name:*` --> The instance has a name. * `name:Howl` --> The instance's name contains the string "howl". * `name:HOWL` --> Equivalent to above. * `NAME:howl` --> Equivalent to above. * `labels.env:*` --> The instance has the label "env". * `labels.env:dev` --> The instance has the label "env" and the value of the label contains the string "dev". * `name:howl labels.env:dev` --> The instance's name contains "howl" and it has the label "env" with its value containing "dev".

pilPageToken :: Lens' ProjectsInstancesList (Maybe Text) Source #

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

pilPageSize :: Lens' ProjectsInstancesList (Maybe Int32) Source #

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