google-cloud-gke_backup-v1 1.2.0 → 1.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 444c13ad6e0d4c39cf339a1e2d47bab8edae82d2c46c583f26f1bc53b04319ed
4
- data.tar.gz: bc0b59d5a8729187853e1b5968f7d240f99d4132d5c4d17fc38652ed856a98b3
3
+ metadata.gz: 3d35041fdc1cbc71a80f186a53f1a4bccf6fa88ed4bf18ae46bcda1b168b7606
4
+ data.tar.gz: 100ec399817e9754cac084ad73f48356cfc29c6c984fb882276dacc07bf530d8
5
5
  SHA512:
6
- metadata.gz: 27bbc7db9ac40caf17735b0a8089d9f7e53f51af428dda9d2966ded7b2e386e0636b02bd3c459dba770c511471d0dbc39d406b6316ba38adcd83376fcf02fbd8
7
- data.tar.gz: 1d845b19a5eb20202ac071b4db40f9bfd86264dbd2bc721e03fb75212e5a0488b3b5c1303e8bd61511805cf9923c5b5fcc63516d97c28b323877c9836644c165
6
+ metadata.gz: 6a9471f9f0a2ac88f60bd29e1f088b4f521a71738f52e6bd257ffa2297f17185187222ca00b2531576e8ea96cdb217ea5fe4d97a25c151d7d0e5c5dd41e7a9a6
7
+ data.tar.gz: bc3e96cb074d00457e971090bfda33dcdedc3cf8ad930fda50d8103cb46b990ea33016b519b6725467b7a65a4a900f098257e3b02c07068eededa8d40ca27511
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeBackup
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  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\"\xcc\x08\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\xd9\x03\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\"{\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
+ 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\"\x9a\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\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"
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\"\xb4\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\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"
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/{project}`.
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/{project}`.
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.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC