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.GetFromFamily

Contents

Description

Returns the latest image that is part of an image family and is not deprecated.

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

Synopsis

REST Resource

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

A resource alias for compute.images.getFromFamily method which the ImagesGetFromFamily request conforms to.

Creating a Request

imagesGetFromFamily Source #

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

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

data ImagesGetFromFamily Source #

Returns the latest image that is part of an image family and is not deprecated.

See: imagesGetFromFamily smart constructor.

Instances
Eq ImagesGetFromFamily Source # 
Instance details

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

Data ImagesGetFromFamily Source # 
Instance details

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

Methods

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

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

toConstr :: ImagesGetFromFamily -> Constr #

dataTypeOf :: ImagesGetFromFamily -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImagesGetFromFamily Source # 
Instance details

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

Generic ImagesGetFromFamily Source # 
Instance details

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

Associated Types

type Rep ImagesGetFromFamily :: Type -> Type #

GoogleRequest ImagesGetFromFamily Source # 
Instance details

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

Associated Types

type Rs ImagesGetFromFamily :: Type #

type Scopes ImagesGetFromFamily :: [Symbol] #

type Rep ImagesGetFromFamily Source # 
Instance details

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

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

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

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

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

Request Lenses

igffProject :: Lens' ImagesGetFromFamily Text Source #

Project ID for this request.

igffFamily :: Lens' ImagesGetFromFamily Text Source #

Name of the image family to search for.