Class: Google::Cloud::Speech::V2::Speech::Rest::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#batch_recognize::Gapic::Config::Method (readonly)

RPC-specific configuration for batch_recognize

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


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

Returns:

  • (::Gapic::Config::Method)


1925
1926
1927
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 1925

def update_recognizer
  @update_recognizer
end