package logging

import "google.golang.org/genproto/googleapis/chat/logging/v1"

Index

Variables

var File_google_chat_logging_v1_chat_app_log_entry_proto protoreflect.FileDescriptor

Types

type ChatAppLogEntry

type ChatAppLogEntry struct {

	// The deployment that caused the error. For Chat bots built in Apps Script,
	// this is the deployment ID defined by Apps Script.
	Deployment string `protobuf:"bytes,1,opt,name=deployment,proto3" json:"deployment,omitempty"`
	// The error code and message.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// The unencrypted `callback_method` name that was running when the error was
	// encountered.
	DeploymentFunction string `protobuf:"bytes,3,opt,name=deployment_function,json=deploymentFunction,proto3" json:"deployment_function,omitempty"`
	// contains filtered or unexported fields
}

JSON payload of error messages. If the Cloud Logging API is enabled, these error messages are logged to [Google Cloud Logging](https://cloud.google.com/logging/docs).

func (*ChatAppLogEntry) Descriptor

func (*ChatAppLogEntry) Descriptor() ([]byte, []int)

Deprecated: Use ChatAppLogEntry.ProtoReflect.Descriptor instead.

func (*ChatAppLogEntry) GetDeployment

func (x *ChatAppLogEntry) GetDeployment() string

func (*ChatAppLogEntry) GetDeploymentFunction

func (x *ChatAppLogEntry) GetDeploymentFunction() string

func (*ChatAppLogEntry) GetError

func (x *ChatAppLogEntry) GetError() *status.Status

func (*ChatAppLogEntry) ProtoMessage

func (*ChatAppLogEntry) ProtoMessage()

func (*ChatAppLogEntry) ProtoReflect

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

func (*ChatAppLogEntry) Reset

func (x *ChatAppLogEntry) Reset()

func (*ChatAppLogEntry) String

func (x *ChatAppLogEntry) String() string

Source Files

chat_app_log_entry.pb.go

Version
v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
51 minutes ago

Tools for package owners.