google-apis-gkebackup_v1 0.46.0 → 0.48.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: 3df5faf607cb3146963874c8ae7f1a8de760dc0509a592826454645cb1eb1340
4
- data.tar.gz: e4e202f8365de57d4cb8877e47f455b926ba984e90d47747f04e9ee63b827af6
3
+ metadata.gz: 222f0fa986c7422afc5b54807f0a23dc11ca1f9f40bddf5d934ae03d354dce8f
4
+ data.tar.gz: 00712642051e3eca9fc529eef8fef749aaa6118a4d10c201d0e8fff9a61e3007
5
5
  SHA512:
6
- metadata.gz: 26748ff1f38ecc86cc1acb7bc2474ca66684af07dca1c7b0bea0c48d3fbff7557fff3bad9cef0517e54993e478fc8c9baf504ecd0ed1ade62724ba51e025d9fd
7
- data.tar.gz: 8d1721c57ab2f480656797d0b6837497fd88a134095d4480a162988b8ecd50d7afa72d45006dd18cabbf12a0ab2443147dfe8142227418641ada018e1c474e51
6
+ metadata.gz: d58c0735d0ae9fbe19a948b0966d71a6daf836f5a01266ce4c8f626ab5e19cc0c905846974d7a476b76faebbf71fdcd9405a3775e8e5a2ad872b12b4fb35a9ee
7
+ data.tar.gz: ab8ab4c80140ab2b9cfdbe8be8db5eec36067b007eef2ddc7149de5b4c82753b740bda4e72d96496bf353dbc8d40d8aa15cf32313f27fe54c8b833e25cf01bb5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkebackup_v1
2
2
 
3
+ ### v0.48.0 (2025-08-03)
4
+
5
+ * Regenerated from discovery document revision 20250723
6
+
7
+ ### v0.47.0 (2025-06-08)
8
+
9
+ * Regenerated from discovery document revision 20250528
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.46.0 (2025-05-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20250514
@@ -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]
@@ -270,6 +275,13 @@ module Google
270
275
  # @return [String]
271
276
  attr_accessor :state_reason
272
277
 
278
+ # Stores information about troubleshooting doc for debugging a particular state
279
+ # of an operation (eg - backup/restore). This will be used by the end user to
280
+ # debug their operation failure scenario easily.
281
+ # Corresponds to the JSON property `troubleshootingInfo`
282
+ # @return [Google::Apis::GkebackupV1::TroubleshootingInfo]
283
+ attr_accessor :troubleshooting_info
284
+
273
285
  # Output only. Server generated global unique identifier of [UUID4](https://en.
274
286
  # wikipedia.org/wiki/Universally_unique_identifier)
275
287
  # Corresponds to the JSON property `uid`
@@ -315,10 +327,12 @@ module Google
315
327
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
316
328
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
317
329
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
330
+ @selected_namespace_labels = args[:selected_namespace_labels] if args.key?(:selected_namespace_labels)
318
331
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
319
332
  @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
320
333
  @state = args[:state] if args.key?(:state)
321
334
  @state_reason = args[:state_reason] if args.key?(:state_reason)
335
+ @troubleshooting_info = args[:troubleshooting_info] if args.key?(:troubleshooting_info)
322
336
  @uid = args[:uid] if args.key?(:uid)
323
337
  @update_time = args[:update_time] if args.key?(:update_time)
324
338
  @volume_count = args[:volume_count] if args.key?(:volume_count)
@@ -449,6 +463,11 @@ module Google
449
463
  # @return [Google::Apis::GkebackupV1::NamespacedNames]
450
464
  attr_accessor :selected_applications
451
465
 
466
+ # A list of Kubernetes labels.
467
+ # Corresponds to the JSON property `selectedNamespaceLabels`
468
+ # @return [Google::Apis::GkebackupV1::ResourceLabels]
469
+ attr_accessor :selected_namespace_labels
470
+
452
471
  # A list of Kubernetes Namespaces.
453
472
  # Corresponds to the JSON property `selectedNamespaces`
454
473
  # @return [Google::Apis::GkebackupV1::Namespaces]
@@ -466,6 +485,7 @@ module Google
466
485
  @include_volume_data = args[:include_volume_data] if args.key?(:include_volume_data)
467
486
  @permissive_mode = args[:permissive_mode] if args.key?(:permissive_mode)
468
487
  @selected_applications = args[:selected_applications] if args.key?(:selected_applications)
488
+ @selected_namespace_labels = args[:selected_namespace_labels] if args.key?(:selected_namespace_labels)
469
489
  @selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
470
490
  end
471
491
  end
@@ -1489,6 +1509,31 @@ module Google
1489
1509
  end
1490
1510
  end
1491
1511
 
1512
+ # A single Kubernetes label-value pair.
1513
+ class Label
1514
+ include Google::Apis::Core::Hashable
1515
+
1516
+ # Optional. The key/name of the label.
1517
+ # Corresponds to the JSON property `key`
1518
+ # @return [String]
1519
+ attr_accessor :key
1520
+
1521
+ # Optional. The value of the label.
1522
+ # Corresponds to the JSON property `value`
1523
+ # @return [String]
1524
+ attr_accessor :value
1525
+
1526
+ def initialize(**args)
1527
+ update!(**args)
1528
+ end
1529
+
1530
+ # Update properties of this object
1531
+ def update!(**args)
1532
+ @key = args[:key] if args.key?(:key)
1533
+ @value = args[:value] if args.key?(:value)
1534
+ end
1535
+ end
1536
+
1492
1537
  # Response message for ListBackupChannels.
1493
1538
  class ListBackupChannelsResponse
1494
1539
  include Google::Apis::Core::Hashable
@@ -2139,6 +2184,25 @@ module Google
2139
2184
  end
2140
2185
  end
2141
2186
 
2187
+ # A list of Kubernetes labels.
2188
+ class ResourceLabels
2189
+ include Google::Apis::Core::Hashable
2190
+
2191
+ # Optional. A list of Kubernetes label-value pairs.
2192
+ # Corresponds to the JSON property `resourceLabels`
2193
+ # @return [Array<Google::Apis::GkebackupV1::Label>]
2194
+ attr_accessor :resource_labels
2195
+
2196
+ def initialize(**args)
2197
+ update!(**args)
2198
+ end
2199
+
2200
+ # Update properties of this object
2201
+ def update!(**args)
2202
+ @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
2203
+ end
2204
+ end
2205
+
2142
2206
  # Defines a selector to identify a single or a group of resources. Conditions in
2143
2207
  # the selector are optional, but at least one field should be set to a non-empty
2144
2208
  # value. If a condition is not specified, no restrictions will be applied on
@@ -2291,6 +2355,13 @@ module Google
2291
2355
  # @return [String]
2292
2356
  attr_accessor :state_reason
2293
2357
 
2358
+ # Stores information about troubleshooting doc for debugging a particular state
2359
+ # of an operation (eg - backup/restore). This will be used by the end user to
2360
+ # debug their operation failure scenario easily.
2361
+ # Corresponds to the JSON property `troubleshootingInfo`
2362
+ # @return [Google::Apis::GkebackupV1::TroubleshootingInfo]
2363
+ attr_accessor :troubleshooting_info
2364
+
2294
2365
  # Output only. Server generated global unique identifier of [UUID](https://en.
2295
2366
  # wikipedia.org/wiki/Universally_unique_identifier) format.
2296
2367
  # Corresponds to the JSON property `uid`
@@ -2334,6 +2405,7 @@ module Google
2334
2405
  @restore_config = args[:restore_config] if args.key?(:restore_config)
2335
2406
  @state = args[:state] if args.key?(:state)
2336
2407
  @state_reason = args[:state_reason] if args.key?(:state_reason)
2408
+ @troubleshooting_info = args[:troubleshooting_info] if args.key?(:troubleshooting_info)
2337
2409
  @uid = args[:uid] if args.key?(:uid)
2338
2410
  @update_time = args[:update_time] if args.key?(:update_time)
2339
2411
  @volume_data_restore_policy_overrides = args[:volume_data_restore_policy_overrides] if args.key?(:volume_data_restore_policy_overrides)
@@ -3197,6 +3269,35 @@ module Google
3197
3269
  end
3198
3270
  end
3199
3271
 
3272
+ # Stores information about troubleshooting doc for debugging a particular state
3273
+ # of an operation (eg - backup/restore). This will be used by the end user to
3274
+ # debug their operation failure scenario easily.
3275
+ class TroubleshootingInfo
3276
+ include Google::Apis::Core::Hashable
3277
+
3278
+ # Output only. Unique code for each backup/restore operation failure message
3279
+ # which helps user identify the failure.
3280
+ # Corresponds to the JSON property `stateReasonCode`
3281
+ # @return [String]
3282
+ attr_accessor :state_reason_code
3283
+
3284
+ # Output only. URL for the troubleshooting doc which will help the user fix the
3285
+ # failing backup/restore operation.
3286
+ # Corresponds to the JSON property `stateReasonUri`
3287
+ # @return [String]
3288
+ attr_accessor :state_reason_uri
3289
+
3290
+ def initialize(**args)
3291
+ update!(**args)
3292
+ end
3293
+
3294
+ # Update properties of this object
3295
+ def update!(**args)
3296
+ @state_reason_code = args[:state_reason_code] if args.key?(:state_reason_code)
3297
+ @state_reason_uri = args[:state_reason_uri] if args.key?(:state_reason_uri)
3298
+ end
3299
+ end
3300
+
3200
3301
  # Represents the backup of a specific persistent volume as a component of a
3201
3302
  # Backup - both the record of the operation and a pointer to the underlying
3202
3303
  # storage-specific artifacts.
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.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 = "20250514"
25
+ REVISION = "20250723"
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
 
@@ -394,6 +406,12 @@ module Google
394
406
  include Google::Apis::Core::JsonObjectSupport
395
407
  end
396
408
 
409
+ class TroubleshootingInfo
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
397
415
  class VolumeBackup
398
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
417
 
@@ -464,11 +482,15 @@ module Google
464
482
  property :satisfies_pzs, as: 'satisfiesPzs'
465
483
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
466
484
 
485
+ property :selected_namespace_labels, as: 'selectedNamespaceLabels', class: Google::Apis::GkebackupV1::ResourceLabels, decorator: Google::Apis::GkebackupV1::ResourceLabels::Representation
486
+
467
487
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
468
488
 
469
489
  property :size_bytes, :numeric_string => true, as: 'sizeBytes'
470
490
  property :state, as: 'state'
471
491
  property :state_reason, as: 'stateReason'
492
+ property :troubleshooting_info, as: 'troubleshootingInfo', class: Google::Apis::GkebackupV1::TroubleshootingInfo, decorator: Google::Apis::GkebackupV1::TroubleshootingInfo::Representation
493
+
472
494
  property :uid, as: 'uid'
473
495
  property :update_time, as: 'updateTime'
474
496
  property :volume_count, as: 'volumeCount'
@@ -501,6 +523,8 @@ module Google
501
523
  property :permissive_mode, as: 'permissiveMode'
502
524
  property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
503
525
 
526
+ property :selected_namespace_labels, as: 'selectedNamespaceLabels', class: Google::Apis::GkebackupV1::ResourceLabels, decorator: Google::Apis::GkebackupV1::ResourceLabels::Representation
527
+
504
528
  property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
505
529
 
506
530
  end
@@ -737,6 +761,14 @@ module Google
737
761
  end
738
762
  end
739
763
 
764
+ class Label
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :key, as: 'key'
768
+ property :value, as: 'value'
769
+ end
770
+ end
771
+
740
772
  class ListBackupChannelsResponse
741
773
  # @private
742
774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,6 +945,14 @@ module Google
913
945
  end
914
946
  end
915
947
 
948
+ class ResourceLabels
949
+ # @private
950
+ class Representation < Google::Apis::Core::JsonRepresentation
951
+ collection :resource_labels, as: 'resourceLabels', class: Google::Apis::GkebackupV1::Label, decorator: Google::Apis::GkebackupV1::Label::Representation
952
+
953
+ end
954
+ end
955
+
916
956
  class ResourceSelector
917
957
  # @private
918
958
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -944,6 +984,8 @@ module Google
944
984
 
945
985
  property :state, as: 'state'
946
986
  property :state_reason, as: 'stateReason'
987
+ property :troubleshooting_info, as: 'troubleshootingInfo', class: Google::Apis::GkebackupV1::TroubleshootingInfo, decorator: Google::Apis::GkebackupV1::TroubleshootingInfo::Representation
988
+
947
989
  property :uid, as: 'uid'
948
990
  property :update_time, as: 'updateTime'
949
991
  collection :volume_data_restore_policy_overrides, as: 'volumeDataRestorePolicyOverrides', class: Google::Apis::GkebackupV1::VolumeDataRestorePolicyOverride, decorator: Google::Apis::GkebackupV1::VolumeDataRestorePolicyOverride::Representation
@@ -1138,6 +1180,14 @@ module Google
1138
1180
  end
1139
1181
  end
1140
1182
 
1183
+ class TroubleshootingInfo
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ property :state_reason_code, as: 'stateReasonCode'
1187
+ property :state_reason_uri, as: 'stateReasonUri'
1188
+ end
1189
+ end
1190
+
1141
1191
  class VolumeBackup
1142
1192
  # @private
1143
1193
  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.46.0
4
+ version: 0.48.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.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.48.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: