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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/iam/credentials/v1/iam_credentials/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 gRPC 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)


771
772
773
# File 'lib/google/iam/credentials/v1/iam_credentials/client.rb', line 771

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)


776
777
778
# File 'lib/google/iam/credentials/v1/iam_credentials/client.rb', line 776

def generate_id_token
  @generate_id_token
end

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

RPC-specific configuration for sign_blob

Returns:

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


781
782
783
# File 'lib/google/iam/credentials/v1/iam_credentials/client.rb', line 781

def sign_blob
  @sign_blob
end

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

RPC-specific configuration for sign_jwt

Returns:

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


786
787
788
# File 'lib/google/iam/credentials/v1/iam_credentials/client.rb', line 786

def sign_jwt
  @sign_jwt
end