Skip to content

Commit 937c78a

Browse files
feat: Automated regeneration of gkebackup v1 client (googleapis#22036)
Auto-created at 2025-03-09 10:38:35 +0000 using the toys pull request generator.
1 parent e1e2fce commit 937c78a

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238312,6 +238312,7 @@
238312238312
"/gkebackup:v1/BackupPlan/etag": etag
238313238313
"/gkebackup:v1/BackupPlan/labels": labels
238314238314
"/gkebackup:v1/BackupPlan/labels/label": label
238315+
"/gkebackup:v1/BackupPlan/lastSuccessfulBackupTime": last_successful_backup_time
238315238316
"/gkebackup:v1/BackupPlan/name": name
238316238317
"/gkebackup:v1/BackupPlan/protectedPodCount": protected_pod_count
238317238318
"/gkebackup:v1/BackupPlan/retentionPolicy": retention_policy

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.40.0 (2025-03-09)
4+
5+
* Regenerated from discovery document revision 20250226
6+
37
### v0.39.0 (2025-01-12)
48

59
* Regenerated from discovery document revision 20250101

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,14 @@ class BackupPlan
434434
# @return [Hash<String,String>]
435435
attr_accessor :labels
436436

437+
# Output only. Completion time of the last successful Backup. This is sourced
438+
# from a successful Backup's complete_time field. This field is added to
439+
# maintain consistency with BackupPlanBinding to display last successful backup
440+
# time.
441+
# Corresponds to the JSON property `lastSuccessfulBackupTime`
442+
# @return [String]
443+
attr_accessor :last_successful_backup_time
444+
437445
# Output only. The full name of the BackupPlan resource. Format: `projects/*/
438446
# locations/*/backupPlans/*`
439447
# Corresponds to the JSON property `name`
@@ -502,6 +510,7 @@ def update!(**args)
502510
@description = args[:description] if args.key?(:description)
503511
@etag = args[:etag] if args.key?(:etag)
504512
@labels = args[:labels] if args.key?(:labels)
513+
@last_successful_backup_time = args[:last_successful_backup_time] if args.key?(:last_successful_backup_time)
505514
@name = args[:name] if args.key?(:name)
506515
@protected_pod_count = args[:protected_pod_count] if args.key?(:protected_pod_count)
507516
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)

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.39.0"
19+
GEM_VERSION = "0.40.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
436436
property :description, as: 'description'
437437
property :etag, as: 'etag'
438438
hash :labels, as: 'labels'
439+
property :last_successful_backup_time, as: 'lastSuccessfulBackupTime'
439440
property :name, as: 'name'
440441
property :protected_pod_count, as: 'protectedPodCount'
441442
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::GkebackupV1::RetentionPolicy, decorator: Google::Apis::GkebackupV1::RetentionPolicy::Representation

0 commit comments

Comments
 (0)