class Google::Apis::AndroidmanagementV1::TelephonyInfo

Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23.

Attributes

carrier_name[RW]

The carrier name associated with this SIM card. Corresponds to the JSON property `carrierName` @return [String]

phone_number[RW]

The phone number associated with this SIM card. Corresponds to the JSON property `phoneNumber` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3814
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 3819
def update!(**args)
  @carrier_name = args[:carrier_name] if args.key?(:carrier_name)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
end