xref: /aosp_15_r20/external/googleapis/google/cloud/deploy/v1/log_enums.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1// Copyright 2023 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.cloud.deploy.v1;
18
19option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb";
20option java_multiple_files = true;
21option java_outer_classname = "LogEnumsProto";
22option java_package = "com.google.cloud.deploy.v1";
23
24// Type indicates the type of the log entry and can be used as a filter.
25enum Type {
26  // Type is unspecified.
27  TYPE_UNSPECIFIED = 0;
28
29  // A Pub/Sub notification failed to be sent.
30  TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;
31
32  // Resource state changed.
33  TYPE_RESOURCE_STATE_CHANGE = 3;
34
35  // A process aborted.
36  TYPE_PROCESS_ABORTED = 4;
37
38  // Restriction check failed.
39  TYPE_RESTRICTION_VIOLATED = 5;
40
41  // Resource deleted.
42  TYPE_RESOURCE_DELETED = 6;
43
44  // Rollout updated.
45  TYPE_ROLLOUT_UPDATE = 7;
46
47  // Deprecated: This field is never used. Use release_render log type instead.
48  TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true];
49}
50