google-apis-gkebackup_v1 0.33.0 → 0.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b58d3229bf95a1a66357c6719469d671c06d11a7cec1523a291195cf51fd5b99
4
- data.tar.gz: 9e9f00a9ad9313f651eec8839c344d062499f1192b18b1091c29f42a58b9d963
3
+ metadata.gz: 0d636399408825f94e39ba93cd003b2b7032b6f59d8941752710652cb9ee9694
4
+ data.tar.gz: a36ab511ec85cdba66e28868225ed74153d6e3e949000366aaebb193ed3e8d16
5
5
  SHA512:
6
- metadata.gz: f7d6b84f8202f5e33f2a5e50ef41b40f235406e446b83c31c2e1272232b9dd00808806c2be30e36b828a51c6f6230f414d066323deea1cc8036545e6448621be
7
- data.tar.gz: 7768559bd47c058746283943cbd53c0b494fea75b56214b0fe3c8f45945db2ebf7d450344bb0371c4741371f35801f6b687ee20b1834cf66ba21f4830a46335d
6
+ metadata.gz: cdd1fceabcefcbf35d2f6659dc5f94ad57245371d6131366d0990d5e1a8cfd7789e9c568dbc2515b876df0d8211eb2f6219b0f6064026a979d7bd72b08c4abd4
7
+ data.tar.gz: 3b6a80d6d1b76aad10dcac17db5db45fe545407278292f2dc8b8e757732c7df3e6eef94e6ebfd0d4c833ba3005888afc560078fcd170a31ce5607c35f3a4b8cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkebackup_v1
2
2
 
3
+ ### v0.34.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240518
6
+
3
7
  ### v0.33.0 (2024-05-19)
4
8
 
5
9
  * Regenerated using generator version 0.15.0
@@ -197,6 +197,14 @@ module Google
197
197
  # @return [String]
198
198
  attr_accessor :name
199
199
 
200
+ # Output only. If false, Backup will fail when Backup for GKE detects Kubernetes
201
+ # configuration that is non-standard or requires additional setup to restore.
202
+ # Inherited from the parent BackupPlan's permissive_mode value.
203
+ # Corresponds to the JSON property `permissiveMode`
204
+ # @return [Boolean]
205
+ attr_accessor :permissive_mode
206
+ alias_method :permissive_mode?, :permissive_mode
207
+
200
208
  # Output only. The total number of Kubernetes Pods contained in the Backup.
201
209
  # Corresponds to the JSON property `podCount`
202
210
  # @return [Fixnum]
@@ -286,6 +294,7 @@ module Google
286
294
  @labels = args[:labels] if args.key?(:labels)
287
295
  @manual = args[:manual] if args.key?(:manual)
288
296
  @name = args[:name] if args.key?(:name)
297
+ @permissive_mode = args[:permissive_mode] if args.key?(:permissive_mode)
289
298
  @pod_count = args[:pod_count] if args.key?(:pod_count)
290
299
  @resource_count = args[:resource_count] if args.key?(:resource_count)
291
300
  @retain_days = args[:retain_days] if args.key?(:retain_days)
@@ -331,6 +340,14 @@ module Google
331
340
  attr_accessor :include_volume_data
332
341
  alias_method :include_volume_data?, :include_volume_data
333
342
 
343
+ # Optional. If false, Backups will fail when Backup for GKE detects Kubernetes
344
+ # configuration that is non-standard or requires additional setup to restore.
345
+ # Default: False
346
+ # Corresponds to the JSON property `permissiveMode`
347
+ # @return [Boolean]
348
+ attr_accessor :permissive_mode
349
+ alias_method :permissive_mode?, :permissive_mode
350
+
334
351
  # A list of namespaced Kubernetes resources.
335
352
  # Corresponds to the JSON property `selectedApplications`
336
353
  # @return [Google::Apis::GkebackupV1::NamespacedNames]
@@ -351,6 +368,7 @@ module Google
351
368
  @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
352
369
  @include_secrets = args[:include_secrets] if args.key?(:include_secrets)
353
370
  @include_volume_data = args[:include_volume_data] if args.key?(:include_volume_data)
371
+ @permissive_mode = args[:permissive_mode] if args.key?(:permissive_mode)
354
372
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
355
373
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
356
374
  end
@@ -907,6 +925,40 @@ module Google
907
925
  end
908
926
  end
909
927
 
928
+ # Defines the filter for `Restore`. This filter can be used to further refine
929
+ # the resource selection of the `Restore` beyond the coarse-grained scope
930
+ # defined in the `RestorePlan`. `exclusion_filters` take precedence over `
931
+ # inclusion_filters`. If a resource matches both `inclusion_filters` and `
932
+ # exclusion_filters`, it will not be restored.
933
+ class Filter
934
+ include Google::Apis::Core::Hashable
935
+
936
+ # Optional. Excludes resources from restoration. If specified, a resource will
937
+ # not be restored if it matches any `ResourceSelector` of the `exclusion_filters`
938
+ # .
939
+ # Corresponds to the JSON property `exclusionFilters`
940
+ # @return [Array<Google::Apis::GkebackupV1::ResourceSelector>]
941
+ attr_accessor :exclusion_filters
942
+
943
+ # Optional. Selects resources for restoration. If specified, only resources
944
+ # which match `inclusion_filters` will be selected for restoration. A resource
945
+ # will be selected if it matches any `ResourceSelector` of the `
946
+ # inclusion_filters`.
947
+ # Corresponds to the JSON property `inclusionFilters`
948
+ # @return [Array<Google::Apis::GkebackupV1::ResourceSelector>]
949
+ attr_accessor :inclusion_filters
950
+
951
+ def initialize(**args)
952
+ update!(**args)
953
+ end
954
+
955
+ # Update properties of this object
956
+ def update!(**args)
957
+ @exclusion_filters = args[:exclusion_filters] if args.key?(:exclusion_filters)
958
+ @inclusion_filters = args[:inclusion_filters] if args.key?(:inclusion_filters)
959
+ end
960
+ end
961
+
910
962
  # Response message for GetBackupIndexDownloadUrl.
911
963
  class GetBackupIndexDownloadUrlResponse
912
964
  include Google::Apis::Core::Hashable
@@ -1094,6 +1146,35 @@ module Google
1094
1146
  end
1095
1147
  end
1096
1148
 
1149
+ # Defines a dependency between two group kinds.
1150
+ class GroupKindDependency
1151
+ include Google::Apis::Core::Hashable
1152
+
1153
+ # This is a direct map to the Kubernetes GroupKind type [GroupKind](https://
1154
+ # godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for
1155
+ # identifying specific "types" of resources to restore.
1156
+ # Corresponds to the JSON property `requiring`
1157
+ # @return [Google::Apis::GkebackupV1::GroupKind]
1158
+ attr_accessor :requiring
1159
+
1160
+ # This is a direct map to the Kubernetes GroupKind type [GroupKind](https://
1161
+ # godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for
1162
+ # identifying specific "types" of resources to restore.
1163
+ # Corresponds to the JSON property `satisfying`
1164
+ # @return [Google::Apis::GkebackupV1::GroupKind]
1165
+ attr_accessor :satisfying
1166
+
1167
+ def initialize(**args)
1168
+ update!(**args)
1169
+ end
1170
+
1171
+ # Update properties of this object
1172
+ def update!(**args)
1173
+ @requiring = args[:requiring] if args.key?(:requiring)
1174
+ @satisfying = args[:satisfying] if args.key?(:satisfying)
1175
+ end
1176
+ end
1177
+
1097
1178
  # Response message for ListBackupPlans.
1098
1179
  class ListBackupPlansResponse
1099
1180
  include Google::Apis::Core::Hashable
@@ -1606,6 +1687,59 @@ module Google
1606
1687
  end
1607
1688
  end
1608
1689
 
