Skip to content

Commit 65bef09

Browse files
beccasaurusAce Nassri
authored andcommitted
Update sample region tags (#39)
1 parent d207d65 commit 65bef09

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

video-intelligence/analyze.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
'use strict';
1717

1818
function analyzeLabelsGCS(gcsUri) {
19-
// [START analyze_labels_gcs]
19+
// [START video_analyze_labels_gcs]
2020
// Imports the Google Cloud Video Intelligence library
2121
const video = require('@google-cloud/video-intelligence').v1;
2222

@@ -77,11 +77,11 @@ function analyzeLabelsGCS(gcsUri) {
7777
.catch(err => {
7878
console.error('ERROR:', err);
7979
});
80-
// [END analyze_labels_gcs]
80+
// [END video_analyze_labels_gcs]
8181
}
8282

8383
function analyzeLabelsLocal(path) {
84-
// [START analyze_labels_local]
84+
// [START video_analyze_labels_local]
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,11 +148,11 @@ function analyzeLabelsLocal(path) {
148148
.catch(err => {
149149
console.error('ERROR:', err);
150150
});
151-
// [END analyze_labels_local]
151+
// [END video_analyze_labels_local]
152152
}
153153

154154
function analyzeShots(gcsUri) {
155-
// [START analyze_shots]
155+
// [START video_analyze_shots]
156156
// Imports the Google Cloud Video Intelligence library
157157
const video = require('@google-cloud/video-intelligence').v1;
158158

@@ -219,11 +219,11 @@ function analyzeShots(gcsUri) {
219219
.catch(err => {
220220
console.error('ERROR:', err);
221221
});
222-
// [END analyze_shots]
222+
// [END video_analyze_shots]
223223
}
224224

225225
function analyzeSafeSearch(gcsUri) {
226-
// [START analyze_safe_search]
226+
// [START video_analyze_explicit_content]
227227
// Imports the Google Cloud Video Intelligence library
228228
const video = require('@google-cloud/video-intelligence').v1;
229229

@@ -287,7 +287,7 @@ function analyzeSafeSearch(gcsUri) {
287287
.catch(err => {
288288
console.error('ERROR:', err);
289289
});
290-
// [END analyze_safe_search]
290+
// [END video_analyze_explicit_content]
291291
}
292292

293293
function analyzeVideoTranscription(gcsUri) {

video-intelligence/quickstart.js

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

1616
'use strict';
1717

18-
// [START videointelligence_quickstart]
18+
// [START video_quickstart]
1919
// Imports the Google Cloud Video Intelligence library
2020
const videoIntelligence = require('@google-cloud/video-intelligence');
2121

@@ -77,4 +77,4 @@ client
7777
.catch(err => {
7878
console.error('ERROR:', err);
7979
});
80-
// [END videointelligence_quickstart]
80+
// [END video_quickstart]

0 commit comments

Comments
 (0)