google-apis-gkebackup_v1 0.55.0 → 0.56.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: 6f39b46a41875f2350a23f06591caef53d7782eda5090653e070ae0f32f59a8b
4
- data.tar.gz: 70007db5febb91e850ff87986212983047850aec4bbbf1e32689b5182451c8ff
3
+ metadata.gz: 6d9723d86d95a3d31305b747ee7cc7b01e8d0812da4af71076e9d2a706c29285
4
+ data.tar.gz: 0f31a80e7a4d110ffec23668ac772fd2996e609b8266e45cc66a0829c95c7091
5
5
  SHA512:
6
- metadata.gz: 6520a02036608cc287bceff4ca44f8b2be9916718f361ea594fee59aef9bd3c56a1ab124853236c50c5d8318ed19c707ea0ae11f1de24abaca9237970d7f7e6b
7
- data.tar.gz: 1483d0202c4e590d36a19cb0389f0d32ce2722cb8e4a543301d8e52d401b58c9c33e1b8e87faffda71d02f0a0b5231155644044816e2b0da949f0fee669c282a
6
+ metadata.gz: a6bba53d4e63e2bc7edace07ab19f67703ed6c683eee0208d827db4e2c3443725cd97b11f83ed5ab0e95e406f4b8a450f57265a443f067c760fcefa32699ad25
7
+ data.tar.gz: cc95975604464b7bbfc5bb3b5b17909a13e2fbbc681a56613ab9d0ec0ba520221055bab1474784354df04e9da76a3455aa10330cfa295f89aec6304d40f3f8bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkebackup_v1
2
2
 
3
+ ### v0.56.0 (2026-02-01)
4
+
5
+ * Regenerated from discovery document revision 20260120
6
+
3
7
  ### v0.55.0 (2026-01-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20260107
