androidenterprise
v1
|
#include <policy.h>
Static Public Member Functions | |
static Policy * | New () |
The device policy for a given managed device.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'autoUpdatePolicy
' attribute.
|
inline |
Clears the 'deviceReportPolicy
' attribute.
|
inline |
Clears the 'maintenanceWindow
' attribute.
|
inline |
Clears the 'productAvailabilityPolicy
' attribute.
|
inline |
Clears the 'productPolicy
' attribute.
|
inline |
Get the value of the 'autoUpdatePolicy
' attribute.
|
inline |
Get the value of the 'deviceReportPolicy
' attribute.
const MaintenanceWindow google_androidenterprise_api::Policy::get_maintenance_window | ( | ) | const |
Get a reference to the value of the 'maintenanceWindow
' attribute.
|
inline |
Get the value of the 'productAvailabilityPolicy
' attribute.
const client::JsonCppArray<ProductPolicy > google_androidenterprise_api::Policy::get_product_policy | ( | ) | const |
Get a reference to the value of the 'productPolicy
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'autoUpdatePolicy
' attribute was set.
autoUpdatePolicy
' attribute was set.
|
inline |
Determine if the 'deviceReportPolicy
' attribute was set.
deviceReportPolicy
' attribute was set.
|
inline |
Determine if the 'maintenanceWindow
' attribute was set.
maintenanceWindow
' attribute was set.
|
inline |
Determine if the 'productAvailabilityPolicy
' attribute was set.
productAvailabilityPolicy
' attribute was set.
|
inline |
Determine if the 'productPolicy
' attribute was set.
productPolicy
' attribute was set. MaintenanceWindow google_androidenterprise_api::Policy::mutable_maintenanceWindow | ( | ) |
Gets a reference to a mutable value of the 'maintenanceWindow
' property.
The maintenance window defining when apps running in the foreground should be updated.
client::JsonCppArray<ProductPolicy > google_androidenterprise_api::Policy::mutable_productPolicy | ( | ) |
Gets a reference to a mutable value of the 'productPolicy
' property.
The list of product policies.
|
static |
Creates a new default instance.
|
inline |
Change the 'autoUpdatePolicy
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'deviceReportPolicy
' attribute.
Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
[in] | value | The new value. |
|
inline |
Change the 'productAvailabilityPolicy
' attribute.
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.
[in] | value | The new value. |