xref: /aosp_15_r20/external/googleapis/google/chat/logging/v1/chat_app_log_entry.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.chat.logging.v1;
18
19import "google/rpc/status.proto";
20
21option go_package = "cloud.google.com/go/chat/logging/apiv1/loggingpb;loggingpb";
22option java_multiple_files = true;
23option java_outer_classname = "ChatAppLogEntryProto";
24option java_package = "com.google.chat.logging.v1";
25
26// JSON payload of error messages. If the Cloud Logging API is enabled, these
27// error messages are logged to
28// [Google Cloud Logging](https://cloud.google.com/logging/docs).
29message ChatAppLogEntry {
30  // The deployment that caused the error. For Chat bots built in Apps Script,
31  // this is the deployment ID defined by Apps Script.
32  string deployment = 1;
33
34  // The error code and message.
35  google.rpc.Status error = 2;
36
37  // The unencrypted `callback_method` name that was running when the error was
38  // encountered.
39  string deployment_function = 3;
40}
41