Class: Google::Apis::AndroidmanagementV1::NetworkInfo
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::NetworkInfo
- 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
Device network info.
Instance Attribute Summary collapse
-
#imei ⇒ String
IMEI number of the GSM device.
-
#meid ⇒ String
MEID number of the CDMA device.
-
#network_operator_name ⇒ String
Alphabetic name of current registered operator.
-
#telephony_infos ⇒ Array<Google::Apis::AndroidmanagementV1::TelephonyInfo>
Provides telephony information associated with each SIM card on the device.
-
#wifi_mac_address ⇒ String
Wi-Fi MAC address of the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkInfo
constructor
A new instance of NetworkInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkInfo
Returns a new instance of NetworkInfo.
3668 3669 3670 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3668 def initialize(**args) update!(**args) end |
Instance Attribute Details
#imei ⇒ String
IMEI number of the GSM device. For example, A1000031212.
Corresponds to the JSON property imei
3645 3646 3647 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3645 def imei @imei end |
#meid ⇒ String
MEID number of the CDMA device. For example, A00000292788E1.
Corresponds to the JSON property meid
3650 3651 3652 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3650 def meid @meid end |
#network_operator_name ⇒ String
Alphabetic name of current registered operator. For example, Vodafone.
Corresponds to the JSON property networkOperatorName
3655 3656 3657 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3655 def network_operator_name @network_operator_name end |
#telephony_infos ⇒ Array<Google::Apis::AndroidmanagementV1::TelephonyInfo>
Provides telephony information associated with each SIM card on the device.
Only supported on fully managed devices starting from Android API level 23.
Corresponds to the JSON property telephonyInfos
3661 3662 3663 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3661 def telephony_infos @telephony_infos end |
#wifi_mac_address ⇒ String
Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
Corresponds to the JSON property wifiMacAddress
3666 3667 3668 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3666 def wifi_mac_address @wifi_mac_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3673 3674 3675 3676 3677 3678 3679 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3673 def update!(**args) @imei = args[:imei] if args.key?(:imei) @meid = args[:meid] if args.key?(:meid) @network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name) @telephony_infos = args[:telephony_infos] if args.key?(:telephony_infos) @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address) end |