google-apis-gkebackup_v1 0.54.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: 2a346da2a00d07693d41f29d01a43b0e8538f7552647bba79b1ee503373b8df1
4
- data.tar.gz: c6553137fb059a8ad4466be54b6c23bc0bafcf17a20704ccf75a49526a53bb31
3
+ metadata.gz: 6d9723d86d95a3d31305b747ee7cc7b01e8d0812da4af71076e9d2a706c29285
4
+ data.tar.gz: 0f31a80e7a4d110ffec23668ac772fd2996e609b8266e45cc66a0829c95c7091
5
5
  SHA512:
6
- metadata.gz: 6bf4e12afbd208880b347ab998258c236efcc79318c3a7461f23e266c8fc42f1c9532da593b036d2d55b58961d13d457b709923e122b1a6f29f25a70f6bb82e4
7
- data.tar.gz: fc357b588fc6355adb76dc8a228ca792616725723cce4e3417e4ed9b9a85472b306b8e5dbdef4bb9344061a1c877b48324397b89ee3a04b0b2385ed2d96d43ce
6
+ metadata.gz: a6bba53d4e63e2bc7edace07ab19f67703ed6c683eee0208d827db4e2c3443725cd97b11f83ed5ab0e95e406f4b8a450f57265a443f067c760fcefa32699ad25
7
+ data.tar.gz: cc95975604464b7bbfc5bb3b5b17909a13e2fbbc681a56613ab9d0ec0ba520221055bab1474784354df04e9da76a3455aa10330cfa295f89aec6304d40f3f8bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.55.0 (2026-01-18)
8
+
9
+ * Regenerated from discovery document revision 20260107
10
+
3
11
  ### v0.54.0 (2025-12-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20251209
@@ -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
@@ -1312,6 +1629,40 @@ module Google
1312
1629
  end
1313
1630
  end
1314
1631
 
1632
+ # Response message for GetTags.
1633
+ class GetTagsResponse
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # A checksum based on the current bindings. This field is always set in server
1637
+ # responses.
1638
+ # Corresponds to the JSON property `etag`
1639
+ # @return [String]
1640
+ attr_accessor :etag
1641
+
1642
+ # Required. The full resource name of the service resource.
1643
+ # Corresponds to the JSON property `name`
1644
+ # @return [String]
1645
+ attr_accessor :name
1646
+
1647
+ # Required. Tag keys/values directly bound to this resource. Each item in the
1648
+ # map must be expressed as " : ". For example: "123/environment" : "production",
1649
+ # "123/costCenter" : "marketing"
1650
+ # Corresponds to the JSON property `tags`
1651
+ # @return [Hash<String,String>]
1652
+ attr_accessor :tags
1653
+
1654
+ def initialize(**args)
1655
+ update!(**args)
1656
+ end
1657
+
1658
+ # Update properties of this object
1659
+ def update!(**args)
1660
+ @etag = args[:etag] if args.key?(:etag)
1661
+ @name = args[:name] if args.key?(:name)
1662
+ @tags = args[:tags] if args.key?(:tags)
1663
+ end
1664
+ end
1665
+
1315
1666
  # The request message for Operations.CancelOperation.
1316
1667
  class GoogleLongrunningCancelOperationRequest
1317
1668
  include Google::Apis::Core::Hashable
@@ -3046,6 +3397,75 @@ module Google
3046
3397
  end
3047
3398
  end
3048
3399
 
