class Google::Apis::AndroidmanagementV1::ProxyInfo

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.

Attributes

excluded_hosts[RW]

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` @return [Array<String>]

host[RW]

The host of the direct proxy. Corresponds to the JSON property `host` @return [String]

pac_uri[RW]

The URI of the PAC script used to configure the proxy. Corresponds to the JSON property `pacUri` @return [String]

port[RW]

The port of the direct proxy. Corresponds to the JSON property `port` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3361
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 3366
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