gogol-android-enterprise-0.2.0: Google Play EMM SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.AndroidEnterprise

Contents

Description

Manages the deployment of apps to Android for Work users.

See: Google Play EMM API Reference

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

API Declaration

type AndroidEnterpriseAPI = StorelayoutclustersInsertResource :<|> (StorelayoutclustersListResource :<|> (StorelayoutclustersPatchResource :<|> (StorelayoutclustersGetResource :<|> (StorelayoutclustersDeleteResource :<|> (StorelayoutclustersUpdateResource :<|> (UsersInsertResource :<|> (UsersListResource :<|> (UsersGenerateTokenResource :<|> (UsersGenerateAuthenticationTokenResource :<|> (UsersPatchResource :<|> (UsersGetResource :<|> (UsersSetAvailableProductSetResource :<|> (UsersRevokeTokenResource :<|> (UsersGetAvailableProductSetResource :<|> (UsersDeleteResource :<|> (UsersUpdateResource :<|> (InstallsListResource :<|> (InstallsPatchResource :<|> (InstallsGetResource :<|> (InstallsDeleteResource :<|> (InstallsUpdateResource :<|> (StorelayoutpagesInsertResource :<|> (StorelayoutpagesListResource :<|> (StorelayoutpagesPatchResource :<|> (StorelayoutpagesGetResource :<|> (StorelayoutpagesDeleteResource :<|> (StorelayoutpagesUpdateResource :<|> (ServiceAccountkeysInsertResource :<|> (ServiceAccountkeysListResource :<|> (ServiceAccountkeysDeleteResource :<|> (EnterprisesCompleteSignupResource :<|> (EnterprisesCreateWebTokenResource :<|> (EnterprisesInsertResource :<|> (EnterprisesGetServiceAccountResource :<|> (EnterprisesListResource :<|> (EnterprisesUnenrollResource :<|> (EnterprisesGetStoreLayoutResource :<|> (EnterprisesSetAccountResource :<|> (EnterprisesEnrollResource :<|> (EnterprisesGetResource :<|> (EnterprisesGenerateSignupURLResource :<|> (EnterprisesSendTestPushNotificationResource :<|> (EnterprisesSetStoreLayoutResource :<|> (EnterprisesAcknowledgeNotificationSetResource :<|> (EnterprisesPullNotificationSetResource :<|> (EnterprisesDeleteResource :<|> (ManagedConfigurationsforUserListResource :<|> (ManagedConfigurationsforUserPatchResource :<|> (ManagedConfigurationsforUserGetResource :<|> (ManagedConfigurationsforUserDeleteResource :<|> (ManagedConfigurationsforUserUpdateResource :<|> (GrouplicensesListResource :<|> (GrouplicensesGetResource :<|> (EntitlementsListResource :<|> (EntitlementsPatchResource :<|> (EntitlementsGetResource :<|> (EntitlementsDeleteResource :<|> (EntitlementsUpdateResource :<|> (ManagedConfigurationsforDeviceListResource :<|> (ManagedConfigurationsforDevicePatchResource :<|> (ManagedConfigurationsforDeviceGetResource :<|> (ManagedConfigurationsforDeviceDeleteResource :<|> (ManagedConfigurationsforDeviceUpdateResource :<|> (PermissionsGetResource :<|> (ProductsGenerateApprovalURLResource :<|> (ProductsListResource :<|> (ProductsGetResource :<|> (ProductsGetAppRestrictionsSchemaResource :<|> (ProductsUnApproveResource :<|> (ProductsApproveResource :<|> (ProductsGetPermissionsResource :<|> (DevicesListResource :<|> (DevicesSetStateResource :<|> (DevicesGetResource :<|> (DevicesGetStateResource :<|> GrouplicenseUsersListResource))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Source #

Represents the entirety of the methods and resources available for the Google Play EMM API service.

Resources

androidenterprise.devices.get

androidenterprise.devices.getState

androidenterprise.devices.list

androidenterprise.devices.setState

androidenterprise.enterprises.acknowledgeNotificationSet

androidenterprise.enterprises.completeSignup

androidenterprise.enterprises.createWebToken

androidenterprise.enterprises.delete

androidenterprise.enterprises.enroll

androidenterprise.enterprises.generateSignupUrl

androidenterprise.enterprises.get

androidenterprise.enterprises.getServiceAccount

androidenterprise.enterprises.getStoreLayout

androidenterprise.enterprises.insert

androidenterprise.enterprises.list

androidenterprise.enterprises.pullNotificationSet

androidenterprise.enterprises.sendTestPushNotification

androidenterprise.enterprises.setAccount

androidenterprise.enterprises.setStoreLayout

androidenterprise.enterprises.unenroll

androidenterprise.entitlements.delete

androidenterprise.entitlements.get

androidenterprise.entitlements.list

androidenterprise.entitlements.patch

androidenterprise.entitlements.update

androidenterprise.grouplicenses.get

androidenterprise.grouplicenses.list

androidenterprise.grouplicenseusers.list

androidenterprise.installs.delete

androidenterprise.installs.get

androidenterprise.installs.list

androidenterprise.installs.patch

androidenterprise.installs.update

androidenterprise.managedconfigurationsfordevice.delete

androidenterprise.managedconfigurationsfordevice.get

androidenterprise.managedconfigurationsfordevice.list

androidenterprise.managedconfigurationsfordevice.patch

androidenterprise.managedconfigurationsfordevice.update

androidenterprise.managedconfigurationsforuser.delete

androidenterprise.managedconfigurationsforuser.get

androidenterprise.managedconfigurationsforuser.list

androidenterprise.managedconfigurationsforuser.patch

androidenterprise.managedconfigurationsforuser.update

androidenterprise.permissions.get

androidenterprise.products.approve

androidenterprise.products.generateApprovalUrl

androidenterprise.products.get

androidenterprise.products.getAppRestrictionsSchema

androidenterprise.products.getPermissions

androidenterprise.products.list

androidenterprise.products.unapprove

androidenterprise.serviceaccountkeys.delete

androidenterprise.serviceaccountkeys.insert

androidenterprise.serviceaccountkeys.list

androidenterprise.storelayoutclusters.delete

androidenterprise.storelayoutclusters.get

androidenterprise.storelayoutclusters.insert

androidenterprise.storelayoutclusters.list

androidenterprise.storelayoutclusters.patch

androidenterprise.storelayoutclusters.update

androidenterprise.storelayoutpages.delete

androidenterprise.storelayoutpages.get

androidenterprise.storelayoutpages.insert

androidenterprise.storelayoutpages.list

androidenterprise.storelayoutpages.patch

androidenterprise.storelayoutpages.update

androidenterprise.users.delete

androidenterprise.users.generateAuthenticationToken

androidenterprise.users.generateToken

androidenterprise.users.get

androidenterprise.users.getAvailableProductSet

androidenterprise.users.insert

androidenterprise.users.list

androidenterprise.users.patch

androidenterprise.users.revokeToken

androidenterprise.users.setAvailableProductSet

androidenterprise.users.update

Types

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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".

ManagedProperty

data ManagedProperty Source #

A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.

See: managedProperty smart constructor.

Instances

Eq ManagedProperty Source # 
Data ManagedProperty Source # 

Methods

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

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

toConstr :: ManagedProperty -> Constr #

dataTypeOf :: ManagedProperty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedProperty Source # 
Generic ManagedProperty Source # 
ToJSON ManagedProperty Source # 
FromJSON ManagedProperty Source # 
type Rep ManagedProperty Source # 
type Rep ManagedProperty = D1 (MetaData "ManagedProperty" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ManagedProperty'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mpValueStringArray") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_mpValueBool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_mpKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mpValueBundle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ManagedPropertyBundle))) (S1 (MetaSel (Just Symbol "_mpValueInteger") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) ((:*:) (S1 (MetaSel (Just Symbol "_mpValueBundleArray") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ManagedPropertyBundle]))) (S1 (MetaSel (Just Symbol "_mpValueString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

managedProperty :: ManagedProperty Source #

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

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

mpValueStringArray :: Lens' ManagedProperty [Text] Source #

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

mpValueBool :: Lens' ManagedProperty (Maybe Bool) Source #

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

mpKey :: Lens' ManagedProperty (Maybe Text) Source #

The unique key that identifies the property.

mpValueBundle :: Lens' ManagedProperty (Maybe ManagedPropertyBundle) Source #

The bundle of managed properties - this will only be present if type of the property is bundle.

mpValueInteger :: Lens' ManagedProperty (Maybe Int32) Source #

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

mpValueBundleArray :: Lens' ManagedProperty [ManagedPropertyBundle] Source #

The list of bundles of properties - this will only be present if type of the property is bundle_array.

mpValueString :: Lens' ManagedProperty (Maybe Text) Source #

The string value - this will only be present if type of the property is string, choice or hidden.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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".

ManagedConfiguration

data ManagedConfiguration Source #

A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema.

See: managedConfiguration smart constructor.

Instances

Eq ManagedConfiguration Source # 
Data ManagedConfiguration Source # 

Methods

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

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

toConstr :: ManagedConfiguration -> Constr #

dataTypeOf :: ManagedConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedConfiguration Source # 
Generic ManagedConfiguration Source # 
ToJSON ManagedConfiguration Source # 
FromJSON ManagedConfiguration Source # 
type Rep ManagedConfiguration Source # 
type Rep ManagedConfiguration = D1 (MetaData "ManagedConfiguration" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ManagedConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcManagedProperty") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ManagedProperty]))) ((:*:) (S1 (MetaSel (Just Symbol "_mcKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mcProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

managedConfiguration :: ManagedConfiguration Source #

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

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

mcManagedProperty :: Lens' ManagedConfiguration [ManagedProperty] Source #

The set of managed properties for this configuration.

mcKind :: Lens' ManagedConfiguration Text Source #

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

mcProductId :: Lens' ManagedConfiguration (Maybe Text) Source #

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

StoreCluster

data StoreCluster Source #

Definition of a managed Google Play 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

AdministratorWebTokenSpec

data AdministratorWebTokenSpec Source #

Specification for a token used to generate iframes. The token specifies what data the admin is allowed to modify and the URI the iframe is allowed to communiate with.

See: administratorWebTokenSpec smart constructor.

Instances

Eq AdministratorWebTokenSpec Source # 
Data AdministratorWebTokenSpec Source # 

Methods

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

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

toConstr :: AdministratorWebTokenSpec -> Constr #

dataTypeOf :: AdministratorWebTokenSpec -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdministratorWebTokenSpec Source # 
Generic AdministratorWebTokenSpec Source # 
ToJSON AdministratorWebTokenSpec Source # 
FromJSON AdministratorWebTokenSpec Source # 
type Rep AdministratorWebTokenSpec Source # 
type Rep AdministratorWebTokenSpec = D1 (MetaData "AdministratorWebTokenSpec" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "AdministratorWebTokenSpec'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_awtsParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_awtsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_awtsPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

administratorWebTokenSpec :: AdministratorWebTokenSpec Source #

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

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

awtsParent :: Lens' AdministratorWebTokenSpec (Maybe Text) Source #

The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https.

awtsKind :: Lens' AdministratorWebTokenSpec Text Source #

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

awtsPermission :: Lens' AdministratorWebTokenSpec [Text] Source #

The list of permissions the admin is granted within the iframe. The admin will only be allowed to view an iframe if they have all of the permissions associated with it. The only valid value is "approveApps" that will allow the admin to access the iframe in "approve" mode.

Notification

data Notification Source #

A notification of one event relating to an enterprise.

See: notification smart constructor.

Instances

Eq Notification Source # 
Data Notification Source # 

Methods

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

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

toConstr :: Notification -> Constr #

dataTypeOf :: Notification -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Notification Source # 
Generic Notification Source # 

Associated Types

type Rep Notification :: * -> * #

ToJSON Notification Source # 
FromJSON Notification Source # 
type Rep Notification Source # 

nEnterpriseId :: Lens' Notification (Maybe Text) Source #

The ID of the enterprise for which the notification is sent. This will always be present.

nNewPermissionsEvent :: Lens' Notification (Maybe NewPermissionsEvent) Source #

Notifications about new app permissions.

nProductApprovalEvent :: Lens' Notification (Maybe ProductApprovalEvent) Source #

Notifications about changes to a product's approval status.

nProductAvailabilityChangeEvent :: Lens' Notification (Maybe ProductAvailabilityChangeEvent) Source #

Notifications about product availability changes.

nAppUpdateEvent :: Lens' Notification (Maybe AppUpdateEvent) Source #

Notifications about app updates.

nInstallFailureEvent :: Lens' Notification (Maybe InstallFailureEvent) Source #

Notifications about an app installation failure.

nAppRestrictionsSchemaChangeEvent :: Lens' Notification (Maybe AppRestrictionsSchemaChangeEvent) Source #

Notifications about new app restrictions schema changes.

nNewDeviceEvent :: Lens' Notification (Maybe NewDeviceEvent) Source #

Notifications about new devices.

nTimestampMillis :: Lens' Notification (Maybe Int64) Source #

The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z. This will always be present.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

NewPermissionsEvent

data NewPermissionsEvent Source #

An event generated when new permissions are added to an app.

See: newPermissionsEvent smart constructor.

Instances

Eq NewPermissionsEvent Source # 
Data NewPermissionsEvent Source # 

Methods

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

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

toConstr :: NewPermissionsEvent -> Constr #

dataTypeOf :: NewPermissionsEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NewPermissionsEvent Source # 
Generic NewPermissionsEvent Source # 
ToJSON NewPermissionsEvent Source # 
FromJSON NewPermissionsEvent Source # 
type Rep NewPermissionsEvent Source # 
type Rep NewPermissionsEvent = D1 (MetaData "NewPermissionsEvent" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "NewPermissionsEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_npeRequestedPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_npeApprovedPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_npeProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

newPermissionsEvent :: NewPermissionsEvent Source #

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

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

npeRequestedPermissions :: Lens' NewPermissionsEvent [Text] Source #

The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions.

npeApprovedPermissions :: Lens' NewPermissionsEvent [Text] Source #

The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions.

npeProductId :: Lens' NewPermissionsEvent (Maybe Text) Source #

The id of the product (e.g. "app:com.google.android.gm") for which new permissions were added. This field will always be present.

ProductAvailabilityChangeEvent

data ProductAvailabilityChangeEvent Source #

An event generated whenever a product's availability changes.

See: productAvailabilityChangeEvent smart constructor.

Instances

Eq ProductAvailabilityChangeEvent Source # 
Data ProductAvailabilityChangeEvent Source # 

Methods

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

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

toConstr :: ProductAvailabilityChangeEvent -> Constr #

dataTypeOf :: ProductAvailabilityChangeEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductAvailabilityChangeEvent Source # 
Generic ProductAvailabilityChangeEvent Source # 
ToJSON ProductAvailabilityChangeEvent Source # 
FromJSON ProductAvailabilityChangeEvent Source # 
type Rep ProductAvailabilityChangeEvent Source # 
type Rep ProductAvailabilityChangeEvent = D1 (MetaData "ProductAvailabilityChangeEvent" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ProductAvailabilityChangeEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_paceAvailabilityStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_paceProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

productAvailabilityChangeEvent :: ProductAvailabilityChangeEvent Source #

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

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

paceAvailabilityStatus :: Lens' ProductAvailabilityChangeEvent (Maybe Text) Source #

The new state of the product. This field will always be present.

paceProductId :: Lens' ProductAvailabilityChangeEvent (Maybe Text) Source #

The id of the product (e.g. "app:com.google.android.gm") for which the product availability changed. This field will always be present.

ProductApprovalEvent

data ProductApprovalEvent Source #

An event generated when a product's approval status is changed.

See: productApprovalEvent smart constructor.

Instances

Eq ProductApprovalEvent Source # 
Data ProductApprovalEvent Source # 

Methods

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

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

toConstr :: ProductApprovalEvent -> Constr #

dataTypeOf :: ProductApprovalEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductApprovalEvent Source # 
Generic ProductApprovalEvent Source # 
ToJSON ProductApprovalEvent Source # 
FromJSON ProductApprovalEvent Source # 
type Rep ProductApprovalEvent Source # 
type Rep ProductApprovalEvent = D1 (MetaData "ProductApprovalEvent" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ProductApprovalEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_paeApproved") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_paeProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

productApprovalEvent :: ProductApprovalEvent Source #

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

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

paeApproved :: Lens' ProductApprovalEvent (Maybe Text) Source #

Whether the product was approved or unapproved. This field will always be present.

paeProductId :: Lens' ProductApprovalEvent (Maybe Text) Source #

The id of the product (e.g. "app:com.google.android.gm") for which the approval status has changed. This field will always be present.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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 #

Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner, - "managedProfile", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC, - "containerApp", a device running the container App. The container App is managed by the DPC, - "unmanagedProfile", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.

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

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

ServiceAccountKey

data ServiceAccountKey Source #

Credentials that can be used to authenticate as a service account.

See: serviceAccountKey smart constructor.

Instances

Eq ServiceAccountKey Source # 
Data ServiceAccountKey Source # 

Methods

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

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

toConstr :: ServiceAccountKey -> Constr #

dataTypeOf :: ServiceAccountKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceAccountKey Source # 
Generic ServiceAccountKey Source # 
ToJSON ServiceAccountKey Source # 
FromJSON ServiceAccountKey Source # 
type Rep ServiceAccountKey Source # 
type Rep ServiceAccountKey = D1 (MetaData "ServiceAccountKey" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ServiceAccountKey'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sakKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_sakData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_sakId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sakType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sakPublicData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

serviceAccountKey :: ServiceAccountKey Source #

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

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

sakKind :: Lens' ServiceAccountKey Text Source #

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

sakData :: Lens' ServiceAccountKey (Maybe Text) Source #

The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google.

sakId :: Lens' ServiceAccountKey (Maybe Text) Source #

An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.

sakType :: Lens' ServiceAccountKey (Maybe Text) Source #

The file format of the generated key data.

sakPublicData :: Lens' ServiceAccountKey (Maybe Text) Source #

Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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 # 

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. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction.

arsrDefaultValue :: Lens' AppRestrictionsSchemaRestriction (Maybe AppRestrictionsSchemaRestrictionRestrictionValue) Source #

The default value of the restriction. bundle and bundleArray restrictions never have a default value.

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

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

arsrNestedRestriction :: Lens' AppRestrictionsSchemaRestriction [AppRestrictionsSchemaRestriction] Source #

For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep.

Administrator

data Administrator Source #

This represents an enterprise admin who can manage the enterprise in the managed Google Play store.

See: administrator smart constructor.

Instances

Eq Administrator Source # 
Data Administrator Source # 

Methods

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

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

toConstr :: Administrator -> Constr #

dataTypeOf :: Administrator -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Administrator Source # 
Generic Administrator Source # 

Associated Types

type Rep Administrator :: * -> * #

ToJSON Administrator Source # 
FromJSON Administrator Source # 
type Rep Administrator Source # 
type Rep Administrator = D1 (MetaData "Administrator" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" True) (C1 (MetaCons "Administrator'" PrefixI True) (S1 (MetaSel (Just Symbol "_aEmail") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

administrator :: Administrator Source #

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

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

aEmail :: Lens' Administrator (Maybe Text) Source #

The admin's email address.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

AuthenticationToken

data AuthenticationToken Source #

An AuthenticationToken is used by the EMM's device policy client on a device to provision the given EMM-managed user on that device.

See: authenticationToken smart constructor.

Instances

Eq AuthenticationToken Source # 
Data AuthenticationToken Source # 

Methods

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

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

toConstr :: AuthenticationToken -> Constr #

dataTypeOf :: AuthenticationToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AuthenticationToken Source # 
Generic AuthenticationToken Source # 
ToJSON AuthenticationToken Source # 
FromJSON AuthenticationToken Source # 
type Rep AuthenticationToken Source # 
type Rep AuthenticationToken = D1 (MetaData "AuthenticationToken" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "AuthenticationToken'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_atToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

authenticationToken :: AuthenticationToken Source #

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

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

atKind :: Lens' AuthenticationToken Text Source #

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

atToken :: Lens' AuthenticationToken (Maybe Text) Source #

The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was generated.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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").

EnterprisesPullNotificationSetRequestMode

data EnterprisesPullNotificationSetRequestMode Source #

The request mode for pulling notifications. Specifying waitForNotifications will cause the request to block and wait until one or more notifications are present, or return an empty notification list if no notifications are present after some time. Speciying returnImmediately will cause the request to immediately return the pending notifications, or an empty list if no notifications are present. If omitted, defaults to waitForNotifications.

Constructors

ReturnImmediately
returnImmediately
WaitForNotifications
waitForNotifications

Instances

Enum EnterprisesPullNotificationSetRequestMode Source # 
Eq EnterprisesPullNotificationSetRequestMode Source # 
Data EnterprisesPullNotificationSetRequestMode Source # 

Methods

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

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

toConstr :: EnterprisesPullNotificationSetRequestMode -> Constr #

dataTypeOf :: EnterprisesPullNotificationSetRequestMode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EnterprisesPullNotificationSetRequestMode Source # 
Read EnterprisesPullNotificationSetRequestMode Source # 
Show EnterprisesPullNotificationSetRequestMode Source # 
Generic EnterprisesPullNotificationSetRequestMode Source # 
Hashable EnterprisesPullNotificationSetRequestMode Source # 
ToJSON EnterprisesPullNotificationSetRequestMode Source # 
FromJSON EnterprisesPullNotificationSetRequestMode Source # 
FromHttpApiData EnterprisesPullNotificationSetRequestMode Source # 
ToHttpApiData EnterprisesPullNotificationSetRequestMode Source # 
type Rep EnterprisesPullNotificationSetRequestMode Source # 
type Rep EnterprisesPullNotificationSetRequestMode = D1 (MetaData "EnterprisesPullNotificationSetRequestMode" "Network.Google.AndroidEnterprise.Types.Sum" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) ((:+:) (C1 (MetaCons "ReturnImmediately" PrefixI False) U1) (C1 (MetaCons "WaitForNotifications" PrefixI False) U1))

ManagedPropertyBundle

data ManagedPropertyBundle Source #

A bundle of managed properties.

See: managedPropertyBundle smart constructor.

Instances

Eq ManagedPropertyBundle Source # 
Data ManagedPropertyBundle Source # 

Methods

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

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

toConstr :: ManagedPropertyBundle -> Constr #

dataTypeOf :: ManagedPropertyBundle -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedPropertyBundle Source # 
Generic ManagedPropertyBundle Source # 
ToJSON ManagedPropertyBundle Source # 
FromJSON ManagedPropertyBundle Source # 
type Rep ManagedPropertyBundle Source # 
type Rep ManagedPropertyBundle = D1 (MetaData "ManagedPropertyBundle" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" True) (C1 (MetaCons "ManagedPropertyBundle'" PrefixI True) (S1 (MetaSel (Just Symbol "_mpbManagedProperty") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ManagedProperty]))))

managedPropertyBundle :: ManagedPropertyBundle Source #

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

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

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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".

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.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ProductSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_psKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_psProductSetBehavior") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe 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".

psProductSetBehavior :: Lens' ProductSet (Maybe Text) Source #

The interpretation of this product set. "unknown" should never be sent and ignored if received. "whitelist" means that this product set constitutes a whitelist. "includeAll" means that all products are accessible, including products that are approved, not approved, and even products where approval has been revoked. If the value is "includeAll", the value of the productId field is therefore ignored. If a value is not supplied, it is interpreted to be "whitelist" for backwards compatibility.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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".

ServiceAccountKeysListResponse

data ServiceAccountKeysListResponse Source #

Instances

Eq ServiceAccountKeysListResponse Source # 
Data ServiceAccountKeysListResponse Source # 

Methods

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

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

toConstr :: ServiceAccountKeysListResponse -> Constr #

dataTypeOf :: ServiceAccountKeysListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceAccountKeysListResponse Source # 
Generic ServiceAccountKeysListResponse Source # 
ToJSON ServiceAccountKeysListResponse Source # 
FromJSON ServiceAccountKeysListResponse Source # 
type Rep ServiceAccountKeysListResponse Source # 
type Rep ServiceAccountKeysListResponse = D1 (MetaData "ServiceAccountKeysListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" True) (C1 (MetaCons "ServiceAccountKeysListResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_saklrServiceAccountKey") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ServiceAccountKey]))))

serviceAccountKeysListResponse :: ServiceAccountKeysListResponse Source #

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

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

User

data User Source #

A Users resource represents an account associated with an enterprise. The account may be specific to a device or to an individual user (who can then use the account across multiple devices). The account may provide access to managed Google Play only, or to other Google services, depending on the identity model: - The Google managed domain identity model requires synchronization to Google account sources (via primaryEmail). - The managed Google Play Accounts identity model provides a dynamic means for enterprises to create user or device accounts as needed. These accounts provide access to managed Google Play.

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 # 
type Rep User Source # 

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:

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

A unique identifier you create for this user, such as "user342" or "asset#44418". Do not use personally identifiable information (PII) for this property. Must always be set for EMM-managed users. Not set for Google-managed users.

uKind :: Lens' User Text Source #

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

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

The name that will appear in user interfaces. Setting this property is optional when creating EMM-managed users. If you do set this property, use something generic about the organization (such as "Example, Inc.") or your name (as EMM). Not used for Google-managed user accounts.

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

The unique ID for the user.

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

The user's primary email address, for example, "jsmith'example.com". Will always be set for Google managed users and not set for EMM managed users.

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

The entity that manages the user. With googleManaged users, the source of truth is Google so EMMs have to make sure a Google Account exists for the user. With emmManaged users, the EMM is in charge.

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

The type of account that this user represents. A userAccount can be installed on multiple devices, but a deviceAccount is specific to a single device. An EMM-managed user (emmManaged) can be either type (userAccount, deviceAccount), but a Google-managed user (googleManaged) is always a userAccount.

ManagedConfigurationsForDeviceListResponse

data ManagedConfigurationsForDeviceListResponse Source #

The managed configuration resources for the device.

See: managedConfigurationsForDeviceListResponse smart constructor.

Instances

Eq ManagedConfigurationsForDeviceListResponse Source # 
Data ManagedConfigurationsForDeviceListResponse Source # 

Methods

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

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

toConstr :: ManagedConfigurationsForDeviceListResponse -> Constr #

dataTypeOf :: ManagedConfigurationsForDeviceListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedConfigurationsForDeviceListResponse Source # 
Generic ManagedConfigurationsForDeviceListResponse Source # 
ToJSON ManagedConfigurationsForDeviceListResponse Source # 
FromJSON ManagedConfigurationsForDeviceListResponse Source # 
type Rep ManagedConfigurationsForDeviceListResponse Source # 
type Rep ManagedConfigurationsForDeviceListResponse = D1 (MetaData "ManagedConfigurationsForDeviceListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ManagedConfigurationsForDeviceListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcfdlrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mcfdlrManagedConfigurationForDevice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ManagedConfiguration])))))

managedConfigurationsForDeviceListResponse :: ManagedConfigurationsForDeviceListResponse Source #

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

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

mcfdlrKind :: Lens' ManagedConfigurationsForDeviceListResponse Text Source #

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

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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 managed Google Play 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

ServiceAccount

data ServiceAccount Source #

A service account identity, including the name and credentials that can be used to authenticate as the service account.

See: serviceAccount smart constructor.

Instances

Eq ServiceAccount Source # 
Data ServiceAccount Source # 

Methods

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

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

toConstr :: ServiceAccount -> Constr #

dataTypeOf :: ServiceAccount -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ServiceAccount Source # 
Generic ServiceAccount Source # 

Associated Types

type Rep ServiceAccount :: * -> * #

ToJSON ServiceAccount Source # 
FromJSON ServiceAccount Source # 
type Rep ServiceAccount Source # 
type Rep ServiceAccount = D1 (MetaData "ServiceAccount" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ServiceAccount'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_saKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_saKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServiceAccountKey))) (S1 (MetaSel (Just Symbol "_saName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

serviceAccount :: ServiceAccount Source #

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

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

saKind :: Lens' ServiceAccount Text Source #

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

saKey :: Lens' ServiceAccount (Maybe ServiceAccountKey) Source #

Credentials that can be used to authenticate as this ServiceAccount.

saName :: Lens' ServiceAccount (Maybe Text) Source #

The account name of the service account, in the form of an email address. Assigned by the server.

AppUpdateEvent

data AppUpdateEvent Source #

An event generated when a new version of an app is uploaded to Google Play. Notifications are sent for new public versions only: alpha, beta, or canary versions do not generate this event. To fetch up-to-date version history for an app, use Products.Get on the EMM API.

See: appUpdateEvent smart constructor.

Instances

Eq AppUpdateEvent Source # 
Data AppUpdateEvent Source # 

Methods

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

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

toConstr :: AppUpdateEvent -> Constr #

dataTypeOf :: AppUpdateEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppUpdateEvent Source # 
Generic AppUpdateEvent Source # 

Associated Types

type Rep AppUpdateEvent :: * -> * #

ToJSON AppUpdateEvent Source # 
FromJSON AppUpdateEvent Source # 
type Rep AppUpdateEvent Source # 
type Rep AppUpdateEvent = D1 (MetaData "AppUpdateEvent" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" True) (C1 (MetaCons "AppUpdateEvent'" PrefixI True) (S1 (MetaSel (Just Symbol "_aueProductId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

appUpdateEvent :: AppUpdateEvent Source #

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

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

aueProductId :: Lens' AppUpdateEvent (Maybe Text) Source #

The id of the product (e.g. "app:com.google.android.gm") that was updated. This field will always be present.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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".

NotificationSet

data NotificationSet Source #

A resource returned by the PullNotificationSet API, which contains a collection of notifications for enterprises associated with the service account authenticated for the request.

See: notificationSet smart constructor.

Instances

Eq NotificationSet Source # 
Data NotificationSet Source # 

Methods

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

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

toConstr :: NotificationSet -> Constr #

dataTypeOf :: NotificationSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationSet Source # 
Generic NotificationSet Source # 
ToJSON NotificationSet Source # 
FromJSON NotificationSet Source # 
type Rep NotificationSet Source # 
type Rep NotificationSet = D1 (MetaData "NotificationSet" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "NotificationSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_nsNotificationSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_nsNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Notification]))) (S1 (MetaSel (Just Symbol "_nsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

notificationSet :: NotificationSet Source #

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

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

nsNotificationSetId :: Lens' NotificationSet (Maybe Text) Source #

The notification set ID, required to mark the notification as received with the Enterprises.AcknowledgeNotification API. This will be omitted if no notifications are present.

nsNotification :: Lens' NotificationSet [Notification] Source #

The notifications received, or empty if no notifications are present.

nsKind :: Lens' NotificationSet Text Source #

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

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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 managed Google Play 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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 Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows: - For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process. - For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.

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.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "Enterprise'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_eAdministrator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Administrator])))) ((:*:) (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".

eAdministrator :: Lens' Enterprise [Administrator] Source #

Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.

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

The enterprise's primary domain, such as "example.com".

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

The name of the enterprise, for example, "Example, Inc".

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

The unique ID for the enterprise.

InstallFailureEvent

data InstallFailureEvent Source #

An event generated when an app installation failed on a device

See: installFailureEvent smart constructor.

Instances

Eq InstallFailureEvent Source # 
Data InstallFailureEvent Source # 

Methods

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

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

toConstr :: InstallFailureEvent -> Constr #

dataTypeOf :: InstallFailureEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstallFailureEvent Source # 
Generic InstallFailureEvent Source # 
ToJSON InstallFailureEvent Source # 
FromJSON InstallFailureEvent Source # 
type Rep InstallFailureEvent Source # 
type Rep InstallFailureEvent = D1 (MetaData "InstallFailureEvent" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "InstallFailureEvent'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ifeFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ifeFailureDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ifeUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ifeDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ifeProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

installFailureEvent :: InstallFailureEvent Source #

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

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

ifeFailureReason :: Lens' InstallFailureEvent (Maybe Text) Source #

The reason for the installation failure. This field will always be present.

ifeFailureDetails :: Lens' InstallFailureEvent (Maybe Text) Source #

Additional details on the failure if applicable.

ifeUserId :: Lens' InstallFailureEvent (Maybe Text) Source #

The ID of the user. This field will always be present.

ifeDeviceId :: Lens' InstallFailureEvent (Maybe Text) Source #

The Android ID of the device. This field will always be present.

ifeProductId :: Lens' InstallFailureEvent (Maybe Text) Source #

The id of the product (e.g. "app:com.google.android.gm") for which the install failure event occured. This field will always be present.

ManagedConfigurationsForUserListResponse

data ManagedConfigurationsForUserListResponse Source #

The managed configuration resources for the user.

See: managedConfigurationsForUserListResponse smart constructor.

Instances

Eq ManagedConfigurationsForUserListResponse Source # 
Data ManagedConfigurationsForUserListResponse Source # 

Methods

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

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

toConstr :: ManagedConfigurationsForUserListResponse -> Constr #

dataTypeOf :: ManagedConfigurationsForUserListResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagedConfigurationsForUserListResponse Source # 
Generic ManagedConfigurationsForUserListResponse Source # 
ToJSON ManagedConfigurationsForUserListResponse Source # 
FromJSON ManagedConfigurationsForUserListResponse Source # 
type Rep ManagedConfigurationsForUserListResponse Source # 
type Rep ManagedConfigurationsForUserListResponse = D1 (MetaData "ManagedConfigurationsForUserListResponse" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "ManagedConfigurationsForUserListResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mcfulrManagedConfigurationForUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ManagedConfiguration]))) (S1 (MetaSel (Just Symbol "_mcfulrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

managedConfigurationsForUserListResponse :: ManagedConfigurationsForUserListResponse Source #

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

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

mcfulrKind :: Lens' ManagedConfigurationsForUserListResponse Text Source #

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

StoreLayout

data StoreLayout Source #

General setting for the managed Google Play 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.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "StoreLayout'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slStoreLayoutType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (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:

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

The store layout type. By default, this value is set to "basic". If set to "custom", "homepageId" must be specified. If set to "basic", the layout will consist of all approved apps accessible by the user, split in pages of 100 each; in this case, "homepageId" must not be specified. The "basic" setting takes precedence over any existing collections setup for this enterprise (if any). Should the enterprise use collectionViewers for controlling access rights, these will still be respected.

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 managed Google Play store. If a homepage has not been set, the Play store shown on devices will be empty. Not specifying a homepage on a store layout effectively empties the store. If there exists at least one page, this field must be set to the ID of a valid page.

AppRestrictionsSchemaChangeEvent

data AppRestrictionsSchemaChangeEvent Source #

An event generated when a new app version is uploaded to Google Play and its app restrictions schema changed. To fetch the app restrictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.

See: appRestrictionsSchemaChangeEvent smart constructor.

Instances

Eq AppRestrictionsSchemaChangeEvent Source # 
Data AppRestrictionsSchemaChangeEvent Source # 

Methods

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

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

toConstr :: AppRestrictionsSchemaChangeEvent -> Constr #

dataTypeOf :: AppRestrictionsSchemaChangeEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

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

appRestrictionsSchemaChangeEvent :: AppRestrictionsSchemaChangeEvent Source #

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

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

arsceProductId :: Lens' AppRestrictionsSchemaChangeEvent (Maybe Text) Source #

The id of the product (e.g. "app:com.google.android.gm") for which the app restriction schema changed. This field will always be present.

NewDeviceEvent

data NewDeviceEvent Source #

An event generated when a new device is ready to be managed.

See: newDeviceEvent smart constructor.

Instances

Eq NewDeviceEvent Source # 
Data NewDeviceEvent Source # 

Methods

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

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

toConstr :: NewDeviceEvent -> Constr #

dataTypeOf :: NewDeviceEvent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NewDeviceEvent Source # 
Generic NewDeviceEvent Source # 

Associated Types

type Rep NewDeviceEvent :: * -> * #

ToJSON NewDeviceEvent Source # 
FromJSON NewDeviceEvent Source # 
type Rep NewDeviceEvent Source # 
type Rep NewDeviceEvent = D1 (MetaData "NewDeviceEvent" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "NewDeviceEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ndeUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ndeDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ndeManagementType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

newDeviceEvent :: NewDeviceEvent Source #

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

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

ndeUserId :: Lens' NewDeviceEvent (Maybe Text) Source #

The ID of the user. This field will always be present.

ndeDeviceId :: Lens' NewDeviceEvent (Maybe Text) Source #

The Android ID of the device. This field will always be present.

ndeManagementType :: Lens' NewDeviceEvent (Maybe Text) Source #

Identifies the extent to which the device is controlled by an Android for Work EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner, - "managedProfile", a device that has a work profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC,

AdministratorWebToken

data AdministratorWebToken Source #

A token authorizing an admin to access an iframe.

See: administratorWebToken smart constructor.

Instances

Eq AdministratorWebToken Source # 
Data AdministratorWebToken Source # 

Methods

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

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

toConstr :: AdministratorWebToken -> Constr #

dataTypeOf :: AdministratorWebToken -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdministratorWebToken Source # 
Generic AdministratorWebToken Source # 
ToJSON AdministratorWebToken Source # 
FromJSON AdministratorWebToken Source # 
type Rep AdministratorWebToken Source # 
type Rep AdministratorWebToken = D1 (MetaData "AdministratorWebToken" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "AdministratorWebToken'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_awtKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_awtToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

administratorWebToken :: AdministratorWebToken Source #

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

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

awtKind :: Lens' AdministratorWebToken Text Source #

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

awtToken :: Lens' AdministratorWebToken (Maybe Text) Source #

An opaque token to be passed to the Play front-end to generate an iframe.

SignupInfo

data SignupInfo Source #

A resource returned by the GenerateSignupUrl API, which contains the Signup URL and Completion Token.

See: signupInfo smart constructor.

Instances

Eq SignupInfo Source # 
Data SignupInfo Source # 

Methods

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

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

toConstr :: SignupInfo -> Constr #

dataTypeOf :: SignupInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SignupInfo Source # 
Generic SignupInfo Source # 

Associated Types

type Rep SignupInfo :: * -> * #

ToJSON SignupInfo Source # 
FromJSON SignupInfo Source # 
type Rep SignupInfo Source # 
type Rep SignupInfo = D1 (MetaData "SignupInfo" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) (C1 (MetaCons "SignupInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_siCompletionToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_siKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_siURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

signupInfo :: SignupInfo Source #

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

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

siCompletionToken :: Lens' SignupInfo (Maybe Text) Source #

An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup.

siKind :: Lens' SignupInfo Text Source #

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

siURL :: Lens' SignupInfo (Maybe Text) Source #

A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe.

Product

data Product Source #

A Products resource 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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 managed Google Play details page for the product, for use by an Enterprise admin.

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

Whether this app can only be installed on devices using the Android 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. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it).

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

EnterprisesGetServiceAccountKeyType

data EnterprisesGetServiceAccountKeyType Source #

The type of credential to return with the service account. Required.

Constructors

GoogleCredentials
googleCredentials
PKCS12
pkcs12

Instances

Enum EnterprisesGetServiceAccountKeyType Source # 
Eq EnterprisesGetServiceAccountKeyType Source # 
Data EnterprisesGetServiceAccountKeyType Source # 

Methods

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

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

toConstr :: EnterprisesGetServiceAccountKeyType -> Constr #

dataTypeOf :: EnterprisesGetServiceAccountKeyType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord EnterprisesGetServiceAccountKeyType Source # 
Read EnterprisesGetServiceAccountKeyType Source # 
Show EnterprisesGetServiceAccountKeyType Source # 
Generic EnterprisesGetServiceAccountKeyType Source # 
Hashable EnterprisesGetServiceAccountKeyType Source # 
ToJSON EnterprisesGetServiceAccountKeyType Source # 
FromJSON EnterprisesGetServiceAccountKeyType Source # 
FromHttpApiData EnterprisesGetServiceAccountKeyType Source # 
ToHttpApiData EnterprisesGetServiceAccountKeyType Source # 
type Rep EnterprisesGetServiceAccountKeyType Source # 
type Rep EnterprisesGetServiceAccountKeyType = D1 (MetaData "EnterprisesGetServiceAccountKeyType" "Network.Google.AndroidEnterprise.Types.Sum" "gogol-android-enterprise-0.2.0-7EO2AYALwhq1nyn98Kd1x" False) ((:+:) (C1 (MetaCons "GoogleCredentials" PrefixI False) U1) (C1 (MetaCons "PKCS12" PrefixI False) U1))

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.

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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.2.0-7EO2AYALwhq1nyn98Kd1x" 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.