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.
1489 1490 1491 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1489 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
1462 1463 1464 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1462 def iccid @iccid end |
#imei ⇒ String
Output only. IMEI (if applicable) of the corresponding network device.
Corresponds to the JSON property imei
1467 1468 1469 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1467 def imei @imei end |
#mac_address ⇒ String
Output only. MAC address (if applicable) of the corresponding network device.
Corresponds to the JSON property macAddress
1472 1473 1474 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1472 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
1477 1478 1479 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1477 def mdn @mdn end |
#meid ⇒ String
Output only. MEID (if applicable) of the corresponding network device.
Corresponds to the JSON property meid
1482 1483 1484 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1482 def meid @meid end |
#type ⇒ String
Output only. Network device type.
Corresponds to the JSON property type
1487 1488 1489 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1487 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1494 1495 1496 1497 1498 1499 1500 1501 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1494 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 |