class Google::Apis::ClientOptions
General client options
Public Class Methods
default()
click to toggle source
@!attribute [rw] application_name
@return [String] Name of the application, for identification in the User-Agent header
@!attribute [rw] application_version
@return [String] Version of the application, for identification in the User-Agent header
@!attribute [rw] proxy_url
@return [String] URL of a proxy server
@!attribute [rw] log_http_requests
@return [Boolean] True if raw HTTP requests should be logged
@!attribute [rw] open_timeout_sec
@return [Integer] How long, in seconds, before failed connections time out
@!attribute [rw] send_timeout_sec
@return [Integer] How long, in seconds, before sending data times out
@!attribute [rw] read_timeout_sec
@return [Integer] How long, in seconds, before receiving data times out
@!attribute [rw] transparent_gzip_decompression @return [Boolean] True if gzip compression needs to be enabled Get the default options @return [Google::Apis::ClientOptions]
# File lib/google/apis/options.rb, line 66 def self.default @options ||= ClientOptions.new end