Class: Google::Cloud::Translate::V3::TranslationService::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::TranslationService::Client::Configuration::Rpcs
- 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
-
#adaptive_mt_translate ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
adaptive_mt_translate
. -
#batch_translate_document ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
batch_translate_document
. -
#batch_translate_text ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
batch_translate_text
. -
#create_adaptive_mt_dataset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_adaptive_mt_dataset
. -
#create_dataset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_dataset
. -
#create_glossary ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_glossary
. -
#create_glossary_entry ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_glossary_entry
. -
#create_model ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_model
. -
#delete_adaptive_mt_dataset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_adaptive_mt_dataset
. -
#delete_adaptive_mt_file ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_adaptive_mt_file
. -
#delete_dataset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_dataset
. -
#delete_glossary ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_glossary
. -
#delete_glossary_entry ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_glossary_entry
. -
#delete_model ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete_model
. -
#detect_language ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
detect_language
. -
#export_data ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
export_data
. -
#get_adaptive_mt_dataset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_adaptive_mt_dataset
. -
#get_adaptive_mt_file ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_adaptive_mt_file
. -
#get_dataset ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_dataset
. -
#get_glossary ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_glossary
. -
#get_glossary_entry ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_glossary_entry
. -
#get_model ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_model
. -
#get_supported_languages ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_supported_languages
. -
#import_adaptive_mt_file ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
import_adaptive_mt_file
. -
#import_data ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
import_data
. -
#list_adaptive_mt_datasets ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_adaptive_mt_datasets
. -
#list_adaptive_mt_files ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_adaptive_mt_files
. -
#list_adaptive_mt_sentences ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_adaptive_mt_sentences
. -
#list_datasets ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_datasets
. -
#list_examples ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_examples
. -
#list_glossaries ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_glossaries
. -
#list_glossary_entries ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_glossary_entries
. -
#list_models ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list_models
. -
#romanize_text ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
romanize_text
. -
#translate_document ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
translate_document
. -
#translate_text ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
translate_text
. -
#update_glossary ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_glossary
. -
#update_glossary_entry ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update_glossary_entry
.
Instance Attribute Details
#adaptive_mt_translate ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for adaptive_mt_translate
4414 4415 4416 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4414 def adaptive_mt_translate @adaptive_mt_translate end |
#batch_translate_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_translate_document
4319 4320 4321 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4319 def batch_translate_document @batch_translate_document end |
#batch_translate_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for batch_translate_text
4314 4315 4316 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4314 def batch_translate_text @batch_translate_text end |
#create_adaptive_mt_dataset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_adaptive_mt_dataset
4394 4395 4396 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4394 def create_adaptive_mt_dataset @create_adaptive_mt_dataset end |
#create_dataset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_dataset
4374 4375 4376 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4374 def create_dataset @create_dataset end |
#create_glossary ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_glossary
4324 4325 4326 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4324 def create_glossary @create_glossary end |
#create_glossary_entry ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_glossary_entry
4359 4360 4361 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4359 def create_glossary_entry @create_glossary_entry end |
#create_model ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_model
4459 4460 4461 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4459 def create_model @create_model end |
#delete_adaptive_mt_dataset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_adaptive_mt_dataset
4399 4400 4401 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4399 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
4424 4425 4426 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4424 def delete_adaptive_mt_file @delete_adaptive_mt_file end |
#delete_dataset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_dataset
4389 4390 4391 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4389 def delete_dataset @delete_dataset end |
#delete_glossary ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_glossary
4344 4345 4346 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4344 def delete_glossary @delete_glossary end |
#delete_glossary_entry ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_glossary_entry
4369 4370 4371 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4369 def delete_glossary_entry @delete_glossary_entry end |
#delete_model ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete_model
4474 4475 4476 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4474 def delete_model @delete_model end |
#detect_language ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for detect_language
4299 4300 4301 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4299 def detect_language @detect_language end |
#export_data ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for export_data
4449 4450 4451 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4449 def export_data @export_data end |
#get_adaptive_mt_dataset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_adaptive_mt_dataset
4404 4405 4406 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4404 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
4419 4420 4421 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4419 def get_adaptive_mt_file @get_adaptive_mt_file end |
#get_dataset ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_dataset
4379 4380 4381 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4379 def get_dataset @get_dataset end |
#get_glossary ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_glossary
4339 4340 4341 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4339 def get_glossary @get_glossary end |
#get_glossary_entry ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_glossary_entry
4349 4350 4351 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4349 def get_glossary_entry @get_glossary_entry end |
#get_model ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_model
4469 4470 4471 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4469 def get_model @get_model end |
#get_supported_languages ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_supported_languages
4304 4305 4306 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4304 def get_supported_languages @get_supported_languages end |
#import_adaptive_mt_file ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for import_adaptive_mt_file
4429 4430 4431 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4429 def import_adaptive_mt_file @import_adaptive_mt_file end |
#import_data ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for import_data
4444 4445 4446 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4444 def import_data @import_data end |
#list_adaptive_mt_datasets ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_adaptive_mt_datasets
4409 4410 4411 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4409 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
4434 4435 4436 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4434 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
4439 4440 4441 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4439 def list_adaptive_mt_sentences @list_adaptive_mt_sentences end |
#list_datasets ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_datasets
4384 4385 4386 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4384 def list_datasets @list_datasets end |
#list_examples ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_examples
4454 4455 4456 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4454 def list_examples @list_examples end |
#list_glossaries ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_glossaries
4334 4335 4336 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4334 def list_glossaries @list_glossaries end |
#list_glossary_entries ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_glossary_entries
4354 4355 4356 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4354 def list_glossary_entries @list_glossary_entries end |
#list_models ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list_models
4464 4465 4466 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4464 def list_models @list_models end |
#romanize_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for romanize_text
4294 4295 4296 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4294 def romanize_text @romanize_text end |
#translate_document ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for translate_document
4309 4310 4311 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4309 def translate_document @translate_document end |
#translate_text ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for translate_text
4289 4290 4291 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4289 def translate_text @translate_text end |
#update_glossary ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_glossary
4329 4330 4331 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4329 def update_glossary @update_glossary end |
#update_glossary_entry ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update_glossary_entry
4364 4365 4366 |
# File 'lib/google/cloud/translate/v3/translation_service/client.rb', line 4364 def update_glossary_entry @update_glossary_entry end |