Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- type ProductsGetAppRestrictionsSchemaResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("appRestrictionsSchema" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AppRestrictionsSchema))))))))
- productsGetAppRestrictionsSchema :: Text -> Text -> ProductsGetAppRestrictionsSchema
- data ProductsGetAppRestrictionsSchema
- pgarsEnterpriseId :: Lens' ProductsGetAppRestrictionsSchema Text
- pgarsLanguage :: Lens' ProductsGetAppRestrictionsSchema (Maybe Text)
- pgarsProductId :: Lens' ProductsGetAppRestrictionsSchema Text
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
Request Lenses
pgarsEnterpriseId :: Lens' ProductsGetAppRestrictionsSchema Text Source #
The ID of the enterprise.
pgarsLanguage :: Lens' ProductsGetAppRestrictionsSchema (Maybe Text) Source #
The BCP47 tag for the user's preferred language (e.g. "en-US", "de").
pgarsProductId :: Lens' ProductsGetAppRestrictionsSchema Text Source #
The ID of the product.