// Copyright 2026 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.databasecenter.v1beta;

option csharp_namespace = "Google.Cloud.DatabaseCenter.V1Beta";
option go_package = "cloud.google.com/go/databasecenter/apiv1beta/databasecenterpb;databasecenterpb";
option java_multiple_files = true;
option java_outer_classname = "SuspensionReasonProto";
option java_package = "com.google.cloud.databasecenter.v1beta";
option php_namespace = "Google\\Cloud\\DatabaseCenter\\V1beta";
option ruby_package = "Google::Cloud::DatabaseCenter::V1beta";

// The reason for suspension of the database resource.
enum SuspensionReason {
  // Suspension reason is unspecified.
  SUSPENSION_REASON_UNSPECIFIED = 0;

  // Wipeout hide event.
  WIPEOUT_HIDE_EVENT = 1;

  // Wipeout purge event.
  WIPEOUT_PURGE_EVENT = 2;

  // Billing disabled for project
  BILLING_DISABLED = 3;

  // Abuse detected for resource
  ABUSER_DETECTED = 4;

  // Encryption key inaccessible.
  ENCRYPTION_KEY_INACCESSIBLE = 5;

  // Replicated cluster encryption key inaccessible.
  REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE = 6;
}
