Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1NetworkDevice

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#iccidString

Output only. The integrated circuit card ID associated with the device's sim card. Corresponds to the JSON property iccid

Returns:

  • (String)


1462
1463
1464
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1462

def iccid
  @iccid
end

#imeiString

Output only. IMEI (if applicable) of the corresponding network device. Corresponds to the JSON property imei

Returns:

  • (String)


1467
1468
1469
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1467

def imei
  @imei
end

#mac_addressString

Output only. MAC address (if applicable) of the corresponding network device. Corresponds to the JSON property macAddress

Returns:

  • (String)


1472
1473
1474
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1472

def mac_address
  @mac_address
end

#mdnString

Output only. The mobile directory number associated with the device's sim card. Corresponds to the JSON property mdn

Returns:

  • (String)


1477
1478
1479
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1477

def mdn
  @mdn
end

#meidString

Output only. MEID (if applicable) of the corresponding network device. Corresponds to the JSON property meid

Returns:

  • (String)


1482
1483
1484
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1482

def meid
  @meid
end

#typeString

Output only. Network device type. Corresponds to the JSON property type

Returns:

  • (String)


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