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)


2659
2660
2661
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2659

def batch_recognize
  @batch_recognize
end

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

RPC-specific configuration for create_custom_class

Returns:

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


2674
2675
2676
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2674

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)


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

def create_phrase_set
  @create_phrase_set
end

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

RPC-specific configuration for create_recognizer

Returns:

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


2619
2620
2621
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2619

def create_recognizer
  @create_recognizer
end

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

RPC-specific configuration for delete_custom_class

Returns:

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


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

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)


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

def delete_phrase_set
  @delete_phrase_set
end

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

RPC-specific configuration for delete_recognizer

Returns:

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


2639
2640
2641
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2639

def delete_recognizer
  @delete_recognizer
end

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

RPC-specific configuration for get_config

Returns:

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


2664
2665
2666
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2664

def get_config
  @get_config
end

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

RPC-specific configuration for get_custom_class

Returns:

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


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

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)


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

def get_phrase_set
  @get_phrase_set
end

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

RPC-specific configuration for get_recognizer

Returns:

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


2629
2630
2631
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2629

def get_recognizer
  @get_recognizer
end

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

RPC-specific configuration for list_custom_classes

Returns:

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


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

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)


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

def list_phrase_sets
  @list_phrase_sets
end

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

RPC-specific configuration for list_recognizers

Returns:

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


2624
2625
2626
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2624

def list_recognizers
  @list_recognizers
end

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

RPC-specific configuration for recognize

Returns:

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


2649
2650
2651
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2649

def recognize
  @recognize
end

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

RPC-specific configuration for streaming_recognize

Returns:

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


2654
2655
2656
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2654

def streaming_recognize
  @streaming_recognize
end

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

RPC-specific configuration for undelete_custom_class

Returns:

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


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

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)


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

def undelete_phrase_set
  @undelete_phrase_set
end

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

RPC-specific configuration for undelete_recognizer

Returns:

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


2644
2645
2646
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2644

def undelete_recognizer
  @undelete_recognizer
end

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

RPC-specific configuration for update_config

Returns:

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


2669
2670
2671
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2669

def update_config
  @update_config
end

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

RPC-specific configuration for update_custom_class

Returns:

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


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

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)


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

def update_phrase_set
  @update_phrase_set
end

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

RPC-specific configuration for update_recognizer

Returns:

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


2634
2635
2636
# File 'lib/google/cloud/speech/v2/speech/client.rb', line 2634

def update_recognizer
  @update_recognizer
end