logged_common.proto 1.7 KB

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