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

Contents

Description

Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.

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

Synopsis

REST Resource

type ProductsGetAppRestrictionsSchemaResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("appRestrictionsSchema" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AppRestrictionsSchema)))))))) Source #

A resource alias for androidenterprise.products.getAppRestrictionsSchema method which the ProductsGetAppRestrictionsSchema request conforms to.

Creating a Request

productsGetAppRestrictionsSchema Source #

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

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

data ProductsGetAppRestrictionsSchema Source #

Retrieves the schema that defines the configurable properties for this product. All products have a schema, but this schema may be empty if no managed configurations have been defined. This schema can be used to populate a UI that allows an admin to configure the product. To apply a managed configuration based on the schema obtained using this API, see Managed Configurations through Play.

See: productsGetAppRestrictionsSchema smart constructor.

Instances
Eq ProductsGetAppRestrictionsSchema Source # 
Instance details

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

Data ProductsGetAppRestrictionsSchema Source # 
Instance details

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

Methods

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

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

toConstr :: ProductsGetAppRestrictionsSchema -> Constr #

dataTypeOf :: ProductsGetAppRestrictionsSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsGetAppRestrictionsSchema Source # 
Instance details

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

Generic ProductsGetAppRestrictionsSchema Source # 
Instance details

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

Associated Types

type Rep ProductsGetAppRestrictionsSchema :: Type -> Type #

GoogleRequest ProductsGetAppRestrictionsSchema Source # 
Instance details

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

type Rep ProductsGetAppRestrictionsSchema Source # 
Instance details

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

type Rep ProductsGetAppRestrictionsSchema = D1 (MetaData "ProductsGetAppRestrictionsSchema" "Network.Google.Resource.AndroidEnterprise.Products.GetAppRestrictionsSchema" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "ProductsGetAppRestrictionsSchema'" PrefixI True) (S1 (MetaSel (Just "_pgarsEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pgarsLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgarsProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ProductsGetAppRestrictionsSchema Source # 
Instance details

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

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

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

Request Lenses

pgarsLanguage :: Lens' ProductsGetAppRestrictionsSchema (Maybe Text) Source #

The BCP47 tag for the user's preferred language (e.g. "en-US", "de").