Class: Google::Cloud::Language::V2::LanguageService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V2::LanguageService::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/language/v2/language_service/client.rb
Overview
Configuration RPC class for the LanguageService 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
-
#analyze_entities ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
analyze_entities. -
#analyze_sentiment ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
analyze_sentiment. -
#annotate_text ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
annotate_text. -
#classify_text ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
classify_text. -
#moderate_text ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
moderate_text.
Instance Attribute Details
#analyze_entities ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for analyze_entities
775 776 777 |
# File 'lib/google/cloud/language/v2/language_service/client.rb', line 775 def analyze_entities @analyze_entities end |
#analyze_sentiment ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for analyze_sentiment
770 771 772 |
# File 'lib/google/cloud/language/v2/language_service/client.rb', line 770 def analyze_sentiment @analyze_sentiment end |
#annotate_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for annotate_text
790 791 792 |
# File 'lib/google/cloud/language/v2/language_service/client.rb', line 790 def annotate_text @annotate_text end |
#classify_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for classify_text
780 781 782 |
# File 'lib/google/cloud/language/v2/language_service/client.rb', line 780 def classify_text @classify_text end |
#moderate_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for moderate_text
785 786 787 |
# File 'lib/google/cloud/language/v2/language_service/client.rb', line 785 def moderate_text @moderate_text end |