gogol-sqladmin-0.4.0: Google Cloud SQL Admin 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.SQL.Instances.List

Contents

Description

Lists instances under a given project in the alphabetical order of the instance name.

See: Cloud SQL Admin API Reference for sql.instances.list.

Synopsis

REST Resource

type InstancesListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] InstancesListResponse)))))))) Source #

A resource alias for sql.instances.list method which the InstancesList request conforms to.

Creating a Request

instancesList Source #

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

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

data InstancesList Source #

Lists instances under a given project in the alphabetical order of the instance name.

See: instancesList smart constructor.

Instances
Eq InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

Data InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

Methods

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

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

toConstr :: InstancesList -> Constr #

dataTypeOf :: InstancesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

Generic InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

Associated Types

type Rep InstancesList :: Type -> Type #

GoogleRequest InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

Associated Types

type Rs InstancesList :: Type #

type Scopes InstancesList :: [Symbol] #

type Rep InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

type Rep InstancesList = D1 (MetaData "InstancesList" "Network.Google.Resource.SQL.Instances.List" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "InstancesList'" PrefixI True) ((S1 (MetaSel (Just "_ilProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ilFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ilPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ilMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))
type Scopes InstancesList Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.List

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

Defined in Network.Google.Resource.SQL.Instances.List

Request Lenses

ilProject :: Lens' InstancesList Text Source #

Project ID of the project for which to list Cloud SQL instances.

ilFilter :: Lens' InstancesList (Maybe Text) Source #

An expression for filtering the results of the request, such as by name or label.

ilPageToken :: Lens' InstancesList (Maybe Text) Source #

A previously-returned page token representing part of the larger set of results to view.

ilMaxResults :: Lens' InstancesList (Maybe Word32) Source #

The maximum number of results to return per response.