gogol-compute-0.5.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.Interconnects.Get

Contents

Description

Returns the specified interconnect. Get a list of available interconnects by making a list() request.

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

Synopsis

REST Resource

type InterconnectsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("interconnects" :> (Capture "interconnect" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Interconnect))))))) Source #

A resource alias for compute.interconnects.get method which the InterconnectsGet request conforms to.

Creating a Request

interconnectsGet Source #

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

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

data InterconnectsGet Source #

Returns the specified interconnect. Get a list of available interconnects by making a list() request.

See: interconnectsGet smart constructor.

Instances
Eq InterconnectsGet Source # 
Instance details

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

Data InterconnectsGet Source # 
Instance details

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

Methods

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

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

toConstr :: InterconnectsGet -> Constr #

dataTypeOf :: InterconnectsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InterconnectsGet Source # 
Instance details

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

Generic InterconnectsGet Source # 
Instance details

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

Associated Types

type Rep InterconnectsGet :: Type -> Type #

GoogleRequest InterconnectsGet Source # 
Instance details

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

Associated Types

type Rs InterconnectsGet :: Type #

type Scopes InterconnectsGet :: [Symbol] #

type Rep InterconnectsGet Source # 
Instance details

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

type Rep InterconnectsGet = D1 (MetaData "InterconnectsGet" "Network.Google.Resource.Compute.Interconnects.Get" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "InterconnectsGet'" PrefixI True) (S1 (MetaSel (Just "_iProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_iInterconnect") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes InterconnectsGet Source # 
Instance details

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

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

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

Request Lenses

iProject :: Lens' InterconnectsGet Text Source #

Project ID for this request.

iInterconnect :: Lens' InterconnectsGet Text Source #

Name of the interconnect to return.