Class: Google::Apis::AndroidmanagementV1::Policy
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::Policy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
A policy resource represents a group of settings that govern the behavior of a managed device and the apps installed on it.
Instance Attribute Summary collapse
-
#account_types_with_management_disabled ⇒ Array<String>
Account types that can't be managed by the user.
-
#add_user_disabled ⇒ Boolean
(also: #add_user_disabled?)
Whether adding new users and profiles is disabled.
-
#adjust_volume_disabled ⇒ Boolean
(also: #adjust_volume_disabled?)
Whether adjusting the master volume is disabled.
-
#advanced_security_overrides ⇒ Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
Security policies set to the most secure values by default.
-
#always_on_vpn_package ⇒ Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
Configuration for an always-on VPN connection.
-
#android_device_policy_tracks ⇒ Array<String>
The app tracks for Android Device Policy the device can access.
-
#app_auto_update_policy ⇒ String
The app auto update policy, which controls when automatic app updates can be applied.
-
#applications ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>
Policy applied to apps.
-
#auto_date_and_time_zone ⇒ String
Whether auto date, time, and time zone are enabled on a company-owned device.
-
#auto_time_required ⇒ Boolean
(also: #auto_time_required?)
Whether auto time is required, which prevents the user from manually setting the date and time.
-
#block_applications_enabled ⇒ Boolean
(also: #block_applications_enabled?)
Whether applications other than the ones configured in applications are blocked from being installed.
-
#bluetooth_config_disabled ⇒ Boolean
(also: #bluetooth_config_disabled?)
Whether configuring bluetooth is disabled.
-
#bluetooth_contact_sharing_disabled ⇒ Boolean
(also: #bluetooth_contact_sharing_disabled?)
Whether bluetooth contact sharing is disabled.
-
#bluetooth_disabled ⇒ Boolean
(also: #bluetooth_disabled?)
Whether bluetooth is disabled.
-
#camera_disabled ⇒ Boolean
(also: #camera_disabled?)
Whether all cameras on the device are disabled.
-
#cell_broadcasts_config_disabled ⇒ Boolean
(also: #cell_broadcasts_config_disabled?)
Whether configuring cell broadcast is disabled.
-
#choose_private_key_rules ⇒ Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>
Rules for automatically choosing a private key and certificate to authenticate the device to a server.
-
#compliance_rules ⇒ Array<Google::Apis::AndroidmanagementV1::ComplianceRule>
Rules declaring which mitigating actions to take when a device is not compliant with its policy.
-
#create_windows_disabled ⇒ Boolean
(also: #create_windows_disabled?)
Whether creating windows besides app windows is disabled.
-
#credentials_config_disabled ⇒ Boolean
(also: #credentials_config_disabled?)
Whether configuring user credentials is disabled.
-
#data_roaming_disabled ⇒ Boolean
(also: #data_roaming_disabled?)
Whether roaming data services are disabled.
-
#debugging_features_allowed ⇒ Boolean
(also: #debugging_features_allowed?)
Whether the user is allowed to enable debugging features.
-
#default_permission_policy ⇒ String
The default permission policy for runtime permission requests.
-
#device_owner_lock_screen_info ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
-
#encryption_policy ⇒ String
Whether encryption is enabled Corresponds to the JSON property
encryptionPolicy
. -
#ensure_verify_apps_enabled ⇒ Boolean
(also: #ensure_verify_apps_enabled?)
Whether app verification is force-enabled.
-
#factory_reset_disabled ⇒ Boolean
(also: #factory_reset_disabled?)
Whether factory resetting from settings is disabled.
-
#frp_admin_emails ⇒ Array<String>
Email addresses of device administrators for factory reset protection.
-
#fun_disabled ⇒ Boolean
(also: #fun_disabled?)
Whether the user is allowed to have fun.
-
#install_apps_disabled ⇒ Boolean
(also: #install_apps_disabled?)
Whether user installation of apps is disabled.
-
#install_unknown_sources_allowed ⇒ Boolean
(also: #install_unknown_sources_allowed?)
Whether the user is allowed to enable the "Unknown Sources" setting, which allows installation of apps from unknown sources.
-
#keyguard_disabled ⇒ Boolean
(also: #keyguard_disabled?)
Whether the keyguard is disabled.
-
#keyguard_disabled_features ⇒ Array<String>
Disabled keyguard customizations, such as widgets.
-
#kiosk_custom_launcher_enabled ⇒ Boolean
(also: #kiosk_custom_launcher_enabled?)
Whether the kiosk custom launcher is enabled.
-
#kiosk_customization ⇒ Google::Apis::AndroidmanagementV1::KioskCustomization
Settings controlling the behavior of a device in kiosk mode.
-
#location_mode ⇒ String
The degree of location detection enabled.
-
#long_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
-
#maximum_time_to_lock ⇒ Fixnum
Maximum time in milliseconds for user activity until the device locks.
-
#minimum_api_level ⇒ Fixnum
The minimum allowed Android API level.
-
#mobile_networks_config_disabled ⇒ Boolean
(also: #mobile_networks_config_disabled?)
Whether configuring mobile networks is disabled.
-
#modify_accounts_disabled ⇒ Boolean
(also: #modify_accounts_disabled?)
Whether adding or removing accounts is disabled.
-
#mount_physical_media_disabled ⇒ Boolean
(also: #mount_physical_media_disabled?)
Whether the user mounting physical external media is disabled.
-
#name ⇒ String
The name of the policy in the form enterprises/
enterpriseId
/policies/policyId
. -
#network_escape_hatch_enabled ⇒ Boolean
(also: #network_escape_hatch_enabled?)
Whether the network escape hatch is enabled.
-
#network_reset_disabled ⇒ Boolean
(also: #network_reset_disabled?)
Whether resetting network settings is disabled.
-
#open_network_configuration ⇒ Hash<String,Object>
Network configuration for the device.
-
#outgoing_beam_disabled ⇒ Boolean
(also: #outgoing_beam_disabled?)
Whether using NFC to beam data from apps is disabled.
-
#outgoing_calls_disabled ⇒ Boolean
(also: #outgoing_calls_disabled?)
Whether outgoing calls are disabled.
-
#password_policies ⇒ Array<Google::Apis::AndroidmanagementV1::PasswordRequirements>
Password requirement policies.
-
#password_requirements ⇒ Google::Apis::AndroidmanagementV1::PasswordRequirements
Requirements for the password used to unlock a device.
-
#permission_grants ⇒ Array<Google::Apis::AndroidmanagementV1::PermissionGrant>
Explicit permission or group grants or denials for all apps.
-
#permitted_accessibility_services ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
-
#permitted_input_methods ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
-
#persistent_preferred_activities ⇒ Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>
Default intent handler activities.
-
#personal_usage_policies ⇒ Google::Apis::AndroidmanagementV1::PersonalUsagePolicies
Policies controlling personal usage on a company-owned device with a work profile.
-
#play_store_mode ⇒ String
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.
-
#policy_enforcement_rules ⇒ Array<Google::Apis::AndroidmanagementV1::PolicyEnforcementRule>
Rules that define the behavior when a particular policy can not be applied on device Corresponds to the JSON property
policyEnforcementRules
. -
#private_key_selection_enabled ⇒ Boolean
(also: #private_key_selection_enabled?)
Allows showing UI on a device for a user to choose a private key alias if there are no matching rules in ChoosePrivateKeyRules.
-
#recommended_global_proxy ⇒ Google::Apis::AndroidmanagementV1::ProxyInfo
Configuration info for an HTTP proxy.
-
#remove_user_disabled ⇒ Boolean
(also: #remove_user_disabled?)
Whether removing other users is disabled.
-
#safe_boot_disabled ⇒ Boolean
(also: #safe_boot_disabled?)
Whether rebooting the device into safe boot is disabled.
-
#screen_capture_disabled ⇒ Boolean
(also: #screen_capture_disabled?)
Whether screen capture is disabled.
-
#set_user_icon_disabled ⇒ Boolean
(also: #set_user_icon_disabled?)
Whether changing the user icon is disabled.
-
#set_wallpaper_disabled ⇒ Boolean
(also: #set_wallpaper_disabled?)
Whether changing the wallpaper is disabled.
-
#setup_actions ⇒ Array<Google::Apis::AndroidmanagementV1::SetupAction>
Actions to take during the setup process.
-
#share_location_disabled ⇒ Boolean
(also: #share_location_disabled?)
Whether location sharing is disabled.
-
#short_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
-
#skip_first_use_hints_enabled ⇒ Boolean
(also: #skip_first_use_hints_enabled?)
Flag to skip hints on the first use.
-
#sms_disabled ⇒ Boolean
(also: #sms_disabled?)
Whether sending and receiving SMS messages is disabled.
-
#status_bar_disabled ⇒ Boolean
(also: #status_bar_disabled?)
Whether the status bar is disabled.
-
#status_reporting_settings ⇒ Google::Apis::AndroidmanagementV1::StatusReportingSettings
Settings controlling the behavior of status reports.
-
#stay_on_plugged_modes ⇒ Array<String>
The battery plugged in modes for which the device stays on.
-
#system_update ⇒ Google::Apis::AndroidmanagementV1::SystemUpdate
Configuration for managing system updates Corresponds to the JSON property
systemUpdate
. -
#tethering_config_disabled ⇒ Boolean
(also: #tethering_config_disabled?)
Whether configuring tethering and portable hotspots is disabled.
-
#uninstall_apps_disabled ⇒ Boolean
(also: #uninstall_apps_disabled?)
Whether user uninstallation of applications is disabled.
-
#unmute_microphone_disabled ⇒ Boolean
(also: #unmute_microphone_disabled?)
Whether the microphone is muted and adjusting microphone volume is disabled.
-
#usb_file_transfer_disabled ⇒ Boolean
(also: #usb_file_transfer_disabled?)
Whether transferring files over USB is disabled.
-
#usb_mass_storage_enabled ⇒ Boolean
(also: #usb_mass_storage_enabled?)
Whether USB storage is enabled.
-
#version ⇒ Fixnum
The version of the policy.
-
#vpn_config_disabled ⇒ Boolean
(also: #vpn_config_disabled?)
Whether configuring VPN is disabled.
-
#wifi_config_disabled ⇒ Boolean
(also: #wifi_config_disabled?)
Whether configuring Wi-Fi access points is disabled.
-
#wifi_configs_lockdown_enabled ⇒ Boolean
(also: #wifi_configs_lockdown_enabled?)
DEPRECATED - Use wifi_config_disabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Policy
constructor
A new instance of Policy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Policy
Returns a new instance of Policy.
2879 2880 2881 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2879 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_types_with_management_disabled ⇒ Array<String>
Account types that can't be managed by the user.
Corresponds to the JSON property accountTypesWithManagementDisabled
2371 2372 2373 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2371 def account_types_with_management_disabled @account_types_with_management_disabled end |
#add_user_disabled ⇒ Boolean Also known as: add_user_disabled?
Whether adding new users and profiles is disabled.
Corresponds to the JSON property addUserDisabled
2376 2377 2378 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2376 def add_user_disabled @add_user_disabled end |
#adjust_volume_disabled ⇒ Boolean Also known as: adjust_volume_disabled?
Whether adjusting the master volume is disabled.
Corresponds to the JSON property adjustVolumeDisabled
2382 2383 2384 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2382 def adjust_volume_disabled @adjust_volume_disabled end |
#advanced_security_overrides ⇒ Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
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
2390 2391 2392 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2390 def advanced_security_overrides @advanced_security_overrides end |
#always_on_vpn_package ⇒ Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
Configuration for an always-on VPN connection.
Corresponds to the JSON property alwaysOnVpnPackage
2395 2396 2397 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2395 def always_on_vpn_package @always_on_vpn_package end |
#android_device_policy_tracks ⇒ Array<String>
The app tracks for Android Device Policy the device can access. The device
receives the latest version among all accessible tracks. If no tracks are
specified, then the device only uses the production track.
Corresponds to the JSON property androidDevicePolicyTracks
2402 2403 2404 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2402 def android_device_policy_tracks @android_device_policy_tracks end |
#app_auto_update_policy ⇒ String
The app auto update policy, which controls when automatic app updates can be
applied.
Corresponds to the JSON property appAutoUpdatePolicy
2408 2409 2410 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2408 def app_auto_update_policy @app_auto_update_policy end |
#applications ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>
Policy applied to apps.
Corresponds to the JSON property applications
2413 2414 2415 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2413 def applications @applications end |
#auto_date_and_time_zone ⇒ String
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
2419 2420 2421 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2419 def auto_date_and_time_zone @auto_date_and_time_zone end |
#auto_time_required ⇒ Boolean Also known as: auto_time_required?
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
2425 2426 2427 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2425 def auto_time_required @auto_time_required end |
#block_applications_enabled ⇒ Boolean Also known as: block_applications_enabled?
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
2434 2435 2436 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2434 def block_applications_enabled @block_applications_enabled end |
#bluetooth_config_disabled ⇒ Boolean Also known as: bluetooth_config_disabled?
Whether configuring bluetooth is disabled.
Corresponds to the JSON property bluetoothConfigDisabled
2440 2441 2442 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2440 def bluetooth_config_disabled @bluetooth_config_disabled end |
#bluetooth_contact_sharing_disabled ⇒ Boolean Also known as: bluetooth_contact_sharing_disabled?
Whether bluetooth contact sharing is disabled.
Corresponds to the JSON property bluetoothContactSharingDisabled
2446 2447 2448 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2446 def bluetooth_contact_sharing_disabled @bluetooth_contact_sharing_disabled end |
#bluetooth_disabled ⇒ Boolean Also known as: bluetooth_disabled?
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
2454 2455 2456 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2454 def bluetooth_disabled @bluetooth_disabled end |
#camera_disabled ⇒ Boolean Also known as: camera_disabled?
Whether all cameras on the device are disabled.
Corresponds to the JSON property cameraDisabled
2460 2461 2462 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2460 def camera_disabled @camera_disabled end |
#cell_broadcasts_config_disabled ⇒ Boolean Also known as: cell_broadcasts_config_disabled?
Whether configuring cell broadcast is disabled.
Corresponds to the JSON property cellBroadcastsConfigDisabled
2466 2467 2468 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2466 def cell_broadcasts_config_disabled @cell_broadcasts_config_disabled end |
#choose_private_key_rules ⇒ Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>
Rules for automatically choosing a private key and certificate to authenticate
the device to a server. The rules are ordered by increasing precedence, so if
an outgoing request matches more than one rule, the last rule defines which
private key to use.
Corresponds to the JSON property choosePrivateKeyRules
2475 2476 2477 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2475 def choose_private_key_rules @choose_private_key_rules end |
#compliance_rules ⇒ Array<Google::Apis::AndroidmanagementV1::ComplianceRule>
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
2483 2484 2485 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2483 def compliance_rules @compliance_rules end |
#create_windows_disabled ⇒ Boolean Also known as: create_windows_disabled?
Whether creating windows besides app windows is disabled.
Corresponds to the JSON property createWindowsDisabled
2488 2489 2490 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2488 def create_windows_disabled @create_windows_disabled end |
#credentials_config_disabled ⇒ Boolean Also known as: credentials_config_disabled?
Whether configuring user credentials is disabled.
Corresponds to the JSON property credentialsConfigDisabled
2494 2495 2496 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2494 def credentials_config_disabled @credentials_config_disabled end |
#data_roaming_disabled ⇒ Boolean Also known as: data_roaming_disabled?
Whether roaming data services are disabled.
Corresponds to the JSON property dataRoamingDisabled
2500 2501 2502 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2500 def data_roaming_disabled @data_roaming_disabled end |
#debugging_features_allowed ⇒ Boolean Also known as: debugging_features_allowed?
Whether the user is allowed to enable debugging features.
Corresponds to the JSON property debuggingFeaturesAllowed
2506 2507 2508 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2506 def debugging_features_allowed @debugging_features_allowed end |
#default_permission_policy ⇒ String
The default permission policy for runtime permission requests.
Corresponds to the JSON property defaultPermissionPolicy
2512 2513 2514 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2512 def @default_permission_policy end |
#device_owner_lock_screen_info ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property deviceOwnerLockScreenInfo
2518 2519 2520 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2518 def device_owner_lock_screen_info @device_owner_lock_screen_info end |
#encryption_policy ⇒ String
Whether encryption is enabled
Corresponds to the JSON property encryptionPolicy
2523 2524 2525 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2523 def encryption_policy @encryption_policy end |
#ensure_verify_apps_enabled ⇒ Boolean Also known as: ensure_verify_apps_enabled?
Whether app verification is force-enabled.
Corresponds to the JSON property ensureVerifyAppsEnabled
2528 2529 2530 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2528 def ensure_verify_apps_enabled @ensure_verify_apps_enabled end |
#factory_reset_disabled ⇒ Boolean Also known as: factory_reset_disabled?
Whether factory resetting from settings is disabled.
Corresponds to the JSON property factoryResetDisabled
2534 2535 2536 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2534 def factory_reset_disabled @factory_reset_disabled end |
#frp_admin_emails ⇒ Array<String>
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
2543 2544 2545 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2543 def frp_admin_emails @frp_admin_emails end |
#fun_disabled ⇒ Boolean Also known as: fun_disabled?
Whether the user is allowed to have fun. Controls whether the Easter egg game
in Settings is disabled.
Corresponds to the JSON property funDisabled
2549 2550 2551 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2549 def fun_disabled @fun_disabled end |
#install_apps_disabled ⇒ Boolean Also known as: install_apps_disabled?
Whether user installation of apps is disabled.
Corresponds to the JSON property installAppsDisabled
2555 2556 2557 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2555 def install_apps_disabled @install_apps_disabled end |
#install_unknown_sources_allowed ⇒ Boolean Also known as: install_unknown_sources_allowed?
Whether the user is allowed to enable the "Unknown Sources" setting, which
allows installation of apps from unknown sources.
Corresponds to the JSON property installUnknownSourcesAllowed
2562 2563 2564 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2562 def install_unknown_sources_allowed @install_unknown_sources_allowed end |
#keyguard_disabled ⇒ Boolean Also known as: keyguard_disabled?
Whether the keyguard is disabled.
Corresponds to the JSON property keyguardDisabled
2568 2569 2570 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2568 def keyguard_disabled @keyguard_disabled end |
#keyguard_disabled_features ⇒ Array<String>
Disabled keyguard customizations, such as widgets.
Corresponds to the JSON property keyguardDisabledFeatures
2574 2575 2576 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2574 def keyguard_disabled_features @keyguard_disabled_features end |
#kiosk_custom_launcher_enabled ⇒ Boolean Also known as: kiosk_custom_launcher_enabled?
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
2582 2583 2584 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2582 def kiosk_custom_launcher_enabled @kiosk_custom_launcher_enabled end |
#kiosk_customization ⇒ Google::Apis::AndroidmanagementV1::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.
Corresponds to the JSON property kioskCustomization
2590 2591 2592 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2590 def kiosk_customization @kiosk_customization end |
#location_mode ⇒ String
The degree of location detection enabled.
Corresponds to the JSON property locationMode
2595 2596 2597 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2595 def location_mode @location_mode end |
#long_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property longSupportMessage
2601 2602 2603 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2601 def @long_support_message end |
#maximum_time_to_lock ⇒ Fixnum
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
2607 2608 2609 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2607 def maximum_time_to_lock @maximum_time_to_lock end |
#minimum_api_level ⇒ Fixnum
The minimum allowed Android API level.
Corresponds to the JSON property minimumApiLevel
2612 2613 2614 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2612 def minimum_api_level @minimum_api_level end |
#mobile_networks_config_disabled ⇒ Boolean Also known as: mobile_networks_config_disabled?
Whether configuring mobile networks is disabled.
Corresponds to the JSON property mobileNetworksConfigDisabled
2617 2618 2619 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2617 def mobile_networks_config_disabled @mobile_networks_config_disabled end |
#modify_accounts_disabled ⇒ Boolean Also known as: modify_accounts_disabled?
Whether adding or removing accounts is disabled.
Corresponds to the JSON property modifyAccountsDisabled
2623 2624 2625 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2623 def modify_accounts_disabled @modify_accounts_disabled end |
#mount_physical_media_disabled ⇒ Boolean Also known as: mount_physical_media_disabled?
Whether the user mounting physical external media is disabled.
Corresponds to the JSON property mountPhysicalMediaDisabled
2629 2630 2631 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2629 def mount_physical_media_disabled @mount_physical_media_disabled end |
#name ⇒ String
The name of the policy in the form enterprises/enterpriseId
/policies/
policyId
.
Corresponds to the JSON property name
2636 2637 2638 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2636 def name @name end |
#network_escape_hatch_enabled ⇒ Boolean Also known as: network_escape_hatch_enabled?
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.
Corresponds to the JSON property networkEscapeHatchEnabled
2647 2648 2649 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2647 def network_escape_hatch_enabled @network_escape_hatch_enabled end |
#network_reset_disabled ⇒ Boolean Also known as: network_reset_disabled?
Whether resetting network settings is disabled.
Corresponds to the JSON property networkResetDisabled
2653 2654 2655 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2653 def network_reset_disabled @network_reset_disabled end |
#open_network_configuration ⇒ Hash<String,Object>
Network configuration for the device. See configure networks for more
information.
Corresponds to the JSON property openNetworkConfiguration
2660 2661 2662 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2660 def open_network_configuration @open_network_configuration end |
#outgoing_beam_disabled ⇒ Boolean Also known as: outgoing_beam_disabled?
Whether using NFC to beam data from apps is disabled.
Corresponds to the JSON property outgoingBeamDisabled
2665 2666 2667 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2665 def outgoing_beam_disabled @outgoing_beam_disabled end |
#outgoing_calls_disabled ⇒ Boolean Also known as: outgoing_calls_disabled?
Whether outgoing calls are disabled.
Corresponds to the JSON property outgoingCallsDisabled
2671 2672 2673 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2671 def outgoing_calls_disabled @outgoing_calls_disabled end |
#password_policies ⇒ Array<Google::Apis::AndroidmanagementV1::PasswordRequirements>
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
2678 2679 2680 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2678 def password_policies @password_policies end |
#password_requirements ⇒ Google::Apis::AndroidmanagementV1::PasswordRequirements
Requirements for the password used to unlock a device.
Corresponds to the JSON property passwordRequirements
2683 2684 2685 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2683 def password_requirements @password_requirements end |
#permission_grants ⇒ Array<Google::Apis::AndroidmanagementV1::PermissionGrant>
Explicit permission or group grants or denials for all apps. These values
override the default_permission_policy.
Corresponds to the JSON property permissionGrants
2689 2690 2691 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2689 def @permission_grants end |
#permitted_accessibility_services ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
Corresponds to the JSON property permittedAccessibilityServices
2694 2695 2696 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2694 def permitted_accessibility_services @permitted_accessibility_services end |
#permitted_input_methods ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
Corresponds to the JSON property permittedInputMethods
2699 2700 2701 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2699 def permitted_input_methods @permitted_input_methods end |
#persistent_preferred_activities ⇒ Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>
Default intent handler activities.
Corresponds to the JSON property persistentPreferredActivities
2704 2705 2706 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2704 def persistent_preferred_activities @persistent_preferred_activities end |
#personal_usage_policies ⇒ Google::Apis::AndroidmanagementV1::PersonalUsagePolicies
Policies controlling personal usage on a company-owned device with a work
profile.
Corresponds to the JSON property personalUsagePolicies
2710 2711 2712 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2710 def personal_usage_policies @personal_usage_policies end |
#play_store_mode ⇒ String
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
2716 2717 2718 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2716 def play_store_mode @play_store_mode end |
#policy_enforcement_rules ⇒ Array<Google::Apis::AndroidmanagementV1::PolicyEnforcementRule>
Rules that define the behavior when a particular policy can not be applied on
device
Corresponds to the JSON property policyEnforcementRules
2722 2723 2724 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2722 def policy_enforcement_rules @policy_enforcement_rules end |
#private_key_selection_enabled ⇒ Boolean Also known as: private_key_selection_enabled?
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
2729 2730 2731 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2729 def private_key_selection_enabled @private_key_selection_enabled end |
#recommended_global_proxy ⇒ Google::Apis::AndroidmanagementV1::ProxyInfo
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
2736 2737 2738 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2736 def recommended_global_proxy @recommended_global_proxy end |
#remove_user_disabled ⇒ Boolean Also known as: remove_user_disabled?
Whether removing other users is disabled.
Corresponds to the JSON property removeUserDisabled
2741 2742 2743 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2741 def remove_user_disabled @remove_user_disabled end |
#safe_boot_disabled ⇒ Boolean Also known as: safe_boot_disabled?
Whether rebooting the device into safe boot is disabled.
Corresponds to the JSON property safeBootDisabled
2747 2748 2749 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2747 def safe_boot_disabled @safe_boot_disabled end |
#screen_capture_disabled ⇒ Boolean Also known as: screen_capture_disabled?
Whether screen capture is disabled.
Corresponds to the JSON property screenCaptureDisabled
2753 2754 2755 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2753 def screen_capture_disabled @screen_capture_disabled end |
#set_user_icon_disabled ⇒ Boolean Also known as: set_user_icon_disabled?
Whether changing the user icon is disabled.
Corresponds to the JSON property setUserIconDisabled
2759 2760 2761 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2759 def set_user_icon_disabled @set_user_icon_disabled end |
#set_wallpaper_disabled ⇒ Boolean Also known as: set_wallpaper_disabled?
Whether changing the wallpaper is disabled.
Corresponds to the JSON property setWallpaperDisabled
2765 2766 2767 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2765 def set_wallpaper_disabled @set_wallpaper_disabled end |
#setup_actions ⇒ Array<Google::Apis::AndroidmanagementV1::SetupAction>
Actions to take during the setup process.
Corresponds to the JSON property setupActions
2771 2772 2773 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2771 def setup_actions @setup_actions end |
#share_location_disabled ⇒ Boolean Also known as:
Whether location sharing is disabled.
Corresponds to the JSON property shareLocationDisabled
2776 2777 2778 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2776 def share_location_disabled @share_location_disabled end |
#short_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property shortSupportMessage
2783 2784 2785 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2783 def @short_support_message end |
#skip_first_use_hints_enabled ⇒ Boolean Also known as: skip_first_use_hints_enabled?
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
2790 2791 2792 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2790 def skip_first_use_hints_enabled @skip_first_use_hints_enabled end |
#sms_disabled ⇒ Boolean Also known as: sms_disabled?
Whether sending and receiving SMS messages is disabled.
Corresponds to the JSON property smsDisabled
2796 2797 2798 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2796 def sms_disabled @sms_disabled end |
#status_bar_disabled ⇒ Boolean Also known as: status_bar_disabled?
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
2805 2806 2807 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2805 def @status_bar_disabled end |
#status_reporting_settings ⇒ Google::Apis::AndroidmanagementV1::StatusReportingSettings
Settings controlling the behavior of status reports.
Corresponds to the JSON property statusReportingSettings
2811 2812 2813 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2811 def status_reporting_settings @status_reporting_settings end |
#stay_on_plugged_modes ⇒ Array<String>
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
2818 2819 2820 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2818 def stay_on_plugged_modes @stay_on_plugged_modes end |
#system_update ⇒ Google::Apis::AndroidmanagementV1::SystemUpdate
Configuration for managing system updates
Corresponds to the JSON property systemUpdate
2823 2824 2825 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2823 def system_update @system_update end |
#tethering_config_disabled ⇒ Boolean Also known as: tethering_config_disabled?
Whether configuring tethering and portable hotspots is disabled.
Corresponds to the JSON property tetheringConfigDisabled
2828 2829 2830 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2828 def tethering_config_disabled @tethering_config_disabled end |
#uninstall_apps_disabled ⇒ Boolean Also known as: uninstall_apps_disabled?
Whether user uninstallation of applications is disabled.
Corresponds to the JSON property uninstallAppsDisabled
2834 2835 2836 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2834 def uninstall_apps_disabled @uninstall_apps_disabled end |
#unmute_microphone_disabled ⇒ Boolean Also known as: unmute_microphone_disabled?
Whether the microphone is muted and adjusting microphone volume is disabled.
Corresponds to the JSON property unmuteMicrophoneDisabled
2840 2841 2842 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2840 def unmute_microphone_disabled @unmute_microphone_disabled end |
#usb_file_transfer_disabled ⇒ Boolean Also known as: usb_file_transfer_disabled?
Whether transferring files over USB is disabled.
Corresponds to the JSON property usbFileTransferDisabled
2846 2847 2848 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2846 def usb_file_transfer_disabled @usb_file_transfer_disabled end |
#usb_mass_storage_enabled ⇒ Boolean Also known as: usb_mass_storage_enabled?
Whether USB storage is enabled. Deprecated.
Corresponds to the JSON property usbMassStorageEnabled
2852 2853 2854 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2852 def usb_mass_storage_enabled @usb_mass_storage_enabled end |
#version ⇒ Fixnum
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
2859 2860 2861 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2859 def version @version end |
#vpn_config_disabled ⇒ Boolean Also known as: vpn_config_disabled?
Whether configuring VPN is disabled.
Corresponds to the JSON property vpnConfigDisabled
2864 2865 2866 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2864 def vpn_config_disabled @vpn_config_disabled end |
#wifi_config_disabled ⇒ Boolean Also known as: wifi_config_disabled?
Whether configuring Wi-Fi access points is disabled.
Corresponds to the JSON property wifiConfigDisabled
2870 2871 2872 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2870 def wifi_config_disabled @wifi_config_disabled end |
#wifi_configs_lockdown_enabled ⇒ Boolean Also known as: wifi_configs_lockdown_enabled?
DEPRECATED - Use wifi_config_disabled.
Corresponds to the JSON property wifiConfigsLockdownEnabled
2876 2877 2878 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2876 def wifi_configs_lockdown_enabled @wifi_configs_lockdown_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2884 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) @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) @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 |