Class: Google::Cloud::Speech::V1p1beta1::Adaptation::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/speech/v1p1beta1/adaptation/client.rb

Overview

Configuration RPC class for the Adaptation 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

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

RPC-specific configuration for create_custom_class

Returns:

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


1325
1326
1327
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1325

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)


1300
1301
1302
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1300

def create_phrase_set
  @create_phrase_set
end

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

RPC-specific configuration for delete_custom_class

Returns:

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


1345
1346
1347
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1345

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)


1320
1321
1322
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1320

def delete_phrase_set
  @delete_phrase_set
end

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

RPC-specific configuration for get_custom_class

Returns:

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


1330
1331
1332
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1330

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)


1305
1306
1307
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1305

def get_phrase_set
  @get_phrase_set
end

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

RPC-specific configuration for list_custom_classes

Returns:

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


1335
1336
1337
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1335

def list_custom_classes
  @list_custom_classes
end

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

RPC-specific configuration for list_phrase_set

Returns:

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


1310
1311
1312
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1310

def list_phrase_set
  @list_phrase_set
end

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

RPC-specific configuration for update_custom_class

Returns:

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


1340
1341
1342
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1340

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)


1315
1316
1317
# File 'lib/google/cloud/speech/v1p1beta1/adaptation/client.rb', line 1315

def update_phrase_set
  @update_phrase_set
end