@@ -93,6 +93,274 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
+ # Log entry for BDRBackupPlanJobLog for resources using BackupPlan based
97
+ # protection.
98
+ class BdrBackupPlanJobLog
99
+ include Google::Apis::Core::Hashable
100
+
101
+ # Canonical resource name for Backup Plan Plan of the job.
102
+ # Corresponds to the JSON property `backupPlanName`
103
+ # @return [String]
104
+ attr_accessor :backup_plan_name
105
+
106
+ # End time of the job.
107
+ # Corresponds to the JSON property `endTime`
108
+ # @return [String]
109
+ attr_accessor :end_time
110
+
111
+ # The error code. Only populated in error scenarios.
112
+ # Corresponds to the JSON property `errorCode`
113
+ # @return [Fixnum]
114
+ attr_accessor :error_code
115
+
116
+ # The user readable error message. Only populated in error scenarios.
117
+ # Corresponds to the JSON property `errorMessage`
118
+ # @return [String]
119
+ attr_accessor :error_message
120
+
121
+ # The name of the error type eg. PERMISSION_DENIED. Only populated in error
122
+ # scenarios.
123
+ # Corresponds to the JSON property `errorType`
124
+ # @return [String]
125
+ attr_accessor :error_type
126
+
127
+ # The category field displays the category of the job. Can be one of [
128
+ # UPDATE_BACKUP_PLAN].
129
+ # Corresponds to the JSON property `jobCategory`
130
+ # @return [String]
131
+ attr_accessor :job_category
132
+
133
+ # The job_id field displays the identifier of the job being reported.
134
+ # Corresponds to the JSON property `jobId`
135
+ # @return [String]
136
+ attr_accessor :job_id
137
+
138
+ # The status field displays the status of the job. Can be one of [RUNNING,
139
+ # SUCCESSFUL, FAILED].
140
+ # Corresponds to the JSON property `jobStatus`
141
+ # @return [String]
142
+ attr_accessor :job_status
143
+
144
+ # User friendly revision id e.g. v0, v1 etc.
145
+ # Corresponds to the JSON property `newBackupPlanRevisionId`
146
+ # @return [String]
147
+ attr_accessor :new_backup_plan_revision_id
148
+
149
+ # Full resource name for new backup plan revision
150
+ # Corresponds to the JSON property `newBackupPlanRevisionName`
151
+ # @return [String]
152
+ attr_accessor :new_backup_plan_revision_name
153
+
154
+ # User friendly revision id e.g. v0, v1 etc.
155
+ # Corresponds to the JSON property `previousBackupPlanRevisionId`
156
+ # @return [String]
157
+ attr_accessor :previous_backup_plan_revision_id
158
+
159
+ # Full resource name for previous backup plan revision
160
+ # Corresponds to the JSON property `previousBackupPlanRevisionName`
161
+ # @return [String]
162
+ attr_accessor :previous_backup_plan_revision_name
163
+
164
+ # Previous Backup Plan rules.
165
+ # Corresponds to the JSON property `previousBackupRules`
166
+ # @return [Array<Google::Apis::GkebackupV1::BackupRuleDetail>]
167
+ attr_accessor :previous_backup_rules
168
+
169
+ # The resource_type field displays the type of the protected resource.
170
+ # Corresponds to the JSON property `resourceType`
171
+ # @return [String]
172
+ attr_accessor :resource_type
173
+
174
+ # Revised Backup Plan rules.
175
+ # Corresponds to the JSON property `revisedBackupRules`
176
+ # @return [Array<Google::Apis::GkebackupV1::BackupRuleDetail>]
177
+ attr_accessor :revised_backup_rules
178
+
179
+ # Start time of the job.
180
+ # Corresponds to the JSON property `startTime`
181
+ # @return [String]
182
+ attr_accessor :start_time
183
+
184
+ # The total number of workloads affected by the job.
185
+ # Corresponds to the JSON property `workloadsAffectedCount`
186
+ # @return [Fixnum]
187
+ attr_accessor :workloads_affected_count
188
+
189
+ def initialize(**args)
190
+ update!(**args)
191
+ end
192
+
193
+ # Update properties of this object
194
+ def update!(**args)
195
+ @backup_plan_name = args[:backup_plan_name] if args.key?(:backup_plan_name)
196
+ @end_time = args[:end_time] if args.key?(:end_time)
197
+ @error_code = args[:error_code] if args.key?(:error_code)
198
+ @error_message = args[:error_message] if args.key?(:error_message)
199
+ @error_type = args[:error_type] if args.key?(:error_type)
200
+ @job_category = args[:job_category] if args.key?(:job_category)
201
+ @job_id = args[:job_id] if args.key?(:job_id)
202
+ @job_status = args[:job_status] if args.key?(:job_status)
203
+ @new_backup_plan_revision_id = args[:new_backup_plan_revision_id] if args.key?(:new_backup_plan_revision_id)
204
+ @new_backup_plan_revision_name = args[:new_backup_plan_revision_name] if args.key?(:new_backup_plan_revision_name)
205
+ @previous_backup_plan_revision_id = args[:previous_backup_plan_revision_id] if args.key?(:previous_backup_plan_revision_id)
206
+ @previous_backup_plan_revision_name = args[:previous_backup_plan_revision_name] if args.key?(:previous_backup_plan_revision_name)
207
+ @previous_backup_rules = args[:previous_backup_rules] if args.key?(:previous_backup_rules)
208
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
209
+ @revised_backup_rules = args[:revised_backup_rules] if args.key?(:revised_backup_rules)
210
+ @start_time = args[:start_time] if args.key?(:start_time)
211
+ @workloads_affected_count = args[:workloads_affected_count] if args.key?(:workloads_affected_count)
212
+ end
213
+ end
214
+
215
+ # Log entry for Backup and Restore Job for resources using BackupPlan based
216
+ # protection. Next Id: 23
217
+ class BdrBackupRestoreJobLog
218
+ include Google::Apis::Core::Hashable
219
+
220
+ # Backup consistency time.
221
+ # Corresponds to the JSON property `backupConsistencyTime`
222
+ # @return [String]
223
+ attr_accessor :backup_consistency_time
224
+
225
+ # Full resource name of the backup created in backup jobs and used in restore
226
+ # jobs.
227
+ # Corresponds to the JSON property `backupName`
228
+ # @return [String]
229
+ attr_accessor :backup_name
230
+
231
+ # Full resource name for Backup Plan of the job. Only populated for Scheduled
232
+ # Backup and Adhoc Backup.
233
+ # Corresponds to the JSON property `backupPlanName`
234
+ # @return [String]
235
+ attr_accessor :backup_plan_name
236
+
237
+ # Backup retention in days.
238
+ # Corresponds to the JSON property `backupRetentionDays`
239
+ # @return [Fixnum]
240
+ attr_accessor :backup_retention_days
241
+
242
+ # Name of the backup rule. Only populated for Scheduled Backup and Adhoc Backup.
243
+ # Corresponds to the JSON property `backupRule`
244
+ # @return [String]
245
+ attr_accessor :backup_rule
246
+
247
+ # Full resource name backup vault name
248
+ # Corresponds to the JSON property `backupVaultName`
249
+ # @return [String]
250
+ attr_accessor :backup_vault_name
251
+
252
+ # End time of the job.
253
+ # Corresponds to the JSON property `endTime`
254
+ # @return [String]
255
+ attr_accessor :end_time
256
+
257
+ # The error code. Only populated in error scenarios.
258
+ # Corresponds to the JSON property `errorCode`
259
+ # @return [Fixnum]
260
+ attr_accessor :error_code
261
+
262
+ # The user readable error message. Only populated in error scenarios.
263
+ # Corresponds to the JSON property `errorMessage`
264
+ # @return [String]
265
+ attr_accessor :error_message
266
+
267
+ # The name of the error type eg. PERMISSION_DENIED. Only populated in error
268
+ # scenarios.
269
+ # Corresponds to the JSON property `errorType`
270
+ # @return [String]
271
+ attr_accessor :error_type
272
+
273
+ # The amount of incremental backup data copied.
274
+ # Corresponds to the JSON property `incrementalBackupSizeGib`
275
+ # @return [Float]
276
+ attr_accessor :incremental_backup_size_gib
277
+
278
+ # The category field displays the category of the job.
279
+ # Corresponds to the JSON property `jobCategory`
280
+ # @return [String]
281
+ attr_accessor :job_category
282
+
283
+ # The job_id field displays the identifier of the job being logged.
284
+ # Corresponds to the JSON property `jobId`
285
+ # @return [String]
286
+ attr_accessor :job_id
287
+
288
+ # The status field displays the status of the job.
289
+ # Corresponds to the JSON property `jobStatus`
290
+ # @return [String]
291
+ attr_accessor :job_status
292
+
293
+ # Recovery point time.
294
+ # Corresponds to the JSON property `recoveryPointTime`
295
+ # @return [String]
296
+ attr_accessor :recovery_point_time
297
+
298
+ # The resource_type field displays the type of the protected resource.
299
+ # Corresponds to the JSON property `resourceType`
300
+ # @return [String]
301
+ attr_accessor :resource_type
302
+
303
+ # Restore resource location.
304
+ # Corresponds to the JSON property `restoreResourceLocation`
305
+ # @return [String]
306
+ attr_accessor :restore_resource_location
307
+
308
+ # Full resource name of the restore resource. Only populated in restore jobs.
309
+ # Corresponds to the JSON property `restoreResourceName`
310
+ # @return [String]
311
+ attr_accessor :restore_resource_name
312
+
313
+ # The source resource ID.
314
+ # Corresponds to the JSON property `sourceResourceId`
315
+ # @return [String]
316
+ attr_accessor :source_resource_id
317
+
318
+ # Source resource location.
319
+ # Corresponds to the JSON property `sourceResourceLocation`
320
+ # @return [String]
321
+ attr_accessor :source_resource_location
322
+
323
+ # Full resource name of the protected resource.
324
+ # Corresponds to the JSON property `sourceResourceName`
325
+ # @return [String]
326
+ attr_accessor :source_resource_name
327
+
328
+ # Start time of the job.
329
+ # Corresponds to the JSON property `startTime`
330
+ # @return [String]
331
+ attr_accessor :start_time
332
+
333
+ def initialize(**args)
334
+ update!(**args)
335
+ end
336
+
337
+ # Update properties of this object
338
+ def update!(**args)
339
+ @backup_consistency_time = args[:backup_consistency_time] if args.key?(:backup_consistency_time)
340
+ @backup_name = args[:backup_name] if args.key?(:backup_name)
341
+ @backup_plan_name = args[:backup_plan_name] if args.key?(:backup_plan_name)
342
+ @backup_retention_days = args[:backup_retention_days] if args.key?(:backup_retention_days)
343
+ @backup_rule = args[:backup_rule] if args.key?(:backup_rule)
344
+ @backup_vault_name = args[:backup_vault_name] if args.key?(:backup_vault_name)
345
+ @end_time = args[:end_time] if args.key?(:end_time)
346
+ @error_code = args[:error_code] if args.key?(:error_code)
347
+ @error_message = args[:error_message] if args.key?(:error_message)
348
+ @error_type = args[:error_type] if args.key?(:error_type)
349
+ @incremental_backup_size_gib = args[:incremental_backup_size_gib] if args.key?(:incremental_backup_size_gib)
350
+ @job_category = args[:job_category] if args.key?(:job_category)
351
+ @job_id = args[:job_id] if args.key?(:job_id)
352
+ @job_status = args[:job_status] if args.key?(:job_status)
353
+ @recovery_point_time = args[:recovery_point_time] if args.key?(:recovery_point_time)
354
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
355
+ @restore_resource_location = args[:restore_resource_location] if args.key?(:restore_resource_location)
356
+ @restore_resource_name = args[:restore_resource_name] if args.key?(:restore_resource_name)
357
+ @source_resource_id = args[:source_resource_id] if args.key?(:source_resource_id)
358
+ @source_resource_location = args[:source_resource_location] if args.key?(:source_resource_location)
359
+ @source_resource_name = args[:source_resource_name] if args.key?(:source_resource_name)
360
+ @start_time = args[:start_time] if args.key?(:start_time)
361
+ end
362
+ end
363
+
96
364
  # Represents a request to perform a single point-in-time capture of some portion