3400
+ # Request message for SetTags.
3401
+ class SetTagsRequest
3402
+ include Google::Apis::Core::Hashable
3403
+
3404
+ # Optional. A checksum based on the current bindings which can be passed to
3405
+ # prevent race conditions. If not passed, etag check would be skipped.
3406
+ # Corresponds to the JSON property `etag`
3407
+ # @return [String]
3408
+ attr_accessor :etag
3409
+
3410
+ # Optional. A unique identifier for this request. Must be a valid UUID. This
3411
+ # request is only idempotent if a `request_id` is provided.
3412
+ # Corresponds to the JSON property `requestId`
3413
+ # @return [String]
3414
+ attr_accessor :request_id
3415
+
3416
+ # Required. These bindings will override any bindings previously set and will be
3417
+ # effective immediately. Each item in the map must be expressed as " : ". For
3418
+ # example: "123/environment" : "production", "123/costCenter" : "marketing"
3419
+ # Corresponds to the JSON property `tags`
3420
+ # @return [Hash<String,String>]
3421
+ attr_accessor :tags
3422
+
3423
+ def initialize(**args)
3424
+ update!(**args)
3425
+ end
3426
+
3427
+ # Update properties of this object
3428
+ def update!(**args)
3429
+ @etag = args[:etag] if args.key?(:etag)
3430
+ @request_id = args[:request_id] if args.key?(:request_id)
3431
+ @tags = args[:tags] if args.key?(:tags)
3432
+ end
3433
+ end
3434
+
3435
+ # Response message for SetTags.
3436
+ class SetTagsResponse
3437
+ include Google::Apis::Core::Hashable
3438
+
3439
+ # A checksum based on the current bindings. This field is always set in server
3440
+ # responses.
3441
+ # Corresponds to the JSON property `etag`
3442
+ # @return [String]
3443
+ attr_accessor :etag
3444
+
3445
+ # Required. The full resource name of the service resource.
3446
+ # Corresponds to the JSON property `name`
3447
+ # @return [String]
3448
+ attr_accessor :name
3449
+
3450
+ # Required. Tag keys/values directly bound to this resource. Each item in the
3451
+ # map must be expressed as " : ". For example: "123/environment" : "production",
3452
+ # "123/costCenter" : "marketing"
3453
+ # Corresponds to the JSON property `tags`
3454
+ # @return [Hash<String,String>]
3455
+ attr_accessor :tags
3456
+
3457
+ def initialize(**args)
3458
+ update!(**args)
3459
+ end
3460
+
3461
+ # Update properties of this object
3462
+ def update!(**args)
3463
+ @etag = args[:etag] if args.key?(:etag)
3464
+ @name = args[:name] if args.key?(:name)
3465
+ @tags = args[:tags] if args.key?(:tags)
3466
+ end
3467
+ end
3468
+
3049
3469
  # A transformation rule to be applied against Kubernetes resources as they are
3050
3470
  # selected for restoration from a Backup. A rule contains both filtering logic (
3051
3471
  # which resources are subject to substitution) and substitution logic.
@@ -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.54.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 = "20251209"
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
 
@@ -142,6 +160,12 @@ module Google
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class GetTagsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class GoogleLongrunningCancelOperationRequest
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -370,6 +394,18 @@ module Google
370
394
  include Google::Apis::Core::JsonObjectSupport
371
395
  end
372
396
 
397
+ class SetTagsRequest
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class SetTagsResponse
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
373
409
  class SubstitutionRule
374
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
411
 
@@ -453,6 +489,59 @@ module Google
453
489
  end
454
490
  end
455
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
+
456
545
  class Backup
457
546
  # @private
458
547
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -604,6 +693,18 @@ module Google
604
693
  end
605
694
  end
606
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
+
607
708
  class Binding
608
709
  # @private
609
710
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -707,6 +808,15 @@ module Google
707
808
  end
708
809
  end
709
810
 
811
+ class GetTagsResponse
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :etag, as: 'etag'
815
+ property :name, as: 'name'
816
+ hash :tags, as: 'tags'
817
+ end
818
+ end
819
+
710
820
  class GoogleLongrunningCancelOperationRequest
711
821
  # @private
712
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1124,6 +1234,24 @@ module Google
1124
1234
  end
1125
1235
  end
1126
1236
 
