gogol-android-enterprise-0.2.0: Google Play EMM 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.AndroidEnterprise.Products.Approve

Contents

Description

Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design.

See: Google Play EMM API Reference for androidenterprise.products.approve.

Synopsis

REST Resource

type ProductsApproveResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("approve" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProductsApproveRequest :> Post '[JSON] ())))))))) Source #

A resource alias for androidenterprise.products.approve method which the ProductsApprove request conforms to.

Creating a Request

productsApprove Source #

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

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

data ProductsApprove Source #

Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design.

See: productsApprove smart constructor.

Instances

Eq ProductsApprove Source # 
Data ProductsApprove Source # 

Methods

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

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

toConstr :: ProductsApprove -> Constr #

dataTypeOf :: ProductsApprove -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsApprove Source # 
Generic ProductsApprove Source # 
GoogleRequest ProductsApprove Source # 
type Rep ProductsApprove Source # 
type Rep ProductsApprove = D1 (MetaData "ProductsApprove" "Network.Google.Resource.AndroidEnterprise.Products.Approve" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ProductsApprove'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_paEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_paPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProductsApproveRequest)) (S1 (MetaSel (Just Symbol "_paProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ProductsApprove Source # 
type Scopes ProductsApprove = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs ProductsApprove Source # 

Request Lenses

paEnterpriseId :: Lens' ProductsApprove Text Source #

The ID of the enterprise.

paProductId :: Lens' ProductsApprove Text Source #

The ID of the product.