class Google::Apis::AndroidmanagementV1::Policy
A policy resource represents a group of settings that govern the behavior of a managed device and the apps installed on it.
Attributes
Account types that can't be managed by the user. Corresponds to the JSON property `accountTypesWithManagementDisabled` @return [Array<String>]
Whether adding new users and profiles is disabled. Corresponds to the JSON property `addUserDisabled` @return [Boolean]
Whether adding new users and profiles is disabled. Corresponds to the JSON property `addUserDisabled` @return [Boolean]
Whether adjusting the master volume is disabled. Also mutes the device. Corresponds to the JSON property `adjustVolumeDisabled` @return [Boolean]
Whether adjusting the master volume is disabled. Also mutes the device. Corresponds to the JSON property `adjustVolumeDisabled` @return [Boolean]
Security policies set to the most secure values by default. To maintain the security posture of a device, we don't recommend overriding any of the default values. Corresponds to the JSON property `advancedSecurityOverrides` @return [Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides]
Configuration for an always-on VPN connection. Corresponds to the JSON property `alwaysOnVpnPackage` @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
Deprecated. Use autoUpdateMode instead.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. Corresponds to the JSON property `appAutoUpdatePolicy` @return [String]
Policy
applied to apps. Corresponds to the JSON property `applications` @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored. Corresponds to the JSON property `autoDateAndTimeZone` @return [String]
Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored. Corresponds to the JSON property `autoTimeRequired` @return [Boolean]
Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored. Corresponds to the JSON property `autoTimeRequired` @return [Boolean]
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. Corresponds to the JSON property `blockApplicationsEnabled` @return [Boolean]
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. Corresponds to the JSON property `blockApplicationsEnabled` @return [Boolean]
Whether configuring bluetooth is disabled. Corresponds to the JSON property `bluetoothConfigDisabled` @return [Boolean]
Whether configuring bluetooth is disabled. Corresponds to the JSON property `bluetoothConfigDisabled` @return [Boolean]
Whether bluetooth contact sharing is disabled. Corresponds to the JSON property `bluetoothContactSharingDisabled` @return [Boolean]
Whether bluetooth contact sharing is disabled. Corresponds to the JSON property `bluetoothContactSharingDisabled` @return [Boolean]
Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled
because bluetooth_config_disabled
can be bypassed by the user. Corresponds to the JSON property `bluetoothDisabled` @return [Boolean]
Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled
because bluetooth_config_disabled
can be bypassed by the user. Corresponds to the JSON property `bluetoothDisabled` @return [Boolean]
Whether all cameras on the device are disabled. Corresponds to the JSON property `cameraDisabled` @return [Boolean]
Whether all cameras on the device are disabled. Corresponds to the JSON property `cameraDisabled` @return [Boolean]
Whether configuring cell broadcast is disabled. Corresponds to the JSON property `cellBroadcastsConfigDisabled` @return [Boolean]
Whether configuring cell broadcast is disabled. Corresponds to the JSON property `cellBroadcastsConfigDisabled` @return [Boolean]
Rules for determining apps' access to private keys. See ChoosePrivateKeyRule
for details. Corresponds to the JSON property `choosePrivateKeyRules` @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
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. Corresponds to the JSON property `complianceRules` @return [Array<Google::Apis::AndroidmanagementV1::ComplianceRule>]
Whether creating windows besides app windows is disabled. Corresponds to the JSON property `createWindowsDisabled` @return [Boolean]
Whether creating windows besides app windows is disabled. Corresponds to the JSON property `createWindowsDisabled` @return [Boolean]
Whether configuring user credentials is disabled. Corresponds to the JSON property `credentialsConfigDisabled` @return [Boolean]
Whether configuring user credentials is disabled. Corresponds to the JSON property `credentialsConfigDisabled` @return [Boolean]
Cross-profile policies applied on the device. Corresponds to the JSON property `crossProfilePolicies` @return [Google::Apis::AndroidmanagementV1::CrossProfilePolicies]
Whether roaming data services are disabled. Corresponds to the JSON property `dataRoamingDisabled` @return [Boolean]
Whether roaming data services are disabled. Corresponds to the JSON property `dataRoamingDisabled` @return [Boolean]
Whether the user is allowed to enable debugging features. Corresponds to the JSON property `debuggingFeaturesAllowed` @return [Boolean]
Whether the user is allowed to enable debugging features. Corresponds to the JSON property `debuggingFeaturesAllowed` @return [Boolean]
The default permission policy for runtime permission requests. Corresponds to the JSON property `defaultPermissionPolicy` @return [String]
Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property `deviceOwnerLockScreenInfo` @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
Whether encryption is enabled Corresponds to the JSON property `encryptionPolicy` @return [String]
Whether app verification is force-enabled. Corresponds to the JSON property `ensureVerifyAppsEnabled` @return [Boolean]
Whether app verification is force-enabled. Corresponds to the JSON property `ensureVerifyAppsEnabled` @return [Boolean]
Whether factory resetting from settings is disabled. Corresponds to the JSON property `factoryResetDisabled` @return [Boolean]
Whether factory resetting from settings is disabled. Corresponds to the JSON property `factoryResetDisabled` @return [Boolean]
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. Corresponds to the JSON property `frpAdminEmails` @return [Array<String>]
Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled. Corresponds to the JSON property `funDisabled` @return [Boolean]
Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled. Corresponds to the JSON property `funDisabled` @return [Boolean]
Whether user installation of apps is disabled. Corresponds to the JSON property `installAppsDisabled` @return [Boolean]
Whether user installation of apps is disabled. Corresponds to the JSON property `installAppsDisabled` @return [Boolean]
This field has no effect. Corresponds to the JSON property `installUnknownSourcesAllowed` @return [Boolean]
This field has no effect. Corresponds to the JSON property `installUnknownSourcesAllowed` @return [Boolean]
Whether the keyguard is disabled. Corresponds to the JSON property `keyguardDisabled` @return [Boolean]
Whether the keyguard is disabled. Corresponds to the JSON property `keyguardDisabled` @return [Boolean]
Disabled keyguard customizations, such as widgets. Corresponds to the JSON property `keyguardDisabledFeatures` @return [Array<String>]
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. Corresponds to the JSON property `kioskCustomLauncherEnabled` @return [Boolean]
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. Corresponds to the JSON property `kioskCustomLauncherEnabled` @return [Boolean]
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. Corresponds to the JSON property `kioskCustomization` @return [Google::Apis::AndroidmanagementV1::KioskCustomization]
The degree of location detection enabled. Corresponds to the JSON property `locationMode` @return [String]
Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property `longSupportMessage` @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction. Corresponds to the JSON property `maximumTimeToLock` @return [Fixnum]
The minimum allowed Android API level. Corresponds to the JSON property `minimumApiLevel` @return [Fixnum]
Whether configuring mobile networks is disabled. Corresponds to the JSON property `mobileNetworksConfigDisabled` @return [Boolean]
Whether configuring mobile networks is disabled. Corresponds to the JSON property `mobileNetworksConfigDisabled` @return [Boolean]
Whether adding or removing accounts is disabled. Corresponds to the JSON property `modifyAccountsDisabled` @return [Boolean]
Whether adding or removing accounts is disabled. Corresponds to the JSON property `modifyAccountsDisabled` @return [Boolean]
Whether the user mounting physical external media is disabled. Corresponds to the JSON property `mountPhysicalMediaDisabled` @return [Boolean]
Whether the user mounting physical external media is disabled. Corresponds to the JSON property `mountPhysicalMediaDisabled` @return [Boolean]
The name of the policy in the form enterprises/`enterpriseId`/policies/` policyId`. Corresponds to the JSON property `name` @return [String]
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. Corresponds to the JSON property `networkEscapeHatchEnabled` @return [Boolean]
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. Corresponds to the JSON property `networkEscapeHatchEnabled` @return [Boolean]
Whether resetting network settings is disabled. Corresponds to the JSON property `networkResetDisabled` @return [Boolean]
Whether resetting network settings is disabled. Corresponds to the JSON property `networkResetDisabled` @return [Boolean]
This feature is not generally available. Corresponds to the JSON property `oncCertificateProviders` @return [Array<Google::Apis::AndroidmanagementV1::OncCertificateProvider>]
Network configuration for the device. See configure networks for more information. Corresponds to the JSON property `openNetworkConfiguration` @return [Hash<String,Object>]
Whether using NFC to beam data from apps is disabled. Corresponds to the JSON property `outgoingBeamDisabled` @return [Boolean]
Whether using NFC to beam data from apps is disabled. Corresponds to the JSON property `outgoingBeamDisabled` @return [Boolean]
Whether outgoing calls are disabled. Corresponds to the JSON property `outgoingCallsDisabled` @return [Boolean]
Whether outgoing calls are disabled. Corresponds to the JSON property `outgoingCallsDisabled` @return [Boolean]
Password requirement policies. Different policies can be set for work profile or fully managed devices by setting the password_scope field in the policy. Corresponds to the JSON property `passwordPolicies` @return [Array<Google::Apis::AndroidmanagementV1::PasswordRequirements>]
Requirements for the password used to unlock a device. Corresponds to the JSON property `passwordRequirements` @return [Google::Apis::AndroidmanagementV1::PasswordRequirements]
Explicit permission or group grants or denials for all apps. These values override the default_permission_policy. Corresponds to the JSON property `permissionGrants` @return [Array<Google::Apis::AndroidmanagementV1::PermissionGrant>]
A list of package names. Corresponds to the JSON property `permittedAccessibilityServices` @return [Google::Apis::AndroidmanagementV1::PackageNameList]
A list of package names. Corresponds to the JSON property `permittedInputMethods` @return [Google::Apis::AndroidmanagementV1::PackageNameList]
Default intent handler activities. Corresponds to the JSON property `persistentPreferredActivities` @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
Policies controlling personal usage on a company-owned device with a work profile. Corresponds to the JSON property `personalUsagePolicies` @return [Google::Apis::AndroidmanagementV1::PersonalUsagePolicies]
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. Corresponds to the JSON property `playStoreMode` @return [String]
Rules that define the behavior when a particular policy can not be applied on device Corresponds to the JSON property `policyEnforcementRules` @return [Array<Google::Apis::AndroidmanagementV1::PolicyEnforcementRule>]
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. Corresponds to the JSON property `privateKeySelectionEnabled` @return [Boolean]
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. Corresponds to the JSON property `privateKeySelectionEnabled` @return [Boolean]
Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field. Corresponds to the JSON property `recommendedGlobalProxy` @return [Google::Apis::AndroidmanagementV1::ProxyInfo]
Whether removing other users is disabled. Corresponds to the JSON property `removeUserDisabled` @return [Boolean]
Whether removing other users is disabled. Corresponds to the JSON property `removeUserDisabled` @return [Boolean]
Whether rebooting the device into safe boot is disabled. Corresponds to the JSON property `safeBootDisabled` @return [Boolean]
Whether rebooting the device into safe boot is disabled. Corresponds to the JSON property `safeBootDisabled` @return [Boolean]
Whether screen capture is disabled. Corresponds to the JSON property `screenCaptureDisabled` @return [Boolean]
Whether screen capture is disabled. Corresponds to the JSON property `screenCaptureDisabled` @return [Boolean]
Whether changing the user icon is disabled. Corresponds to the JSON property `setUserIconDisabled` @return [Boolean]
Whether changing the user icon is disabled. Corresponds to the JSON property `setUserIconDisabled` @return [Boolean]
Whether changing the wallpaper is disabled. Corresponds to the JSON property `setWallpaperDisabled` @return [Boolean]
Whether changing the wallpaper is disabled. Corresponds to the JSON property `setWallpaperDisabled` @return [Boolean]
Actions to take during the setup process. Corresponds to the JSON property `setupActions` @return [Array<Google::Apis::AndroidmanagementV1::SetupAction>]
Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property `shortSupportMessage` @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
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. Corresponds to the JSON property `skipFirstUseHintsEnabled` @return [Boolean]
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. Corresponds to the JSON property `skipFirstUseHintsEnabled` @return [Boolean]
Whether sending and receiving SMS messages is disabled. Corresponds to the JSON property `smsDisabled` @return [Boolean]
Whether sending and receiving SMS messages is disabled. Corresponds to the JSON property `smsDisabled` @return [Boolean]
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. Corresponds to the JSON property `statusBarDisabled` @return [Boolean]
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. Corresponds to the JSON property `statusBarDisabled` @return [Boolean]
Settings controlling the behavior of status reports. Corresponds to the JSON property `statusReportingSettings` @return [Google::Apis::AndroidmanagementV1::StatusReportingSettings]
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. Corresponds to the JSON property `stayOnPluggedModes` @return [Array<String>]
Configuration for managing system updates Corresponds to the JSON property `systemUpdate` @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
Whether configuring tethering and portable hotspots is disabled. Corresponds to the JSON property `tetheringConfigDisabled` @return [Boolean]
Whether configuring tethering and portable hotspots is disabled. Corresponds to the JSON property `tetheringConfigDisabled` @return [Boolean]
Whether user uninstallation of applications is disabled. Corresponds to the JSON property `uninstallAppsDisabled` @return [Boolean]
Whether user uninstallation of applications is disabled. Corresponds to the JSON property `uninstallAppsDisabled` @return [Boolean]
Whether the microphone is muted and adjusting microphone volume is disabled. Corresponds to the JSON property `unmuteMicrophoneDisabled` @return [Boolean]
Whether the microphone is muted and adjusting microphone volume is disabled. Corresponds to the JSON property `unmuteMicrophoneDisabled` @return [Boolean]
Whether transferring files over USB is disabled. Corresponds to the JSON property `usbFileTransferDisabled` @return [Boolean]
Whether transferring files over USB is disabled. Corresponds to the JSON property `usbFileTransferDisabled` @return [Boolean]
Whether USB storage is enabled. Deprecated. Corresponds to the JSON property `usbMassStorageEnabled` @return [Boolean]
Whether USB storage is enabled. Deprecated. Corresponds to the JSON property `usbMassStorageEnabled` @return [Boolean]
The version of the policy. This is a read-only field. The version is incremented each time the policy is updated. Corresponds to the JSON property `version` @return [Fixnum]
Whether configuring VPN is disabled. Corresponds to the JSON property `vpnConfigDisabled` @return [Boolean]
Whether configuring VPN is disabled. Corresponds to the JSON property `vpnConfigDisabled` @return [Boolean]
Whether configuring Wi-Fi access points is disabled.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). Corresponds to the JSON property `wifiConfigDisabled` @return [Boolean]
Whether configuring Wi-Fi access points is disabled.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). Corresponds to the JSON property `wifiConfigDisabled` @return [Boolean]
DEPRECATED - Use wifi_config_disabled. Corresponds to the JSON property `wifiConfigsLockdownEnabled` @return [Boolean]
DEPRECATED - Use wifi_config_disabled. Corresponds to the JSON property `wifiConfigsLockdownEnabled` @return [Boolean]
Public Class Methods
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3148 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3153 def update!(**args) @account_types_with_management_disabled = args[:account_types_with_management_disabled] if args.key?(:account_types_with_management_disabled) @add_user_disabled = args[:add_user_disabled] if args.key?(:add_user_disabled) @adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled) @advanced_security_overrides = args[:advanced_security_overrides] if args.key?(:advanced_security_overrides) @always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package) @android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks) @app_auto_update_policy = args[:app_auto_update_policy] if args.key?(:app_auto_update_policy) @applications = args[:applications] if args.key?(:applications) @auto_date_and_time_zone = args[:auto_date_and_time_zone] if args.key?(:auto_date_and_time_zone) @auto_time_required = args[:auto_time_required] if args.key?(:auto_time_required) @block_applications_enabled = args[:block_applications_enabled] if args.key?(:block_applications_enabled) @bluetooth_config_disabled = args[:bluetooth_config_disabled] if args.key?(:bluetooth_config_disabled) @bluetooth_contact_sharing_disabled = args[:bluetooth_contact_sharing_disabled] if args.key?(:bluetooth_contact_sharing_disabled) @bluetooth_disabled = args[:bluetooth_disabled] if args.key?(:bluetooth_disabled) @camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled) @cell_broadcasts_config_disabled = args[:cell_broadcasts_config_disabled] if args.key?(:cell_broadcasts_config_disabled) @choose_private_key_rules = args[:choose_private_key_rules] if args.key?(:choose_private_key_rules) @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules) @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled) @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled) @cross_profile_policies = args[:cross_profile_policies] if args.key?(:cross_profile_policies) @data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled) @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed) @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy) @device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info) @encryption_policy = args[:encryption_policy] if args.key?(:encryption_policy) @ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled) @factory_reset_disabled = args[:factory_reset_disabled] if args.key?(:factory_reset_disabled) @frp_admin_emails = args[:frp_admin_emails] if args.key?(:frp_admin_emails) @fun_disabled = args[:fun_disabled] if args.key?(:fun_disabled) @install_apps_disabled = args[:install_apps_disabled] if args.key?(:install_apps_disabled) @install_unknown_sources_allowed = args[:install_unknown_sources_allowed] if args.key?(:install_unknown_sources_allowed) @keyguard_disabled = args[:keyguard_disabled] if args.key?(:keyguard_disabled) @keyguard_disabled_features = args[:keyguard_disabled_features] if args.key?(:keyguard_disabled_features) @kiosk_custom_launcher_enabled = args[:kiosk_custom_launcher_enabled] if args.key?(:kiosk_custom_launcher_enabled) @kiosk_customization = args[:kiosk_customization] if args.key?(:kiosk_customization) @location_mode = args[:location_mode] if args.key?(:location_mode) @long_support_message = args[:long_support_message] if args.key?(:long_support_message) @maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock) @minimum_api_level = args[:minimum_api_level] if args.key?(:minimum_api_level) @mobile_networks_config_disabled = args[:mobile_networks_config_disabled] if args.key?(:mobile_networks_config_disabled) @modify_accounts_disabled = args[:modify_accounts_disabled] if args.key?(:modify_accounts_disabled) @mount_physical_media_disabled = args[:mount_physical_media_disabled] if args.key?(:mount_physical_media_disabled) @name = args[:name] if args.key?(:name) @network_escape_hatch_enabled = args[:network_escape_hatch_enabled] if args.key?(:network_escape_hatch_enabled) @network_reset_disabled = args[:network_reset_disabled] if args.key?(:network_reset_disabled) @onc_certificate_providers = args[:onc_certificate_providers] if args.key?(:onc_certificate_providers) @open_network_configuration = args[:open_network_configuration] if args.key?(:open_network_configuration) @outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled) @outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled) @password_policies = args[:password_policies] if args.key?(:password_policies) @password_requirements = args[:password_requirements] if args.key?(:password_requirements) @permission_grants = args[:permission_grants] if args.key?(:permission_grants) @permitted_accessibility_services = args[:permitted_accessibility_services] if args.key?(:permitted_accessibility_services) @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods) @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities) @personal_usage_policies = args[:personal_usage_policies] if args.key?(:personal_usage_policies) @play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode) @policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules) @private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled) @recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy) @remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled) @safe_boot_disabled = args[:safe_boot_disabled] if args.key?(:safe_boot_disabled) @screen_capture_disabled = args[:screen_capture_disabled] if args.key?(:screen_capture_disabled) @set_user_icon_disabled = args[:set_user_icon_disabled] if args.key?(:set_user_icon_disabled) @set_wallpaper_disabled = args[:set_wallpaper_disabled] if args.key?(:set_wallpaper_disabled) @setup_actions = args[:setup_actions] if args.key?(:setup_actions) @share_location_disabled = args[:share_location_disabled] if args.key?(:share_location_disabled) @short_support_message = args[:short_support_message] if args.key?(:short_support_message) @skip_first_use_hints_enabled = args[:skip_first_use_hints_enabled] if args.key?(:skip_first_use_hints_enabled) @sms_disabled = args[:sms_disabled] if args.key?(:sms_disabled) @status_bar_disabled = args[:status_bar_disabled] if args.key?(:status_bar_disabled) @status_reporting_settings = args[:status_reporting_settings] if args.key?(:status_reporting_settings) @stay_on_plugged_modes = args[:stay_on_plugged_modes] if args.key?(:stay_on_plugged_modes) @system_update = args[:system_update] if args.key?(:system_update) @tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled) @uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled) @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled) @usb_file_transfer_disabled = args[:usb_file_transfer_disabled] if args.key?(:usb_file_transfer_disabled) @usb_mass_storage_enabled = args[:usb_mass_storage_enabled] if args.key?(:usb_mass_storage_enabled) @version = args[:version] if args.key?(:version) @vpn_config_disabled = args[:vpn_config_disabled] if args.key?(:vpn_config_disabled) @wifi_config_disabled = args[:wifi_config_disabled] if args.key?(:wifi_config_disabled) @wifi_configs_lockdown_enabled = args[:wifi_configs_lockdown_enabled] if args.key?(:wifi_configs_lockdown_enabled) end