1690
+ # Defines a selector to identify a single or a group of resources. Conditions in
1691
+ # the selector are optional, but at least one field should be set to a non-empty
1692
+ # value. If a condition is not specified, no restrictions will be applied on
1693
+ # that dimension. If more than one condition is specified, a resource will be
1694
+ # selected if and only if all conditions are met.
1695
+ class ResourceSelector
1696
+ include Google::Apis::Core::Hashable
1697
+
1698
+ # This is a direct map to the Kubernetes GroupKind type [GroupKind](https://
1699
+ # godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for
1700
+ # identifying specific "types" of resources to restore.
1701
+ # Corresponds to the JSON property `groupKind`
1702
+ # @return [Google::Apis::GkebackupV1::GroupKind]
1703
+ attr_accessor :group_kind
1704
+
1705
+ # Optional. Selects resources using Kubernetes [labels](https://kubernetes.io/
1706
+ # docs/concepts/overview/working-with-objects/labels/). If specified, a resource
1707
+ # will be selected if and only if the resource has all of the provided labels
1708
+ # and all the label values match.
1709
+ # Corresponds to the JSON property `labels`
1710
+ # @return [Hash<String,String>]
1711
+ attr_accessor :labels
1712
+
1713
+ # Optional. Selects resources using their resource names. If specified, only
1714
+ # resources with the provided name will be selected.
1715
+ # Corresponds to the JSON property `name`
1716
+ # @return [String]
1717
+ attr_accessor :name
1718
+
1719
+ # Optional. Selects resources using their namespaces. This only applies to
1720
+ # namespace scoped resources and cannot be used for selecting cluster scoped
1721
+ # resources. If specified, only resources in the provided namespace will be
1722
+ # selected. If not specified, the filter will apply to both cluster scoped and
1723
+ # namespace scoped resources (e.g. name or label). The [Namespace](https://pkg.
1724
+ # go.dev/k8s.io/api/core/v1#Namespace) resource itself will be restored if and
1725
+ # only if any resources within the namespace are restored.
1726
+ # Corresponds to the JSON property `namespace`
1727
+ # @return [String]
1728
+ attr_accessor :namespace
1729
+
1730
+ def initialize(**args)
1731
+ update!(**args)
1732
+ end
1733
+
1734
+ # Update properties of this object
1735
+ def update!(**args)
1736
+ @group_kind = args[:group_kind] if args.key?(:group_kind)
1737
+ @labels = args[:labels] if args.key?(:labels)
1738
+ @name = args[:name] if args.key?(:name)
1739
+ @namespace = args[:namespace] if args.key?(:namespace)
1740
+ end
1741
+ end
1742
+
1609
1743
  # Represents both a request to Restore some portion of a Backup into a target
1610
1744
  # GKE cluster and a record of the restore operation itself.
1611
1745
  class Restore
@@ -1652,6 +1786,15 @@ module Google
1652
1786
  # @return [String]
1653
1787
  attr_accessor :etag
1654
1788
 
1789
+ # Defines the filter for `Restore`. This filter can be used to further refine
1790
+ # the resource selection of the `Restore` beyond the coarse-grained scope
1791
+ # defined in the `RestorePlan`. `exclusion_filters` take precedence over `
1792
+ # inclusion_filters`. If a resource matches both `inclusion_filters` and `
1793
+ # exclusion_filters`, it will not be restored.
1794
+ # Corresponds to the JSON property `filter`
1795
+ # @return [Google::Apis::GkebackupV1::Filter]
1796
+ attr_accessor :filter
1797
+
1655
1798
  # A set of custom labels supplied by user.
1656
1799
  # Corresponds to the JSON property `labels`
1657
1800
  # @return [Hash<String,String>]
@@ -1706,6 +1849,12 @@ module Google
1706
1849
  # @return [String]
1707
1850
  attr_accessor :update_time
1708
1851
 
1852
+ # Optional. Immutable. Overrides the volume data restore policies selected in
1853
+ # the Restore Config for override-scoped resources.
1854
+ # Corresponds to the JSON property `volumeDataRestorePolicyOverrides`
1855
+ # @return [Array<Google::Apis::GkebackupV1::VolumeDataRestorePolicyOverride>]
1856
+ attr_accessor :volume_data_restore_policy_overrides
1857
+
1709
1858
  # Output only. Number of volumes restored during the restore execution.
1710
1859
  # Corresponds to the JSON property `volumesRestoredCount`
1711
1860
  # @return [Fixnum]
@@ -1723,6 +1872,7 @@ module Google
1723
1872
  @create_time = args[:create_time] if args.key?(:create_time)
1724
1873
  @description = args[:description] if args.key?(:description)
1725
1874
  @etag = args[:etag] if args.key?(:etag)
1875
+ @filter = args[:filter] if args.key?(:filter)
1726
1876
  @labels = args[:labels] if args.key?(:labels)
1727
1877
  @name = args[:name] if args.key?(:name)
1728
1878
  @resources_excluded_count = args[:resources_excluded_count] if args.key?(:resources_excluded_count)
@@ -1733,6 +1883,7 @@ module Google
1733
1883
  @state_reason = args[:state_reason] if args.key?(:state_reason)
1734
1884
  @uid = args[:uid] if args.key?(:uid)
1735
1885
  @update_time = args[:update_time] if args.key?(:update_time)
1886
+ @volume_data_restore_policy_overrides = args[:volume_data_restore_policy_overrides] if args.key?(:volume_data_restore_policy_overrides)
1736
1887
  @volumes_restored_count = args[:volumes_restored_count] if args.key?(:volumes_restored_count)
1737
1888
  end
1738
1889
  end
@@ -1788,6 +1939,12 @@ module Google
1788
1939
  attr_accessor :no_namespaces
1789
1940
  alias_method :no_namespaces?, :no_namespaces
1790
1941
 
1942
+ # Allows customers to specify dependencies between resources that Backup for GKE
1943
+ # can use to compute a resasonable restore order.
1944
+ # Corresponds to the JSON property `restoreOrder`
1945
+ # @return [Google::Apis::GkebackupV1::RestoreOrder]
1946
+ attr_accessor :restore_order
1947
+
1791
1948
  # A list of namespaced Kubernetes resources.
1792
1949
  # Corresponds to the JSON property `selectedApplications`
1793
1950
  # @return [Google::Apis::GkebackupV1::NamespacedNames]
@@ -1823,6 +1980,13 @@ module Google
1823
1980
  # @return [String]
1824
1981
  attr_accessor :volume_data_restore_policy
1825
1982
 
1983
+ # Optional. A table that binds volumes by their scope to a restore policy.
1984
+ # Bindings must have a unique scope. Any volumes not scoped in the bindings are
1985
+ # subject to the policy defined in volume_data_restore_policy.
1986
+ # Corresponds to the JSON property `volumeDataRestorePolicyBindings`
1987
+ # @return [Array<Google::Apis::GkebackupV1::VolumeDataRestorePolicyBinding>]
1988
+ attr_accessor :volume_data_restore_policy_bindings
1989
+
1826
1990
  def initialize(**args)
1827
1991
  update!(**args)
1828
1992
  end
@@ -1835,11 +1999,35 @@ module Google
1835
1999
  @excluded_namespaces = args[:excluded_namespaces] if args.key?(:excluded_namespaces)
1836
2000
  @namespaced_resource_restore_mode = args[:namespaced_resource_restore_mode] if args.key?(:namespaced_resource_restore_mode)
1837
2001
  @no_namespaces = args[:no_namespaces] if args.key?(:no_namespaces)
2002
+ @restore_order = args[:restore_order] if args.key?(:restore_order)
1838
2003
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
1839
2004
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
1840
2005
  @substitution_rules = args[:substitution_rules] if args.key?(:substitution_rules)
1841
2006
  @transformation_rules = args[:transformation_rules] if args.key?(:transformation_rules)
1842
2007
  @volume_data_restore_policy = args[:volume_data_restore_policy] if args.key?(:volume_data_restore_policy)
2008
+ @volume_data_restore_policy_bindings = args[:volume_data_restore_policy_bindings] if args.key?(:volume_data_restore_policy_bindings)
2009
+ end
2010
+ end
2011
+
2012
+ # Allows customers to specify dependencies between resources that Backup for GKE
2013
+ # can use to compute a resasonable restore order.
2014
+ class RestoreOrder
2015
+ include Google::Apis::Core::Hashable
2016
+
2017
+ # Optional. Contains a list of group kind dependency pairs provided by the
2018
+ # customer, that is used by Backup for GKE to generate a group kind restore
2019
+ # order.
2020
+ # Corresponds to the JSON property `groupKindDependencies`
2021
+ # @return [Array<Google::Apis::GkebackupV1::GroupKindDependency>]
2022
+ attr_accessor :group_kind_dependencies
2023
+
2024
+ def initialize(**args)
2025
+ update!(**args)
2026
+ end
2027
+
2028
+ # Update properties of this object
2029
+ def update!(**args)
2030
+ @group_kind_dependencies = args[:group_kind_dependencies] if args.key?(:group_kind_dependencies)
1843
2031
  end
1844
2032
  end
1845
2033
 
@@ -2463,6 +2651,56 @@ module Google
2463
2651
  end
2464
2652
  end
2465
2653
 
