gogol-android-enterprise-0.4.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.List

Contents

Description

Finds approved products that match a query, or all approved products if there is no query.

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

Synopsis

REST Resource

type ProductsListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (QueryParam "token" Text :> (QueryParam "query" Text :> (QueryParam "language" Text :> (QueryParam "approved" Bool :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ProductsListResponse)))))))))) Source #

A resource alias for androidenterprise.products.list method which the ProductsList request conforms to.

Creating a Request

productsList Source #

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

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

data ProductsList Source #

Finds approved products that match a query, or all approved products if there is no query.

See: productsList smart constructor.

Instances
Eq ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

Data ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

Methods

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

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

toConstr :: ProductsList -> Constr #

dataTypeOf :: ProductsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

Generic ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

Associated Types

type Rep ProductsList :: Type -> Type #

GoogleRequest ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

Associated Types

type Rs ProductsList :: Type #

type Scopes ProductsList :: [Symbol] #

type Rep ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

type Rep ProductsList = D1 (MetaData "ProductsList" "Network.Google.Resource.AndroidEnterprise.Products.List" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "ProductsList'" PrefixI True) ((S1 (MetaSel (Just "_plEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_plToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_plLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_plApproved") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_plMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes ProductsList Source # 
Instance details

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

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

Defined in Network.Google.Resource.AndroidEnterprise.Products.List

Request Lenses

plEnterpriseId :: Lens' ProductsList Text Source #

The ID of the enterprise.

plToken :: Lens' ProductsList (Maybe Text) Source #

A pagination token is contained in a request''s response when there are more products. The token can be used in a subsequent request to obtain more products, and so forth. This parameter cannot be used in the initial request.

plQuery :: Lens' ProductsList (Maybe Text) Source #

The search query as typed in the Google Play store search box. If omitted, all approved apps will be returned (using the pagination parameters), including apps that are not available in the store (e.g. unpublished apps).

plLanguage :: Lens' ProductsList (Maybe Text) Source #

The BCP47 tag for the user's preferred language (e.g. "en-US", "de"). Results are returned in the language best matching the preferred language.

plApproved :: Lens' ProductsList (Maybe Bool) Source #

Specifies whether to search among all products (false) or among only products that have been approved (true). Only "true" is supported, and should be specified.

plMaxResults :: Lens' ProductsList (Maybe Word32) Source #

Specifies the maximum number of products that can be returned per request. If not specified, uses a default value of 100, which is also the maximum retrievable within a single response.