Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1NetworkDevice
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1NetworkDevice
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Network device.
Instance Attribute Summary collapse
-
#iccid ⇒ String
Output only.
-
#imei ⇒ String
Output only.
-
#mac_address ⇒ String
Output only.
-
#mdn ⇒ String
Output only.
-
#meid ⇒ String
Output only.
-
#type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1NetworkDevice
constructor
A new instance of GoogleChromeManagementV1NetworkDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1NetworkDevice
Returns a new instance of GoogleChromeManagementV1NetworkDevice.
1377 1378 1379 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#iccid ⇒ String
Output only. The integrated circuit card ID associated with the device's sim
card.
Corresponds to the JSON property iccid
1350 1351 1352 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1350 def iccid @iccid end |
#imei ⇒ String
Output only. IMEI (if applicable) of the corresponding network device.
Corresponds to the JSON property imei
1355 1356 1357 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1355 def imei @imei end |
#mac_address ⇒ String
Output only. MAC address (if applicable) of the corresponding network device.
Corresponds to the JSON property macAddress
1360 1361 1362 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1360 def mac_address @mac_address end |
#mdn ⇒ String
Output only. The mobile directory number associated with the device's sim card.
Corresponds to the JSON property mdn
1365 1366 1367 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1365 def mdn @mdn end |
#meid ⇒ String
Output only. MEID (if applicable) of the corresponding network device.
Corresponds to the JSON property meid
1370 1371 1372 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1370 def meid @meid end |
#type ⇒ String
Output only. Network device type.
Corresponds to the JSON property type
1375 1376 1377 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1375 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1382 1383 1384 1385 1386 1387 1388 1389 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1382 def update!(**args) @iccid = args[:iccid] if args.key?(:iccid) @imei = args[:imei] if args.key?(:imei) @mac_address = args[:mac_address] if args.key?(:mac_address) @mdn = args[:mdn] if args.key?(:mdn) @meid = args[:meid] if args.key?(:meid) @type = args[:type] if args.key?(:type) end |