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

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

Overview

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

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

RPC-specific configuration for direct_predict

Returns:

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


1668
1669
1670
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1668

def direct_predict
  @direct_predict
end

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

RPC-specific configuration for direct_raw_predict

Returns:

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


1673
1674
1675
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1673

def direct_raw_predict
  @direct_raw_predict
end

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

RPC-specific configuration for explain

Returns:

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


1703
1704
1705
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1703

def explain
  @explain
end

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

RPC-specific configuration for generate_content

Returns:

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


1708
1709
1710
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1708

def generate_content
  @generate_content
end

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

RPC-specific configuration for predict

Returns:

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


1653
1654
1655
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1653

def predict
  @predict
end

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

RPC-specific configuration for raw_predict

Returns:

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


1658
1659
1660
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1658

def raw_predict
  @raw_predict
end

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

RPC-specific configuration for server_streaming_predict

Returns:

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


1693
1694
1695
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1693

def server_streaming_predict
  @server_streaming_predict
end

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

RPC-specific configuration for stream_direct_predict

Returns:

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


1678
1679
1680
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1678

def stream_direct_predict
  @stream_direct_predict
end

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

RPC-specific configuration for stream_direct_raw_predict

Returns:

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


1683
1684
1685
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1683

def stream_direct_raw_predict
  @stream_direct_raw_predict
end

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

RPC-specific configuration for stream_generate_content

Returns:

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


1713
1714
1715
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1713

def stream_generate_content
  @stream_generate_content
end

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

RPC-specific configuration for stream_raw_predict

Returns:

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


1663
1664
1665
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1663

def stream_raw_predict
  @stream_raw_predict
end

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

RPC-specific configuration for streaming_predict

Returns:

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


1688
1689
1690
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1688

def streaming_predict
  @streaming_predict
end

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

RPC-specific configuration for streaming_raw_predict

Returns:

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


1698
1699
1700
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1698

def streaming_raw_predict
  @streaming_raw_predict
end