Skip to content

Commit

Permalink
Explicitly specify project ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed Apr 28, 2017
1 parent 9e1f616 commit 9888768
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion video/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
const Video = require('@google-cloud/videointelligence').v1beta1();

// Instantiates a client
const video = Video.videoIntelligenceServiceClient();
const video = Video.videoIntelligenceServiceClient({
projectId: process.env.GCLOUD_PROJECT // Replace with your Google Cloud project ID
});

// The GCS filepath of the video to analyze
const gcsUri = 'gs://nodejs-docs-samples/videointelligence_quickstart.mp4';
Expand Down

0 comments on commit 9888768

Please sign in to comment.