1237
+ class SetTagsRequest
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :etag, as: 'etag'
1241
+ property :request_id, as: 'requestId'
1242
+ hash :tags, as: 'tags'
1243
+ end
1244
+ end
1245
+
1246
+ class SetTagsResponse
1247
+ # @private
1248
+ class Representation < Google::Apis::Core::JsonRepresentation
1249
+ property :etag, as: 'etag'
1250
+ property :name, as: 'name'
1251
+ hash :tags, as: 'tags'
1252
+ end
1253
+ end
1254
+
1127
1255
  class SubstitutionRule
1128
1256
  # @private
1129
1257
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -569,6 +569,36 @@ module Google
569
569
  execute_or_queue_command(command, &block)
570
570
  end
571
571
 
572
+ # Returns tags directly bound to a GCP resource.
573
+ # @param [String] name
574
+ # Required. The full resource name of the service resource.
575
+ # @param [String] fields
576
+ # Selector specifying which fields to include in a partial response.
577
+ # @param [String] quota_user
578
+ # Available to use for quota purposes for server-side applications. Can be any
579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
580
+ # @param [Google::Apis::RequestOptions] options
581
+ # Request-specific options
582
+ #
583
+ # @yield [result, err] Result & error if block supplied
584
+ # @yieldparam result [Google::Apis::GkebackupV1::GetTagsResponse] parsed result object
585
+ # @yieldparam err [StandardError] error object if request failed
586
+ #
587
+ # @return [Google::Apis::GkebackupV1::GetTagsResponse]
588
+ #
589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
592
+ def get_project_location_backup_plan_tags(name, fields: nil, quota_user: nil, options: nil, &block)
593
+ command = make_simple_command(:get, 'v1/{+name}:getTags', options)
594
+ command.response_representation = Google::Apis::GkebackupV1::GetTagsResponse::Representation
595
+ command.response_class = Google::Apis::GkebackupV1::GetTagsResponse
596
+ command.params['name'] = name unless name.nil?
597
+ command.query['fields'] = fields unless fields.nil?
598
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
599
+ execute_or_queue_command(command, &block)
600
+ end
601
+
572
602
  # Lists BackupPlans in a given location.
573
603
  # @param [String] parent
574
604
  # Required. The location that contains the BackupPlans to list. Format: `
@@ -700,6 +730,39 @@ module Google
700
730
  execute_or_queue_command(command, &block)
701
731
  end
702
732
 