97
365
  # of the state of a GKE cluster, the record of the backup operation itself, and
98
366
  # an anchor for the underlying artifacts that comprise the Backup (the config
@@ -845,6 +1113,55 @@ module Google
845
1113
  end
846
1114
  end
847
1115
 
1116
+ #
1117
+ class BackupRuleDetail
1118
+ include Google::Apis::Core::Hashable
1119
+
1120
+ # Backup Window For Eg. “00:00 to 06:00”
1121
+ # Corresponds to the JSON property `backupWindow`
1122
+ # @return [String]
1123
+ attr_accessor :backup_window
1124
+
1125
+ # Backup Window Timezone in IANA format. For Eg. “America/Los_Angeles”
1126
+ # Corresponds to the JSON property `backupWindowTimezone`
1127
+ # @return [String]
1128
+ attr_accessor :backup_window_timezone
1129
+
1130
+ # Recurrence Type. For Eg. “Weekly”,” Monthly” or “Daily”.
1131
+ # Corresponds to the JSON property `recurrence`
1132
+ # @return [String]
1133
+ attr_accessor :recurrence
1134
+
1135
+ # Recurrence Repeat Schedule. For Eg. “1st and 25th day of the month.”
1136
+ # Corresponds to the JSON property `recurrenceSchedule`
1137
+ # @return [String]
1138
+ attr_accessor :recurrence_schedule
1139
+
1140
+ # Backup Retention in Days.
1141
+ # Corresponds to the JSON property `retentionDays`
1142
+ # @return [Fixnum]
1143
+ attr_accessor :retention_days
1144
+
1145
+ # Backup Rule Name.
1146
+ # Corresponds to the JSON property `ruleName`
1147
+ # @return [String]
1148
+ attr_accessor :rule_name
1149
+
1150
+ def initialize(**args)
1151
+ update!(**args)
1152
+ end
1153
+
1154
+ # Update properties of this object
1155
+ def update!(**args)
1156
+ @backup_window = args[:backup_window] if args.key?(:backup_window)
1157
+ @backup_window_timezone = args[:backup_window_timezone] if args.key?(:backup_window_timezone)
1158
+ @recurrence = args[:recurrence] if args.key?(:recurrence)
1159
+ @recurrence_schedule = args[:recurrence_schedule] if args.key?(:recurrence_schedule)
1160
+ @retention_days = args[:retention_days] if args.key?(:retention_days)
1161
+ @rule_name = args[:rule_name] if args.key?(:rule_name)
1162
+ end
1163
+ end
1164
+
848
1165
  # Associates `members`, or principals, with a `role`.
