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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/speech/v2/speech/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 gRPC 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)


2718
2719
2720
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2718

def batch_recognize
  @batch_recognize
end

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

RPC-specific configuration for create_custom_class

Returns:

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


2733
2734
2735
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2733

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)


2763
2764
2765
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2763

def create_phrase_set
  @create_phrase_set
end

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

RPC-specific configuration for create_recognizer

Returns:

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


2678
2679
2680
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2678

def create_recognizer
  @create_recognizer
end

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

RPC-specific configuration for delete_custom_class

Returns:

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


2753
2754
2755
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2753

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)


2783
2784
2785
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2783

def delete_phrase_set
  @delete_phrase_set
end

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

RPC-specific configuration for delete_recognizer

Returns:

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


2698
2699
2700
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2698

def delete_recognizer
  @delete_recognizer
end

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

RPC-specific configuration for get_config

Returns:

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


2723
2724
2725
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2723

def get_config
  @get_config
end

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

RPC-specific configuration for get_custom_class

Returns:

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


2743
2744
2745
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2743

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)


2773
2774
2775
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2773

def get_phrase_set
  @get_phrase_set
end

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

RPC-specific configuration for get_recognizer

Returns:

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


2688
2689
2690
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2688

def get_recognizer
  @get_recognizer
end

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

RPC-specific configuration for list_custom_classes

Returns:

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


2738
2739
2740
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2738

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)


2768
2769
2770
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2768

def list_phrase_sets
  @list_phrase_sets
end

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

RPC-specific configuration for list_recognizers

Returns:

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


2683
2684
2685
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2683

def list_recognizers
  @list_recognizers
end

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

RPC-specific configuration for recognize

Returns:

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


2708
2709
2710
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2708

def recognize
  @recognize
end

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

RPC-specific configuration for streaming_recognize

Returns:

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


2713
2714
2715
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2713

def streaming_recognize
  @streaming_recognize
end

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

RPC-specific configuration for undelete_custom_class

Returns:

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


2758
2759
2760
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2758

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)


2788
2789
2790
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2788

def undelete_phrase_set
  @undelete_phrase_set
end

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

RPC-specific configuration for undelete_recognizer

Returns:

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


2703
2704
2705
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2703

def undelete_recognizer
  @undelete_recognizer
end

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

RPC-specific configuration for update_config

Returns:

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


2728
2729
2730
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2728

def update_config
  @update_config
end

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

RPC-specific configuration for update_custom_class

Returns:

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


2748
2749
2750
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2748

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)


2778
2779
2780
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2778

def update_phrase_set
  @update_phrase_set
end

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

RPC-specific configuration for update_recognizer

Returns:

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


2693
2694
2695
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2693

def update_recognizer
  @update_recognizer
end