vpc-network-name
with the name of your VPC network and project-id
with your GCP project ID.project-id
with your GCP project ID, user-email
with the email address of the user or service account, and role-id
with the desired IAM role.sink-name
with a name for your log sink, storage.googleapis.com/cloud-run-logs-bucket
with the Cloud Storage bucket where you want to store the logs, and project-id
with your GCP project ID.google-auth
library in Python to authenticate requests to the CloudRun API.google-cloud-logging
library in Python to enable logging for your CloudRun services.