class Google::Apis::AndroidmanagementV1::NetworkInfo

Device network info.

Attributes

imei[RW]

IMEI number of the GSM device. For example, A1000031212. Corresponds to the JSON property `imei` @return [String]

meid[RW]

MEID number of the CDMA device. For example, A00000292788E1. Corresponds to the JSON property `meid` @return [String]

network_operator_name[RW]

Alphabetic name of current registered operator. For example, Vodafone. Corresponds to the JSON property `networkOperatorName` @return [String]

telephony_infos[RW]

Provides telephony information associated with each SIM card on the device. Only supported on fully managed devices starting from Android API level 23. Corresponds to the JSON property `telephonyInfos` @return [Array<Google::Apis::AndroidmanagementV1::TelephonyInfo>]

wifi_mac_address[RW]

Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11. Corresponds to the JSON property `wifiMacAddress` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 2147
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 2152
def update!(**args)
  @imei = args[:imei] if args.key?(:imei)
  @meid = args[:meid] if args.key?(:meid)
  @network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name)
  @telephony_infos = args[:telephony_infos] if args.key?(:telephony_infos)
  @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address)
end