gogol-replicapool-0.5.0: Google Replica Pool 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.ReplicaPool.Replicas.List

Contents

Description

Lists all replicas in a pool.

See: Replica Pool API Reference for replicapool.replicas.list.

Synopsis

REST Resource

type ReplicasListResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ReplicasListResponse))))))))))) Source #

A resource alias for replicapool.replicas.list method which the ReplicasList request conforms to.

Creating a Request

replicasList Source #

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

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

data ReplicasList Source #

Lists all replicas in a pool.

See: replicasList smart constructor.

Instances
Eq ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

Data ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

Methods

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

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

toConstr :: ReplicasList -> Constr #

dataTypeOf :: ReplicasList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

Generic ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

Associated Types

type Rep ReplicasList :: Type -> Type #

GoogleRequest ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

Associated Types

type Rs ReplicasList :: Type #

type Scopes ReplicasList :: [Symbol] #

type Rep ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

type Rep ReplicasList = D1 (MetaData "ReplicasList" "Network.Google.Resource.ReplicaPool.Replicas.List" "gogol-replicapool-0.5.0-33CZPZk0hLaDkDApSMoCYi" False) (C1 (MetaCons "ReplicasList'" PrefixI True) ((S1 (MetaSel (Just "_rlPoolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rlZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rlProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_rlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))))
type Scopes ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

type Scopes ReplicasList = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ("https://www.googleapis.com/auth/ndev.cloudman" ': ("https://www.googleapis.com/auth/ndev.cloudman.readonly" ': ("https://www.googleapis.com/auth/replicapool" ': ("https://www.googleapis.com/auth/replicapool.readonly" ': ([] :: [Symbol]))))))
type Rs ReplicasList Source # 
Instance details

Defined in Network.Google.Resource.ReplicaPool.Replicas.List

Request Lenses

rlPoolName :: Lens' ReplicasList Text Source #

The replica pool name for this request.

rlZone :: Lens' ReplicasList Text Source #

The zone where the replica pool lives.

rlProjectName :: Lens' ReplicasList Text Source #

The project ID for this request.

rlPageToken :: Lens' ReplicasList (Maybe Text) Source #

Set this to the nextPageToken value returned by a previous list request to obtain the next page of results from the previous list request.

rlMaxResults :: Lens' ReplicasList Int32 Source #

Maximum count of results to be returned. Acceptable values are 0 to 100, inclusive. (Default: 50)