Class: Google::Cloud::AIPlatform::V1::PredictionService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::PredictionService::Client::Configuration::Rpcs
- 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
-
#direct_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
direct_predict
. -
#direct_raw_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
direct_raw_predict
. -
#explain ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
explain
. -
#generate_content ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
generate_content
. -
#predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
predict
. -
#raw_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
raw_predict
. -
#server_streaming_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
server_streaming_predict
. -
#stream_direct_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stream_direct_predict
. -
#stream_direct_raw_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stream_direct_raw_predict
. -
#stream_generate_content ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stream_generate_content
. -
#stream_raw_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stream_raw_predict
. -
#streaming_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
streaming_predict
. -
#streaming_raw_predict ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
streaming_raw_predict
.
Instance Attribute Details
#direct_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for direct_predict
1652 1653 1654 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1652 def direct_predict @direct_predict end |
#direct_raw_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for direct_raw_predict
1657 1658 1659 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1657 def direct_raw_predict @direct_raw_predict end |
#explain ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for explain
1687 1688 1689 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1687 def explain @explain end |
#generate_content ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for generate_content
1692 1693 1694 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1692 def generate_content @generate_content end |
#predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for predict
1637 1638 1639 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1637 def predict @predict end |
#raw_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for raw_predict
1642 1643 1644 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1642 def raw_predict @raw_predict end |
#server_streaming_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for server_streaming_predict
1677 1678 1679 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1677 def server_streaming_predict @server_streaming_predict end |
#stream_direct_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stream_direct_predict
1662 1663 1664 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1662 def stream_direct_predict @stream_direct_predict end |
#stream_direct_raw_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stream_direct_raw_predict
1667 1668 1669 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1667 def stream_direct_raw_predict @stream_direct_raw_predict end |
#stream_generate_content ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stream_generate_content
1697 1698 1699 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1697 def stream_generate_content @stream_generate_content end |
#stream_raw_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stream_raw_predict
1647 1648 1649 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1647 def stream_raw_predict @stream_raw_predict end |
#streaming_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for streaming_predict
1672 1673 1674 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1672 def streaming_predict @streaming_predict end |
#streaming_raw_predict ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for streaming_raw_predict
1682 1683 1684 |
# File 'lib/google/cloud/ai_platform/v1/prediction_service/client.rb', line 1682 def streaming_raw_predict @streaming_raw_predict end |