Class: Google::Apis::AndroidmanagementV1::WifiSsidPolicy
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::WifiSsidPolicy
- 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
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.
Instance Attribute Summary collapse
-
#wifi_ssid_policy_type ⇒ String
Type of the Wi-Fi SSID policy to be applied.
-
#wifi_ssids ⇒ Array<Google::Apis::AndroidmanagementV1::WifiSsid>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WifiSsidPolicy
constructor
A new instance of WifiSsidPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WifiSsidPolicy
Returns a new instance of WifiSsidPolicy.
6523 6524 6525 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#wifi_ssid_policy_type ⇒ String
Type of the Wi-Fi SSID policy to be applied.
Corresponds to the JSON property wifiSsidPolicyType
6511 6512 6513 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6511 def wifi_ssid_policy_type @wifi_ssid_policy_type end |
#wifi_ssids ⇒ Array<Google::Apis::AndroidmanagementV1::WifiSsid>
Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
this is set to a non-empty list, then a nonComplianceDetail detail with
API_LEVEL is reported if the Android version is less than 13 and a
nonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
devices.
Corresponds to the JSON property wifiSsids
6521 6522 6523 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6521 def wifi_ssids @wifi_ssids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6528 6529 6530 6531 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6528 def update!(**args) @wifi_ssid_policy_type = args[:wifi_ssid_policy_type] if args.key?(:wifi_ssid_policy_type) @wifi_ssids = args[:wifi_ssids] if args.key?(:wifi_ssids) end |