Before you begin
- In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
- Make sure that billing is enabled for your Google Cloud project.
- Enable the Cloud Functions, Cloud Build, Artifact Registry, Cloud Run, and Logging APIs.
- Install the Google Cloud CLI.
To initialize the gcloud CLI, run the following command:
gcloud init
Don’t run this if you already have the gcloud setupLog of example code:
git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git