diff --git a/video/beta/pom.xml b/video/beta/pom.xml index 05694faf783..909e1805e04 100644 --- a/video/beta/pom.xml +++ b/video/beta/pom.xml @@ -36,13 +36,11 @@ - com.google.cloud google-cloud-video-intelligence 0.56.0-beta - diff --git a/video/beta/src/main/java/com/example/video/Detect.java b/video/beta/src/main/java/com/example/video/Detect.java index 5b8939d2a8b..c3c003c1984 100644 --- a/video/beta/src/main/java/com/example/video/Detect.java +++ b/video/beta/src/main/java/com/example/video/Detect.java @@ -72,7 +72,7 @@ public static void argsHelper(String[] args) throws Exception { } } - // [START video_speech_transcription] + // [START video_speech_transcription_gcs_beta] /** * Transcribe speech from a video stored on GCS. * @@ -135,5 +135,5 @@ public static void speechTranscription(String gcsUri) throws Exception { } } } - // [END video_speech_transcription] + // [END video_speech_transcription_gcs_beta] } diff --git a/video/cloud-client/pom.xml b/video/cloud-client/pom.xml index 990a60fc95d..6361c398a4c 100644 --- a/video/cloud-client/pom.xml +++ b/video/cloud-client/pom.xml @@ -36,13 +36,11 @@ - com.google.cloud google-cloud-video-intelligence 0.56.0-beta - diff --git a/video/cloud-client/src/main/java/com/example/video/Detect.java b/video/cloud-client/src/main/java/com/example/video/Detect.java index 0504c05d370..7befe4104a8 100644 --- a/video/cloud-client/src/main/java/com/example/video/Detect.java +++ b/video/cloud-client/src/main/java/com/example/video/Detect.java @@ -173,7 +173,7 @@ public static void analyzeLabels(String gcsUri) throws Exception { * @param filePath the path to the video file to analyze. */ public static void analyzeLabelsFile(String filePath) throws Exception { - // [START video_analyze_labels_local] + // [START video_analyze_labels] // Instantiate a com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient try (VideoIntelligenceServiceClient client = VideoIntelligenceServiceClient.create()) { // Read file and encode into Base64 @@ -251,7 +251,7 @@ public static void analyzeLabelsFile(String filePath) throws Exception { } } } - // [END video_analyze_labels_local] + // [END video_analyze_labels] } /** diff --git a/video/cloud-client/src/main/java/com/example/video/QuickstartSample.java b/video/cloud-client/src/main/java/com/example/video/QuickstartSample.java index 0d2991cc488..24d9cafd1f5 100644 --- a/video/cloud-client/src/main/java/com/example/video/QuickstartSample.java +++ b/video/cloud-client/src/main/java/com/example/video/QuickstartSample.java @@ -16,7 +16,7 @@ package com.example.video; -// [START videointelligence_quickstart] +// [START video_quickstart] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.videointelligence.v1.AnnotateVideoProgress; @@ -81,4 +81,4 @@ public static void main(String[] args) throws Exception { } } } -// [END videointelligence_quickstart] +// [END video_quickstart]