1// Copyright 2021 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.gkebackup.logging.v1; 18 19option go_package = "cloud.google.com/go/gkebackup/logging/apiv1/loggingpb;loggingpb"; 20option java_multiple_files = true; 21option java_outer_classname = "LoggedCommonProto"; 22option java_package = "google.cloud.gkebackup.logging.v1"; 23option csharp_namespace = "Google.Cloud.GkeBackup.Logging.V1"; 24option php_namespace = "Google\\Cloud\\GkeBackup\\Logging\\V1"; 25option ruby_package = "Google::Cloud::GkeBackup::Logging::V1"; 26 27// Namespaces, list of namespaces 28message Namespaces { 29 // namespaces 30 repeated string namespaces = 1; 31} 32 33// NamespacedName 34message NamespacedName { 35 // the namespace of the resource in Kubernetes 36 string namespace = 1; 37 38 // the name of the resource in Kubernetes 39 string name = 2; 40} 41 42// NamespacedNames 43message NamespacedNames { 44 // a list of namespaced names in Kubernetes 45 repeated NamespacedName namespaced_names = 1; 46} 47 48// Encryption key. 49// This only contains the key metadata, and no key material. 50message EncryptionKey { 51 // Google KMS encryption key in the format: 52 // projects/<project>/locations/<location>/keyRings/<key-ring>/cryptoKeys/<key> 53 string gcp_kms_encryption_key = 1; 54} 55