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.compute.logging.dr.v1; 18 19option go_package = "google.golang.org/genproto/googleapis/compute/logging/dr/v1;dr"; 20option java_multiple_files = true; 21option java_outer_classname = "DisasterRecoveryEventProto"; 22option java_package = "com.google.compute.logging.dr.v1"; 23option csharp_namespace = "Google.Compute.Logging.Dr.V1"; 24option php_namespace = "Google\\Compute\\Logging\\Dr\\V1"; 25option ruby_package = "Google::Compute::Logging::Dr::V1"; 26 27// An event signifying a Compute Engine resource is impacted by the disaster 28// recovery. 29message DisasterRecoveryEvent { 30 // The severity of the disaster recovery event. 31 enum Severity { 32 // Unspecified. 33 SEVERITY_UNSPECIFIED = 0; 34 35 // The Compute Engine resource is broken. A person must take an action. 36 ACTION_REQUIRED = 1; 37 38 // The Compute Engine resource is functioning. A change was applied to the 39 // resource during disaster recovery. Please take action to review 40 // the change to avoid unexpected problems. 41 ACTION_SUGGESTED = 2; 42 43 // Normal maintenance opeartions during disaster recovery, such as start up, 44 // shut down. 45 NOTICE = 3; 46 } 47 48 // The severity level. 49 optional Severity severity = 1; 50 51 // Details about the impact on the Compute Engine resource, e.g. "the resource 52 // is deleted during the disaster recovery". 53 optional string details = 2; 54} 55