Class: Google::Cloud::Language::V1::LanguageService::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1::LanguageService::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/language/v1/language_service/rest/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 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_entity_sentiment ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
analyze_entity_sentiment
. -
#analyze_sentiment ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
analyze_sentiment
. -
#analyze_syntax ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
analyze_syntax
. -
#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
906 907 908 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 906 def analyze_entities @analyze_entities end |
#analyze_entity_sentiment ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for analyze_entity_sentiment
911 912 913 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 911 def analyze_entity_sentiment @analyze_entity_sentiment end |
#analyze_sentiment ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for analyze_sentiment
901 902 903 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 901 def analyze_sentiment @analyze_sentiment end |
#analyze_syntax ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for analyze_syntax
916 917 918 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 916 def analyze_syntax @analyze_syntax end |
#annotate_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for annotate_text
931 932 933 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 931 def annotate_text @annotate_text end |
#classify_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for classify_text
921 922 923 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 921 def classify_text @classify_text end |
#moderate_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for moderate_text
926 927 928 |
# File 'lib/google/cloud/language/v1/language_service/rest/client.rb', line 926 def moderate_text @moderate_text end |