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.Licenses.SetIAMPolicy

Contents

Description

Sets the access control policy on the specified resource. Replaces any existing policy.

See: Compute Engine API Reference for compute.licenses.setIamPolicy.

Synopsis

REST Resource

type LicensesSetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("licenses" :> (Capture "resource" Text :> ("setIamPolicy" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GlobalSetPolicyRequest :> Post '[JSON] Policy))))))))) Source #

A resource alias for compute.licenses.setIamPolicy method which the LicensesSetIAMPolicy request conforms to.

Creating a Request

licensesSetIAMPolicy Source #

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

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

data LicensesSetIAMPolicy Source #

Sets the access control policy on the specified resource. Replaces any existing policy.

See: licensesSetIAMPolicy smart constructor.

Instances
Eq LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

Data LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

Methods

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

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

toConstr :: LicensesSetIAMPolicy -> Constr #

dataTypeOf :: LicensesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

Generic LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

Associated Types

type Rep LicensesSetIAMPolicy :: Type -> Type #

GoogleRequest LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

Associated Types

type Rs LicensesSetIAMPolicy :: Type #

type Scopes LicensesSetIAMPolicy :: [Symbol] #

type Rep LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

type Rep LicensesSetIAMPolicy = D1 (MetaData "LicensesSetIAMPolicy" "Network.Google.Resource.Compute.Licenses.SetIAMPolicy" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "LicensesSetIAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_lsipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_lsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GlobalSetPolicyRequest) :*: S1 (MetaSel (Just "_lsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes LicensesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

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

Defined in Network.Google.Resource.Compute.Licenses.SetIAMPolicy

Request Lenses

lsipProject :: Lens' LicensesSetIAMPolicy Text Source #

Project ID for this request.

lsipResource :: Lens' LicensesSetIAMPolicy Text Source #

Name or id of the resource for this request.