Last active
May 18, 2019 06:57
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 部置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