Documentation ¶
Overview ¶
Package firebasealertsdata provides Firebase Alerts type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.firebase.firebasealerts.alerts.v1.published
Index ¶
- Variables
- type AlertData
- func (*AlertData) Descriptor() ([]byte, []int)deprecated
- func (x *AlertData) GetCreateTime() *timestamppb.Timestamp
- func (x *AlertData) GetEndTime() *timestamppb.Timestamp
- func (x *AlertData) GetPayload() *structpb.Struct
- func (*AlertData) ProtoMessage()
- func (x *AlertData) ProtoReflect() protoreflect.Message
- func (x *AlertData) Reset()
- func (x *AlertData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_firebase_firebasealerts_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AlertData ¶
type AlertData struct { // Time that the event has created CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time that the event has ended. Optional, only present for alertsthat are // ongoing EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Payload of the event, which includes the details of the specific alert. // It's a map of keys of String type and values of various types Payload *structpb.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Firebase Alerts.
func (*AlertData) Descriptor
deprecated
func (*AlertData) GetCreateTime ¶
func (x *AlertData) GetCreateTime() *timestamppb.Timestamp
func (*AlertData) GetEndTime ¶
func (x *AlertData) GetEndTime() *timestamppb.Timestamp
func (*AlertData) GetPayload ¶
func (*AlertData) ProtoMessage ¶
func (*AlertData) ProtoMessage()
func (*AlertData) ProtoReflect ¶
func (x *AlertData) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.