Class: Google::Apis::AndroidmanagementV1::DnsEvent
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::DnsEvent
 
 
- 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
A DNS lookup event was initiated through the standard network stack.
Instance Attribute Summary collapse
- 
  
    
      #hostname  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The hostname that was looked up.
 - 
  
    
      #ip_addresses  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The (possibly truncated) list of the IP addresses returned for DNS lookup (max 10 IPv4 or IPv6 addresses).
 - 
  
    
      #package_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The package name of the UID that performed the DNS lookup.
 - 
  
    
      #total_ip_addresses_returned  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The number of IP addresses returned from the DNS lookup event.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DnsEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DnsEvent.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DnsEvent
Returns a new instance of DnsEvent.
      2057 2058 2059  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2057 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#hostname ⇒ String
The hostname that was looked up.
Corresponds to the JSON property hostname
      2038 2039 2040  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2038 def hostname @hostname end  | 
  
#ip_addresses ⇒ Array<String>
The (possibly truncated) list of the IP addresses returned for DNS lookup (max
10 IPv4 or IPv6 addresses).
Corresponds to the JSON property ipAddresses
      2044 2045 2046  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2044 def ip_addresses @ip_addresses end  | 
  
#package_name ⇒ String
The package name of the UID that performed the DNS lookup.
Corresponds to the JSON property packageName
      2049 2050 2051  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2049 def package_name @package_name end  | 
  
#total_ip_addresses_returned ⇒ Fixnum
The number of IP addresses returned from the DNS lookup event. May be higher
than the amount of ip_addresses if there were too many addresses to log.
Corresponds to the JSON property totalIpAddressesReturned
      2055 2056 2057  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2055 def total_ip_addresses_returned @total_ip_addresses_returned end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2062 2063 2064 2065 2066 2067  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2062 def update!(**args) @hostname = args[:hostname] if args.key?(:hostname) @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses) @package_name = args[:package_name] if args.key?(:package_name) @total_ip_addresses_returned = args[:total_ip_addresses_returned] if args.key?(:total_ip_addresses_returned) end  |