You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# create and deploy function
$ gcloud functions deploy <FUNCTION-NAME> \
--stage-bucket=<STAGE-BUCKET> \
--trigger-topic=<TRIGGER-TOPIC> \
--runtime=<RUNTIME># verify status of function
$ gcloud functions describe <FUNCTION-NAME># create test of function
$ gcloud functions call <FUNCTION-NAME> --data <DATA># check logs in the log history
$ gcloud functions logs read<FUNCTION-NAME>
# list any existing datasets in our project
$ bq ls
# create dataset
$ bq mk <DATASET_NAME># remove dataset
$ bq rm -r <DATASET># create or update table and load data
$ bq load <DATASET:TABLE><FILE><SCHEMA># check the schema of given table
$ bq show <DATASET:TABLE># examing schema of given table
$ bq show <PROJECT>:<DATASET.TABLE># run query
$ bq query "[SQL_STATEMENT]"