Class: Google::Iam::Credentials::V1::IAMCredentials::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/iam/credentials/v1/iam_credentials/rest/client.rb

Overview

Configuration RPC class for the IAMCredentials API.

Includes fields providing the configuration for each RPC in this service. Each configuration object is of type Gapic::Config::Method and includes the following configuration fields:

  • timeout (type: Numeric) - The call timeout in seconds
  • metadata (type: Hash{Symbol=>String}) - Additional headers
  • retry_policy (*type:*Hash`) - The retry policy. The policy fields include the following keys:
    • :initial_delay (type: Numeric) - The initial delay in seconds.
    • :max_delay (type: Numeric) - The max delay in seconds.
    • :multiplier (type: Numeric) - The incremental backoff multiplier.
    • :retry_codes (type: Array<String>) - The error codes that should trigger a retry.

Instance Attribute Summary collapse

Instance Attribute Details

#generate_access_token::Gapic::Config::Method (readonly)

RPC-specific configuration for generate_access_token

Returns:

  • (::Gapic::Config::Method)


716
717
718
# File 'lib/google/iam/credentials/v1/iam_credentials/rest/client.rb', line 716

def generate_access_token
  @generate_access_token
end

#generate_id_token::Gapic::Config::Method (readonly)

RPC-specific configuration for generate_id_token

Returns:

  • (::Gapic::Config::Method)


721
722
723
# File 'lib/google/iam/credentials/v1/iam_credentials/rest/client.rb', line 721

def generate_id_token
  @generate_id_token
end

#sign_blob::Gapic::Config::Method (readonly)

RPC-specific configuration for sign_blob

Returns:

  • (::Gapic::Config::Method)


726
727
728
# File 'lib/google/iam/credentials/v1/iam_credentials/rest/client.rb', line 726

def sign_blob
  @sign_blob
end

#sign_jwt::Gapic::Config::Method (readonly)

RPC-specific configuration for sign_jwt

Returns:

  • (::Gapic::Config::Method)


731
732
733
# File 'lib/google/iam/credentials/v1/iam_credentials/rest/client.rb', line 731

def sign_jwt
  @sign_jwt
end