Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- androidenterprise.devices.get
- androidenterprise.devices.getState
- androidenterprise.devices.list
- androidenterprise.devices.patch
- androidenterprise.devices.setState
- androidenterprise.devices.update
- androidenterprise.enterprises.acknowledgeNotificationSet
- androidenterprise.enterprises.completeSignup
- androidenterprise.enterprises.createWebToken
- androidenterprise.enterprises.enroll
- androidenterprise.enterprises.generateSignupUrl
- androidenterprise.enterprises.get
- androidenterprise.enterprises.getAndroidDevicePolicyConfig
- androidenterprise.enterprises.getServiceAccount
- androidenterprise.enterprises.getStoreLayout
- androidenterprise.enterprises.list
- androidenterprise.enterprises.pullNotificationSet
- androidenterprise.enterprises.sendTestPushNotification
- androidenterprise.enterprises.setAccount
- androidenterprise.enterprises.setAndroidDevicePolicyConfig
- 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.managedconfigurationssettings.list
- 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.revokeDeviceAccess
- androidenterprise.users.revokeToken
- androidenterprise.users.setAvailableProductSet
- androidenterprise.users.update
- androidenterprise.webapps.delete
- androidenterprise.webapps.get
- androidenterprise.webapps.insert
- androidenterprise.webapps.list
- androidenterprise.webapps.patch
- androidenterprise.webapps.update
- Types
- GroupLicense
- StoreLayoutPagesListResponse
- EnterpriseAccount
- AppRestrictionsSchemaRestrictionRestrictionValue
- AdministratorWebTokenSpecPlaySearch
- DeviceState
- GroupLicenseUsersListResponse
- TokenPagination
- AdministratorWebTokenSpecWebApps
- ApprovalURLInfo
- ManagedConfigurationsSettingsListResponse
- ManagedProperty
- StoreLayoutClustersListResponse
- ManagedConfiguration
- StoreCluster
- AdministratorWebTokenSpec
- ProductVisibility
- Notification
- PageInfo
- ProductPermission
- NewPermissionsEvent
- ProductAvailabilityChangeEvent
- ProductApprovalEvent
- Device
- AutoInstallConstraint
- ServiceAccountKey
- InstallsListResponse
- AppRestrictionsSchemaRestriction
- ProductPolicy
- Administrator
- UsersListResponse
- AdministratorWebTokenSpecStoreBuilder
- AuthenticationToken
- ManagedConfigurationsSettings
- AppVersion
- EnterprisesPullNotificationSetRequestMode
- ManagedPropertyBundle
- GroupLicensesListResponse
- AndroidDevicePolicyConfig
- ProductSet
- Install
- MaintenanceWindow
- ServiceAccountKeysListResponse
- TrackInfo
- User
- ManagedConfigurationsForDeviceListResponse
- ProductsGenerateApprovalURLResponse
- StorePage
- EnterprisesSendTestPushNotificationResponse
- ServiceAccount
- VariableSet
- AppUpdateEvent
- EnterprisesListResponse
- NotificationSet
- AppRestrictionsSchema
- WebAppIcon
- LocalizedText
- UserToken
- AdministratorWebTokenSpecPrivateApps
- DevicesListResponse
- ProductSigningCertificate
- Enterprise
- InstallFailureEvent
- ManagedConfigurationsForUserListResponse
- ConfigurationVariables
- StoreLayout
- AppRestrictionsSchemaChangeEvent
- NewDeviceEvent
- Policy
- AdministratorWebToken
- SignupInfo
- Product
- EntitlementsListResponse
- EnterprisesGetServiceAccountKeyType
- ProductPermissions
- Permission
- WebAppsListResponse
- ProductsApproveRequest
- AutoInstallPolicy
- Entitlement
- ProductsListResponse
- WebApp
Manages the deployment of apps to Android for Work users.
Synopsis
- androidEnterpriseService :: ServiceConfig
- androidEnterpriseScope :: Proxy '["https://www.googleapis.com/auth/androidenterprise"]
- type AndroidEnterpriseAPI = StorelayoutclustersInsertResource :<|> (StorelayoutclustersListResource :<|> (StorelayoutclustersPatchResource :<|> (StorelayoutclustersGetResource :<|> (StorelayoutclustersDeleteResource :<|> (StorelayoutclustersUpdateResource :<|> (UsersInsertResource :<|> (UsersListResource :<|> (UsersGenerateTokenResource :<|> (UsersGenerateAuthenticationTokenResource :<|> (UsersPatchResource :<|> (UsersGetResource :<|> (UsersRevokeDeviceAccessResource :<|> (UsersSetAvailableProductSetResource :<|> (UsersRevokeTokenResource :<|> (UsersGetAvailableProductSetResource :<|> (UsersDeleteResource :<|> (UsersUpdateResource :<|> (InstallsListResource :<|> (InstallsPatchResource :<|> (InstallsGetResource :<|> (InstallsDeleteResource :<|> (InstallsUpdateResource :<|> (StorelayoutpagesInsertResource :<|> (StorelayoutpagesListResource :<|> (StorelayoutpagesPatchResource :<|> (StorelayoutpagesGetResource :<|> (StorelayoutpagesDeleteResource :<|> (StorelayoutpagesUpdateResource :<|> (ServiceAccountkeysInsertResource :<|> (ServiceAccountkeysListResource :<|> (ServiceAccountkeysDeleteResource :<|> (ManagedConfigurationssettingsListResource :<|> (EnterprisesCompleteSignupResource :<|> (EnterprisesCreateWebTokenResource :<|> (EnterprisesGetServiceAccountResource :<|> (EnterprisesListResource :<|> (EnterprisesUnenrollResource :<|> (EnterprisesGetStoreLayoutResource :<|> (EnterprisesSetAndroidDevicePolicyConfigResource :<|> (EnterprisesSetAccountResource :<|> (EnterprisesEnrollResource :<|> (EnterprisesGetResource :<|> (EnterprisesGenerateSignupURLResource :<|> (EnterprisesSendTestPushNotificationResource :<|> (EnterprisesSetStoreLayoutResource :<|> (EnterprisesGetAndroidDevicePolicyConfigResource :<|> (EnterprisesAcknowledgeNotificationSetResource :<|> (EnterprisesPullNotificationSetResource :<|> (ManagedConfigurationsforUserListResource :<|> (ManagedConfigurationsforUserPatchResource :<|> (ManagedConfigurationsforUserGetResource :<|> (ManagedConfigurationsforUserDeleteResource :<|> (ManagedConfigurationsforUserUpdateResource :<|> (GrouplicensesListResource :<|> (GrouplicensesGetResource :<|> (WebAppsInsertResource :<|> (WebAppsListResource :<|> (WebAppsPatchResource :<|> (WebAppsGetResource :<|> (WebAppsDeleteResource :<|> (WebAppsUpdateResource :<|> (EntitlementsListResource :<|> (EntitlementsPatchResource :<|> (EntitlementsGetResource :<|> (EntitlementsDeleteResource :<|> (EntitlementsUpdateResource :<|> (ManagedConfigurationsforDeviceListResource :<|> (ManagedConfigurationsforDevicePatchResource :<|> (ManagedConfigurationsforDeviceGetResource :<|> (ManagedConfigurationsforDeviceDeleteResource :<|> (ManagedConfigurationsforDeviceUpdateResource :<|> (PermissionsGetResource :<|> (ProductsGenerateApprovalURLResource :<|> (ProductsListResource :<|> (ProductsGetResource :<|> (ProductsGetAppRestrictionsSchemaResource :<|> (ProductsUnApproveResource :<|> (ProductsApproveResource :<|> (ProductsGetPermissionsResource :<|> (DevicesListResource :<|> (DevicesSetStateResource :<|> (DevicesPatchResource :<|> (DevicesGetResource :<|> (DevicesGetStateResource :<|> (DevicesUpdateResource :<|> GrouplicenseUsersListResource)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
- module Network.Google.Resource.AndroidEnterprise.Devices.Get
- module Network.Google.Resource.AndroidEnterprise.Devices.GetState
- module Network.Google.Resource.AndroidEnterprise.Devices.List
- module Network.Google.Resource.AndroidEnterprise.Devices.Patch
- module Network.Google.Resource.AndroidEnterprise.Devices.SetState
- module Network.Google.Resource.AndroidEnterprise.Devices.Update
- module Network.Google.Resource.AndroidEnterprise.Enterprises.AcknowledgeNotificationSet
- module Network.Google.Resource.AndroidEnterprise.Enterprises.CompleteSignup
- module Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken
- module Network.Google.Resource.AndroidEnterprise.Enterprises.Enroll
- module Network.Google.Resource.AndroidEnterprise.Enterprises.GenerateSignupURL
- module Network.Google.Resource.AndroidEnterprise.Enterprises.Get
- module Network.Google.Resource.AndroidEnterprise.Enterprises.GetAndroidDevicePolicyConfig
- module Network.Google.Resource.AndroidEnterprise.Enterprises.GetServiceAccount
- module Network.Google.Resource.AndroidEnterprise.Enterprises.GetStoreLayout
- module Network.Google.Resource.AndroidEnterprise.Enterprises.List
- module Network.Google.Resource.AndroidEnterprise.Enterprises.PullNotificationSet
- module Network.Google.Resource.AndroidEnterprise.Enterprises.SendTestPushNotification
- module Network.Google.Resource.AndroidEnterprise.Enterprises.SetAccount
- module Network.Google.Resource.AndroidEnterprise.Enterprises.SetAndroidDevicePolicyConfig
- module Network.Google.Resource.AndroidEnterprise.Enterprises.SetStoreLayout
- module Network.Google.Resource.AndroidEnterprise.Enterprises.Unenroll
- module Network.Google.Resource.AndroidEnterprise.Entitlements.Delete
- module Network.Google.Resource.AndroidEnterprise.Entitlements.Get
- module Network.Google.Resource.AndroidEnterprise.Entitlements.List
- module Network.Google.Resource.AndroidEnterprise.Entitlements.Patch
- module Network.Google.Resource.AndroidEnterprise.Entitlements.Update
- module Network.Google.Resource.AndroidEnterprise.Grouplicenses.Get
- module Network.Google.Resource.AndroidEnterprise.Grouplicenses.List
- module Network.Google.Resource.AndroidEnterprise.GrouplicenseUsers.List
- module Network.Google.Resource.AndroidEnterprise.Installs.Delete
- module Network.Google.Resource.AndroidEnterprise.Installs.Get
- module Network.Google.Resource.AndroidEnterprise.Installs.List
- module Network.Google.Resource.AndroidEnterprise.Installs.Patch
- module Network.Google.Resource.AndroidEnterprise.Installs.Update
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforDevice.Delete
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforDevice.Get
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforDevice.List
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforDevice.Patch
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforDevice.Update
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Delete
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Get
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.List
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Patch
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationsforUser.Update
- module Network.Google.Resource.AndroidEnterprise.ManagedConfigurationssettings.List
- module Network.Google.Resource.AndroidEnterprise.Permissions.Get
- module Network.Google.Resource.AndroidEnterprise.Products.Approve
- module Network.Google.Resource.AndroidEnterprise.Products.GenerateApprovalURL
- module Network.Google.Resource.AndroidEnterprise.Products.Get
- module Network.Google.Resource.AndroidEnterprise.Products.GetAppRestrictionsSchema
- module Network.Google.Resource.AndroidEnterprise.Products.GetPermissions
- module Network.Google.Resource.AndroidEnterprise.Products.List
- module Network.Google.Resource.AndroidEnterprise.Products.UnApprove
- module Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Delete
- module Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert
- module Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.List
- module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.Delete
- module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.Get
- module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.Insert
- module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.List
- module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.Patch
- module Network.Google.Resource.AndroidEnterprise.Storelayoutclusters.Update
- module Network.Google.Resource.AndroidEnterprise.Storelayoutpages.Delete
- module Network.Google.Resource.AndroidEnterprise.Storelayoutpages.Get
- module Network.Google.Resource.AndroidEnterprise.Storelayoutpages.Insert
- module Network.Google.Resource.AndroidEnterprise.Storelayoutpages.List
- module Network.Google.Resource.AndroidEnterprise.Storelayoutpages.Patch
- module Network.Google.Resource.AndroidEnterprise.Storelayoutpages.Update
- module Network.Google.Resource.AndroidEnterprise.Users.Delete
- module Network.Google.Resource.AndroidEnterprise.Users.GenerateAuthenticationToken
- module Network.Google.Resource.AndroidEnterprise.Users.GenerateToken
- module Network.Google.Resource.AndroidEnterprise.Users.Get
- module Network.Google.Resource.AndroidEnterprise.Users.GetAvailableProductSet
- module Network.Google.Resource.AndroidEnterprise.Users.Insert
- module Network.Google.Resource.AndroidEnterprise.Users.List
- module Network.Google.Resource.AndroidEnterprise.Users.Patch
- module Network.Google.Resource.AndroidEnterprise.Users.RevokeDeviceAccess
- module Network.Google.Resource.AndroidEnterprise.Users.RevokeToken
- module Network.Google.Resource.AndroidEnterprise.Users.SetAvailableProductSet
- module Network.Google.Resource.AndroidEnterprise.Users.Update
- module Network.Google.Resource.AndroidEnterprise.WebApps.Delete
- module Network.Google.Resource.AndroidEnterprise.WebApps.Get
- module Network.Google.Resource.AndroidEnterprise.WebApps.Insert
- module Network.Google.Resource.AndroidEnterprise.WebApps.List
- module Network.Google.Resource.AndroidEnterprise.WebApps.Patch
- module Network.Google.Resource.AndroidEnterprise.WebApps.Update
- data GroupLicense
- groupLicense :: GroupLicense
- glKind :: Lens' GroupLicense Text
- glNumProvisioned :: Lens' GroupLicense (Maybe Int32)
- glNumPurchased :: Lens' GroupLicense (Maybe Int32)
- glApproval :: Lens' GroupLicense (Maybe Text)
- glPermissions :: Lens' GroupLicense (Maybe Text)
- glProductId :: Lens' GroupLicense (Maybe Text)
- glAcquisitionKind :: Lens' GroupLicense (Maybe Text)
- data StoreLayoutPagesListResponse
- storeLayoutPagesListResponse :: StoreLayoutPagesListResponse
- slplrKind :: Lens' StoreLayoutPagesListResponse Text
- slplrPage :: Lens' StoreLayoutPagesListResponse [StorePage]
- data EnterpriseAccount
- enterpriseAccount :: EnterpriseAccount
- eaKind :: Lens' EnterpriseAccount Text
- eaAccountEmail :: Lens' EnterpriseAccount (Maybe Text)
- data AppRestrictionsSchemaRestrictionRestrictionValue
- appRestrictionsSchemaRestrictionRestrictionValue :: AppRestrictionsSchemaRestrictionRestrictionValue
- arsrrvValueMultiselect :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue [Text]
- arsrrvValueBool :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Bool)
- arsrrvValueInteger :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Int32)
- arsrrvType :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Text)
- arsrrvValueString :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Text)
- data AdministratorWebTokenSpecPlaySearch
- administratorWebTokenSpecPlaySearch :: AdministratorWebTokenSpecPlaySearch
- awtspsEnabled :: Lens' AdministratorWebTokenSpecPlaySearch (Maybe Bool)
- awtspsApproveApps :: Lens' AdministratorWebTokenSpecPlaySearch (Maybe Bool)
- data DeviceState
- deviceState :: DeviceState
- dsKind :: Lens' DeviceState Text
- dsAccountState :: Lens' DeviceState (Maybe Text)
- data GroupLicenseUsersListResponse
- groupLicenseUsersListResponse :: GroupLicenseUsersListResponse
- glulrKind :: Lens' GroupLicenseUsersListResponse Text
- glulrUser :: Lens' GroupLicenseUsersListResponse [User]
- data TokenPagination
- tokenPagination :: TokenPagination
- tpNextPageToken :: Lens' TokenPagination (Maybe Text)
- tpPreviousPageToken :: Lens' TokenPagination (Maybe Text)
- data AdministratorWebTokenSpecWebApps
- administratorWebTokenSpecWebApps :: AdministratorWebTokenSpecWebApps
- awtswaEnabled :: Lens' AdministratorWebTokenSpecWebApps (Maybe Bool)
- data ApprovalURLInfo
- approvalURLInfo :: ApprovalURLInfo
- auiApprovalURL :: Lens' ApprovalURLInfo (Maybe Text)
- auiKind :: Lens' ApprovalURLInfo Text
- data ManagedConfigurationsSettingsListResponse
- managedConfigurationsSettingsListResponse :: ManagedConfigurationsSettingsListResponse
- mcslrKind :: Lens' ManagedConfigurationsSettingsListResponse Text
- mcslrManagedConfigurationsSettings :: Lens' ManagedConfigurationsSettingsListResponse [ManagedConfigurationsSettings]
- data ManagedProperty
- managedProperty :: ManagedProperty
- mpValueStringArray :: Lens' ManagedProperty [Text]
- mpValueBool :: Lens' ManagedProperty (Maybe Bool)
- mpKey :: Lens' ManagedProperty (Maybe Text)
- mpValueBundle :: Lens' ManagedProperty (Maybe ManagedPropertyBundle)
- mpValueInteger :: Lens' ManagedProperty (Maybe Int32)
- mpValueBundleArray :: Lens' ManagedProperty [ManagedPropertyBundle]
- mpValueString :: Lens' ManagedProperty (Maybe Text)
- data StoreLayoutClustersListResponse
- storeLayoutClustersListResponse :: StoreLayoutClustersListResponse
- slclrCluster :: Lens' StoreLayoutClustersListResponse [StoreCluster]
- slclrKind :: Lens' StoreLayoutClustersListResponse Text
- data ManagedConfiguration
- managedConfiguration :: ManagedConfiguration
- mcManagedProperty :: Lens' ManagedConfiguration [ManagedProperty]
- mcKind :: Lens' ManagedConfiguration Text
- mcConfigurationVariables :: Lens' ManagedConfiguration (Maybe ConfigurationVariables)
- mcProductId :: Lens' ManagedConfiguration (Maybe Text)
- data StoreCluster
- storeCluster :: StoreCluster
- scKind :: Lens' StoreCluster Text
- scName :: Lens' StoreCluster [LocalizedText]
- scOrderInPage :: Lens' StoreCluster (Maybe Text)
- scId :: Lens' StoreCluster (Maybe Text)
- scProductId :: Lens' StoreCluster [Text]
- data AdministratorWebTokenSpec
- administratorWebTokenSpec :: AdministratorWebTokenSpec
- awtsParent :: Lens' AdministratorWebTokenSpec (Maybe Text)
- awtsPrivateApps :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecPrivateApps)
- awtsPlaySearch :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecPlaySearch)
- awtsKind :: Lens' AdministratorWebTokenSpec Text
- awtsWebApps :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecWebApps)
- awtsPermission :: Lens' AdministratorWebTokenSpec [Text]
- awtsStoreBuilder :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecStoreBuilder)
- data ProductVisibility
- productVisibility :: ProductVisibility
- pvTracks :: Lens' ProductVisibility [Text]
- pvTrackIds :: Lens' ProductVisibility [Text]
- pvProductId :: Lens' ProductVisibility (Maybe Text)
- data Notification
- notification :: Notification
- nEnterpriseId :: Lens' Notification (Maybe Text)
- nNewPermissionsEvent :: Lens' Notification (Maybe NewPermissionsEvent)
- nProductApprovalEvent :: Lens' Notification (Maybe ProductApprovalEvent)
- nProductAvailabilityChangeEvent :: Lens' Notification (Maybe ProductAvailabilityChangeEvent)
- nAppUpdateEvent :: Lens' Notification (Maybe AppUpdateEvent)
- nInstallFailureEvent :: Lens' Notification (Maybe InstallFailureEvent)
- nNotificationType :: Lens' Notification (Maybe Text)
- nAppRestrictionsSchemaChangeEvent :: Lens' Notification (Maybe AppRestrictionsSchemaChangeEvent)
- nNewDeviceEvent :: Lens' Notification (Maybe NewDeviceEvent)
- nTimestampMillis :: Lens' Notification (Maybe Int64)
- data PageInfo
- pageInfo :: PageInfo
- piResultPerPage :: Lens' PageInfo (Maybe Int32)
- piTotalResults :: Lens' PageInfo (Maybe Int32)
- piStartIndex :: Lens' PageInfo (Maybe Int32)
- data ProductPermission
- productPermission :: ProductPermission
- ppState :: Lens' ProductPermission (Maybe Text)
- ppPermissionId :: Lens' ProductPermission (Maybe Text)
- data NewPermissionsEvent
- newPermissionsEvent :: NewPermissionsEvent
- npeRequestedPermissions :: Lens' NewPermissionsEvent [Text]
- npeApprovedPermissions :: Lens' NewPermissionsEvent [Text]
- npeProductId :: Lens' NewPermissionsEvent (Maybe Text)
- data ProductAvailabilityChangeEvent
- productAvailabilityChangeEvent :: ProductAvailabilityChangeEvent
- paceAvailabilityStatus :: Lens' ProductAvailabilityChangeEvent (Maybe Text)
- paceProductId :: Lens' ProductAvailabilityChangeEvent (Maybe Text)
- data ProductApprovalEvent
- productApprovalEvent :: ProductApprovalEvent
- paeApproved :: Lens' ProductApprovalEvent (Maybe Text)
- paeProductId :: Lens' ProductApprovalEvent (Maybe Text)
- data Device
- device :: Device
- dKind :: Lens' Device Text
- dPolicy :: Lens' Device (Maybe Policy)
- dManagementType :: Lens' Device (Maybe Text)
- dAndroidId :: Lens' Device (Maybe Text)
- data AutoInstallConstraint
- autoInstallConstraint :: AutoInstallConstraint
- aicChargingStateConstraint :: Lens' AutoInstallConstraint (Maybe Text)
- aicDeviceIdleStateConstraint :: Lens' AutoInstallConstraint (Maybe Text)
- aicNetworkTypeConstraint :: Lens' AutoInstallConstraint (Maybe Text)
- data ServiceAccountKey
- serviceAccountKey :: ServiceAccountKey
- sakKind :: Lens' ServiceAccountKey Text
- sakData :: Lens' ServiceAccountKey (Maybe Text)
- sakId :: Lens' ServiceAccountKey (Maybe Text)
- sakType :: Lens' ServiceAccountKey (Maybe Text)
- sakPublicData :: Lens' ServiceAccountKey (Maybe Text)
- data InstallsListResponse
- installsListResponse :: InstallsListResponse
- ilrKind :: Lens' InstallsListResponse Text
- ilrInstall :: Lens' InstallsListResponse [Install]
- data AppRestrictionsSchemaRestriction
- appRestrictionsSchemaRestriction :: AppRestrictionsSchemaRestriction
- arsrRestrictionType :: Lens' AppRestrictionsSchemaRestriction (Maybe Text)
- arsrEntry :: Lens' AppRestrictionsSchemaRestriction [Text]
- arsrKey :: Lens' AppRestrictionsSchemaRestriction (Maybe Text)
- arsrEntryValue :: Lens' AppRestrictionsSchemaRestriction [Text]
- arsrDefaultValue :: Lens' AppRestrictionsSchemaRestriction (Maybe AppRestrictionsSchemaRestrictionRestrictionValue)
- arsrTitle :: Lens' AppRestrictionsSchemaRestriction (Maybe Text)
- arsrDescription :: Lens' AppRestrictionsSchemaRestriction (Maybe Text)
- arsrNestedRestriction :: Lens' AppRestrictionsSchemaRestriction [AppRestrictionsSchemaRestriction]
- data ProductPolicy
- productPolicy :: ProductPolicy
- ppTracks :: Lens' ProductPolicy [Text]
- ppTrackIds :: Lens' ProductPolicy [Text]
- ppAutoInstallPolicy :: Lens' ProductPolicy (Maybe AutoInstallPolicy)
- ppProductId :: Lens' ProductPolicy (Maybe Text)
- data Administrator
- administrator :: Administrator
- aEmail :: Lens' Administrator (Maybe Text)
- data UsersListResponse
- usersListResponse :: UsersListResponse
- ulrKind :: Lens' UsersListResponse Text
- ulrUser :: Lens' UsersListResponse [User]
- data AdministratorWebTokenSpecStoreBuilder
- administratorWebTokenSpecStoreBuilder :: AdministratorWebTokenSpecStoreBuilder
- awtssbEnabled :: Lens' AdministratorWebTokenSpecStoreBuilder (Maybe Bool)
- data AuthenticationToken
- authenticationToken :: AuthenticationToken
- atKind :: Lens' AuthenticationToken Text
- atToken :: Lens' AuthenticationToken (Maybe Text)
- data ManagedConfigurationsSettings
- managedConfigurationsSettings :: ManagedConfigurationsSettings
- mcsLastUpdatedTimestampMillis :: Lens' ManagedConfigurationsSettings (Maybe Int64)
- mcsManagedProperty :: Lens' ManagedConfigurationsSettings [ManagedProperty]
- mcsKind :: Lens' ManagedConfigurationsSettings Text
- mcsMcmId :: Lens' ManagedConfigurationsSettings (Maybe Text)
- mcsName :: Lens' ManagedConfigurationsSettings (Maybe Text)
- data AppVersion
- appVersion :: AppVersion
- avTrack :: Lens' AppVersion (Maybe Text)
- avVersionCode :: Lens' AppVersion (Maybe Int32)
- avVersionString :: Lens' AppVersion (Maybe Text)
- avTrackId :: Lens' AppVersion [Text]
- avIsProduction :: Lens' AppVersion (Maybe Bool)
- data EnterprisesPullNotificationSetRequestMode
- data ManagedPropertyBundle
- managedPropertyBundle :: ManagedPropertyBundle
- mpbManagedProperty :: Lens' ManagedPropertyBundle [ManagedProperty]
- data GroupLicensesListResponse
- groupLicensesListResponse :: GroupLicensesListResponse
- gllrGroupLicense :: Lens' GroupLicensesListResponse [GroupLicense]
- gllrKind :: Lens' GroupLicensesListResponse Text
- data AndroidDevicePolicyConfig
- androidDevicePolicyConfig :: AndroidDevicePolicyConfig
- adpcState :: Lens' AndroidDevicePolicyConfig (Maybe Text)
- adpcKind :: Lens' AndroidDevicePolicyConfig Text
- data ProductSet
- productSet :: ProductSet
- psProductVisibility :: Lens' ProductSet [ProductVisibility]
- psKind :: Lens' ProductSet Text
- psProductSetBehavior :: Lens' ProductSet (Maybe Text)
- psProductId :: Lens' ProductSet [Text]
- data Install
- install :: Install
- iVersionCode :: Lens' Install (Maybe Int32)
- iKind :: Lens' Install Text
- iInstallState :: Lens' Install (Maybe Text)
- iProductId :: Lens' Install (Maybe Text)
- data MaintenanceWindow
- maintenanceWindow :: MaintenanceWindow
- mwDurationMs :: Lens' MaintenanceWindow (Maybe Int64)
- mwStartTimeAfterMidnightMs :: Lens' MaintenanceWindow (Maybe Int64)
- data ServiceAccountKeysListResponse
- serviceAccountKeysListResponse :: ServiceAccountKeysListResponse
- saklrServiceAccountKey :: Lens' ServiceAccountKeysListResponse [ServiceAccountKey]
- data TrackInfo
- trackInfo :: TrackInfo
- tiTrackAlias :: Lens' TrackInfo (Maybe Text)
- tiTrackId :: Lens' TrackInfo (Maybe Text)
- data User
- user :: User
- uAccountIdentifier :: Lens' User (Maybe Text)
- uKind :: Lens' User Text
- uDisplayName :: Lens' User (Maybe Text)
- uId :: Lens' User (Maybe Text)
- uPrimaryEmail :: Lens' User (Maybe Text)
- uManagementType :: Lens' User (Maybe Text)
- uAccountType :: Lens' User (Maybe Text)
- data ManagedConfigurationsForDeviceListResponse
- managedConfigurationsForDeviceListResponse :: ManagedConfigurationsForDeviceListResponse
- mcfdlrKind :: Lens' ManagedConfigurationsForDeviceListResponse Text
- mcfdlrManagedConfigurationForDevice :: Lens' ManagedConfigurationsForDeviceListResponse [ManagedConfiguration]
- data ProductsGenerateApprovalURLResponse
- productsGenerateApprovalURLResponse :: ProductsGenerateApprovalURLResponse
- pgaurURL :: Lens' ProductsGenerateApprovalURLResponse (Maybe Text)
- data StorePage
- storePage :: StorePage
- spKind :: Lens' StorePage Text
- spLink :: Lens' StorePage [Text]
- spName :: Lens' StorePage [LocalizedText]
- spId :: Lens' StorePage (Maybe Text)
- data EnterprisesSendTestPushNotificationResponse
- enterprisesSendTestPushNotificationResponse :: EnterprisesSendTestPushNotificationResponse
- estpnrTopicName :: Lens' EnterprisesSendTestPushNotificationResponse (Maybe Text)
- estpnrMessageId :: Lens' EnterprisesSendTestPushNotificationResponse (Maybe Text)
- data ServiceAccount
- serviceAccount :: ServiceAccount
- saKind :: Lens' ServiceAccount Text
- saKey :: Lens' ServiceAccount (Maybe ServiceAccountKey)
- saName :: Lens' ServiceAccount (Maybe Text)
- data VariableSet
- variableSet :: VariableSet
- vsKind :: Lens' VariableSet Text
- vsUserValue :: Lens' VariableSet (Maybe Text)
- vsPlaceholder :: Lens' VariableSet (Maybe Text)
- data AppUpdateEvent
- appUpdateEvent :: AppUpdateEvent
- aueProductId :: Lens' AppUpdateEvent (Maybe Text)
- data EnterprisesListResponse
- enterprisesListResponse :: EnterprisesListResponse
- elrKind :: Lens' EnterprisesListResponse Text
- elrEnterprise :: Lens' EnterprisesListResponse [Enterprise]
- data NotificationSet
- notificationSet :: NotificationSet
- nsNotificationSetId :: Lens' NotificationSet (Maybe Text)
- nsNotification :: Lens' NotificationSet [Notification]
- nsKind :: Lens' NotificationSet Text
- data AppRestrictionsSchema
- appRestrictionsSchema :: AppRestrictionsSchema
- arsKind :: Lens' AppRestrictionsSchema Text
- arsRestrictions :: Lens' AppRestrictionsSchema [AppRestrictionsSchemaRestriction]
- data WebAppIcon
- webAppIcon :: WebAppIcon
- waiImageData :: Lens' WebAppIcon (Maybe Text)
- data LocalizedText
- localizedText :: LocalizedText
- ltText :: Lens' LocalizedText (Maybe Text)
- ltLocale :: Lens' LocalizedText (Maybe Text)
- data UserToken
- userToken :: UserToken
- utKind :: Lens' UserToken Text
- utToken :: Lens' UserToken (Maybe Text)
- utUserId :: Lens' UserToken (Maybe Text)
- data AdministratorWebTokenSpecPrivateApps
- administratorWebTokenSpecPrivateApps :: AdministratorWebTokenSpecPrivateApps
- awtspaEnabled :: Lens' AdministratorWebTokenSpecPrivateApps (Maybe Bool)
- data DevicesListResponse
- devicesListResponse :: DevicesListResponse
- dlrKind :: Lens' DevicesListResponse Text
- dlrDevice :: Lens' DevicesListResponse [Device]
- data ProductSigningCertificate
- productSigningCertificate :: ProductSigningCertificate
- pscCertificateHashSha256 :: Lens' ProductSigningCertificate (Maybe Text)
- pscCertificateHashSha1 :: Lens' ProductSigningCertificate (Maybe Text)
- data Enterprise
- enterprise :: Enterprise
- eKind :: Lens' Enterprise Text
- eAdministrator :: Lens' Enterprise [Administrator]
- ePrimaryDomain :: Lens' Enterprise (Maybe Text)
- eName :: Lens' Enterprise (Maybe Text)
- eId :: Lens' Enterprise (Maybe Text)
- data InstallFailureEvent
- installFailureEvent :: InstallFailureEvent
- ifeFailureReason :: Lens' InstallFailureEvent (Maybe Text)
- ifeFailureDetails :: Lens' InstallFailureEvent (Maybe Text)
- ifeUserId :: Lens' InstallFailureEvent (Maybe Text)
- ifeDeviceId :: Lens' InstallFailureEvent (Maybe Text)
- ifeProductId :: Lens' InstallFailureEvent (Maybe Text)
- data ManagedConfigurationsForUserListResponse
- managedConfigurationsForUserListResponse :: ManagedConfigurationsForUserListResponse
- mcfulrManagedConfigurationForUser :: Lens' ManagedConfigurationsForUserListResponse [ManagedConfiguration]
- mcfulrKind :: Lens' ManagedConfigurationsForUserListResponse Text
- data ConfigurationVariables
- configurationVariables :: ConfigurationVariables
- cvKind :: Lens' ConfigurationVariables Text
- cvMcmId :: Lens' ConfigurationVariables (Maybe Text)
- cvVariableSet :: Lens' ConfigurationVariables [VariableSet]
- data StoreLayout
- storeLayout :: StoreLayout
- slStoreLayoutType :: Lens' StoreLayout (Maybe Text)
- slKind :: Lens' StoreLayout Text
- slHomepageId :: Lens' StoreLayout (Maybe Text)
- data AppRestrictionsSchemaChangeEvent
- appRestrictionsSchemaChangeEvent :: AppRestrictionsSchemaChangeEvent
- arsceProductId :: Lens' AppRestrictionsSchemaChangeEvent (Maybe Text)
- data NewDeviceEvent
- newDeviceEvent :: NewDeviceEvent
- ndeUserId :: Lens' NewDeviceEvent (Maybe Text)
- ndeDpcPackageName :: Lens' NewDeviceEvent (Maybe Text)
- ndeDeviceId :: Lens' NewDeviceEvent (Maybe Text)
- ndeManagementType :: Lens' NewDeviceEvent (Maybe Text)
- data Policy
- policy :: Policy
- pProductAvailabilityPolicy :: Lens' Policy (Maybe Text)
- pProductPolicy :: Lens' Policy [ProductPolicy]
- pMaintenanceWindow :: Lens' Policy (Maybe MaintenanceWindow)
- pAutoUpdatePolicy :: Lens' Policy (Maybe Text)
- data AdministratorWebToken
- administratorWebToken :: AdministratorWebToken
- awtKind :: Lens' AdministratorWebToken Text
- awtToken :: Lens' AdministratorWebToken (Maybe Text)
- data SignupInfo
- signupInfo :: SignupInfo
- siCompletionToken :: Lens' SignupInfo (Maybe Text)
- siKind :: Lens' SignupInfo Text
- siURL :: Lens' SignupInfo (Maybe Text)
- data Product
- product :: Product
- pScreenshotURLs :: Lens' Product [Text]
- pLastUpdatedTimestampMillis :: Lens' Product (Maybe Int64)
- pSmallIconURL :: Lens' Product (Maybe Text)
- pAuthorName :: Lens' Product (Maybe Text)
- pAppTracks :: Lens' Product [TrackInfo]
- pKind :: Lens' Product Text
- pWorkDetailsURL :: Lens' Product (Maybe Text)
- pRequiresContainerApp :: Lens' Product (Maybe Bool)
- pCategory :: Lens' Product (Maybe Text)
- pAppVersion :: Lens' Product [AppVersion]
- pProductPricing :: Lens' Product (Maybe Text)
- pDistributionChannel :: Lens' Product (Maybe Text)
- pMinAndroidSdkVersion :: Lens' Product (Maybe Int32)
- pAvailableCountries :: Lens' Product [Text]
- pAvailableTracks :: Lens' Product [Text]
- pIconURL :: Lens' Product (Maybe Text)
- pPermissions :: Lens' Product [ProductPermission]
- pTitle :: Lens' Product (Maybe Text)
- pSigningCertificate :: Lens' Product (Maybe ProductSigningCertificate)
- pContentRating :: Lens' Product (Maybe Text)
- pProductId :: Lens' Product (Maybe Text)
- pRecentChanges :: Lens' Product (Maybe Text)
- pDescription :: Lens' Product (Maybe Text)
- pDetailsURL :: Lens' Product (Maybe Text)
- data EntitlementsListResponse
- entitlementsListResponse :: EntitlementsListResponse
- entKind :: Lens' EntitlementsListResponse Text
- entEntitlement :: Lens' EntitlementsListResponse [Entitlement]
- data EnterprisesGetServiceAccountKeyType
- data ProductPermissions
- productPermissions :: ProductPermissions
- ppsKind :: Lens' ProductPermissions Text
- ppsPermission :: Lens' ProductPermissions [ProductPermission]
- ppsProductId :: Lens' ProductPermissions (Maybe Text)
- data Permission
- permission :: Permission
- perKind :: Lens' Permission Text
- perName :: Lens' Permission (Maybe Text)
- perDescription :: Lens' Permission (Maybe Text)
- perPermissionId :: Lens' Permission (Maybe Text)
- data WebAppsListResponse
- webAppsListResponse :: WebAppsListResponse
- walrKind :: Lens' WebAppsListResponse Text
- walrWebApp :: Lens' WebAppsListResponse [WebApp]
- data ProductsApproveRequest
- productsApproveRequest :: ProductsApproveRequest
- parApprovalURLInfo :: Lens' ProductsApproveRequest (Maybe ApprovalURLInfo)
- parApprovedPermissions :: Lens' ProductsApproveRequest (Maybe Text)
- data AutoInstallPolicy
- autoInstallPolicy :: AutoInstallPolicy
- aipAutoInstallConstraint :: Lens' AutoInstallPolicy [AutoInstallConstraint]
- aipAutoInstallPriority :: Lens' AutoInstallPolicy (Maybe Int32)
- aipAutoInstallMode :: Lens' AutoInstallPolicy (Maybe Text)
- aipMinimumVersionCode :: Lens' AutoInstallPolicy (Maybe Int32)
- data Entitlement
- entitlement :: Entitlement
- eeKind :: Lens' Entitlement Text
- eeReason :: Lens' Entitlement (Maybe Text)
- eeProductId :: Lens' Entitlement (Maybe Text)
- data ProductsListResponse
- productsListResponse :: ProductsListResponse
- plrTokenPagination :: Lens' ProductsListResponse (Maybe TokenPagination)
- plrPageInfo :: Lens' ProductsListResponse (Maybe PageInfo)
- plrKind :: Lens' ProductsListResponse Text
- plrProduct :: Lens' ProductsListResponse [Product]
- data WebApp
- webApp :: WebApp
- waWebAppId :: Lens' WebApp (Maybe Text)
- waVersionCode :: Lens' WebApp (Maybe Int64)
- waIcons :: Lens' WebApp [WebAppIcon]
- waStartURL :: Lens' WebApp (Maybe Text)
- waDisplayMode :: Lens' WebApp (Maybe Text)
- waIsPublished :: Lens' WebApp (Maybe Bool)
- waTitle :: Lens' WebApp (Maybe Text)
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 :<|> (UsersRevokeDeviceAccessResource :<|> (UsersSetAvailableProductSetResource :<|> (UsersRevokeTokenResource :<|> (UsersGetAvailableProductSetResource :<|> (UsersDeleteResource :<|> (UsersUpdateResource :<|> (InstallsListResource :<|> (InstallsPatchResource :<|> (InstallsGetResource :<|> (InstallsDeleteResource :<|> (InstallsUpdateResource :<|> (StorelayoutpagesInsertResource :<|> (StorelayoutpagesListResource :<|> (StorelayoutpagesPatchResource :<|> (StorelayoutpagesGetResource :<|> (StorelayoutpagesDeleteResource :<|> (StorelayoutpagesUpdateResource :<|> (ServiceAccountkeysInsertResource :<|> (ServiceAccountkeysListResource :<|> (ServiceAccountkeysDeleteResource :<|> (ManagedConfigurationssettingsListResource :<|> (EnterprisesCompleteSignupResource :<|> (EnterprisesCreateWebTokenResource :<|> (EnterprisesGetServiceAccountResource :<|> (EnterprisesListResource :<|> (EnterprisesUnenrollResource :<|> (EnterprisesGetStoreLayoutResource :<|> (EnterprisesSetAndroidDevicePolicyConfigResource :<|> (EnterprisesSetAccountResource :<|> (EnterprisesEnrollResource :<|> (EnterprisesGetResource :<|> (EnterprisesGenerateSignupURLResource :<|> (EnterprisesSendTestPushNotificationResource :<|> (EnterprisesSetStoreLayoutResource :<|> (EnterprisesGetAndroidDevicePolicyConfigResource :<|> (EnterprisesAcknowledgeNotificationSetResource :<|> (EnterprisesPullNotificationSetResource :<|> (ManagedConfigurationsforUserListResource :<|> (ManagedConfigurationsforUserPatchResource :<|> (ManagedConfigurationsforUserGetResource :<|> (ManagedConfigurationsforUserDeleteResource :<|> (ManagedConfigurationsforUserUpdateResource :<|> (GrouplicensesListResource :<|> (GrouplicensesGetResource :<|> (WebAppsInsertResource :<|> (WebAppsListResource :<|> (WebAppsPatchResource :<|> (WebAppsGetResource :<|> (WebAppsDeleteResource :<|> (WebAppsUpdateResource :<|> (EntitlementsListResource :<|> (EntitlementsPatchResource :<|> (EntitlementsGetResource :<|> (EntitlementsDeleteResource :<|> (EntitlementsUpdateResource :<|> (ManagedConfigurationsforDeviceListResource :<|> (ManagedConfigurationsforDevicePatchResource :<|> (ManagedConfigurationsforDeviceGetResource :<|> (ManagedConfigurationsforDeviceDeleteResource :<|> (ManagedConfigurationsforDeviceUpdateResource :<|> (PermissionsGetResource :<|> (ProductsGenerateApprovalURLResource :<|> (ProductsListResource :<|> (ProductsGetResource :<|> (ProductsGetAppRestrictionsSchemaResource :<|> (ProductsUnApproveResource :<|> (ProductsApproveResource :<|> (ProductsGetPermissionsResource :<|> (DevicesListResource :<|> (DevicesSetStateResource :<|> (DevicesPatchResource :<|> (DevicesGetResource :<|> (DevicesGetStateResource :<|> (DevicesUpdateResource :<|> 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.patch
androidenterprise.devices.setState
androidenterprise.devices.update
androidenterprise.enterprises.acknowledgeNotificationSet
androidenterprise.enterprises.completeSignup
androidenterprise.enterprises.createWebToken
androidenterprise.enterprises.enroll
androidenterprise.enterprises.generateSignupUrl
androidenterprise.enterprises.get
androidenterprise.enterprises.getAndroidDevicePolicyConfig
androidenterprise.enterprises.getServiceAccount
androidenterprise.enterprises.getStoreLayout
androidenterprise.enterprises.list
androidenterprise.enterprises.pullNotificationSet
androidenterprise.enterprises.sendTestPushNotification
androidenterprise.enterprises.setAccount
androidenterprise.enterprises.setAndroidDevicePolicyConfig
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.managedconfigurationssettings.list
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.revokeDeviceAccess
androidenterprise.users.revokeToken
androidenterprise.users.setAvailableProductSet
androidenterprise.users.update
androidenterprise.webapps.delete
androidenterprise.webapps.get
androidenterprise.webapps.insert
androidenterprise.webapps.list
androidenterprise.webapps.patch
androidenterprise.webapps.update
Types
GroupLicense
data GroupLicense Source #
Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.
See: groupLicense
smart constructor.
Instances
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 (for example, 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. 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.
glPermissions :: Lens' GroupLicense (Maybe Text) Source #
The permission approval status of the product. This field is only set if the product is approved. Possible states are: - "currentApproved", the current set of permissions is approved, but additional permissions will require the administrator to reapprove the product (If the product was approved without specifying the approved permissions setting, then this is the default behavior.), - "needsReapproval", the product has unapproved permissions. No additional product licenses can be assigned until the product is reapproved, - "allCurrentAndFutureApproved", the current permissions are approved and any future permission updates will be automatically approved without administrator review.
glProductId :: Lens' GroupLicense (Maybe Text) Source #
The ID of the product that the license is for. For example, "app:com.google.android.gm".
glAcquisitionKind :: Lens' GroupLicense (Maybe Text) Source #
How this group license was acquired. "bulkPurchase" means that this Grouplicenses resource was created because the enterprise purchased licenses for this product; otherwise, the value is "free" (for free products).
StoreLayoutPagesListResponse
data StoreLayoutPagesListResponse Source #
The store page resources for the enterprise.
See: storeLayoutPagesListResponse
smart constructor.
Instances
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".
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
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
appRestrictionsSchemaRestrictionRestrictionValue :: AppRestrictionsSchemaRestrictionRestrictionValue Source #
Creates a value of AppRestrictionsSchemaRestrictionRestrictionValue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
arsrrvType :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Text) Source #
The type of the value being provided.
arsrrvValueString :: Lens' AppRestrictionsSchemaRestrictionRestrictionValue (Maybe Text) Source #
The string value - this will be present for types string, choice and hidden.
AdministratorWebTokenSpecPlaySearch
data AdministratorWebTokenSpecPlaySearch Source #
Instances
administratorWebTokenSpecPlaySearch :: AdministratorWebTokenSpecPlaySearch Source #
Creates a value of AdministratorWebTokenSpecPlaySearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awtspsEnabled :: Lens' AdministratorWebTokenSpecPlaySearch (Maybe Bool) Source #
Whether the managed Play Search apps page is displayed. Default is true.
awtspsApproveApps :: Lens' AdministratorWebTokenSpecPlaySearch (Maybe Bool) Source #
Allow access to the iframe in approve mode. Default is false.
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
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
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
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:
AdministratorWebTokenSpecWebApps
data AdministratorWebTokenSpecWebApps Source #
Instances
administratorWebTokenSpecWebApps :: AdministratorWebTokenSpecWebApps Source #
Creates a value of AdministratorWebTokenSpecWebApps
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awtswaEnabled :: Lens' AdministratorWebTokenSpecWebApps (Maybe Bool) Source #
Whether the Web Apps page is displayed. Default is true.
ApprovalURLInfo
data ApprovalURLInfo Source #
Information on an approval URL.
See: approvalURLInfo
smart constructor.
Instances
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".
ManagedConfigurationsSettingsListResponse
data ManagedConfigurationsSettingsListResponse Source #
The managed configurations settings for a product.
See: managedConfigurationsSettingsListResponse
smart constructor.
Instances
managedConfigurationsSettingsListResponse :: ManagedConfigurationsSettingsListResponse Source #
Creates a value of ManagedConfigurationsSettingsListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcslrKind :: Lens' ManagedConfigurationsSettingsListResponse Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsSettingsListResponse".
mcslrManagedConfigurationsSettings :: Lens' ManagedConfigurationsSettingsListResponse [ManagedConfigurationsSettings] Source #
A managed configurations settings for an app that may be assigned to a group of users in an enterprise.
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
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.
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
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:
slclrCluster :: Lens' StoreLayoutClustersListResponse [StoreCluster] Source #
A store cluster of an enterprise.
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 defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.
See: managedConfiguration
smart constructor.
Instances
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".
mcConfigurationVariables :: Lens' ManagedConfiguration (Maybe ConfigurationVariables) Source #
Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
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
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
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.
awtsPrivateApps :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecPrivateApps) Source #
Options for displaying the Private Apps page.
awtsPlaySearch :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecPlaySearch) Source #
Options for displaying the managed Play Search apps page.
awtsKind :: Lens' AdministratorWebTokenSpec Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#administratorWebTokenSpec".
awtsWebApps :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecWebApps) Source #
Options for displaying the Web Apps page.
awtsPermission :: Lens' AdministratorWebTokenSpec [Text] Source #
Deprecated. Use PlaySearch.approveApps.
awtsStoreBuilder :: Lens' AdministratorWebTokenSpec (Maybe AdministratorWebTokenSpecStoreBuilder) Source #
Options for displaying the Organize apps page.
ProductVisibility
data ProductVisibility Source #
A product to be made visible to a user.
See: productVisibility
smart constructor.
Instances
productVisibility :: ProductVisibility Source #
Creates a value of ProductVisibility
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pvTrackIds :: Lens' ProductVisibility [Text] Source #
Grants the user visibility to the specified product track(s), identified by trackIds.
pvProductId :: Lens' ProductVisibility (Maybe Text) Source #
The product ID to make visible to the user. Required for each item in the productVisibility list.
Notification
data Notification Source #
A notification of one event relating to an enterprise.
See: notification
smart constructor.
Instances
notification :: Notification Source #
Creates a value of Notification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
nNotificationType :: Lens' Notification (Maybe Text) Source #
Type of the notification.
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
Instances
Eq PageInfo Source # | |
Data PageInfo Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product 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 # | |
ToJSON PageInfo Source # | |
FromJSON PageInfo Source # | |
type Rep PageInfo Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep PageInfo = D1 (MetaData "PageInfo" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "PageInfo'" PrefixI True) (S1 (MetaSel (Just "_piResultPerPage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_piTotalResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_piStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) |
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
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
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
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
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
A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
See: device
smart constructor.
Instances
Eq Device Source # | |
Data Device Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product 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 # | |
ToJSON Device Source # | |
FromJSON Device Source # | |
type Rep Device Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep Device = D1 (MetaData "Device" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "Device'" PrefixI True) ((S1 (MetaSel (Just "_dKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Policy))) :*: (S1 (MetaSel (Just "_dManagementType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dAndroidId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
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", no longer used (deprecated). - "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. For example, "123456789abcdef0".
AutoInstallConstraint
data AutoInstallConstraint Source #
The Auto install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
See: autoInstallConstraint
smart constructor.
Instances
autoInstallConstraint :: AutoInstallConstraint Source #
Creates a value of AutoInstallConstraint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aicChargingStateConstraint :: Lens' AutoInstallConstraint (Maybe Text) Source #
Charging state to constrain on.
aicDeviceIdleStateConstraint :: Lens' AutoInstallConstraint (Maybe Text) Source #
The idle state of the device to constrain on.
aicNetworkTypeConstraint :: Lens' AutoInstallConstraint (Maybe Text) Source #
Network type to constrain on.
ServiceAccountKey
data ServiceAccountKey Source #
Credentials that can be used to authenticate as a service account.
See: serviceAccountKey
smart constructor.
Instances
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.
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
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
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:
arsrRestrictionType :: Lens' AppRestrictionsSchemaRestriction (Maybe Text) Source #
The type of the restriction.
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.
arsrTitle :: Lens' AppRestrictionsSchemaRestriction (Maybe Text) Source #
The name of the restriction.
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.
ProductPolicy
data ProductPolicy Source #
The policy for a product.
See: productPolicy
smart constructor.
Instances
productPolicy :: ProductPolicy Source #
Creates a value of ProductPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ppTrackIds :: Lens' ProductPolicy [Text] Source #
Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
ppAutoInstallPolicy :: Lens' ProductPolicy (Maybe AutoInstallPolicy) Source #
The auto install policy for the product.
ppProductId :: Lens' ProductPolicy (Maybe Text) Source #
The ID of the product. For example, "app:com.google.android.gm".
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
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:
UsersListResponse
data UsersListResponse Source #
The matching user resources.
See: usersListResponse
smart constructor.
Instances
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".
AdministratorWebTokenSpecStoreBuilder
data AdministratorWebTokenSpecStoreBuilder Source #
Instances
administratorWebTokenSpecStoreBuilder :: AdministratorWebTokenSpecStoreBuilder Source #
Creates a value of AdministratorWebTokenSpecStoreBuilder
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awtssbEnabled :: Lens' AdministratorWebTokenSpecStoreBuilder (Maybe Bool) Source #
Whether the Organize apps page is displayed. Default is true.
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
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.
ManagedConfigurationsSettings
data ManagedConfigurationsSettings Source #
A managed configurations settings resource contains the set of managed properties that have been configured for an Android app to be applied to a set of users. The app's developer would have defined configurable properties in the managed configurations schema.
See: managedConfigurationsSettings
smart constructor.
Instances
managedConfigurationsSettings :: ManagedConfigurationsSettings Source #
Creates a value of ManagedConfigurationsSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcsLastUpdatedTimestampMillis :: Lens' ManagedConfigurationsSettings (Maybe Int64) Source #
The last updated time of the managed configuration settings in milliseconds since 1970-01-01T00:00:00Z.
mcsManagedProperty :: Lens' ManagedConfigurationsSettings [ManagedProperty] Source #
The set of managed properties for this configuration.
mcsKind :: Lens' ManagedConfigurationsSettings Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsSettings".
mcsMcmId :: Lens' ManagedConfigurationsSettings (Maybe Text) Source #
The ID of the managed configurations settings.
mcsName :: Lens' ManagedConfigurationsSettings (Maybe Text) Source #
The name of the managed configurations settings.
AppVersion
data AppVersion Source #
This represents a single version of the app.
See: appVersion
smart constructor.
Instances
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").
avTrackId :: Lens' AppVersion [Text] Source #
Track ids that the app version is published in. Replaces the track field (deprecated), but doesn't include the production track (see isProduction instead).
avIsProduction :: Lens' AppVersion (Maybe Bool) Source #
True if this version is a production APK.
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.
ReturnImmediately | returnImmediately |
WaitForNotifications | waitForNotifications |
Instances
ManagedPropertyBundle
data ManagedPropertyBundle Source #
A bundle of managed properties.
See: managedPropertyBundle
smart constructor.
Instances
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:
mpbManagedProperty :: Lens' ManagedPropertyBundle [ManagedProperty] Source #
The list of managed properties.
GroupLicensesListResponse
data GroupLicensesListResponse Source #
The grouplicense resources for the enterprise.
See: groupLicensesListResponse
smart constructor.
Instances
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".
AndroidDevicePolicyConfig
data AndroidDevicePolicyConfig Source #
Deprecated and unused.
See: androidDevicePolicyConfig
smart constructor.
Instances
androidDevicePolicyConfig :: AndroidDevicePolicyConfig Source #
Creates a value of AndroidDevicePolicyConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
adpcKind :: Lens' AndroidDevicePolicyConfig Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#androidDevicePolicyConfig".
ProductSet
data ProductSet Source #
A set of products.
See: productSet
smart constructor.
Instances
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:
psProductVisibility :: Lens' ProductSet [ProductVisibility] Source #
Additional list of product IDs making up the product set. Unlike the productID array, in this list It's possible to specify which tracks (alpha, beta, production) of a product are visible to the user. See ProductVisibility and its fields for more information. Specifying the same product ID both here and in the productId array is not allowed and it will result in an error.
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 is ignored if received. "whitelist" means that the user is entitled to access the product set. "includeAll" means that all products are accessible, including products that are approved, products with revoked approval, and products that have never been approved. "allApproved" means that the user is entitled to access all products that are approved for the enterprise. If the value is "allApproved" or "includeAll", the productId field is ignored. If no value is provided, it is interpreted as "whitelist" for backwards compatibility. Further "allApproved" or "includeAll" does not enable automatic visibility of "alpha" or "beta" tracks for Android app. Use ProductVisibility to enable "alpha" or "beta" tracks per user.
psProductId :: Lens' ProductSet [Text] Source #
The list of product IDs making up the set of products.
Install
The existence of an Installs 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 (for example, 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 # | |
Data Install Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product 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 # | |
ToJSON Install Source # | |
FromJSON Install Source # | |
type Rep Install Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep Install = D1 (MetaData "Install" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "Install'" PrefixI True) ((S1 (MetaSel (Just "_iVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_iKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_iInstallState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iProductId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
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. For example, "app:com.google.android.gm".
MaintenanceWindow
data MaintenanceWindow Source #
Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window.
See: maintenanceWindow
smart constructor.
Instances
maintenanceWindow :: MaintenanceWindow Source #
Creates a value of MaintenanceWindow
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mwDurationMs :: Lens' MaintenanceWindow (Maybe Int64) Source #
Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
mwStartTimeAfterMidnightMs :: Lens' MaintenanceWindow (Maybe Int64) Source #
Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
ServiceAccountKeysListResponse
data ServiceAccountKeysListResponse Source #
Instances
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:
saklrServiceAccountKey :: Lens' ServiceAccountKeysListResponse [ServiceAccountKey] Source #
The service account credentials.
TrackInfo
Id to name association of a track.
See: trackInfo
smart constructor.
Instances
Eq TrackInfo Source # | |
Data TrackInfo Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TrackInfo -> c TrackInfo # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TrackInfo # toConstr :: TrackInfo -> Constr # dataTypeOf :: TrackInfo -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TrackInfo) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TrackInfo) # gmapT :: (forall b. Data b => b -> b) -> TrackInfo -> TrackInfo # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TrackInfo -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TrackInfo -> r # gmapQ :: (forall d. Data d => d -> u) -> TrackInfo -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TrackInfo -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TrackInfo -> m TrackInfo # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TrackInfo -> m TrackInfo # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TrackInfo -> m TrackInfo # | |
Show TrackInfo Source # | |
Generic TrackInfo Source # | |
ToJSON TrackInfo Source # | |
FromJSON TrackInfo Source # | |
type Rep TrackInfo Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep TrackInfo = D1 (MetaData "TrackInfo" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "TrackInfo'" PrefixI True) (S1 (MetaSel (Just "_tiTrackAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tiTrackId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) |
trackInfo :: TrackInfo Source #
Creates a value of TrackInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tiTrackAlias :: Lens' TrackInfo (Maybe Text) Source #
A modifiable name for a track. This is the visible name in the play developer console.
tiTrackId :: Lens' TrackInfo (Maybe Text) Source #
Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information.
User
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 # | |
Data User Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product 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 # 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 # | |
Generic User Source # | |
ToJSON User Source # | |
FromJSON User Source # | |
type Rep User Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep User = D1 (MetaData "User" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "User'" PrefixI True) ((S1 (MetaSel (Just "_uAccountIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_uDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_uId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uPrimaryEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_uManagementType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uAccountType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
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.
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
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".
mcfdlrManagedConfigurationForDevice :: Lens' ManagedConfigurationsForDeviceListResponse [ManagedConfiguration] Source #
A managed configuration for an app on a specific device.
ProductsGenerateApprovalURLResponse
data ProductsGenerateApprovalURLResponse Source #
Instances
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
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
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 list can't include this page. It is recommended that the basic pages are created first, before adding the links between pages. The API doesn't verify that the pages exist or the pages are reachable.
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
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
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.
VariableSet
data VariableSet Source #
A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, FIRSTNAMEcouldbeaplaceholder, anditsvaluecouldbeAlice.Placeholdersshouldstartwitha′' sign and should be alphanumeric only.
See: variableSet
smart constructor.
Instances
variableSet :: VariableSet Source #
Creates a value of VariableSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vsKind :: Lens' VariableSet Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#variableSet".
vsUserValue :: Lens' VariableSet (Maybe Text) Source #
The value of the placeholder, specific to the user.
vsPlaceholder :: Lens' VariableSet (Maybe Text) Source #
The placeholder string; defined by EMM.
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
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
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".
elrEnterprise :: Lens' EnterprisesListResponse [Enterprise] Source #
An enterprise.
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
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
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.
WebAppIcon
data WebAppIcon Source #
Icon for a web app.
See: webAppIcon
smart constructor.
Instances
webAppIcon :: WebAppIcon Source #
Creates a value of WebAppIcon
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
waiImageData :: Lens' WebAppIcon (Maybe Text) Source #
The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512.
LocalizedText
data LocalizedText Source #
A localized string with its locale.
See: localizedText
smart constructor.
Instances
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:
ltLocale :: Lens' LocalizedText (Maybe Text) Source #
The BCP47 tag for a locale. (e.g. "en-US", "de").
UserToken
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 # | |
Defined in Network.Google.AndroidEnterprise.Types.Product 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 # | |
ToJSON UserToken Source # | |
FromJSON UserToken Source # | |
type Rep UserToken Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep UserToken = D1 (MetaData "UserToken" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "UserToken'" PrefixI True) (S1 (MetaSel (Just "_utKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_utToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_utUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
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.
AdministratorWebTokenSpecPrivateApps
data AdministratorWebTokenSpecPrivateApps Source #
Instances
administratorWebTokenSpecPrivateApps :: AdministratorWebTokenSpecPrivateApps Source #
Creates a value of AdministratorWebTokenSpecPrivateApps
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
awtspaEnabled :: Lens' AdministratorWebTokenSpecPrivateApps (Maybe Bool) Source #
Whether the Private Apps page is displayed. Default is true.
DevicesListResponse
data DevicesListResponse Source #
The device resources for the user.
See: devicesListResponse
smart constructor.
Instances
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".
ProductSigningCertificate
data ProductSigningCertificate Source #
Instances
productSigningCertificate :: ProductSigningCertificate Source #
Creates a value of ProductSigningCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pscCertificateHashSha256 :: Lens' ProductSigningCertificate (Maybe Text) Source #
The base64 urlsafe encoded SHA2-256 hash of the certificate.
pscCertificateHashSha1 :: Lens' ProductSigningCertificate (Maybe Text) Source #
The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.)
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
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".
InstallFailureEvent
data InstallFailureEvent Source #
An event generated when an app installation failed on a device
See: installFailureEvent
smart constructor.
Instances
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
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:
mcfulrManagedConfigurationForUser :: Lens' ManagedConfigurationsForUserListResponse [ManagedConfiguration] Source #
A managed configuration for an app for a specific user.
mcfulrKind :: Lens' ManagedConfigurationsForUserListResponse Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsForUserListResponse".
ConfigurationVariables
data ConfigurationVariables Source #
A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings.
See: configurationVariables
smart constructor.
Instances
configurationVariables :: ConfigurationVariables Source #
Creates a value of ConfigurationVariables
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cvKind :: Lens' ConfigurationVariables Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#configurationVariables".
cvMcmId :: Lens' ConfigurationVariables (Maybe Text) Source #
The ID of the managed configurations settings.
cvVariableSet :: Lens' ConfigurationVariables [VariableSet] Source #
The variable set that is attributed to the user.
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
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 the homepageId field is not set, and to "custom" otherwise. If set to "basic", the layout will consist of all approved apps that have been whitelisted for the user.
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 is the first page shown in the managed Google Play Store. Not specifying a homepage is equivalent to setting the store layout type to "basic".
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
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
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.
ndeDpcPackageName :: Lens' NewDeviceEvent (Maybe Text) Source #
Policy app on the device.
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 EMM in various deployment configurations. Possible values include: - "managedDevice", a device where the DPC is set as device owner, - "managedProfile", a device where the DPC is set as profile owner.
Policy
The device policy for a given managed device.
See: policy
smart constructor.
Instances
Eq Policy Source # | |
Data Policy Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy # toConstr :: Policy -> Constr # dataTypeOf :: Policy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) # gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r # gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy # | |
Show Policy Source # | |
Generic Policy Source # | |
ToJSON Policy Source # | |
FromJSON Policy Source # | |
type Rep Policy Source # | |
Defined in Network.Google.AndroidEnterprise.Types.Product type Rep Policy = D1 (MetaData "Policy" "Network.Google.AndroidEnterprise.Types.Product" "gogol-android-enterprise-0.4.0-AXWt9Q8V4E0DkwyzrsX7x3" False) (C1 (MetaCons "Policy'" PrefixI True) ((S1 (MetaSel (Just "_pProductAvailabilityPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pProductPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProductPolicy]))) :*: (S1 (MetaSel (Just "_pMaintenanceWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MaintenanceWindow)) :*: S1 (MetaSel (Just "_pAutoUpdatePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Policy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pProductAvailabilityPolicy :: Lens' Policy (Maybe Text) Source #
The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.
pProductPolicy :: Lens' Policy [ProductPolicy] Source #
The list of product policies.
pMaintenanceWindow :: Lens' Policy (Maybe MaintenanceWindow) Source #
The maintenance window defining when apps running in the foreground should be updated.
pAutoUpdatePolicy :: Lens' Policy (Maybe Text) Source #
The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
AdministratorWebToken
data AdministratorWebToken Source #
A token authorizing an admin to access an iframe.
See: administratorWebToken
smart constructor.
Instances
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
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
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
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:
pScreenshotURLs
pLastUpdatedTimestampMillis
pSmallIconURL
pAuthorName
pAppTracks
pKind
pWorkDetailsURL
pRequiresContainerApp
pCategory
pAppVersion
pProductPricing
pDistributionChannel
pMinAndroidSdkVersion
pAvailableCountries
pAvailableTracks
pIconURL
pPermissions
pTitle
pSigningCertificate
pContentRating
pProductId
pRecentChanges
pDescription
pDetailsURL
pLastUpdatedTimestampMillis :: Lens' Product (Maybe Int64) Source #
The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch.
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 (for example, 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.
pAppVersion :: Lens' Product [AppVersion] Source #
App versions currently available for this product.
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.
pMinAndroidSdkVersion :: Lens' Product (Maybe Int32) Source #
The minimum Android SDK necessary to run the app.
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.
pPermissions :: Lens' Product [ProductPermission] Source #
A list of permissions required by the app.
pSigningCertificate :: Lens' Product (Maybe ProductSigningCertificate) Source #
The certificate used to sign this product.
pProductId :: Lens' Product (Maybe Text) Source #
A string of the form app:. For example, app:com.google.android.gm represents the Gmail app.
pRecentChanges :: Lens' Product (Maybe Text) Source #
A description of the recent changes made to the app.
pDescription :: Lens' Product (Maybe Text) Source #
The localized promotional description, if available.
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
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.
GoogleCredentials | googleCredentials |
PKCS12 | pkcs12 |
Instances
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
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:
ppsKind :: Lens' ProductPermissions Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productPermissions".
ppsPermission :: Lens' ProductPermissions [ProductPermission] Source #
The permissions required by the app.
ppsProductId :: 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 Permissions resource 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 MDM user interface when obtaining consent from the enterprise.
See: permission
smart constructor.
Instances
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".
perDescription :: Lens' Permission (Maybe Text) Source #
A longer description of the Permissions resource, giving more details of what it affects.
perPermissionId :: Lens' Permission (Maybe Text) Source #
An opaque string uniquely identifying the permission.
WebAppsListResponse
data WebAppsListResponse Source #
The web app details for an enterprise.
See: webAppsListResponse
smart constructor.
Instances
webAppsListResponse :: WebAppsListResponse Source #
Creates a value of WebAppsListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
walrKind :: Lens' WebAppsListResponse Text Source #
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#webAppsListResponse".
walrWebApp :: Lens' WebAppsListResponse [WebApp] Source #
The manifest describing a web app.
ProductsApproveRequest
data ProductsApproveRequest Source #
Instances
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.
parApprovedPermissions :: Lens' ProductsApproveRequest (Maybe Text) Source #
Sets how new permission requests for the product are handled. "allPermissions" automatically approves all current and future permissions for the product. "currentPermissionsOnly" approves the current set of permissions for the product, but any future permissions added through updates will require manual reapproval. If not specified, only the current set of permissions will be approved.
AutoInstallPolicy
data AutoInstallPolicy Source #
Instances
autoInstallPolicy :: AutoInstallPolicy Source #
Creates a value of AutoInstallPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aipAutoInstallConstraint :: Lens' AutoInstallPolicy [AutoInstallConstraint] Source #
The constraints for the install. Currently there can be at most one constraint.
aipAutoInstallPriority :: Lens' AutoInstallPolicy (Maybe Int32) Source #
The priority of the install, as an unsigned integer. Lower number means higher priority.
aipAutoInstallMode :: Lens' AutoInstallPolicy (Maybe Text) Source #
The auto install mode. If unset defaults to AVAILABLE.
aipMinimumVersionCode :: Lens' AutoInstallPolicy (Maybe Int32) Source #
The minimum version of the app. If a lower version of the app is installed then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update.
Entitlement
data Entitlement Source #
The presence of an Entitlements resource indicates that a user has the right to use a particular app. Entitlements are user specific, not device specific. This allows a user with an entitlement to an app to install the app on all their devices. It's also possible for a user to hold an entitlement to an app without installing the app on any device. The API can be used to create an entitlement. As an option, you can also use the API to trigger the installation of an app on all a user's managed devices at the same time the entitlement is created. If the app is free, creating the entitlement also creates a group license for that app. For paid apps, creating the entitlement consumes one license, and that license remains consumed until the entitlement is removed. If the enterprise hasn't purchased enough licenses, then no entitlement is created and the installation fails. An entitlement is also not created for an app if the app requires permissions that the enterprise hasn't accepted. If an entitlement is deleted, the app may be uninstalled from a user's device. As a best practice, uninstall the app by calling Installs.delete() before deleting the entitlement. Entitlements for apps that a user pays for on an unmanaged profile have "userPurchase" as the entitlement reason. These entitlements cannot be removed via the API.
See: entitlement
smart constructor.
Instances
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. For example, "free" for free apps. This property 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. For example, "app:com.google.android.gm".
ProductsListResponse
data ProductsListResponse Source #
The matching products.
See: productsListResponse
smart constructor.
Instances
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.
WebApp
WebApp resource info.
See: webApp
smart constructor.
Instances
Creates a value of WebApp
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
waVersionCode :: Lens' WebApp (Maybe Int64) Source #
The current version of the app. Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date.
waIcons :: Lens' WebApp [WebAppIcon] Source #
A list of icons representing this website. Must have at least one element.
waStartURL :: Lens' WebApp (Maybe Text) Source #
The start URL, i.e. the URL that should load when the user opens the application.