Using Console
Using CLI
FUNCTION_NAME
with the name of the Cloud Function that you want to remediate and TIMEOUT
with the desired timeout value in seconds. For example, to set the default timeout to 60 seconds for a Cloud Function named my-function
, run the following command:
FUNCTION_NAME
with the name of the Cloud Function that you remediated. The output of the command will include the timeout
field, which should match the value that you set in step 2.
Using Python
google-cloud-functions
Python package and authenticated with your GCP account using the gcloud
CLI or a service account key file.