Class: Google::Apis::AndroidmanagementV1::DeviceRadioState
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::DeviceRadioState
- 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
Controls for device radio settings.
Instance Attribute Summary collapse
-
#wifi_state ⇒ String
Controls current state of Wi-Fi and if user can change its state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceRadioState
constructor
A new instance of DeviceRadioState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeviceRadioState
Returns a new instance of DeviceRadioState.
1738 1739 1740 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#wifi_state ⇒ String
Controls current state of Wi-Fi and if user can change its state.
Corresponds to the JSON property wifiState
1736 1737 1738 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1736 def wifi_state @wifi_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1743 1744 1745 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1743 def update!(**args) @wifi_state = args[:wifi_state] if args.key?(:wifi_state) end |