Skip to content

Commit a6aab26

Browse files
alixhaminnegrey
authored andcommitted
Video Intelligence region tag update (#1183)
* updates region tags for analyze-labels page * updates region tags for analyze-labels page * removes unused dependency region tags * updates to beta region tag
1 parent bbb3ed9 commit a6aab26

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

video/beta/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@
3636
</properties>
3737

3838
<dependencies>
39-
<!-- [START dependencies] -->
4039
<dependency>
4140
<groupId>com.google.cloud</groupId>
4241
<artifactId>google-cloud-video-intelligence</artifactId>
4342
<version>0.56.0-beta</version>
4443
</dependency>
45-
<!-- [END dependencies] -->
4644

4745
<!-- Test dependencies -->
4846
<dependency>

video/beta/src/main/java/com/example/video/Detect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static void argsHelper(String[] args) throws Exception {
7272
}
7373
}
7474

75-
// [START video_speech_transcription]
75+
// [START video_speech_transcription_gcs_beta]
7676
/**
7777
* Transcribe speech from a video stored on GCS.
7878
*
@@ -135,5 +135,5 @@ public static void speechTranscription(String gcsUri) throws Exception {
135135
}
136136
}
137137
}
138-
// [END video_speech_transcription]
138+
// [END video_speech_transcription_gcs_beta]
139139
}

video/cloud-client/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@
3636
</properties>
3737

3838
<dependencies>
39-
<!-- [START dependencies] -->
4039
<dependency>
4140
<groupId>com.google.cloud</groupId>
4241
<artifactId>google-cloud-video-intelligence</artifactId>
4342
<version>0.56.0-beta</version>
4443
</dependency>
45-
<!-- [END dependencies] -->
4644

4745
<!-- Test dependencies -->
4846
<dependency>

video/cloud-client/src/main/java/com/example/video/Detect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public static void analyzeLabels(String gcsUri) throws Exception {
173173
* @param filePath the path to the video file to analyze.
174174
*/
175175
public static void analyzeLabelsFile(String filePath) throws Exception {
176-
// [START video_analyze_labels_local]
176+
// [START video_analyze_labels]
177177
// Instantiate a com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClient
178178
try (VideoIntelligenceServiceClient client = VideoIntelligenceServiceClient.create()) {
179179
// Read file and encode into Base64
@@ -251,7 +251,7 @@ public static void analyzeLabelsFile(String filePath) throws Exception {
251251
}
252252
}
253253
}
254-
// [END video_analyze_labels_local]
254+
// [END video_analyze_labels]
255255
}
256256

257257
/**

video/cloud-client/src/main/java/com/example/video/QuickstartSample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.example.video;
1818

19-
// [START videointelligence_quickstart]
19+
// [START video_quickstart]
2020

2121
import com.google.api.gax.longrunning.OperationFuture;
2222
import com.google.cloud.videointelligence.v1.AnnotateVideoProgress;
@@ -81,4 +81,4 @@ public static void main(String[] args) throws Exception {
8181
}
8282
}
8383
}
84-
// [END videointelligence_quickstart]
84+
// [END video_quickstart]

0 commit comments

Comments
 (0)