gogol-android-enterprise-0.1.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.AndroidEnterprise.Types

Contents

Description

 

Synopsis

Service Configuration

androidEnterpriseService :: ServiceConfig Source #

Default request referring to version v1 of the Google Play EMM API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

androidEnterpriseScope :: Proxy '["https://www.googleapis.com/auth/androidenterprise"] Source #

Manage corporate Android devices

GroupLicense

data GroupLicense Source #

A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play by the enterprise admin. The API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, that is, the total number of user entitlements in existence for the product. Group license objects are never deleted. If, for example, a free app is added to a collection and then removed, the group license will remain, allowing the enterprise admin to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play.

See: groupLicense smart constructor.

Instances

Eq GroupLicense Source # 
Data GroupLicense Source # 

Methods

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

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

toConstr :: GroupLicense -> Constr #

dataTypeOf :: GroupLicense -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupLicense Source # 
Generic GroupLicense Source # 

Associated Types

type Rep GroupLicense :: * -> * #

ToJSON GroupLicense Source # 
FromJSON GroupLicense Source # 
type Rep GroupLicense Source # 
type Rep GroupLicense = D1 (MetaData "GroupLicense" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "GroupLicense'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_glKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_glNumProvisioned") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_glNumPurchased") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) ((:*:) (S1 (MetaSel (Just Symbol "_glApproval") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_glProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_glAcquisitionKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

groupLicense :: GroupLicense Source #

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

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

glKind :: Lens' GroupLicense Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicense".

glNumProvisioned :: Lens' GroupLicense (Maybe Int32) Source #

The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations.

glNumPurchased :: Lens' GroupLicense (Maybe Int32) Source #

The number of purchased licenses (possibly in multiple purchases). If this field is omitted then there is no limit on the number of licenses that can be provisioned (e.g. if the acquisition kind is "free").

glApproval :: Lens' GroupLicense (Maybe Text) Source #

Whether the product to which this group license relates is currently approved by the enterprise, as either "approved" or "unapproved". Products are approved when a group license is first created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections and new entitlements to them should not normally be created.

glProductId :: Lens' GroupLicense (Maybe Text) Source #

The ID of the product that the license is for, e.g. "app:com.google.android.gm".

glAcquisitionKind :: Lens' GroupLicense (Maybe Text) Source #

How this group license was acquired. "bulkPurchase" means that this group license object was created because the enterprise purchased licenses for this product; this is "free" otherwise (for free products).

StoreLayoutPagesListResponse

data StoreLayoutPagesListResponse Source #

The store page resources for the enterprise.

See: storeLayoutPagesListResponse smart constructor.

Instances

Eq StoreLayoutPagesListResponse Source # 
Data StoreLayoutPagesListResponse Source # 

Methods

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

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

toConstr :: StoreLayoutPagesListResponse -> Constr #

dataTypeOf :: StoreLayoutPagesListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StoreLayoutPagesListResponse Source # 
Generic StoreLayoutPagesListResponse Source # 
ToJSON StoreLayoutPagesListResponse Source # 
FromJSON StoreLayoutPagesListResponse Source # 
type Rep StoreLayoutPagesListResponse Source # 
type Rep StoreLayoutPagesListResponse = D1 (MetaData "StoreLayoutPagesListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "StoreLayoutPagesListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slplrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slplrPage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StorePage])))))

storeLayoutPagesListResponse :: StoreLayoutPagesListResponse Source #

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

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

slplrKind :: Lens' StoreLayoutPagesListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayoutPagesListResponse".

slplrPage :: Lens' StoreLayoutPagesListResponse [StorePage] Source #

A store page of an enterprise.

EnterpriseAccount

data EnterpriseAccount Source #

A service account that can be used to authenticate as the enterprise to API calls that require such authentication.

See: enterpriseAccount smart constructor.

Instances

Eq EnterpriseAccount Source # 
Data EnterpriseAccount Source # 

Methods

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

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

toConstr :: EnterpriseAccount -> Constr #

dataTypeOf :: EnterpriseAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterpriseAccount Source # 
Generic EnterpriseAccount Source # 
ToJSON EnterpriseAccount Source # 
FromJSON EnterpriseAccount Source # 
type Rep EnterpriseAccount Source # 
type Rep EnterpriseAccount = D1 (MetaData "EnterpriseAccount" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "EnterpriseAccount'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eaKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_eaAccountEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

enterpriseAccount :: EnterpriseAccount Source #

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

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

eaKind :: Lens' EnterpriseAccount Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterpriseAccount".

eaAccountEmail :: Lens' EnterpriseAccount (Maybe Text) Source #

The email address of the service account.

CollectionsListResponse

data CollectionsListResponse Source #

The collection resources for the enterprise.

See: collectionsListResponse smart constructor.

Instances

Eq CollectionsListResponse Source # 
Data CollectionsListResponse Source # 

Methods

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

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

toConstr :: CollectionsListResponse -> Constr #

dataTypeOf :: CollectionsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CollectionsListResponse Source # 
Generic CollectionsListResponse Source # 
ToJSON CollectionsListResponse Source # 
FromJSON CollectionsListResponse Source # 
type Rep CollectionsListResponse Source # 
type Rep CollectionsListResponse = D1 (MetaData "CollectionsListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "CollectionsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_clrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_clrCollection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Collection])))))

collectionsListResponse :: CollectionsListResponse Source #

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

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

clrKind :: Lens' CollectionsListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#collectionsListResponse".

clrCollection :: Lens' CollectionsListResponse [Collection] Source #

An ordered collection of products which can be made visible on the Google Play Store to a selected group of users.

AppRestrictionsSchemaRestrictionRestrictionValue

data AppRestrictionsSchemaRestrictionRestrictionValue Source #

A typed value for the restriction.

See: appRestrictionsSchemaRestrictionRestrictionValue smart constructor.

Instances

Eq AppRestrictionsSchemaRestrictionRestrictionValue Source # 
Data AppRestrictionsSchemaRestrictionRestrictionValue Source # 

Methods

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

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

toConstr :: AppRestrictionsSchemaRestrictionRestrictionValue -> Constr #

dataTypeOf :: AppRestrictionsSchemaRestrictionRestrictionValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppRestrictionsSchemaRestrictionRestrictionValue Source # 
Generic AppRestrictionsSchemaRestrictionRestrictionValue Source # 
ToJSON AppRestrictionsSchemaRestrictionRestrictionValue Source # 
FromJSON AppRestrictionsSchemaRestrictionRestrictionValue Source # 
type Rep AppRestrictionsSchemaRestrictionRestrictionValue Source # 
type Rep AppRestrictionsSchemaRestrictionRestrictionValue = D1 (MetaData "AppRestrictionsSchemaRestrictionRestrictionValue" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "AppRestrictionsSchemaRestrictionRestrictionValue'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_arsrrvValueMultiselect") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_arsrrvValueBool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_arsrrvValueInteger") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_arsrrvType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_arsrrvValueString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

arsrrvValueMultiselect :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue [Text] Source #

The list of string values - this will only be present if type is multiselect.

arsrrvValueBool :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Bool) Source #

The boolean value - this will only be present if type is bool.

arsrrvValueInteger :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Int32) Source #

The integer value - this will only be present if type is integer.

arsrrvValueString :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Text) Source #

The string value - this will be present for types string, choice and hidden.

DeviceState

data DeviceState Source #

The state of a user's device, as accessed by the getState and setState methods on device resources.

See: deviceState smart constructor.

Instances

Eq DeviceState Source # 
Data DeviceState Source # 

Methods

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

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

toConstr :: DeviceState -> Constr #

dataTypeOf :: DeviceState -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeviceState Source # 
Generic DeviceState Source # 

Associated Types

type Rep DeviceState :: * -> * #

ToJSON DeviceState Source # 
FromJSON DeviceState Source # 
type Rep DeviceState Source # 
type Rep DeviceState = D1 (MetaData "DeviceState" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "DeviceState'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsAccountState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

deviceState :: DeviceState Source #

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

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

dsKind :: Lens' DeviceState Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#deviceState".

dsAccountState :: Lens' DeviceState (Maybe Text) Source #

The state of the Google account on the device. "enabled" indicates that the Google account on the device can be used to access Google services (including Google Play), while "disabled" means that it cannot. A new device is initially in the "disabled" state.

GroupLicenseUsersListResponse

data GroupLicenseUsersListResponse Source #

The user resources for the group license.

See: groupLicenseUsersListResponse smart constructor.

Instances

Eq GroupLicenseUsersListResponse Source # 
Data GroupLicenseUsersListResponse Source # 

Methods

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

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

toConstr :: GroupLicenseUsersListResponse -> Constr #

dataTypeOf :: GroupLicenseUsersListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupLicenseUsersListResponse Source # 
Generic GroupLicenseUsersListResponse Source # 
ToJSON GroupLicenseUsersListResponse Source # 
FromJSON GroupLicenseUsersListResponse Source # 
type Rep GroupLicenseUsersListResponse Source # 
type Rep GroupLicenseUsersListResponse = D1 (MetaData "GroupLicenseUsersListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "GroupLicenseUsersListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_glulrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_glulrUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [User])))))

groupLicenseUsersListResponse :: GroupLicenseUsersListResponse Source #

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

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

glulrKind :: Lens' GroupLicenseUsersListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicenseUsersListResponse".

TokenPagination

data TokenPagination Source #

Instances

Eq TokenPagination Source # 
Data TokenPagination Source # 

Methods

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

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

toConstr :: TokenPagination -> Constr #

dataTypeOf :: TokenPagination -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TokenPagination Source # 
Generic TokenPagination Source # 
ToJSON TokenPagination Source # 
FromJSON TokenPagination Source # 
type Rep TokenPagination Source # 
type Rep TokenPagination = D1 (MetaData "TokenPagination" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "TokenPagination'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tpNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tpPreviousPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

tokenPagination :: TokenPagination Source #

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

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

ApprovalURLInfo

data ApprovalURLInfo Source #

Information on an approval URL.

See: approvalURLInfo smart constructor.

Instances

Eq ApprovalURLInfo Source # 
Data ApprovalURLInfo Source # 

Methods

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

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

toConstr :: ApprovalURLInfo -> Constr #

dataTypeOf :: ApprovalURLInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ApprovalURLInfo Source # 
Generic ApprovalURLInfo Source # 
ToJSON ApprovalURLInfo Source # 
FromJSON ApprovalURLInfo Source # 
type Rep ApprovalURLInfo Source # 
type Rep ApprovalURLInfo = D1 (MetaData "ApprovalURLInfo" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "ApprovalURLInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_auiApprovalURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_auiKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

approvalURLInfo :: ApprovalURLInfo Source #

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

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

auiApprovalURL :: Lens' ApprovalURLInfo (Maybe Text) Source #

A URL that displays a product's permissions and that can also be used to approve the product with the Products.approve call.

auiKind :: Lens' ApprovalURLInfo Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#approvalUrlInfo".

StoreLayoutClustersListResponse

data StoreLayoutClustersListResponse Source #

The store page resources for the enterprise.

See: storeLayoutClustersListResponse smart constructor.

Instances

Eq StoreLayoutClustersListResponse Source # 
Data StoreLayoutClustersListResponse Source # 

Methods

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

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

toConstr :: StoreLayoutClustersListResponse -> Constr #

dataTypeOf :: StoreLayoutClustersListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StoreLayoutClustersListResponse Source # 
Generic StoreLayoutClustersListResponse Source # 
ToJSON StoreLayoutClustersListResponse Source # 
FromJSON StoreLayoutClustersListResponse Source # 
type Rep StoreLayoutClustersListResponse Source # 
type Rep StoreLayoutClustersListResponse = D1 (MetaData "StoreLayoutClustersListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "StoreLayoutClustersListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slclrCluster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StoreCluster]))) (S1 (MetaSel (Just Symbol "_slclrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

storeLayoutClustersListResponse :: StoreLayoutClustersListResponse Source #

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

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

slclrKind :: Lens' StoreLayoutClustersListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayoutClustersListResponse".

StoreCluster

data StoreCluster Source #

Definition of a Google Play for Work store cluster, a list of products displayed as part of a store page.

See: storeCluster smart constructor.

Instances

Eq StoreCluster Source # 
Data StoreCluster Source # 

Methods

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

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

toConstr :: StoreCluster -> Constr #

dataTypeOf :: StoreCluster -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StoreCluster Source # 
Generic StoreCluster Source # 

Associated Types

type Rep StoreCluster :: * -> * #

ToJSON StoreCluster Source # 
FromJSON StoreCluster Source # 
type Rep StoreCluster Source # 
type Rep StoreCluster = D1 (MetaData "StoreCluster" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "StoreCluster'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_scKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_scName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LocalizedText])))) ((:*:) (S1 (MetaSel (Just Symbol "_scOrderInPage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_scId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_scProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))))

storeCluster :: StoreCluster Source #

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

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

scKind :: Lens' StoreCluster Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeCluster".

scName :: Lens' StoreCluster [LocalizedText] Source #

Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.

scOrderInPage :: Lens' StoreCluster (Maybe Text) Source #

String (US-ASCII only) used to determine order of this cluster within the parent page's elements. Page elements are sorted in lexicographic order of this field. Duplicated values are allowed, but ordering between elements with duplicate order is undefined. The value of this field is never visible to a user, it is used solely for the purpose of defining an ordering. Maximum length is 256 characters.

scId :: Lens' StoreCluster (Maybe Text) Source #

Unique ID of this cluster. Assigned by the server. Immutable once assigned.

scProductId :: Lens' StoreCluster [Text] Source #

List of products in the order they are displayed in the cluster. There should not be duplicates within a cluster.

PageInfo

data PageInfo Source #

Instances

Eq PageInfo Source # 
Data PageInfo Source # 

Methods

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

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

toConstr :: PageInfo -> Constr #

dataTypeOf :: PageInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PageInfo Source # 
Generic PageInfo Source # 

Associated Types

type Rep PageInfo :: * -> * #

Methods

from :: PageInfo -> Rep PageInfo x #

to :: Rep PageInfo x -> PageInfo #

