1*d5c09012SAndroid Build Coastguard Worker// Copyright 2023 Google LLC 2*d5c09012SAndroid Build Coastguard Worker// 3*d5c09012SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*d5c09012SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*d5c09012SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*d5c09012SAndroid Build Coastguard Worker// 7*d5c09012SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*d5c09012SAndroid Build Coastguard Worker// 9*d5c09012SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*d5c09012SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*d5c09012SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*d5c09012SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*d5c09012SAndroid Build Coastguard Worker// limitations under the License. 14*d5c09012SAndroid Build Coastguard Worker 15*d5c09012SAndroid Build Coastguard Workersyntax = "proto3"; 16*d5c09012SAndroid Build Coastguard Worker 17*d5c09012SAndroid Build Coastguard Workerpackage google.cloud.essentialcontacts.v1; 18*d5c09012SAndroid Build Coastguard Worker 19*d5c09012SAndroid Build Coastguard Workeroption csharp_namespace = "Google.Cloud.EssentialContacts.V1"; 20*d5c09012SAndroid Build Coastguard Workeroption go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb"; 21*d5c09012SAndroid Build Coastguard Workeroption java_multiple_files = true; 22*d5c09012SAndroid Build Coastguard Workeroption java_outer_classname = "EnumsProto"; 23*d5c09012SAndroid Build Coastguard Workeroption java_package = "com.google.cloud.essentialcontacts.v1"; 24*d5c09012SAndroid Build Coastguard Workeroption php_namespace = "Google\\Cloud\\EssentialContacts\\V1"; 25*d5c09012SAndroid Build Coastguard Workeroption ruby_package = "Google::Cloud::EssentialContacts::V1"; 26*d5c09012SAndroid Build Coastguard Worker 27*d5c09012SAndroid Build Coastguard Worker// The notification categories that an essential contact can be subscribed to. 28*d5c09012SAndroid Build Coastguard Worker// Each notification will be categorized by the sender into one of the following 29*d5c09012SAndroid Build Coastguard Worker// categories. All contacts that are subscribed to that category will receive 30*d5c09012SAndroid Build Coastguard Worker// the notification. 31*d5c09012SAndroid Build Coastguard Workerenum NotificationCategory { 32*d5c09012SAndroid Build Coastguard Worker // Notification category is unrecognized or unspecified. 33*d5c09012SAndroid Build Coastguard Worker NOTIFICATION_CATEGORY_UNSPECIFIED = 0; 34*d5c09012SAndroid Build Coastguard Worker 35*d5c09012SAndroid Build Coastguard Worker // All notifications related to the resource, including notifications 36*d5c09012SAndroid Build Coastguard Worker // pertaining to categories added in the future. 37*d5c09012SAndroid Build Coastguard Worker ALL = 2; 38*d5c09012SAndroid Build Coastguard Worker 39*d5c09012SAndroid Build Coastguard Worker // Notifications related to imminent account suspension. 40*d5c09012SAndroid Build Coastguard Worker SUSPENSION = 3; 41*d5c09012SAndroid Build Coastguard Worker 42*d5c09012SAndroid Build Coastguard Worker // Notifications related to security/privacy incidents, notifications, and 43*d5c09012SAndroid Build Coastguard Worker // vulnerabilities. 44*d5c09012SAndroid Build Coastguard Worker SECURITY = 5; 45*d5c09012SAndroid Build Coastguard Worker 46*d5c09012SAndroid Build Coastguard Worker // Notifications related to technical events and issues such as outages, 47*d5c09012SAndroid Build Coastguard Worker // errors, or bugs. 48*d5c09012SAndroid Build Coastguard Worker TECHNICAL = 6; 49*d5c09012SAndroid Build Coastguard Worker 50*d5c09012SAndroid Build Coastguard Worker // Notifications related to billing and payments notifications, price updates, 51*d5c09012SAndroid Build Coastguard Worker // errors, or credits. 52*d5c09012SAndroid Build Coastguard Worker BILLING = 7; 53*d5c09012SAndroid Build Coastguard Worker 54*d5c09012SAndroid Build Coastguard Worker // Notifications related to enforcement actions, regulatory compliance, or 55*d5c09012SAndroid Build Coastguard Worker // government notices. 56*d5c09012SAndroid Build Coastguard Worker LEGAL = 8; 57*d5c09012SAndroid Build Coastguard Worker 58*d5c09012SAndroid Build Coastguard Worker // Notifications related to new versions, product terms updates, or 59*d5c09012SAndroid Build Coastguard Worker // deprecations. 60*d5c09012SAndroid Build Coastguard Worker PRODUCT_UPDATES = 9; 61*d5c09012SAndroid Build Coastguard Worker 62*d5c09012SAndroid Build Coastguard Worker // Child category of TECHNICAL. If assigned, technical incident notifications 63*d5c09012SAndroid Build Coastguard Worker // will go to these contacts instead of TECHNICAL. 64*d5c09012SAndroid Build Coastguard Worker TECHNICAL_INCIDENTS = 10; 65*d5c09012SAndroid Build Coastguard Worker} 66*d5c09012SAndroid Build Coastguard Worker 67*d5c09012SAndroid Build Coastguard Worker// A contact's validation state indicates whether or not it is the correct 68*d5c09012SAndroid Build Coastguard Worker// contact to be receiving notifications for a particular resource. 69*d5c09012SAndroid Build Coastguard Workerenum ValidationState { 70*d5c09012SAndroid Build Coastguard Worker // The validation state is unknown or unspecified. 71*d5c09012SAndroid Build Coastguard Worker VALIDATION_STATE_UNSPECIFIED = 0; 72*d5c09012SAndroid Build Coastguard Worker 73*d5c09012SAndroid Build Coastguard Worker // The contact is marked as valid. This is usually done manually by the 74*d5c09012SAndroid Build Coastguard Worker // contact admin. All new contacts begin in the valid state. 75*d5c09012SAndroid Build Coastguard Worker VALID = 1; 76*d5c09012SAndroid Build Coastguard Worker 77*d5c09012SAndroid Build Coastguard Worker // The contact is considered invalid. This may become the state if the 78*d5c09012SAndroid Build Coastguard Worker // contact's email is found to be unreachable. 79*d5c09012SAndroid Build Coastguard Worker INVALID = 2; 80*d5c09012SAndroid Build Coastguard Worker} 81