Skip to content

Commit d6837a5

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new field mime_type is added to message .google.cloud.translation.v3.AdaptiveMtTranslateRequest
PiperOrigin-RevId: 895422613
1 parent d73dfb3 commit d6837a5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

google/cloud/translate/v3/adaptive_mt.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -229,6 +229,9 @@ message AdaptiveMtTranslateRequest {
229229
// Required. The content of the input in string format.
230230
repeated string content = 3 [(google.api.field_behavior) = REQUIRED];
231231

232+
// The format of the source text.
233+
string mime_type = 4;
234+
232235
// Configuration for caller provided reference sentences.
233236
optional ReferenceSentenceConfig reference_sentence_config = 6;
234237

0 commit comments

Comments
 (0)