Skip to content

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: googleapis/googleapis-gen@779ead9
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzc5ZWFkOTJjZGMyNDMzZDg0YWU1YWU1MzQxOGIxNjAwODQzMjI0ZSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Oct 18, 2021
1 parent 4cf0a07 commit c988d50
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
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 packages/google-cloud-translate/protos/protos.json

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

0 comments on commit c988d50

Please sign in to comment.