Show / Hide Table of Contents

Class Policy

A policy resource represents a group of settings that govern the behavior of a managed device and the apps installed on it.

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.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class Policy : IDirectResponseSchema

Properties

AccountTypesWithManagementDisabled

Account types that can't be managed by the user.

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

AddUserDisabled

Whether adding new users and profiles is disabled. For devices where managementMode is DEVICE_OWNER this field is ignored and the user is never allowed to add or remove users.

Declaration
[JsonProperty("addUserDisabled")]
public virtual bool? AddUserDisabled { get; set; }
Property Value
Type Description
bool?

AdjustVolumeDisabled

Whether adjusting the master volume is disabled. Also mutes the device. The setting has effect only on fully managed devices.

Declaration
[JsonProperty("adjustVolumeDisabled")]
public virtual bool? AdjustVolumeDisabled { get; set; }
Property Value
Type Description
bool?

AdvancedSecurityOverrides

Advanced security settings. In most cases, setting these is not needed.

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

AlwaysOnVpnPackage

Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.

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

AndroidDevicePolicyTracks

This setting is not supported. Any value is ignored.

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

AppAutoUpdatePolicy

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.The app auto update policy, which controls when automatic app updates can be applied.

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

Applications

Policy applied to apps. This can have at most 3,000 elements.

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

AssistContentPolicy

Optional. Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app. AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above.

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

AutoDateAndTimeZone

Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.

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

AutoTimeRequired

Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored.

Declaration
[JsonProperty("autoTimeRequired")]
public virtual bool? AutoTimeRequired { get; set; }
Property Value
Type Description
bool?

BlockApplicationsEnabled

Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.

Declaration
[JsonProperty("blockApplicationsEnabled")]
public virtual bool? BlockApplicationsEnabled { get; set; }
Property Value
Type Description
bool?

BluetoothConfigDisabled

Whether configuring bluetooth is disabled.

Declaration
[JsonProperty("bluetoothConfigDisabled")]
public virtual bool? BluetoothConfigDisabled { get; set; }
Property Value
Type Description
bool?

BluetoothContactSharingDisabled

Whether bluetooth contact sharing is disabled.

Declaration
[JsonProperty("bluetoothContactSharingDisabled")]
public virtual bool? BluetoothContactSharingDisabled { get; set; }
Property Value
Type Description
bool?

BluetoothDisabled

Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.

Declaration
[JsonProperty("bluetoothDisabled")]
public virtual bool? BluetoothDisabled { get; set; }
Property Value
Type Description
bool?

CameraAccess

Controls the use of the camera and whether the user has access to the camera access toggle.

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

CameraDisabled

If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether cameras are disabled: If true, all cameras are disabled, otherwise they are available. For fully managed devices this field applies for all apps on the device. For work profiles, this field applies only to apps in the work profile, and the camera access of apps outside the work profile is unaffected.

Declaration
[JsonProperty("cameraDisabled")]
public virtual bool? CameraDisabled { get; set; }
Property Value
Type Description
bool?

CellBroadcastsConfigDisabled

Whether configuring cell broadcast is disabled.

Declaration
[JsonProperty("cellBroadcastsConfigDisabled")]
public virtual bool? CellBroadcastsConfigDisabled { get; set; }
Property Value
Type Description
bool?

ChoosePrivateKeyRules

Rules for determining apps' access to private keys. See ChoosePrivateKeyRule for details. This must be empty if any application has CERT_SELECTION delegation scope.

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

ComplianceRules

Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules. Use policy enforcement rules instead.

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

CreateWindowsDisabled

Whether creating windows besides app windows is disabled.

Declaration
[JsonProperty("createWindowsDisabled")]
public virtual bool? CreateWindowsDisabled { get; set; }
Property Value
Type Description
bool?

CredentialProviderPolicyDefault

