Class: Google::Apis::AndroidmanagementV1::ProxyInfo
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::ProxyInfo
 
 
- 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
Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
Instance Attribute Summary collapse
- 
  
    
      #excluded_hosts  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
For a direct proxy, the hosts for which the proxy is bypassed.
 - 
  
    
      #host  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The host of the direct proxy.
 - 
  
    
      #pac_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URI of the PAC script used to configure the proxy.
 - 
  
    
      #port  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The port of the direct proxy.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ProxyInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ProxyInfo.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ProxyInfo
Returns a new instance of ProxyInfo.
      5199 5200 5201  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5199 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#excluded_hosts ⇒ Array<String>
For a direct proxy, the hosts for which the proxy is bypassed. The host names
may contain wildcards such as *.example.com.
Corresponds to the JSON property excludedHosts
      5182 5183 5184  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5182 def excluded_hosts @excluded_hosts end  | 
  
#host ⇒ String
The host of the direct proxy.
Corresponds to the JSON property host
      5187 5188 5189  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5187 def host @host end  | 
  
#pac_uri ⇒ String
The URI of the PAC script used to configure the proxy.
Corresponds to the JSON property pacUri
      5192 5193 5194  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5192 def pac_uri @pac_uri end  | 
  
#port ⇒ Fixnum
The port of the direct proxy.
Corresponds to the JSON property port
      5197 5198 5199  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5197 def port @port end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5204 5205 5206 5207 5208 5209  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5204 def update!(**args) @excluded_hosts = args[:excluded_hosts] if args.key?(:excluded_hosts) @host = args[:host] if args.key?(:host) @pac_uri = args[:pac_uri] if args.key?(:pac_uri) @port = args[:port] if args.key?(:port) end  |