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

Contents

Description

Returns the specified image. Gets a list of available images by making a list() request.

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

Synopsis

REST Resource

type ImagesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> (Capture "image" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Image))))))) Source #

A resource alias for compute.images.get method which the ImagesGet request conforms to.

Creating a Request

imagesGet Source #

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

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

data ImagesGet Source #

Returns the specified image. Gets a list of available images by making a list() request.

See: imagesGet smart constructor.

Instances
Eq ImagesGet Source # 
Instance details

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

Data ImagesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ImagesGet -> Constr #

dataTypeOf :: ImagesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImagesGet Source # 
Instance details

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

Generic ImagesGet Source # 
Instance details

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

Associated Types

type Rep ImagesGet :: Type -> Type #

GoogleRequest ImagesGet Source # 
Instance details

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

Associated Types

type Rs ImagesGet :: Type #

type Scopes ImagesGet :: [Symbol] #

type Rep ImagesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

imaImage :: Lens' ImagesGet Text Source #

Name of the image resource to return.

imaProject :: Lens' ImagesGet Text Source #

Project ID for this request.