gapic-common - Module Gapic::Headers (v0.25.0)

Reference documentation and code samples for the gapic-common module Gapic::Headers.

A collection of common header values.

Methods

.x_goog_api_client

  def 
  
 self 
 . 
 x_goog_api_client 
 ( 
 ruby_version 
 : 
  
 nil 
 , 
  
 lib_name 
 : 
  
 nil 
 , 
  
 lib_version 
 : 
  
 nil 
 , 
  
 gax_version 
 : 
  
 nil 
 , 
  
 gapic_version 
 : 
  
 nil 
 , 
  
 grpc_version 
 : 
  
 nil 
 , 
  
 rest_version 
 : 
  
 nil 
 , 
  
 protobuf_version 
 : 
  
 nil 
 , 
  
 transports_version_send 
 : 
  
 [ 
 :grpc 
 ] 
 ) 
 
Parameters
  • ruby_version(String) (defaults to: nil) — The ruby version. Defaults to RUBY_VERSION .
  • lib_name(String) (defaults to: nil) — The client library name.
  • lib_version(String) (defaults to: nil) — The client library version.
  • gax_version(String) (defaults to: nil) — The Gapic version. Defaults to Gapic::Common::VERSION .
  • gapic_version(String) (defaults to: nil) — The Gapic version.
  • grpc_version(String) (defaults to: nil) — The GRPC version. Defaults to ::GRPC::VERSION .
  • rest_version(String) (defaults to: nil) — The Rest Library (Faraday) version. Defaults to Faraday::VERSION .
  • transports_version_send(Array) (defaults to: [:grpc]) — Which transports to send versions for. Allowed values to contain are: :grpc to send the GRPC library version (if defined) :rest to send the REST library version (if defined) Defaults to [:grpc]
Create a Mobile Website
View Site in Mobile | Classic
Share by: