Class: Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/speech/v2/speech/rest/client.rb
Overview
Configuration RPC class for the Speech 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
-
#batch_recognize ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
batch_recognize
. -
#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
. -
#create_recognizer ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_recognizer
. -
#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
. -
#delete_recognizer ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_recognizer
. -
#get_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_config
. -
#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
. -
#get_recognizer ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_recognizer
. -
#list_custom_classes ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_custom_classes
. -
#list_phrase_sets ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_phrase_sets
. -
#list_recognizers ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_recognizers
. -
#recognize ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
recognize
. -
#undelete_custom_class ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
undelete_custom_class
. -
#undelete_phrase_set ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
undelete_phrase_set
. -
#undelete_recognizer ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
undelete_recognizer
. -
#update_config ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_config
. -
#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
. -
#update_recognizer ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_recognizer
.
Instance Attribute Details
#batch_recognize ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_recognize
2461 2462 2463 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2461 def batch_recognize @batch_recognize end |
#create_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_custom_class
2476 2477 2478 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2476 def create_custom_class @create_custom_class end |
#create_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_phrase_set
2506 2507 2508 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2506 def create_phrase_set @create_phrase_set end |
#create_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_recognizer
2426 2427 2428 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2426 def create_recognizer @create_recognizer end |
#delete_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_custom_class
2496 2497 2498 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2496 def delete_custom_class @delete_custom_class end |
#delete_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_phrase_set
2526 2527 2528 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2526 def delete_phrase_set @delete_phrase_set end |
#delete_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_recognizer
2446 2447 2448 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2446 def delete_recognizer @delete_recognizer end |
#get_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_config
2466 2467 2468 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2466 def get_config @get_config end |
#get_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_custom_class
2486 2487 2488 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2486 def get_custom_class @get_custom_class end |
#get_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_phrase_set
2516 2517 2518 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2516 def get_phrase_set @get_phrase_set end |
#get_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_recognizer
2436 2437 2438 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2436 def get_recognizer @get_recognizer end |
#list_custom_classes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_custom_classes
2481 2482 2483 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2481 def list_custom_classes @list_custom_classes end |
#list_phrase_sets ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_phrase_sets
2511 2512 2513 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2511 def list_phrase_sets @list_phrase_sets end |
#list_recognizers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_recognizers
2431 2432 2433 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2431 def list_recognizers @list_recognizers end |
#recognize ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for recognize
2456 2457 2458 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2456 def recognize @recognize end |
#undelete_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undelete_custom_class
2501 2502 2503 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2501 def undelete_custom_class @undelete_custom_class end |
#undelete_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undelete_phrase_set
2531 2532 2533 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2531 def undelete_phrase_set @undelete_phrase_set end |
#undelete_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undelete_recognizer
2451 2452 2453 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2451 def undelete_recognizer @undelete_recognizer end |
#update_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_config
2471 2472 2473 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2471 def update_config @update_config end |
#update_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_custom_class
2491 2492 2493 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2491 def update_custom_class @update_custom_class end |
#update_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_phrase_set
2521 2522 2523 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2521 def update_phrase_set @update_phrase_set end |
#update_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_recognizer
2441 2442 2443 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2441 def update_recognizer @update_recognizer end |