Skip to content

Commit f00ad2c

Browse files
feat: A new field mime_type is added to message .google.cloud.translation.v3.AdaptiveMtTranslateRequest (#33808)
* feat: A new field `mime_type` is added to message `.google.cloud.translation.v3.AdaptiveMtTranslateRequest` PiperOrigin-RevId: 895422613 Source-Link: googleapis/googleapis@d6837a5 Source-Link: googleapis/googleapis-gen@cd509ea Copy-Tag: eyJwIjoiZ29vZ2xlLWNsb3VkLXRyYW5zbGF0ZS12My8uT3dsQm90LnlhbWwiLCJoIjoiY2Q1MDllYWIyYTZiYTY0MzY1ODkyNTMzYjQ5ZWYyYTkzOWI4OWVmMiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3dd3529 commit f00ad2c

File tree

7 files changed

+172
-42
lines changed

7 files changed

+172
-42
lines changed

google-cloud-translate-v3/lib/google/cloud/translate/v3/adaptive_mt_pb.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

google-cloud-translate-v3/lib/google/cloud/translate/v3/translation_service/client.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2918,7 +2918,7 @@ def list_adaptive_mt_datasets request, options = nil
29182918
# @param options [::Gapic::CallOptions, ::Hash]
29192919
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
29202920
#
2921-
# @overload adaptive_mt_translate(parent: nil, dataset: nil, content: nil, reference_sentence_config: nil, glossary_config: nil)
2921+
# @overload adaptive_mt_translate(parent: nil, dataset: nil, content: nil, mime_type: nil, reference_sentence_config: nil, glossary_config: nil)
29222922
# Pass arguments to `adaptive_mt_translate` via keyword arguments. Note that at
29232923
# least one keyword argument is required. To specify no parameters, or to keep all
29242924
# the default parameter values, pass an empty Hash as a request object (see above).
@@ -2932,6 +2932,8 @@ def list_adaptive_mt_datasets request, options = nil
29322932
# `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
29332933
# @param content [::Array<::String>]
29342934
# Required. The content of the input in string format.
2935+
# @param mime_type [::String]
2936+
# The format of the source text.
29352937
# @param reference_sentence_config [::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig, ::Hash]
29362938
# Configuration for caller provided reference sentences.
29372939
# @param glossary_config [::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig, ::Hash]

google-cloud-translate-v3/lib/google/cloud/translate/v3/translation_service/rest/client.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2737,7 +2737,7 @@ def list_adaptive_mt_datasets request, options = nil
27372737
# @param options [::Gapic::CallOptions, ::Hash]
27382738
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
27392739
#
2740-
# @overload adaptive_mt_translate(parent: nil, dataset: nil, content: nil, reference_sentence_config: nil, glossary_config: nil)
2740+
# @overload adaptive_mt_translate(parent: nil, dataset: nil, content: nil, mime_type: nil, reference_sentence_config: nil, glossary_config: nil)
27412741
# Pass arguments to `adaptive_mt_translate` via keyword arguments. Note that at
27422742
# least one keyword argument is required. To specify no parameters, or to keep all
27432743
# the default parameter values, pass an empty Hash as a request object (see above).
@@ -2751,6 +2751,8 @@ def list_adaptive_mt_datasets request, options = nil
27512751
# `projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}`
27522752
# @param content [::Array<::String>]
27532753
# Required. The content of the input in string format.
2754+
# @param mime_type [::String]
2755+
# The format of the source text.
27542756
# @param reference_sentence_config [::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::ReferenceSentenceConfig, ::Hash]
27552757
# Configuration for caller provided reference sentences.
27562758
# @param glossary_config [::Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest::GlossaryConfig, ::Hash]

0 commit comments

Comments
 (0)