regen all APIs

This commit is contained in:
Sebastian Thiel
2024-03-05 19:02:07 +01:00
parent ca974aa0a5
commit 55badfe90e
1998 changed files with 490545 additions and 148021 deletions

View File

@@ -4,12 +4,12 @@
[package]
name = "google-androidenterprise1"
version = "5.0.3+20230123"
version = "5.0.3+20240304"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Android Enterprise (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidenterprise1"
homepage = "https://developers.google.com/android/work/play/emm-api"
documentation = "https://docs.rs/google-androidenterprise1/5.0.3+20230123"
documentation = "https://docs.rs/google-androidenterprise1/5.0.3+20240304"
license = "MIT"
keywords = ["androidenterprise", "google", "protocol", "web", "api"]
autobins = false

View File

@@ -5,46 +5,46 @@ DO NOT EDIT !
-->
The `google-androidenterprise1` library allows access to all features of the *Google Android Enterprise* service.
This documentation was generated from *Android Enterprise* crate version *5.0.3+20230123*, where *20230123* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
This documentation was generated from *Android Enterprise* crate version *5.0.3+20240304*, where *20240304* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
Everything else about the *Android Enterprise* *v1* API can be found at the
[official documentation site](https://developers.google.com/android/work/play/emm-api).
# Features
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/AndroidEnterprise) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/AndroidEnterprise) ...
* [devices](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::Device)
* [*force report upload*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::DeviceUpdateCall)
* [enterprises](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::Enterprise)
* [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create enrollment token*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseCreateEnrollmentTokenCall), [*create web token*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EnterpriseUnenrollCall)
* [entitlements](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::Entitlement)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::EntitlementUpdateCall)
* [devices](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::Device)
* [*force report upload*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::DeviceUpdateCall)
* [enterprises](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::Enterprise)
* [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create enrollment token*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseCreateEnrollmentTokenCall), [*create web token*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EnterpriseUnenrollCall)
* [entitlements](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::Entitlement)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::EntitlementUpdateCall)
* grouplicenses
* [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::GrouplicenseListCall)
* [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::GrouplicenseListCall)
* grouplicenseusers
* [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::GrouplicenseuserListCall)
* [installs](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::Install)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::InstallUpdateCall)
* [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::GrouplicenseuserListCall)
* [installs](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::Install)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::InstallUpdateCall)
* managedconfigurationsfordevice
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall)
* managedconfigurationsforuser
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall)
* managedconfigurationssettings
* [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ManagedconfigurationssettingListCall)
* [permissions](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::Permission)
* [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::PermissionGetCall)
* [products](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::Product)
* [*approve*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ProductUnapproveCall)
* [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ManagedconfigurationssettingListCall)
* [permissions](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::Permission)
* [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::PermissionGetCall)
* [products](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::Product)
* [*approve*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ProductUnapproveCall)
* serviceaccountkeys
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::ServiceaccountkeyListCall)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::ServiceaccountkeyListCall)
* storelayoutclusters
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutclusterUpdateCall)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutclusterUpdateCall)
* storelayoutpages
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::StorelayoutpageUpdateCall)
* [users](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::User)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::UserUpdateCall)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::StorelayoutpageUpdateCall)
* [users](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::User)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::UserUpdateCall)
* webapps
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/api::WebappUpdateCall)
* [*delete*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/api::WebappUpdateCall)
@@ -53,17 +53,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r
The API is structured into the following primary items:
* **[Hub](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/AndroidEnterprise)**
* **[Hub](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/AndroidEnterprise)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::CallBuilder)
* **[Resources](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Resource)**
* creates [*Method Builders*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::MethodsBuilder) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::CallBuilder)
* **[Resources](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Resource)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Part)**
* **[Parts](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Part)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::CallBuilder)**
* **[Activities](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::CallBuilder)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -164,17 +164,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Result) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Result) enumeration as return value of
the doit() methods, or handed as possibly intermediate results to either the
[Hub Delegate](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
makes the system potentially resilient to all kinds of errors.
## Uploads and Downloads
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Result), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Result), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::ResponseResult), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::ResponseResult), it will return that by default.
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
this call: `.param("alt", "media")`.
@@ -184,29 +184,29 @@ Methods supporting uploads can do so using up to 2 different protocols:
## Customization and Callbacks
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Delegate) to the
[Method Builder](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::CallBuilder) before making the final `doit()` call.
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Delegate) to the
[Method Builder](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::CallBuilder) before making the final `doit()` call.
Respective methods will be called to provide progress information, as well as determine whether the system should
retry on failure.
The [delegate trait](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort.
## Optional Parts in Server-Requests
All structures provided by this library are made to be [encodable](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::RequestValue) and
[decodable](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
All structures provided by this library are made to be [encodable](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::RequestValue) and
[decodable](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
are valid.
Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::Part) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::Part) which are identifiable by name, which will be sent to
the server to indicate either the set parts of the request or the desired parts in the response.
## Builder Arguments
Using [method builders](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
These will always take a single argument, for which the following statements are true.
* [PODs][wiki-pod] are handed by copy
* strings are passed as `&str`
* [request values](https://docs.rs/google-androidenterprise1/5.0.3+20230123/google_androidenterprise1/client::RequestValue) are moved
* [request values](https://docs.rs/google-androidenterprise1/5.0.3+20240304/google_androidenterprise1/client::RequestValue) are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.

View File

@@ -23,7 +23,7 @@ use crate::{client, client::GetToken, client::serde_with};
/// Identifies the an OAuth2 authorization scope.
/// A scope is needed when requesting an
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
#[derive(PartialEq, Eq, Hash)]
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
pub enum Scope {
/// Manage corporate Android devices
Full,
@@ -536,6 +536,10 @@ pub struct AppVersion {
#[serde(rename="isProduction")]
pub is_production: Option<bool>,
/// The SDK version this app targets, as specified in the manifest of the APK. See http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
#[serde(rename="targetSdkVersion")]
pub target_sdk_version: Option<i32>,
/// Deprecated, use trackId instead.
pub track: Option<String>,
@@ -626,7 +630,7 @@ pub struct AutoInstallPolicy {
#[serde(rename="autoInstallConstraint")]
pub auto_install_constraint: Option<Vec<AutoInstallConstraint>>,
/// The auto-install mode. If unset defaults to "doNotAutoInstall".
/// The auto-install mode. If unset, defaults to "doNotAutoInstall". An app is automatically installed regardless of a set maintenance window.
#[serde(rename="autoInstallMode")]
pub auto_install_mode: Option<String>,
@@ -703,16 +707,40 @@ pub struct Device {
#[serde(rename="androidId")]
pub android_id: Option<String>,
/// The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named "device" per logs/wireless/android/android_checkin.proto)
pub device: Option<String>,
/// The build fingerprint of the device if known.
#[serde(rename="latestBuildFingerprint")]
pub latest_build_fingerprint: Option<String>,
/// The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
pub maker: Option<String>,
/// Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - "managedDevice", a device that has the EMM's device policy controller (DPC) as the device owner. - "managedProfile", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - "containerApp", no longer used (deprecated). - "unmanagedProfile", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
#[serde(rename="managementType")]
pub management_type: Option<String>,
/// The model name of the device. This comes from android.os.Build.MODEL.
pub model: Option<String>,
/// The policy enforced on the device.
pub policy: Option<Policy>,
/// The product name of the device. This comes from android.os.Build.PRODUCT.
pub product: Option<String>,
/// The device report updated with the latest app states.
pub report: Option<DeviceReport>,
/// Retail brand for the device, if set. See android.os.Build.BRAND
#[serde(rename="retailBrand")]
pub retail_brand: Option<String>,
/// API compatibility version.
#[serde(rename="sdkVersion")]
pub sdk_version: Option<i32>,
}
impl client::RequestValue for Device {}
@@ -1595,7 +1623,7 @@ impl client::ResponseResult for Permission {}
#[serde_with::serde_as(crate = "::client::serde_with")]
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct Policy {
/// Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
/// Controls when automatic app updates on the device can be applied. Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, autoUpdatePolicy has no effect. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
#[serde(rename="autoUpdatePolicy")]
pub auto_update_policy: Option<String>,
@@ -1682,6 +1710,10 @@ pub struct Product {
/// Noteworthy features (if any) of this product.
pub features: Option<Vec<String>>,
/// The localized full app store description, if available.
#[serde(rename="fullDescription")]
pub full_description: Option<String>,
/// A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px.
#[serde(rename="iconUrl")]
@@ -1831,11 +1863,11 @@ pub struct ProductPolicy {
#[serde(rename="autoInstallPolicy")]
pub auto_install_policy: Option<AutoInstallPolicy>,
/// The auto-update mode for the product.
/// The auto-update mode for the product. When autoUpdateMode is used, it always takes precedence over the user's choice. So when a user makes changes to the device settings manually, these changes are ignored.
#[serde(rename="autoUpdateMode")]
pub auto_update_mode: Option<String>,
/// An authentication URL configuration for the authenticator app of an identity provider. This helps to launch the identity provider's authenticator app during the authentication happening in a private app using Android WebView. Authenticator app should already be the [default handler](https://developer.android.com/training/app-links/verify-site-associations) for the authentication url on the device.
/// An authentication URL configuration for the authenticator app of an identity provider. This helps to launch the identity provider's authenticator app during the authentication happening in a private app using Android WebView. Authenticator app should already be the default handler for the authentication url on the device.
#[serde(rename="enterpriseAuthenticationAppLinkConfigs")]
pub enterprise_authentication_app_link_configs: Option<Vec<EnterpriseAuthenticationAppLinkConfig>>,
@@ -3206,7 +3238,7 @@ impl<'a, S> InstallMethods<'a, S> {
/// Create a builder to help you perform the following task:
///
/// Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.
/// Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed. A successful response indicates that a removal request has been sent to the device. The call will be considered successful even if the app is not present on the device (e.g. it was never installed, or was removed by the user).
///
/// # Arguments
///
@@ -12354,7 +12386,7 @@ where
}
/// Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.
/// Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed. A successful response indicates that a removal request has been sent to the device. The call will be considered successful even if the app is not present on the device (e.g. it was never installed, or was removed by the user).
///
/// A builder for the *delete* method supported by a *install* resource.
/// It is not used directly, but through a [`InstallMethods`] instance.

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *Android Enterprise* crate version *5.0.3+20230123*, where *20230123* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//! This documentation was generated from *Android Enterprise* crate version *5.0.3+20240304*, where *20240304* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
//!
//! Everything else about the *Android Enterprise* *v1* API can be found at the
//! [official documentation site](https://developers.google.com/android/work/play/emm-api).