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

Contents

Description

Views and manages licenses for your domain.

See: Enterprise License Manager API Reference

Synopsis

Service Configuration

appsLicensingService :: ServiceConfig Source #

Default request referring to version v1 of the Enterprise License Manager API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

appsLicensingScope :: Proxy '["https://www.googleapis.com/auth/apps.licensing"] Source #

View and manage G Suite licenses for your domain

API Declaration

Resources

licensing.licenseAssignments.delete

licensing.licenseAssignments.get

licensing.licenseAssignments.insert

licensing.licenseAssignments.listForProduct

licensing.licenseAssignments.listForProductAndSku

licensing.licenseAssignments.patch

licensing.licenseAssignments.update

Types

LicenseAssignmentInsert

data LicenseAssignmentInsert Source #

Template for LicenseAssignment Insert request

See: licenseAssignmentInsert smart constructor.

Instances
Eq LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Data LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Methods

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

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

toConstr :: LicenseAssignmentInsert -> Constr #

dataTypeOf :: LicenseAssignmentInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Generic LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Associated Types

type Rep LicenseAssignmentInsert :: Type -> Type #

ToJSON LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

FromJSON LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

type Rep LicenseAssignmentInsert Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

type Rep LicenseAssignmentInsert = D1 (MetaData "LicenseAssignmentInsert" "Network.Google.AppsLicensing.Types.Product" "gogol-apps-licensing-0.4.0-8omp5q2OVN83zRYeJbC8WP" True) (C1 (MetaCons "LicenseAssignmentInsert'" PrefixI True) (S1 (MetaSel (Just "_laiUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

licenseAssignmentInsert :: LicenseAssignmentInsert Source #

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

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

LicenseAssignmentList

data LicenseAssignmentList Source #

LicesnseAssignment List for a given product/sku for a customer.

See: licenseAssignmentList smart constructor.

Instances
Eq LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Data LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Methods

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

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

toConstr :: LicenseAssignmentList -> Constr #

dataTypeOf :: LicenseAssignmentList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Generic LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Associated Types

type Rep LicenseAssignmentList :: Type -> Type #

ToJSON LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

FromJSON LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

type Rep LicenseAssignmentList Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

type Rep LicenseAssignmentList = D1 (MetaData "LicenseAssignmentList" "Network.Google.AppsLicensing.Types.Product" "gogol-apps-licensing-0.4.0-8omp5q2OVN83zRYeJbC8WP" False) (C1 (MetaCons "LicenseAssignmentList'" PrefixI True) ((S1 (MetaSel (Just "_lalEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lalNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lalKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lalItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LicenseAssignment])))))

licenseAssignmentList :: LicenseAssignmentList Source #

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

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

lalNextPageToken :: Lens' LicenseAssignmentList (Maybe Text) Source #

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

lalKind :: Lens' LicenseAssignmentList Text Source #

Identifies the resource as a collection of LicenseAssignments.

lalItems :: Lens' LicenseAssignmentList [LicenseAssignment] Source #

The LicenseAssignments in this page of results.

LicenseAssignment

data LicenseAssignment Source #

Template for LiscenseAssignment Resource

See: licenseAssignment smart constructor.

Instances
Eq LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Data LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Methods

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

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

toConstr :: LicenseAssignment -> Constr #

dataTypeOf :: LicenseAssignment -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Generic LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

Associated Types

type Rep LicenseAssignment :: Type -> Type #

ToJSON LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

FromJSON LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

type Rep LicenseAssignment Source # 
Instance details

Defined in Network.Google.AppsLicensing.Types.Product

licenseAssignment :: LicenseAssignment Source #

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

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

laProductName :: Lens' LicenseAssignment (Maybe Text) Source #

Display Name of the product.

laEtags :: Lens' LicenseAssignment (Maybe Text) Source #

ETag of the resource.

laSKUName :: Lens' LicenseAssignment (Maybe Text) Source #

Display Name of the sku of the product.

laKind :: Lens' LicenseAssignment Text Source #

Identifies the resource as a LicenseAssignment.

laSKUId :: Lens' LicenseAssignment (Maybe Text) Source #

Id of the sku of the product.

laUserId :: Lens' LicenseAssignment (Maybe Text) Source #

Email id of the user.