2654
+ # Binds resources in the scope to the given VolumeDataRestorePolicy.
2655
+ class VolumeDataRestorePolicyBinding
2656
+ include Google::Apis::Core::Hashable
2657
+
2658
+ # Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
2659
+ # Corresponds to the JSON property `policy`
2660
+ # @return [String]
2661
+ attr_accessor :policy
2662
+
2663
+ # The volume type, as determined by the PVC's bound PV, to apply the policy to.
2664
+ # Corresponds to the JSON property `volumeType`
2665
+ # @return [String]
2666
+ attr_accessor :volume_type
2667
+
2668
+ def initialize(**args)
2669
+ update!(**args)
2670
+ end
2671
+
2672
+ # Update properties of this object
2673
+ def update!(**args)
2674
+ @policy = args[:policy] if args.key?(:policy)
2675
+ @volume_type = args[:volume_type] if args.key?(:volume_type)
2676
+ end
2677
+ end
2678
+
2679
+ # Defines an override to apply a VolumeDataRestorePolicy for scoped resources.
2680
+ class VolumeDataRestorePolicyOverride
2681
+ include Google::Apis::Core::Hashable
2682
+
2683
+ # Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
2684
+ # Corresponds to the JSON property `policy`
2685
+ # @return [String]
2686
+ attr_accessor :policy
2687
+
2688
+ # A list of namespaced Kubernetes resources.
2689
+ # Corresponds to the JSON property `selectedPvcs`
2690
+ # @return [Google::Apis::GkebackupV1::NamespacedNames]
2691
+ attr_accessor :selected_pvcs
2692
+
2693
+ def initialize(**args)
2694
+ update!(**args)
2695
+ end
2696
+
2697
+ # Update properties of this object
2698
+ def update!(**args)
2699
+ @policy = args[:policy] if args.key?(:policy)
2700
+ @selected_pvcs = args[:selected_pvcs] if args.key?(:selected_pvcs)
2701
+ end
2702
+ end
2703
+
2466
2704
  # Represents the operation of restoring a volume from a VolumeBackup.
2467
2705
  class VolumeRestore
2468
2706
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkebackupV1
18
18
  # Version of the google-apis-gkebackup_v1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240410"
25
+ REVISION = "20240518"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class Filter
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class GetBackupIndexDownloadUrlResponse
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -142,6 +148,12 @@ module Google
142
148
  include Google::Apis::Core::JsonObjectSupport
143
149
  end
144
150
 
151
+ class GroupKindDependency
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class ListBackupPlansResponse
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -226,6 +238,12 @@ module Google
226
238
  include Google::Apis::Core::JsonObjectSupport
227
239
  end
228
240
 
241
+ class ResourceSelector
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
229
247
  class Restore
230
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
249
 
@@ -238,6 +256,12 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class RestoreOrder
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class RestorePlan
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -310,6 +334,18 @@ module Google
310
334
  include Google::Apis::Core::JsonObjectSupport
311
335
  end
312
336
 
337
+ class VolumeDataRestorePolicyBinding
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class VolumeDataRestorePolicyOverride
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
313
349
  class VolumeRestore
314
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
351
 
@@ -353,6 +389,7 @@ module Google
353
389
  hash :labels, as: 'labels'
354
390
  property :manual, as: 'manual'
355
391
  property :name, as: 'name'
392
+ property :permissive_mode, as: 'permissiveMode'
356
393
  property :pod_count, as: 'podCount'
357
394
  property :resource_count, as: 'resourceCount'
358
395
  property :retain_days, as: 'retainDays'
@@ -378,6 +415,7 @@ module Google
378
415
 
379
416
  property :include_secrets, as: 'includeSecrets'
380
417
  property :include_volume_data, as: 'includeVolumeData'
418
+ property :permissive_mode, as: 'permissiveMode'
381
419
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
382
420
 
383
421
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
@@ -497,6 +535,16 @@ module Google
497
535
  end
498
536
  end
499
537
 
538
+ class Filter
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ collection :exclusion_filters, as: 'exclusionFilters', class: Google::Apis::GkebackupV1::ResourceSelector, decorator: Google::Apis::GkebackupV1::ResourceSelector::Representation
542
+
543
+ collection :inclusion_filters, as: 'inclusionFilters', class: Google::Apis::GkebackupV1::ResourceSelector, decorator: Google::Apis::GkebackupV1::ResourceSelector::Representation
544
+
545
+ end
546
+ end
547
+
500
548
  class GetBackupIndexDownloadUrlResponse
501
549
  # @private
502
550
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -548,6 +596,16 @@ module Google
548
596
  end
549
597
  end
550
598
 
599
+ class GroupKindDependency
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :requiring, as: 'requiring', class: Google::Apis::GkebackupV1::GroupKind, decorator: Google::Apis::GkebackupV1::GroupKind::Representation
603
+
604
+ property :satisfying, as: 'satisfying', class: Google::Apis::GkebackupV1::GroupKind, decorator: Google::Apis::GkebackupV1::GroupKind::Representation
605
+
606
+ end
607
+ end
608
+
551
609
  class ListBackupPlansResponse
552
610
  # @private
553
611
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -683,6 +741,17 @@ module Google
683
741
  end
684
742
  end
685
743
 
744
+ class ResourceSelector
745
+ # @private
746
+ class Representation < Google::Apis::Core::JsonRepresentation
747
+ property :group_kind, as: 'groupKind', class: Google::Apis::GkebackupV1::GroupKind, decorator: Google::Apis::GkebackupV1::GroupKind::Representation
748
+
749
+ hash :labels, as: 'labels'
750
+ property :name, as: 'name'
751
+ property :namespace, as: 'namespace'
752
+ end
753
+ end
754
+
686
755
  class Restore
687
756
  # @private
688
757
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -692,6 +761,8 @@ module Google
692
761
  property :create_time, as: 'createTime'
693
762
  property :description, as: 'description'
694
763
  property :etag, as: 'etag'
764
+ property :filter, as: 'filter', class: Google::Apis::GkebackupV1::Filter, decorator: Google::Apis::GkebackupV1::Filter::Representation
765
+
695
766
  hash :labels, as: 'labels'
696
767
  property :name, as: 'name'
697
768
  property :resources_excluded_count, as: 'resourcesExcludedCount'
@@ -703,6 +774,8 @@ module Google
703
774
  property :state_reason, as: 'stateReason'
704
775
  property :uid, as: 'uid'
705
776
  property :update_time, as: 'updateTime'
777
+ collection :volume_data_restore_policy_overrides, as: 'volumeDataRestorePolicyOverrides', class: Google::Apis::GkebackupV1::VolumeDataRestorePolicyOverride, decorator: Google::Apis::GkebackupV1::VolumeDataRestorePolicyOverride::Representation
778
+
706
779
  property :volumes_restored_count, as: 'volumesRestoredCount'
707
780
  end
708
781
  end
@@ -718,6 +791,8 @@ module Google
718
791
 
719
792
  property :namespaced_resource_restore_mode, as: 'namespacedResourceRestoreMode'
720
793
  property :no_namespaces, as: 'noNamespaces'
794
+ property :restore_order, as: 'restoreOrder', class: Google::Apis::GkebackupV1::RestoreOrder, decorator: Google::Apis::GkebackupV1::RestoreOrder::Representation
795
+
721
796
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
722
797
 
723
798
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
@@ -727,6 +802,16 @@ module Google
727
802
  collection :transformation_rules, as: 'transformationRules', class: Google::Apis::GkebackupV1::TransformationRule, decorator: Google::Apis::GkebackupV1::TransformationRule::Representation
728
803
 
729
804
  property :volume_data_restore_policy, as: 'volumeDataRestorePolicy'
805
+ collection :volume_data_restore_policy_bindings, as: 'volumeDataRestorePolicyBindings', class: Google::Apis::GkebackupV1::VolumeDataRestorePolicyBinding, decorator: Google::Apis::GkebackupV1::VolumeDataRestorePolicyBinding::Representation
806
+
807
+ end
808
+ end
809
+
810
+ class RestoreOrder
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ collection :group_kind_dependencies, as: 'groupKindDependencies', class: Google::Apis::GkebackupV1::GroupKindDependency, decorator: Google::Apis::GkebackupV1::GroupKindDependency::Representation
814
+
730
815
  end
731
816
  end
732
817
 
@@ -864,6 +949,23 @@ module Google
864
949
  end
865
950
  end
866
951
 
952
+ class VolumeDataRestorePolicyBinding
953
+ # @private
954
+ class Representation < Google::Apis::Core::JsonRepresentation
955
+ property :policy, as: 'policy'
956
+ property :volume_type, as: 'volumeType'
957
+ end
958
+ end
959
+
960
+ class VolumeDataRestorePolicyOverride
961
+ # @private
962
+ class Representation < Google::Apis::Core::JsonRepresentation
963
+ property :policy, as: 'policy'
964
+ property :selected_pvcs, as: 'selectedPvcs', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
965
+
966
+ end
967
+ end
968
+
867
969
  class VolumeRestore
868
970
  # @private
869
971
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkebackup_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1
63
63
  post_install_message:
64
64
  rdoc_options: []