resource property
Resource
get
resource
inherited
The resource that emitted the event.
@remarks Valid values are:
Analytics: projects/<projectId>/events/<analyticsEventType>
Realtime Database: projects/_/instances/<databaseInstance>/refs/<databasePath>
Storage: projects/_/buckets/<bucketName>/objects/<fileName>#<generation>
Authentication: projects/<projectId>
Pub/Sub: projects/<projectId>/topics/<topicName>
Because Realtime Database instances and Cloud Storage buckets are globally
unique and not tied to the project, their resources start with projects/_
.
Underscore is not a valid project name.
Implementation
external Resource get resource;