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 19import "google/cloud/deploy/v1/log_enums.proto"; 20 21option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb"; 22option java_multiple_files = true; 23option java_outer_classname = "AutomationPayloadProto"; 24option java_package = "com.google.cloud.deploy.v1"; 25 26// Payload proto for "clouddeploy.googleapis.com/automation" 27// Platform Log event that describes the Automation related events. 28message AutomationEvent { 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 = 2; 35 36 // Unique identifier of the `DeliveryPipeline`. 37 string pipeline_uid = 3; 38 39 // Type of this notification, e.g. for a Pub/Sub failure. 40 Type type = 4; 41} 42