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

Contents

Description

Assign License.

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

Synopsis

REST Resource

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

A resource alias for licensing.licenseAssignments.update method which the LicenseAssignmentsUpdate request conforms to.

Creating a Request

licenseAssignmentsUpdate Source #

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

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

data LicenseAssignmentsUpdate Source #

Assign License.

See: licenseAssignmentsUpdate smart constructor.

Instances
Eq LicenseAssignmentsUpdate Source # 
Instance details

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

Data LicenseAssignmentsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: LicenseAssignmentsUpdate -> Constr #

dataTypeOf :: LicenseAssignmentsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignmentsUpdate Source # 
Instance details

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

Generic LicenseAssignmentsUpdate Source # 
Instance details

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

Associated Types

type Rep LicenseAssignmentsUpdate :: Type -> Type #

GoogleRequest LicenseAssignmentsUpdate Source # 
Instance details

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

type Rep LicenseAssignmentsUpdate Source # 
Instance details

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

type Rep LicenseAssignmentsUpdate = D1 (MetaData "LicenseAssignmentsUpdate" "Network.Google.Resource.Licensing.LicenseAssignments.Update" "gogol-apps-licensing-0.4.0-8omp5q2OVN83zRYeJbC8WP" False) (C1 (MetaCons "LicenseAssignmentsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_lauSKUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LicenseAssignment)) :*: (S1 (MetaSel (Just "_lauUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lauProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes LicenseAssignmentsUpdate Source # 
Instance details

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

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

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

Request Lenses

lauSKUId :: Lens' LicenseAssignmentsUpdate Text Source #

Name for sku for which license would be revoked

lauUserId :: Lens' LicenseAssignmentsUpdate Text Source #

email id or unique Id of the user