package logging

import "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/logging/v1"

Index

Variables

var File_google_cloud_gsuiteaddons_logging_v1_g_suite_add_ons_log_entry_proto protoreflect.FileDescriptor

Types

type GSuiteAddOnsLogEntry

type GSuiteAddOnsLogEntry struct {

	// The deployment that caused the error. For add-ons built in Apps Script,
	// this is the deployment ID defined by Apps Script. For add-ons built in
	// other languages, this is the deployment ID defined in Google Cloud.
	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 function name that was running when the error occurred. This field
	// might not always be set, for example, if an error happens when fetching the
	// list of installed add-ons for a user.
	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 that are logged to Cloud Logging. An error message (in English) is written to Cloud Logging (if not disabled) when an error is encountered while using an add-on.

func (*GSuiteAddOnsLogEntry) Descriptor

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

Deprecated: Use GSuiteAddOnsLogEntry.ProtoReflect.Descriptor instead.

func (*GSuiteAddOnsLogEntry) GetDeployment

func (x *GSuiteAddOnsLogEntry) GetDeployment() string

func (*GSuiteAddOnsLogEntry) GetDeploymentFunction

func (x *GSuiteAddOnsLogEntry) GetDeploymentFunction() string

func (*GSuiteAddOnsLogEntry) GetError

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

func (*GSuiteAddOnsLogEntry) ProtoMessage

func (*GSuiteAddOnsLogEntry) ProtoMessage()

func (*GSuiteAddOnsLogEntry) ProtoReflect

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

func (*GSuiteAddOnsLogEntry) Reset

func (x *GSuiteAddOnsLogEntry) Reset()

func (*GSuiteAddOnsLogEntry) String

func (x *GSuiteAddOnsLogEntry) String() string

Source Files

g_suite_add_ons_log_entry.pb.go

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

Tools for package owners.