gogol-apps-licensing-0.3.0: Google Enterprise License Manager 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.Licensing.LicenseAssignments.Patch

Contents

Description

Assign License. This method supports patch semantics.

See: Enterprise License Manager API Reference for licensing.licenseAssignments.patch.

Synopsis

REST Resource

type LicenseAssignmentsPatchResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("sku" :> (Capture "skuId" Text :> ("user" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LicenseAssignment :> Patch '[JSON] LicenseAssignment)))))))))) Source #

A resource alias for licensing.licenseAssignments.patch method which the LicenseAssignmentsPatch request conforms to.

Creating a Request

licenseAssignmentsPatch Source #

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

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

data LicenseAssignmentsPatch Source #

Assign License. This method supports patch semantics.

See: licenseAssignmentsPatch smart constructor.

Instances

Eq LicenseAssignmentsPatch Source # 
Data LicenseAssignmentsPatch Source # 

Methods

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

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

toConstr :: LicenseAssignmentsPatch -> Constr #

dataTypeOf :: LicenseAssignmentsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignmentsPatch Source # 
Generic LicenseAssignmentsPatch Source # 
GoogleRequest LicenseAssignmentsPatch Source # 
type Rep LicenseAssignmentsPatch Source # 
type Rep LicenseAssignmentsPatch = D1 (MetaData "LicenseAssignmentsPatch" "Network.Google.Resource.Licensing.LicenseAssignments.Patch" "gogol-apps-licensing-0.3.0-I6YBrtNUr1k5FkUbV5vEJ0" False) (C1 (MetaCons "LicenseAssignmentsPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lapSKUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lapPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LicenseAssignment))) ((:*:) (S1 (MetaSel (Just Symbol "_lapUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lapProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes LicenseAssignmentsPatch Source # 
type Scopes LicenseAssignmentsPatch = (:) Symbol "https://www.googleapis.com/auth/apps.licensing" ([] Symbol)
type Rs LicenseAssignmentsPatch Source # 

Request Lenses

lapSKUId :: Lens' LicenseAssignmentsPatch Text Source #

Name for sku for which license would be revoked

lapUserId :: Lens' LicenseAssignmentsPatch Text Source #

email id or unique Id of the user