Class: Google::Apis::AndroidmanagementV1::DeviceConnectivityManagement
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::DeviceConnectivityManagement
- 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
Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more.
Instance Attribute Summary collapse
-
#configure_wifi ⇒ String
Controls Wi-Fi configuring privileges.
-
#tethering_settings ⇒ String
Controls tethering settings.
-
#usb_data_access ⇒ String
Controls what files and/or data can be transferred via USB.
-
#wifi_direct_settings ⇒ String
Controls configuring and using Wi-Fi direct settings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceConnectivityManagement
constructor
A new instance of DeviceConnectivityManagement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceConnectivityManagement
Returns a new instance of DeviceConnectivityManagement.
1748 1749 1750 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configure_wifi ⇒ String
Controls Wi-Fi configuring privileges. Based on the option set, user will have
either full or limited or no control in configuring Wi-Fi networks.
Corresponds to the JSON property configureWifi
1728 1729 1730 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1728 def configure_wifi @configure_wifi end |
#tethering_settings ⇒ String
Controls tethering settings. Based on the value set, the user is partially or
fully disallowed from using different forms of tethering.
Corresponds to the JSON property tetheringSettings
1734 1735 1736 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1734 def tethering_settings @tethering_settings end |
#usb_data_access ⇒ String
Controls what files and/or data can be transferred via USB. Supported only on
company-owned devices.
Corresponds to the JSON property usbDataAccess
1740 1741 1742 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1740 def usb_data_access @usb_data_access end |
#wifi_direct_settings ⇒ String
Controls configuring and using Wi-Fi direct settings. Supported on company-
owned devices running Android 13 and above.
Corresponds to the JSON property wifiDirectSettings
1746 1747 1748 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1746 def wifi_direct_settings @wifi_direct_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1753 1754 1755 1756 1757 1758 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1753 def update!(**args) @configure_wifi = args[:configure_wifi] if args.key?(:configure_wifi) @tethering_settings = args[:tethering_settings] if args.key?(:tethering_settings) @usb_data_access = args[:usb_data_access] if args.key?(:usb_data_access) @wifi_direct_settings = args[:wifi_direct_settings] if args.key?(:wifi_direct_settings) end |