Class: Google::Apis::AndroidmanagementV1::TelephonyInfo
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::TelephonyInfo
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb 
Overview
Telephony information associated with a given SIM card on the device. Only supported on fully managed devices starting from Android API level 23.
Instance Attribute Summary collapse
- 
  
    
      #carrier_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The carrier name associated with this SIM card.
 - 
  
    
      #icc_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #phone_number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The phone number associated with this SIM card.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TelephonyInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TelephonyInfo.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TelephonyInfo
Returns a new instance of TelephonyInfo.
      5939 5940 5941  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5939 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#carrier_name ⇒ String
The carrier name associated with this SIM card.
Corresponds to the JSON property carrierName
      5927 5928 5929  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5927 def carrier_name @carrier_name end  | 
  
#icc_id ⇒ String
Output only. The ICCID associated with this SIM card.
Corresponds to the JSON property iccId
      5932 5933 5934  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5932 def icc_id @icc_id end  | 
  
#phone_number ⇒ String
The phone number associated with this SIM card.
Corresponds to the JSON property phoneNumber
      5937 5938 5939  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5937 def phone_number @phone_number end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5944 5945 5946 5947 5948  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5944 def update!(**args) @carrier_name = args[:carrier_name] if args.key?(:carrier_name) @icc_id = args[:icc_id] if args.key?(:icc_id) @phone_number = args[:phone_number] if args.key?(:phone_number) end  |