Class: Google::Apis::AndroidmanagementV1::NetworkInfo
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::NetworkInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/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.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ NetworkInfo
Returns a new instance of NetworkInfo
1195 1196 1197 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1195 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
1183 1184 1185 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1183 def imei @imei end |
#meid ⇒ String
MEID number of the CDMA device. For example, A00000292788E1.
Corresponds to the JSON property meid
1188 1189 1190 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1188 def meid @meid 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
1193 1194 1195 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1193 def wifi_mac_address @wifi_mac_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1200 1201 1202 1203 1204 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1200 def update!(**args) @imei = args[:imei] if args.key?(:imei) @meid = args[:meid] if args.key?(:meid) @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address) end |