$ gcloud functions deploy datastore_to_bq \
--entry-point DatastoreToBQ \
--runtime go111 \
--set-env-vars 'PROJECT_ID=...,BUCKET=...' \
--trigger-http \
--project ... \
--region ...
name | desc |
---|---|
PROJECT_ID | gcp project |
BUCKET | GCS Bucket |
DATASET | Bigquery dataset |
KIND | Datastore kind |
NAMESPACE | Datastore namespace |