Controls which apps are allowed to act as credential providers on Android 14 and above. These apps store credentials, see this (https://developer.android.com/training/sign-in/passkeys) and this (https://developer.android.com/reference/androidx/credentials/CredentialManager) for details. See also credentialProviderPolicy.

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

CredentialsConfigDisabled

Whether configuring user credentials is disabled.

Declaration
[JsonProperty("credentialsConfigDisabled")]
public virtual bool? CredentialsConfigDisabled { get; set; }
Property Value
Type Description
bool?

CrossProfilePolicies

Cross-profile policies applied on the device.

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

DataRoamingDisabled

Whether roaming data services are disabled.

Declaration
[JsonProperty("dataRoamingDisabled")]
public virtual bool? DataRoamingDisabled { get; set; }
Property Value
Type Description
bool?

DebuggingFeaturesAllowed

Whether the user is allowed to enable debugging features.

Declaration
[JsonProperty("debuggingFeaturesAllowed")]
public virtual bool? DebuggingFeaturesAllowed { get; set; }
Property Value
Type Description
bool?

DefaultPermissionPolicy

The default permission policy for runtime permission requests.

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

DeviceConnectivityManagement

Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more.

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

DeviceOwnerLockScreenInfo

The device owner information to be shown on the lock screen.

Declaration
[JsonProperty("deviceOwnerLockScreenInfo")]
public virtual UserFacingMessage DeviceOwnerLockScreenInfo { get; set; }
Property Value
Type Description
UserFacingMessage

DeviceRadioState

Covers controls for radio state such as Wi-Fi, bluetooth, and more.

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

DisplaySettings

Optional. Controls for the display settings.

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

ETag

The ETag of the item.

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

EncryptionPolicy

Whether encryption is enabled

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

EnsureVerifyAppsEnabled

Whether app verification is force-enabled.

Declaration
[JsonProperty("ensureVerifyAppsEnabled")]
public virtual bool? EnsureVerifyAppsEnabled { get; set; }
Property Value
Type Description
bool?

EnterpriseDisplayNameVisibility

Optional. Controls whether the enterpriseDisplayName is visible on the device (e.g. lock screen message on company-owned devices).

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

FactoryResetDisabled

Whether factory resetting from settings is disabled.

Declaration
[JsonProperty("factoryResetDisabled")]
public virtual bool? FactoryResetDisabled { get; set; }
Property Value
Type Description
bool?

FrpAdminEmails

Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device won't provide factory reset protection.

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

FunDisabled

Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.

Declaration
[JsonProperty("funDisabled")]
public virtual bool? FunDisabled { get; set; }
Property Value
Type Description
bool?

InstallAppsDisabled

Whether user installation of apps is disabled.

Declaration
[JsonProperty("installAppsDisabled")]
public virtual bool? InstallAppsDisabled { get; set; }
Property Value
Type Description
bool?

InstallUnknownSourcesAllowed

This field has no effect.

Declaration
[JsonProperty("installUnknownSourcesAllowed")]
public virtual bool? InstallUnknownSourcesAllowed { get; set; }
Property Value
Type Description
bool?

KeyguardDisabled

If true, this disables the Lock Screen (https://source.android.com/docs/core/display/multi_display/lock-screen) for primary and/or secondary displays. This policy is supported only in dedicated device management mode.

Declaration
[JsonProperty("keyguardDisabled")]
public virtual bool? KeyguardDisabled { get; set; }
Property Value
Type Description
bool?

KeyguardDisabledFeatures

Disabled keyguard customizations, such as widgets.

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

KioskCustomLauncherEnabled

Whether the kiosk custom launcher is enabled. This replaces the home screen with a launcher that locks down the device to the apps installed via the applications setting. Apps appear on a single page in alphabetical order. Use kioskCustomization to further configure the kiosk device behavior.

Declaration
[JsonProperty("kioskCustomLauncherEnabled")]
public virtual bool? KioskCustomLauncherEnabled { get; set; }
Property Value
Type Description
bool?

KioskCustomization

Settings controlling the behavior of a device in kiosk mode. To enable kiosk mode, set kioskCustomLauncherEnabled to true or specify an app in the policy with installType KIOSK.

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

LocationMode

The degree of location detection enabled.

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

LongSupportMessage

A message displayed to the user in the device administators settings screen.

Declaration
[JsonProperty("longSupportMessage")]
public virtual UserFacingMessage LongSupportMessage { get; set; }
Property Value
Type Description
UserFacingMessage

MaximumTimeToLock

Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.

Declaration
[JsonProperty("maximumTimeToLock")]
public virtual long? MaximumTimeToLock { get; set; }
Property Value
Type Description
long?

MicrophoneAccess

Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.

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

MinimumApiLevel

The minimum allowed Android API level.

Declaration
[JsonProperty("minimumApiLevel")]
public virtual int? MinimumApiLevel { get; set; }
Property Value
Type Description
int?

MobileNetworksConfigDisabled

Whether configuring mobile networks is disabled.

Declaration
[JsonProperty("mobileNetworksConfigDisabled")]
public virtual bool? MobileNetworksConfigDisabled { get; set; }
Property Value
Type Description
bool?

ModifyAccountsDisabled

Whether adding or removing accounts is disabled.

Declaration
[JsonProperty("modifyAccountsDisabled")]
public virtual bool? ModifyAccountsDisabled { get; set; }
Property Value
Type Description
bool?

MountPhysicalMediaDisabled

Whether the user mounting physical external media is disabled.

Declaration
[JsonProperty("mountPhysicalMediaDisabled")]
public virtual bool? MountPhysicalMediaDisabled { get; set; }
Property Value
Type Description
bool?

Name

The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.

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

NetworkEscapeHatchEnabled

Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.Note: Setting wifiConfigDisabled to true will override this setting under specific circumstances. Please see wifiConfigDisabled for further details. Setting configureWifi to DISALLOW_CONFIGURING_WIFI will override this setting under specific circumstances. Please see DISALLOW_CONFIGURING_WIFI for further details.

Declaration
[JsonProperty("networkEscapeHatchEnabled")]
public virtual bool? NetworkEscapeHatchEnabled { get; set; }
Property Value
Type Description
bool?

NetworkResetDisabled

Whether resetting network settings is disabled.

Declaration
[JsonProperty("networkResetDisabled")]
public virtual bool? NetworkResetDisabled { get; set; }
Property Value
Type Description
bool?

OncCertificateProviders

This feature is not generally available.

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

OpenNetworkConfiguration

Network configuration for the device. See configure networks for more information.

Declaration
[JsonProperty("openNetworkConfiguration")]
public virtual IDictionary<string, object> OpenNetworkConfiguration { get; set; }
Property Value
Type Description
IDictionary<string, object>

OutgoingBeamDisabled

Whether using NFC to beam data from apps is disabled.

Declaration
[JsonProperty("outgoingBeamDisabled")]
public virtual bool? OutgoingBeamDisabled { get; set; }
Property Value
Type Description
bool?

OutgoingCallsDisabled

Whether outgoing calls are disabled.

Declaration
[JsonProperty("outgoingCallsDisabled")]
public virtual bool? OutgoingCallsDisabled { get; set; }
Property Value
Type Description
bool?

PasswordPolicies

Password requirement policies. Different policies can be set for work profile or fully managed devices by setting the password_scope field in the policy.

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

PasswordRequirements

Password requirements. The field password_requirements.require_password_unlock must not be set. DEPRECATED - Use passwordPolicies.Note:Complexity-based values of PasswordQuality, that is, COMPLEXITY_LOW, COMPLEXITY_MEDIUM, and COMPLEXITY_HIGH, cannot be used here. unified_lock_settings cannot be used here.

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

PermissionGrants

Explicit permission or group grants or denials for all apps. These values override the default_permission_policy.

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

PermittedAccessibilityServices

Specifies permitted accessibility services. If the field is not set, any accessibility service can be used. If the field is set, only the accessibility services in this list and the system's built-in accessibility service can be used. In particular, if the field is set to empty, only the system's built-in accessibility servicess can be used. This can be set on fully managed devices and on work profiles. When applied to a work profile, this affects both the personal profile and the work profile.

Declaration
[JsonProperty("permittedAccessibilityServices")]
public virtual PackageNameList PermittedAccessibilityServices { get; set; }
Property Value
Type Description
PackageNameList

PermittedInputMethods

If present, only the input methods provided by packages in this list are permitted. If this field is present, but the list is empty, then only system input methods are permitted.

Declaration
[JsonProperty("permittedInputMethods")]
public virtual PackageNameList PermittedInputMethods { get; set; }
Property Value
Type Description
PackageNameList

PersistentPreferredActivities

Default intent handler activities.

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

PersonalUsagePolicies

Policies managing personal usage on a company-owned device.

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

PlayStoreMode

This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy.

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

PolicyEnforcementRules

Rules that define the behavior when a particular policy can not be applied on device

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

PreferentialNetworkService

Controls whether preferential network service is enabled on the work profile or on fully managed devices. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This policy has no effect if preferentialNetworkServiceSettings or ApplicationPolicy.preferentialNetworkId is set on devices running Android 13 or above.

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

PrintingPolicy

Optional. Controls whether printing is allowed. This is supported on devices running Android 9 and above. .

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

PrivateKeySelectionEnabled

Allows showing UI on a device for a user to choose a private key alias if there are no matching rules in ChoosePrivateKeyRules. For devices below Android P, setting this may leave enterprise keys vulnerable. This value will have no effect if any application has CERT_SELECTION delegation scope.

Declaration
[JsonProperty("privateKeySelectionEnabled")]
public virtual bool? PrivateKeySelectionEnabled { get; set; }
Property Value
Type Description
bool?

RecommendedGlobalProxy

The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it.

Declaration
[JsonProperty("recommendedGlobalProxy")]
public virtual ProxyInfo RecommendedGlobalProxy { get; set; }
Property Value
Type Description
ProxyInfo

RemoveUserDisabled

Whether removing other users is disabled.

Declaration
[JsonProperty("removeUserDisabled")]
public virtual bool? RemoveUserDisabled { get; set; }
Property Value
Type Description
bool?

SafeBootDisabled

Whether rebooting the device into safe boot is disabled.

Declaration
[JsonProperty("safeBootDisabled")]
public virtual bool? SafeBootDisabled { get; set; }
Property Value
Type Description
bool?

ScreenCaptureDisabled

Whether screen capture is disabled.

Declaration
[JsonProperty("screenCaptureDisabled")]
public virtual bool? ScreenCaptureDisabled { get; set; }
Property Value
Type Description
bool?

SetUserIconDisabled

Whether changing the user icon is disabled. The setting has effect only on fully managed devices.

Declaration
[JsonProperty("setUserIconDisabled")]
public virtual bool? SetUserIconDisabled { get; set; }
Property Value
Type Description
bool?

SetWallpaperDisabled

Whether changing the wallpaper is disabled.

Declaration
[JsonProperty("setWallpaperDisabled")]
public virtual bool? SetWallpaperDisabled { get; set; }
Property Value
Type Description
bool?

SetupActions

Action to take during the setup process. At most one action may be specified.

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

ShareLocationDisabled

Whether location sharing is disabled. share_location_disabled is supported for both fully managed devices and personally owned work profiles.

Declaration
[JsonProperty("shareLocationDisabled")]
public virtual bool? ShareLocationDisabled { get; set; }
Property Value
Type Description
bool?

ShortSupportMessage

A message displayed to the user in the settings screen wherever functionality has been disabled by the admin. If the message is longer than 200 characters it may be truncated.

Declaration
[JsonProperty("shortSupportMessage")]
public virtual UserFacingMessage ShortSupportMessage { get; set; }
Property Value
Type Description
UserFacingMessage

SkipFirstUseHintsEnabled

Flag to skip hints on the first use. Enterprise admin can enable the system recommendation for apps to skip their user tutorial and other introductory hints on first start-up.

Declaration
[JsonProperty("skipFirstUseHintsEnabled")]
public virtual bool? SkipFirstUseHintsEnabled { get; set; }
Property Value
Type Description
bool?

SmsDisabled

Whether sending and receiving SMS messages is disabled.

Declaration
[JsonProperty("smsDisabled")]
public virtual bool? SmsDisabled { get; set; }
Property Value
Type Description
bool?

StatusBarDisabled

Whether the status bar is disabled. This disables notifications, quick settings, and other screen overlays that allow escape from full-screen mode. DEPRECATED. To disable the status bar on a kiosk device, use InstallType KIOSK or kioskCustomLauncherEnabled.

Declaration
[JsonProperty("statusBarDisabled")]
public virtual bool? StatusBarDisabled { get; set; }
Property Value
Type Description
bool?

StatusReportingSettings

Status reporting settings

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

StayOnPluggedModes

The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on.

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

SystemUpdate

The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.Note: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded and require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details.

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

TetheringConfigDisabled

Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored.

Declaration
[JsonProperty("tetheringConfigDisabled")]
public virtual bool? TetheringConfigDisabled { get; set; }
Property Value
Type Description
bool?

UninstallAppsDisabled

Whether user uninstallation of applications is disabled. This prevents apps from being uninstalled, even those removed using applications

Declaration
[JsonProperty("uninstallAppsDisabled")]
public virtual bool? UninstallAppsDisabled { get; set; }
Property Value
Type Description
bool?

UnmuteMicrophoneDisabled

If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether microphones are disabled: If true, all microphones are disabled, otherwise they are available. This is available only on fully managed devices.

Declaration
[JsonProperty("unmuteMicrophoneDisabled")]
public virtual bool? UnmuteMicrophoneDisabled { get; set; }
Property Value
Type Description
bool?

UsageLog

Configuration of device activity logging.

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

UsbFileTransferDisabled

Whether transferring files over USB is disabled. This is supported only on company-owned devices.

Declaration
[JsonProperty("usbFileTransferDisabled")]
public virtual bool? UsbFileTransferDisabled { get; set; }
Property Value
Type Description
bool?

UsbMassStorageEnabled

Whether USB storage is enabled. Deprecated.

Declaration
[JsonProperty("usbMassStorageEnabled")]
public virtual bool? UsbMassStorageEnabled { get; set; }
Property Value
Type Description
bool?

Version

The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.

Declaration
[JsonProperty("version")]
public virtual long? Version { get; set; }
Property Value
Type Description
long?

VpnConfigDisabled

Whether configuring VPN is disabled.

Declaration
[JsonProperty("vpnConfigDisabled")]
public virtual bool? VpnConfigDisabled { get; set; }
Property Value
Type Description
bool?

WifiConfigDisabled

Whether configuring Wi-Fi networks is disabled. Supported on fully managed devices and work profiles on company-owned devices. For fully managed devices, setting this to true removes all configured networks and retains only the networks configured using openNetworkConfiguration. For work profiles on company-owned devices, existing configured networks are not affected and the user is not allowed to add, remove, or modify Wi-Fi networks. If configureWifi is set to anything other than CONFIGURE_WIFI_UNSPECIFIED, this setting is ignored. Note: If a network connection can't be made at boot time and configuring Wi-Fi is disabled then network escape hatch will be shown in order to refresh the device policy (see networkEscapeHatchEnabled).

Declaration
[JsonProperty("wifiConfigDisabled")]
public virtual bool? WifiConfigDisabled { get; set; }
Property Value
Type Description
bool?

WifiConfigsLockdownEnabled

This is deprecated.

Declaration
[JsonProperty("wifiConfigsLockdownEnabled")]
public virtual bool? WifiConfigsLockdownEnabled { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX