Class: Google::Cloud::AIPlatform::V1::GenAiCacheService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb

Overview

Configuration RPC class for the GenAiCacheService 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

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

RPC-specific configuration for create_cached_content

Returns:

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


835
836
837
# File 'lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb', line 835

def create_cached_content
  @create_cached_content
end

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

RPC-specific configuration for delete_cached_content

Returns:

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


850
851
852
# File 'lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb', line 850

def delete_cached_content
  @delete_cached_content
end

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

RPC-specific configuration for get_cached_content

Returns:

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


840
841
842
# File 'lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb', line 840

def get_cached_content
  @get_cached_content
end

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

RPC-specific configuration for list_cached_contents

Returns:

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


855
856
857
# File 'lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb', line 855

def list_cached_contents
  @list_cached_contents
end

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

RPC-specific configuration for update_cached_content

Returns:

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


845
846
847
# File 'lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb', line 845

def update_cached_content
  @update_cached_content
end