From f6e21dcdda7c8d822ae233da826c637f1b6eb957 Mon Sep 17 00:00:00 2001 From: Tianzi Cai Date: Tue, 25 Oct 2022 14:55:18 -0700 Subject: [PATCH] fix region tag product name --- .../java/com/example/mediatranslation/TranslateFromFile.java | 4 ++-- .../java/com/example/mediatranslation/TranslateFromMic.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromFile.java b/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromFile.java index f8cfb7f21f1..a933937d831 100644 --- a/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromFile.java +++ b/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromFile.java @@ -16,7 +16,7 @@ package com.example.mediatranslation; -// [START media_translation_translate_from_file] +// [START mediatranslation_translate_from_file] import com.google.api.gax.rpc.BidiStream; import com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceClient; @@ -92,4 +92,4 @@ public static void translateFromFile(String filePath) throws IOException { } } } -// [END media_translation_translate_from_file] +// [END mediatranslation_translate_from_file] diff --git a/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromMic.java b/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromMic.java index 84cb86693c1..7a87cff148b 100644 --- a/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromMic.java +++ b/mediatranslation/src/main/java/com/example/mediatranslation/TranslateFromMic.java @@ -16,7 +16,7 @@ package com.example.mediatranslation; -// [START media_translation_translate_from_mic] +// [START mediatranslation_translate_from_mic] import com.google.api.gax.rpc.ClientStream; import com.google.api.gax.rpc.ResponseObserver; @@ -129,4 +129,4 @@ public void onError(Throwable t) { } } } -// [END media_translation_translate_from_mic] +// [END mediatranslation_translate_from_mic]