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

Contents

Description

List license assignments for given product of the customer.

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

Synopsis

REST Resource

type LicenseAssignmentsListForProductResource = "apps" :> ("licensing" :> ("v1" :> ("product" :> (Capture "productId" Text :> ("users" :> (QueryParam "customerId" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LicenseAssignmentList))))))))) Source #

A resource alias for licensing.licenseAssignments.listForProduct method which the LicenseAssignmentsListForProduct request conforms to.

Creating a Request

licenseAssignmentsListForProduct Source #

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

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

data LicenseAssignmentsListForProduct Source #

List license assignments for given product of the customer.

See: licenseAssignmentsListForProduct smart constructor.

Instances
Eq LicenseAssignmentsListForProduct Source # 
Instance details

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

Data LicenseAssignmentsListForProduct Source # 
Instance details

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

Methods

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

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

toConstr :: LicenseAssignmentsListForProduct -> Constr #

dataTypeOf :: LicenseAssignmentsListForProduct -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseAssignmentsListForProduct Source # 
Instance details

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

Generic LicenseAssignmentsListForProduct Source # 
Instance details

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

Associated Types

type Rep LicenseAssignmentsListForProduct :: Type -> Type #

GoogleRequest LicenseAssignmentsListForProduct Source # 
Instance details

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

type Rep LicenseAssignmentsListForProduct Source # 
Instance details

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

type Rep LicenseAssignmentsListForProduct = D1 (MetaData "LicenseAssignmentsListForProduct" "Network.Google.Resource.Licensing.LicenseAssignments.ListForProduct" "gogol-apps-licensing-0.4.0-8omp5q2OVN83zRYeJbC8WP" False) (C1 (MetaCons "LicenseAssignmentsListForProduct'" PrefixI True) ((S1 (MetaSel (Just "_lalfpCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lalfpPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_lalfpProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lalfpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Word32)))))
type Scopes LicenseAssignmentsListForProduct Source # 
Instance details

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

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

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

Request Lenses

lalfpCustomerId :: Lens' LicenseAssignmentsListForProduct Text Source #

CustomerId represents the customer for whom licenseassignments are queried

lalfpPageToken :: Lens' LicenseAssignmentsListForProduct Text Source #

Token to fetch the next page.Optional. By default server will return first page

lalfpMaxResults :: Lens' LicenseAssignmentsListForProduct Word32 Source #

Maximum number of campaigns to return at one time. Must be positive. Optional. Default value is 100.