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, which governs behavior for a device.
Instance Attribute Summary collapse
-
#account_types_with_management_disabled ⇒ Array<String>
Account types that cannot 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.
-
#always_on_vpn_package ⇒ Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
Configuration for an always-on VPN connection.
-
#applications ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>
Policy applied to apps.
-
#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.
-
#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 requests for runtime permissions.
-
#ensure_verify_apps_enabled ⇒ Boolean
(also: #ensure_verify_apps_enabled?)
Whether application verification is forced to be 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?)
Flag to specify if kiosk custom launcher is enabled.
-
#long_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides user facing message with locale info.
-
#maximum_time_to_lock ⇒ Fixnum
Maximum time in milliseconds for user activity until the device will lock.
-
#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/policyIdCorresponds to the JSON propertyname. -
#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 out data from apps is disabled.
-
#outgoing_calls_disabled ⇒ Boolean
(also: #outgoing_calls_disabled?)
Whether outgoing calls are disabled.
-
#password_requirements ⇒ Google::Apis::AndroidmanagementV1::PasswordRequirements
Requirements for the password used to unlock a device.
-
#permitted_input_methods ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
-
#persistent_preferred_activities ⇒ Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>
Default intent handler activities.
-
#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.
-
#short_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides user facing message with locale info.
-
#sms_disabled ⇒ Boolean
(also: #sms_disabled?)
Whether sending or 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.
-
#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 WiFi access points is disabled.
-
#wifi_configs_lockdown_enabled ⇒ Boolean
(also: #wifi_configs_lockdown_enabled?)
Whether WiFi networks defined in Open Network Configuration are locked so they cannot be edited by the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Policy
constructor
A new instance of Policy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Policy
Returns a new instance of Policy
1979 1980 1981 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1979 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_types_with_management_disabled ⇒ Array<String>
Account types that cannot be managed by the user. Requires the beta version
of the Android Device Policy app.
Corresponds to the JSON property accountTypesWithManagementDisabled
1581 1582 1583 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1581 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
1586 1587 1588 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1586 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
1592 1593 1594 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1592 def adjust_volume_disabled @adjust_volume_disabled end |
#always_on_vpn_package ⇒ Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage
Configuration for an always-on VPN connection.
Corresponds to the JSON property alwaysOnVpnPackage
1598 1599 1600 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1598 def always_on_vpn_package @always_on_vpn_package end |
#applications ⇒ Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>
Policy applied to apps.
Corresponds to the JSON property applications
1603 1604 1605 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1603 def applications @applications 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.
Corresponds to the JSON property autoTimeRequired
1609 1610 1611 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1609 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
1618 1619 1620 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1618 def block_applications_enabled @block_applications_enabled end |
#bluetooth_config_disabled ⇒ Boolean Also known as: bluetooth_config_disabled?
Whether configuring bluetooth is disabled. Requires the beta version of the
Android Device Policy app.
Corresponds to the JSON property bluetoothConfigDisabled
1625 1626 1627 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1625 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. Requires the beta version of
the Android Device Policy app.
Corresponds to the JSON property bluetoothContactSharingDisabled
1632 1633 1634 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1632 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. Requires the beta version of the Android Device Policy app.
Corresponds to the JSON property bluetoothDisabled
1640 1641 1642 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1640 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
1646 1647 1648 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1646 def camera_disabled @camera_disabled end |
#cell_broadcasts_config_disabled ⇒ Boolean Also known as: cell_broadcasts_config_disabled?
Whether configuring cell broadcast is disabled. Requires the beta version
of the Android Device Policy app.
Corresponds to the JSON property cellBroadcastsConfigDisabled
1653 1654 1655 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1653 def cell_broadcasts_config_disabled @cell_broadcasts_config_disabled 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.
Corresponds to the JSON property complianceRules
1662 1663 1664 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1662 def compliance_rules @compliance_rules end |
#create_windows_disabled ⇒ Boolean Also known as: create_windows_disabled?
Whether creating windows besides app windows is disabled. Requires the beta
version of the Android Device Policy app.
Corresponds to the JSON property createWindowsDisabled
1668 1669 1670 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1668 def create_windows_disabled @create_windows_disabled end |
#credentials_config_disabled ⇒ Boolean Also known as: credentials_config_disabled?
Whether configuring user credentials is disabled. Requires the beta version
of the Android Device Policy app.
Corresponds to the JSON property credentialsConfigDisabled
1675 1676 1677 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1675 def credentials_config_disabled @credentials_config_disabled end |
#data_roaming_disabled ⇒ Boolean Also known as: data_roaming_disabled?
Whether roaming data services are disabled. Requires the beta version of
the Android Device Policy app.
Corresponds to the JSON property dataRoamingDisabled
1682 1683 1684 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1682 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
1688 1689 1690 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1688 def debugging_features_allowed @debugging_features_allowed end |
#default_permission_policy ⇒ String
The default permission policy for requests for runtime permissions.
Corresponds to the JSON property defaultPermissionPolicy
1694 1695 1696 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1694 def @default_permission_policy end |
#ensure_verify_apps_enabled ⇒ Boolean Also known as: ensure_verify_apps_enabled?
Whether application verification is forced to be enabled. Requires the beta
version of the Android Device Policy app.
Corresponds to the JSON property ensureVerifyAppsEnabled
1700 1701 1702 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1700 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
1706 1707 1708 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1706 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 will not provide factory reset protection.
Corresponds to the JSON property frpAdminEmails
1715 1716 1717 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1715 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
1721 1722 1723 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1721 def fun_disabled @fun_disabled end |
#install_apps_disabled ⇒ Boolean Also known as: install_apps_disabled?
Whether user installation of apps is disabled. Requires the beta version of
the Android Device Policy app.
Corresponds to the JSON property installAppsDisabled
1728 1729 1730 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1728 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
1735 1736 1737 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1735 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
1741 1742 1743 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1741 def keyguard_disabled @keyguard_disabled end |
#keyguard_disabled_features ⇒ Array<String>
Disabled keyguard customizations, such as widgets. Requires the beta
version of the Android Device Policy app.
Corresponds to the JSON property keyguardDisabledFeatures
1748 1749 1750 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1748 def keyguard_disabled_features @keyguard_disabled_features end |
#kiosk_custom_launcher_enabled ⇒ Boolean Also known as: kiosk_custom_launcher_enabled?
Flag to specify if kiosk custom launcher is enabled. If it is enabled the
value for receiver_activity in PersistentPreferredActivity related to home
intent will be ignored. When custom launcher is enabled, the kiosk will start
in launcher mode and not locked to a specific application.
Corresponds to the JSON property kioskCustomLauncherEnabled
1756 1757 1758 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1756 def kiosk_custom_launcher_enabled @kiosk_custom_launcher_enabled end |
#long_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides user facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property longSupportMessage
1763 1764 1765 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1763 def @long_support_message end |
#maximum_time_to_lock ⇒ Fixnum
Maximum time in milliseconds for user activity until the device will lock. A
value of 0 means there is no restriction.
Corresponds to the JSON property maximumTimeToLock
1769 1770 1771 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1769 def maximum_time_to_lock @maximum_time_to_lock end |
#mobile_networks_config_disabled ⇒ Boolean Also known as: mobile_networks_config_disabled?
Whether configuring mobile networks is disabled. Requires the beta version
of the Android Device Policy app.
Corresponds to the JSON property mobileNetworksConfigDisabled
1775 1776 1777 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1775 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
1781 1782 1783 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1781 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. Requires the
beta version of the Android Device Policy app.
Corresponds to the JSON property mountPhysicalMediaDisabled
1788 1789 1790 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1788 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
1795 1796 1797 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1795 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
1806 1807 1808 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1806 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. Requires the beta version
of the Android Device Policy app.
Corresponds to the JSON property networkResetDisabled
1813 1814 1815 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1813 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
1820 1821 1822 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1820 def open_network_configuration @open_network_configuration end |
#outgoing_beam_disabled ⇒ Boolean Also known as: outgoing_beam_disabled?
Whether using NFC to beam out data from apps is disabled. Requires the beta
version of the Android Device Policy app.
Corresponds to the JSON property outgoingBeamDisabled
1826 1827 1828 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1826 def outgoing_beam_disabled @outgoing_beam_disabled end |
#outgoing_calls_disabled ⇒ Boolean Also known as: outgoing_calls_disabled?
Whether outgoing calls are disabled. Requires the beta version of the
Android Device Policy app.
Corresponds to the JSON property outgoingCallsDisabled
1833 1834 1835 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1833 def outgoing_calls_disabled @outgoing_calls_disabled end |
#password_requirements ⇒ Google::Apis::AndroidmanagementV1::PasswordRequirements
Requirements for the password used to unlock a device.
Corresponds to the JSON property passwordRequirements
1839 1840 1841 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1839 def password_requirements @password_requirements end |
#permitted_input_methods ⇒ Google::Apis::AndroidmanagementV1::PackageNameList
A list of package names.
Corresponds to the JSON property permittedInputMethods
1844 1845 1846 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1844 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
1849 1850 1851 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1849 def persistent_preferred_activities @persistent_preferred_activities 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
1855 1856 1857 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1855 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
1860 1861 1862 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1860 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
1866 1867 1868 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1866 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
1872 1873 1874 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1872 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. Requires the beta version of
the Android Device Policy app.
Corresponds to the JSON property setUserIconDisabled
1879 1880 1881 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1879 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. Requires the beta version of
the Android Device Policy app.
Corresponds to the JSON property setWallpaperDisabled
1886 1887 1888 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1886 def set_wallpaper_disabled @set_wallpaper_disabled end |
#short_support_message ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides user facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property shortSupportMessage
1893 1894 1895 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1893 def @short_support_message end |
#sms_disabled ⇒ Boolean Also known as: sms_disabled?
Whether sending or receiving SMS messages is disabled. Requires the beta
version of the Android Device Policy app.
Corresponds to the JSON property smsDisabled
1899 1900 1901 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1899 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.
Corresponds to the JSON property statusBarDisabled
1906 1907 1908 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1906 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
1912 1913 1914 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1912 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
1919 1920 1921 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1919 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
1924 1925 1926 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1924 def system_update @system_update end |
#tethering_config_disabled ⇒ Boolean Also known as: tethering_config_disabled?
Whether configuring tethering and portable hotspots is disabled. Requires
the beta version of the Android Device Policy app.
Corresponds to the JSON property tetheringConfigDisabled
1930 1931 1932 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1930 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. Requires the beta
version of the Android Device Policy app.
Corresponds to the JSON property uninstallAppsDisabled
1937 1938 1939 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1937 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
1943 1944 1945 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1943 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. Requires the beta version
of the Android Device Policy app.
Corresponds to the JSON property usbFileTransferDisabled
1950 1951 1952 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1950 def usb_file_transfer_disabled @usb_file_transfer_disabled 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
1957 1958 1959 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1957 def version @version end |
#vpn_config_disabled ⇒ Boolean Also known as: vpn_config_disabled?
Whether configuring VPN is disabled. Requires the beta version of the
Android Device Policy app.
Corresponds to the JSON property vpnConfigDisabled
1963 1964 1965 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1963 def vpn_config_disabled @vpn_config_disabled end |
#wifi_config_disabled ⇒ Boolean Also known as: wifi_config_disabled?
Whether configuring WiFi access points is disabled.
Corresponds to the JSON property wifiConfigDisabled
1969 1970 1971 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1969 def wifi_config_disabled @wifi_config_disabled end |
#wifi_configs_lockdown_enabled ⇒ Boolean Also known as: wifi_configs_lockdown_enabled?
Whether WiFi networks defined in Open Network Configuration are locked so they
cannot be edited by the user.
Corresponds to the JSON property wifiConfigsLockdownEnabled
1976 1977 1978 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1976 def wifi_configs_lockdown_enabled @wifi_configs_lockdown_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1984 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) @always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package) @applications = args[:applications] if args.key?(:applications) @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) @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) @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) @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) @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_requirements = args[:password_requirements] if args.key?(:password_requirements) @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) @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) @short_support_message = args[:short_support_message] if args.key?(:short_support_message) @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) @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 |