Events
Events allow you to see activity that is taking place within your installation. These could be events which indicate which devices are being unlocked and by whom.
This service is responsible for managing event resources.
For a list of types of events available in the Nebula API, see the section on event types.
Resource name of the event. It must have the format installations/*/events/*
. For example: installations/surelock-homes-hq/events/01ARZ3NDEKTSV4RRFFQ69G5FAV
.
Type of occurrence which has taken place. Often this attribute is used for routing, observability, policy enforcement, etc.
This describes the event producer.
Timestamp of when the event has been created.
Timestamp of when the occurrence took place. If the time of the occurrence cannot be determined then this attribute is set to the current time by the producer. All producers for the type of event are consistent in this respect.
The event entry payload, represented as a structure that is expressed as a JSON object.
The event object
Resource name of the event. It must have the format installations/*/events/*
. For example: installations/surelock-homes-hq/events/01ARZ3NDEKTSV4RRFFQ69G5FAV
.
Type of occurrence which has taken place. Often this attribute is used for routing, observability, policy enforcement, etc.
This describes the event producer.
Timestamp of when the event has been created.
Timestamp of when the occurrence took place. If the time of the occurrence cannot be determined then this attribute is set to the current time by the producer. All producers for the type of event are consistent in this respect.
The event entry payload, represented as a structure that is expressed as a JSON object.
Get an event
Gets an existing event.
Input
The name of the requested event resource.
Output
Resource name of the event. It must have the format installations/*/events/*
.
Type of occurrence which has taken place. Often this attribute is used for routing, observability, policy enforcement, etc.
This describes the event producer.
Timestamp of when the event has been created.
Timestamp of when the occurrence took place. If the time of the occurrence cannot be determined then this attribute is set to the current time by the producer. All producers for the type of event are consistent in this respect.
The event entry payload, represented as a structure that is expressed as a JSON object.
List events
Returns a list of events that have been previously created.
Input
The parent resource name.
The maximum number of items to return.
The next_page_token
value returned from a previous List
request, if any.
A filter that chooses which events to return.
How the results should be sorted.
Output
The field name should match the noun events
in the method name. There will be a maximum number of items returned based on the page_size
field in the request.
Token to retrieve the next page of results, or empty if there are no more results in the list.