Class: Google::Apis::ClientOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/google/apis/options.rb,
lib/google/apis/options.rb

Overview

General client options

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_nameString


18
19
20
# File 'lib/google/apis/options.rb', line 18

def application_name
  @application_name
end

#application_versionString


18
19
20
# File 'lib/google/apis/options.rb', line 18

def application_version
  @application_version
end

#log_http_requestsBoolean


18
19
20
# File 'lib/google/apis/options.rb', line 18

def log_http_requests
  @log_http_requests
end

#open_timeout_secFixnum


18
19
20
# File 'lib/google/apis/options.rb', line 18

def open_timeout_sec
  @open_timeout_sec
end

#proxy_urlString


18
19
20
# File 'lib/google/apis/options.rb', line 18

def proxy_url
  @proxy_url
end

#read_timeout_secFixnum


18
19
20
# File 'lib/google/apis/options.rb', line 18

def read_timeout_sec
  @read_timeout_sec
end

#send_timeout_secObject

Returns the value of attribute send_timeout_sec


18
19
20
# File 'lib/google/apis/options.rb', line 18

def send_timeout_sec
  @send_timeout_sec
end

#transparent_gzip_decompressionBoolean, Google::Apis::ClientOptions

Get the default options


18
19
20
# File 'lib/google/apis/options.rb', line 18

def transparent_gzip_decompression
  @transparent_gzip_decompression
end

Class Method Details

.defaultBoolean, Google::Apis::ClientOptions

Get the default options


56
57
58
# File 'lib/google/apis/options.rb', line 56

def self.default
  @options ||= ClientOptions.new
end