Show / Hide Table of Contents

Class Policy

The device policy for a given managed device.

Inheritance
object
Policy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidEnterprise.v1.Data
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class Policy : IDirectResponseSchema

Properties

AutoUpdatePolicy

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. Important: Changes to app update policies don't affect updates that are in progress. Any policy changes will apply to subsequent app updates.

Declaration
[JsonProperty("autoUpdatePolicy")]
public virtual string AutoUpdatePolicy { get; set; }
Property Value
Type Description
string

DeviceReportPolicy

Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".

Declaration
[JsonProperty("deviceReportPolicy")]
public virtual string DeviceReportPolicy { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MaintenanceWindow

The maintenance window defining when apps running in the foreground should be updated.

Declaration
[JsonProperty("maintenanceWindow")]
public virtual MaintenanceWindow MaintenanceWindow { get; set; }
Property Value
Type Description
MaintenanceWindow

PolicyId

An identifier for the policy that will be passed with the app install feedback sent from the Play Store.

Declaration
[JsonProperty("policyId")]
public virtual string PolicyId { get; set; }
Property Value
Type Description
string

ProductAvailabilityPolicy

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.

Declaration
[JsonProperty("productAvailabilityPolicy")]
public virtual string ProductAvailabilityPolicy { get; set; }
Property Value
Type Description
string

ProductPolicy

The list of product policies. The productAvailabilityPolicy needs to be set to WHITELIST or ALL for the product policies to be applied.

Declaration
[JsonProperty("productPolicy")]
public virtual IList<ProductPolicy> ProductPolicy { get; set; }
Property Value
Type Description
IList<ProductPolicy>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX