...

Package logging

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

Overview ▾

Variables

var File_google_chat_logging_v1_chat_app_log_entry_proto protoreflect.FileDescriptor

type ChatAppLogEntry

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).

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
}

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