Class: Google::Apis::AndroidmanagementV1::DeviceConnectivityManagement

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeviceConnectivityManagement

Returns a new instance of DeviceConnectivityManagement.



1816
1817
1818
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1816

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configure_wifiString

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

Returns:

  • (String)


1789
1790
1791
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1789

def configure_wifi
  @configure_wifi
end

#tethering_settingsString

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

Returns:

  • (String)


1795
1796
1797
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1795

def tethering_settings
  @tethering_settings
end

#usb_data_accessString

Controls what files and/or data can be transferred via USB. Supported only on company-owned devices. Corresponds to the JSON property usbDataAccess

Returns:

  • (String)


1801
1802
1803
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1801

def usb_data_access
  @usb_data_access
end

#wifi_direct_settingsString

Controls configuring and using Wi-Fi direct settings. Supported on company- owned devices running Android 13 and above. Corresponds to the JSON property wifiDirectSettings

Returns:

  • (String)


1807
1808
1809
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1807

def wifi_direct_settings
  @wifi_direct_settings
end

#wifi_ssid_policyGoogle::Apis::AndroidmanagementV1::WifiSsidPolicy

Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above. Corresponds to the JSON property wifiSsidPolicy



1814
1815
1816
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1814

def wifi_ssid_policy
  @wifi_ssid_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1821
1822
1823
1824
1825
1826
1827
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1821

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)
  @wifi_ssid_policy = args[:wifi_ssid_policy] if args.key?(:wifi_ssid_policy)
end