Skip to content

Commit 67e6e0a

Browse files
Google APIscopybara-github
authored andcommitted
fix: add model signature for batch document translation
PiperOrigin-RevId: 403140062
1 parent d2977af commit 67e6e0a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

google/cloud/translate/v3/translation_service.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ service TranslationService {
123123
post: "/v3/{parent=projects/*/locations/*}:batchTranslateDocument"
124124
body: "*"
125125
};
126+
option (google.api.method_signature) =
127+
"parent,source_language_code,target_language_codes,input_configs,output_config";
126128
option (google.longrunning.operation_info) = {
127129
response_type: "BatchTranslateDocumentResponse"
128130
metadata_type: "BatchTranslateDocumentMetadata"

google/cloud/translate/v3beta1/translation_service.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ service TranslationService {
120120
post: "/v3beta1/{parent=projects/*/locations/*}:batchTranslateDocument"
121121
body: "*"
122122
};
123+
option (google.api.method_signature) =
124+
"parent,source_language_code,target_language_codes,input_configs,output_config";
123125
option (google.longrunning.operation_info) = {
124126
response_type: "BatchTranslateDocumentResponse"
125127
metadata_type: "BatchTranslateDocumentMetadata"

0 commit comments

Comments
 (0)