ToJSON PageInfo Source # 
FromJSON PageInfo Source # 
type Rep PageInfo Source # 
type Rep PageInfo = D1 (MetaData "PageInfo" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "PageInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_piResultPerPage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_piTotalResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_piStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

pageInfo :: PageInfo Source #

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

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

ProductPermission

data ProductPermission Source #

A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.

See: productPermission smart constructor.

Instances

Eq ProductPermission Source # 
Data ProductPermission Source # 

Methods

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

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

toConstr :: ProductPermission -> Constr #

dataTypeOf :: ProductPermission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductPermission Source # 
Generic ProductPermission Source # 
ToJSON ProductPermission Source # 
FromJSON ProductPermission Source # 
type Rep ProductPermission Source # 
type Rep ProductPermission = D1 (MetaData "ProductPermission" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "ProductPermission'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ppState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ppPermissionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

productPermission :: ProductPermission Source #

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

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

ppState :: Lens' ProductPermission (Maybe Text) Source #

Whether the permission has been accepted or not.

ppPermissionId :: Lens' ProductPermission (Maybe Text) Source #

An opaque string uniquely identifying the permission.

Device

data Device Source #

A device resource represents a mobile device managed by the EMM and belonging to a specific enterprise user. This collection cannot be modified via the API; it is automatically populated as devices are set up to be managed.

See: device smart constructor.

Instances

Eq Device Source # 

Methods

(==) :: Device -> Device -> Bool #

(/=) :: Device -> Device -> Bool #

Data Device Source # 

Methods

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

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

toConstr :: Device -> Constr #

dataTypeOf :: Device -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Device Source # 
Generic Device Source # 

Associated Types

type Rep Device :: * -> * #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

ToJSON Device Source # 
FromJSON Device Source # 
type Rep Device Source # 
type Rep Device = D1 (MetaData "Device" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Device'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_dManagementType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dAndroidId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

device :: Device Source #

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

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

dKind :: Lens' Device Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#device".

dManagementType :: Lens' Device (Maybe Text) Source #

The mechanism by which this device is managed by the EMM. "managedDevice" means that the EMM's app is a device owner. "managedProfile" means that the EMM's app is the profile owner (and there is a separate personal profile which is not managed). "containerApp" means that the EMM's app is managing the Android for Work container app on the device. ?unmanagedProfile? means that the EMM?s app is managing a managed user on an unmanaged device

dAndroidId :: Lens' Device (Maybe Text) Source #

The Google Play Services Android ID for the device encoded as a lowercase hex string, e.g. "123456789abcdef0".

InstallsListResponse

data InstallsListResponse Source #

The install resources for the device.

See: installsListResponse smart constructor.

Instances

Eq InstallsListResponse Source # 
Data InstallsListResponse Source # 

Methods

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

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

toConstr :: InstallsListResponse -> Constr #

dataTypeOf :: InstallsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstallsListResponse Source # 
Generic InstallsListResponse Source # 
ToJSON InstallsListResponse Source # 
FromJSON InstallsListResponse Source # 
type Rep InstallsListResponse Source # 
type Rep InstallsListResponse = D1 (MetaData "InstallsListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "InstallsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ilrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ilrInstall") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Install])))))

installsListResponse :: InstallsListResponse Source #

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

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

ilrKind :: Lens' InstallsListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#installsListResponse".

ilrInstall :: Lens' InstallsListResponse [Install] Source #

An installation of an app for a user on a specific device. The existence of an install implies that the user must have an entitlement to the app.

AppRestrictionsSchemaRestriction

data AppRestrictionsSchemaRestriction Source #

A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.

See: appRestrictionsSchemaRestriction smart constructor.

Instances

Eq AppRestrictionsSchemaRestriction Source # 
Data AppRestrictionsSchemaRestriction Source # 

Methods

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

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

toConstr :: AppRestrictionsSchemaRestriction -> Constr #

dataTypeOf :: AppRestrictionsSchemaRestriction -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppRestrictionsSchemaRestriction Source # 
Generic AppRestrictionsSchemaRestriction Source # 
ToJSON AppRestrictionsSchemaRestriction Source # 
FromJSON AppRestrictionsSchemaRestriction Source # 
type Rep AppRestrictionsSchemaRestriction Source # 
type Rep AppRestrictionsSchemaRestriction = D1 (MetaData "AppRestrictionsSchemaRestriction" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "AppRestrictionsSchemaRestriction'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_arsrRestrictionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_arsrEntry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_arsrKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_arsrEntryValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_arsrDefaultValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AppRestrictionsSchemaRestrictionRestrictionValue)))) ((:*:) (S1 (MetaSel (Just Symbol "_arsrTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_arsrDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

appRestrictionsSchemaRestriction :: AppRestrictionsSchemaRestriction Source #

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

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

arsrEntry :: Lens' AppRestrictionsSchemaRestriction [Text] Source #

For choice or multiselect restrictions, the list of possible entries' human-readable names.

arsrKey :: Lens' AppRestrictionsSchemaRestriction (Maybe Text) Source #

The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname".

arsrEntryValue :: Lens' AppRestrictionsSchemaRestriction [Text] Source #

For choice or multiselect restrictions, the list of possible entries' machine-readable values.

arsrDescription :: Lens' AppRestrictionsSchemaRestriction (Maybe Text) Source #

A longer description of the restriction, giving more detail of what it affects.

UsersListResponse

data UsersListResponse Source #

The matching user resources.

See: usersListResponse smart constructor.

Instances

Eq UsersListResponse Source # 
Data UsersListResponse Source # 

Methods

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

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

toConstr :: UsersListResponse -> Constr #

dataTypeOf :: UsersListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersListResponse Source # 
Generic UsersListResponse Source # 
ToJSON UsersListResponse Source # 
FromJSON UsersListResponse Source # 
type Rep UsersListResponse Source # 
type Rep UsersListResponse = D1 (MetaData "UsersListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "UsersListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ulrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ulrUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [User])))))

usersListResponse :: UsersListResponse Source #

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

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

ulrKind :: Lens' UsersListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#usersListResponse".

ulrUser :: Lens' UsersListResponse [User] Source #

A user of an enterprise.

AppVersion

data AppVersion Source #

This represents a single version of the app.

See: appVersion smart constructor.

Instances

Eq AppVersion Source # 
Data AppVersion Source # 

Methods

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

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

toConstr :: AppVersion -> Constr #

dataTypeOf :: AppVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppVersion Source # 
Generic AppVersion Source # 

Associated Types

type Rep AppVersion :: * -> * #

ToJSON AppVersion Source # 
FromJSON AppVersion Source # 
type Rep AppVersion Source # 
type Rep AppVersion = D1 (MetaData "AppVersion" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "AppVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_avVersionString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

appVersion :: AppVersion Source #

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

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

avVersionCode :: Lens' AppVersion (Maybe Int32) Source #

Unique increasing identifier for the app version.

avVersionString :: Lens' AppVersion (Maybe Text) Source #

The string used in the Play Store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be "1.4").

GroupLicensesListResponse

data GroupLicensesListResponse Source #

The grouplicense resources for the enterprise.

See: groupLicensesListResponse smart constructor.

Instances

Eq GroupLicensesListResponse Source # 
Data GroupLicensesListResponse Source # 

Methods

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

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

toConstr :: GroupLicensesListResponse -> Constr #

dataTypeOf :: GroupLicensesListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupLicensesListResponse Source # 
Generic GroupLicensesListResponse Source # 
ToJSON GroupLicensesListResponse Source # 
FromJSON GroupLicensesListResponse Source # 
type Rep GroupLicensesListResponse Source # 
type Rep GroupLicensesListResponse = D1 (MetaData "GroupLicensesListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "GroupLicensesListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gllrGroupLicense") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GroupLicense]))) (S1 (MetaSel (Just Symbol "_gllrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

groupLicensesListResponse :: GroupLicensesListResponse Source #

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

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

gllrGroupLicense :: Lens' GroupLicensesListResponse [GroupLicense] Source #

A group license for a product approved for use in the enterprise.

gllrKind :: Lens' GroupLicensesListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicensesListResponse".

Collection

data Collection Source #

A collection resource defines a named set of apps that is visible to a set of users in the Google Play Store app running on those users' managed devices. Those users can then install any of those apps if they wish (which will trigger creation of install and entitlement resources). A user cannot install an app on a managed device unless the app is listed in at least one collection that is visible to that user. Note that the API can be used to directly install an app regardless of whether it is in any collection - so an enterprise has a choice of either directly pushing apps to users, or allowing users to install apps if they want. Which is appropriate will depend on the enterprise's policies and the purpose of the apps concerned.

See: collection smart constructor.

Instances

Eq Collection Source # 
Data Collection Source # 

Methods

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

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

toConstr :: Collection -> Constr #

dataTypeOf :: Collection -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Collection Source # 
Generic Collection Source # 

Associated Types

type Rep Collection :: * -> * #

ToJSON Collection Source # 
FromJSON Collection Source # 
type Rep Collection Source # 
type Rep Collection = D1 (MetaData "Collection" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Collection'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_colKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_colCollectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_colVisibility") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_colName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_colProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))))

collection :: Collection Source #

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

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

colKind :: Lens' Collection Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#collection".

colCollectionId :: Lens' Collection (Maybe Text) Source #

Arbitrary unique ID, allocated by the API on creation.

colVisibility :: Lens' Collection (Maybe Text) Source #

Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. The "allUsers" setting is deprecated, and will be removed.

colName :: Lens' Collection (Maybe Text) Source #

A user-friendly name for the collection (should be unique), e.g. "Accounting apps".

colProductId :: Lens' Collection [Text] Source #

The IDs of the products in the collection, in the order in which they should be displayed.

ProductSet

data ProductSet Source #

A set of products.

See: productSet smart constructor.

Instances

Eq ProductSet Source # 
Data ProductSet Source # 

Methods

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

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

toConstr :: ProductSet -> Constr #

dataTypeOf :: ProductSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductSet Source # 
Generic ProductSet Source # 

Associated Types

type Rep ProductSet :: * -> * #

ToJSON ProductSet Source # 
FromJSON ProductSet Source # 
type Rep ProductSet Source # 
type Rep ProductSet = D1 (MetaData "ProductSet" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "ProductSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_psKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_psProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

productSet :: ProductSet Source #

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

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

psKind :: Lens' ProductSet Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet".

psProductId :: Lens' ProductSet [Text] Source #

The list of product IDs making up the set of products.

Install

data Install Source #

The existence of an install resource indicates that an app is installed on a particular device (or that an install is pending). The API can be used to create an install resource using the update method. This triggers the actual install of the app on the device. If the user does not already have an entitlement for the app then an attempt is made to create one. If this fails (e.g. because the app is not free and there is no available license) then the creation of the install fails. The API can also be used to update an installed app. If the update method is used on an existing install then the app will be updated to the latest available version. Note that it is not possible to force the installation of a specific version of an app; the version code is read-only. If a user installs an app themselves (as permitted by the enterprise), then again an install resource and possibly an entitlement resource are automatically created. The API can also be used to delete an install resource, which triggers the removal of the app from the device. Note that deleting an install does not automatically remove the corresponding entitlement, even if there are no remaining installs. The install resource will also be deleted if the user uninstalls the app themselves.

See: install smart constructor.

Instances

Eq Install Source # 

Methods

(==) :: Install -> Install -> Bool #

(/=) :: Install -> Install -> Bool #

Data Install Source # 

Methods

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

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

toConstr :: Install -> Constr #

dataTypeOf :: Install -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Install Source # 
Generic Install Source # 

Associated Types

type Rep Install :: * -> * #

Methods

from :: Install -> Rep Install x #

to :: Rep Install x -> Install #

ToJSON Install Source # 
FromJSON Install Source # 
type Rep Install Source # 
type Rep Install = D1 (MetaData "Install" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Install'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_iKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_iInstallState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

install :: Install Source #

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

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

iVersionCode :: Lens' Install (Maybe Int32) Source #

The version of the installed product. Guaranteed to be set only if the install state is "installed".

iKind :: Lens' Install Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#install".

iInstallState :: Lens' Install (Maybe Text) Source #

Install state. The state "installPending" means that an install request has recently been made and download to the device is in progress. The state "installed" means that the app has been installed. This field is read-only.

iProductId :: Lens' Install (Maybe Text) Source #

The ID of the product that the install is for, e.g. "app:com.google.android.gm".

User

data User Source #

A user resource represents an individual user within the enterprise's domain. Note that each user is associated with a Google account based on the user's corporate email address (which must be in one of the enterprise's domains). As part of installing the EMM's DPC app to manage a device the Google account must be provisioned to the device, and so the user resource must be created before that. This can be done using the Google Admin SDK Directory API. The ID for a user is an opaque string. It can be retrieved using the list method queried by the user's primary email address.

See: user smart constructor.

Instances

Eq User Source # 

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Data User Source # 

Methods

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

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

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

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

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

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

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

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

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

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

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

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

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

Show User Source # 

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 

Associated Types

type Rep User :: * -> * #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

ToJSON User Source # 
FromJSON User Source # 

Methods

parseJSON :: Value -> Parser User #

type Rep User Source # 
type Rep User = D1 (MetaData "User" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "User'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_uId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uPrimaryEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

user :: User Source #

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

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

uKind :: Lens' User Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#user".

uId :: Lens' User (Maybe Text) Source #

The unique ID for the user.

uPrimaryEmail :: Lens' User (Maybe Text) Source #

The user's primary email, e.g. "jsmith'example.com".

ProductsGenerateApprovalURLResponse

data ProductsGenerateApprovalURLResponse Source #

Instances

Eq ProductsGenerateApprovalURLResponse Source # 
Data ProductsGenerateApprovalURLResponse Source # 

Methods

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

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

toConstr :: ProductsGenerateApprovalURLResponse -> Constr #

dataTypeOf :: ProductsGenerateApprovalURLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsGenerateApprovalURLResponse Source # 
Generic ProductsGenerateApprovalURLResponse Source # 
ToJSON ProductsGenerateApprovalURLResponse Source # 
FromJSON ProductsGenerateApprovalURLResponse Source # 
type Rep ProductsGenerateApprovalURLResponse Source # 
type Rep ProductsGenerateApprovalURLResponse = D1 (MetaData "ProductsGenerateApprovalURLResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" True) (C1 (MetaCons "ProductsGenerateApprovalURLResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_pgaurURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

productsGenerateApprovalURLResponse :: ProductsGenerateApprovalURLResponse Source #

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

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

pgaurURL :: Lens' ProductsGenerateApprovalURLResponse (Maybe Text) Source #

A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and only within 24 hours of being generated, using the Products.approve call. If the product is currently unapproved and has no permissions, this URL will point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last approved, and the URL will only display those new permissions that have not yet been accepted.

StorePage

data StorePage Source #

Definition of a Google Play for Work store page, made of a localized name and links to other pages. A page also contains clusters defined as a subcollection.

See: storePage smart constructor.

Instances

Eq StorePage Source # 
Data StorePage Source # 

Methods

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

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

toConstr :: StorePage -> Constr #

dataTypeOf :: StorePage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StorePage Source # 
Generic StorePage Source # 

Associated Types

type Rep StorePage :: * -> * #

ToJSON StorePage Source # 
FromJSON StorePage Source # 
type Rep StorePage Source # 
type Rep StorePage = D1 (MetaData "StorePage" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "StorePage'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_spKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_spLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_spName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LocalizedText]))) (S1 (MetaSel (Just Symbol "_spId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

storePage :: StorePage Source #

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

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

spKind :: Lens' StorePage Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storePage".

spLink :: Lens' StorePage [Text] Source #

Ordered list of pages a user should be able to reach from this page. The pages must exist, must not be this page, and once a link is created the page linked to cannot be deleted until all links to it are removed. It is recommended that the basic pages are created first, before adding the links between pages. No attempt is made to verify that all pages are reachable from the homepage.

spName :: Lens' StorePage [LocalizedText] Source #

Ordered list of localized strings giving the name of this page. The text displayed is the one that best matches the user locale, or the first entry if there is no good match. There needs to be at least one entry.

spId :: Lens' StorePage (Maybe Text) Source #

Unique ID of this page. Assigned by the server. Immutable once assigned.

EnterprisesSendTestPushNotificationResponse

data EnterprisesSendTestPushNotificationResponse Source #

Instances

Eq EnterprisesSendTestPushNotificationResponse Source # 
Data EnterprisesSendTestPushNotificationResponse Source # 

Methods

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

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

toConstr :: EnterprisesSendTestPushNotificationResponse -> Constr #

dataTypeOf :: EnterprisesSendTestPushNotificationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesSendTestPushNotificationResponse Source # 
Generic EnterprisesSendTestPushNotificationResponse Source # 
ToJSON EnterprisesSendTestPushNotificationResponse Source # 
FromJSON EnterprisesSendTestPushNotificationResponse Source # 
type Rep EnterprisesSendTestPushNotificationResponse Source # 
type Rep EnterprisesSendTestPushNotificationResponse = D1 (MetaData "EnterprisesSendTestPushNotificationResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "EnterprisesSendTestPushNotificationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_estpnrTopicName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_estpnrMessageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

enterprisesSendTestPushNotificationResponse :: EnterprisesSendTestPushNotificationResponse Source #

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

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

estpnrTopicName :: Lens' EnterprisesSendTestPushNotificationResponse (Maybe Text) Source #

The name of the Cloud Pub/Sub topic to which notifications for this enterprise's enrolled account will be sent.

estpnrMessageId :: Lens' EnterprisesSendTestPushNotificationResponse (Maybe Text) Source #

The message ID of the test push notification that was sent.

EnterprisesListResponse

data EnterprisesListResponse Source #

The matching enterprise resources.

See: enterprisesListResponse smart constructor.

Instances

Eq EnterprisesListResponse Source # 
Data EnterprisesListResponse Source # 

Methods

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

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

toConstr :: EnterprisesListResponse -> Constr #

dataTypeOf :: EnterprisesListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesListResponse Source # 
Generic EnterprisesListResponse Source # 
ToJSON EnterprisesListResponse Source # 
FromJSON EnterprisesListResponse Source # 
type Rep EnterprisesListResponse Source # 
type Rep EnterprisesListResponse = D1 (MetaData "EnterprisesListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "EnterprisesListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_elrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_elrEnterprise") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Enterprise])))))

enterprisesListResponse :: EnterprisesListResponse Source #

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

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

elrKind :: Lens' EnterprisesListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprisesListResponse".

AppRestrictionsSchema

data AppRestrictionsSchema Source #

Represents the list of app restrictions available to be pre-configured for the product.

See: appRestrictionsSchema smart constructor.

Instances

Eq AppRestrictionsSchema Source # 
Data AppRestrictionsSchema Source # 

Methods

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

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

toConstr :: AppRestrictionsSchema -> Constr #

dataTypeOf :: AppRestrictionsSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppRestrictionsSchema Source # 
Generic AppRestrictionsSchema Source # 
ToJSON AppRestrictionsSchema Source # 
FromJSON AppRestrictionsSchema Source # 
type Rep AppRestrictionsSchema Source # 
type Rep AppRestrictionsSchema = D1 (MetaData "AppRestrictionsSchema" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "AppRestrictionsSchema'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_arsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_arsRestrictions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AppRestrictionsSchemaRestriction])))))

appRestrictionsSchema :: AppRestrictionsSchema Source #

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

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

arsKind :: Lens' AppRestrictionsSchema Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#appRestrictionsSchema".

arsRestrictions :: Lens' AppRestrictionsSchema [AppRestrictionsSchemaRestriction] Source #

The set of restrictions that make up this schema.

LocalizedText

data LocalizedText Source #

A localized string with its locale.

See: localizedText smart constructor.

Instances

Eq LocalizedText Source # 
Data LocalizedText Source # 

Methods

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

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

toConstr :: LocalizedText -> Constr #

dataTypeOf :: LocalizedText -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocalizedText Source # 
Generic LocalizedText Source # 

Associated Types

type Rep LocalizedText :: * -> * #

ToJSON LocalizedText Source # 
FromJSON LocalizedText Source # 
type Rep LocalizedText Source # 
type Rep LocalizedText = D1 (MetaData "LocalizedText" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "LocalizedText'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

localizedText :: LocalizedText Source #

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

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

ltText :: Lens' LocalizedText (Maybe Text) Source #

The text localized in the associated locale.

ltLocale :: Lens' LocalizedText (Maybe Text) Source #

The BCP47 tag for a locale. (e.g. "en-US", "de").

UserToken

data UserToken Source #

A UserToken is used by a user when setting up a managed device or profile with their work account on a device. When the user enters their email address and token (activation code) the appropriate EMM app can be automatically downloaded.

See: userToken smart constructor.

Instances

Eq UserToken Source # 
Data UserToken Source # 

Methods

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

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

toConstr :: UserToken -> Constr #

dataTypeOf :: UserToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserToken Source # 
Generic UserToken Source # 

Associated Types

type Rep UserToken :: * -> * #

ToJSON UserToken Source # 
FromJSON UserToken Source # 
type Rep UserToken Source # 
type Rep UserToken = D1 (MetaData "UserToken" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "UserToken'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_utKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_utToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_utUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

userToken :: UserToken Source #

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

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

utKind :: Lens' UserToken Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#userToken".

utToken :: Lens' UserToken (Maybe Text) Source #

The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0.

utUserId :: Lens' UserToken (Maybe Text) Source #

The unique ID for the user.

DevicesListResponse

data DevicesListResponse Source #

The device resources for the user.

See: devicesListResponse smart constructor.

Instances

Eq DevicesListResponse Source # 
Data DevicesListResponse Source # 

Methods

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

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

toConstr :: DevicesListResponse -> Constr #

dataTypeOf :: DevicesListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DevicesListResponse Source # 
Generic DevicesListResponse Source # 
ToJSON DevicesListResponse Source # 
FromJSON DevicesListResponse Source # 
type Rep DevicesListResponse Source # 
type Rep DevicesListResponse = D1 (MetaData "DevicesListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "DevicesListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dlrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dlrDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Device])))))

devicesListResponse :: DevicesListResponse Source #

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

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

dlrKind :: Lens' DevicesListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#devicesListResponse".

Enterprise

data Enterprise Source #

An enterprise resource represents a binding between an organization and their EMM. To create an enterprise, an admin of the enterprise must first go through a Play for Work sign-up flow. At the end of this the admin will be presented with a token (a short opaque alphanumeric string). They must then present this to the EMM, who then supplies it to the enroll method. Until this is done the EMM will not have any access to the enterprise. After calling enroll the EMM should call setAccount to specify the service account that will be allowed to act on behalf of the enterprise, which will be required for access to the enterprise's data through this API. Only one call of setAccount is allowed for a given enterprise; the only way to change the account later is to unenroll the enterprise and enroll it again (obtaining a new token). The EMM can unenroll an enterprise in order to sever the binding between them. Re-enrolling an enterprise is possible, but requires a new token to be retrieved. Enterprises.unenroll requires the EMM's credentials (as enroll does), not the enterprise's. Enterprises.unenroll can only be used for enterprises that were previously enrolled with the enroll call. Any enterprises that were enrolled using the (deprecated) Enterprises.insert call must be unenrolled with Enterprises.delete and can then be re-enrolled using the Enterprises.enroll call. The ID for an enterprise is an opaque string. It is returned by insert and enroll and can also be retrieved if the enterprise's primary domain is known using the list method.

See: enterprise smart constructor.

Instances

Eq Enterprise Source # 
Data Enterprise Source # 

Methods

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

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

toConstr :: Enterprise -> Constr #

dataTypeOf :: Enterprise -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Enterprise Source # 
Generic Enterprise Source # 

Associated Types

type Rep Enterprise :: * -> * #

ToJSON Enterprise Source # 
FromJSON Enterprise Source # 
type Rep Enterprise Source # 
type Rep Enterprise = D1 (MetaData "Enterprise" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Enterprise'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ePrimaryDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_eName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_eId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

enterprise :: Enterprise Source #

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

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

eKind :: Lens' Enterprise Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprise".

ePrimaryDomain :: Lens' Enterprise (Maybe Text) Source #

The enterprise's primary domain, e.g. "example.com".

eName :: Lens' Enterprise (Maybe Text) Source #

The name of the enterprise, e.g. "Example Inc".

eId :: Lens' Enterprise (Maybe Text) Source #

The unique ID for the enterprise.

StoreLayout

data StoreLayout Source #

General setting for the Google Play for Work store layout, currently only specifying the page to display the first time the store is opened.

See: storeLayout smart constructor.

Instances

Eq StoreLayout Source # 
Data StoreLayout Source # 

Methods

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

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

toConstr :: StoreLayout -> Constr #

dataTypeOf :: StoreLayout -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StoreLayout Source # 
Generic StoreLayout Source # 

Associated Types

type Rep StoreLayout :: * -> * #

ToJSON StoreLayout Source # 
FromJSON StoreLayout Source # 
type Rep StoreLayout Source # 
type Rep StoreLayout = D1 (MetaData "StoreLayout" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "StoreLayout'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_slHomepageId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

storeLayout :: StoreLayout Source #

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

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

slKind :: Lens' StoreLayout Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#storeLayout".

slHomepageId :: Lens' StoreLayout (Maybe Text) Source #

The ID of the store page to be used as the homepage. The homepage will be used as the first page shown in the Google Play for Work store. If there is no homepage set, an empty store is shown. The homepage can be unset (by not specifying it) to empty the store. If there exists at least one page, this field must be set to the ID of a valid page.

Product

data Product Source #

A product represents an app in the Google Play Store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.) The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an EMM user interface.

See: product smart constructor.

Instances

Eq Product Source # 

Methods

(==) :: Product -> Product -> Bool #

(/=) :: Product -> Product -> Bool #

Data Product Source # 

Methods

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

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

toConstr :: Product -> Constr #

dataTypeOf :: Product -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Product Source # 
Generic Product Source # 

Associated Types

type Rep Product :: * -> * #

Methods

from :: Product -> Rep Product x #

to :: Rep Product x -> Product #

ToJSON Product Source # 
FromJSON Product Source # 
type Rep Product Source # 
type Rep Product = D1 (MetaData "Product" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Product'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pSmallIconURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pAuthorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pWorkDetailsURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pRequiresContainerApp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_pAppVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AppVersion])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pProductPricing") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pDistributionChannel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pIconURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_pTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pDetailsURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

product :: Product Source #

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

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

pSmallIconURL :: Lens' Product (Maybe Text) Source #

A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px.

pAuthorName :: Lens' Product (Maybe Text) Source #

The name of the author of the product (e.g. the app developer).

pKind :: Lens' Product Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#product".

pWorkDetailsURL :: Lens' Product (Maybe Text) Source #

A link to the Google Play for Work details page for the product, for use by an Enterprise administrator.

pRequiresContainerApp :: Lens' Product (Maybe Bool) Source #

Whether this app can only be installed on devices using the Android for Work container app.

pAppVersion :: Lens' Product [AppVersion] Source #

App versions currently available for this product. The returned list contains only public versions. Alpha and beta versions are not included.

pProductPricing :: Lens' Product (Maybe Text) Source #

Whether this product is free, free with in-app purchases, or paid.

pDistributionChannel :: Lens' Product (Maybe Text) Source #

How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play Store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted.

pIconURL :: Lens' Product (Maybe Text) Source #

A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.

pTitle :: Lens' Product (Maybe Text) Source #

The name of the product.

pProductId :: Lens' Product (Maybe Text) Source #

A string of the form app:. For example, app:com.google.android.gm represents the Gmail app.

pDetailsURL :: Lens' Product (Maybe Text) Source #

A link to the (consumer) Google Play details page for the product.

EntitlementsListResponse

data EntitlementsListResponse Source #

The entitlement resources for the user.

See: entitlementsListResponse smart constructor.

Instances

Eq EntitlementsListResponse Source # 
Data EntitlementsListResponse Source # 

Methods

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

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

toConstr :: EntitlementsListResponse -> Constr #

dataTypeOf :: EntitlementsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EntitlementsListResponse Source # 
Generic EntitlementsListResponse Source # 
ToJSON EntitlementsListResponse Source # 
FromJSON EntitlementsListResponse Source # 
type Rep EntitlementsListResponse Source # 
type Rep EntitlementsListResponse = D1 (MetaData "EntitlementsListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "EntitlementsListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_entKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_entEntitlement") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Entitlement])))))

entitlementsListResponse :: EntitlementsListResponse Source #

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

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

entKind :: Lens' EntitlementsListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlementsListResponse".

entEntitlement :: Lens' EntitlementsListResponse [Entitlement] Source #

An entitlement of a user to a product (e.g. an app). For example, a free app that they have installed, or a paid app that they have been allocated a license to.

ProductPermissions

data ProductPermissions Source #

Information about the permissions required by a specific app and whether they have been accepted by the enterprise.

See: productPermissions smart constructor.

Instances

Eq ProductPermissions Source # 
Data ProductPermissions Source # 

Methods

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

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

toConstr :: ProductPermissions -> Constr #

dataTypeOf :: ProductPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductPermissions Source # 
Generic ProductPermissions Source # 
ToJSON ProductPermissions Source # 
FromJSON ProductPermissions Source # 
type Rep ProductPermissions Source # 
type Rep ProductPermissions = D1 (MetaData "ProductPermissions" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "ProductPermissions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ppKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ppPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProductPermission]))) (S1 (MetaSel (Just Symbol "_ppProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

productPermissions :: ProductPermissions Source #

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

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

ppKind :: Lens' ProductPermissions Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productPermissions".

ppPermission :: Lens' ProductPermissions [ProductPermission] Source #

The permissions required by the app.

ppProductId :: Lens' ProductPermissions (Maybe Text) Source #

The ID of the app that the permissions relate to, e.g. "app:com.google.android.gm".

Permission

data Permission Source #

A permission represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created. The permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the EMM user interface when obtaining consent from the enterprise.

See: permission smart constructor.

Instances

Eq Permission Source # 
Data Permission Source # 

Methods

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

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

toConstr :: Permission -> Constr #

dataTypeOf :: Permission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Permission Source # 
Generic Permission Source # 

Associated Types

type Rep Permission :: * -> * #

ToJSON Permission Source # 
FromJSON Permission Source # 
type Rep Permission Source # 
type Rep Permission = D1 (MetaData "Permission" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Permission'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_perKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_perName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_perDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_perPermissionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

permission :: Permission Source #

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

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

perKind :: Lens' Permission Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#permission".

perName :: Lens' Permission (Maybe Text) Source #

The name of the permission.

perDescription :: Lens' Permission (Maybe Text) Source #

A longer description of the permissions giving more details of what it affects.

perPermissionId :: Lens' Permission (Maybe Text) Source #

An opaque string uniquely identifying the permission.

ProductsApproveRequest

data ProductsApproveRequest Source #

Instances

Eq ProductsApproveRequest Source # 
Data ProductsApproveRequest Source # 

Methods

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

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

toConstr :: ProductsApproveRequest -> Constr #

dataTypeOf :: ProductsApproveRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsApproveRequest Source # 
Generic ProductsApproveRequest Source # 
ToJSON ProductsApproveRequest Source # 
FromJSON ProductsApproveRequest Source # 
type Rep ProductsApproveRequest Source # 
type Rep ProductsApproveRequest = D1 (MetaData "ProductsApproveRequest" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" True) (C1 (MetaCons "ProductsApproveRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_parApprovalURLInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ApprovalURLInfo))))

productsApproveRequest :: ProductsApproveRequest Source #

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

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

parApprovalURLInfo :: Lens' ProductsApproveRequest (Maybe ApprovalURLInfo) Source #

The approval URL that was shown to the user. Only the permissions shown to the user with that URL will be accepted, which may not be the product's entire set of permissions. For example, the URL may only display new permissions from an update after the product was approved, or not include new permissions if the product was updated since the URL was generated.

CollectionViewersListResponse

data CollectionViewersListResponse Source #

The user resources for the collection.

See: collectionViewersListResponse smart constructor.

Instances

Eq CollectionViewersListResponse Source # 
Data CollectionViewersListResponse Source # 

Methods

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

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

toConstr :: CollectionViewersListResponse -> Constr #

dataTypeOf :: CollectionViewersListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CollectionViewersListResponse Source # 
Generic CollectionViewersListResponse Source # 
ToJSON CollectionViewersListResponse Source # 
FromJSON CollectionViewersListResponse Source # 
type Rep CollectionViewersListResponse Source # 
type Rep CollectionViewersListResponse = D1 (MetaData "CollectionViewersListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "CollectionViewersListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cvlrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cvlrUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [User])))))

collectionViewersListResponse :: CollectionViewersListResponse Source #

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

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

cvlrKind :: Lens' CollectionViewersListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#collectionViewersListResponse".

Entitlement

data Entitlement Source #

The existence of an entitlement resource means that a user has the right to use a particular app on any of their devices. This might be because the app is free or because they have been allocated a license to the app from a group license purchased by the enterprise. It should always be true that a user has an app installed on one of their devices only if they have an entitlement to it. So if an entitlement is deleted, the app will be uninstalled from all devices. Similarly if the user installs an app (and is permitted to do so), or the EMM triggers an install of the app, an entitlement to that app is automatically created. If this is impossible - e.g. the enterprise has not purchased sufficient licenses - then installation fails. Note that entitlements are always user specific, not device specific; a user may have an entitlement even though they have not installed the app anywhere. Once they have an entitlement they can install the app on multiple devices. The API can be used to create an entitlement. If the app is a free app, a group license for that app is created. If it's a paid app, creating the entitlement consumes one license; it remains consumed until the entitlement is removed. Optionally an installation of the app on all the user's managed devices can be triggered at the time the entitlement is created. An entitlement cannot be created for an app if the app requires permissions that the enterprise has not yet accepted. Entitlements for paid apps that are due to purchases by the user on a non-managed profile will have "userPurchase" as entitlement reason; those entitlements cannot be removed via the API.

See: entitlement smart constructor.

Instances

Eq Entitlement Source # 
Data Entitlement Source # 

Methods

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

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

toConstr :: Entitlement -> Constr #

dataTypeOf :: Entitlement -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Entitlement Source # 
Generic Entitlement Source # 

Associated Types

type Rep Entitlement :: * -> * #

ToJSON Entitlement Source # 
FromJSON Entitlement Source # 
type Rep Entitlement Source # 
type Rep Entitlement = D1 (MetaData "Entitlement" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "Entitlement'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eeKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_eeReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_eeProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

entitlement :: Entitlement Source #

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

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

eeKind :: Lens' Entitlement Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#entitlement".

eeReason :: Lens' Entitlement (Maybe Text) Source #

The reason for the entitlement, e.g. "free" for free apps. This is temporary, it will be replaced by the acquisition kind field of group licenses.

eeProductId :: Lens' Entitlement (Maybe Text) Source #

The ID of the product that the entitlement is for, e.g. "app:com.google.android.gm".

ProductsListResponse

data ProductsListResponse Source #

The matching products.

See: productsListResponse smart constructor.

Instances

Eq ProductsListResponse Source # 
Data ProductsListResponse Source # 

Methods

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

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

toConstr :: ProductsListResponse -> Constr #

dataTypeOf :: ProductsListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsListResponse Source # 
Generic ProductsListResponse Source # 
ToJSON ProductsListResponse Source # 
FromJSON ProductsListResponse Source # 
type Rep ProductsListResponse Source # 
type Rep ProductsListResponse = D1 (MetaData "ProductsListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.1.0-KdsxSF2pmNa6JgYl2ZAog" False) (C1 (MetaCons "ProductsListResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_plrTokenPagination") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TokenPagination))) (S1 (MetaSel (Just Symbol "_plrPageInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PageInfo)))) ((:*:) (S1 (MetaSel (Just Symbol "_plrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_plrProduct") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Product]))))))

productsListResponse :: ProductsListResponse Source #

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

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

plrTokenPagination :: Lens' ProductsListResponse (Maybe TokenPagination) Source #

Pagination information for token pagination.

plrPageInfo :: Lens' ProductsListResponse (Maybe PageInfo) Source #

General pagination information.

plrKind :: Lens' ProductsListResponse Text Source #

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productsListResponse".

plrProduct :: Lens' ProductsListResponse [Product] Source #

Information about a product (e.g. an app) in the Google Play Store, for display to an enterprise admin.