xref: /aosp_15_r20/external/googleapis/google/cloud/netapp/v1/common.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
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.netapp.v1;
18
19option csharp_namespace = "Google.Cloud.NetApp.V1";
20option go_package = "cloud.google.com/go/netapp/apiv1/netapppb;netapppb";
21option java_multiple_files = true;
22option java_outer_classname = "CommonProto";
23option java_package = "com.google.cloud.netapp.v1";
24option php_namespace = "Google\\Cloud\\NetApp\\V1";
25option ruby_package = "Google::Cloud::NetApp::V1";
26
27// The service level of a storage pool and its volumes.
28enum ServiceLevel {
29  // Unspecified service level.
30  SERVICE_LEVEL_UNSPECIFIED = 0;
31
32  // Premium service level.
33  PREMIUM = 1;
34
35  // Extreme service level.
36  EXTREME = 2;
37
38  // Standard service level.
39  STANDARD = 3;
40}
41
42// The volume encryption key source.
43enum EncryptionType {
44  // The source of the encryption key is not specified.
45  ENCRYPTION_TYPE_UNSPECIFIED = 0;
46
47  // Google managed encryption key.
48  SERVICE_MANAGED = 1;
49
50  // Customer managed encryption key, which is stored in KMS.
51  CLOUD_KMS = 2;
52}
53