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

Contents

Description

Returns the specified address resource.

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

Synopsis

REST Resource

type AddressesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("addresses" :> (Capture "address" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Address)))))))) Source #

A resource alias for compute.addresses.get method which the AddressesGet request conforms to.

Creating a Request

addressesGet Source #

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

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

data AddressesGet Source #

Returns the specified address resource.

See: addressesGet smart constructor.

Instances
Eq AddressesGet Source # 
Instance details

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

Data AddressesGet Source # 
Instance details

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

Methods

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

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

toConstr :: AddressesGet -> Constr #

dataTypeOf :: AddressesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AddressesGet Source # 
Instance details

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

Generic AddressesGet Source # 
Instance details

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

Associated Types

type Rep AddressesGet :: Type -> Type #

GoogleRequest AddressesGet Source # 
Instance details

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

Associated Types

type Rs AddressesGet :: Type #

type Scopes AddressesGet :: [Symbol] #

type Rep AddressesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

addProject :: Lens' AddressesGet Text Source #

Project ID for this request.

addAddress :: Lens' AddressesGet Text Source #

Name of the address resource to return.

addRegion :: Lens' AddressesGet Text Source #

Name of the region for this request.