firebasealertsdata

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package firebasealertsdata provides Firebase Alerts type definitions for CloudEvent data payloads.

Supported CloudEvent Types

  • google.firebase.firebasealerts.alerts.v1.published

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use AlertData.ProtoReflect.Descriptor instead.

func (*AlertData) GetCreateTime

func (x *AlertData) GetCreateTime() *timestamppb.Timestamp

func (*AlertData) GetEndTime

func (x *AlertData) GetEndTime() *timestamppb.Timestamp

func (*AlertData) GetPayload

func (x *AlertData) GetPayload() *structpb.Struct

func (*AlertData) ProtoMessage

func (*AlertData) ProtoMessage()

func (*AlertData) ProtoReflect

func (x *AlertData) ProtoReflect() protoreflect.Message

func (*AlertData) Reset

func (x *AlertData) Reset()

func (*AlertData) String

func (x *AlertData) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL