Environment variables for tutorial

Stay organized with collections Save and categorize content based on your preferences.

Using Cloud Tasks to trigger Cloud Functions.

Explore further

For detailed documentation that includes this code sample, see the following:

Code sample

YAML

env_variables:
  QUEUE_NAME: "my-queue"
  QUEUE_LOCATION: "us-central1"
  FUNCTION_URL: "https://<region>-<project_id>.cloudfunctions.net/sendEmail"
  SERVICE_ACCOUNT_EMAIL: "<member>@<project_id>.iam.gserviceaccount.com"

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.