Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.ReplicaPool.Replicas.Get
Description
Gets information about a specific replica.
See: Replica Pool API Reference for replicapool.replicas.get
.
Synopsis
- type ReplicasGetResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Replica))))))))))
- replicasGet :: Text -> Text -> Text -> Text -> ReplicasGet
- data ReplicasGet
- rgPoolName :: Lens' ReplicasGet Text
- rgZone :: Lens' ReplicasGet Text
- rgReplicaName :: Lens' ReplicasGet Text
- rgProjectName :: Lens' ReplicasGet Text
REST Resource
type ReplicasGetResource = "replicapool" :> ("v1beta1" :> ("projects" :> (Capture "projectName" Text :> ("zones" :> (Capture "zone" Text :> ("pools" :> (Capture "poolName" Text :> ("replicas" :> (Capture "replicaName" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Replica)))))))))) Source #
A resource alias for replicapool.replicas.get
method which the
ReplicasGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ReplicasGet |
Creates a value of ReplicasGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReplicasGet Source #
Gets information about a specific replica.
See: replicasGet
smart constructor.
Instances
Eq ReplicasGet Source # | |
Data ReplicasGet Source # | |
Defined in Network.Google.Resource.ReplicaPool.Replicas.Get Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReplicasGet -> c ReplicasGet # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReplicasGet # toConstr :: ReplicasGet -> Constr # dataTypeOf :: ReplicasGet -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReplicasGet) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReplicasGet) # gmapT :: (forall b. Data b => b -> b) -> ReplicasGet -> ReplicasGet # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReplicasGet -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReplicasGet -> r # gmapQ :: (forall d. Data d => d -> u) -> ReplicasGet -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReplicasGet -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReplicasGet -> m ReplicasGet # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicasGet -> m ReplicasGet # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicasGet -> m ReplicasGet # | |
Show ReplicasGet Source # | |
Defined in Network.Google.Resource.ReplicaPool.Replicas.Get Methods showsPrec :: Int -> ReplicasGet -> ShowS # show :: ReplicasGet -> String # showList :: [ReplicasGet] -> ShowS # | |
Generic ReplicasGet Source # | |
Defined in Network.Google.Resource.ReplicaPool.Replicas.Get Associated Types type Rep ReplicasGet :: Type -> Type # | |
GoogleRequest ReplicasGet Source # | |
Defined in Network.Google.Resource.ReplicaPool.Replicas.Get Methods requestClient :: ReplicasGet -> GClient (Rs ReplicasGet) # | |
type Rep ReplicasGet Source # | |
Defined in Network.Google.Resource.ReplicaPool.Replicas.Get type Rep ReplicasGet = D1 (MetaData "ReplicasGet" "Network.Google.Resource.ReplicaPool.Replicas.Get" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "ReplicasGet'" PrefixI True) ((S1 (MetaSel (Just "_rgPoolName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rgZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rgReplicaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rgProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) | |
type Scopes ReplicasGet Source # | |
Defined in Network.Google.Resource.ReplicaPool.Replicas.Get type Scopes ReplicasGet = "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 ReplicasGet Source # | |
Request Lenses
rgPoolName :: Lens' ReplicasGet Text Source #
The replica pool name for this request.
rgReplicaName :: Lens' ReplicasGet Text Source #
The name of the replica for this request.
rgProjectName :: Lens' ReplicasGet Text Source #
The project ID for this request.