google_api_android_enterprise v0.2.0 GoogleApi.AndroidEnterprise.V1.Model.Policy View Source
The device policy for a given managed device.
Attributes
- autoUpdatePolicy (String.t): The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi. Defaults to:
null
. - maintenanceWindow (MaintenanceWindow): The maintenance window defining when apps running in the foreground should be updated. Defaults to:
null
. - productAvailabilityPolicy (String.t): The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default. Defaults to:
null
. - productPolicy ([ProductPolicy]): The list of product policies. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AndroidEnterprise.V1.Model.Policy{
autoUpdatePolicy: any(),
maintenanceWindow: GoogleApi.AndroidEnterprise.V1.Model.MaintenanceWindow.t(),
productAvailabilityPolicy: any(),
productPolicy: [GoogleApi.AndroidEnterprise.V1.Model.ProductPolicy.t()]
}
t() :: %GoogleApi.AndroidEnterprise.V1.Model.Policy{ autoUpdatePolicy: any(), maintenanceWindow: GoogleApi.AndroidEnterprise.V1.Model.MaintenanceWindow.t(), productAvailabilityPolicy: any(), productPolicy: [GoogleApi.AndroidEnterprise.V1.Model.ProductPolicy.t()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.