Event Filter on "id" attribute of google.cloud.storage.object.v1.finalized event

Hi!

I am looking to add an event filter to a cloud event trigger that filters on the id attribute of the google.cloud.storage.object.v1.finalized event.

Looking at the schema of the event the id attribute is present - https://github.com/googleapis/google-cloudevents/blob/main/jsonschema/google/events/cloud/storage/v1...

But when I try and create the function with this event filter I get the following error:

 

 The request was invalid: invalid argument: event type google.cloud.storage.object.v1.finalized not supported: attribute id not found within event type

 

 

How do I determine what attributes are available for event filters if not from the schema?

TIA 🍻

0 1 399
1 REPLY 1