gogol-apps-licensing-0.4.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 # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

Data LicenseAssignmentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

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 # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

Generic LicenseAssignmentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

Associated Types

type Rep LicenseAssignmentsPatch :: Type -> Type #

GoogleRequest LicenseAssignmentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

type Rep LicenseAssignmentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

type Rep LicenseAssignmentsPatch = D1 (MetaData "LicenseAssignmentsPatch" "Network.Google.Resource.Licensing.LicenseAssignments.Patch" "gogol-apps-licensing-0.4.0-8omp5q2OVN83zRYeJbC8WP" False) (C1 (MetaCons "LicenseAssignmentsPatch'" PrefixI True) ((S1 (MetaSel (Just "_lapSKUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lapPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LicenseAssignment)) :*: (S1 (MetaSel (Just "_lapUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lapProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes LicenseAssignmentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

type Scopes LicenseAssignmentsPatch = "https://www.googleapis.com/auth/apps.licensing" ': ([] :: [Symbol])
type Rs LicenseAssignmentsPatch Source # 
Instance details

Defined in Network.Google.Resource.Licensing.LicenseAssignments.Patch

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