Skip to content

Commit e3d9339

Browse files
feat: Automated regeneration of gkebackup v1 client (googleapis#23368)
Auto-created at 2025-06-08 10:36:55 +0000 using the toys pull request generator.
1 parent 7d2b44d commit e3d9339

File tree

5 files changed

+104
-3
lines changed

5 files changed

+104
-3
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246965,6 +246965,7 @@
246965246965
"/gkebackup:v1/Backup/satisfiesPzi": satisfies_pzi
246966246966
"/gkebackup:v1/Backup/satisfiesPzs": satisfies_pzs
246967246967
"/gkebackup:v1/Backup/selectedApplications": selected_applications
246968+
"/gkebackup:v1/Backup/selectedNamespaceLabels": selected_namespace_labels
246968246969
"/gkebackup:v1/Backup/selectedNamespaces": selected_namespaces
246969246970
"/gkebackup:v1/Backup/sizeBytes": size_bytes
246970246971
"/gkebackup:v1/Backup/state": state
@@ -246990,6 +246991,7 @@
246990246991
"/gkebackup:v1/BackupConfig/includeVolumeData": include_volume_data
246991246992
"/gkebackup:v1/BackupConfig/permissiveMode": permissive_mode
246992246993
"/gkebackup:v1/BackupConfig/selectedApplications": selected_applications
246994+
"/gkebackup:v1/BackupConfig/selectedNamespaceLabels": selected_namespace_labels
246993246995
"/gkebackup:v1/BackupConfig/selectedNamespaces": selected_namespaces
246994246996
"/gkebackup:v1/BackupConfigDetails": backup_config_details
246995246997
"/gkebackup:v1/BackupConfigDetails/allNamespaces": all_namespaces
@@ -247109,6 +247111,9 @@
247109247111
"/gkebackup:v1/GroupKindDependency": group_kind_dependency
247110247112
"/gkebackup:v1/GroupKindDependency/requiring": requiring
247111247113
"/gkebackup:v1/GroupKindDependency/satisfying": satisfying
247114+
"/gkebackup:v1/Label": label
247115+
"/gkebackup:v1/Label/key": key
247116+
"/gkebackup:v1/Label/value": value
247112247117
"/gkebackup:v1/ListBackupChannelsResponse": list_backup_channels_response
247113247118
"/gkebackup:v1/ListBackupChannelsResponse/backupChannels": backup_channels
247114247119
"/gkebackup:v1/ListBackupChannelsResponse/backupChannels/backup_channel": backup_channel
@@ -247207,6 +247212,9 @@
247207247212
"/gkebackup:v1/ResourceFilter/jsonPath": json_path
247208247213
"/gkebackup:v1/ResourceFilter/namespaces": namespaces
247209247214
"/gkebackup:v1/ResourceFilter/namespaces/namespace": namespace
247215+
"/gkebackup:v1/ResourceLabels": resource_labels
247216+
"/gkebackup:v1/ResourceLabels/resourceLabels": resource_labels
247217+
"/gkebackup:v1/ResourceLabels/resourceLabels/resource_label": resource_label
247210247218
"/gkebackup:v1/ResourceSelector": resource_selector
247211247219
"/gkebackup:v1/ResourceSelector/groupKind": group_kind
247212247220
"/gkebackup:v1/ResourceSelector/labels": labels

generated/google-apis-gkebackup_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-gkebackup_v1
22

3+
### v0.47.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250528
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.46.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250514

generated/google-apis-gkebackup_v1/lib/google/apis/gkebackup_v1/classes.rb

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ class Backup
247247
# @return [Google::Apis::GkebackupV1::NamespacedNames]
248248
attr_accessor :selected_applications
249249

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+
250255
# A list of Kubernetes Namespaces.
251256
# Corresponds to the JSON property `selectedNamespaces`
252257
# @return [Google::Apis::GkebackupV1::Namespaces]
@@ -315,6 +320,7 @@ def update!(**args)
315320
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
316321
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
317322
@selected_applications = args[:selected_applications] if args.key?(:selected_applications)
323+
@selected_namespace_labels = args[:selected_namespace_labels] if args.key?(:selected_namespace_labels)
318324
@selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
319325
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
320326
@state = args[:state] if args.key?(:state)
@@ -449,6 +455,11 @@ class BackupConfig
449455
# @return [Google::Apis::GkebackupV1::NamespacedNames]
450456
attr_accessor :selected_applications
451457

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+
452463
# A list of Kubernetes Namespaces.
453464
# Corresponds to the JSON property `selectedNamespaces`
454465
# @return [Google::Apis::GkebackupV1::Namespaces]
@@ -466,6 +477,7 @@ def update!(**args)
466477
@include_volume_data = args[:include_volume_data] if args.key?(:include_volume_data)
467478
@permissive_mode = args[:permissive_mode] if args.key?(:permissive_mode)
468479
@selected_applications = args[:selected_applications] if args.key?(:selected_applications)
480+
@selected_namespace_labels = args[:selected_namespace_labels] if args.key?(:selected_namespace_labels)
469481
@selected_namespaces = args[:selected_namespaces] if args.key?(:selected_namespaces)
470482
end
471483
end
@@ -1489,6 +1501,31 @@ def update!(**args)
14891501
end
14901502
end
14911503

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+
14921529
# Response message for ListBackupChannels.
14931530
class ListBackupChannelsResponse
14941531
include Google::Apis::Core::Hashable
@@ -2139,6 +2176,25 @@ def update!(**args)
21392176
end
21402177
end
21412178

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+
21422198
# Defines a selector to identify a single or a group of resources. Conditions in
21432199
# the selector are optional, but at least one field should be set to a non-empty
21442200
# value. If a condition is not specified, no restrictions will be applied on

generated/google-apis-gkebackup_v1/lib/google/apis/gkebackup_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GkebackupV1
1818
# Version of the google-apis-gkebackup_v1 gem
19-
GEM_VERSION = "0.46.0"
19+
GEM_VERSION = "0.47.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250514"
25+
REVISION = "20250528"
2626
end
2727
end
2828
end

generated/google-apis-gkebackup_v1/lib/google/apis/gkebackup_v1/representations.rb

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
178178
include Google::Apis::Core::JsonObjectSupport
179179
end
180180

181+
class Label
182+
class Representation < Google::Apis::Core::JsonRepresentation; end
183+
184+
include Google::Apis::Core::JsonObjectSupport
185+
end
186+
181187
class ListBackupChannelsResponse
182188
class Representation < Google::Apis::Core::JsonRepresentation; end
183189

@@ -286,6 +292,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
286292
include Google::Apis::Core::JsonObjectSupport
287293
end
288294

295+
class ResourceLabels
296+
class Representation < Google::Apis::Core::JsonRepresentation; end
297+
298+
include Google::Apis::Core::JsonObjectSupport
299+
end
300+
289301
class ResourceSelector
290302
class Representation < Google::Apis::Core::JsonRepresentation; end
291303

@@ -464,6 +476,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
464476
property :satisfies_pzs, as: 'satisfiesPzs'
465477
property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
466478

479+
property :selected_namespace_labels, as: 'selectedNamespaceLabels', class: Google::Apis::GkebackupV1::ResourceLabels, decorator: Google::Apis::GkebackupV1::ResourceLabels::Representation
480+
467481
property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
468482

469483
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
@@ -501,6 +515,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
501515
property :permissive_mode, as: 'permissiveMode'
502516
property :selected_applications, as: 'selectedApplications', class: Google::Apis::GkebackupV1::NamespacedNames, decorator: Google::Apis::GkebackupV1::NamespacedNames::Representation
503517

518+
property :selected_namespace_labels, as: 'selectedNamespaceLabels', class: Google::Apis::GkebackupV1::ResourceLabels, decorator: Google::Apis::GkebackupV1::ResourceLabels::Representation
519+
504520
property :selected_namespaces, as: 'selectedNamespaces', class: Google::Apis::GkebackupV1::Namespaces, decorator: Google::Apis::GkebackupV1::Namespaces::Representation
505521

506522
end
@@ -737,6 +753,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
737753
end
738754
end
739755

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+
740764
class ListBackupChannelsResponse
741765
# @private
742766
class Representation < Google::Apis::Core::JsonRepresentation
@@ -913,6 +937,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
913937
end
914938
end
915939

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+
916948
class ResourceSelector
917949
# @private
918950
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)