google-cloud-gke_backup-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +144 -0
  6. data/lib/google/cloud/gke_backup/v1/backup_for_gke/client.rb +2980 -0
  7. data/lib/google/cloud/gke_backup/v1/backup_for_gke/credentials.rb +47 -0
  8. data/lib/google/cloud/gke_backup/v1/backup_for_gke/operations.rb +767 -0
  9. data/lib/google/cloud/gke_backup/v1/backup_for_gke/paths.rb +216 -0
  10. data/lib/google/cloud/gke_backup/v1/backup_for_gke.rb +51 -0
  11. data/lib/google/cloud/gke_backup/v1/version.rb +28 -0
  12. data/lib/google/cloud/gke_backup/v1.rb +40 -0
  13. data/lib/google/cloud/gkebackup/v1/backup_pb.rb +74 -0
  14. data/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb +61 -0
  15. data/lib/google/cloud/gkebackup/v1/common_pb.rb +37 -0
  16. data/lib/google/cloud/gkebackup/v1/gkebackup_pb.rb +213 -0
  17. data/lib/google/cloud/gkebackup/v1/gkebackup_services_pb.rb +92 -0
  18. data/lib/google/cloud/gkebackup/v1/restore_pb.rb +101 -0
  19. data/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb +36 -0
  20. data/lib/google/cloud/gkebackup/v1/volume_pb.rb +83 -0
  21. data/lib/google-cloud-gke_backup-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/field_behavior.rb +71 -0
  24. data/proto_docs/google/api/resource.rb +222 -0
  25. data/proto_docs/google/cloud/gkebackup/v1/backup.rb +226 -0
  26. data/proto_docs/google/cloud/gkebackup/v1/backup_plan.rb +196 -0
  27. data/proto_docs/google/cloud/gkebackup/v1/common.rb +67 -0
  28. data/proto_docs/google/cloud/gkebackup/v1/gkebackup.rb +658 -0
  29. data/proto_docs/google/cloud/gkebackup/v1/restore.rb +325 -0
  30. data/proto_docs/google/cloud/gkebackup/v1/restore_plan.rb +92 -0
  31. data/proto_docs/google/cloud/gkebackup/v1/volume.rb +214 -0
  32. data/proto_docs/google/longrunning/operations.rb +164 -0
  33. data/proto_docs/google/protobuf/any.rb +141 -0
  34. data/proto_docs/google/protobuf/duration.rb +98 -0
  35. data/proto_docs/google/protobuf/empty.rb +36 -0
  36. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  37. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  38. data/proto_docs/google/rpc/status.rb +46 -0
  39. metadata +229 -0
