Documentation ¶
Overview ¶
Package databasedata provides Firebase Realtime Database type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.firebase.database.ref.v1.created
- google.firebase.database.ref.v1.updated
- google.firebase.database.ref.v1.deleted
- google.firebase.database.ref.v1.written
Index ¶
- Variables
- type ReferenceEventData
- func (*ReferenceEventData) Descriptor() ([]byte, []int)deprecated
- func (x *ReferenceEventData) GetData() *structpb.Value
- func (x *ReferenceEventData) GetDelta() *structpb.Value
- func (*ReferenceEventData) ProtoMessage()
- func (x *ReferenceEventData) ProtoReflect() protoreflect.Message
- func (x *ReferenceEventData) Reset()
- func (x *ReferenceEventData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_firebase_database_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ReferenceEventData ¶
type ReferenceEventData struct { // The original data for the reference. Data *structpb.Value `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // The change in the reference data. Delta *structpb.Value `protobuf:"bytes,2,opt,name=delta,proto3" json:"delta,omitempty"` // contains filtered or unexported fields }
The data within all Firebase Real Time Database reference events.
func (*ReferenceEventData) Descriptor
deprecated
func (*ReferenceEventData) Descriptor() ([]byte, []int)
Deprecated: Use ReferenceEventData.ProtoReflect.Descriptor instead.
func (*ReferenceEventData) GetData ¶
func (x *ReferenceEventData) GetData() *structpb.Value
func (*ReferenceEventData) GetDelta ¶
func (x *ReferenceEventData) GetDelta() *structpb.Value
func (*ReferenceEventData) ProtoMessage ¶
func (*ReferenceEventData) ProtoMessage()
func (*ReferenceEventData) ProtoReflect ¶
func (x *ReferenceEventData) ProtoReflect() protoreflect.Message
func (*ReferenceEventData) Reset ¶
func (x *ReferenceEventData) Reset()
func (*ReferenceEventData) String ¶
func (x *ReferenceEventData) String() string
Click to show internal directories.
Click to hide internal directories.