@@ -81,7 +81,7 @@ function analyzeLabelsGCS(gcsUri) {
8181}
8282
8383function analyzeLabelsLocal ( path ) {
84- // [START video_analyze_labels_local ]
84+ // [START video_analyze_labels ]
8585 // Imports the Google Cloud Video Intelligence library + Node's fs library
8686 const video = require ( '@google-cloud/video-intelligence' ) . v1 ;
8787 const fs = require ( 'fs' ) ;
@@ -148,7 +148,7 @@ function analyzeLabelsLocal(path) {
148148 . catch ( err => {
149149 console . error ( 'ERROR:' , err ) ;
150150 } ) ;
151- // [END video_analyze_labels_local ]
151+ // [END video_analyze_labels ]
152152}
153153
154154function analyzeShots ( gcsUri ) {
@@ -291,7 +291,7 @@ function analyzeSafeSearch(gcsUri) {
291291}
292292
293293function analyzeVideoTranscription ( gcsUri ) {
294- // [START video_speech_transcription ]
294+ // [START video_speech_transcription_gcs_beta ]
295295 // Imports the Google Cloud Video Intelligence library
296296 const videoIntelligence = require ( '@google-cloud/video-intelligence' )
297297 . v1p1beta1 ;
@@ -341,7 +341,7 @@ function analyzeVideoTranscription(gcsUri) {
341341 . catch ( err => {
342342 console . error ( 'ERROR:' , err ) ;
343343 } ) ;
344- // [END video_speech_transcription ]
344+ // [END video_speech_transcription_gcs_beta ]
345345}
346346
347347require ( `yargs` )
0 commit comments