// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. syntax = "proto3"; package google.cloud.essentialcontacts.v1; option csharp_namespace = "Google.Cloud.EssentialContacts.V1"; option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb"; option java_multiple_files = true; option java_outer_classname = "EnumsProto"; option java_package = "com.google.cloud.essentialcontacts.v1"; option php_namespace = "Google\\Cloud\\EssentialContacts\\V1"; option ruby_package = "Google::Cloud::EssentialContacts::V1"; // The notification categories that an essential contact can be subscribed to. // Each notification will be categorized by the sender into one of the following // categories. All contacts that are subscribed to that category will receive // the notification. enum NotificationCategory { // Notification category is unrecognized or unspecified. NOTIFICATION_CATEGORY_UNSPECIFIED = 0; // All notifications related to the resource, including notifications // pertaining to categories added in the future. ALL = 2; // Notifications related to imminent account suspension. SUSPENSION = 3; // Notifications related to security/privacy incidents, notifications, and // vulnerabilities. SECURITY = 5; // Notifications related to technical events and issues such as outages, // errors, or bugs. TECHNICAL = 6; // Notifications related to billing and payments notifications, price updates, // errors, or credits. BILLING = 7; // Notifications related to enforcement actions, regulatory compliance, or // government notices. LEGAL = 8; // Notifications related to new versions, product terms updates, or // deprecations. PRODUCT_UPDATES = 9; // Child category of TECHNICAL. If assigned, technical incident notifications // will go to these contacts instead of TECHNICAL. TECHNICAL_INCIDENTS = 10; } // A contact's validation state indicates whether or not it is the correct // contact to be receiving notifications for a particular resource. enum ValidationState { // The validation state is unknown or unspecified. VALIDATION_STATE_UNSPECIFIED = 0; // The contact is marked as valid. This is usually done manually by the // contact admin. All new contacts begin in the valid state. VALID = 1; // The contact is considered invalid. This may become the state if the // contact's email is found to be unreachable. INVALID = 2; }