733
+ # Updates tags directly bound to a GCP resource.
734
+ # @param [String] name
735
+ # Required. The full resource name of the service resource.
736
+ # @param [Google::Apis::GkebackupV1::SetTagsRequest] set_tags_request_object
737
+ # @param [String] fields
738
+ # Selector specifying which fields to include in a partial response.
739
+ # @param [String] quota_user
740
+ # Available to use for quota purposes for server-side applications. Can be any
741
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
742
+ # @param [Google::Apis::RequestOptions] options
743
+ # Request-specific options
744
+ #
745
+ # @yield [result, err] Result & error if block supplied
746
+ # @yieldparam result [Google::Apis::GkebackupV1::SetTagsResponse] parsed result object
747
+ # @yieldparam err [StandardError] error object if request failed
748
+ #
749
+ # @return [Google::Apis::GkebackupV1::SetTagsResponse]
750
+ #
751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
754
+ def set_backup_plan_tags(name, set_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
755
+ command = make_simple_command(:post, 'v1/{+name}:setTags', options)
756
+ command.request_representation = Google::Apis::GkebackupV1::SetTagsRequest::Representation
757
+ command.request_object = set_tags_request_object
758
+ command.response_representation = Google::Apis::GkebackupV1::SetTagsResponse::Representation
759
+ command.response_class = Google::Apis::GkebackupV1::SetTagsResponse
760
+ command.params['name'] = name unless name.nil?
761
+ command.query['fields'] = fields unless fields.nil?
762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
763
+ execute_or_queue_command(command, &block)
764
+ end
765
+
703
766
  # Returns permissions that a caller has on the specified resource. If the
704
767
  # resource does not exist, this will return an empty set of permissions, not a `
705
768
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -1895,6 +1958,36 @@ module Google
1895
1958
  execute_or_queue_command(command, &block)
1896
1959
  end
1897
1960
 
1961
+ # Returns tags directly bound to a GCP resource.
1962
+ # @param [String] name
1963
+ # Required. The full resource name of the service resource.
1964
+ # @param [String] fields
1965
+ # Selector specifying which fields to include in a partial response.
1966
+ # @param [String] quota_user
1967
+ # Available to use for quota purposes for server-side applications. Can be any
1968
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1969
+ # @param [Google::Apis::RequestOptions] options
1970
+ # Request-specific options
1971
+ #
1972
+ # @yield [result, err] Result & error if block supplied
1973
+ # @yieldparam result [Google::Apis::GkebackupV1::GetTagsResponse] parsed result object
1974
+ # @yieldparam err [StandardError] error object if request failed
1975
+ #
1976
+ # @return [Google::Apis::GkebackupV1::GetTagsResponse]
1977
+ #
1978
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1979
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1980
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1981
+ def get_project_location_restore_plan_tags(name, fields: nil, quota_user: nil, options: nil, &block)
1982
+ command = make_simple_command(:get, 'v1/{+name}:getTags', options)
1983
+ command.response_representation = Google::Apis::GkebackupV1::GetTagsResponse::Representation
1984
+ command.response_class = Google::Apis::GkebackupV1::GetTagsResponse
1985
+ command.params['name'] = name unless name.nil?
1986
+ command.query['fields'] = fields unless fields.nil?
1987
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1988
+ execute_or_queue_command(command, &block)
1989
+ end
1990
+
1898
1991
  # Lists RestorePlans in a given location.
1899
1992
  # @param [String] parent
1900
1993
  # Required. The location that contains the RestorePlans to list. Format: `
@@ -2025,6 +2118,39 @@ module Google
2025
2118
  execute_or_queue_command(command, &block)
2026
2119
  end
2027
2120
 
2121
+ # Updates tags directly bound to a GCP resource.
2122
+ # @param [String] name
2123
+ # Required. The full resource name of the service resource.
2124
+ # @param [Google::Apis::GkebackupV1::SetTagsRequest] set_tags_request_object
2125
+ # @param [String] fields
2126
+ # Selector specifying which fields to include in a partial response.
2127
+ # @param [String] quota_user
2128
+ # Available to use for quota purposes for server-side applications. Can be any
2129
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2130
+ # @param [Google::Apis::RequestOptions] options
2131
+ # Request-specific options
2132
+ #
2133
+ # @yield [result, err] Result & error if block supplied
2134
+ # @yieldparam result [Google::Apis::GkebackupV1::SetTagsResponse] parsed result object
2135
+ # @yieldparam err [StandardError] error object if request failed
2136
+ #
2137
+ # @return [Google::Apis::GkebackupV1::SetTagsResponse]
2138
+ #
2139
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2140
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2141
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2142
+ def set_restore_plan_tags(name, set_tags_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2143
+ command = make_simple_command(:post, 'v1/{+name}:setTags', options)
2144
+ command.request_representation = Google::Apis::GkebackupV1::SetTagsRequest::Representation
2145
+ command.request_object = set_tags_request_object
2146
+ command.response_representation = Google::Apis::GkebackupV1::SetTagsResponse::Representation
2147
+ command.response_class = Google::Apis::GkebackupV1::SetTagsResponse
2148
+ command.params['name'] = name unless name.nil?
2149
+ command.query['fields'] = fields unless fields.nil?
2150
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2151
+ execute_or_queue_command(command, &block)
2152
+ end
2153
+
2028
2154
  # Returns permissions that a caller has on the specified resource. If the
2029
2155
  # resource does not exist, this will return an empty set of permissions, not a `
2030
2156
  # NOT_FOUND` error. Note: This operation is designed to be used for building
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.54.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.54.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: