google-apis-gkebackup_v1 0.45.0 → 0.47.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: a1b56b60ec7274f76a6aaff6a820b1f72a1efc291873dcd83ff10566a2f73b9d
4
- data.tar.gz: bd79c6262df3099e57065a0d5e02ac777e9f34498d1fa0c82578129dbcec9562
3
+ metadata.gz: 5c2eb1b43ec52030ee077a40db1d0b8a2e83a21d1d9eacc2d7f176762c77c607
4
+ data.tar.gz: b41fe74d2626d0413b62a56fadd4c2c5498e0c5fb5fec07feb7a5f57a34c49dc
5
5
  SHA512:
6
- metadata.gz: 0dd22e151fb57a594a9a301994631ba68ca606c11bef85f48d90e4963d9b4604fc13ec3a6ac78331a3a956cac62db1385a6bc5fac659ac8e5581677fae4001b1
7
- data.tar.gz: 16c290213e2ea1c34ba8caaa9afe88609335172642ce15463dfd56694ebd4b4d2de20bd20e23c21a131515015dbd7248eb16e891c5df665337f6f93994164d65
6
+ metadata.gz: 39532f192b7289ec872cf48fcb73da32237c91a1757af5090f8a3f77a319bd16ad6567598f1f20b7e148edb6db9d9e08fce563f954e1aed3d3257e66d87ba6f5
7
+ data.tar.gz: 11a2068af1f1bbad324c3ef318a1b8c37698815638e6e4877686f1a552279400e358c4288d82b2fe8c1eb260328b93156298126dfab4eac85cdf45a650244be3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkebackup_v1
2
2
 
3
+ ### v0.47.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250528
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.46.0 (2025-05-21)
9
+
10
+ * Regenerated from discovery document revision 20250514
11
+
3
12
  ### v0.45.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250507
@@ -247,6 +247,11 @@ module Google
247
247
  # @return [Google::Apis::GkebackupV1::NamespacedNames]
248
248
  attr_accessor :selected_applications
249
249
 
250
+ # A list of Kubernetes labels.
251
+ # Corresponds to the JSON property `selectedNamespaceLabels`
252
+ # @return [Google::Apis::GkebackupV1::ResourceLabels]
253
+ attr_accessor :selected_namespace_labels
254
+
250
255
  # A list of Kubernetes Namespaces.
251
256
  # Corresponds to the JSON property `selectedNamespaces`
252
257
  # @return [Google::Apis::GkebackupV1::Namespaces]
@@ -315,6 +320,7 @@ module Google
315
320
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
316
321
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
317
322
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
323
+ @selected_namespace_labels = args[:selected_namespace_labels] if args.key?(:selected_namespace_labels)
318
324
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
319
325
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
320
326
  @state = args[:state] if args.key?(:state)
@@ -342,8 +348,7 @@ module Google
342
348
  attr_accessor :description
343
349
 
344
350
  # Required. Immutable. The project where Backups are allowed to be stored. The
345
- # format is `projects/`project``. Currently, `project` can only be the project
346
- # number. Support for project IDs will be added in the future.
351
+ # format is `projects/`projectId`` or `projects/`projectNumber``.
347
352
  # Corresponds to the JSON property `destinationProject`
348
353
  # @return [String]
349
354
  attr_accessor :destination_project
@@ -450,6 +455,11 @@ module Google
450
455
  # @return [Google::Apis::GkebackupV1::NamespacedNames]
451
456
  attr_accessor :selected_applications
452
457
 
458
+ # A list of Kubernetes labels.
459
+ # Corresponds to the JSON property `selectedNamespaceLabels`
460
+ # @return [Google::Apis::GkebackupV1::ResourceLabels]
461
+ attr_accessor :selected_namespace_labels
462
+
453
463
  # A list of Kubernetes Namespaces.
454
464
  # Corresponds to the JSON property `selectedNamespaces`
455
465
  # @return [Google::Apis::GkebackupV1::Namespaces]
@@ -467,6 +477,7 @@ module Google
467
477
  @include_volume_data = args[:include_volume_data] if args.key?(:include_volume_data)
468
478
  @permissive_mode = args[:permissive_mode] if args.key?(:permissive_mode)
469
479
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
480
+ @selected_namespace_labels = args[:selected_namespace_labels] if args.key?(:selected_namespace_labels)
470
481
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
471
482
  end
472
483
  end
@@ -1490,6 +1501,31 @@ module Google
1490
1501
  end
1491
1502
  end
1492
1503
 
1504
+ # A single Kubernetes label-value pair.
1505
+ class Label
1506
+ include Google::Apis::Core::Hashable
1507
+
1508
+ # Optional. The key/name of the label.
1509
+ # Corresponds to the JSON property `key`
1510
+ # @return [String]
1511
+ attr_accessor :key
1512
+
1513
+ # Optional. The value of the label.
1514
+ # Corresponds to the JSON property `value`
1515
+ # @return [String]
1516
+ attr_accessor :value
1517
+
1518
+ def initialize(**args)
1519
+ update!(**args)
1520
+ end
1521
+
1522
+ # Update properties of this object
1523
+ def update!(**args)
1524
+ @key = args[:key] if args.key?(:key)
1525
+ @value = args[:value] if args.key?(:value)
1526
+ end
1527
+ end
1528
+
1493
1529
  # Response message for ListBackupChannels.
1494
1530
  class ListBackupChannelsResponse
1495
1531
  include Google::Apis::Core::Hashable
@@ -2140,6 +2176,25 @@ module Google
2140
2176
  end
2141
2177
  end
2142
2178
 
2179
+ # A list of Kubernetes labels.
2180
+ class ResourceLabels
2181
+ include Google::Apis::Core::Hashable
2182
+
2183
+ # Optional. A list of Kubernetes label-value pairs.
2184
+ # Corresponds to the JSON property `resourceLabels`
2185
+ # @return [Array<Google::Apis::GkebackupV1::Label>]
2186
+ attr_accessor :resource_labels
2187
+
2188
+ def initialize(**args)
2189
+ update!(**args)
2190
+ end
2191
+
2192
+ # Update properties of this object
2193
+ def update!(**args)
2194
+ @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
2195
+ end
2196
+ end
2197
+
2143
2198
  # Defines a selector to identify a single or a group of resources. Conditions in
2144
2199
  # the selector are optional, but at least one field should be set to a non-empty
2145
2200
  # value. If a condition is not specified, no restrictions will be applied on
@@ -2359,8 +2414,7 @@ module Google
2359
2414
  attr_accessor :description
2360
2415
 
2361
2416
  # Required. Immutable. The project into which the backups will be restored. The
2362
- # format is `projects/`project``. Currently, `project` can only be the project
2363
- # number. Support for project IDs will be added in the future.
2417
+ # format is `projects/`projectId`` or `projects/`projectNumber``.
2364
2418
  # Corresponds to the JSON property `destinationProject`
2365
2419
  # @return [String]
2366
2420
  attr_accessor :destination_project
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250507"
25
+ REVISION = "20250528"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class Label
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class ListBackupChannelsResponse
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -286,6 +292,12 @@ module Google
286
292
  include Google::Apis::Core::JsonObjectSupport
287
293
  end
288
294
 
295
+ class ResourceLabels
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
289
301
  class ResourceSelector
290
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
303
 
@@ -464,6 +476,8 @@ module Google
464
476
  property :satisfies_pzs, as: 'satisfiesPzs'
465
477
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
466
478
 
479
+ property :selected_namespace_labels, as: 'selectedNamespaceLabels', class: Google::Apis::GkebackupV1::ResourceLabels, decorator: Google::Apis::GkebackupV1::ResourceLabels::Representation
480
+
467
481
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
468
482
 
469
483
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
@@ -501,6 +515,8 @@ module Google
501
515
  property :permissive_mode, as: 'permissiveMode'
502
516
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
503
517
 
518
+ property :selected_namespace_labels, as: 'selectedNamespaceLabels', class: Google::Apis::GkebackupV1::ResourceLabels, decorator: Google::Apis::GkebackupV1::ResourceLabels::Representation
519
+
504
520
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
505
521
 
506
522
  end
@@ -737,6 +753,14 @@ module Google
737
753
  end
738
754
  end
739
755
 
756
+ class Label
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :key, as: 'key'
760
+ property :value, as: 'value'
761
+ end
762
+ end
763
+
740
764
  class ListBackupChannelsResponse
741
765
  # @private
742
766
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,6 +937,14 @@ module Google
913
937
  end
914
938
  end
915
939
 
940
+ class ResourceLabels
941
+ # @private
942
+ class Representation < Google::Apis::Core::JsonRepresentation
943
+ collection :resource_labels, as: 'resourceLabels', class: Google::Apis::GkebackupV1::Label, decorator: Google::Apis::GkebackupV1::Label::Representation
944
+
945
+ end
946
+ end
947
+
916
948
  class ResourceSelector
917
949
  # @private
918
950
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkebackup_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.47.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkebackup_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Backup for GKE API V1
79
79
  test_files: []