Class: Google::Cloud::Speech::V1::Adaptation::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1::Adaptation::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/speech/v1/adaptation/rest/client.rb
Overview
Configuration RPC class for the Adaptation 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
-
#create_custom_class ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_custom_class
. -
#create_phrase_set ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_phrase_set
. -
#delete_custom_class ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_custom_class
. -
#delete_phrase_set ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_phrase_set
. -
#get_custom_class ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_custom_class
. -
#get_phrase_set ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_phrase_set
. -
#list_custom_classes ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_custom_classes
. -
#list_phrase_set ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_phrase_set
. -
#update_custom_class ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_custom_class
. -
#update_phrase_set ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_phrase_set
.
Instance Attribute Details
#create_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_custom_class
1032 1033 1034 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1032 def create_custom_class @create_custom_class end |
#create_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_phrase_set
1007 1008 1009 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1007 def create_phrase_set @create_phrase_set end |
#delete_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_custom_class
1052 1053 1054 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1052 def delete_custom_class @delete_custom_class end |
#delete_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_phrase_set
1027 1028 1029 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1027 def delete_phrase_set @delete_phrase_set end |
#get_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_custom_class
1037 1038 1039 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1037 def get_custom_class @get_custom_class end |
#get_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_phrase_set
1012 1013 1014 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1012 def get_phrase_set @get_phrase_set end |
#list_custom_classes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_custom_classes
1042 1043 1044 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1042 def list_custom_classes @list_custom_classes end |
#list_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_phrase_set
1017 1018 1019 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1017 def list_phrase_set @list_phrase_set end |
#update_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_custom_class
1047 1048 1049 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1047 def update_custom_class @update_custom_class end |
#update_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_phrase_set
1022 1023 1024 |
# File 'lib/google/cloud/speech/v1/adaptation/rest/client.rb', line 1022 def update_phrase_set @update_phrase_set end |