Skip to content

ERROR: (gcloud.alpha.events.triggers.create) Unknown event type: com.google.cloud.auditlog.event #4228

@nanukn

Description

@nanukn

In which file did you encounter the issue?

Create Cloud Storage trigger section of README at https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/run/events-storage

Did you change the file? If so, how?

No

Describe the issue

When running the command shown on the README:
gcloud alpha events triggers create $MY_GCS_TRIGGER \ --target-service "$MY_RUN_SERVICE" \ --type com.google.cloud.auditlog.event \ --parameters methodName=storage.buckets.update \ --parameters serviceName=storage.googleapis.com \ --parameters resourceName=projects/_/buckets/"$MY_GCS_BUCKET"

I receive this error:

ERROR: (gcloud.alpha.events.triggers.create) Unknown event type: com.google.cloud.auditlog.event. If you're trying to use a custom event type, add the "--custom-type" flag

Metadata

Metadata

Assignees

Labels

type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions