google-cloud-gke_backup-v1 0.4.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/gke_backup/v1/backup_for_gke/client.rb +79 -51
- data/lib/google/cloud/gke_backup/v1/backup_for_gke/rest/client.rb +88 -51
- data/lib/google/cloud/gke_backup/v1/backup_for_gke/rest.rb +1 -0
- data/lib/google/cloud/gke_backup/v1/bindings_override.rb +255 -0
- data/lib/google/cloud/gke_backup/v1/rest.rb +1 -0
- data/lib/google/cloud/gke_backup/v1/version.rb +1 -1
- data/lib/google/cloud/gkebackup/v1/backup_plan_pb.rb +2 -1
- data/lib/google/cloud/gkebackup/v1/gkebackup_pb.rb +2 -1
- data/lib/google/cloud/gkebackup/v1/restore_pb.rb +5 -1
- data/lib/google/cloud/gkebackup/v1/restore_plan_pb.rb +2 -1
- data/proto_docs/google/cloud/gkebackup/v1/backup.rb +43 -31
- data/proto_docs/google/cloud/gkebackup/v1/backup_plan.rb +54 -13
- data/proto_docs/google/cloud/gkebackup/v1/common.rb +1 -1
- data/proto_docs/google/cloud/gkebackup/v1/gkebackup.rb +78 -76
- data/proto_docs/google/cloud/gkebackup/v1/restore.rb +194 -29
- data/proto_docs/google/cloud/gkebackup/v1/restore_plan.rb +40 -13
- data/proto_docs/google/cloud/gkebackup/v1/volume.rb +23 -20
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +44 -2
@@ -10,7 +10,7 @@ require 'google/cloud/gkebackup/v1/common_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
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\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
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\x1fgoogle/protobuf/timestamp.proto\"\xb0\x0b\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\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12<\n\x07\x63luster\x18\x06 \x01(\tB+\xe0\x41\x05\xe0\x41\x02\xfa\x41\"\n container.googleapis.com/Cluster\x12O\n\x10retention_policy\x18\x07 \x01(\x0b\x32\x35.google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy\x12\x41\n\x06labels\x18\x08 \x03(\x0b\x32\x31.google.cloud.gkebackup.v1.BackupPlan.LabelsEntry\x12G\n\x0f\x62\x61\x63kup_schedule\x18\t \x01(\x0b\x32..google.cloud.gkebackup.v1.BackupPlan.Schedule\x12\x11\n\x04\x65tag\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65\x61\x63tivated\x18\x0b \x01(\x08\x12I\n\rbackup_config\x18\x0c \x01(\x0b\x32\x32.google.cloud.gkebackup.v1.BackupPlan.BackupConfig\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\x1a^\n\x0fRetentionPolicy\x12\x1f\n\x17\x62\x61\x63kup_delete_lock_days\x18\x01 \x01(\x05\x12\x1a\n\x12\x62\x61\x63kup_retain_days\x18\x02 \x01(\x05\x12\x0e\n\x06locked\x18\x03 \x01(\x08\x1a\x31\n\x08Schedule\x12\x15\n\rcron_schedule\x18\x01 \x01(\t\x12\x0e\n\x06paused\x18\x02 \x01(\x08\x1a\xc3\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\x1b\n\x13include_volume_data\x18\x04 \x01(\x08\x12\x17\n\x0finclude_secrets\x18\x05 \x01(\x08\x12@\n\x0e\x65ncryption_key\x18\x06 \x01(\x0b\x32(.google.cloud.gkebackup.v1.EncryptionKeyB\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}B\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"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -46,6 +46,7 @@ module Google
|
|
46
46
|
BackupPlan::RetentionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy").msgclass
|
47
47
|
BackupPlan::Schedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.Schedule").msgclass
|
48
48
|
BackupPlan::BackupConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.BackupConfig").msgclass
|
49
|
+
BackupPlan::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.BackupPlan.State").enummodule
|
49
50
|
end
|
50
51
|
end
|
51
52
|
end
|
@@ -14,11 +14,12 @@ require 'google/cloud/gkebackup/v1/restore_pb'
|
|
14
14
|
require 'google/cloud/gkebackup/v1/restore_plan_pb'
|
15
15
|
require 'google/cloud/gkebackup/v1/volume_pb'
|
16
16
|
require 'google/longrunning/operations_pb'
|
17
|
+
require 'google/protobuf/empty_pb'
|
17
18
|
require 'google/protobuf/field_mask_pb'
|
18
19
|
require 'google/protobuf/timestamp_pb'
|
19
20
|
|
20
21
|
|
21
|
-
descriptor_data = "\n)google/cloud/gkebackup/v1/gkebackup.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/backup.proto\x1a+google/cloud/gkebackup/v1/backup_plan.proto\x1a\'google/cloud/gkebackup/v1/restore.proto\x1a,google/cloud/gkebackup/v1/restore_plan.proto\x1a&google/cloud/gkebackup/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xb2\x01\n\x17\x43reateBackupPlanRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x0b\x62\x61\x63kup_plan\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlanB\x03\xe0\x41\x02\x12\x1b\n\x0e\x62\x61\x63kup_plan_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x16ListBackupPlansRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x84\x01\n\x17ListBackupPlansResponse\x12;\n\x0c\x62\x61\x63kup_plans\x18\x01 \x03(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlan\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x14GetBackupPlanRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\"\x8b\x01\n\x17UpdateBackupPlanRequest\x12?\n\x0b\x62\x61\x63kup_plan\x18\x01 \x01(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlanB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"b\n\x17\x44\x65leteBackupPlanRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\"\x98\x01\n\x13\x43reateBackupRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x31\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32!.google.cloud.gkebackup.v1.Backup\x12\x11\n\tbackup_id\x18\x03 \x01(\t\"\x9a\x01\n\x12ListBackupsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"b\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.gkebackup.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\"~\n\x13UpdateBackupRequest\x12\x36\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32!.google.cloud.gkebackup.v1.BackupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"i\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9c\x01\n\x18ListVolumeBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"u\n\x19ListVolumeBackupsResponse\x12?\n\x0evolume_backups\x18\x01 \x03(\x0b\x32\'.google.cloud.gkebackup.v1.VolumeBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x16GetVolumeBackupRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%gkebackup.googleapis.com/VolumeBackup\"\xb6\x01\n\x18\x43reateRestorePlanRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x41\n\x0crestore_plan\x18\x02 \x01(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlanB\x03\xe0\x41\x02\x12\x1c\n\x0frestore_plan_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9d\x01\n\x17ListRestorePlansRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x87\x01\n\x18ListRestorePlansResponse\x12=\n\rrestore_plans\x18\x01 \x03(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlan\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x15GetRestorePlanRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\"\x8e\x01\n\x18UpdateRestorePlanRequest\x12\x41\n\x0crestore_plan\x18\x01 \x01(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlanB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"s\n\x18\x44\x65leteRestorePlanRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\xa7\x01\n\x14\x43reateRestoreRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x38\n\x07restore\x18\x02 \x01(\x0b\x32\".google.cloud.gkebackup.v1.RestoreB\x03\xe0\x41\x02\x12\x17\n\nrestore_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x13ListRestoresRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x14ListRestoresResponse\x12\x34\n\x08restores\x18\x01 \x03(\x0b\x32\".google.cloud.gkebackup.v1.Restore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetRestoreRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\"\x81\x01\n\x14UpdateRestoreRequest\x12\x38\n\x07restore\x18\x01 \x01(\x0b\x32\".google.cloud.gkebackup.v1.RestoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"k\n\x14\x44\x65leteRestoreRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9e\x01\n\x19ListVolumeRestoresRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"x\n\x1aListVolumeRestoresResponse\x12\x41\n\x0fvolume_restores\x18\x01 \x03(\x0b\x32(.google.cloud.gkebackup.v1.VolumeRestore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x17GetVolumeRestoreRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gkebackup.googleapis.com/VolumeRestore2\xc5(\n\x0c\x42\x61\x63kupForGKE\x12\xf2\x01\n\x10\x43reateBackupPlan\x12\x32.google.cloud.gkebackup.v1.CreateBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/backupPlans:\x0b\x62\x61\x63kup_plan\xda\x41!parent,backup_plan,backup_plan_id\xca\x41\x1f\n\nBackupPlan\x12\x11OperationMetadata\x12\xba\x01\n\x0fListBackupPlans\x12\x31.google.cloud.gkebackup.v1.ListBackupPlansRequest\x1a\x32.google.cloud.gkebackup.v1.ListBackupPlansResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/backupPlans\xda\x41\x06parent\x12\xa7\x01\n\rGetBackupPlan\x12/.google.cloud.gkebackup.v1.GetBackupPlanRequest\x1a%.google.cloud.gkebackup.v1.BackupPlan\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/backupPlans/*}\xda\x41\x04name\x12\xf4\x01\n\x10UpdateBackupPlan\x12\x32.google.cloud.gkebackup.v1.UpdateBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02J2;/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}:\x0b\x62\x61\x63kup_plan\xda\x41\x17\x62\x61\x63kup_plan,update_mask\xca\x41\x1f\n\nBackupPlan\x12\x11OperationMetadata\x12\xd2\x01\n\x10\x44\x65leteBackupPlan\x12\x32.google.cloud.gkebackup.v1.DeleteBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"k\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/backupPlans/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe1\x01\n\x0c\x43reateBackup\x12..google.cloud.gkebackup.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02\x43\"9/v1/{parent=projects/*/locations/*/backupPlans/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xb8\x01\n\x0bListBackups\x12-.google.cloud.gkebackup.v1.ListBackupsRequest\x1a..google.cloud.gkebackup.v1.ListBackupsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/backupPlans/*}/backups\xda\x41\x06parent\x12\xa5\x01\n\tGetBackup\x12+.google.cloud.gkebackup.v1.GetBackupRequest\x1a!.google.cloud.gkebackup.v1.Backup\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\xda\x41\x04name\x12\xe3\x01\n\x0cUpdateBackup\x12..google.cloud.gkebackup.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02J2@/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xd4\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.gkebackup.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xda\x01\n\x11ListVolumeBackups\x12\x33.google.cloud.gkebackup.v1.ListVolumeBackupsRequest\x1a\x34.google.cloud.gkebackup.v1.ListVolumeBackupsResponse\"Z\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups\xda\x41\x06parent\x12\xc7\x01\n\x0fGetVolumeBackup\x12\x31.google.cloud.gkebackup.v1.GetVolumeBackupRequest\x1a\'.google.cloud.gkebackup.v1.VolumeBackup\"X\x82\xd3\xe4\x93\x02K\x12I/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}\xda\x41\x04name\x12\xf9\x01\n\x11\x43reateRestorePlan\x12\x33.google.cloud.gkebackup.v1.CreateRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/restorePlans:\x0crestore_plan\xda\x41#parent,restore_plan,restore_plan_id\xca\x41 \n\x0bRestorePlan\x12\x11OperationMetadata\x12\xbe\x01\n\x10ListRestorePlans\x12\x32.google.cloud.gkebackup.v1.ListRestorePlansRequest\x1a\x33.google.cloud.gkebackup.v1.ListRestorePlansResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/restorePlans\xda\x41\x06parent\x12\xab\x01\n\x0eGetRestorePlan\x12\x30.google.cloud.gkebackup.v1.GetRestorePlanRequest\x1a&.google.cloud.gkebackup.v1.RestorePlan\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/restorePlans/*}\xda\x41\x04name\x12\xfb\x01\n\x11UpdateRestorePlan\x12\x33.google.cloud.gkebackup.v1.UpdateRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}:\x0crestore_plan\xda\x41\x18restore_plan,update_mask\xca\x41 \n\x0bRestorePlan\x12\x11OperationMetadata\x12\xd5\x01\n\x11\x44\x65leteRestorePlan\x12\x33.google.cloud.gkebackup.v1.DeleteRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/restorePlans/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe9\x01\n\rCreateRestore\x12/.google.cloud.gkebackup.v1.CreateRestoreRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x46\";/v1/{parent=projects/*/locations/*/restorePlans/*}/restores:\x07restore\xda\x41\x19parent,restore,restore_id\xca\x41\x1c\n\x07Restore\x12\x11OperationMetadata\x12\xbd\x01\n\x0cListRestores\x12..google.cloud.gkebackup.v1.ListRestoresRequest\x1a/.google.cloud.gkebackup.v1.ListRestoresResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/restorePlans/*}/restores\xda\x41\x06parent\x12\xaa\x01\n\nGetRestore\x12,.google.cloud.gkebackup.v1.GetRestoreRequest\x1a\".google.cloud.gkebackup.v1.Restore\"J\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\xda\x41\x04name\x12\xeb\x01\n\rUpdateRestore\x12/.google.cloud.gkebackup.v1.UpdateRestoreRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02N2C/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}:\x07restore\xda\x41\x13restore,update_mask\xca\x41\x1c\n\x07Restore\x12\x11OperationMetadata\x12\xd8\x01\n\rDeleteRestore\x12/.google.cloud.gkebackup.v1.DeleteRestoreRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe0\x01\n\x12ListVolumeRestores\x12\x34.google.cloud.gkebackup.v1.ListVolumeRestoresRequest\x1a\x35.google.cloud.gkebackup.v1.ListVolumeRestoresResponse\"]\x82\xd3\xe4\x93\x02N\x12L/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores\xda\x41\x06parent\x12\xcd\x01\n\x10GetVolumeRestore\x12\x32.google.cloud.gkebackup.v1.GetVolumeRestoreRequest\x1a(.google.cloud.gkebackup.v1.VolumeRestore\"[\x82\xd3\xe4\x93\x02N\x12L/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}\xda\x41\x04name\x1aL\xca\x41\x18gkebackup.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa1\x03\n\x1d\x63om.google.cloud.gkebackup.v1B\x0eGKEBackupProtoP\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::V1\xea\x41^\n container.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
22
|
+
descriptor_data = "\n)google/cloud/gkebackup/v1/gkebackup.proto\x12\x19google.cloud.gkebackup.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/gkebackup/v1/backup.proto\x1a+google/cloud/gkebackup/v1/backup_plan.proto\x1a\'google/cloud/gkebackup/v1/restore.proto\x1a,google/cloud/gkebackup/v1/restore_plan.proto\x1a&google/cloud/gkebackup/v1/volume.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xb2\x01\n\x17\x43reateBackupPlanRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12?\n\x0b\x62\x61\x63kup_plan\x18\x02 \x01(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlanB\x03\xe0\x41\x02\x12\x1b\n\x0e\x62\x61\x63kup_plan_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x16ListBackupPlansRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x84\x01\n\x17ListBackupPlansResponse\x12;\n\x0c\x62\x61\x63kup_plans\x18\x01 \x03(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlan\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x14GetBackupPlanRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\"\x8b\x01\n\x17UpdateBackupPlanRequest\x12?\n\x0b\x62\x61\x63kup_plan\x18\x01 \x01(\x0b\x32%.google.cloud.gkebackup.v1.BackupPlanB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"b\n\x17\x44\x65leteBackupPlanRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\"\x98\x01\n\x13\x43reateBackupRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x31\n\x06\x62\x61\x63kup\x18\x02 \x01(\x0b\x32!.google.cloud.gkebackup.v1.Backup\x12\x11\n\tbackup_id\x18\x03 \x01(\t\"\x9a\x01\n\x12ListBackupsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#gkebackup.googleapis.com/BackupPlan\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"b\n\x13ListBackupsResponse\x12\x32\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32!.google.cloud.gkebackup.v1.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"I\n\x10GetBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\"~\n\x13UpdateBackupRequest\x12\x36\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32!.google.cloud.gkebackup.v1.BackupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"i\n\x13\x44\x65leteBackupRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9c\x01\n\x18ListVolumeBackupsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"u\n\x19ListVolumeBackupsResponse\x12?\n\x0evolume_backups\x18\x01 \x03(\x0b\x32\'.google.cloud.gkebackup.v1.VolumeBackup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x16GetVolumeBackupRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%gkebackup.googleapis.com/VolumeBackup\"\xb6\x01\n\x18\x43reateRestorePlanRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x41\n\x0crestore_plan\x18\x02 \x01(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlanB\x03\xe0\x41\x02\x12\x1c\n\x0frestore_plan_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9d\x01\n\x17ListRestorePlansRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x87\x01\n\x18ListRestorePlansResponse\x12=\n\rrestore_plans\x18\x01 \x03(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlan\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x15GetRestorePlanRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\"\x8e\x01\n\x18UpdateRestorePlanRequest\x12\x41\n\x0crestore_plan\x18\x01 \x01(\x0b\x32&.google.cloud.gkebackup.v1.RestorePlanB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"s\n\x18\x44\x65leteRestorePlanRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\xa7\x01\n\x14\x43reateRestoreRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x38\n\x07restore\x18\x02 \x01(\x0b\x32\".google.cloud.gkebackup.v1.RestoreB\x03\xe0\x41\x02\x12\x17\n\nrestore_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\x9c\x01\n\x13ListRestoresRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$gkebackup.googleapis.com/RestorePlan\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"z\n\x14ListRestoresResponse\x12\x34\n\x08restores\x18\x01 \x03(\x0b\x32\".google.cloud.gkebackup.v1.Restore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"K\n\x11GetRestoreRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\"\x81\x01\n\x14UpdateRestoreRequest\x12\x38\n\x07restore\x18\x01 \x01(\x0b\x32\".google.cloud.gkebackup.v1.RestoreB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"k\n\x14\x44\x65leteRestoreRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9e\x01\n\x19ListVolumeRestoresRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkebackup.googleapis.com/Restore\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"x\n\x1aListVolumeRestoresResponse\x12\x41\n\x0fvolume_restores\x18\x01 \x03(\x0b\x32(.google.cloud.gkebackup.v1.VolumeRestore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"W\n\x17GetVolumeRestoreRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&gkebackup.googleapis.com/VolumeRestore2\xc5(\n\x0c\x42\x61\x63kupForGKE\x12\xf2\x01\n\x10\x43reateBackupPlan\x12\x32.google.cloud.gkebackup.v1.CreateBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"\x8a\x01\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/backupPlans:\x0b\x62\x61\x63kup_plan\xda\x41!parent,backup_plan,backup_plan_id\xca\x41\x1f\n\nBackupPlan\x12\x11OperationMetadata\x12\xba\x01\n\x0fListBackupPlans\x12\x31.google.cloud.gkebackup.v1.ListBackupPlansRequest\x1a\x32.google.cloud.gkebackup.v1.ListBackupPlansResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/backupPlans\xda\x41\x06parent\x12\xa7\x01\n\rGetBackupPlan\x12/.google.cloud.gkebackup.v1.GetBackupPlanRequest\x1a%.google.cloud.gkebackup.v1.BackupPlan\">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/backupPlans/*}\xda\x41\x04name\x12\xf4\x01\n\x10UpdateBackupPlan\x12\x32.google.cloud.gkebackup.v1.UpdateBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02J2;/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}:\x0b\x62\x61\x63kup_plan\xda\x41\x17\x62\x61\x63kup_plan,update_mask\xca\x41\x1f\n\nBackupPlan\x12\x11OperationMetadata\x12\xd2\x01\n\x10\x44\x65leteBackupPlan\x12\x32.google.cloud.gkebackup.v1.DeleteBackupPlanRequest\x1a\x1d.google.longrunning.Operation\"k\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/backupPlans/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe1\x01\n\x0c\x43reateBackup\x12..google.cloud.gkebackup.v1.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02\x43\"9/v1/{parent=projects/*/locations/*/backupPlans/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup,backup_id\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xb8\x01\n\x0bListBackups\x12-.google.cloud.gkebackup.v1.ListBackupsRequest\x1a..google.cloud.gkebackup.v1.ListBackupsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v1/{parent=projects/*/locations/*/backupPlans/*}/backups\xda\x41\x06parent\x12\xa5\x01\n\tGetBackup\x12+.google.cloud.gkebackup.v1.GetBackupRequest\x1a!.google.cloud.gkebackup.v1.Backup\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\xda\x41\x04name\x12\xe3\x01\n\x0cUpdateBackup\x12..google.cloud.gkebackup.v1.UpdateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02J2@/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\xca\x41\x1b\n\x06\x42\x61\x63kup\x12\x11OperationMetadata\x12\xd4\x01\n\x0c\x44\x65leteBackup\x12..google.cloud.gkebackup.v1.DeleteBackupRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02;*9/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xda\x01\n\x11ListVolumeBackups\x12\x33.google.cloud.gkebackup.v1.ListVolumeBackupsRequest\x1a\x34.google.cloud.gkebackup.v1.ListVolumeBackupsResponse\"Z\x82\xd3\xe4\x93\x02K\x12I/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups\xda\x41\x06parent\x12\xc7\x01\n\x0fGetVolumeBackup\x12\x31.google.cloud.gkebackup.v1.GetVolumeBackupRequest\x1a\'.google.cloud.gkebackup.v1.VolumeBackup\"X\x82\xd3\xe4\x93\x02K\x12I/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}\xda\x41\x04name\x12\xf9\x01\n\x11\x43reateRestorePlan\x12\x33.google.cloud.gkebackup.v1.CreateRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x01\x82\xd3\xe4\x93\x02@\"0/v1/{parent=projects/*/locations/*}/restorePlans:\x0crestore_plan\xda\x41#parent,restore_plan,restore_plan_id\xca\x41 \n\x0bRestorePlan\x12\x11OperationMetadata\x12\xbe\x01\n\x10ListRestorePlans\x12\x32.google.cloud.gkebackup.v1.ListRestorePlansRequest\x1a\x33.google.cloud.gkebackup.v1.ListRestorePlansResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/restorePlans\xda\x41\x06parent\x12\xab\x01\n\x0eGetRestorePlan\x12\x30.google.cloud.gkebackup.v1.GetRestorePlanRequest\x1a&.google.cloud.gkebackup.v1.RestorePlan\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/restorePlans/*}\xda\x41\x04name\x12\xfb\x01\n\x11UpdateRestorePlan\x12\x33.google.cloud.gkebackup.v1.UpdateRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02M2=/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}:\x0crestore_plan\xda\x41\x18restore_plan,update_mask\xca\x41 \n\x0bRestorePlan\x12\x11OperationMetadata\x12\xd5\x01\n\x11\x44\x65leteRestorePlan\x12\x33.google.cloud.gkebackup.v1.DeleteRestorePlanRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/restorePlans/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe9\x01\n\rCreateRestore\x12/.google.cloud.gkebackup.v1.CreateRestoreRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x46\";/v1/{parent=projects/*/locations/*/restorePlans/*}/restores:\x07restore\xda\x41\x19parent,restore,restore_id\xca\x41\x1c\n\x07Restore\x12\x11OperationMetadata\x12\xbd\x01\n\x0cListRestores\x12..google.cloud.gkebackup.v1.ListRestoresRequest\x1a/.google.cloud.gkebackup.v1.ListRestoresResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/restorePlans/*}/restores\xda\x41\x06parent\x12\xaa\x01\n\nGetRestore\x12,.google.cloud.gkebackup.v1.GetRestoreRequest\x1a\".google.cloud.gkebackup.v1.Restore\"J\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\xda\x41\x04name\x12\xeb\x01\n\rUpdateRestore\x12/.google.cloud.gkebackup.v1.UpdateRestoreRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02N2C/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}:\x07restore\xda\x41\x13restore,update_mask\xca\x41\x1c\n\x07Restore\x12\x11OperationMetadata\x12\xd8\x01\n\rDeleteRestore\x12/.google.cloud.gkebackup.v1.DeleteRestoreRequest\x1a\x1d.google.longrunning.Operation\"w\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe0\x01\n\x12ListVolumeRestores\x12\x34.google.cloud.gkebackup.v1.ListVolumeRestoresRequest\x1a\x35.google.cloud.gkebackup.v1.ListVolumeRestoresResponse\"]\x82\xd3\xe4\x93\x02N\x12L/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores\xda\x41\x06parent\x12\xcd\x01\n\x10GetVolumeRestore\x12\x32.google.cloud.gkebackup.v1.GetVolumeRestoreRequest\x1a(.google.cloud.gkebackup.v1.VolumeRestore\"[\x82\xd3\xe4\x93\x02N\x12L/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}\xda\x41\x04name\x1aL\xca\x41\x18gkebackup.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa1\x03\n\x1d\x63om.google.cloud.gkebackup.v1B\x0eGKEBackupProtoP\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::V1\xea\x41^\n container.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
22
23
|
|
23
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
24
25
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/gkebackup/v1/common_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n\'google/cloud/gkebackup/v1/restore.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\x1fgoogle/protobuf/timestamp.proto\"\xff\x07\n\x07Restore\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\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06\x62\x61\x63kup\x18\x06 \x01(\tB*\xe0\x41\x05\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x39\n\x07\x63luster\x18\x07 \x01(\tB(\xe0\x41\x03\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\x03\x12>\n\x06labels\x18\t \x03(\x0b\x32..google.cloud.gkebackup.v1.Restore.LabelsEntry\x12<\n\x05state\x18\n \x01(\x0e\x32(.google.cloud.gkebackup.v1.Restore.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12%\n\x18resources_restored_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18resources_excluded_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16resources_failed_count\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16volumes_restored_count\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x11 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:}\xea\x41z\n gkebackup.googleapis.com/Restore\x12Vprojects/{project}/locations/{location}/restorePlans/{restore_plan}/restores/{restore}\"\
|
13
|
+
descriptor_data = "\n\'google/cloud/gkebackup/v1/restore.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\x1fgoogle/protobuf/timestamp.proto\"\xff\x07\n\x07Restore\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\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12:\n\x06\x62\x61\x63kup\x18\x06 \x01(\tB*\xe0\x41\x05\xe0\x41\x02\xfa\x41!\n\x1fgkebackup.googleapis.com/Backup\x12\x39\n\x07\x63luster\x18\x07 \x01(\tB(\xe0\x41\x03\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\x03\x12>\n\x06labels\x18\t \x03(\x0b\x32..google.cloud.gkebackup.v1.Restore.LabelsEntry\x12<\n\x05state\x18\n \x01(\x0e\x32(.google.cloud.gkebackup.v1.Restore.StateB\x03\xe0\x41\x03\x12\x19\n\x0cstate_reason\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x36\n\rcomplete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12%\n\x18resources_restored_count\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12%\n\x18resources_excluded_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16resources_failed_count\x18\x0f \x01(\x05\x42\x03\xe0\x41\x03\x12#\n\x16volumes_restored_count\x18\x10 \x01(\x05\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x11 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"f\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0f\n\x0bIN_PROGRESS\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:}\xea\x41z\n gkebackup.googleapis.com/Restore\x12Vprojects/{project}/locations/{location}/restorePlans/{restore_plan}/restores/{restore}\"\xc4\x13\n\rRestoreConfig\x12\x64\n\x1avolume_data_restore_policy\x18\x01 \x01(\x0e\x32@.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy\x12p\n cluster_resource_conflict_policy\x18\x02 \x01(\x0e\x32\x46.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy\x12p\n namespaced_resource_restore_mode\x18\x03 \x01(\x0e\x32\x46.google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode\x12l\n\x1e\x63luster_resource_restore_scope\x18\x04 \x01(\x0b\x32\x44.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope\x12\x18\n\x0e\x61ll_namespaces\x18\x05 \x01(\x08H\x00\x12\x44\n\x13selected_namespaces\x18\x06 \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesH\x00\x12K\n\x15selected_applications\x18\x07 \x01(\x0b\x32*.google.cloud.gkebackup.v1.NamespacedNamesH\x00\x12\x17\n\rno_namespaces\x18\t \x01(\x08H\x00\x12\x44\n\x13\x65xcluded_namespaces\x18\n \x01(\x0b\x32%.google.cloud.gkebackup.v1.NamespacesH\x00\x12U\n\x12substitution_rules\x18\x08 \x03(\x0b\x32\x39.google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule\x12Y\n\x14transformation_rules\x18\x0b \x03(\x0b\x32;.google.cloud.gkebackup.v1.RestoreConfig.TransformationRule\x1a:\n\tGroupKind\x12\x16\n\x0eresource_group\x18\x01 \x01(\t\x12\x15\n\rresource_kind\x18\x02 \x01(\t\x1a\xf2\x01\n\x1b\x43lusterResourceRestoreScope\x12P\n\x14selected_group_kinds\x18\x01 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12P\n\x14\x65xcluded_group_kinds\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12\x17\n\x0f\x61ll_group_kinds\x18\x03 \x01(\x08\x12\x16\n\x0eno_group_kinds\x18\x04 \x01(\x08\x1a\xcf\x01\n\x10SubstitutionRule\x12\x19\n\x11target_namespaces\x18\x01 \x03(\t\x12N\n\x12target_group_kinds\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12\x1d\n\x10target_json_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x16original_value_pattern\x18\x04 \x01(\t\x12\x11\n\tnew_value\x18\x05 \x01(\t\x1a\xfb\x01\n\x18TransformationRuleAction\x12U\n\x02op\x18\x01 \x01(\x0e\x32\x44.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.OpB\x03\xe0\x41\x02\x12\x11\n\tfrom_path\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\r\n\x05value\x18\x04 \x01(\t\"X\n\x02Op\x12\x12\n\x0eOP_UNSPECIFIED\x10\x00\x12\n\n\x06REMOVE\x10\x01\x12\x08\n\x04MOVE\x10\x02\x12\x08\n\x04\x43OPY\x10\x03\x12\x07\n\x03\x41\x44\x44\x10\x04\x12\x08\n\x04TEST\x10\x05\x12\x0b\n\x07REPLACE\x10\x06\x1a\x80\x01\n\x0eResourceFilter\x12\x12\n\nnamespaces\x18\x01 \x03(\t\x12G\n\x0bgroup_kinds\x18\x02 \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestoreConfig.GroupKind\x12\x11\n\tjson_path\x18\x03 \x01(\t\x1a\xda\x01\n\x12TransformationRule\x12]\n\rfield_actions\x18\x01 \x03(\x0b\x32\x41.google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleActionB\x03\xe0\x41\x02\x12P\n\x0fresource_filter\x18\x02 \x01(\x0b\x32\x37.google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\"\xaf\x01\n\x17VolumeDataRestorePolicy\x12*\n&VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED\x10\x00\x12#\n\x1fRESTORE_VOLUME_DATA_FROM_BACKUP\x10\x01\x12#\n\x1fREUSE_VOLUME_HANDLE_FROM_BACKUP\x10\x02\x12\x1e\n\x1aNO_VOLUME_DATA_RESTORATION\x10\x03\"\x83\x01\n\x1d\x43lusterResourceConflictPolicy\x12\x30\n,CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED\x10\x00\x12\x18\n\x14USE_EXISTING_VERSION\x10\x01\x12\x16\n\x12USE_BACKUP_VERSION\x10\x02\"\x7f\n\x1dNamespacedResourceRestoreMode\x12\x30\n,NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x45LETE_AND_RESTORE\x10\x01\x12\x14\n\x10\x46\x41IL_ON_CONFLICT\x10\x02\x42#\n!namespaced_resource_restore_scopeB\xc3\x01\n\x1d\x63om.google.cloud.gkebackup.v1B\x0cRestoreProtoP\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
|
|
@@ -48,6 +48,10 @@ module Google
|
|
48
48
|
RestoreConfig::GroupKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.GroupKind").msgclass
|
49
49
|
RestoreConfig::ClusterResourceRestoreScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope").msgclass
|
50
50
|
RestoreConfig::SubstitutionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule").msgclass
|
51
|
+
RestoreConfig::TransformationRuleAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction").msgclass
|
52
|
+
RestoreConfig::TransformationRuleAction::Op = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op").enummodule
|
53
|
+
RestoreConfig::ResourceFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter").msgclass
|
54
|
+
RestoreConfig::TransformationRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.TransformationRule").msgclass
|
51
55
|
RestoreConfig::VolumeDataRestorePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy").enummodule
|
52
56
|
RestoreConfig::ClusterResourceConflictPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy").enummodule
|
53
57
|
RestoreConfig::NamespacedResourceRestoreMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode").enummodule
|
@@ -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\"\xaa\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\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\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\x12\x42\n\x06labels\x18\t \x03(\x0b\x32\x32.google.cloud.gkebackup.v1.RestorePlan.LabelsEntry\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\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
|
|
@@ -43,6 +43,7 @@ module Google
|
|
43
43
|
module GkeBackup
|
44
44
|
module V1
|
45
45
|
RestorePlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestorePlan").msgclass
|
46
|
+
RestorePlan::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkebackup.v1.RestorePlan.State").enummodule
|
46
47
|
end
|
47
48
|
end
|
48
49
|
end
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# @!attribute [r] name
|
30
30
|
# @return [::String]
|
31
31
|
# Output only. The fully qualified name of the Backup.
|
32
|
-
# projects/*/locations/*/backupPlans/*/backups
|
32
|
+
# `projects/*/locations/*/backupPlans/*/backups/*`
|
33
33
|
# @!attribute [r] uid
|
34
34
|
# @return [::String]
|
35
35
|
# Output only. Server generated global unique identifier of
|
@@ -42,9 +42,9 @@ module Google
|
|
42
42
|
# Output only. The timestamp when this Backup resource was last updated.
|
43
43
|
# @!attribute [r] manual
|
44
44
|
# @return [::Boolean]
|
45
|
-
# Output only. This flag indicates whether this Backup resource was created
|
46
|
-
# by a user or via a schedule in the BackupPlan. A value of True
|
47
|
-
# the Backup was created manually.
|
45
|
+
# Output only. This flag indicates whether this Backup resource was created
|
46
|
+
# manually by a user or via a schedule in the BackupPlan. A value of True
|
47
|
+
# means that the Backup was created manually.
|
48
48
|
# @!attribute [rw] labels
|
49
49
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
50
50
|
# A set of custom labels supplied by user.
|
@@ -62,75 +62,87 @@ module Google
|
|
62
62
|
# (either at creation time or in a subsequent update).
|
63
63
|
# @!attribute [r] delete_lock_expire_time
|
64
64
|
# @return [::Google::Protobuf::Timestamp]
|
65
|
-
# Output only. The time at which an existing delete lock will expire for this
|
66
|
-
# (calculated from create_time +
|
65
|
+
# Output only. The time at which an existing delete lock will expire for this
|
66
|
+
# backup (calculated from create_time +
|
67
|
+
# {::Google::Cloud::GkeBackup::V1::Backup#delete_lock_days delete_lock_days}).
|
67
68
|
# @!attribute [rw] retain_days
|
68
69
|
# @return [::Integer]
|
69
70
|
# The age (in days) after which this Backup will be automatically deleted.
|
70
71
|
# Must be an integer value >= 0:
|
71
72
|
#
|
72
73
|
# - If 0, no automatic deletion will occur for this Backup.
|
73
|
-
# - If not 0, this must be >=
|
74
|
+
# - If not 0, this must be >=
|
75
|
+
# {::Google::Cloud::GkeBackup::V1::Backup#delete_lock_days delete_lock_days} and
|
76
|
+
# <= 365.
|
74
77
|
#
|
75
78
|
# Once a Backup is created, this value may only be increased.
|
76
79
|
#
|
77
80
|
# Defaults to the parent BackupPlan's
|
78
|
-
# {::Google::Cloud::GkeBackup::V1::BackupPlan::RetentionPolicy#backup_retain_days backup_retain_days}
|
81
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::RetentionPolicy#backup_retain_days backup_retain_days}
|
82
|
+
# value.
|
79
83
|
# @!attribute [r] retain_expire_time
|
80
84
|
# @return [::Google::Protobuf::Timestamp]
|
81
|
-
# Output only. The time at which this Backup will be automatically deleted
|
82
|
-
# from create_time +
|
85
|
+
# Output only. The time at which this Backup will be automatically deleted
|
86
|
+
# (calculated from create_time +
|
87
|
+
# {::Google::Cloud::GkeBackup::V1::Backup#retain_days retain_days}).
|
83
88
|
# @!attribute [r] encryption_key
|
84
89
|
# @return [::Google::Cloud::GkeBackup::V1::EncryptionKey]
|
85
|
-
# Output only. The customer managed encryption key that was used to encrypt
|
86
|
-
# artifacts. Inherited from the parent BackupPlan's
|
87
|
-
# {::Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig#encryption_key encryption_key}
|
90
|
+
# Output only. The customer managed encryption key that was used to encrypt
|
91
|
+
# the Backup's artifacts. Inherited from the parent BackupPlan's
|
92
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig#encryption_key encryption_key}
|
93
|
+
# value.
|
88
94
|
# @!attribute [r] all_namespaces
|
89
95
|
# @return [::Boolean]
|
90
96
|
# Output only. If True, all namespaces were included in the Backup.
|
91
97
|
# @!attribute [r] selected_namespaces
|
92
98
|
# @return [::Google::Cloud::GkeBackup::V1::Namespaces]
|
93
|
-
# Output only. If set, the list of namespaces that were included in the
|
99
|
+
# Output only. If set, the list of namespaces that were included in the
|
100
|
+
# Backup.
|
94
101
|
# @!attribute [r] selected_applications
|
95
102
|
# @return [::Google::Cloud::GkeBackup::V1::NamespacedNames]
|
96
|
-
# Output only. If set, the list of ProtectedApplications whose resources
|
97
|
-
# in the Backup.
|
103
|
+
# Output only. If set, the list of ProtectedApplications whose resources
|
104
|
+
# were included in the Backup.
|
98
105
|
# @!attribute [r] contains_volume_data
|
99
106
|
# @return [::Boolean]
|
100
|
-
# Output only. Whether or not the Backup contains volume data. Controlled by
|
101
|
-
# BackupPlan's
|
102
|
-
# {::Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig#include_volume_data include_volume_data}
|
107
|
+
# Output only. Whether or not the Backup contains volume data. Controlled by
|
108
|
+
# the parent BackupPlan's
|
109
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig#include_volume_data include_volume_data}
|
110
|
+
# value.
|
103
111
|
# @!attribute [r] contains_secrets
|
104
112
|
# @return [::Boolean]
|
105
|
-
# Output only. Whether or not the Backup contains Kubernetes Secrets.
|
106
|
-
# parent BackupPlan's
|
107
|
-
# {::Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig#include_secrets include_secrets}
|
113
|
+
# Output only. Whether or not the Backup contains Kubernetes Secrets.
|
114
|
+
# Controlled by the parent BackupPlan's
|
115
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::BackupConfig#include_secrets include_secrets}
|
116
|
+
# value.
|
108
117
|
# @!attribute [r] cluster_metadata
|
109
118
|
# @return [::Google::Cloud::GkeBackup::V1::Backup::ClusterMetadata]
|
110
|
-
# Output only. Information about the GKE cluster from which this Backup was
|
119
|
+
# Output only. Information about the GKE cluster from which this Backup was
|
120
|
+
# created.
|
111
121
|
# @!attribute [r] state
|
112
122
|
# @return [::Google::Cloud::GkeBackup::V1::Backup::State]
|
113
123
|
# Output only. Current state of the Backup
|
114
124
|
# @!attribute [r] state_reason
|
115
125
|
# @return [::String]
|
116
|
-
# Output only. Human-readable description of why the backup is in the current
|
126
|
+
# Output only. Human-readable description of why the backup is in the current
|
127
|
+
# `state`.
|
117
128
|
# @!attribute [r] complete_time
|
118
129
|
# @return [::Google::Protobuf::Timestamp]
|
119
130
|
# Output only. Completion time of the Backup
|
120
131
|
# @!attribute [r] resource_count
|
121
132
|
# @return [::Integer]
|
122
|
-
# Output only. The total number of Kubernetes resources included in the
|
133
|
+
# Output only. The total number of Kubernetes resources included in the
|
134
|
+
# Backup.
|
123
135
|
# @!attribute [r] volume_count
|
124
136
|
# @return [::Integer]
|
125
137
|
# Output only. The total number of volume backups contained in the Backup.
|
126
138
|
# @!attribute [r] size_bytes
|
127
139
|
# @return [::Integer]
|
128
|
-
# Output only. The total size of the Backup in bytes = config backup size +
|
129
|
-
# backup sizes)
|
140
|
+
# Output only. The total size of the Backup in bytes = config backup size +
|
141
|
+
# sum(volume backup sizes)
|
130
142
|
# @!attribute [r] etag
|
131
143
|
# @return [::String]
|
132
|
-
# Output only. `etag` is used for optimistic concurrency control as a way to
|
133
|
-
# prevent simultaneous updates of a backup from overwriting each other.
|
144
|
+
# Output only. `etag` is used for optimistic concurrency control as a way to
|
145
|
+
# help prevent simultaneous updates of a backup from overwriting each other.
|
134
146
|
# It is strongly suggested that systems make use of the `etag` in the
|
135
147
|
# read-modify-write cycle to perform backup updates in order to avoid
|
136
148
|
# race conditions: An `etag` is returned in the response to `GetBackup`,
|
@@ -156,8 +168,8 @@ module Google
|
|
156
168
|
# The source cluster from which this Backup was created.
|
157
169
|
# Valid formats:
|
158
170
|
#
|
159
|
-
# - projects/*/locations/*/clusters
|
160
|
-
# - projects/*/zones/*/clusters
|
171
|
+
# - `projects/*/locations/*/clusters/*`
|
172
|
+
# - `projects/*/zones/*/clusters/*`
|
161
173
|
#
|
162
174
|
# This is inherited from the parent BackupPlan's
|
163
175
|
# {::Google::Cloud::GkeBackup::V1::BackupPlan#cluster cluster} field.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [r] name
|
26
26
|
# @return [::String]
|
27
27
|
# Output only. The full name of the BackupPlan resource.
|
28
|
-
# Format: projects/*/locations/*/backupPlans
|
28
|
+
# Format: `projects/*/locations/*/backupPlans/*`
|
29
29
|
# @!attribute [r] uid
|
30
30
|
# @return [::String]
|
31
31
|
# Output only. Server generated global unique identifier of
|
@@ -42,12 +42,11 @@ module Google
|
|
42
42
|
# User specified descriptive string for this BackupPlan.
|
43
43
|
# @!attribute [rw] cluster
|
44
44
|
# @return [::String]
|
45
|
-
# Required. Immutable. The source cluster from which Backups will be created
|
46
|
-
# this BackupPlan.
|
47
|
-
# Valid formats:
|
45
|
+
# Required. Immutable. The source cluster from which Backups will be created
|
46
|
+
# via this BackupPlan. Valid formats:
|
48
47
|
#
|
49
|
-
# - projects/*/locations/*/clusters
|
50
|
-
# - projects/*/zones/*/clusters
|
48
|
+
# - `projects/*/locations/*/clusters/*`
|
49
|
+
# - `projects/*/zones/*/clusters/*`
|
51
50
|
# @!attribute [rw] retention_policy
|
52
51
|
# @return [::Google::Cloud::GkeBackup::V1::BackupPlan::RetentionPolicy]
|
53
52
|
# RetentionPolicy governs lifecycle of Backups created under this plan.
|
@@ -59,9 +58,9 @@ module Google
|
|
59
58
|
# Defines a schedule for automatic Backup creation via this BackupPlan.
|
60
59
|
# @!attribute [r] etag
|
61
60
|
# @return [::String]
|
62
|
-
# Output only. `etag` is used for optimistic concurrency control as a way to
|
63
|
-
# prevent simultaneous updates of a backup plan from overwriting each
|
64
|
-
# It is strongly suggested that systems make use of the 'etag' in the
|
61
|
+
# Output only. `etag` is used for optimistic concurrency control as a way to
|
62
|
+
# help prevent simultaneous updates of a backup plan from overwriting each
|
63
|
+
# other. It is strongly suggested that systems make use of the 'etag' in the
|
65
64
|
# read-modify-write cycle to perform BackupPlan updates in order to avoid
|
66
65
|
# race conditions: An `etag` is returned in the response to `GetBackupPlan`,
|
67
66
|
# and systems are expected to put that etag in the request to
|
@@ -83,6 +82,16 @@ module Google
|
|
83
82
|
# @return [::Integer]
|
84
83
|
# Output only. The number of Kubernetes Pods backed up in the
|
85
84
|
# last successful Backup created via this BackupPlan.
|
85
|
+
# @!attribute [r] state
|
86
|
+
# @return [::Google::Cloud::GkeBackup::V1::BackupPlan::State]
|
87
|
+
# Output only. State of the BackupPlan. This State field reflects the
|
88
|
+
# various stages a BackupPlan can be in
|
89
|
+
# during the Create operation. It will be set to "DEACTIVATED"
|
90
|
+
# if the BackupPlan is deactivated on an Update
|
91
|
+
# @!attribute [r] state_reason
|
92
|
+
# @return [::String]
|
93
|
+
# Output only. Human-readable description of why BackupPlan is in the current
|
94
|
+
# `state`
|
86
95
|
class BackupPlan
|
87
96
|
include ::Google::Protobuf::MessageExts
|
88
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -102,7 +111,7 @@ module Google
|
|
102
111
|
# @!attribute [rw] backup_retain_days
|
103
112
|
# @return [::Integer]
|
104
113
|
# The default maximum age of a Backup created via this BackupPlan.
|
105
|
-
# This field MUST be an integer value >= 0.
|
114
|
+
# This field MUST be an integer value >= 0 and <= 365.
|
106
115
|
# If specified, a Backup created under this BackupPlan will be
|
107
116
|
# automatically deleted after its age reaches (create_time +
|
108
117
|
# backup_retain_days).
|
@@ -111,7 +120,12 @@ module Google
|
|
111
120
|
# Updating this field does NOT affect existing Backups under it. Backups
|
112
121
|
# created AFTER a successful update will automatically pick up the new
|
113
122
|
# value.
|
114
|
-
# NOTE: backup_retain_days must be >=
|
123
|
+
# NOTE: backup_retain_days must be >=
|
124
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::RetentionPolicy#backup_delete_lock_days backup_delete_lock_days}.
|
125
|
+
# If
|
126
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::Schedule#cron_schedule cron_schedule}
|
127
|
+
# is defined, then this must be
|
128
|
+
# <= 360 * the creation interval.
|
115
129
|
#
|
116
130
|
# Default: 0 (no automatic deletion)
|
117
131
|
# @!attribute [rw] locked
|
@@ -126,12 +140,15 @@ module Google
|
|
126
140
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
127
141
|
end
|
128
142
|
|
129
|
-
#
|
143
|
+
# Defines scheduling parameters for automatically creating Backups
|
130
144
|
# via this BackupPlan.
|
131
145
|
# @!attribute [rw] cron_schedule
|
132
146
|
# @return [::String]
|
133
147
|
# A standard [cron](https://wikipedia.com/wiki/cron) string that defines a
|
134
|
-
# repeating schedule for creating Backups via this BackupPlan.
|
148
|
+
# repeating schedule for creating Backups via this BackupPlan. If this is
|
149
|
+
# defined, then
|
150
|
+
# {::Google::Cloud::GkeBackup::V1::BackupPlan::RetentionPolicy#backup_retain_days backup_retain_days}
|
151
|
+
# must also be defined.
|
135
152
|
#
|
136
153
|
# Default (empty): no automatic backup creation will occur.
|
137
154
|
# @!attribute [rw] paused
|
@@ -189,6 +206,30 @@ module Google
|
|
189
206
|
include ::Google::Protobuf::MessageExts
|
190
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
191
208
|
end
|
209
|
+
|
210
|
+
# State
|
211
|
+
module State
|
212
|
+
# Default first value for Enums.
|
213
|
+
STATE_UNSPECIFIED = 0
|
214
|
+
|
215
|
+
# Waiting for cluster state to be RUNNING.
|
216
|
+
CLUSTER_PENDING = 1
|
217
|
+
|
218
|
+
# The BackupPlan is in the process of being created.
|
219
|
+
PROVISIONING = 2
|
220
|
+
|
221
|
+
# The BackupPlan has successfully been created and is ready for Backups.
|
222
|
+
READY = 3
|
223
|
+
|
224
|
+
# BackupPlan creation has failed.
|
225
|
+
FAILED = 4
|
226
|
+
|
227
|
+
# The BackupPlan has been deactivated.
|
228
|
+
DEACTIVATED = 5
|
229
|
+
|
230
|
+
# The BackupPlan is in the process of being deleted.
|
231
|
+
DELETING = 6
|
232
|
+
end
|
192
233
|
end
|
193
234
|
end
|
194
235
|
end
|
@@ -56,7 +56,7 @@ module Google
|
|
56
56
|
# @!attribute [rw] gcp_kms_encryption_key
|
57
57
|
# @return [::String]
|
58
58
|
# Google Cloud KMS encryption key. Format:
|
59
|
-
# projects/*/locations/*/keyRings/*/cryptoKeys
|
59
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`
|
60
60
|
class EncryptionKey
|
61
61
|
include ::Google::Protobuf::MessageExts
|
62
62
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|