gogol-compute-0.4.0: Google Compute Engine 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.Compute.NodeGroups.Get

Contents

Description

Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead.

See: Compute Engine API Reference for compute.nodeGroups.get.

Synopsis

REST Resource

type NodeGroupsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "nodeGroup" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] NodeGroup)))))))) Source #

A resource alias for compute.nodeGroups.get method which the NodeGroupsGet request conforms to.

Creating a Request

nodeGroupsGet Source #

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

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

data NodeGroupsGet Source #

Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the "nodes" field should not be used. Use nodeGroups.listNodes instead.

See: nodeGroupsGet smart constructor.

Instances
Eq NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

Data NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

Methods

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

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

toConstr :: NodeGroupsGet -> Constr #

dataTypeOf :: NodeGroupsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

Generic NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

Associated Types

type Rep NodeGroupsGet :: Type -> Type #

GoogleRequest NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

Associated Types

type Rs NodeGroupsGet :: Type #

type Scopes NodeGroupsGet :: [Symbol] #

type Rep NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

type Rep NodeGroupsGet = D1 (MetaData "NodeGroupsGet" "Network.Google.Resource.Compute.NodeGroups.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "NodeGroupsGet'" PrefixI True) (S1 (MetaSel (Just "_nggNodeGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_nggProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_nggZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes NodeGroupsGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.Get

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

Defined in Network.Google.Resource.Compute.NodeGroups.Get

Request Lenses

nggNodeGroup :: Lens' NodeGroupsGet Text Source #

Name of the node group to return.

nggProject :: Lens' NodeGroupsGet Text Source #

Project ID for this request.

nggZone :: Lens' NodeGroupsGet Text Source #

The name of the zone for this request.