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.



1377
1378
1379
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1377

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)


1350
1351
1352
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1350

def iccid
  @iccid
end

#imeiString

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

Returns:

  • (String)


1355
1356
1357
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1355

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)


1360
1361
1362
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1360

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)


1365
1366
1367
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1365

def mdn
  @mdn
end

#meidString

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

Returns:

  • (String)


1370
1371
1372
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1370

def meid
  @meid
end

#typeString

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

Returns:

  • (String)


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