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.InstanceGroups.Get

Contents

Description

Returns the specified instance group. Gets a list of available instance groups by making a list() request.

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

Synopsis

REST Resource

type InstanceGroupsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroups" :> (Capture "instanceGroup" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] InstanceGroup)))))))) Source #

A resource alias for compute.instanceGroups.get method which the InstanceGroupsGet request conforms to.

Creating a Request

instanceGroupsGet Source #

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

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

data InstanceGroupsGet Source #

Returns the specified instance group. Gets a list of available instance groups by making a list() request.

See: instanceGroupsGet smart constructor.

Instances
Eq InstanceGroupsGet Source # 
Instance details

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

Data InstanceGroupsGet Source # 
Instance details

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

Methods

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

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

toConstr :: InstanceGroupsGet -> Constr #

dataTypeOf :: InstanceGroupsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceGroupsGet Source # 
Instance details

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

Generic InstanceGroupsGet Source # 
Instance details

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

Associated Types

type Rep InstanceGroupsGet :: Type -> Type #

GoogleRequest InstanceGroupsGet Source # 
Instance details

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

Associated Types

type Rs InstanceGroupsGet :: Type #

type Scopes InstanceGroupsGet :: [Symbol] #

type Rep InstanceGroupsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

iggProject :: Lens' InstanceGroupsGet Text Source #

Project ID for this request.

iggZone :: Lens' InstanceGroupsGet Text Source #

The name of the zone where the instance group is located.

iggInstanceGroup :: Lens' InstanceGroupsGet Text Source #

The name of the instance group.