Skip to Content
SharedNotificationsv1

v1


Timestamp

Timestamp represents a point in time.

Name
secondsint64

seconds is the number of seconds since Unix epoch.
nanosint32

nanos is the non-negative fractions of a second.

ValidationFailure

ValidationFailure describes a single field-level validation error.

Name
fieldstring

field is the dot-separated path of the field that failed validation.
reasonstring

reason is a human-readable explanation of the violated constraint.

Recipient

Recipient identifies who should receive a notification.

Name
user_idstring

user_id is the internal identifier of the user.
emailoptional string

email is the recipient’s email address.
phoneoptional string

phone is the recipient’s phone number in E.164 format.

DeliveryStatus

DeliveryStatus represents the delivery state of a notification.

ValueDescription
DELIVERY_STATUS_UNSPECIFIEDDELIVERY_STATUS_UNSPECIFIED is the default unspecified status.
PENDINGPENDING means the notification has been queued but not yet delivered.
DELIVEREDDELIVERED means the notification was successfully sent to the recipient.
FAILEDFAILED means the delivery attempt failed.
READREAD means the recipient has read the notification.