Skip to content

Instantly share code, notes, and snippets.

@kcchien
Last active May 18, 2019 04:25
Show Gist options
  • Save kcchien/0df3b1220a65710a196db8330ba4e518 to your computer and use it in GitHub Desktop.
Save kcchien/0df3b1220a65710a196db8330ba4e518 to your computer and use it in GitHub Desktop.
Scanning User-generated Content Using the Cloud Video Intelligence and Cloud Vision APIs - 1
# 取得專案ID
export PROJECT_ID=$(gcloud info --format='value(config.project)')
# Cloud Storage buckets的名稱
export IV_BUCKET_NAME=${PROJECT_ID}-upload
export FILTERED_BUCKET_NAME=${PROJECT_ID}-filtered
export FLAGGED_BUCKET_NAME=${PROJECT_ID}-flagged
export STAGING_BUCKET_NAME=${PROJECT_ID}-staging
# Cloud Pub/Sub topic環境變數
export UPLOAD_NOTIFICATION_TOPIC=upload_notification
# BigQuery 環境變數
export DATASET_ID=intelligentcontentfilter
export TABLE_NAME=filtered_content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment