Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Commit

Permalink
fix: add model signature for batch document translation (#735)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 403140062
Source-Link: googleapis/googleapis@67e6e0a
Source-Link: https://github.com/googleapis/googleapis-gen/commit/779ead92cdc2433d84ae5ae53418b1600843224e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzc5ZWFkOTJjZGMyNDMzZDg0YWU1YWU1MzQxOGIxNjAwODQzMjI0ZSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Oct 18, 2021
1 parent 0c37bc2 commit 406c768
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protos/google/cloud/translate/v3/translation_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ service TranslationService {
post: "/v3/{parent=projects/*/locations/*}:batchTranslateDocument"
body: "*"
};
option (google.api.method_signature) =
"parent,source_language_code,target_language_codes,input_configs,output_config";
option (google.longrunning.operation_info) = {
response_type: "BatchTranslateDocumentResponse"
metadata_type: "BatchTranslateDocumentMetadata"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ service TranslationService {
post: "/v3beta1/{parent=projects/*/locations/*}:batchTranslateDocument"
body: "*"
};
option (google.api.method_signature) =
"parent,source_language_code,target_language_codes,input_configs,output_config";
option (google.longrunning.operation_info) = {
response_type: "BatchTranslateDocumentResponse"
metadata_type: "BatchTranslateDocumentMetadata"
Expand Down
8 changes: 8 additions & 0 deletions protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 406c768

Please sign in to comment.