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)


2461
2462
2463
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2461

def batch_recognize
  @batch_recognize
end

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

RPC-specific configuration for create_custom_class

Returns:

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


2476
2477
2478
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2476

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)


2506
2507
2508
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2506

def create_phrase_set
  @create_phrase_set
end

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

RPC-specific configuration for create_recognizer

Returns:

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


2426
2427
2428
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2426

def create_recognizer
  @create_recognizer
end

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

RPC-specific configuration for delete_custom_class

Returns:

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


2496
2497
2498
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2496

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)


2526
2527
2528
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2526

def delete_phrase_set
  @delete_phrase_set
end

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

RPC-specific configuration for delete_recognizer

Returns:

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


2446
2447
2448
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2446

def delete_recognizer
  @delete_recognizer
end

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

RPC-specific configuration for get_config

Returns:

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


2466
2467
2468
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2466

def get_config
  @get_config
end

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

RPC-specific configuration for get_custom_class

Returns:

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


2486
2487
2488
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2486

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)


2516
2517
2518
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2516

def get_phrase_set
  @get_phrase_set
end

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

RPC-specific configuration for get_recognizer

Returns:

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


2436
2437
2438
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2436

def get_recognizer
  @get_recognizer
end

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

RPC-specific configuration for list_custom_classes

Returns:

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


2481
2482
2483
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2481

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)


2511
2512
2513
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2511

def list_phrase_sets
  @list_phrase_sets
end

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

RPC-specific configuration for list_recognizers

Returns:

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


2431
2432
2433
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2431

def list_recognizers
  @list_recognizers
end

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

RPC-specific configuration for recognize

Returns:

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


2456
2457
2458
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2456

def recognize
  @recognize
end

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

RPC-specific configuration for undelete_custom_class

Returns:

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


2501
2502
2503
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2501

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)


2531
2532
2533
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2531

def undelete_phrase_set
  @undelete_phrase_set
end

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

RPC-specific configuration for undelete_recognizer

Returns:

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


2451
2452
2453
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2451

def undelete_recognizer
  @undelete_recognizer
end

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

RPC-specific configuration for update_config

Returns:

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


2471
2472
2473
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2471

def update_config
  @update_config
end

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

RPC-specific configuration for update_custom_class

Returns:

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


2491
2492
2493
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2491

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)


2521
2522
2523
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2521

def update_phrase_set
  @update_phrase_set
end

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

RPC-specific configuration for update_recognizer

Returns:

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


2441
2442
2443
# File 'lib/google/cloud/speech/v2/speech/rest/client.rb', line 2441

def update_recognizer
  @update_recognizer
end