gogol-android-enterprise 0.1.1 → 0.2.0
raw patch · 23 files changed
+218/−1764 lines, 23 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
- Network.Google.AndroidEnterprise: clrCollection :: Lens' CollectionsListResponse [Collection]
- Network.Google.AndroidEnterprise: clrKind :: Lens' CollectionsListResponse Text
- Network.Google.AndroidEnterprise: colCollectionId :: Lens' Collection (Maybe Text)
- Network.Google.AndroidEnterprise: colKind :: Lens' Collection Text
- Network.Google.AndroidEnterprise: colName :: Lens' Collection (Maybe Text)
- Network.Google.AndroidEnterprise: colProductId :: Lens' Collection [Text]
- Network.Google.AndroidEnterprise: colVisibility :: Lens' Collection (Maybe Text)
- Network.Google.AndroidEnterprise: collection :: Collection
- Network.Google.AndroidEnterprise: collectionViewersListResponse :: CollectionViewersListResponse
- Network.Google.AndroidEnterprise: collectionsListResponse :: CollectionsListResponse
- Network.Google.AndroidEnterprise: cvlrKind :: Lens' CollectionViewersListResponse Text
- Network.Google.AndroidEnterprise: cvlrUser :: Lens' CollectionViewersListResponse [User]
- Network.Google.AndroidEnterprise: data Collection
- Network.Google.AndroidEnterprise: data CollectionViewersListResponse
- Network.Google.AndroidEnterprise: data CollectionsListResponse
- Network.Google.AndroidEnterprise.Types: clrCollection :: Lens' CollectionsListResponse [Collection]
- Network.Google.AndroidEnterprise.Types: clrKind :: Lens' CollectionsListResponse Text
- Network.Google.AndroidEnterprise.Types: colCollectionId :: Lens' Collection (Maybe Text)
- Network.Google.AndroidEnterprise.Types: colKind :: Lens' Collection Text
- Network.Google.AndroidEnterprise.Types: colName :: Lens' Collection (Maybe Text)
- Network.Google.AndroidEnterprise.Types: colProductId :: Lens' Collection [Text]
- Network.Google.AndroidEnterprise.Types: colVisibility :: Lens' Collection (Maybe Text)
- Network.Google.AndroidEnterprise.Types: collection :: Collection
- Network.Google.AndroidEnterprise.Types: collectionViewersListResponse :: CollectionViewersListResponse
- Network.Google.AndroidEnterprise.Types: collectionsListResponse :: CollectionsListResponse
- Network.Google.AndroidEnterprise.Types: cvlrKind :: Lens' CollectionViewersListResponse Text
- Network.Google.AndroidEnterprise.Types: cvlrUser :: Lens' CollectionViewersListResponse [User]
- Network.Google.AndroidEnterprise.Types: data Collection
- Network.Google.AndroidEnterprise.Types: data CollectionViewersListResponse
- Network.Google.AndroidEnterprise.Types: data CollectionsListResponse
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: cddCollectionId :: Lens' CollectionsDelete Text
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: cddEnterpriseId :: Lens' CollectionsDelete Text
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: collectionsDelete :: Text -> Text -> CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: data CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collections.Delete.CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collections.Delete.CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collections.Delete.CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collections.Delete.CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collections.Delete.CollectionsDelete
- Network.Google.Resource.AndroidEnterprise.Collections.Delete: type CollectionsDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- Network.Google.Resource.AndroidEnterprise.Collections.Get: cgCollectionId :: Lens' CollectionsGet Text
- Network.Google.Resource.AndroidEnterprise.Collections.Get: cgEnterpriseId :: Lens' CollectionsGet Text
- Network.Google.Resource.AndroidEnterprise.Collections.Get: collectionsGet :: Text -> Text -> CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: data CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collections.Get.CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collections.Get.CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collections.Get.CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collections.Get.CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collections.Get.CollectionsGet
- Network.Google.Resource.AndroidEnterprise.Collections.Get: type CollectionsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Collection))))))
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: ciEnterpriseId :: Lens' CollectionsInsert Text
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: ciPayload :: Lens' CollectionsInsert Collection
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: collectionsInsert :: Text -> Collection -> CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: data CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collections.Insert.CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collections.Insert.CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collections.Insert.CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collections.Insert.CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collections.Insert.CollectionsInsert
- Network.Google.Resource.AndroidEnterprise.Collections.Insert: type CollectionsInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Post '[JSON] Collection))))))
- Network.Google.Resource.AndroidEnterprise.Collections.List: clEnterpriseId :: Lens' CollectionsList Text
- Network.Google.Resource.AndroidEnterprise.Collections.List: collectionsList :: Text -> CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: data CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collections.List.CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collections.List.CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collections.List.CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collections.List.CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collections.List.CollectionsList
- Network.Google.Resource.AndroidEnterprise.Collections.List: type CollectionsListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (QueryParam "alt" AltJSON :> Get '[JSON] CollectionsListResponse)))))
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: collectionsPatch :: Text -> Text -> Collection -> CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: cpCollectionId :: Lens' CollectionsPatch Text
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: cpEnterpriseId :: Lens' CollectionsPatch Text
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: cpPayload :: Lens' CollectionsPatch Collection
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: data CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collections.Patch.CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collections.Patch.CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collections.Patch.CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collections.Patch.CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collections.Patch.CollectionsPatch
- Network.Google.Resource.AndroidEnterprise.Collections.Patch: type CollectionsPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Patch '[JSON] Collection)))))))
- Network.Google.Resource.AndroidEnterprise.Collections.Update: collectionsUpdate :: Text -> Text -> Collection -> CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: cuuCollectionId :: Lens' CollectionsUpdate Text
- Network.Google.Resource.AndroidEnterprise.Collections.Update: cuuEnterpriseId :: Lens' CollectionsUpdate Text
- Network.Google.Resource.AndroidEnterprise.Collections.Update: cuuPayload :: Lens' CollectionsUpdate Collection
- Network.Google.Resource.AndroidEnterprise.Collections.Update: data CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collections.Update.CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collections.Update.CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collections.Update.CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collections.Update.CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collections.Update.CollectionsUpdate
- Network.Google.Resource.AndroidEnterprise.Collections.Update: type CollectionsUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Put '[JSON] Collection)))))))
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: cdCollectionId :: Lens' CollectionviewersDelete Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: cdEnterpriseId :: Lens' CollectionviewersDelete Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: cdUserId :: Lens' CollectionviewersDelete Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: collectionviewersDelete :: Text -> Text -> Text -> CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: data CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete.CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete.CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete.CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete.CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete.CollectionviewersDelete
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete: type CollectionviewersDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: cggCollectionId :: Lens' CollectionviewersGet Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: cggEnterpriseId :: Lens' CollectionviewersGet Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: cggUserId :: Lens' CollectionviewersGet Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: collectionviewersGet :: Text -> Text -> Text -> CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: data CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get.CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get.CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get.CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get.CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get.CollectionviewersGet
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get: type CollectionviewersGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] User))))))))
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: cCollectionId :: Lens' CollectionviewersList Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: cEnterpriseId :: Lens' CollectionviewersList Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: collectionviewersList :: Text -> Text -> CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: data CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collectionviewers.List.CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collectionviewers.List.CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collectionviewers.List.CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collectionviewers.List.CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collectionviewers.List.CollectionviewersList
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.List: type CollectionviewersListResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (QueryParam "alt" AltJSON :> Get '[JSON] CollectionViewersListResponse)))))))
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: collectionviewersPatch :: Text -> Text -> User -> Text -> CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: cppCollectionId :: Lens' CollectionviewersPatch Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: cppEnterpriseId :: Lens' CollectionviewersPatch Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: cppPayload :: Lens' CollectionviewersPatch User
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: cppUserId :: Lens' CollectionviewersPatch Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: data CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch.CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch.CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch.CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch.CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch.CollectionviewersPatch
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch: type CollectionviewersPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Patch '[JSON] User)))))))))
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: collectionviewersUpdate :: Text -> Text -> User -> Text -> CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: cuCollectionId :: Lens' CollectionviewersUpdate Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: cuEnterpriseId :: Lens' CollectionviewersUpdate Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: cuPayload :: Lens' CollectionviewersUpdate User
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: cuUserId :: Lens' CollectionviewersUpdate Text
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: data CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update.CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update.CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update.CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update.CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update.CollectionviewersUpdate
- Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update: type CollectionviewersUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] User)))))))))
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: data ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: instance Data.Data.Data Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions.ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: instance GHC.Classes.Eq Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions.ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: instance GHC.Generics.Generic Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions.ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: instance GHC.Show.Show Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions.ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: instance Network.Google.Types.GoogleRequest Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions.ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: productsUpdatePermissions :: Text -> ProductPermissions -> Text -> ProductsUpdatePermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: pupEnterpriseId :: Lens' ProductsUpdatePermissions Text
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: pupPayload :: Lens' ProductsUpdatePermissions ProductPermissions
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: pupProductId :: Lens' ProductsUpdatePermissions Text
- Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions: type ProductsUpdatePermissionsResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("products" :> (Capture "productId" Text :> ("permissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProductPermissions :> Put '[JSON] ProductPermissions))))))))
+ Network.Google.AndroidEnterprise: data NewDeviceEvent
+ Network.Google.AndroidEnterprise: nNewDeviceEvent :: Lens' Notification (Maybe NewDeviceEvent)
+ Network.Google.AndroidEnterprise: ndeDeviceId :: Lens' NewDeviceEvent (Maybe Text)
+ Network.Google.AndroidEnterprise: ndeManagementType :: Lens' NewDeviceEvent (Maybe Text)
+ Network.Google.AndroidEnterprise: ndeUserId :: Lens' NewDeviceEvent (Maybe Text)
+ Network.Google.AndroidEnterprise: newDeviceEvent :: NewDeviceEvent
+ Network.Google.AndroidEnterprise: sakPublicData :: Lens' ServiceAccountKey (Maybe Text)
+ Network.Google.AndroidEnterprise.Types: data NewDeviceEvent
+ Network.Google.AndroidEnterprise.Types: nNewDeviceEvent :: Lens' Notification (Maybe NewDeviceEvent)
+ Network.Google.AndroidEnterprise.Types: ndeDeviceId :: Lens' NewDeviceEvent (Maybe Text)
+ Network.Google.AndroidEnterprise.Types: ndeManagementType :: Lens' NewDeviceEvent (Maybe Text)
+ Network.Google.AndroidEnterprise.Types: ndeUserId :: Lens' NewDeviceEvent (Maybe Text)
+ Network.Google.AndroidEnterprise.Types: newDeviceEvent :: NewDeviceEvent
+ Network.Google.AndroidEnterprise.Types: sakPublicData :: Lens' ServiceAccountKey (Maybe Text)
- Network.Google.AndroidEnterprise: type AndroidEnterpriseAPI = StorelayoutclustersInsertResource :<|> (StorelayoutclustersListResource :<|> (StorelayoutclustersPatchResource :<|> (StorelayoutclustersGetResource :<|> (StorelayoutclustersDeleteResource :<|> (StorelayoutclustersUpdateResource :<|> (CollectionviewersListResource :<|> (CollectionviewersPatchResource :<|> (CollectionviewersGetResource :<|> (CollectionviewersDeleteResource :<|> (CollectionviewersUpdateResource :<|> (UsersInsertResource :<|> (UsersListResource :<|> (UsersGenerateTokenResource :<|> (UsersGenerateAuthenticationTokenResource :<|> (UsersPatchResource :<|> (UsersGetResource :<|> (UsersSetAvailableProductSetResource :<|> (UsersRevokeTokenResource :<|> (UsersGetAvailableProductSetResource :<|> (UsersDeleteResource :<|> (UsersUpdateResource :<|> (InstallsListResource :<|> (InstallsPatchResource :<|> (InstallsGetResource :<|> (InstallsDeleteResource :<|> (InstallsUpdateResource :<|> (StorelayoutpagesInsertResource :<|> (StorelayoutpagesListResource :<|> (StorelayoutpagesPatchResource :<|> (StorelayoutpagesGetResource :<|> (StorelayoutpagesDeleteResource :<|> (StorelayoutpagesUpdateResource :<|> (CollectionsInsertResource :<|> (CollectionsListResource :<|> (CollectionsPatchResource :<|> (CollectionsGetResource :<|> (CollectionsDeleteResource :<|> (CollectionsUpdateResource :<|> (ServiceAccountkeysInsertResource :<|> (ServiceAccountkeysListResource :<|> (ServiceAccountkeysDeleteResource :<|> (EnterprisesCompleteSignupResource :<|> (EnterprisesCreateWebTokenResource :<|> (EnterprisesInsertResource :<|> (EnterprisesGetServiceAccountResource :<|> (EnterprisesListResource :<|> (EnterprisesUnenrollResource :<|> (EnterprisesGetStoreLayoutResource :<|> (EnterprisesSetAccountResource :<|> (EnterprisesEnrollResource :<|> (EnterprisesGetResource :<|> (EnterprisesGenerateSignupURLResource :<|> (EnterprisesSendTestPushNotificationResource :<|> (EnterprisesSetStoreLayoutResource :<|> (EnterprisesAcknowledgeNotificationSetResource :<|> (EnterprisesPullNotificationSetResource :<|> (EnterprisesDeleteResource :<|> (ManagedConfigurationsforUserListResource :<|> (ManagedConfigurationsforUserPatchResource :<|> (ManagedConfigurationsforUserGetResource :<|> (ManagedConfigurationsforUserDeleteResource :<|> (ManagedConfigurationsforUserUpdateResource :<|> (GrouplicensesListResource :<|> (GrouplicensesGetResource :<|> (EntitlementsListResource :<|> (EntitlementsPatchResource :<|> (EntitlementsGetResource :<|> (EntitlementsDeleteResource :<|> (EntitlementsUpdateResource :<|> (ManagedConfigurationsforDeviceListResource :<|> (ManagedConfigurationsforDevicePatchResource :<|> (ManagedConfigurationsforDeviceGetResource :<|> (ManagedConfigurationsforDeviceDeleteResource :<|> (ManagedConfigurationsforDeviceUpdateResource :<|> (PermissionsGetResource :<|> (ProductsGenerateApprovalURLResource :<|> (ProductsListResource :<|> (ProductsGetResource :<|> (ProductsGetAppRestrictionsSchemaResource :<|> (ProductsUnApproveResource :<|> (ProductsApproveResource :<|> (ProductsGetPermissionsResource :<|> (ProductsUpdatePermissionsResource :<|> (DevicesListResource :<|> (DevicesSetStateResource :<|> (DevicesGetResource :<|> (DevicesGetStateResource :<|> GrouplicenseUsersListResource)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
+ Network.Google.AndroidEnterprise: type AndroidEnterpriseAPI = StorelayoutclustersInsertResource :<|> (StorelayoutclustersListResource :<|> (StorelayoutclustersPatchResource :<|> (StorelayoutclustersGetResource :<|> (StorelayoutclustersDeleteResource :<|> (StorelayoutclustersUpdateResource :<|> (UsersInsertResource :<|> (UsersListResource :<|> (UsersGenerateTokenResource :<|> (UsersGenerateAuthenticationTokenResource :<|> (UsersPatchResource :<|> (UsersGetResource :<|> (UsersSetAvailableProductSetResource :<|> (UsersRevokeTokenResource :<|> (UsersGetAvailableProductSetResource :<|> (UsersDeleteResource :<|> (UsersUpdateResource :<|> (InstallsListResource :<|> (InstallsPatchResource :<|> (InstallsGetResource :<|> (InstallsDeleteResource :<|> (InstallsUpdateResource :<|> (StorelayoutpagesInsertResource :<|> (StorelayoutpagesListResource :<|> (StorelayoutpagesPatchResource :<|> (StorelayoutpagesGetResource :<|> (StorelayoutpagesDeleteResource :<|> (StorelayoutpagesUpdateResource :<|> (ServiceAccountkeysInsertResource :<|> (ServiceAccountkeysListResource :<|> (ServiceAccountkeysDeleteResource :<|> (EnterprisesCompleteSignupResource :<|> (EnterprisesCreateWebTokenResource :<|> (EnterprisesInsertResource :<|> (EnterprisesGetServiceAccountResource :<|> (EnterprisesListResource :<|> (EnterprisesUnenrollResource :<|> (EnterprisesGetStoreLayoutResource :<|> (EnterprisesSetAccountResource :<|> (EnterprisesEnrollResource :<|> (EnterprisesGetResource :<|> (EnterprisesGenerateSignupURLResource :<|> (EnterprisesSendTestPushNotificationResource :<|> (EnterprisesSetStoreLayoutResource :<|> (EnterprisesAcknowledgeNotificationSetResource :<|> (EnterprisesPullNotificationSetResource :<|> (EnterprisesDeleteResource :<|> (ManagedConfigurationsforUserListResource :<|> (ManagedConfigurationsforUserPatchResource :<|> (ManagedConfigurationsforUserGetResource :<|> (ManagedConfigurationsforUserDeleteResource :<|> (ManagedConfigurationsforUserUpdateResource :<|> (GrouplicensesListResource :<|> (GrouplicensesGetResource :<|> (EntitlementsListResource :<|> (EntitlementsPatchResource :<|> (EntitlementsGetResource :<|> (EntitlementsDeleteResource :<|> (EntitlementsUpdateResource :<|> (ManagedConfigurationsforDeviceListResource :<|> (ManagedConfigurationsforDevicePatchResource :<|> (ManagedConfigurationsforDeviceGetResource :<|> (ManagedConfigurationsforDeviceDeleteResource :<|> (ManagedConfigurationsforDeviceUpdateResource :<|> (PermissionsGetResource :<|> (ProductsGenerateApprovalURLResource :<|> (ProductsListResource :<|> (ProductsGetResource :<|> (ProductsGetAppRestrictionsSchemaResource :<|> (ProductsUnApproveResource :<|> (ProductsApproveResource :<|> (ProductsGetPermissionsResource :<|> (DevicesListResource :<|> (DevicesSetStateResource :<|> (DevicesGetResource :<|> (DevicesGetStateResource :<|> GrouplicenseUsersListResource)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
Files
- README.md +1/−1
- gen/Network/Google/AndroidEnterprise.hs +9/−81
- gen/Network/Google/AndroidEnterprise/Types.hs +9/−21
- gen/Network/Google/AndroidEnterprise/Types/Product.hs +158/−266
- gen/Network/Google/Resource/AndroidEnterprise/Collections/Delete.hs +0/−101
- gen/Network/Google/Resource/AndroidEnterprise/Collections/Get.hs +0/−100
- gen/Network/Google/Resource/AndroidEnterprise/Collections/Insert.hs +0/−100
- gen/Network/Google/Resource/AndroidEnterprise/Collections/List.hs +0/−89
- gen/Network/Google/Resource/AndroidEnterprise/Collections/Patch.hs +0/−115
- gen/Network/Google/Resource/AndroidEnterprise/Collections/Update.hs +0/−114
- gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Delete.hs +0/−118
- gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Get.hs +0/−119
- gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/List.hs +0/−108
- gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Patch.hs +0/−134
- gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Update.hs +0/−131
- gen/Network/Google/Resource/AndroidEnterprise/Enterprises/CreateWebToken.hs +6/−6
- gen/Network/Google/Resource/AndroidEnterprise/Enterprises/SetStoreLayout.hs +14/−2
- gen/Network/Google/Resource/AndroidEnterprise/Products/Approve.hs +6/−6
- gen/Network/Google/Resource/AndroidEnterprise/Products/GetAppRestrictionsSchema.hs +6/−6
- gen/Network/Google/Resource/AndroidEnterprise/Products/List.hs +1/−1
- gen/Network/Google/Resource/AndroidEnterprise/Products/UpdatePermissions.hs +0/−127
- gen/Network/Google/Resource/AndroidEnterprise/Users/GenerateToken.hs +6/−4
- gogol-android-enterprise.cabal +2/−14
README.md view
@@ -8,7 +8,7 @@ ## Version -`0.1.1`+`0.2.0` ## Description
gen/Network/Google/AndroidEnterprise.hs view
@@ -29,39 +29,6 @@ -- * Resources - -- ** androidenterprise.collections.delete- , module Network.Google.Resource.AndroidEnterprise.Collections.Delete-- -- ** androidenterprise.collections.get- , module Network.Google.Resource.AndroidEnterprise.Collections.Get-- -- ** androidenterprise.collections.insert- , module Network.Google.Resource.AndroidEnterprise.Collections.Insert-- -- ** androidenterprise.collections.list- , module Network.Google.Resource.AndroidEnterprise.Collections.List-- -- ** androidenterprise.collections.patch- , module Network.Google.Resource.AndroidEnterprise.Collections.Patch-- -- ** androidenterprise.collections.update- , module Network.Google.Resource.AndroidEnterprise.Collections.Update-- -- ** androidenterprise.collectionviewers.delete- , module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete-- -- ** androidenterprise.collectionviewers.get- , module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get-- -- ** androidenterprise.collectionviewers.list- , module Network.Google.Resource.AndroidEnterprise.Collectionviewers.List-- -- ** androidenterprise.collectionviewers.patch- , module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch-- -- ** androidenterprise.collectionviewers.update- , module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update- -- ** androidenterprise.devices.get , module Network.Google.Resource.AndroidEnterprise.Devices.Get @@ -215,9 +182,6 @@ -- ** androidenterprise.products.unapprove , module Network.Google.Resource.AndroidEnterprise.Products.UnApprove - -- ** androidenterprise.products.updatePermissions- , module Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions- -- ** androidenterprise.serviceaccountkeys.delete , module Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Delete @@ -320,12 +284,6 @@ , eaKind , eaAccountEmail - -- ** CollectionsListResponse- , CollectionsListResponse- , collectionsListResponse- , clrKind- , clrCollection- -- ** AppRestrictionsSchemaRestrictionRestrictionValue , AppRestrictionsSchemaRestrictionRestrictionValue , appRestrictionsSchemaRestrictionRestrictionValue@@ -409,6 +367,7 @@ , nAppUpdateEvent , nInstallFailureEvent , nAppRestrictionsSchemaChangeEvent+ , nNewDeviceEvent , nTimestampMillis -- ** PageInfo@@ -457,6 +416,7 @@ , sakData , sakId , sakType+ , sakPublicData -- ** InstallsListResponse , InstallsListResponse@@ -513,15 +473,6 @@ , gllrGroupLicense , gllrKind - -- ** Collection- , Collection- , collection- , colKind- , colCollectionId- , colVisibility- , colName- , colProductId- -- ** ProductSet , ProductSet , productSet@@ -664,6 +615,13 @@ , appRestrictionsSchemaChangeEvent , arsceProductId + -- ** NewDeviceEvent+ , NewDeviceEvent+ , newDeviceEvent+ , ndeUserId+ , ndeDeviceId+ , ndeManagementType+ -- ** AdministratorWebToken , AdministratorWebToken , administratorWebToken@@ -722,12 +680,6 @@ , productsApproveRequest , parApprovalURLInfo - -- ** CollectionViewersListResponse- , CollectionViewersListResponse- , collectionViewersListResponse- , cvlrKind- , cvlrUser- -- ** Entitlement , Entitlement , entitlement@@ -746,17 +698,6 @@ import Network.Google.AndroidEnterprise.Types import Network.Google.Prelude-import Network.Google.Resource.AndroidEnterprise.Collections.Delete-import Network.Google.Resource.AndroidEnterprise.Collections.Get-import Network.Google.Resource.AndroidEnterprise.Collections.Insert-import Network.Google.Resource.AndroidEnterprise.Collections.List-import Network.Google.Resource.AndroidEnterprise.Collections.Patch-import Network.Google.Resource.AndroidEnterprise.Collections.Update-import Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete-import Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get-import Network.Google.Resource.AndroidEnterprise.Collectionviewers.List-import Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch-import Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update import Network.Google.Resource.AndroidEnterprise.Devices.Get import Network.Google.Resource.AndroidEnterprise.Devices.GetState import Network.Google.Resource.AndroidEnterprise.Devices.List@@ -808,7 +749,6 @@ import Network.Google.Resource.AndroidEnterprise.Products.GetPermissions import Network.Google.Resource.AndroidEnterprise.Products.List import Network.Google.Resource.AndroidEnterprise.Products.UnApprove-import Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions import Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Delete import Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert import Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.List@@ -848,11 +788,6 @@ :<|> StorelayoutclustersGetResource :<|> StorelayoutclustersDeleteResource :<|> StorelayoutclustersUpdateResource- :<|> CollectionviewersListResource- :<|> CollectionviewersPatchResource- :<|> CollectionviewersGetResource- :<|> CollectionviewersDeleteResource- :<|> CollectionviewersUpdateResource :<|> UsersInsertResource :<|> UsersListResource :<|> UsersGenerateTokenResource@@ -875,12 +810,6 @@ :<|> StorelayoutpagesGetResource :<|> StorelayoutpagesDeleteResource :<|> StorelayoutpagesUpdateResource- :<|> CollectionsInsertResource- :<|> CollectionsListResource- :<|> CollectionsPatchResource- :<|> CollectionsGetResource- :<|> CollectionsDeleteResource- :<|> CollectionsUpdateResource :<|> ServiceAccountkeysInsertResource :<|> ServiceAccountkeysListResource :<|> ServiceAccountkeysDeleteResource@@ -925,7 +854,6 @@ :<|> ProductsUnApproveResource :<|> ProductsApproveResource :<|> ProductsGetPermissionsResource- :<|> ProductsUpdatePermissionsResource :<|> DevicesListResource :<|> DevicesSetStateResource :<|> DevicesGetResource
gen/Network/Google/AndroidEnterprise/Types.hs view
@@ -44,12 +44,6 @@ , eaKind , eaAccountEmail - -- * CollectionsListResponse- , CollectionsListResponse- , collectionsListResponse- , clrKind- , clrCollection- -- * AppRestrictionsSchemaRestrictionRestrictionValue , AppRestrictionsSchemaRestrictionRestrictionValue , appRestrictionsSchemaRestrictionRestrictionValue@@ -133,6 +127,7 @@ , nAppUpdateEvent , nInstallFailureEvent , nAppRestrictionsSchemaChangeEvent+ , nNewDeviceEvent , nTimestampMillis -- * PageInfo@@ -181,6 +176,7 @@ , sakData , sakId , sakType+ , sakPublicData -- * InstallsListResponse , InstallsListResponse@@ -237,15 +233,6 @@ , gllrGroupLicense , gllrKind - -- * Collection- , Collection- , collection- , colKind- , colCollectionId- , colVisibility- , colName- , colProductId- -- * ProductSet , ProductSet , productSet@@ -388,6 +375,13 @@ , appRestrictionsSchemaChangeEvent , arsceProductId + -- * NewDeviceEvent+ , NewDeviceEvent+ , newDeviceEvent+ , ndeUserId+ , ndeDeviceId+ , ndeManagementType+ -- * AdministratorWebToken , AdministratorWebToken , administratorWebToken@@ -445,12 +439,6 @@ , ProductsApproveRequest , productsApproveRequest , parApprovalURLInfo-- -- * CollectionViewersListResponse- , CollectionViewersListResponse- , collectionViewersListResponse- , cvlrKind- , cvlrUser -- * Entitlement , Entitlement
gen/Network/Google/AndroidEnterprise/Types/Product.hs view
@@ -248,59 +248,6 @@ [Just ("kind" .= _eaKind), ("accountEmail" .=) <$> _eaAccountEmail]) --- | The collection resources for the enterprise.------ /See:/ 'collectionsListResponse' smart constructor.-data CollectionsListResponse = CollectionsListResponse'- { _clrKind :: !Text- , _clrCollection :: !(Maybe [Collection])- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsListResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'clrKind'------ * 'clrCollection'-collectionsListResponse- :: CollectionsListResponse-collectionsListResponse =- CollectionsListResponse'- { _clrKind = "androidenterprise#collectionsListResponse"- , _clrCollection = Nothing- }---- | Identifies what kind of resource this is. Value: the fixed string--- \"androidenterprise#collectionsListResponse\".-clrKind :: Lens' CollectionsListResponse Text-clrKind = lens _clrKind (\ s a -> s{_clrKind = a})---- | An ordered collection of products which can be made visible on the--- Google Play Store to a selected group of users.-clrCollection :: Lens' CollectionsListResponse [Collection]-clrCollection- = lens _clrCollection- (\ s a -> s{_clrCollection = a})- . _Default- . _Coerce--instance FromJSON CollectionsListResponse where- parseJSON- = withObject "CollectionsListResponse"- (\ o ->- CollectionsListResponse' <$>- (o .:? "kind" .!=- "androidenterprise#collectionsListResponse")- <*> (o .:? "collection" .!= mempty))--instance ToJSON CollectionsListResponse where- toJSON CollectionsListResponse'{..}- = object- (catMaybes- [Just ("kind" .= _clrKind),- ("collection" .=) <$> _clrCollection])- -- | A typed value for the restriction. -- -- /See:/ 'appRestrictionsSchemaRestrictionRestrictionValue' smart constructor.@@ -841,7 +788,7 @@ Just ("kind" .= _mcKind), ("productId" .=) <$> _mcProductId]) --- | Definition of a Google Play for Work store cluster, a list of products+-- | Definition of a managed Google Play store cluster, a list of products -- displayed as part of a store page. -- -- /See:/ 'storeCluster' smart constructor.@@ -976,7 +923,8 @@ -- | The list of permissions the admin is granted within the iframe. The -- admin will only be allowed to view an iframe if they have all of the--- permissions associated with it.+-- permissions associated with it. The only valid value is \"approveApps\"+-- that will allow the admin to access the iframe in \"approve\" mode. awtsPermission :: Lens' AdministratorWebTokenSpec [Text] awtsPermission = lens _awtsPermission@@ -1013,6 +961,7 @@ , _nAppUpdateEvent :: !(Maybe AppUpdateEvent) , _nInstallFailureEvent :: !(Maybe InstallFailureEvent) , _nAppRestrictionsSchemaChangeEvent :: !(Maybe AppRestrictionsSchemaChangeEvent)+ , _nNewDeviceEvent :: !(Maybe NewDeviceEvent) , _nTimestampMillis :: !(Maybe (Textual Int64)) } deriving (Eq,Show,Data,Typeable,Generic) @@ -1034,6 +983,8 @@ -- -- * 'nAppRestrictionsSchemaChangeEvent' --+-- * 'nNewDeviceEvent'+-- -- * 'nTimestampMillis' notification :: Notification@@ -1046,6 +997,7 @@ , _nAppUpdateEvent = Nothing , _nInstallFailureEvent = Nothing , _nAppRestrictionsSchemaChangeEvent = Nothing+ , _nNewDeviceEvent = Nothing , _nTimestampMillis = Nothing } @@ -1092,6 +1044,12 @@ = lens _nAppRestrictionsSchemaChangeEvent (\ s a -> s{_nAppRestrictionsSchemaChangeEvent = a}) +-- | Notifications about new devices.+nNewDeviceEvent :: Lens' Notification (Maybe NewDeviceEvent)+nNewDeviceEvent+ = lens _nNewDeviceEvent+ (\ s a -> s{_nNewDeviceEvent = a})+ -- | The time when the notification was published in milliseconds since -- 1970-01-01T00:00:00Z. This will always be present. nTimestampMillis :: Lens' Notification (Maybe Int64)@@ -1112,6 +1070,7 @@ <*> (o .:? "appUpdateEvent") <*> (o .:? "installFailureEvent") <*> (o .:? "appRestrictionsSchemaChangeEvent")+ <*> (o .:? "newDeviceEvent") <*> (o .:? "timestampMillis")) instance ToJSON Notification where@@ -1128,6 +1087,7 @@ ("installFailureEvent" .=) <$> _nInstallFailureEvent, ("appRestrictionsSchemaChangeEvent" .=) <$> _nAppRestrictionsSchemaChangeEvent,+ ("newDeviceEvent" .=) <$> _nNewDeviceEvent, ("timestampMillis" .=) <$> _nTimestampMillis]) --@@ -1448,17 +1408,17 @@ dKind :: Lens' Device Text dKind = lens _dKind (\ s a -> s{_dKind = a}) --- | Identifies the extent to which the device is controlled by an Android--- for Work EMM in various deployment configurations. Possible values+-- | 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 work profile managed by the DPC (DPC is profile owner) in--- addition to a separate, personal profile that is unavailable to the DPC,--- - \"containerApp\", a device running the Android for Work App. The--- Android for Work App is managed by the DPC, - \"unmanagedProfile\", a--- device that has been allowed (by the domain\'s admin, using the Admin--- Console to enable the privilege) to use Android for Work apps or Google--- Apps for Work, but the profile is itself not owned by a DPC.+-- that has a profile managed by the DPC (DPC is profile owner) in addition+-- to a separate, personal profile that is unavailable to the DPC, -+-- \"containerApp\", a device running the container App. The container App+-- is managed by the DPC, - \"unmanagedProfile\", a device that has been+-- allowed (by the domain\'s admin, using the Admin Console to enable the+-- privilege) to use managed Google Play, but the profile is itself not+-- owned by a DPC. dManagementType :: Lens' Device (Maybe Text) dManagementType = lens _dManagementType@@ -1491,10 +1451,11 @@ -- -- /See:/ 'serviceAccountKey' smart constructor. data ServiceAccountKey = ServiceAccountKey'- { _sakKind :: !Text- , _sakData :: !(Maybe Text)- , _sakId :: !(Maybe Text)- , _sakType :: !(Maybe Text)+ { _sakKind :: !Text+ , _sakData :: !(Maybe Text)+ , _sakId :: !(Maybe Text)+ , _sakType :: !(Maybe Text)+ , _sakPublicData :: !(Maybe Text) } deriving (Eq,Show,Data,Typeable,Generic) -- | Creates a value of 'ServiceAccountKey' with the minimum fields required to make a request.@@ -1508,6 +1469,8 @@ -- * 'sakId' -- -- * 'sakType'+--+-- * 'sakPublicData' serviceAccountKey :: ServiceAccountKey serviceAccountKey =@@ -1516,6 +1479,7 @@ , _sakData = Nothing , _sakId = Nothing , _sakType = Nothing+ , _sakPublicData = Nothing } -- | Identifies what kind of resource this is. Value: the fixed string@@ -1538,6 +1502,15 @@ sakType :: Lens' ServiceAccountKey (Maybe Text) sakType = lens _sakType (\ s a -> s{_sakType = a}) +-- | 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.+sakPublicData :: Lens' ServiceAccountKey (Maybe Text)+sakPublicData+ = lens _sakPublicData+ (\ s a -> s{_sakPublicData = a})+ instance FromJSON ServiceAccountKey where parseJSON = withObject "ServiceAccountKey"@@ -1547,14 +1520,16 @@ "androidenterprise#serviceAccountKey") <*> (o .:? "data") <*> (o .:? "id")- <*> (o .:? "type"))+ <*> (o .:? "type")+ <*> (o .:? "publicData")) instance ToJSON ServiceAccountKey where toJSON ServiceAccountKey'{..} = object (catMaybes [Just ("kind" .= _sakKind), ("data" .=) <$> _sakData,- ("id" .=) <$> _sakId, ("type" .=) <$> _sakType])+ ("id" .=) <$> _sakId, ("type" .=) <$> _sakType,+ ("publicData" .=) <$> _sakPublicData]) -- | The install resources for the device. --@@ -1743,8 +1718,8 @@ ("description" .=) <$> _arsrDescription, ("nestedRestriction" .=) <$> _arsrNestedRestriction]) --- | This represents an enterprise administrator who can manage the--- enterprise in the Google Play for Work Store.+-- | This represents an enterprise admin who can manage the enterprise in the+-- managed Google Play store. -- -- /See:/ 'administrator' smart constructor. newtype Administrator = Administrator'@@ -1763,7 +1738,7 @@ { _aEmail = Nothing } --- | The administrator\'s email address.+-- | The admin\'s email address. aEmail :: Lens' Administrator (Maybe Text) aEmail = lens _aEmail (\ s a -> s{_aEmail = a}) @@ -1907,7 +1882,7 @@ (\ s a -> s{_avVersionCode = a}) . mapping _Coerce --- | The string used in the Play Store by the app developer to identify the+-- | 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\"). avVersionString :: Lens' AppVersion (Maybe Text)@@ -2021,107 +1996,6 @@ [("groupLicense" .=) <$> _gllrGroupLicense, Just ("kind" .= _gllrKind)]) --- | A collection resource defines a named set of apps that is visible to a--- set of users in the Google Play Store app running on those users\'--- managed devices. Those users can then install any of those apps if they--- wish (which will trigger creation of install and entitlement resources).--- A user cannot install an app on a managed device unless the app is--- listed in at least one collection that is visible to that user. Note--- that the API can be used to directly install an app regardless of--- whether it is in any collection - so an enterprise has a choice of--- either directly pushing apps to users, or allowing users to install apps--- if they want. Which is appropriate will depend on the enterprise\'s--- policies and the purpose of the apps concerned.------ /See:/ 'collection' smart constructor.-data Collection = Collection'- { _colKind :: !Text- , _colCollectionId :: !(Maybe Text)- , _colVisibility :: !(Maybe Text)- , _colName :: !(Maybe Text)- , _colProductId :: !(Maybe [Text])- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'Collection' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'colKind'------ * 'colCollectionId'------ * 'colVisibility'------ * 'colName'------ * 'colProductId'-collection- :: Collection-collection =- Collection'- { _colKind = "androidenterprise#collection"- , _colCollectionId = Nothing- , _colVisibility = Nothing- , _colName = Nothing- , _colProductId = Nothing- }---- | Identifies what kind of resource this is. Value: the fixed string--- \"androidenterprise#collection\".-colKind :: Lens' Collection Text-colKind = lens _colKind (\ s a -> s{_colKind = a})---- | Arbitrary unique ID, allocated by the API on creation.-colCollectionId :: Lens' Collection (Maybe Text)-colCollectionId- = lens _colCollectionId- (\ s a -> s{_colCollectionId = a})---- | Whether this collection is visible to all users, or only to the users--- that have been granted access through the \"Collectionviewers\" API.--- With the launch of the \"setAvailableProductSet\" API, this property--- should always be set to \"viewersOnly\", as the \"allUsers\" option will--- bypass the \"availableProductSet\" for all users within a domain. The--- \"allUsers\" setting is deprecated, and will be removed.-colVisibility :: Lens' Collection (Maybe Text)-colVisibility- = lens _colVisibility- (\ s a -> s{_colVisibility = a})---- | A user-friendly name for the collection (should be unique), e.g.--- \"Accounting apps\".-colName :: Lens' Collection (Maybe Text)-colName = lens _colName (\ s a -> s{_colName = a})---- | The IDs of the products in the collection, in the order in which they--- should be displayed.-colProductId :: Lens' Collection [Text]-colProductId- = lens _colProductId (\ s a -> s{_colProductId = a})- . _Default- . _Coerce--instance FromJSON Collection where- parseJSON- = withObject "Collection"- (\ o ->- Collection' <$>- (o .:? "kind" .!= "androidenterprise#collection") <*>- (o .:? "collectionId")- <*> (o .:? "visibility")- <*> (o .:? "name")- <*> (o .:? "productId" .!= mempty))--instance ToJSON Collection where- toJSON Collection'{..}- = object- (catMaybes- [Just ("kind" .= _colKind),- ("collectionId" .=) <$> _colCollectionId,- ("visibility" .=) <$> _colVisibility,- ("name" .=) <$> _colName,- ("productId" .=) <$> _colProductId])- -- | A set of products. -- -- /See:/ 'productSet' smart constructor.@@ -2157,8 +2031,10 @@ -- | The interpretation of this product set. \"unknown\" should never be sent -- and ignored if received. \"whitelist\" means that this product set -- constitutes a whitelist. \"includeAll\" means that all products are--- accessible (the value of the productId field is therefore ignored). If a--- value is not supplied, it is interpreted to be \"whitelist\" for+-- accessible, including products that are approved, not approved, and even+-- products where approval has been revoked. If the value is+-- \"includeAll\", the value of the productId field is therefore ignored.+-- If a value is not supplied, it is interpreted to be \"whitelist\" for -- backwards compatibility. psProductSetBehavior :: Lens' ProductSet (Maybe Text) psProductSetBehavior@@ -2328,12 +2204,13 @@ -- | 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 Google Play for Work only, or to other Google--- services, depending on the identity model: - Google managed domain--- identity model requires synchronization to Google account sources (via--- primaryEmail). - Android for Work Accounts identity model provides a--- dynamic means for enterprises to create user or device accounts as--- needed. These accounts provide access to Google Play for Work only.+-- 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. data User = User'@@ -2554,9 +2431,9 @@ toJSON ProductsGenerateApprovalURLResponse'{..} = object (catMaybes [("url" .=) <$> _pgaurURL]) --- | Definition of a Google Play for Work store page, made of a localized--- name and links to other pages. A page also contains clusters defined as--- a subcollection.+-- | 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. data StorePage = StorePage'@@ -3001,9 +2878,9 @@ ("locale" .=) <$> _ltLocale]) -- | A UserToken is used by a user when setting up a managed device or--- profile with their work account on a device. When the user enters their--- email address and token (activation code) the appropriate EMM app can be--- automatically downloaded.+-- 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. data UserToken = UserToken'@@ -3117,12 +2994,13 @@ -- 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 Android for Work Accounts--- customers, the process involves using Enterprises.generateSignupUrl and--- Enterprises.completeSignup in conjunction with the Android for Work--- 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.+-- 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. data Enterprise = Enterprise'@@ -3162,8 +3040,8 @@ eKind :: Lens' Enterprise Text eKind = lens _eKind (\ s a -> s{_eKind = a}) --- | Administrators of the enterprise. This is only supported for enterprises--- created via the EMM-initiated flow.+-- | Admins of the enterprise. This is only supported for enterprises created+-- via the EMM-initiated flow. eAdministrator :: Lens' Enterprise [Administrator] eAdministrator = lens _eAdministrator@@ -3346,8 +3224,8 @@ _mcfulrManagedConfigurationForUser, Just ("kind" .= _mcfulrKind)]) --- | General setting for the Google Play for Work store layout, currently--- only specifying the page to display the first time the store is opened.+-- | 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. data StoreLayout = StoreLayout'@@ -3374,13 +3252,14 @@ , _slHomepageId = Nothing } --- | Sets a store layout type. If set to \"custom\", \"homepageId\" must be--- specified. If set to \"basic\", the layout will consist of all approved--- apps accessible by the user, split in pages of 100 each; in this case,--- \"homepageId\" must not be specified. The \"basic\" setting takes--- precedence over any existing collections setup for this enterprise (if--- any). Should the enterprise use collectionViewers for controlling access--- rights, these will still be respected.+-- | The store layout type. By default, this value is set to \"basic\". If+-- set to \"custom\", \"homepageId\" must be specified. If set to+-- \"basic\", the layout will consist of all approved apps accessible by+-- the user, split in pages of 100 each; in this case, \"homepageId\" must+-- not be specified. The \"basic\" setting takes precedence over any+-- existing collections setup for this enterprise (if any). Should the+-- enterprise use collectionViewers for controlling access rights, these+-- will still be respected. slStoreLayoutType :: Lens' StoreLayout (Maybe Text) slStoreLayoutType = lens _slStoreLayoutType@@ -3392,7 +3271,7 @@ slKind = lens _slKind (\ s a -> s{_slKind = a}) -- | The ID of the store page to be used as the homepage. The homepage will--- be used as the first page shown in the Google Play for Work store. If a+-- be used as the first page shown in the managed Google Play store. If a -- homepage has not been set, the Play store shown on devices will be -- empty. Not specifying a homepage on a store layout effectively empties -- the store. If there exists at least one page, this field must be set to@@ -3460,8 +3339,72 @@ = object (catMaybes [("productId" .=) <$> _arsceProductId]) --- | A token authorizing an administrator to access an iframe.+-- | An event generated when a new device is ready to be managed. --+-- /See:/ 'newDeviceEvent' smart constructor.+data NewDeviceEvent = NewDeviceEvent'+ { _ndeUserId :: !(Maybe Text)+ , _ndeDeviceId :: !(Maybe Text)+ , _ndeManagementType :: !(Maybe Text)+ } deriving (Eq,Show,Data,Typeable,Generic)++-- | 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'+--+-- * 'ndeDeviceId'+--+-- * 'ndeManagementType'+newDeviceEvent+ :: NewDeviceEvent+newDeviceEvent =+ NewDeviceEvent'+ { _ndeUserId = Nothing+ , _ndeDeviceId = Nothing+ , _ndeManagementType = Nothing+ }++-- | The ID of the user. This field will always be present.+ndeUserId :: Lens' NewDeviceEvent (Maybe Text)+ndeUserId+ = lens _ndeUserId (\ s a -> s{_ndeUserId = a})++-- | The Android ID of the device. This field will always be present.+ndeDeviceId :: Lens' NewDeviceEvent (Maybe Text)+ndeDeviceId+ = lens _ndeDeviceId (\ s a -> s{_ndeDeviceId = a})++-- | Identifies the extent to which the device is controlled by an Android+-- for Work EMM in various deployment configurations. Possible values+-- include: - \"managedDevice\", a device that has the EMM\'s device policy+-- controller (DPC) as the device owner, - \"managedProfile\", a device+-- that has a work profile managed by the DPC (DPC is profile owner) in+-- addition to a separate, personal profile that is unavailable to the DPC,+ndeManagementType :: Lens' NewDeviceEvent (Maybe Text)+ndeManagementType+ = lens _ndeManagementType+ (\ s a -> s{_ndeManagementType = a})++instance FromJSON NewDeviceEvent where+ parseJSON+ = withObject "NewDeviceEvent"+ (\ o ->+ NewDeviceEvent' <$>+ (o .:? "userId") <*> (o .:? "deviceId") <*>+ (o .:? "managementType"))++instance ToJSON NewDeviceEvent where+ toJSON NewDeviceEvent'{..}+ = object+ (catMaybes+ [("userId" .=) <$> _ndeUserId,+ ("deviceId" .=) <$> _ndeDeviceId,+ ("managementType" .=) <$> _ndeManagementType])++-- | A token authorizing an admin to access an iframe.+-- -- /See:/ 'administratorWebToken' smart constructor. data AdministratorWebToken = AdministratorWebToken' { _awtKind :: !Text@@ -3570,7 +3513,7 @@ [("completionToken" .=) <$> _siCompletionToken, Just ("kind" .= _siKind), ("url" .=) <$> _siURL]) --- | A Products resource represents an app in the Google Play Store that is+-- | 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@@ -3656,15 +3599,15 @@ pKind :: Lens' Product Text pKind = lens _pKind (\ s a -> s{_pKind = a}) --- | A link to the Google Play for Work details page for the product, for use--- by an Enterprise administrator.+-- | A link to the managed Google Play details page for the product, for use+-- by an Enterprise admin. pWorkDetailsURL :: Lens' Product (Maybe Text) pWorkDetailsURL = lens _pWorkDetailsURL (\ s a -> s{_pWorkDetailsURL = a}) --- | Whether this app can only be installed on devices using the Android for--- Work container app.+-- | Whether this app can only be installed on devices using the Android+-- container app. pRequiresContainerApp :: Lens' Product (Maybe Bool) pRequiresContainerApp = lens _pRequiresContainerApp@@ -3689,7 +3632,7 @@ -- | 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+-- 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)@@ -3991,57 +3934,6 @@ (catMaybes [("approvalUrlInfo" .=) <$> _parApprovalURLInfo]) --- | The user resources for the collection.------ /See:/ 'collectionViewersListResponse' smart constructor.-data CollectionViewersListResponse = CollectionViewersListResponse'- { _cvlrKind :: !Text- , _cvlrUser :: !(Maybe [User])- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionViewersListResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cvlrKind'------ * 'cvlrUser'-collectionViewersListResponse- :: CollectionViewersListResponse-collectionViewersListResponse =- CollectionViewersListResponse'- { _cvlrKind = "androidenterprise#collectionViewersListResponse"- , _cvlrUser = Nothing- }---- | Identifies what kind of resource this is. Value: the fixed string--- \"androidenterprise#collectionViewersListResponse\".-cvlrKind :: Lens' CollectionViewersListResponse Text-cvlrKind = lens _cvlrKind (\ s a -> s{_cvlrKind = a})---- | A user of an enterprise.-cvlrUser :: Lens' CollectionViewersListResponse [User]-cvlrUser- = lens _cvlrUser (\ s a -> s{_cvlrUser = a}) .- _Default- . _Coerce--instance FromJSON CollectionViewersListResponse where- parseJSON- = withObject "CollectionViewersListResponse"- (\ o ->- CollectionViewersListResponse' <$>- (o .:? "kind" .!=- "androidenterprise#collectionViewersListResponse")- <*> (o .:? "user" .!= mempty))--instance ToJSON CollectionViewersListResponse where- toJSON CollectionViewersListResponse'{..}- = object- (catMaybes- [Just ("kind" .= _cvlrKind),- ("user" .=) <$> _cvlrUser])- -- | The existence of an entitlement resource means that a user has the right -- to use a particular app on any of their devices. This might be because -- the app is free or because they have been allocated a license to the app@@ -4173,7 +4065,7 @@ plrKind :: Lens' ProductsListResponse Text plrKind = lens _plrKind (\ s a -> s{_plrKind = a}) --- | Information about a product (e.g. an app) in the Google Play Store, for+-- | Information about a product (e.g. an app) in the Google Play store, for -- display to an enterprise admin. plrProduct :: Lens' ProductsListResponse [Product] plrProduct
− gen/Network/Google/Resource/AndroidEnterprise/Collections/Delete.hs
@@ -1,101 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collections.Delete--- 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)------ Deletes a collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collections.delete@.-module Network.Google.Resource.AndroidEnterprise.Collections.Delete- (- -- * REST Resource- CollectionsDeleteResource-- -- * Creating a Request- , collectionsDelete- , CollectionsDelete-- -- * Request Lenses- , cddEnterpriseId- , cddCollectionId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collections.delete@ method which the--- 'CollectionsDelete' request conforms to.-type CollectionsDeleteResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] ()---- | Deletes a collection.------ /See:/ 'collectionsDelete' smart constructor.-data CollectionsDelete = CollectionsDelete'- { _cddEnterpriseId :: !Text- , _cddCollectionId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cddEnterpriseId'------ * 'cddCollectionId'-collectionsDelete- :: Text -- ^ 'cddEnterpriseId'- -> Text -- ^ 'cddCollectionId'- -> CollectionsDelete-collectionsDelete pCddEnterpriseId_ pCddCollectionId_ =- CollectionsDelete'- { _cddEnterpriseId = pCddEnterpriseId_- , _cddCollectionId = pCddCollectionId_- }---- | The ID of the enterprise.-cddEnterpriseId :: Lens' CollectionsDelete Text-cddEnterpriseId- = lens _cddEnterpriseId- (\ s a -> s{_cddEnterpriseId = a})---- | The ID of the collection.-cddCollectionId :: Lens' CollectionsDelete Text-cddCollectionId- = lens _cddCollectionId- (\ s a -> s{_cddCollectionId = a})--instance GoogleRequest CollectionsDelete where- type Rs CollectionsDelete = ()- type Scopes CollectionsDelete =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionsDelete'{..}- = go _cddEnterpriseId _cddCollectionId (Just AltJSON)- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionsDeleteResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collections/Get.hs
@@ -1,100 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collections.Get--- 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)------ Retrieves the details of a collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collections.get@.-module Network.Google.Resource.AndroidEnterprise.Collections.Get- (- -- * REST Resource- CollectionsGetResource-- -- * Creating a Request- , collectionsGet- , CollectionsGet-- -- * Request Lenses- , cgEnterpriseId- , cgCollectionId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collections.get@ method which the--- 'CollectionsGet' request conforms to.-type CollectionsGetResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] Collection---- | Retrieves the details of a collection.------ /See:/ 'collectionsGet' smart constructor.-data CollectionsGet = CollectionsGet'- { _cgEnterpriseId :: !Text- , _cgCollectionId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cgEnterpriseId'------ * 'cgCollectionId'-collectionsGet- :: Text -- ^ 'cgEnterpriseId'- -> Text -- ^ 'cgCollectionId'- -> CollectionsGet-collectionsGet pCgEnterpriseId_ pCgCollectionId_ =- CollectionsGet'- { _cgEnterpriseId = pCgEnterpriseId_- , _cgCollectionId = pCgCollectionId_- }---- | The ID of the enterprise.-cgEnterpriseId :: Lens' CollectionsGet Text-cgEnterpriseId- = lens _cgEnterpriseId- (\ s a -> s{_cgEnterpriseId = a})---- | The ID of the collection.-cgCollectionId :: Lens' CollectionsGet Text-cgCollectionId- = lens _cgCollectionId- (\ s a -> s{_cgCollectionId = a})--instance GoogleRequest CollectionsGet where- type Rs CollectionsGet = Collection- type Scopes CollectionsGet =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionsGet'{..}- = go _cgEnterpriseId _cgCollectionId (Just AltJSON)- androidEnterpriseService- where go- = buildClient (Proxy :: Proxy CollectionsGetResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collections/Insert.hs
@@ -1,100 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collections.Insert--- 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)------ Creates a new collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collections.insert@.-module Network.Google.Resource.AndroidEnterprise.Collections.Insert- (- -- * REST Resource- CollectionsInsertResource-- -- * Creating a Request- , collectionsInsert- , CollectionsInsert-- -- * Request Lenses- , ciEnterpriseId- , ciPayload- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collections.insert@ method which the--- 'CollectionsInsert' request conforms to.-type CollectionsInsertResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Collection :> Post '[JSON] Collection---- | Creates a new collection.------ /See:/ 'collectionsInsert' smart constructor.-data CollectionsInsert = CollectionsInsert'- { _ciEnterpriseId :: !Text- , _ciPayload :: !Collection- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsInsert' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ciEnterpriseId'------ * 'ciPayload'-collectionsInsert- :: Text -- ^ 'ciEnterpriseId'- -> Collection -- ^ 'ciPayload'- -> CollectionsInsert-collectionsInsert pCiEnterpriseId_ pCiPayload_ =- CollectionsInsert'- { _ciEnterpriseId = pCiEnterpriseId_- , _ciPayload = pCiPayload_- }---- | The ID of the enterprise.-ciEnterpriseId :: Lens' CollectionsInsert Text-ciEnterpriseId- = lens _ciEnterpriseId- (\ s a -> s{_ciEnterpriseId = a})---- | Multipart request metadata.-ciPayload :: Lens' CollectionsInsert Collection-ciPayload- = lens _ciPayload (\ s a -> s{_ciPayload = a})--instance GoogleRequest CollectionsInsert where- type Rs CollectionsInsert = Collection- type Scopes CollectionsInsert =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionsInsert'{..}- = go _ciEnterpriseId (Just AltJSON) _ciPayload- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionsInsertResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collections/List.hs
@@ -1,89 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collections.List--- 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)------ Retrieves the IDs of all the collections for an enterprise.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collections.list@.-module Network.Google.Resource.AndroidEnterprise.Collections.List- (- -- * REST Resource- CollectionsListResource-- -- * Creating a Request- , collectionsList- , CollectionsList-- -- * Request Lenses- , clEnterpriseId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collections.list@ method which the--- 'CollectionsList' request conforms to.-type CollectionsListResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- QueryParam "alt" AltJSON :>- Get '[JSON] CollectionsListResponse---- | Retrieves the IDs of all the collections for an enterprise.------ /See:/ 'collectionsList' smart constructor.-newtype CollectionsList = CollectionsList'- { _clEnterpriseId :: Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'clEnterpriseId'-collectionsList- :: Text -- ^ 'clEnterpriseId'- -> CollectionsList-collectionsList pClEnterpriseId_ =- CollectionsList'- { _clEnterpriseId = pClEnterpriseId_- }---- | The ID of the enterprise.-clEnterpriseId :: Lens' CollectionsList Text-clEnterpriseId- = lens _clEnterpriseId- (\ s a -> s{_clEnterpriseId = a})--instance GoogleRequest CollectionsList where- type Rs CollectionsList = CollectionsListResponse- type Scopes CollectionsList =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionsList'{..}- = go _clEnterpriseId (Just AltJSON)- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionsListResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collections/Patch.hs
@@ -1,115 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collections.Patch--- 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)------ Updates a collection. This method supports patch semantics.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collections.patch@.-module Network.Google.Resource.AndroidEnterprise.Collections.Patch- (- -- * REST Resource- CollectionsPatchResource-- -- * Creating a Request- , collectionsPatch- , CollectionsPatch-- -- * Request Lenses- , cpEnterpriseId- , cpCollectionId- , cpPayload- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collections.patch@ method which the--- 'CollectionsPatch' request conforms to.-type CollectionsPatchResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Collection :>- Patch '[JSON] Collection---- | Updates a collection. This method supports patch semantics.------ /See:/ 'collectionsPatch' smart constructor.-data CollectionsPatch = CollectionsPatch'- { _cpEnterpriseId :: !Text- , _cpCollectionId :: !Text- , _cpPayload :: !Collection- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cpEnterpriseId'------ * 'cpCollectionId'------ * 'cpPayload'-collectionsPatch- :: Text -- ^ 'cpEnterpriseId'- -> Text -- ^ 'cpCollectionId'- -> Collection -- ^ 'cpPayload'- -> CollectionsPatch-collectionsPatch pCpEnterpriseId_ pCpCollectionId_ pCpPayload_ =- CollectionsPatch'- { _cpEnterpriseId = pCpEnterpriseId_- , _cpCollectionId = pCpCollectionId_- , _cpPayload = pCpPayload_- }---- | The ID of the enterprise.-cpEnterpriseId :: Lens' CollectionsPatch Text-cpEnterpriseId- = lens _cpEnterpriseId- (\ s a -> s{_cpEnterpriseId = a})---- | The ID of the collection.-cpCollectionId :: Lens' CollectionsPatch Text-cpCollectionId- = lens _cpCollectionId- (\ s a -> s{_cpCollectionId = a})---- | Multipart request metadata.-cpPayload :: Lens' CollectionsPatch Collection-cpPayload- = lens _cpPayload (\ s a -> s{_cpPayload = a})--instance GoogleRequest CollectionsPatch where- type Rs CollectionsPatch = Collection- type Scopes CollectionsPatch =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionsPatch'{..}- = go _cpEnterpriseId _cpCollectionId (Just AltJSON)- _cpPayload- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionsPatchResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collections/Update.hs
@@ -1,114 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collections.Update--- 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)------ Updates a collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collections.update@.-module Network.Google.Resource.AndroidEnterprise.Collections.Update- (- -- * REST Resource- CollectionsUpdateResource-- -- * Creating a Request- , collectionsUpdate- , CollectionsUpdate-- -- * Request Lenses- , cuuEnterpriseId- , cuuCollectionId- , cuuPayload- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collections.update@ method which the--- 'CollectionsUpdate' request conforms to.-type CollectionsUpdateResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] Collection :> Put '[JSON] Collection---- | Updates a collection.------ /See:/ 'collectionsUpdate' smart constructor.-data CollectionsUpdate = CollectionsUpdate'- { _cuuEnterpriseId :: !Text- , _cuuCollectionId :: !Text- , _cuuPayload :: !Collection- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionsUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cuuEnterpriseId'------ * 'cuuCollectionId'------ * 'cuuPayload'-collectionsUpdate- :: Text -- ^ 'cuuEnterpriseId'- -> Text -- ^ 'cuuCollectionId'- -> Collection -- ^ 'cuuPayload'- -> CollectionsUpdate-collectionsUpdate pCuuEnterpriseId_ pCuuCollectionId_ pCuuPayload_ =- CollectionsUpdate'- { _cuuEnterpriseId = pCuuEnterpriseId_- , _cuuCollectionId = pCuuCollectionId_- , _cuuPayload = pCuuPayload_- }---- | The ID of the enterprise.-cuuEnterpriseId :: Lens' CollectionsUpdate Text-cuuEnterpriseId- = lens _cuuEnterpriseId- (\ s a -> s{_cuuEnterpriseId = a})---- | The ID of the collection.-cuuCollectionId :: Lens' CollectionsUpdate Text-cuuCollectionId- = lens _cuuCollectionId- (\ s a -> s{_cuuCollectionId = a})---- | Multipart request metadata.-cuuPayload :: Lens' CollectionsUpdate Collection-cuuPayload- = lens _cuuPayload (\ s a -> s{_cuuPayload = a})--instance GoogleRequest CollectionsUpdate where- type Rs CollectionsUpdate = Collection- type Scopes CollectionsUpdate =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionsUpdate'{..}- = go _cuuEnterpriseId _cuuCollectionId (Just AltJSON)- _cuuPayload- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionsUpdateResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Delete.hs
@@ -1,118 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete--- 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)------ Removes the user from the list of those specifically allowed to see the--- collection. If the collection\'s visibility is set to viewersOnly then--- only such users will see the collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collectionviewers.delete@.-module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete- (- -- * REST Resource- CollectionviewersDeleteResource-- -- * Creating a Request- , collectionviewersDelete- , CollectionviewersDelete-- -- * Request Lenses- , cdEnterpriseId- , cdCollectionId- , cdUserId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collectionviewers.delete@ method which the--- 'CollectionviewersDelete' request conforms to.-type CollectionviewersDeleteResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- "users" :>- Capture "userId" Text :>- QueryParam "alt" AltJSON :> Delete '[JSON] ()---- | Removes the user from the list of those specifically allowed to see the--- collection. If the collection\'s visibility is set to viewersOnly then--- only such users will see the collection.------ /See:/ 'collectionviewersDelete' smart constructor.-data CollectionviewersDelete = CollectionviewersDelete'- { _cdEnterpriseId :: !Text- , _cdCollectionId :: !Text- , _cdUserId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionviewersDelete' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdEnterpriseId'------ * 'cdCollectionId'------ * 'cdUserId'-collectionviewersDelete- :: Text -- ^ 'cdEnterpriseId'- -> Text -- ^ 'cdCollectionId'- -> Text -- ^ 'cdUserId'- -> CollectionviewersDelete-collectionviewersDelete pCdEnterpriseId_ pCdCollectionId_ pCdUserId_ =- CollectionviewersDelete'- { _cdEnterpriseId = pCdEnterpriseId_- , _cdCollectionId = pCdCollectionId_- , _cdUserId = pCdUserId_- }---- | The ID of the enterprise.-cdEnterpriseId :: Lens' CollectionviewersDelete Text-cdEnterpriseId- = lens _cdEnterpriseId- (\ s a -> s{_cdEnterpriseId = a})---- | The ID of the collection.-cdCollectionId :: Lens' CollectionviewersDelete Text-cdCollectionId- = lens _cdCollectionId- (\ s a -> s{_cdCollectionId = a})---- | The ID of the user.-cdUserId :: Lens' CollectionviewersDelete Text-cdUserId = lens _cdUserId (\ s a -> s{_cdUserId = a})--instance GoogleRequest CollectionviewersDelete where- type Rs CollectionviewersDelete = ()- type Scopes CollectionviewersDelete =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionviewersDelete'{..}- = go _cdEnterpriseId _cdCollectionId _cdUserId- (Just AltJSON)- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionviewersDeleteResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Get.hs
@@ -1,119 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get--- 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)------ Retrieves the ID of the user if they have been specifically allowed to--- see the collection. If the collection\'s visibility is set to--- viewersOnly then only these users will see the collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collectionviewers.get@.-module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get- (- -- * REST Resource- CollectionviewersGetResource-- -- * Creating a Request- , collectionviewersGet- , CollectionviewersGet-- -- * Request Lenses- , cggEnterpriseId- , cggCollectionId- , cggUserId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collectionviewers.get@ method which the--- 'CollectionviewersGet' request conforms to.-type CollectionviewersGetResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- "users" :>- Capture "userId" Text :>- QueryParam "alt" AltJSON :> Get '[JSON] User---- | Retrieves the ID of the user if they have been specifically allowed to--- see the collection. If the collection\'s visibility is set to--- viewersOnly then only these users will see the collection.------ /See:/ 'collectionviewersGet' smart constructor.-data CollectionviewersGet = CollectionviewersGet'- { _cggEnterpriseId :: !Text- , _cggCollectionId :: !Text- , _cggUserId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionviewersGet' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cggEnterpriseId'------ * 'cggCollectionId'------ * 'cggUserId'-collectionviewersGet- :: Text -- ^ 'cggEnterpriseId'- -> Text -- ^ 'cggCollectionId'- -> Text -- ^ 'cggUserId'- -> CollectionviewersGet-collectionviewersGet pCggEnterpriseId_ pCggCollectionId_ pCggUserId_ =- CollectionviewersGet'- { _cggEnterpriseId = pCggEnterpriseId_- , _cggCollectionId = pCggCollectionId_- , _cggUserId = pCggUserId_- }---- | The ID of the enterprise.-cggEnterpriseId :: Lens' CollectionviewersGet Text-cggEnterpriseId- = lens _cggEnterpriseId- (\ s a -> s{_cggEnterpriseId = a})---- | The ID of the collection.-cggCollectionId :: Lens' CollectionviewersGet Text-cggCollectionId- = lens _cggCollectionId- (\ s a -> s{_cggCollectionId = a})---- | The ID of the user.-cggUserId :: Lens' CollectionviewersGet Text-cggUserId- = lens _cggUserId (\ s a -> s{_cggUserId = a})--instance GoogleRequest CollectionviewersGet where- type Rs CollectionviewersGet = User- type Scopes CollectionviewersGet =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionviewersGet'{..}- = go _cggEnterpriseId _cggCollectionId _cggUserId- (Just AltJSON)- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionviewersGetResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/List.hs
@@ -1,108 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collectionviewers.List--- 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)------ Retrieves the IDs of the users who have been specifically allowed to see--- the collection. If the collection\'s visibility is set to viewersOnly--- then only these users will see the collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collectionviewers.list@.-module Network.Google.Resource.AndroidEnterprise.Collectionviewers.List- (- -- * REST Resource- CollectionviewersListResource-- -- * Creating a Request- , collectionviewersList- , CollectionviewersList-- -- * Request Lenses- , cEnterpriseId- , cCollectionId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collectionviewers.list@ method which the--- 'CollectionviewersList' request conforms to.-type CollectionviewersListResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- "users" :>- QueryParam "alt" AltJSON :>- Get '[JSON] CollectionViewersListResponse---- | Retrieves the IDs of the users who have been specifically allowed to see--- the collection. If the collection\'s visibility is set to viewersOnly--- then only these users will see the collection.------ /See:/ 'collectionviewersList' smart constructor.-data CollectionviewersList = CollectionviewersList'- { _cEnterpriseId :: !Text- , _cCollectionId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionviewersList' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cEnterpriseId'------ * 'cCollectionId'-collectionviewersList- :: Text -- ^ 'cEnterpriseId'- -> Text -- ^ 'cCollectionId'- -> CollectionviewersList-collectionviewersList pCEnterpriseId_ pCCollectionId_ =- CollectionviewersList'- { _cEnterpriseId = pCEnterpriseId_- , _cCollectionId = pCCollectionId_- }---- | The ID of the enterprise.-cEnterpriseId :: Lens' CollectionviewersList Text-cEnterpriseId- = lens _cEnterpriseId- (\ s a -> s{_cEnterpriseId = a})---- | The ID of the collection.-cCollectionId :: Lens' CollectionviewersList Text-cCollectionId- = lens _cCollectionId- (\ s a -> s{_cCollectionId = a})--instance GoogleRequest CollectionviewersList where- type Rs CollectionviewersList =- CollectionViewersListResponse- type Scopes CollectionviewersList =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionviewersList'{..}- = go _cEnterpriseId _cCollectionId (Just AltJSON)- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionviewersListResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Patch.hs
@@ -1,134 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch--- 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)------ Adds the user to the list of those specifically allowed to see the--- collection. If the collection\'s visibility is set to viewersOnly then--- only such users will see the collection. This method supports patch--- semantics.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collectionviewers.patch@.-module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch- (- -- * REST Resource- CollectionviewersPatchResource-- -- * Creating a Request- , collectionviewersPatch- , CollectionviewersPatch-- -- * Request Lenses- , cppEnterpriseId- , cppCollectionId- , cppPayload- , cppUserId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collectionviewers.patch@ method which the--- 'CollectionviewersPatch' request conforms to.-type CollectionviewersPatchResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- "users" :>- Capture "userId" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] User :> Patch '[JSON] User---- | Adds the user to the list of those specifically allowed to see the--- collection. If the collection\'s visibility is set to viewersOnly then--- only such users will see the collection. This method supports patch--- semantics.------ /See:/ 'collectionviewersPatch' smart constructor.-data CollectionviewersPatch = CollectionviewersPatch'- { _cppEnterpriseId :: !Text- , _cppCollectionId :: !Text- , _cppPayload :: !User- , _cppUserId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionviewersPatch' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cppEnterpriseId'------ * 'cppCollectionId'------ * 'cppPayload'------ * 'cppUserId'-collectionviewersPatch- :: Text -- ^ 'cppEnterpriseId'- -> Text -- ^ 'cppCollectionId'- -> User -- ^ 'cppPayload'- -> Text -- ^ 'cppUserId'- -> CollectionviewersPatch-collectionviewersPatch pCppEnterpriseId_ pCppCollectionId_ pCppPayload_ pCppUserId_ =- CollectionviewersPatch'- { _cppEnterpriseId = pCppEnterpriseId_- , _cppCollectionId = pCppCollectionId_- , _cppPayload = pCppPayload_- , _cppUserId = pCppUserId_- }---- | The ID of the enterprise.-cppEnterpriseId :: Lens' CollectionviewersPatch Text-cppEnterpriseId- = lens _cppEnterpriseId- (\ s a -> s{_cppEnterpriseId = a})---- | The ID of the collection.-cppCollectionId :: Lens' CollectionviewersPatch Text-cppCollectionId- = lens _cppCollectionId- (\ s a -> s{_cppCollectionId = a})---- | Multipart request metadata.-cppPayload :: Lens' CollectionviewersPatch User-cppPayload- = lens _cppPayload (\ s a -> s{_cppPayload = a})---- | The ID of the user.-cppUserId :: Lens' CollectionviewersPatch Text-cppUserId- = lens _cppUserId (\ s a -> s{_cppUserId = a})--instance GoogleRequest CollectionviewersPatch where- type Rs CollectionviewersPatch = User- type Scopes CollectionviewersPatch =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionviewersPatch'{..}- = go _cppEnterpriseId _cppCollectionId _cppUserId- (Just AltJSON)- _cppPayload- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionviewersPatchResource)- mempty
− gen/Network/Google/Resource/AndroidEnterprise/Collectionviewers/Update.hs
@@ -1,131 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update--- 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)------ Adds the user to the list of those specifically allowed to see the--- collection. If the collection\'s visibility is set to viewersOnly then--- only such users will see the collection.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.collectionviewers.update@.-module Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update- (- -- * REST Resource- CollectionviewersUpdateResource-- -- * Creating a Request- , collectionviewersUpdate- , CollectionviewersUpdate-- -- * Request Lenses- , cuEnterpriseId- , cuCollectionId- , cuPayload- , cuUserId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.collectionviewers.update@ method which the--- 'CollectionviewersUpdate' request conforms to.-type CollectionviewersUpdateResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "collections" :>- Capture "collectionId" Text :>- "users" :>- Capture "userId" Text :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] User :> Put '[JSON] User---- | Adds the user to the list of those specifically allowed to see the--- collection. If the collection\'s visibility is set to viewersOnly then--- only such users will see the collection.------ /See:/ 'collectionviewersUpdate' smart constructor.-data CollectionviewersUpdate = CollectionviewersUpdate'- { _cuEnterpriseId :: !Text- , _cuCollectionId :: !Text- , _cuPayload :: !User- , _cuUserId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'CollectionviewersUpdate' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cuEnterpriseId'------ * 'cuCollectionId'------ * 'cuPayload'------ * 'cuUserId'-collectionviewersUpdate- :: Text -- ^ 'cuEnterpriseId'- -> Text -- ^ 'cuCollectionId'- -> User -- ^ 'cuPayload'- -> Text -- ^ 'cuUserId'- -> CollectionviewersUpdate-collectionviewersUpdate pCuEnterpriseId_ pCuCollectionId_ pCuPayload_ pCuUserId_ =- CollectionviewersUpdate'- { _cuEnterpriseId = pCuEnterpriseId_- , _cuCollectionId = pCuCollectionId_- , _cuPayload = pCuPayload_- , _cuUserId = pCuUserId_- }---- | The ID of the enterprise.-cuEnterpriseId :: Lens' CollectionviewersUpdate Text-cuEnterpriseId- = lens _cuEnterpriseId- (\ s a -> s{_cuEnterpriseId = a})---- | The ID of the collection.-cuCollectionId :: Lens' CollectionviewersUpdate Text-cuCollectionId- = lens _cuCollectionId- (\ s a -> s{_cuCollectionId = a})---- | Multipart request metadata.-cuPayload :: Lens' CollectionviewersUpdate User-cuPayload- = lens _cuPayload (\ s a -> s{_cuPayload = a})---- | The ID of the user.-cuUserId :: Lens' CollectionviewersUpdate Text-cuUserId = lens _cuUserId (\ s a -> s{_cuUserId = a})--instance GoogleRequest CollectionviewersUpdate where- type Rs CollectionviewersUpdate = User- type Scopes CollectionviewersUpdate =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient CollectionviewersUpdate'{..}- = go _cuEnterpriseId _cuCollectionId _cuUserId- (Just AltJSON)- _cuPayload- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy CollectionviewersUpdateResource)- mempty
gen/Network/Google/Resource/AndroidEnterprise/Enterprises/CreateWebToken.hs view
@@ -21,9 +21,9 @@ -- Portability : non-portable (GHC extensions) -- -- Returns a unique token to access an embeddable UI. To generate a web UI,--- pass the generated token into the Play for Work javascript API. Each--- token may only be used to start one UI session. See the javascript API--- documentation for further information.+-- pass the generated token into the managed Google Play javascript API.+-- Each token may only be used to start one UI session. See the javascript+-- API documentation for further information. -- -- /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.enterprises.createWebToken@. module Network.Google.Resource.AndroidEnterprise.Enterprises.CreateWebToken@@ -56,9 +56,9 @@ Post '[JSON] AdministratorWebToken -- | Returns a unique token to access an embeddable UI. To generate a web UI,--- pass the generated token into the Play for Work javascript API. Each--- token may only be used to start one UI session. See the javascript API--- documentation for further information.+-- pass the generated token into the managed Google Play javascript API.+-- Each token may only be used to start one UI session. See the javascript+-- API documentation for further information. -- -- /See:/ 'enterprisesCreateWebToken' smart constructor. data EnterprisesCreateWebToken = EnterprisesCreateWebToken'
gen/Network/Google/Resource/AndroidEnterprise/Enterprises/SetStoreLayout.hs view
@@ -20,7 +20,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the store layout for the enterprise.+-- Sets the store layout for the enterprise. By default, storeLayoutType is+-- set to \"basic\" and the basic store layout is enabled. The basic layout+-- only contains apps approved by the admin, and that have been added to+-- the available product set for a user (using the setAvailableProductSet+-- call). Apps on the page are sorted in order of their product ID value.+-- If you create a custom store layout (by setting storeLayoutType =+-- \"custom\"), the basic store layout is disabled. -- -- /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.enterprises.setStoreLayout@. module Network.Google.Resource.AndroidEnterprise.Enterprises.SetStoreLayout@@ -52,7 +58,13 @@ ReqBody '[JSON] StoreLayout :> Put '[JSON] StoreLayout --- | Sets the store layout for the enterprise.+-- | Sets the store layout for the enterprise. By default, storeLayoutType is+-- set to \"basic\" and the basic store layout is enabled. The basic layout+-- only contains apps approved by the admin, and that have been added to+-- the available product set for a user (using the setAvailableProductSet+-- call). Apps on the page are sorted in order of their product ID value.+-- If you create a custom store layout (by setting storeLayoutType =+-- \"custom\"), the basic store layout is disabled. -- -- /See:/ 'enterprisesSetStoreLayout' smart constructor. data EnterprisesSetStoreLayout = EnterprisesSetStoreLayout'
gen/Network/Google/Resource/AndroidEnterprise/Products/Approve.hs view
@@ -22,9 +22,9 @@ -- -- Approves the specified product and the relevant app permissions, if any. -- The maximum number of products that you can approve per enterprise--- customer is 1,000. To learn how to use Google Play for Work to design--- and create a store layout to display approved products to your users,--- see Store Layout Design.+-- customer is 1,000. To learn how to use managed Google Play to design and+-- create a store layout to display approved products to your users, see+-- Store Layout Design. -- -- /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.products.approve@. module Network.Google.Resource.AndroidEnterprise.Products.Approve@@ -61,9 +61,9 @@ -- | Approves the specified product and the relevant app permissions, if any. -- The maximum number of products that you can approve per enterprise--- customer is 1,000. To learn how to use Google Play for Work to design--- and create a store layout to display approved products to your users,--- see Store Layout Design.+-- customer is 1,000. To learn how to use managed Google Play to design and+-- create a store layout to display approved products to your users, see+-- Store Layout Design. -- -- /See:/ 'productsApprove' smart constructor. data ProductsApprove = ProductsApprove'
gen/Network/Google/Resource/AndroidEnterprise/Products/GetAppRestrictionsSchema.hs view
@@ -23,9 +23,9 @@ -- Retrieves the schema that defines the configurable properties for this -- product. All products have a schema, but this schema may be empty if no -- managed configurations have been defined. This schema can be used to--- populate a UI that allows an administrator to configure the product. To--- apply a managed configuration based on the schema obtained using this--- API, see Managed Configurations through Play.+-- populate a UI that allows an admin to configure the product. To apply a+-- managed configuration based on the schema obtained using this API, see+-- Managed Configurations through Play. -- -- /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.products.getAppRestrictionsSchema@. module Network.Google.Resource.AndroidEnterprise.Products.GetAppRestrictionsSchema@@ -63,9 +63,9 @@ -- | Retrieves the schema that defines the configurable properties for this -- product. All products have a schema, but this schema may be empty if no -- managed configurations have been defined. This schema can be used to--- populate a UI that allows an administrator to configure the product. To--- apply a managed configuration based on the schema obtained using this--- API, see Managed Configurations through Play.+-- populate a UI that allows an admin to configure the product. To apply a+-- managed configuration based on the schema obtained using this API, see+-- Managed Configurations through Play. -- -- /See:/ 'productsGetAppRestrictionsSchema' smart constructor. data ProductsGetAppRestrictionsSchema = ProductsGetAppRestrictionsSchema'
gen/Network/Google/Resource/AndroidEnterprise/Products/List.hs view
@@ -115,7 +115,7 @@ plToken :: Lens' ProductsList (Maybe Text) plToken = lens _plToken (\ s a -> s{_plToken = a}) --- | The search query as typed in the Google Play Store search box. If+-- | The search query as typed in the Google Play store search box. If -- omitted, all approved apps will be returned (using the pagination -- parameters), including apps that are not available in the store (e.g. -- unpublished apps).
− gen/Network/Google/Resource/AndroidEnterprise/Products/UpdatePermissions.hs
@@ -1,127 +0,0 @@-{-# LANGUAGE DataKinds #-}-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric #-}-{-# LANGUAGE FlexibleInstances #-}-{-# LANGUAGE NoImplicitPrelude #-}-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE RecordWildCards #-}-{-# LANGUAGE TypeFamilies #-}-{-# LANGUAGE TypeOperators #-}--{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds #-}-{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- |--- Module : Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions--- 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)------ This method has been deprecated. To programmatically approve--- applications, you must use the iframe mechanism via the--- generateApprovalUrl and approve methods of the Products resource. For--- more information, see the Play EMM API usage requirements. The--- updatePermissions method (deprecated) updates the set of Android app--- permissions for this app that have been accepted by the enterprise.------ /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.products.updatePermissions@.-module Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions- (- -- * REST Resource- ProductsUpdatePermissionsResource-- -- * Creating a Request- , productsUpdatePermissions- , ProductsUpdatePermissions-- -- * Request Lenses- , pupEnterpriseId- , pupPayload- , pupProductId- ) where--import Network.Google.AndroidEnterprise.Types-import Network.Google.Prelude---- | A resource alias for @androidenterprise.products.updatePermissions@ method which the--- 'ProductsUpdatePermissions' request conforms to.-type ProductsUpdatePermissionsResource =- "androidenterprise" :>- "v1" :>- "enterprises" :>- Capture "enterpriseId" Text :>- "products" :>- Capture "productId" Text :>- "permissions" :>- QueryParam "alt" AltJSON :>- ReqBody '[JSON] ProductPermissions :>- Put '[JSON] ProductPermissions---- | This method has been deprecated. To programmatically approve--- applications, you must use the iframe mechanism via the--- generateApprovalUrl and approve methods of the Products resource. For--- more information, see the Play EMM API usage requirements. The--- updatePermissions method (deprecated) updates the set of Android app--- permissions for this app that have been accepted by the enterprise.------ /See:/ 'productsUpdatePermissions' smart constructor.-data ProductsUpdatePermissions = ProductsUpdatePermissions'- { _pupEnterpriseId :: !Text- , _pupPayload :: !ProductPermissions- , _pupProductId :: !Text- } deriving (Eq,Show,Data,Typeable,Generic)---- | Creates a value of 'ProductsUpdatePermissions' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pupEnterpriseId'------ * 'pupPayload'------ * 'pupProductId'-productsUpdatePermissions- :: Text -- ^ 'pupEnterpriseId'- -> ProductPermissions -- ^ 'pupPayload'- -> Text -- ^ 'pupProductId'- -> ProductsUpdatePermissions-productsUpdatePermissions pPupEnterpriseId_ pPupPayload_ pPupProductId_ =- ProductsUpdatePermissions'- { _pupEnterpriseId = pPupEnterpriseId_- , _pupPayload = pPupPayload_- , _pupProductId = pPupProductId_- }---- | The ID of the enterprise.-pupEnterpriseId :: Lens' ProductsUpdatePermissions Text-pupEnterpriseId- = lens _pupEnterpriseId- (\ s a -> s{_pupEnterpriseId = a})---- | Multipart request metadata.-pupPayload :: Lens' ProductsUpdatePermissions ProductPermissions-pupPayload- = lens _pupPayload (\ s a -> s{_pupPayload = a})---- | The ID of the product.-pupProductId :: Lens' ProductsUpdatePermissions Text-pupProductId- = lens _pupProductId (\ s a -> s{_pupProductId = a})--instance GoogleRequest ProductsUpdatePermissions- where- type Rs ProductsUpdatePermissions =- ProductPermissions- type Scopes ProductsUpdatePermissions =- '["https://www.googleapis.com/auth/androidenterprise"]- requestClient ProductsUpdatePermissions'{..}- = go _pupEnterpriseId _pupProductId (Just AltJSON)- _pupPayload- androidEnterpriseService- where go- = buildClient- (Proxy :: Proxy ProductsUpdatePermissionsResource)- mempty
gen/Network/Google/Resource/AndroidEnterprise/Users/GenerateToken.hs view
@@ -21,8 +21,9 @@ -- Portability : non-portable (GHC extensions) -- -- Generates a token (activation code) to allow this user to configure--- their work account in the Android Setup Wizard. Revokes any previously--- generated token. This call only works with Google managed accounts.+-- their managed account in the Android Setup Wizard. Revokes any+-- previously generated token. This call only works with Google managed+-- accounts. -- -- /See:/ <https://developers.google.com/android/work/play/emm-api Google Play EMM API Reference> for @androidenterprise.users.generateToken@. module Network.Google.Resource.AndroidEnterprise.Users.GenerateToken@@ -55,8 +56,9 @@ QueryParam "alt" AltJSON :> Post '[JSON] UserToken -- | Generates a token (activation code) to allow this user to configure--- their work account in the Android Setup Wizard. Revokes any previously--- generated token. This call only works with Google managed accounts.+-- their managed account in the Android Setup Wizard. Revokes any+-- previously generated token. This call only works with Google managed+-- accounts. -- -- /See:/ 'usersGenerateToken' smart constructor. data UsersGenerateToken = UsersGenerateToken'
gogol-android-enterprise.cabal view
@@ -1,5 +1,5 @@ name: gogol-android-enterprise-version: 0.1.1+version: 0.2.0 synopsis: Google Play EMM SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -35,17 +35,6 @@ exposed-modules: Network.Google.AndroidEnterprise , Network.Google.AndroidEnterprise.Types- , Network.Google.Resource.AndroidEnterprise.Collections.Delete- , Network.Google.Resource.AndroidEnterprise.Collections.Get- , Network.Google.Resource.AndroidEnterprise.Collections.Insert- , Network.Google.Resource.AndroidEnterprise.Collections.List- , Network.Google.Resource.AndroidEnterprise.Collections.Patch- , Network.Google.Resource.AndroidEnterprise.Collections.Update- , Network.Google.Resource.AndroidEnterprise.Collectionviewers.Delete- , Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get- , Network.Google.Resource.AndroidEnterprise.Collectionviewers.List- , Network.Google.Resource.AndroidEnterprise.Collectionviewers.Patch- , Network.Google.Resource.AndroidEnterprise.Collectionviewers.Update , Network.Google.Resource.AndroidEnterprise.Devices.Get , Network.Google.Resource.AndroidEnterprise.Devices.GetState , Network.Google.Resource.AndroidEnterprise.Devices.List@@ -97,7 +86,6 @@ , Network.Google.Resource.AndroidEnterprise.Products.GetPermissions , Network.Google.Resource.AndroidEnterprise.Products.List , Network.Google.Resource.AndroidEnterprise.Products.UnApprove- , Network.Google.Resource.AndroidEnterprise.Products.UpdatePermissions , Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Delete , Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Insert , Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.List@@ -130,5 +118,5 @@ , Network.Google.AndroidEnterprise.Types.Sum build-depends:- gogol-core == 0.1.1.*+ gogol-core == 0.2.0.* , base >= 4.7 && < 5