1.5.0 (latest) 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.26.0 0.25.0 0.24.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]`