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

Contents

Description

Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.

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

Synopsis

REST Resource

type ImagesSetLabelsResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("images" :> (Capture "resource" Text :> ("setLabels" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GlobalSetLabelsRequest :> Post '[JSON] Operation))))))))) Source #

A resource alias for compute.images.setLabels method which the ImagesSetLabels request conforms to.

Creating a Request

imagesSetLabels Source #

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

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

data ImagesSetLabels Source #

Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.

See: imagesSetLabels smart constructor.

Instances
Eq ImagesSetLabels Source # 
Instance details

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

Data ImagesSetLabels Source # 
Instance details

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

Methods

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

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

toConstr :: ImagesSetLabels -> Constr #

dataTypeOf :: ImagesSetLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImagesSetLabels Source # 
Instance details

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

Generic ImagesSetLabels Source # 
Instance details

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

Associated Types

type Rep ImagesSetLabels :: Type -> Type #

GoogleRequest ImagesSetLabels Source # 
Instance details

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

Associated Types

type Rs ImagesSetLabels :: Type #

type Scopes ImagesSetLabels :: [Symbol] #

type Rep ImagesSetLabels Source # 
Instance details

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

type Rep ImagesSetLabels = D1 (MetaData "ImagesSetLabels" "Network.Google.Resource.Compute.Images.SetLabels" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "ImagesSetLabels'" PrefixI True) (S1 (MetaSel (Just "_islsProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_islsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GlobalSetLabelsRequest) :*: S1 (MetaSel (Just "_islsResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ImagesSetLabels Source # 
Instance details

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

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

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

Request Lenses

islsProject :: Lens' ImagesSetLabels Text Source #

Project ID for this request.

islsResource :: Lens' ImagesSetLabels Text Source #

Name or id of the resource for this request.