Send feedback
Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs (v1.2.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs.
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.
Methods
#batch_recognize
def batch_recognize () - > :: Gapic :: Config :: Method
RPC-specific configuration for batch_recognize
Returns
(::Gapic::Config::Method)
#create_custom_class
def create_custom_class () - > :: Gapic :: Config :: Method
RPC-specific configuration for create_custom_class
Returns
(::Gapic::Config::Method)
#create_phrase_set
def create_phrase_set () - > :: Gapic :: Config :: Method
RPC-specific configuration for create_phrase_set
Returns
(::Gapic::Config::Method)
#create_recognizer
def create_recognizer () - > :: Gapic :: Config :: Method
RPC-specific configuration for create_recognizer
Returns
(::Gapic::Config::Method)
#delete_custom_class
def delete_custom_class () - > :: Gapic :: Config :: Method
RPC-specific configuration for delete_custom_class
Returns
(::Gapic::Config::Method)
#delete_phrase_set
def delete_phrase_set () - > :: Gapic :: Config :: Method
RPC-specific configuration for delete_phrase_set
Returns
(::Gapic::Config::Method)
#delete_recognizer
def delete_recognizer () - > :: Gapic :: Config :: Method
RPC-specific configuration for delete_recognizer
Returns
(::Gapic::Config::Method)
#get_config
def get_config () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_config
Returns
(::Gapic::Config::Method)
#get_custom_class
def get_custom_class () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_custom_class
Returns
(::Gapic::Config::Method)
#get_phrase_set
def get_phrase_set () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_phrase_set
Returns
(::Gapic::Config::Method)
#get_recognizer
def get_recognizer () - > :: Gapic :: Config :: Method
RPC-specific configuration for get_recognizer
Returns
(::Gapic::Config::Method)
#list_custom_classes
def list_custom_classes () - > :: Gapic :: Config :: Method
RPC-specific configuration for list_custom_classes
Returns
(::Gapic::Config::Method)
#list_phrase_sets
def list_phrase_sets () - > :: Gapic :: Config :: Method
RPC-specific configuration for list_phrase_sets
Returns
(::Gapic::Config::Method)
#list_recognizers
def list_recognizers () - > :: Gapic :: Config :: Method
RPC-specific configuration for list_recognizers
Returns
(::Gapic::Config::Method)
#recognize
def recognize () - > :: Gapic :: Config :: Method
RPC-specific configuration for recognize
Returns
(::Gapic::Config::Method)
#undelete_custom_class
def undelete_custom_class () - > :: Gapic :: Config :: Method
RPC-specific configuration for undelete_custom_class
Returns
(::Gapic::Config::Method)
#undelete_phrase_set
def undelete_phrase_set () - > :: Gapic :: Config :: Method
RPC-specific configuration for undelete_phrase_set
Returns
(::Gapic::Config::Method)
#undelete_recognizer
def undelete_recognizer () - > :: Gapic :: Config :: Method
RPC-specific configuration for undelete_recognizer
Returns
(::Gapic::Config::Method)
#update_config
def update_config () - > :: Gapic :: Config :: Method
RPC-specific configuration for update_config
Returns
(::Gapic::Config::Method)
#update_custom_class
def update_custom_class () - > :: Gapic :: Config :: Method
RPC-specific configuration for update_custom_class
Returns
(::Gapic::Config::Method)
#update_phrase_set
def update_phrase_set () - > :: Gapic :: Config :: Method
RPC-specific configuration for update_phrase_set
Returns
(::Gapic::Config::Method)
#update_recognizer
def update_recognizer () - > :: Gapic :: Config :: Method
RPC-specific configuration for update_recognizer
Returns
(::Gapic::Config::Method)
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs (v1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [1.2.0](/ruby/docs/reference/google-cloud-speech-v2/1.2.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [1.1.0](/ruby/docs/reference/google-cloud-speech-v2/1.1.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [1.0.1](/ruby/docs/reference/google-cloud-speech-v2/1.0.1/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.16.0](/ruby/docs/reference/google-cloud-speech-v2/0.16.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.15.0](/ruby/docs/reference/google-cloud-speech-v2/0.15.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v2/0.14.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.13.1](/ruby/docs/reference/google-cloud-speech-v2/0.13.1/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.12.0](/ruby/docs/reference/google-cloud-speech-v2/0.12.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.11.0](/ruby/docs/reference/google-cloud-speech-v2/0.11.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.10.0](/ruby/docs/reference/google-cloud-speech-v2/0.10.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.9.2](/ruby/docs/reference/google-cloud-speech-v2/0.9.2/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.8.0](/ruby/docs/reference/google-cloud-speech-v2/0.8.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.7.0](/ruby/docs/reference/google-cloud-speech-v2/0.7.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.6.0](/ruby/docs/reference/google-cloud-speech-v2/0.6.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.5.1](/ruby/docs/reference/google-cloud-speech-v2/0.5.1/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.4.0](/ruby/docs/reference/google-cloud-speech-v2/0.4.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.3.0](/ruby/docs/reference/google-cloud-speech-v2/0.3.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.2.0](/ruby/docs/reference/google-cloud-speech-v2/0.2.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs)\n- [0.1.0](/ruby/docs/reference/google-cloud-speech-v2/0.1.0/Google-Cloud-Speech-V2-Speech-Rest-Client-Configuration-Rpcs) \nReference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs.\n\nConfiguration RPC class for the Speech API.\n\nIncludes fields providing the configuration for each RPC in this service.\nEach configuration object is of type `Gapic::Config::Method` and includes\nthe following configuration fields:\n\n- `timeout` (*type:* `Numeric`) - The call timeout in seconds\n- `metadata` (*type:* `Hash{Symbol=\u003eString}`) - Additional headers\n- `retry_policy (`*type:*Hash\\`) - The retry policy. The policy fields include the following keys:\n - `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.\n - `:max_delay` (*type:* `Numeric`) - The max delay in seconds.\n - `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.\n- `:retry_codes` (*type:* `Array\u003cString\u003e`) - The error codes that should trigger a retry. \n\nInherits\n--------\n\n- Object\n\nMethods\n-------\n\n### #batch_recognize\n\n def batch_recognize() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `batch_recognize` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #create_custom_class\n\n def create_custom_class() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `create_custom_class` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #create_phrase_set\n\n def create_phrase_set() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `create_phrase_set` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #create_recognizer\n\n def create_recognizer() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `create_recognizer` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #delete_custom_class\n\n def delete_custom_class() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `delete_custom_class` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #delete_phrase_set\n\n def delete_phrase_set() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `delete_phrase_set` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #delete_recognizer\n\n def delete_recognizer() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `delete_recognizer` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get_config\n\n def get_config() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_config` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get_custom_class\n\n def get_custom_class() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_custom_class` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get_phrase_set\n\n def get_phrase_set() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_phrase_set` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #get_recognizer\n\n def get_recognizer() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `get_recognizer` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #list_custom_classes\n\n def list_custom_classes() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `list_custom_classes` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #list_phrase_sets\n\n def list_phrase_sets() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `list_phrase_sets` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #list_recognizers\n\n def list_recognizers() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `list_recognizers` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #recognize\n\n def recognize() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `recognize` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #undelete_custom_class\n\n def undelete_custom_class() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `undelete_custom_class` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #undelete_phrase_set\n\n def undelete_phrase_set() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `undelete_phrase_set` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #undelete_recognizer\n\n def undelete_recognizer() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `undelete_recognizer` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #update_config\n\n def update_config() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `update_config` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #update_custom_class\n\n def update_custom_class() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `update_custom_class` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #update_phrase_set\n\n def update_phrase_set() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `update_phrase_set` \n**Returns**\n\n- (::Gapic::Config::Method)\n\n### #update_recognizer\n\n def update_recognizer() -\u003e ::Gapic::Config::Method\n\nRPC-specific configuration for `update_recognizer` \n**Returns**\n\n- (::Gapic::Config::Method)"]]