Skip to content

Commit b5f019c

Browse files
feat: Automated regeneration of gkebackup v1 client (#25797)
Auto-created at 2026-02-22 10:33:34 +0000 using the toys pull request generator.
1 parent 97afdcd commit b5f019c

File tree

5 files changed

+24
-2
lines changed

5 files changed

+24
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275725,6 +275725,7 @@
275725275725
"/gkebackup:v1/Backup/labels/label": label
275726275726
"/gkebackup:v1/Backup/manual": manual
275727275727
"/gkebackup:v1/Backup/name": name
275728+
"/gkebackup:v1/Backup/namespaceCount": namespace_count
275728275729
"/gkebackup:v1/Backup/permissiveMode": permissive_mode
275729275730
"/gkebackup:v1/Backup/podCount": pod_count
275730275731
"/gkebackup:v1/Backup/resourceCount": resource_count
@@ -275782,6 +275783,7 @@
275782275783
"/gkebackup:v1/BackupPlan/labels/label": label
275783275784
"/gkebackup:v1/BackupPlan/lastSuccessfulBackupTime": last_successful_backup_time
275784275785
"/gkebackup:v1/BackupPlan/name": name
275786+
"/gkebackup:v1/BackupPlan/protectedNamespaceCount": protected_namespace_count
275785275787
"/gkebackup:v1/BackupPlan/protectedPodCount": protected_pod_count
275786275788
"/gkebackup:v1/BackupPlan/retentionPolicy": retention_policy
275787275789
"/gkebackup:v1/BackupPlan/rpoRiskLevel": rpo_risk_level

generated/google-apis-gkebackup_v1/CHANGELOG.md

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

3+
### v0.58.0 (2026-02-22)
4+
5+
* Regenerated from discovery document revision 20260213
6+
37
### v0.57.0 (2026-02-08)
48

59
* Regenerated from discovery document revision 20260202

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,12 @@ class Backup
465465
# @return [String]
466466
attr_accessor :name
467467

468+
# Output only. The total number of user managed namespaces contained in the
469+
# Backup.
470+
# Corresponds to the JSON property `namespaceCount`
471+
# @return [Fixnum]
472+
attr_accessor :namespace_count
473+
468474
# Output only. If false, Backup will fail when Backup for GKE detects Kubernetes
469475
# configuration that is non-standard or requires additional setup to restore.
470476
# Inherited from the parent BackupPlan's permissive_mode value.
@@ -587,6 +593,7 @@ def update!(**args)
587593
@labels = args[:labels] if args.key?(:labels)
588594
@manual = args[:manual] if args.key?(:manual)
589595
@name = args[:name] if args.key?(:name)
596+
@namespace_count = args[:namespace_count] if args.key?(:namespace_count)
590597
@permissive_mode = args[:permissive_mode] if args.key?(:permissive_mode)
591598
@pod_count = args[:pod_count] if args.key?(:pod_count)
592599
@resource_count = args[:resource_count] if args.key?(:resource_count)
@@ -894,6 +901,12 @@ class BackupPlan
894901
# @return [String]
895902
attr_accessor :name
896903

904+
# Output only. The number of user managed namespaces backed up in the last
905+
# successful Backup created via this BackupPlan.
906+
# Corresponds to the JSON property `protectedNamespaceCount`
907+
# @return [Fixnum]
908+
attr_accessor :protected_namespace_count
909+
897910
# Output only. The number of Kubernetes Pods backed up in the last successful
898911
# Backup created via this BackupPlan.
899912
# Corresponds to the JSON property `protectedPodCount`
@@ -959,6 +972,7 @@ def update!(**args)
959972
@labels = args[:labels] if args.key?(:labels)
960973
@last_successful_backup_time = args[:last_successful_backup_time] if args.key?(:last_successful_backup_time)
961974
@name = args[:name] if args.key?(:name)
975+
@protected_namespace_count = args[:protected_namespace_count] if args.key?(:protected_namespace_count)
962976
@protected_pod_count = args[:protected_pod_count] if args.key?(:protected_pod_count)
963977
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
964978
@rpo_risk_level = args[:rpo_risk_level] if args.key?(:rpo_risk_level)

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

Lines changed: 2 additions & 2 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.57.0"
19+
GEM_VERSION = "0.58.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
568568
hash :labels, as: 'labels'
569569
property :manual, as: 'manual'
570570
property :name, as: 'name'
571+
property :namespace_count, as: 'namespaceCount'
571572
property :permissive_mode, as: 'permissiveMode'
572573
property :pod_count, as: 'podCount'
573574
property :resource_count, as: 'resourceCount'
@@ -656,6 +657,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
656657
hash :labels, as: 'labels'
657658
property :last_successful_backup_time, as: 'lastSuccessfulBackupTime'
658659
property :name, as: 'name'
660+
property :protected_namespace_count, as: 'protectedNamespaceCount'
659661
property :protected_pod_count, as: 'protectedPodCount'
660662
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::GkebackupV1::RetentionPolicy, decorator: Google::Apis::GkebackupV1::RetentionPolicy::Representation
661663

0 commit comments

Comments
 (0)