849
1166
  class Binding
850
1167
  include Google::Apis::Core::Hashable
@@ -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.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260107"
25
+ REVISION = "20260120"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BdrBackupPlanJobLog
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BdrBackupRestoreJobLog
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class Backup
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -76,6 +88,12 @@ module Google
76
88
  include Google::Apis::Core::JsonObjectSupport
77
89
  end
78
90
 
91
+ class BackupRuleDetail
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
79
97
  class Binding
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -471,6 +489,59 @@ module Google
471
489
  end
472
490
  end
473
491
 
492
+ class BdrBackupPlanJobLog
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :backup_plan_name, as: 'backupPlanName'
496
+ property :end_time, as: 'endTime'
497
+ property :error_code, as: 'errorCode'
498
+ property :error_message, as: 'errorMessage'
499
+ property :error_type, as: 'errorType'
500
+ property :job_category, as: 'jobCategory'
501
+ property :job_id, as: 'jobId'
502
+ property :job_status, as: 'jobStatus'
503
+ property :new_backup_plan_revision_id, as: 'newBackupPlanRevisionId'
504
+ property :new_backup_plan_revision_name, as: 'newBackupPlanRevisionName'
505
+ property :previous_backup_plan_revision_id, as: 'previousBackupPlanRevisionId'
506
+ property :previous_backup_plan_revision_name, as: 'previousBackupPlanRevisionName'
507
+ collection :previous_backup_rules, as: 'previousBackupRules', class: Google::Apis::GkebackupV1::BackupRuleDetail, decorator: Google::Apis::GkebackupV1::BackupRuleDetail::Representation
508
+
509
+ property :resource_type, as: 'resourceType'
510
+ collection :revised_backup_rules, as: 'revisedBackupRules', class: Google::Apis::GkebackupV1::BackupRuleDetail, decorator: Google::Apis::GkebackupV1::BackupRuleDetail::Representation
511
+
512
+ property :start_time, as: 'startTime'
513
+ property :workloads_affected_count, as: 'workloadsAffectedCount'
514
+ end
515
+ end
516
+
517
+ class BdrBackupRestoreJobLog
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :backup_consistency_time, as: 'backupConsistencyTime'
521
+ property :backup_name, as: 'backupName'
522
+ property :backup_plan_name, as: 'backupPlanName'
523
+ property :backup_retention_days, as: 'backupRetentionDays'
524
+ property :backup_rule, as: 'backupRule'
525
+ property :backup_vault_name, as: 'backupVaultName'
526
+ property :end_time, as: 'endTime'
527
+ property :error_code, as: 'errorCode'
528
+ property :error_message, as: 'errorMessage'
529
+ property :error_type, as: 'errorType'
530
+ property :incremental_backup_size_gib, as: 'incrementalBackupSizeGib'
531
+ property :job_category, as: 'jobCategory'
532
+ property :job_id, as: 'jobId'
533
+ property :job_status, as: 'jobStatus'
534
+ property :recovery_point_time, as: 'recoveryPointTime'
535
+ property :resource_type, as: 'resourceType'
536
+ property :restore_resource_location, as: 'restoreResourceLocation'
537
+ property :restore_resource_name, as: 'restoreResourceName'
538
+ property :source_resource_id, as: 'sourceResourceId'
539
+ property :source_resource_location, as: 'sourceResourceLocation'
540
+ property :source_resource_name, as: 'sourceResourceName'
541
+ property :start_time, as: 'startTime'
542
+ end
543
+ end
544
+
474
545
  class Backup
475
546
  # @private
476
547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -622,6 +693,18 @@ module Google
622
693
  end
623
694
  end
624
695
 
696
+ class BackupRuleDetail
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :backup_window, as: 'backupWindow'
700
+ property :backup_window_timezone, as: 'backupWindowTimezone'
701
+ property :recurrence, as: 'recurrence'
702
+ property :recurrence_schedule, as: 'recurrenceSchedule'
703
+ property :retention_days, as: 'retentionDays'
704
+ property :rule_name, as: 'ruleName'
705
+ end
706
+ end
707
+
625
708
  class Binding
626
709
  # @private
627
710
  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.55.0
4
+ version: 0.56.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.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkebackup_v1/v0.56.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: