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
1945 1946 1947 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1945 def batch_recognize @batch_recognize end |
#create_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_custom_class
1960 1961 1962 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1960 def create_custom_class @create_custom_class end |
#create_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_phrase_set
1990 1991 1992 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1990 def create_phrase_set @create_phrase_set end |
#create_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_recognizer
1910 1911 1912 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1910 def create_recognizer @create_recognizer end |
#delete_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_custom_class
1980 1981 1982 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1980 def delete_custom_class @delete_custom_class end |
#delete_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_phrase_set
2010 2011 2012 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2010 def delete_phrase_set @delete_phrase_set end |
#delete_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_recognizer
1930 1931 1932 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1930 def delete_recognizer @delete_recognizer end |
#get_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_config
1950 1951 1952 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1950 def get_config @get_config end |
#get_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_custom_class
1970 1971 1972 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1970 def get_custom_class @get_custom_class end |
#get_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_phrase_set
2000 2001 2002 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2000 def get_phrase_set @get_phrase_set end |
#get_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_recognizer
1920 1921 1922 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1920 def get_recognizer @get_recognizer end |
#list_custom_classes ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_custom_classes
1965 1966 1967 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1965 def list_custom_classes @list_custom_classes end |
#list_phrase_sets ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_phrase_sets
1995 1996 1997 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1995 def list_phrase_sets @list_phrase_sets end |
#list_recognizers ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_recognizers
1915 1916 1917 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1915 def list_recognizers @list_recognizers end |
#recognize ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for recognize
1940 1941 1942 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1940 def recognize @recognize end |
#undelete_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undelete_custom_class
1985 1986 1987 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1985 def undelete_custom_class @undelete_custom_class end |
#undelete_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undelete_phrase_set
2015 2016 2017 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2015 def undelete_phrase_set @undelete_phrase_set end |
#undelete_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for undelete_recognizer
1935 1936 1937 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1935 def undelete_recognizer @undelete_recognizer end |
#update_config ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_config
1955 1956 1957 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1955 def update_config @update_config end |
#update_custom_class ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_custom_class
1975 1976 1977 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1975 def update_custom_class @update_custom_class end |
#update_phrase_set ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_phrase_set
2005 2006 2007 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2005 def update_phrase_set @update_phrase_set end |
#update_recognizer ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_recognizer
1925 1926 1927 |
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1925 def update_recognizer @update_recognizer end |