@@ -0,0 +1,216 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module GkeBackup
23
+ module V1
24
+ module BackupForGKE
25
+ # Path helper methods for the BackupForGKE API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified Backup resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param backup_plan [String]
37
+ # @param backup [String]
38
+ #
39
+ # @return [::String]
40
+ def backup_path project:, location:, backup_plan:, backup:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+ raise ::ArgumentError, "backup_plan cannot contain /" if backup_plan.to_s.include? "/"
44
+
45
+ "projects/#{project}/locations/#{location}/backupPlans/#{backup_plan}/backups/#{backup}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified BackupPlan resource string.
50
+ #
51
+ # The resource will be in the following format:
52
+ #
53
+ # `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
54
+ #
55
+ # @param project [String]
56
+ # @param location [String]
57
+ # @param backup_plan [String]
58
+ #
59
+ # @return [::String]
60
+ def backup_plan_path project:, location:, backup_plan:
61
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
63
+
64
+ "projects/#{project}/locations/#{location}/backupPlans/#{backup_plan}"
65
+ end
66
+
67
+ ##
68
+ # Create a fully-qualified Cluster resource string.
69
+ #
70
+ # The resource will be in the following format:
71
+ #
72
+ # `projects/{project}/locations/{location}/clusters/{cluster}`
73
+ #
74
+ # @param project [String]
75
+ # @param location [String]
76
+ # @param cluster [String]
77
+ #
78
+ # @return [::String]
79
+ def cluster_path project:, location:, cluster:
80
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
81
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}/clusters/#{cluster}"
84
+ end
85
+
86
+ ##
87
+ # Create a fully-qualified CryptoKey resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ # @param key_ring [String]
96
+ # @param crypto_key [String]
97
+ #
98
+ # @return [::String]
99
+ def crypto_key_path project:, location:, key_ring:, crypto_key:
100
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
101
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
102
+ raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
103
+
104
+ "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
105
+ end
106
+
107
+ ##
108
+ # Create a fully-qualified Location resource string.
109
+ #
110
+ # The resource will be in the following format:
111
+ #
112
+ # `projects/{project}/locations/{location}`
113
+ #
114
+ # @param project [String]
115
+ # @param location [String]
116
+ #
117
+ # @return [::String]
118
+ def location_path project:, location:
119
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
120
+
121
+ "projects/#{project}/locations/#{location}"
122
+ end
123
+
124
+ ##
125
+ # Create a fully-qualified Restore resource string.
126
+ #
127
+ # The resource will be in the following format:
128
+ #
129
+ # `projects/{project}/locations/{location}/restorePlans/{restore_plan}/restores/{restore}`
130
+ #
131
+ # @param project [String]
132
+ # @param location [String]
133
+ # @param restore_plan [String]
134
+ # @param restore [String]
135
+ #
136
+ # @return [::String]
137
+ def restore_path project:, location:, restore_plan:, restore:
138
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
139
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
140
+ raise ::ArgumentError, "restore_plan cannot contain /" if restore_plan.to_s.include? "/"
141
+
142
+ "projects/#{project}/locations/#{location}/restorePlans/#{restore_plan}/restores/#{restore}"
143
+ end
144
+
145
+ ##
146
+ # Create a fully-qualified RestorePlan resource string.
147
+ #
148
+ # The resource will be in the following format:
149
+ #
150
+ # `projects/{project}/locations/{location}/restorePlans/{restore_plan}`
151
+ #
152
+ # @param project [String]
153
+ # @param location [String]
154
+ # @param restore_plan [String]
155
+ #
156
+ # @return [::String]
157
+ def restore_plan_path project:, location:, restore_plan:
158
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
159
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
160
+
161
+ "projects/#{project}/locations/#{location}/restorePlans/#{restore_plan}"
162
+ end
163
+
164
+ ##
165
+ # Create a fully-qualified VolumeBackup resource string.
166
+ #
167
+ # The resource will be in the following format:
168
+ #
169
+ # `projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}/volumeBackups/{volume_backup}`
170
+ #
171
+ # @param project [String]
172
+ # @param location [String]
173
+ # @param backup_plan [String]
174
+ # @param backup [String]
175
+ # @param volume_backup [String]
176
+ #
177
+ # @return [::String]
178
+ def volume_backup_path project:, location:, backup_plan:, backup:, volume_backup:
179
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
180
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
181
+ raise ::ArgumentError, "backup_plan cannot contain /" if backup_plan.to_s.include? "/"
182
+ raise ::ArgumentError, "backup cannot contain /" if backup.to_s.include? "/"
183
+
184
+ "projects/#{project}/locations/#{location}/backupPlans/#{backup_plan}/backups/#{backup}/volumeBackups/#{volume_backup}"
185
+ end
186
+
187
+ ##
188
+ # Create a fully-qualified VolumeRestore resource string.
189
+ #
190
+ # The resource will be in the following format:
191
+ #
192
+ # `projects/{project}/locations/{location}/restorePlans/{restore_plan}/restores/{restore}/volumeRestores/{volume_restore}`
193
+ #
194
+ # @param project [String]
195
+ # @param location [String]
196
+ # @param restore_plan [String]
197
+ # @param restore [String]
198
+ # @param volume_restore [String]
199
+ #
200
+ # @return [::String]
201
+ def volume_restore_path project:, location:, restore_plan:, restore:, volume_restore:
202
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
203
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
204
+ raise ::ArgumentError, "restore_plan cannot contain /" if restore_plan.to_s.include? "/"
205
+ raise ::ArgumentError, "restore cannot contain /" if restore.to_s.include? "/"
206
+
207
+ "projects/#{project}/locations/#{location}/restorePlans/#{restore_plan}/restores/#{restore}/volumeRestores/#{volume_restore}"
208
+ end
209
+
210
+ extend self
211
+ end
212
+ end
213
+ end
214
+ end
215
+ end
216
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/gke_backup/v1/version"
24
+
25
+ require "google/cloud/gke_backup/v1/backup_for_gke/credentials"
26
+ require "google/cloud/gke_backup/v1/backup_for_gke/paths"
27
+ require "google/cloud/gke_backup/v1/backup_for_gke/operations"
28
+ require "google/cloud/gke_backup/v1/backup_for_gke/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module GkeBackup
33
+ module V1
34
+ ##
35
+ # BackupForGKE allows Kubernetes administrators to configure, execute, and
36
+ # manage backup and restore operations for their GKE clusters.
37
+ #
38
+ # To load this service and instantiate a client:
39
+ #
40
+ # require "google/cloud/gke_backup/v1/backup_for_gke"
41
+ # client = ::Google::Cloud::GkeBackup::V1::BackupForGKE::Client.new
42
+ #
43
+ module BackupForGKE
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
49
+
50
+ helper_path = ::File.join __dir__, "backup_for_gke", "helpers.rb"
51
+ require "google/cloud/gke_backup/v1/backup_for_gke/helpers" if ::File.file? helper_path
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module GkeBackup
23
+ module V1
24
+ VERSION = "0.1.0"
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/gke_backup/v1/backup_for_gke"
20
+ require "google/cloud/gke_backup/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module GkeBackup
25
+ ##
26
+ # To load this package, including all its services, and instantiate a client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/gke_backup/v1"
31
+ # client = ::Google::Cloud::GkeBackup::V1::BackupForGKE::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
40
+ require "google/cloud/gke_backup/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,74 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/gkebackup/v1/backup.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/gkebackup/v1/common_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/gkebackup/v1/backup.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.gkebackup.v1.Backup" do
14
+ optional :name, :string, 1
15
+ optional :uid, :string, 2
16
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
17
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
18
+ optional :manual, :bool, 5
19
+ map :labels, :string, :string, 6
20
+ optional :delete_lock_days, :int32, 7
21
+ optional :delete_lock_expire_time, :message, 8, "google.protobuf.Timestamp"
22
+ optional :retain_days, :int32, 9
23
+ optional :retain_expire_time, :message, 10, "google.protobuf.Timestamp"
24
+ optional :encryption_key, :message, 11, "google.cloud.gkebackup.v1.EncryptionKey"
25
+ optional :contains_volume_data, :bool, 15
26
+ optional :contains_secrets, :bool, 16
27
+ optional :cluster_metadata, :message, 17, "google.cloud.gkebackup.v1.Backup.ClusterMetadata"
28
+ optional :state, :enum, 18, "google.cloud.gkebackup.v1.Backup.State"
29
+ optional :state_reason, :string, 19
30
+ optional :complete_time, :message, 20, "google.protobuf.Timestamp"
31
+ optional :resource_count, :int32, 21
32
+ optional :volume_count, :int32, 22
33
+ optional :size_bytes, :int64, 23
34
+ optional :etag, :string, 24
35
+ optional :description, :string, 25
36
+ optional :pod_count, :int32, 26
37
+ optional :config_backup_size_bytes, :int64, 27
38
+ oneof :backup_scope do
39
+ optional :all_namespaces, :bool, 12
40
+ optional :selected_namespaces, :message, 13, "google.cloud.gkebackup.v1.Namespaces"
41
+ optional :selected_applications, :message, 14, "google.cloud.gkebackup.v1.NamespacedNames"
42
+ end
43
+ end
44
+ add_message "google.cloud.gkebackup.v1.Backup.ClusterMetadata" do
45
+ optional :cluster, :string, 1
46
+ optional :k8s_version, :string, 2
47
+ map :backup_crd_versions, :string, :string, 3
48
+ oneof :platform_version do
49
+ optional :gke_version, :string, 4
50
+ optional :anthos_version, :string, 5
51
+ end
52
+ end
53
+ add_enum "google.cloud.gkebackup.v1.Backup.State" do
54
+ value :STATE_UNSPECIFIED, 0
55
+ value :CREATING, 1
56
+ value :IN_PROGRESS, 2
57
+ value :SUCCEEDED, 3
58
+ value :FAILED, 4
59
+ value :DELETING, 5
60
+ end
61
+ end
62
+ end
63
+
64
+ module Google
65
+ module Cloud
66
+ module GkeBackup
67
+ module V1
68
+ Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.Backup").msgclass
69
+ Backup::ClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.Backup.ClusterMetadata").msgclass
70
+ Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.Backup.State").enummodule
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,61 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/gkebackup/v1/backup_plan.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/gkebackup/v1/common_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/gkebackup/v1/backup_plan.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.gkebackup.v1.BackupPlan" do
14
+ optional :name, :string, 1
15
+ optional :uid, :string, 2
16
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
17
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
18
+ optional :description, :string, 5
19
+ optional :cluster, :string, 6
20
+ optional :retention_policy, :message, 7, "google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy"
21
+ map :labels, :string, :string, 8
22
+ optional :backup_schedule, :message, 9, "google.cloud.gkebackup.v1.BackupPlan.Schedule"
23
+ optional :etag, :string, 10
24
+ optional :deactivated, :bool, 11
25
+ optional :backup_config, :message, 12, "google.cloud.gkebackup.v1.BackupPlan.BackupConfig"
26
+ optional :protected_pod_count, :int32, 13
27
+ end
28
+ add_message "google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy" do
29
+ optional :backup_delete_lock_days, :int32, 1
30
+ optional :backup_retain_days, :int32, 2
31
+ optional :locked, :bool, 3
32
+ end
33
+ add_message "google.cloud.gkebackup.v1.BackupPlan.Schedule" do
34
+ optional :cron_schedule, :string, 1
35
+ optional :paused, :bool, 2
36
+ end
37
+ add_message "google.cloud.gkebackup.v1.BackupPlan.BackupConfig" do
38
+ optional :include_volume_data, :bool, 4
39
+ optional :include_secrets, :bool, 5
40
+ optional :encryption_key, :message, 6, "google.cloud.gkebackup.v1.EncryptionKey"
41
+ oneof :backup_scope do
42
+ optional :all_namespaces, :bool, 1
43
+ optional :selected_namespaces, :message, 2, "google.cloud.gkebackup.v1.Namespaces"
44
+ optional :selected_applications, :message, 3, "google.cloud.gkebackup.v1.NamespacedNames"
45
+ end
46
+ end
47
+ end
48
+ end
49
+
50
+ module Google
51
+ module Cloud
52
+ module GkeBackup
53
+ module V1
54
+ BackupPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan").msgclass
55
+ BackupPlan::RetentionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy").msgclass
56
+ BackupPlan::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.Schedule").msgclass
57
+ BackupPlan::BackupConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.BackupConfig").msgclass
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,37 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/gkebackup/v1/common.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/resource_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/gkebackup/v1/common.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.gkebackup.v1.Namespaces" do
11
+ repeated :namespaces, :string, 1
12
+ end
13
+ add_message "google.cloud.gkebackup.v1.NamespacedName" do
14
+ optional :namespace, :string, 1
15
+ optional :name, :string, 2
16
+ end
17
+ add_message "google.cloud.gkebackup.v1.NamespacedNames" do
18
+ repeated :namespaced_names, :message, 1, "google.cloud.gkebackup.v1.NamespacedName"
19
+ end
20
+ add_message "google.cloud.gkebackup.v1.EncryptionKey" do
21
+ optional :gcp_kms_encryption_key, :string, 1
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Cloud
28
+ module GkeBackup
29
+ module V1
30
+ Namespaces = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.Namespaces").msgclass
31
+ NamespacedName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.NamespacedName").msgclass
32
+ NamespacedNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.NamespacedNames").msgclass
33
+ EncryptionKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.EncryptionKey").msgclass
34
+ end
35
+ end
36
+ end
37
+ end