gcloud functions event-types list - list types of events that can be a trigger for a Google Cloud Function
gcloud functions event-types list [--gen2] [GCLOUD_WIDE_FLAG ...]
gcloud functions event-types list displays types of events that can be a trigger for a Google Cloud Function.
For an event type, EVENT_TYPE_DEFAULT marks whether the given event type is the default (in which case the --trigger-event flag may be omitted).
For a resource, RESOURCE_OPTIONAL marks whether the resource has a corresponding default value (in which case the --trigger-resource flag may be omitted).
- --gen2
If enabled, this command will use Cloud Functions (Second generation). If disabled, Cloud Functions (First generation) will be used. If not specified, the value of this flag will be taken from the functions/gen2 configuration property.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
These variants are also available:
$ gcloud alpha functions event-types list
$ gcloud beta functions event-types list