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

Contents

Description

Returns the specified subnetwork. Gets a list of available subnetworks list() request.

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

Synopsis

REST Resource

type SubnetworksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("subnetworks" :> (Capture "subnetwork" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Subnetwork)))))))) Source #

A resource alias for compute.subnetworks.get method which the SubnetworksGet request conforms to.

Creating a Request

subnetworksGet Source #

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

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

data SubnetworksGet Source #

Returns the specified subnetwork. Gets a list of available subnetworks list() request.

See: subnetworksGet smart constructor.

Instances
Eq SubnetworksGet Source # 
Instance details

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

Data SubnetworksGet Source # 
Instance details

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

Methods

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

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

toConstr :: SubnetworksGet -> Constr #

dataTypeOf :: SubnetworksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubnetworksGet Source # 
Instance details

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

Generic SubnetworksGet Source # 
Instance details

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

Associated Types

type Rep SubnetworksGet :: Type -> Type #

GoogleRequest SubnetworksGet Source # 
Instance details

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

Associated Types

type Rs SubnetworksGet :: Type #

type Scopes SubnetworksGet :: [Symbol] #

type Rep SubnetworksGet Source # 
Instance details

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

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

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

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

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

Request Lenses

sgProject :: Lens' SubnetworksGet Text Source #

Project ID for this request.

sgSubnetwork :: Lens' SubnetworksGet Text Source #

Name of the Subnetwork resource to return.

sgRegion :: Lens' SubnetworksGet Text Source #

Name of the region scoping this request.