Google-Google Cloud Functions
Google Cloud Functions で @functions_framework.http を使用する場合、request オブジェクトにどんな情報が含まれているかここにメモします。 request オブジェクトで取得できる情報 サンプル request オブジェクトで取得できる情報 HTTP メソッド request…
gcloud コマンドでプロジェクトの切り替え方がわからなかったので調べたことをここにメモします。 現在のアカウントやプロジェクトを確認する方法 $ gcloud config list [core] account = xxxxxxxx@xxxxxxxx.jp disable_usage_reporting = True project = xx…
Cloud Functions の開発を行う際に毎回 Cloud Functions にデプロイするのが大変だったので、ローカル環境で実行する方法を調べました。 ファイル構成 サンプルコード Makefile env docker-compose.yaml Dockerfile 使い方 make deploy make run make local_…