Class: Google::Apis::AndroidmanagementV1::Policy
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::Policy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/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
Advanced security settings.
-
#always_on_vpn_package ⇒ Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
Configuration for an always-on VPN connection.
-
#android_device_policy_tracks ⇒ Array<String>
This setting is not supported.
-
#app_auto_update_policy ⇒ String
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.
-
#app_functions ⇒ String
Optional.
-
#applications ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>
Policy applied to apps.
-
#assist_content_policy ⇒ String
Optional.
-
#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.
-
#autofill_policy ⇒ String
Optional.
-
#block_applications_enabled ⇒ Boolean
(also: #block_applications_enabled?)
This field has no effect.
-
#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_access ⇒ String
Controls the use of the camera and whether the user has access to the camera access toggle.
-
#camera_disabled ⇒ Boolean
(also: #camera_disabled?)
If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED, this has no effect.
-
#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 determining apps' access to private keys.
-
#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.
-
#credential_provider_policy_default ⇒ String
Optional.
-
#credentials_config_disabled ⇒ Boolean
(also: #credentials_config_disabled?)
Whether configuring user credentials is disabled.
-
#cross_device_policies ⇒ Google::Apis::AndroidmanagementV1::CrossDevicePolicies
Policies controlling cross-device communication.
-
#cross_profile_policies ⇒ Google::Apis::AndroidmanagementV1::CrossProfilePolicies
Controls the data from the work profile that can be accessed from the personal profile and vice versa.
-
#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_application_settings ⇒ Array<Google::Apis::AndroidmanagementV1::DefaultApplicationSetting>
Optional.
-
#default_permission_policy ⇒ String
The default permission policy for runtime permission requests.
-
#device_connectivity_management ⇒ Google::Apis::AndroidmanagementV1::DeviceConnectivityManagement
Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more.
-
#device_owner_lock_screen_info ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
-
#device_radio_state ⇒ Google::Apis::AndroidmanagementV1::DeviceRadioState
Controls for device radio settings.
-
#display_settings ⇒ Google::Apis::AndroidmanagementV1::DisplaySettings
Controls for the display settings.
-
#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.
-
#enterprise_display_name_visibility ⇒ String
Optional.
-
#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?)
This field has no effect.
-
#keyguard_disabled ⇒ Boolean
(also: #keyguard_disabled?)
If true, this disables the Lock Screen (https://source.android.com/docs/core/ display/multi_display/lock-screen) for primary and/or secondary displays.
-
#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.
-
#microphone_access ⇒ String
Controls the use of the microphone and whether the user has access to the microphone access toggle.
-
#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.
-
#onc_certificate_providers ⇒ Array<Google::Apis::AndroidmanagementV1::OncCertificateProvider>
This feature is not generally available.
-
#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.Warning: Do not configure this and default_application_settings for the same intent domain, such as web browsing.
-
#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. -
#preferential_network_service ⇒ String
Controls whether preferential network service is enabled on the work profile or on fully managed devices.
-
#printing_policy ⇒ String
Optional.
-
#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>
Action 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 updatesNote: Google Play system updates ( https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded but require a device reboot to be installed.
-
#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?)
If microphone_access is set to any value other than MICROPHONE_ACCESS_UNSPECIFIED, this has no effect.
-
#usage_log ⇒ Google::Apis::AndroidmanagementV1::UsageLog
Controls types of device activity logs collected from the device and reported via Pub/Sub notification (https://developers.google.com/android/management/ notifications).
-
#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 networks is disabled.
-
#wifi_configs_lockdown_enabled ⇒ Boolean
(also: #wifi_configs_lockdown_enabled?)
This is deprecated.
-
#wipe_data_flags ⇒ Array<String>
Optional.
-
#work_account_setup_config ⇒ Google::Apis::AndroidmanagementV1::WorkAccountSetupConfig
Controls the work account setup configuration, such as details of whether a Google authenticated account is required.
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.
6016 6017 6018 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6016 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
5338 5339 5340 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5338 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. For devices where
managementMode is DEVICE_OWNER this field is ignored and the user is never
allowed to add or remove users.
Corresponds to the JSON property addUserDisabled
5345 5346 5347 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5345 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. Also mutes the device. The
setting has effect only on fully managed devices.
Corresponds to the JSON property adjustVolumeDisabled
5352 5353 5354 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5352 def adjust_volume_disabled @adjust_volume_disabled end |
#advanced_security_overrides ⇒ Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides
Advanced security settings. In most cases, setting these is not needed.
Corresponds to the JSON property advancedSecurityOverrides
5358 5359 5360 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5358 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
5363 5364 5365 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5363 def always_on_vpn_package @always_on_vpn_package end |
#android_device_policy_tracks ⇒ Array<String>
This setting is not supported. Any value is ignored.
Corresponds to the JSON property androidDevicePolicyTracks
5368 5369 5370 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5368 def android_device_policy_tracks @android_device_policy_tracks end |
#app_auto_update_policy ⇒ String
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.
Corresponds to the JSON property appAutoUpdatePolicy
5377 5378 5379 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5377 def app_auto_update_policy @app_auto_update_policy end |
#app_functions ⇒ String
Optional. Controls whether apps on the device for fully managed devices or in
the work profile for devices with work profiles are allowed to expose app
functions.
Corresponds to the JSON property appFunctions
5384 5385 5386 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5384 def app_functions @app_functions end |
#applications ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>
Policy applied to apps. This can have at most 3,000 elements.
Corresponds to the JSON property applications
5389 5390 5391 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5389 def applications @applications end |
#assist_content_policy ⇒ String
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.
Corresponds to the JSON property assistContentPolicy
5398 5399 5400 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5398 def assist_content_policy @assist_content_policy 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
5404 5405 5406 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5404 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
5410 5411 5412 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5410 def auto_time_required @auto_time_required end |
#autofill_policy ⇒ String
Optional. The policy for the autofill service.
Corresponds to the JSON property autofillPolicy
5416 5417 5418 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5416 def autofill_policy @autofill_policy end |
#block_applications_enabled ⇒ Boolean Also known as: block_applications_enabled?
This field has no effect.
Corresponds to the JSON property blockApplicationsEnabled
5421 5422 5423 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5421 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
5427 5428 5429 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5427 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
5433 5434 5435 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5433 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
5441 5442 5443 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5441 def bluetooth_disabled @bluetooth_disabled end |
#camera_access ⇒ String
Controls the use of the camera and whether the user has access to the camera
access toggle.
Corresponds to the JSON property cameraAccess
5448 5449 5450 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5448 def camera_access @camera_access end |
#camera_disabled ⇒ Boolean Also known as: camera_disabled?
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.
Corresponds to the JSON property cameraDisabled
5458 5459 5460 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5458 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
5464 5465 5466 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5464 def cell_broadcasts_config_disabled @cell_broadcasts_config_disabled end |
#choose_private_key_rules ⇒ Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>
Rules for determining apps' access to private keys. See ChoosePrivateKeyRule
for details. This must be empty if any application has CERT_SELECTION
delegation scope.
Corresponds to the JSON property choosePrivateKeyRules
5472 5473 5474 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5472 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
5480 5481 5482 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5480 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
5485 5486 5487 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5485 def create_windows_disabled @create_windows_disabled end |
#credential_provider_policy_default ⇒ String
Optional. 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.
Corresponds to the JSON property credentialProviderPolicyDefault
5495 5496 5497 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5495 def credential_provider_policy_default @credential_provider_policy_default end |
#credentials_config_disabled ⇒ Boolean Also known as: credentials_config_disabled?
Whether configuring user credentials is disabled.
Corresponds to the JSON property credentialsConfigDisabled
5500 5501 5502 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5500 def credentials_config_disabled @credentials_config_disabled end |
#cross_device_policies ⇒ Google::Apis::AndroidmanagementV1::CrossDevicePolicies
Policies controlling cross-device communication.
Corresponds to the JSON property crossDevicePolicies
5506 5507 5508 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5506 def cross_device_policies @cross_device_policies end |
#cross_profile_policies ⇒ Google::Apis::AndroidmanagementV1::CrossProfilePolicies
Controls the data from the work profile that can be accessed from the personal
profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE is reported
if the device does not have a work profile.
Corresponds to the JSON property crossProfilePolicies
5513 5514 5515 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5513 def cross_profile_policies @cross_profile_policies end |
#data_roaming_disabled ⇒ Boolean Also known as: data_roaming_disabled?
Whether roaming data services are disabled.
Corresponds to the JSON property dataRoamingDisabled
5518 5519 5520 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5518 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
5524 5525 5526 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5524 def debugging_features_allowed @debugging_features_allowed end |
#default_application_settings ⇒ Array<Google::Apis::AndroidmanagementV1::DefaultApplicationSetting>
Optional. The default application setting for supported types. If the default
application is successfully set for at least one app type on a profile, users
are prevented from changing any default applications on that profile.Only one
DefaultApplicationSetting is allowed for each DefaultApplicationType.Warning:
Do not configure this and persistent_preferred_activities for the same intent
domain, such as web browsing. Setting both for the same intent domain can lead
to unpredictable behavior.See Default application settings (https://developers.
google.com/android/management/default-application-settings) guide for more
details.
Corresponds to the JSON property defaultApplicationSettings
5538 5539 5540 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5538 def default_application_settings @default_application_settings end |
#default_permission_policy ⇒ String
The default permission policy for runtime permission requests.
Corresponds to the JSON property defaultPermissionPolicy
5543 5544 5545 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5543 def @default_permission_policy end |
#device_connectivity_management ⇒ Google::Apis::AndroidmanagementV1::DeviceConnectivityManagement
Covers controls for device connectivity such as Wi-Fi, USB data access,
keyboard/mouse connections, and more.
Corresponds to the JSON property deviceConnectivityManagement
5549 5550 5551 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5549 def device_connectivity_management @device_connectivity_management 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
5555 5556 5557 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5555 def device_owner_lock_screen_info @device_owner_lock_screen_info end |
#device_radio_state ⇒ Google::Apis::AndroidmanagementV1::DeviceRadioState
Controls for device radio settings.
Corresponds to the JSON property deviceRadioState
5560 5561 5562 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5560 def device_radio_state @device_radio_state end |
#display_settings ⇒ Google::Apis::AndroidmanagementV1::DisplaySettings
Controls for the display settings.
Corresponds to the JSON property displaySettings
5565 5566 5567 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5565 def display_settings @display_settings end |
#encryption_policy ⇒ String
Whether encryption is enabled
Corresponds to the JSON property encryptionPolicy
5570 5571 5572 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5570 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
5575 5576 5577 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5575 def ensure_verify_apps_enabled @ensure_verify_apps_enabled end |
#enterprise_display_name_visibility ⇒ String
Optional. Controls whether the enterpriseDisplayName is visible on the device (
e.g. lock screen message on company-owned devices).
Corresponds to the JSON property enterpriseDisplayNameVisibility
5582 5583 5584 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5582 def enterprise_display_name_visibility @enterprise_display_name_visibility end |
#factory_reset_disabled ⇒ Boolean Also known as: factory_reset_disabled?
Whether factory resetting from settings is disabled.
Corresponds to the JSON property factoryResetDisabled
5587 5588 5589 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5587 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
5596 5597 5598 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5596 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
5602 5603 5604 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5602 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
5608 5609 5610 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5608 def install_apps_disabled @install_apps_disabled end |
#install_unknown_sources_allowed ⇒ Boolean Also known as: install_unknown_sources_allowed?
This field has no effect.
Corresponds to the JSON property installUnknownSourcesAllowed
5614 5615 5616 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5614 def install_unknown_sources_allowed @install_unknown_sources_allowed end |
#keyguard_disabled ⇒ Boolean Also known as: keyguard_disabled?
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.
Corresponds to the JSON property keyguardDisabled
5622 5623 5624 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5622 def keyguard_disabled @keyguard_disabled end |
#keyguard_disabled_features ⇒ Array<String>
Disabled keyguard customizations, such as widgets.
Corresponds to the JSON property keyguardDisabledFeatures
5628 5629 5630 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5628 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
5636 5637 5638 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5636 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
5644 5645 5646 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5644 def kiosk_customization @kiosk_customization end |
#location_mode ⇒ String
The degree of location detection enabled.
Corresponds to the JSON property locationMode
5649 5650 5651 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5649 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
5655 5656 5657 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5655 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
5661 5662 5663 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5661 def maximum_time_to_lock @maximum_time_to_lock end |
#microphone_access ⇒ String
Controls the use of the microphone and whether the user has access to the
microphone access toggle. This applies only on fully managed devices.
Corresponds to the JSON property microphoneAccess
5667 5668 5669 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5667 def microphone_access @microphone_access end |
#minimum_api_level ⇒ Fixnum
The minimum allowed Android API level.
Corresponds to the JSON property minimumApiLevel
5672 5673 5674 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5672 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
5677 5678 5679 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5677 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
5683 5684 5685 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5683 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
5689 5690 5691 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5689 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
5696 5697 5698 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5696 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.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.
Corresponds to the JSON property networkEscapeHatchEnabled
5712 5713 5714 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5712 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. This applies only on fully
managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for
other management modes.
Corresponds to the JSON property networkResetDisabled
5720 5721 5722 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5720 def network_reset_disabled @network_reset_disabled end |
#onc_certificate_providers ⇒ Array<Google::Apis::AndroidmanagementV1::OncCertificateProvider>
This feature is not generally available.
Corresponds to the JSON property oncCertificateProviders
5726 5727 5728 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5726 def onc_certificate_providers @onc_certificate_providers end |
#open_network_configuration ⇒ Hash<String,Object>
Network configuration for the device. See configure networks for more
information.
Corresponds to the JSON property openNetworkConfiguration
5732 5733 5734 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5732 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
5737 5738 5739 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5737 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
5743 5744 5745 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5743 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
5750 5751 5752 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5750 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
5755 5756 5757 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5755 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
5761 5762 5763 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5761 def @permission_grants end |
#permitted_accessibility_services ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
Corresponds to the JSON property permittedAccessibilityServices
5766 5767 5768 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5766 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
5771 5772 5773 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5771 def permitted_input_methods @permitted_input_methods end |
#persistent_preferred_activities ⇒ Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>
Default intent handler activities.Warning: Do not configure this and
default_application_settings for the same intent domain, such as web browsing.
Setting both for the same intent domain can lead to unpredictable behavior.
Corresponds to the JSON property persistentPreferredActivities
5778 5779 5780 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5778 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
5784 5785 5786 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5784 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
5790 5791 5792 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5790 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
5796 5797 5798 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5796 def policy_enforcement_rules @policy_enforcement_rules end |
#preferential_network_service ⇒ String
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.
Corresponds to the JSON property preferentialNetworkService
5808 5809 5810 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5808 def preferential_network_service @preferential_network_service end |
#printing_policy ⇒ String
Optional. Controls whether printing is allowed. This is supported on devices
running Android 9 and above. .
Corresponds to the JSON property printingPolicy
5814 5815 5816 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5814 def printing_policy @printing_policy 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. This value will
have no effect if any application has CERT_SELECTION delegation scope.
Corresponds to the JSON property privateKeySelectionEnabled
5822 5823 5824 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5822 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
5829 5830 5831 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5829 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
5834 5835 5836 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5834 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
5840 5841 5842 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5840 def safe_boot_disabled @safe_boot_disabled end |
#screen_capture_disabled ⇒ Boolean Also known as: screen_capture_disabled?
Whether screen capture is disabled. This also blocks Circle to Search (https://
support.google.com/android/answer/14508957).
Corresponds to the JSON property screenCaptureDisabled
5847 5848 5849 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5847 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. This applies only on devices
running Android 7 and above.
Corresponds to the JSON property setUserIconDisabled
5854 5855 5856 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5854 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
5860 5861 5862 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5860 def set_wallpaper_disabled @set_wallpaper_disabled end |
#setup_actions ⇒ Array<Google::Apis::AndroidmanagementV1::SetupAction>
Action to take during the setup process. At most one action may be specified.
Corresponds to the JSON property setupActions
5866 5867 5868 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5866 def setup_actions @setup_actions end |
#share_location_disabled ⇒ Boolean Also known as:
Whether location sharing is disabled.
Corresponds to the JSON property shareLocationDisabled
5871 5872 5873 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5871 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
5878 5879 5880 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5878 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
5885 5886 5887 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5885 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
5891 5892 5893 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5891 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
5900 5901 5902 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5900 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
5906 5907 5908 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5906 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
5913 5914 5915 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5913 def stay_on_plugged_modes @stay_on_plugged_modes end |
#system_update ⇒ Google::Apis::AndroidmanagementV1::SystemUpdate
Configuration for managing system updatesNote: Google Play system updates (
https://source.android.com/docs/core/ota/modular-system) (also called Mainline
updates) are automatically downloaded but 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.
Corresponds to the JSON property systemUpdate
5922 5923 5924 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5922 def system_update @system_update end |
#tethering_config_disabled ⇒ Boolean Also known as: tethering_config_disabled?
Whether configuring tethering and portable hotspots is disabled. If
tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED,
this setting is ignored.
Corresponds to the JSON property tetheringConfigDisabled
5929 5930 5931 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5929 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. This prevents apps
from being uninstalled, even those removed using applications
Corresponds to the JSON property uninstallAppsDisabled
5936 5937 5938 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5936 def uninstall_apps_disabled @uninstall_apps_disabled end |
#unmute_microphone_disabled ⇒ Boolean Also known as: unmute_microphone_disabled?
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.
Corresponds to the JSON property unmuteMicrophoneDisabled
5946 5947 5948 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5946 def unmute_microphone_disabled @unmute_microphone_disabled end |
#usage_log ⇒ Google::Apis::AndroidmanagementV1::UsageLog
Controls types of device activity logs collected from the device and reported
via Pub/Sub notification (https://developers.google.com/android/management/
notifications).
Corresponds to the JSON property usageLog
5954 5955 5956 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5954 def usage_log @usage_log end |
#usb_file_transfer_disabled ⇒ Boolean Also known as: usb_file_transfer_disabled?
Whether transferring files over USB is disabled. This is supported only on
company-owned devices.
Corresponds to the JSON property usbFileTransferDisabled
5960 5961 5962 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5960 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
5966 5967 5968 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5966 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
5973 5974 5975 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5973 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
5978 5979 5980 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5978 def vpn_config_disabled @vpn_config_disabled end |
#wifi_config_disabled ⇒ Boolean Also known as: wifi_config_disabled?
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).
Corresponds to the JSON property wifiConfigDisabled
5993 5994 5995 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5993 def wifi_config_disabled @wifi_config_disabled end |
#wifi_configs_lockdown_enabled ⇒ Boolean Also known as: wifi_configs_lockdown_enabled?
This is deprecated.
Corresponds to the JSON property wifiConfigsLockdownEnabled
5999 6000 6001 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5999 def wifi_configs_lockdown_enabled @wifi_configs_lockdown_enabled end |
#wipe_data_flags ⇒ Array<String>
Optional. Wipe flags to indicate what data is wiped when a device or profile
wipe is triggered due to any reason (for example, non-compliance). This does
not apply to the enterprises.devices.delete method. . This list must not have
duplicates.
Corresponds to the JSON property wipeDataFlags
6008 6009 6010 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6008 def wipe_data_flags @wipe_data_flags end |
#work_account_setup_config ⇒ Google::Apis::AndroidmanagementV1::WorkAccountSetupConfig
Controls the work account setup configuration, such as details of whether a
Google authenticated account is required.
Corresponds to the JSON property workAccountSetupConfig
6014 6015 6016 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6014 def work_account_setup_config @work_account_setup_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6021 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) @app_functions = args[:app_functions] if args.key?(:app_functions) @applications = args[:applications] if args.key?(:applications) @assist_content_policy = args[:assist_content_policy] if args.key?(:assist_content_policy) @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) @autofill_policy = args[:autofill_policy] if args.key?(:autofill_policy) @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_access = args[:camera_access] if args.key?(:camera_access) @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) @credential_provider_policy_default = args[:credential_provider_policy_default] if args.key?(:credential_provider_policy_default) @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled) @cross_device_policies = args[:cross_device_policies] if args.key?(:cross_device_policies) @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_application_settings = args[:default_application_settings] if args.key?(:default_application_settings) @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy) @device_connectivity_management = args[:device_connectivity_management] if args.key?(:device_connectivity_management) @device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info) @device_radio_state = args[:device_radio_state] if args.key?(:device_radio_state) @display_settings = args[:display_settings] if args.key?(:display_settings) @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) @enterprise_display_name_visibility = args[:enterprise_display_name_visibility] if args.key?(:enterprise_display_name_visibility) @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) @microphone_access = args[:microphone_access] if args.key?(:microphone_access) @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) @preferential_network_service = args[:preferential_network_service] if args.key?(:preferential_network_service) @printing_policy = args[:printing_policy] if args.key?(:printing_policy) @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) @usage_log = args[:usage_log] if args.key?(:usage_log) @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) @wipe_data_flags = args[:wipe_data_flags] if args.key?(:wipe_data_flags) @work_account_setup_config = args[:work_account_setup_config] if args.key?(:work_account_setup_config) end |