Skip to content

Instantly share code, notes, and snippets.

@kcchien
Last active May 18, 2019 06:57
Show Gist options
  • Save kcchien/dd93bcf6d7af85c8c77dea12e4150017 to your computer and use it in GitHub Desktop.
Save kcchien/dd93bcf6d7af85c8c77dea12e4150017 to your computer and use it in GitHub Desktop.
Scanning User-generated Content Using the Cloud Video Intelligence and Cloud Vision APIs - 5
# 部置GCStoPubsub function
gcloud beta functions deploy GCStoPubsub --stage-bucket gs://${STAGING_BUCKET_NAME} --trigger-topic ${UPLOAD_NOTIFICATION_TOPIC} --entry-point GCStoPubsub --runtime=nodejs6
# 部置visionAPI function
gcloud beta functions deploy visionAPI --stage-bucket gs://${STAGING_BUCKET_NAME} --trigger-topic visionapiservice --entry-point visionAPI --runtime=nodejs6
# 部置videoIntelligenceAPI function
gcloud beta functions deploy videoIntelligenceAPI --stage-bucket gs://${STAGING_BUCKET_NAME} --trigger-topic videointelligenceservice --entry-point videoIntelligenceAPI --timeout 540 --runtime=nodejs6
# 部置insertIntoBigQuery function
gcloud beta functions deploy insertIntoBigQuery --stage-bucket gs://${STAGING_BUCKET_NAME} --trigger-topic bqinsert --entry-point insertIntoBigQuery --runtime=nodejs6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment