Skip to content

Commit 8ae68d6

Browse files
happyhumanJustinBeckwith
authored andcommitted
chore: update samples to use GA APIs (#153)
1 parent e728791 commit 8ae68d6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

video-intelligence/analyze.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,9 @@ async function analyzeSafeSearch(gcsUri) {
258258
}
259259

260260
async function analyzeVideoTranscription(gcsUri) {
261-
// [START video_speech_transcription_gcs_beta]
261+
// [START video_speech_transcription_gcs]
262262
// Imports the Google Cloud Video Intelligence library
263-
const videoIntelligence = require('@google-cloud/video-intelligence')
264-
.v1p1beta1;
263+
const videoIntelligence = require('@google-cloud/video-intelligence');
265264

266265
// Creates a client
267266
const client = new videoIntelligence.VideoIntelligenceServiceClient();
@@ -299,7 +298,7 @@ async function analyzeVideoTranscription(gcsUri) {
299298
});
300299
console.log('Transcription: ' + alternative.transcript);
301300

302-
// [END video_speech_transcription_gcs_beta]
301+
// [END video_speech_transcription_gcs]
303302
}
304303

305304
async function main() {

0 commit comments

Comments
 (0)