Class DevicePolicy
DevicePolicy
specifies device specific restrictions necessary to acquire a given access level. A
DevicePolicy
specifies requirements for requests from devices to be granted access levels, it does not do any
enforcement on the device. DevicePolicy
acts as an AND over all specified fields, and each repeated field is
an OR over its elements. Any unset fields are ignored. For example, if the proto is { os_type : DESKTOP_WINDOWS,
os_type : DESKTOP_LINUX, encryption_status: ENCRYPTED}, then the DevicePolicy will be true for requests
originating from encrypted Linux desktops and encrypted Windows desktops.
Implements
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1beta.Data
Assembly: Google.Apis.AccessContextManager.v1beta.dll
Syntax
public class DevicePolicy : IDirectResponseSchema
Properties
AllowedDeviceManagementLevels
Allowed device management levels, an empty list allows all management levels.
Declaration
[JsonProperty("allowedDeviceManagementLevels")]
public virtual IList<string> AllowedDeviceManagementLevels { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
AllowedEncryptionStatuses
Allowed encryptions statuses, an empty list allows all statuses.
Declaration
[JsonProperty("allowedEncryptionStatuses")]
public virtual IList<string> AllowedEncryptionStatuses { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
OsConstraints
Allowed OS versions, an empty list allows all types and all versions.
Declaration
[JsonProperty("osConstraints")]
public virtual IList<OsConstraint> OsConstraints { get; set; }
Property Value
Type | Description |
---|---|
IList<OsConstraint> |
RequireAdminApproval
Whether the device needs to be approved by the customer admin.
Declaration
[JsonProperty("requireAdminApproval")]
public virtual bool? RequireAdminApproval { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RequireCorpOwned
Whether the device needs to be corp owned.
Declaration
[JsonProperty("requireCorpOwned")]
public virtual bool? RequireCorpOwned { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RequireScreenlock
Whether or not screenlock is required for the DevicePolicy to be true. Defaults to false
.
Declaration
[JsonProperty("requireScreenlock")]
public virtual bool? RequireScreenlock { get; set; }
Property Value
Type | Description |
---|---|
bool? |