Skip to content
Permalink
Browse files
feat: added v3 proto for online/batch document translation and update…
…d v3beta1 proto for format conversion (#719)

PiperOrigin-RevId: 393656336
Source-Link: googleapis/googleapis@17d3fb2
Source-Link: googleapis/googleapis-gen@00ca50b
  • Loading branch information
gcf-owl-bot committed Sep 10, 2021
1 parent 26b9ba7 commit 76c9a13a0bb8b9dadc9f671e649af82f58c943f6

Large diffs are not rendered by default.

@@ -22,6 +22,7 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/longrunning/operations.proto";
import "google/protobuf/timestamp.proto";
import "google/rpc/status.proto";

option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.Translate.V3Beta1";
@@ -1241,6 +1242,19 @@ message BatchTranslateDocumentRequest {
// Optional. Glossaries to be applied. It's keyed by target language code.
map<string, TranslateTextGlossaryConfig> glossaries = 7
[(google.api.field_behavior) = OPTIONAL];

// Optional. File format conversion map to be applied to all input files.
// Map's key is the original mime_type. Map's value is the target mime_type of
// translated documents.
//
// Supported file format conversion includes:
// - `application/pdf` to
// `application/vnd.openxmlformats-officedocument.wordprocessingml.document`
//
// If nothing specified, output files will be in the same format as the
// original file.
map<string, string> format_conversions = 8
[(google.api.field_behavior) = OPTIONAL];
}

// Input configuration for BatchTranslateDocument request.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 76c9a13

Please sign in to comment.