|
| 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 | + |
| 15 | +syntax = "proto3"; |
| 16 | + |
| 17 | +package google.cloud.deploy.v1; |
| 18 | + |
| 19 | +import "google/cloud/deploy/v1/log_enums.proto"; |
| 20 | + |
| 21 | +option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb"; |
| 22 | +option java_multiple_files = true; |
| 23 | +option java_outer_classname = "AutomationRunPayloadProto"; |
| 24 | +option java_package = "com.google.cloud.deploy.v1"; |
| 25 | + |
| 26 | +// Payload proto for "clouddeploy.googleapis.com/automation_run" |
| 27 | +// Platform Log event that describes the AutomationRun related events. |
| 28 | +message AutomationRunEvent { |
| 29 | + // Debug message for when there is an update on the AutomationRun. |
| 30 | + // Provides further details about the resource creation or state change. |
| 31 | + string message = 1; |
| 32 | + |
| 33 | + // The name of the `AutomationRun`. |
| 34 | + string automation_run = 2; |
| 35 | + |
| 36 | + // Unique identifier of the `DeliveryPipeline`. |
| 37 | + string pipeline_uid = 3; |
| 38 | + |
| 39 | + // Identifier of the `Automation`. |
| 40 | + string automation_id = 4; |
| 41 | + |
| 42 | + // Identifier of the `Automation` rule. |
| 43 | + string rule_id = 5; |
| 44 | + |
| 45 | + // ID of the `Target` to which the `AutomationRun` is created. |
| 46 | + string destination_target_id = 6; |
| 47 | + |
| 48 | + // Type of this notification, e.g. for a Pub/Sub failure. |
| 49 | + Type type = 7; |
| 50 | +} |
0 commit comments