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 = "ReleaseNotificationPayloadProto"; 24option java_package = "com.google.cloud.deploy.v1"; 25 26// Payload proto for "clouddeploy.googleapis.com/release_notification" 27// Platform Log event that describes the failure to send release status change 28// Pub/Sub notification. 29message ReleaseNotificationEvent { 30 // Debug message for when a notification fails to send. 31 string message = 1; 32 33 // Unique identifier of the `DeliveryPipeline`. 34 string pipeline_uid = 4; 35 36 // Unique identifier of the `Release`. 37 string release_uid = 5; 38 39 // The name of the `Release`. 40 string release = 2; 41 42 // Type of this notification, e.g. for a Pub/Sub failure. 43 Type type = 3; 44} 45