gogol-apps-licensing-0.1.1: 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.Insert

Contents

Description

Assign License.

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

Synopsis

REST Resource

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

A resource alias for licensing.licenseAssignments.insert method which the LicenseAssignmentsInsert request conforms to.

Creating a Request

licenseAssignmentsInsert Source #

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

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

data LicenseAssignmentsInsert Source #

Assign License.

See: licenseAssignmentsInsert smart constructor.

Instances

Eq LicenseAssignmentsInsert Source # 
Data LicenseAssignmentsInsert Source # 

Methods

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

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

toConstr :: LicenseAssignmentsInsert -> Constr #

dataTypeOf :: LicenseAssignmentsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignmentsInsert Source # 
Generic LicenseAssignmentsInsert Source # 
GoogleRequest LicenseAssignmentsInsert Source # 
type Rep LicenseAssignmentsInsert Source # 
type Rep LicenseAssignmentsInsert = D1 (MetaData "LicenseAssignmentsInsert" "Network.Google.Resource.Licensing.LicenseAssignments.Insert" "gogol-apps-licensing-0.1.1-LI5rRSUA9hv3WiNJtEw8fn" False) (C1 (MetaCons "LicenseAssignmentsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_laiSKUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_laiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LicenseAssignmentInsert)) (S1 (MetaSel (Just Symbol "_laiProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes LicenseAssignmentsInsert Source # 
type Scopes LicenseAssignmentsInsert = (:) Symbol "https://www.googleapis.com/auth/apps.licensing" ([] Symbol)
type Rs LicenseAssignmentsInsert Source # 

Request Lenses