v1
Timestamp
Timestamp represents a point in time.
| Name | |
|---|---|
seconds | int64seconds is the number of seconds since Unix epoch. |
nanos | int32nanos is the non-negative fractions of a second. |
ValidationFailure
ValidationFailure describes a single field-level validation error.
| Name | |
|---|---|
field | stringfield is the dot-separated path of the field that failed validation. |
reason | stringreason is a human-readable explanation of the violated constraint. |
Recipient
Recipient identifies who should receive a notification.
| Name | |
|---|---|
user_id | stringuser_id is the internal identifier of the user. |
email | optional stringemail is the recipient’s email address. |
phone | optional stringphone is the recipient’s phone number in E.164 format. |
DeliveryStatus
DeliveryStatus represents the delivery state of a notification.
| Value | Description |
|---|---|
DELIVERY_STATUS_UNSPECIFIED | DELIVERY_STATUS_UNSPECIFIED is the default unspecified status. |
PENDING | PENDING means the notification has been queued but not yet delivered. |
DELIVERED | DELIVERED means the notification was successfully sent to the recipient. |
FAILED | FAILED means the delivery attempt failed. |
READ | READ means the recipient has read the notification. |