Class: Google::Cloud::Translate::V3::TranslationService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/translate/v3/translation_service/client.rb

Overview

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

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

RPC-specific configuration for adaptive_mt_translate

Returns:

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


4423
4424
4425
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4423

def adaptive_mt_translate
  @adaptive_mt_translate
end

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

RPC-specific configuration for batch_translate_document

Returns:

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


4328
4329
4330
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4328

def batch_translate_document
  @batch_translate_document
end

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

RPC-specific configuration for batch_translate_text

Returns:

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


4323
4324
4325
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4323

def batch_translate_text
  @batch_translate_text
end

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

RPC-specific configuration for create_adaptive_mt_dataset

Returns:

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


4403
4404
4405
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4403

def create_adaptive_mt_dataset
  @create_adaptive_mt_dataset
end

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

RPC-specific configuration for create_dataset

Returns:

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


4383
4384
4385
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4383

def create_dataset
  @create_dataset
end

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

RPC-specific configuration for create_glossary

Returns:

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


4333
4334
4335
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4333

def create_glossary
  @create_glossary
end

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

RPC-specific configuration for create_glossary_entry

Returns:

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


4368
4369
4370
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4368

def create_glossary_entry
  @create_glossary_entry
end

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

RPC-specific configuration for create_model

Returns:

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


4468
4469
4470
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4468

def create_model
  @create_model
end

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

RPC-specific configuration for delete_adaptive_mt_dataset

Returns:

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


4408
4409
4410
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4408

def delete_adaptive_mt_dataset
  @delete_adaptive_mt_dataset
end

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

RPC-specific configuration for delete_adaptive_mt_file

Returns:

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


4433
4434
4435
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4433

def delete_adaptive_mt_file
  @delete_adaptive_mt_file
end

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

RPC-specific configuration for delete_dataset

Returns:

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


4398
4399
4400
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4398

def delete_dataset
  @delete_dataset
end

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

RPC-specific configuration for delete_glossary

Returns:

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


4353
4354
4355
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4353

def delete_glossary
  @delete_glossary
end

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

RPC-specific configuration for delete_glossary_entry

Returns:

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


4378
4379
4380
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4378

def delete_glossary_entry
  @delete_glossary_entry
end

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

RPC-specific configuration for delete_model

Returns:

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


4483
4484
4485
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4483

def delete_model
  @delete_model
end

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

RPC-specific configuration for detect_language

Returns:

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


4308
4309
4310
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4308

def detect_language
  @detect_language
end

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

RPC-specific configuration for export_data

Returns:

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


4458
4459
4460
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4458

def export_data
  @export_data
end

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

RPC-specific configuration for get_adaptive_mt_dataset

Returns:

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


4413
4414
4415
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4413

def get_adaptive_mt_dataset
  @get_adaptive_mt_dataset
end

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

RPC-specific configuration for get_adaptive_mt_file

Returns:

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


4428
4429
4430
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4428

def get_adaptive_mt_file
  @get_adaptive_mt_file
end

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

RPC-specific configuration for get_dataset

Returns:

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


4388
4389
4390
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4388

def get_dataset
  @get_dataset
end

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

RPC-specific configuration for get_glossary

Returns:

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


4348
4349
4350
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4348

def get_glossary
  @get_glossary
end

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

RPC-specific configuration for get_glossary_entry

Returns:

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


4358
4359
4360
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4358

def get_glossary_entry
  @get_glossary_entry
end

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

RPC-specific configuration for get_model

Returns:

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


4478
4479
4480
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4478

def get_model
  @get_model
end

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

RPC-specific configuration for get_supported_languages

Returns:

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


4313
4314
4315
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4313

def get_supported_languages
  @get_supported_languages
end

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

RPC-specific configuration for import_adaptive_mt_file

Returns:

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


4438
4439
4440
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4438

def import_adaptive_mt_file
  @import_adaptive_mt_file
end

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

RPC-specific configuration for import_data

Returns:

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


4453
4454
4455
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4453

def import_data
  @import_data
end

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

RPC-specific configuration for list_adaptive_mt_datasets

Returns:

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


4418
4419
4420
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4418

def list_adaptive_mt_datasets
  @list_adaptive_mt_datasets
end

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

RPC-specific configuration for list_adaptive_mt_files

Returns:

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


4443
4444
4445
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4443

def list_adaptive_mt_files
  @list_adaptive_mt_files
end

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

RPC-specific configuration for list_adaptive_mt_sentences

Returns:

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


4448
4449
4450
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4448

def list_adaptive_mt_sentences
  @list_adaptive_mt_sentences
end

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

RPC-specific configuration for list_datasets

Returns:

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


4393
4394
4395
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4393

def list_datasets
  @list_datasets
end

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

RPC-specific configuration for list_examples

Returns:

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


4463
4464
4465
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4463

def list_examples
  @list_examples
end

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

RPC-specific configuration for list_glossaries

Returns:

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


4343
4344
4345
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4343

def list_glossaries
  @list_glossaries
end

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

RPC-specific configuration for list_glossary_entries

Returns:

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


4363
4364
4365
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4363

def list_glossary_entries
  @list_glossary_entries
end

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

RPC-specific configuration for list_models

Returns:

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


4473
4474
4475
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4473

def list_models
  @list_models
end

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

RPC-specific configuration for romanize_text

Returns:

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


4303
4304
4305
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4303

def romanize_text
  @romanize_text
end

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

RPC-specific configuration for translate_document

Returns:

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


4318
4319
4320
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4318

def translate_document
  @translate_document
end

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

RPC-specific configuration for translate_text

Returns:

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


4298
4299
4300
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4298

def translate_text
  @translate_text
end

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

RPC-specific configuration for update_glossary

Returns:

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


4338
4339
4340
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4338

def update_glossary
  @update_glossary
end

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

RPC-specific configuration for update_glossary_entry

Returns:

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


4373
4374
4375
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4373

def update_glossary_entry
  @update_glossary_entry
end