google-cloud-gke_backup-v1 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/gke_backup/v1/bindings_override.rb +2 -29
- data/lib/google/cloud/gke_backup/v1/version.rb +1 -1
- data/lib/google/cloud/gkebackup/v1/backup_plan_binding_pb.rb +5 -1
- data/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb +1 -1
- data/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb +1 -1
- data/proto_docs/google/cloud/gkebackup/v1/backup_channel.rb +1 -3
- data/proto_docs/google/cloud/gkebackup/v1/backup_plan.rb +6 -0
- data/proto_docs/google/cloud/gkebackup/v1/backup_plan_binding.rb +78 -0
- data/proto_docs/google/cloud/gkebackup/v1/restore_channel.rb +1 -3
- data/proto_docs/google/cloud/gkebackup/v1/restore_plan.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0d945ce62f37652b4c0673740b0d34a01107340e9db148c2d73dcd3a07544e8
|
4
|
+
data.tar.gz: d91fa5c3ad6a58f72a2bf54ef4bd7205fe31518c58c49cf4a6b60f680415bb11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480114d2e4fc5db1a3eb06cc8f734e4b7623eb8facdbf39c25f577c97a0f55b008fa81d88d40f1c2179bd03c02ced18e8703f08d694422771a9c6beeaaca0e10
|
7
|
+
data.tar.gz: d0136af8a0bfa25436335b3803a191aed58e30958ef70c8cb087c97e83943fcf7c5cb1f1768401fe799c7c5dfd8cc77ff2d9f7a3c088a4253d5decebae24ccf1
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
-
require "gapic/
|
19
|
+
require "gapic/rest"
|
20
20
|
|
21
21
|
module Google
|
22
22
|
module Cloud
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
namespace.pop
|
43
43
|
end
|
44
44
|
|
45
|
-
default_config =
|
45
|
+
default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
|
46
46
|
default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
|
47
47
|
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
48
48
|
uri_method: :get,
|
@@ -222,33 +222,6 @@ module Google
|
|
222
222
|
yield @configure if block_given?
|
223
223
|
@configure
|
224
224
|
end
|
225
|
-
|
226
|
-
##
|
227
|
-
# @private
|
228
|
-
# Configuration class for the google.cloud.gkebackup.v1 package.
|
229
|
-
#
|
230
|
-
# This class contains common configuration for all services
|
231
|
-
# of the google.cloud.gkebackup.v1 package.
|
232
|
-
#
|
233
|
-
# This configuration is for internal use of the client library classes,
|
234
|
-
# and it is not intended that the end-users will read or change it.
|
235
|
-
#
|
236
|
-
class Configuration
|
237
|
-
extend ::Gapic::Config
|
238
|
-
|
239
|
-
# @private
|
240
|
-
# Overrides for http bindings for the RPC of the mixins for this package.
|
241
|
-
# Services in this package should use these when creating clients for the mixin services.
|
242
|
-
# @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
|
243
|
-
config_attr :bindings_override, {}, ::Hash, nil
|
244
|
-
|
245
|
-
# @private
|
246
|
-
def initialize parent_config = nil
|
247
|
-
@parent_config = parent_config unless parent_config.nil?
|
248
|
-
|
249
|
-
yield self if block_given?
|
250
|
-
end
|
251
|
-
end
|
252
225
|
end
|
253
226
|
end
|
254
227
|
end
|
@@ -7,10 +7,11 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
require 'google/api/field_info_pb'
|
9
9
|
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/gkebackup/v1/common_pb'
|
10
11
|
require 'google/protobuf/timestamp_pb'
|
11
12
|
|
12
13
|
|
13
|
-
descriptor_data = "\n3google/cloud/gkebackup/v1/backup_plan_binding.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
14
|
+
descriptor_data = "\n3google/cloud/gkebackup/v1/backup_plan_binding.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8e\x0e\n\x11\x42\x61\x63kupPlanBinding\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x0b\x62\x61\x63kup_plan\x18\x05 \x01(\tB.\xe0\x41\x05\xe0\x41\x03\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12<\n\x07\x63luster\x18\x06 \x01(\tB+\xe0\x41\x05\xe0\x41\x03\xfa\x41\"\n container.googleapis.com/Cluster\x12`\n\x13\x62\x61\x63kup_plan_details\x18\x07 \x01(\x0b\x32>.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetailsB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a\x9b\t\n\x11\x42\x61\x63kupPlanDetails\x12 \n\x13protected_pod_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x03\x12X\n\x05state\x18\x02 \x01(\x0e\x32\x44.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.StateB\x03\xe0\x41\x03\x12\x44\n\x1blast_successful_backup_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x1anext_scheduled_backup_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\x0erpo_risk_level\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16last_successful_backup\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12v\n\x15\x62\x61\x63kup_config_details\x18\x07 \x01(\x0b\x32R.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetailsB\x03\xe0\x41\x03\x12|\n\x18retention_policy_details\x18\x08 \x01(\x0b\x32U.google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetailsB\x03\xe0\x41\x03\x1a\xe8\x02\n\x13\x42\x61\x63kupConfigDetails\x12\x1d\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x12I\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesB\x03\xe0\x41\x03H\x00\x12P\n\x15selected_applications\x18\x03 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesB\x03\xe0\x41\x03H\x00\x12 \n\x13include_volume_data\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1c\n\x0finclude_secrets\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\x0e\x65ncryption_key\x18\x07 \x01(\x0b\x32(.google.cloud.gkebackup.v1.EncryptionKeyB\x03\xe0\x41\x03\x42\x0e\n\x0c\x62\x61\x63kup_scope\x1a_\n\x16RetentionPolicyDetails\x12$\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43LUSTER_PENDING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\t\n\x05READY\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06:\xc9\x01\xea\x41\xc5\x01\n*gkebackup.googleapis.com/BackupPlanBinding\x12pprojects/{project}/locations/{location}/backupChannels/{backup_channel}/backupPlanBindings/{backup_plan_binding}*\x12\x62\x61\x63kupPlanBindings2\x11\x62\x61\x63kupPlanBindingB\xcd\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x16\x42\x61\x63kupPlanBindingProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3"
|
14
15
|
|
15
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
17
|
|
@@ -26,6 +27,7 @@ rescue TypeError
|
|
26
27
|
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
28
|
imports = [
|
28
29
|
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
|
+
["google.cloud.gkebackup.v1.Namespaces", "google/cloud/gkebackup/v1/common.proto"],
|
29
31
|
]
|
30
32
|
imports.each do |type_name, expected_filename|
|
31
33
|
import_file = pool.lookup(type_name).file_descriptor
|
@@ -43,6 +45,8 @@ module Google
|
|
43
45
|
module V1
|
44
46
|
BackupPlanBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlanBinding").msgclass
|
45
47
|
BackupPlanBinding::BackupPlanDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails").msgclass
|
48
|
+
BackupPlanBinding::BackupPlanDetails::BackupConfigDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.BackupConfigDetails").msgclass
|
49
|
+
BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.RetentionPolicyDetails").msgclass
|
46
50
|
BackupPlanBinding::BackupPlanDetails::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlanBinding.BackupPlanDetails.State").enummodule
|
47
51
|
end
|
48
52
|
end
|
@@ -14,7 +14,7 @@ require 'google/type/dayofweek_pb'
|
|
14
14
|
require 'google/type/timeofday_pb'
|
15
15
|
|
16
16
|
|
17
|
-
descriptor_data = "\n+google/cloud/gkebackup/v1/backup_plan.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\
|
17
|
+
descriptor_data = "\n+google/cloud/gkebackup/v1/backup_plan.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xe2\x0e\n\nBackupPlan\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12<\n\x07\x63luster\x18\x06 \x01(\tB+\xe0\x41\x05\xe0\x41\x02\xfa\x41\"\n container.googleapis.com/Cluster\x12T\n\x10retention_policy\x18\x07 \x01(\x0b\x32\x35.google.cloud.gkebackup.v1.BackupPlan.RetentionPolicyB\x03\xe0\x41\x01\x12\x46\n\x06labels\x18\x08 \x03(\x0b\x32\x31.google.cloud.gkebackup.v1.BackupPlan.LabelsEntryB\x03\xe0\x41\x01\x12L\n\x0f\x62\x61\x63kup_schedule\x18\t \x01(\x0b\x32..google.cloud.gkebackup.v1.BackupPlan.ScheduleB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65\x61\x63tivated\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12N\n\rbackup_config\x18\x0c \x01(\x0b\x32\x32.google.cloud.gkebackup.v1.BackupPlan.BackupConfigB\x03\xe0\x41\x01\x12 \n\x13protected_pod_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12?\n\x05state\x18\x0e \x01(\x0e\x32+.google.cloud.gkebackup.v1.BackupPlan.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0erpo_risk_level\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0frpo_risk_reason\x18\x11 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x0e\x62\x61\x63kup_channel\x18\x12 \x01(\tB.\xe0\x41\x03\xfa\x41(\n&gkebackup.googleapis.com/BackupChannel\x12\x44\n\x1blast_successful_backup_time\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1am\n\x0fRetentionPolicy\x12$\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x13\n\x06locked\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xbf\x01\n\x08Schedule\x12\x1a\n\rcron_schedule\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06paused\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\nrpo_config\x18\x03 \x01(\x0b\x32$.google.cloud.gkebackup.v1.RpoConfigB\x03\xe0\x41\x01\x12\x43\n\x1anext_scheduled_backup_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a\xf0\x02\n\x0c\x42\x61\x63kupConfig\x12\x18\n\x0e\x61ll_namespaces\x18\x01 \x01(\x08H\x00\x12\x44\n\x13selected_namespaces\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesH\x00\x12K\n\x15selected_applications\x18\x03 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesH\x00\x12 \n\x13include_volume_data\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1c\n\x0finclude_secrets\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x45\n\x0e\x65ncryption_key\x18\x06 \x01(\x0b\x32(.google.cloud.gkebackup.v1.EncryptionKeyB\x03\xe0\x41\x01\x12\x1c\n\x0fpermissive_mode\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x42\x0e\n\x0c\x62\x61\x63kup_scope\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43LUSTER_PENDING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\t\n\x05READY\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06:k\xea\x41h\n#gkebackup.googleapis.com/BackupPlan\x12\x41projects/{project}/locations/{location}/backupPlans/{backup_plan}\"x\n\tRpoConfig\x12\x1f\n\x12target_rpo_minutes\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12J\n\x11\x65xclusion_windows\x18\x02 \x03(\x0b\x32*.google.cloud.gkebackup.v1.ExclusionWindowB\x03\xe0\x41\x01\"\xde\x02\n\x0f\x45xclusionWindow\x12/\n\nstart_time\x18\x01 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12\x30\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x33\n\x16single_occurrence_date\x18\x03 \x01(\x0b\x32\x11.google.type.DateH\x00\x12\x0f\n\x05\x64\x61ily\x18\x04 \x01(\x08H\x00\x12P\n\x0c\x64\x61ys_of_week\x18\x05 \x01(\x0b\x32\x38.google.cloud.gkebackup.v1.ExclusionWindow.DayOfWeekListH\x00\x1a\x42\n\rDayOfWeekList\x12\x31\n\x0c\x64\x61ys_of_week\x18\x01 \x03(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x01\x42\x0c\n\nrecurrenceB\xc6\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0f\x42\x61\x63kupPlanProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/gkebackup/v1/restore_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n,google/cloud/gkebackup/v1/restore_plan.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/gkebackup/v1/restore.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n,google/cloud/gkebackup/v1/restore_plan.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/gkebackup/v1/restore.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfe\x06\n\x0bRestorePlan\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x0b\x62\x61\x63kup_plan\x18\x06 \x01(\tB.\xe0\x41\x05\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12<\n\x07\x63luster\x18\x07 \x01(\tB+\xe0\x41\x05\xe0\x41\x02\xfa\x41\"\n container.googleapis.com/Cluster\x12\x45\n\x0erestore_config\x18\x08 \x01(\x0b\x32(.google.cloud.gkebackup.v1.RestoreConfigB\x03\xe0\x41\x02\x12G\n\x06labels\x18\t \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestorePlan.LabelsEntryB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12@\n\x05state\x18\x0b \x01(\x0e\x32,.google.cloud.gkebackup.v1.RestorePlan.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12H\n\x0frestore_channel\x18\r \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'gkebackup.googleapis.com/RestoreChannel\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43LUSTER_PENDING\x10\x01\x12\t\n\x05READY\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:n\xea\x41k\n$gkebackup.googleapis.com/RestorePlan\x12\x43projects/{project}/locations/{location}/restorePlans/{restore_plan}B\xc7\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x10RestorePlanProtoP\x01Z;cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb\xaa\x02\x19Google.Cloud.GkeBackup.V1\xca\x02\x19Google\\Cloud\\GkeBackup\\V1\xea\x02\x1cGoogle::Cloud::GkeBackup::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -32,9 +32,7 @@ module Google
|
|
32
32
|
# @!attribute [rw] destination_project
|
33
33
|
# @return [::String]
|
34
34
|
# Required. Immutable. The project where Backups are allowed to be stored.
|
35
|
-
# The format is `projects/{
|
36
|
-
# Currently, \\{project} can only be the project number. Support for project
|
37
|
-
# IDs will be added in the future.
|
35
|
+
# The format is `projects/{projectId}` or `projects/{projectNumber}`.
|
38
36
|
# @!attribute [r] uid
|
39
37
|
# @return [::String]
|
40
38
|
# Output only. Server generated global unique identifier of
|
@@ -104,6 +104,12 @@ module Google
|
|
104
104
|
# @return [::String]
|
105
105
|
# Output only. Human-readable description of why the BackupPlan is in the
|
106
106
|
# current rpo_risk_level and action items if any.
|
107
|
+
# @!attribute [r] backup_channel
|
108
|
+
# @return [::String]
|
109
|
+
# Output only. The fully qualified name of the BackupChannel to be used to
|
110
|
+
# create a backup. This field is set only if the cluster being backed up is
|
111
|
+
# in a different project.
|
112
|
+
# `projects/*/locations/*/backupChannels/*`
|
107
113
|
# @!attribute [r] last_successful_backup_time
|
108
114
|
# @return [::Google::Protobuf::Timestamp]
|
109
115
|
# Output only. Completion time of the last successful Backup. This is sourced
|
@@ -95,10 +95,88 @@ module Google
|
|
95
95
|
# Output only. The fully qualified name of the last successful Backup
|
96
96
|
# created under this BackupPlan.
|
97
97
|
# `projects/*/locations/*/backupPlans/*/backups/*`
|
98
|
+
# @!attribute [r] backup_config_details
|
99
|
+
# @return [::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::BackupConfigDetails]
|
100
|
+
# Output only. Contains details about the BackupConfig of Backups created
|
101
|
+
# via this BackupPlan.
|
102
|
+
# @!attribute [r] retention_policy_details
|
103
|
+
# @return [::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails::RetentionPolicyDetails]
|
104
|
+
# Output only. Contains details about the RetentionPolicy of Backups
|
105
|
+
# created via this BackupPlan.
|
98
106
|
class BackupPlanDetails
|
99
107
|
include ::Google::Protobuf::MessageExts
|
100
108
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
109
|
|
110
|
+
# BackupConfigDetails defines the configuration of Backups created via this
|
111
|
+
# BackupPlan.
|
112
|
+
# @!attribute [r] all_namespaces
|
113
|
+
# @return [::Boolean]
|
114
|
+
# Output only. If True, include all namespaced resources
|
115
|
+
#
|
116
|
+
# Note: The following fields are mutually exclusive: `all_namespaces`, `selected_namespaces`, `selected_applications`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
117
|
+
# @!attribute [r] selected_namespaces
|
118
|
+
# @return [::Google::Cloud::GkeBackup::V1::Namespaces]
|
119
|
+
# Output only. If set, include just the resources in the listed
|
120
|
+
# namespaces.
|
121
|
+
#
|
122
|
+
# Note: The following fields are mutually exclusive: `selected_namespaces`, `all_namespaces`, `selected_applications`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
123
|
+
# @!attribute [r] selected_applications
|
124
|
+
# @return [::Google::Cloud::GkeBackup::V1::NamespacedNames]
|
125
|
+
# Output only. If set, include just the resources referenced by the
|
126
|
+
# listed ProtectedApplications.
|
127
|
+
#
|
128
|
+
# Note: The following fields are mutually exclusive: `selected_applications`, `all_namespaces`, `selected_namespaces`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
129
|
+
# @!attribute [r] include_volume_data
|
130
|
+
# @return [::Boolean]
|
131
|
+
# Output only. This flag specifies whether volume data should be backed
|
132
|
+
# up when PVCs are included in the scope of a Backup.
|
133
|
+
#
|
134
|
+
# Default: False
|
135
|
+
# @!attribute [r] include_secrets
|
136
|
+
# @return [::Boolean]
|
137
|
+
# Output only. This flag specifies whether Kubernetes Secret resources
|
138
|
+
# should be included when they fall into the scope of Backups.
|
139
|
+
#
|
140
|
+
# Default: False
|
141
|
+
# @!attribute [r] encryption_key
|
142
|
+
# @return [::Google::Cloud::GkeBackup::V1::EncryptionKey]
|
143
|
+
# Output only. This defines a customer managed encryption key that will
|
144
|
+
# be used to encrypt the "config" portion (the Kubernetes resources) of
|
145
|
+
# Backups created via this plan.
|
146
|
+
#
|
147
|
+
# Default (empty): Config backup artifacts will not be encrypted.
|
148
|
+
class BackupConfigDetails
|
149
|
+
include ::Google::Protobuf::MessageExts
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
151
|
+
end
|
152
|
+
|
153
|
+
# RetentionPolicyDetails defines a Backup retention policy for a
|
154
|
+
# BackupPlan.
|
155
|
+
# @!attribute [rw] backup_delete_lock_days
|
156
|
+
# @return [::Integer]
|
157
|
+
# Optional. Minimum age for Backups created via this BackupPlan (in
|
158
|
+
# days). This field MUST be an integer value between 0-90 (inclusive). A
|
159
|
+
# Backup created under this BackupPlan will NOT be deletable until it
|
160
|
+
# reaches Backup's (create_time + backup_delete_lock_days).
|
161
|
+
# Updating this field of a BackupPlan does NOT affect existing Backups
|
162
|
+
# under it. Backups created AFTER a successful update will inherit
|
163
|
+
# the new value.
|
164
|
+
#
|
165
|
+
# Default: 0 (no delete blocking)
|
166
|
+
# @!attribute [rw] backup_retain_days
|
167
|
+
# @return [::Integer]
|
168
|
+
# Optional. The default maximum age of a Backup created via this
|
169
|
+
# BackupPlan. This field MUST be an integer value >= 0 and <= 365. If
|
170
|
+
# specified, a Backup created under this BackupPlan will be automatically
|
171
|
+
# deleted after its age reaches (create_time + backup_retain_days). If
|
172
|
+
# not specified, Backups created under this BackupPlan will NOT be
|
173
|
+
# subject to automatic deletion.
|
174
|
+
# Default: 0 (no automatic deletion)
|
175
|
+
class RetentionPolicyDetails
|
176
|
+
include ::Google::Protobuf::MessageExts
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
end
|
179
|
+
|
102
180
|
# State
|
103
181
|
module State
|
104
182
|
# Default first value for Enums.
|
@@ -32,9 +32,7 @@ module Google
|
|
32
32
|
# @!attribute [rw] destination_project
|
33
33
|
# @return [::String]
|
34
34
|
# Required. Immutable. The project into which the backups will be restored.
|
35
|
-
# The format is `projects/{
|
36
|
-
# Currently, \\{project} can only be the project number. Support for project
|
37
|
-
# IDs will be added in the future.
|
35
|
+
# The format is `projects/{projectId}` or `projects/{projectNumber}`.
|
38
36
|
# @!attribute [r] uid
|
39
37
|
# @return [::String]
|
40
38
|
# Output only. Server generated global unique identifier of
|
@@ -83,6 +83,12 @@ module Google
|
|
83
83
|
# current `state`. This field is only meant for human readability and should
|
84
84
|
# not be used programmatically as this field is not guaranteed to be
|
85
85
|
# consistent.
|
86
|
+
# @!attribute [r] restore_channel
|
87
|
+
# @return [::String]
|
88
|
+
# Output only. The fully qualified name of the RestoreChannel to be used to
|
89
|
+
# create a RestorePlan. This field is set only if the `backup_plan` is in a
|
90
|
+
# different project than the RestorePlan. Format:
|
91
|
+
# `projects/*/locations/*/restoreChannels/*`
|
86
92
|
class RestorePlan
|
87
93
|
include ::Google::Protobuf::MessageExts
|
88
94
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_backup-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -15,14 +15,14 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '1.
|
18
|
+
version: '1.2'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '1.
|
25
|
+
version: '1.2'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: google-cloud-errors
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
|
-
rubygems_version: 3.6.
|
154
|
+
rubygems_version: 3.6.9
|
155
155
|
specification_version: 4
|
156
156
|
summary: Backup for GKE is a managed Kubernetes workload backup and restore service
|
157
157
|
for GKE clusters.
|