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
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: