google-apis-backupdr_v1 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/backupdr_v1/classes.rb +2135 -136
- data/lib/google/apis/backupdr_v1/gem_version.rb +2 -2
- data/lib/google/apis/backupdr_v1/representations.rb +746 -0
- data/lib/google/apis/backupdr_v1/service.rb +855 -9
- metadata +3 -3
@@ -22,6 +22,36 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BackupdrV1
|
24
24
|
|
25
|
+
class AbandonBackupRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AcceleratorConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class AccessConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AliasIpRange
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AttachedDisk
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
25
55
|
class AuditConfig
|
26
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
57
|
|
@@ -34,6 +64,48 @@ module Google
|
|
34
64
|
include Google::Apis::Core::JsonObjectSupport
|
35
65
|
end
|
36
66
|
|
67
|
+
class Backup
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class BackupApplianceBackupConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class BackupApplianceBackupProperties
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class BackupApplianceLockInfo
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class BackupConfigInfo
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class BackupLock
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class BackupVault
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
37
109
|
class Binding
|
38
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
111
|
|
@@ -46,18 +118,138 @@ module Google
|
|
46
118
|
include Google::Apis::Core::JsonObjectSupport
|
47
119
|
end
|
48
120
|
|
121
|
+
class ComputeInstanceBackupProperties
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ComputeInstanceDataSourceProperties
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class CustomerEncryptionKey
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class DataSource
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class DataSourceBackupApplianceApplication
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class DataSourceGcpResource
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
49
157
|
class Empty
|
50
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
159
|
|
52
160
|
include Google::Apis::Core::JsonObjectSupport
|
53
161
|
end
|
54
162
|
|
163
|
+
class Entry
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
55
169
|
class Expr
|
56
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
171
|
|
58
172
|
include Google::Apis::Core::JsonObjectSupport
|
59
173
|
end
|
60
174
|
|
175
|
+
class FetchAccessTokenRequest
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class FetchAccessTokenResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class FetchUsableBackupVaultsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class FinalizeBackupRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GcpBackupPlanInfo
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GcpBackupConfig
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GuestOsFeature
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class InitializeParams
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class InitiateBackupRequest
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class InitiateBackupResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class ListBackupVaultsResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class ListBackupsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListDataSourcesResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
61
253
|
class ListLocationsResponse
|
62
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
255
|
|
@@ -94,12 +286,30 @@ module Google
|
|
94
286
|
include Google::Apis::Core::JsonObjectSupport
|
95
287
|
end
|
96
288
|
|
289
|
+
class Metadata
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
97
295
|
class NetworkConfig
|
98
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
297
|
|
100
298
|
include Google::Apis::Core::JsonObjectSupport
|
101
299
|
end
|
102
300
|
|
301
|
+
class NetworkInterface
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class NodeAffinity
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
103
313
|
class Operation
|
104
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
315
|
|
@@ -118,18 +328,60 @@ module Google
|
|
118
328
|
include Google::Apis::Core::JsonObjectSupport
|
119
329
|
end
|
120
330
|
|
331
|
+
class RemoveDataSourceRequest
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class Scheduling
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class SchedulingDuration
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class ServiceAccount
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class ServiceLockInfo
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
121
361
|
class SetIamPolicyRequest
|
122
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
363
|
|
124
364
|
include Google::Apis::Core::JsonObjectSupport
|
125
365
|
end
|
126
366
|
|
367
|
+
class SetInternalStatusRequest
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
127
373
|
class Status
|
128
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
375
|
|
130
376
|
include Google::Apis::Core::JsonObjectSupport
|
131
377
|
end
|
132
378
|
|
379
|
+
class Tags
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
133
385
|
class TestIamPermissionsRequest
|
134
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
387
|
|
@@ -154,6 +406,68 @@ module Google
|
|
154
406
|
include Google::Apis::Core::JsonObjectSupport
|
155
407
|
end
|
156
408
|
|
409
|
+
class AbandonBackupRequest
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
property :request_id, as: 'requestId'
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class AcceleratorConfig
|
417
|
+
# @private
|
418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
419
|
+
property :accelerator_count, as: 'acceleratorCount'
|
420
|
+
property :accelerator_type, as: 'acceleratorType'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
class AccessConfig
|
425
|
+
# @private
|
426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
427
|
+
property :external_ipv6, as: 'externalIpv6'
|
428
|
+
property :external_ipv6_prefix_length, as: 'externalIpv6PrefixLength'
|
429
|
+
property :name, as: 'name'
|
430
|
+
property :nat_ip, as: 'natIP'
|
431
|
+
property :network_tier, as: 'networkTier'
|
432
|
+
property :public_ptr_domain_name, as: 'publicPtrDomainName'
|
433
|
+
property :set_public_ptr, as: 'setPublicPtr'
|
434
|
+
property :type, as: 'type'
|
435
|
+
end
|
436
|
+
end
|
437
|
+
|
438
|
+
class AliasIpRange
|
439
|
+
# @private
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
441
|
+
property :ip_cidr_range, as: 'ipCidrRange'
|
442
|
+
property :subnetwork_range_name, as: 'subnetworkRangeName'
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
class AttachedDisk
|
447
|
+
# @private
|
448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
449
|
+
property :auto_delete, as: 'autoDelete'
|
450
|
+
property :boot, as: 'boot'
|
451
|
+
property :device_name, as: 'deviceName'
|
452
|
+
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::BackupdrV1::CustomerEncryptionKey, decorator: Google::Apis::BackupdrV1::CustomerEncryptionKey::Representation
|
453
|
+
|
454
|
+
property :disk_interface, as: 'diskInterface'
|
455
|
+
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
456
|
+
property :disk_type, as: 'diskType'
|
457
|
+
property :disk_type_uri, as: 'diskTypeUri'
|
458
|
+
collection :guest_os_feature, as: 'guestOsFeature', class: Google::Apis::BackupdrV1::GuestOsFeature, decorator: Google::Apis::BackupdrV1::GuestOsFeature::Representation
|
459
|
+
|
460
|
+
property :index, :numeric_string => true, as: 'index'
|
461
|
+
property :initialize_params, as: 'initializeParams', class: Google::Apis::BackupdrV1::InitializeParams, decorator: Google::Apis::BackupdrV1::InitializeParams::Representation
|
462
|
+
|
463
|
+
property :kind, as: 'kind'
|
464
|
+
collection :license, as: 'license'
|
465
|
+
property :mode, as: 'mode'
|
466
|
+
property :saved_state, as: 'savedState'
|
467
|
+
property :source, as: 'source'
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
157
471
|
class AuditConfig
|
158
472
|
# @private
|
159
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -171,6 +485,116 @@ module Google
|
|
171
485
|
end
|
172
486
|
end
|
173
487
|
|
488
|
+
class Backup
|
489
|
+
# @private
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
491
|
+
property :backup_appliance_backup_properties, as: 'backupApplianceBackupProperties', class: Google::Apis::BackupdrV1::BackupApplianceBackupProperties, decorator: Google::Apis::BackupdrV1::BackupApplianceBackupProperties::Representation
|
492
|
+
|
493
|
+
collection :backup_appliance_locks, as: 'backupApplianceLocks', class: Google::Apis::BackupdrV1::BackupLock, decorator: Google::Apis::BackupdrV1::BackupLock::Representation
|
494
|
+
|
495
|
+
property :backup_type, as: 'backupType'
|
496
|
+
property :compute_instance_backup_properties, as: 'computeInstanceBackupProperties', class: Google::Apis::BackupdrV1::ComputeInstanceBackupProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceBackupProperties::Representation
|
497
|
+
|
498
|
+
property :consistency_time, as: 'consistencyTime'
|
499
|
+
property :create_time, as: 'createTime'
|
500
|
+
property :description, as: 'description'
|
501
|
+
property :enforced_retention_end_time, as: 'enforcedRetentionEndTime'
|
502
|
+
property :etag, as: 'etag'
|
503
|
+
property :expire_time, as: 'expireTime'
|
504
|
+
property :gcp_backup_plan_info, as: 'gcpBackupPlanInfo', class: Google::Apis::BackupdrV1::GcpBackupPlanInfo, decorator: Google::Apis::BackupdrV1::GcpBackupPlanInfo::Representation
|
505
|
+
|
506
|
+
hash :labels, as: 'labels'
|
507
|
+
property :name, as: 'name'
|
508
|
+
property :resource_size_bytes, :numeric_string => true, as: 'resourceSizeBytes'
|
509
|
+
collection :service_locks, as: 'serviceLocks', class: Google::Apis::BackupdrV1::BackupLock, decorator: Google::Apis::BackupdrV1::BackupLock::Representation
|
510
|
+
|
511
|
+
property :state, as: 'state'
|
512
|
+
property :update_time, as: 'updateTime'
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
class BackupApplianceBackupConfig
|
517
|
+
# @private
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
property :application_name, as: 'applicationName'
|
520
|
+
property :backup_appliance_id, :numeric_string => true, as: 'backupApplianceId'
|
521
|
+
property :backup_appliance_name, as: 'backupApplianceName'
|
522
|
+
property :host_name, as: 'hostName'
|
523
|
+
property :sla_id, :numeric_string => true, as: 'slaId'
|
524
|
+
property :slp_name, as: 'slpName'
|
525
|
+
property :slt_name, as: 'sltName'
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
class BackupApplianceBackupProperties
|
530
|
+
# @private
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
+
property :finalize_time, as: 'finalizeTime'
|
533
|
+
property :generation_id, as: 'generationId'
|
534
|
+
property :recovery_range_end_time, as: 'recoveryRangeEndTime'
|
535
|
+
property :recovery_range_start_time, as: 'recoveryRangeStartTime'
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
class BackupApplianceLockInfo
|
540
|
+
# @private
|
541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
542
|
+
property :backup_appliance_id, :numeric_string => true, as: 'backupApplianceId'
|
543
|
+
property :backup_appliance_name, as: 'backupApplianceName'
|
544
|
+
property :backup_image, as: 'backupImage'
|
545
|
+
property :job_name, as: 'jobName'
|
546
|
+
property :lock_reason, as: 'lockReason'
|
547
|
+
property :sla_id, :numeric_string => true, as: 'slaId'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
551
|
+
class BackupConfigInfo
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :backup_appliance_backup_config, as: 'backupApplianceBackupConfig', class: Google::Apis::BackupdrV1::BackupApplianceBackupConfig, decorator: Google::Apis::BackupdrV1::BackupApplianceBackupConfig::Representation
|
555
|
+
|
556
|
+
property :gcp_backup_config, as: 'gcpBackupConfig', class: Google::Apis::BackupdrV1::GcpBackupConfig, decorator: Google::Apis::BackupdrV1::GcpBackupConfig::Representation
|
557
|
+
|
558
|
+
property :last_backup_error, as: 'lastBackupError', class: Google::Apis::BackupdrV1::Status, decorator: Google::Apis::BackupdrV1::Status::Representation
|
559
|
+
|
560
|
+
property :last_backup_state, as: 'lastBackupState'
|
561
|
+
property :last_successful_backup_consistency_time, as: 'lastSuccessfulBackupConsistencyTime'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
565
|
+
class BackupLock
|
566
|
+
# @private
|
567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
568
|
+
property :backup_appliance_lock_info, as: 'backupApplianceLockInfo', class: Google::Apis::BackupdrV1::BackupApplianceLockInfo, decorator: Google::Apis::BackupdrV1::BackupApplianceLockInfo::Representation
|
569
|
+
|
570
|
+
property :lock_until_time, as: 'lockUntilTime'
|
571
|
+
property :service_lock_info, as: 'serviceLockInfo', class: Google::Apis::BackupdrV1::ServiceLockInfo, decorator: Google::Apis::BackupdrV1::ServiceLockInfo::Representation
|
572
|
+
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
class BackupVault
|
577
|
+
# @private
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
579
|
+
hash :annotations, as: 'annotations'
|
580
|
+
property :backup_count, :numeric_string => true, as: 'backupCount'
|
581
|
+
property :backup_minimum_enforced_retention_duration, as: 'backupMinimumEnforcedRetentionDuration'
|
582
|
+
property :create_time, as: 'createTime'
|
583
|
+
property :deletable, as: 'deletable'
|
584
|
+
property :description, as: 'description'
|
585
|
+
property :effective_time, as: 'effectiveTime'
|
586
|
+
property :enforced_retention_duration, as: 'enforcedRetentionDuration'
|
587
|
+
property :etag, as: 'etag'
|
588
|
+
hash :labels, as: 'labels'
|
589
|
+
property :name, as: 'name'
|
590
|
+
property :service_account, as: 'serviceAccount'
|
591
|
+
property :state, as: 'state'
|
592
|
+
property :total_stored_bytes, :numeric_string => true, as: 'totalStoredBytes'
|
593
|
+
property :uid, as: 'uid'
|
594
|
+
property :update_time, as: 'updateTime'
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
174
598
|
class Binding
|
175
599
|
# @private
|
176
600
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -187,12 +611,112 @@ module Google
|
|
187
611
|
end
|
188
612
|
end
|
189
613
|
|
614
|
+
class ComputeInstanceBackupProperties
|
615
|
+
# @private
|
616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
617
|
+
property :can_ip_forward, as: 'canIpForward'
|
618
|
+
property :description, as: 'description'
|
619
|
+
collection :disk, as: 'disk', class: Google::Apis::BackupdrV1::AttachedDisk, decorator: Google::Apis::BackupdrV1::AttachedDisk::Representation
|
620
|
+
|
621
|
+
collection :guest_accelerator, as: 'guestAccelerator', class: Google::Apis::BackupdrV1::AcceleratorConfig, decorator: Google::Apis::BackupdrV1::AcceleratorConfig::Representation
|
622
|
+
|
623
|
+
property :key_revocation_action_type, as: 'keyRevocationActionType'
|
624
|
+
property :machine_type, as: 'machineType'
|
625
|
+
property :metadata, as: 'metadata', class: Google::Apis::BackupdrV1::Metadata, decorator: Google::Apis::BackupdrV1::Metadata::Representation
|
626
|
+
|
627
|
+
property :min_cpu_platform, as: 'minCpuPlatform'
|
628
|
+
collection :network_interface, as: 'networkInterface', class: Google::Apis::BackupdrV1::NetworkInterface, decorator: Google::Apis::BackupdrV1::NetworkInterface::Representation
|
629
|
+
|
630
|
+
property :scheduling, as: 'scheduling', class: Google::Apis::BackupdrV1::Scheduling, decorator: Google::Apis::BackupdrV1::Scheduling::Representation
|
631
|
+
|
632
|
+
collection :service_account, as: 'serviceAccount', class: Google::Apis::BackupdrV1::ServiceAccount, decorator: Google::Apis::BackupdrV1::ServiceAccount::Representation
|
633
|
+
|
634
|
+
property :source_instance, as: 'sourceInstance'
|
635
|
+
property :tags, as: 'tags', class: Google::Apis::BackupdrV1::Tags, decorator: Google::Apis::BackupdrV1::Tags::Representation
|
636
|
+
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
640
|
+
class ComputeInstanceDataSourceProperties
|
641
|
+
# @private
|
642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
643
|
+
property :description, as: 'description'
|
644
|
+
property :machine_type, as: 'machineType'
|
645
|
+
property :name, as: 'name'
|
646
|
+
property :total_disk_count, :numeric_string => true, as: 'totalDiskCount'
|
647
|
+
property :total_disk_size_gb, :numeric_string => true, as: 'totalDiskSizeGb'
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
class CustomerEncryptionKey
|
652
|
+
# @private
|
653
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
+
property :kms_key_name, as: 'kmsKeyName'
|
655
|
+
property :kms_key_service_account, as: 'kmsKeyServiceAccount'
|
656
|
+
property :raw_key, as: 'rawKey'
|
657
|
+
property :rsa_encrypted_key, as: 'rsaEncryptedKey'
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class DataSource
|
662
|
+
# @private
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
+
property :backup_config_info, as: 'backupConfigInfo', class: Google::Apis::BackupdrV1::BackupConfigInfo, decorator: Google::Apis::BackupdrV1::BackupConfigInfo::Representation
|
665
|
+
|
666
|
+
property :backup_count, :numeric_string => true, as: 'backupCount'
|
667
|
+
property :config_state, as: 'configState'
|
668
|
+
property :create_time, as: 'createTime'
|
669
|
+
property :data_source_backup_appliance_application, as: 'dataSourceBackupApplianceApplication', class: Google::Apis::BackupdrV1::DataSourceBackupApplianceApplication, decorator: Google::Apis::BackupdrV1::DataSourceBackupApplianceApplication::Representation
|
670
|
+
|
671
|
+
property :data_source_gcp_resource, as: 'dataSourceGcpResource', class: Google::Apis::BackupdrV1::DataSourceGcpResource, decorator: Google::Apis::BackupdrV1::DataSourceGcpResource::Representation
|
672
|
+
|
673
|
+
property :etag, as: 'etag'
|
674
|
+
hash :labels, as: 'labels'
|
675
|
+
property :name, as: 'name'
|
676
|
+
property :state, as: 'state'
|
677
|
+
property :total_stored_bytes, :numeric_string => true, as: 'totalStoredBytes'
|
678
|
+
property :update_time, as: 'updateTime'
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
class DataSourceBackupApplianceApplication
|
683
|
+
# @private
|
684
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
685
|
+
property :appliance_id, :numeric_string => true, as: 'applianceId'
|
686
|
+
property :application_id, :numeric_string => true, as: 'applicationId'
|
687
|
+
property :application_name, as: 'applicationName'
|
688
|
+
property :backup_appliance, as: 'backupAppliance'
|
689
|
+
property :host_id, :numeric_string => true, as: 'hostId'
|
690
|
+
property :hostname, as: 'hostname'
|
691
|
+
property :type, as: 'type'
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
class DataSourceGcpResource
|
696
|
+
# @private
|
697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
698
|
+
property :compute_instance_datasource_properties, as: 'computeInstanceDatasourceProperties', class: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties, decorator: Google::Apis::BackupdrV1::ComputeInstanceDataSourceProperties::Representation
|
699
|
+
|
700
|
+
property :gcp_resourcename, as: 'gcpResourcename'
|
701
|
+
property :location, as: 'location'
|
702
|
+
property :type, as: 'type'
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
190
706
|
class Empty
|
191
707
|
# @private
|
192
708
|
class Representation < Google::Apis::Core::JsonRepresentation
|
193
709
|
end
|
194
710
|
end
|
195
711
|
|
712
|
+
class Entry
|
713
|
+
# @private
|
714
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
715
|
+
property :key, as: 'key'
|
716
|
+
property :value, as: 'value'
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
196
720
|
class Expr
|
197
721
|
# @private
|
198
722
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -203,6 +727,126 @@ module Google
|
|
203
727
|
end
|
204
728
|
end
|
205
729
|
|
730
|
+
class FetchAccessTokenRequest
|
731
|
+
# @private
|
732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
733
|
+
property :generation_id, as: 'generationId'
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
class FetchAccessTokenResponse
|
738
|
+
# @private
|
739
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
740
|
+
property :expire_time, as: 'expireTime'
|
741
|
+
property :read_location, as: 'readLocation'
|
742
|
+
property :token, as: 'token'
|
743
|
+
property :write_location, as: 'writeLocation'
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
747
|
+
class FetchUsableBackupVaultsResponse
|
748
|
+
# @private
|
749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
750
|
+
collection :backup_vaults, as: 'backupVaults', class: Google::Apis::BackupdrV1::BackupVault, decorator: Google::Apis::BackupdrV1::BackupVault::Representation
|
751
|
+
|
752
|
+
property :next_page_token, as: 'nextPageToken'
|
753
|
+
collection :unreachable, as: 'unreachable'
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
class FinalizeBackupRequest
|
758
|
+
# @private
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
760
|
+
property :backup_id, as: 'backupId'
|
761
|
+
property :consistency_time, as: 'consistencyTime'
|
762
|
+
property :description, as: 'description'
|
763
|
+
property :recovery_range_end_time, as: 'recoveryRangeEndTime'
|
764
|
+
property :recovery_range_start_time, as: 'recoveryRangeStartTime'
|
765
|
+
property :request_id, as: 'requestId'
|
766
|
+
property :retention_duration, as: 'retentionDuration'
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
class GcpBackupPlanInfo
|
771
|
+
# @private
|
772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
773
|
+
property :backup_plan, as: 'backupPlan'
|
774
|
+
property :backup_plan_rule_id, as: 'backupPlanRuleId'
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
class GcpBackupConfig
|
779
|
+
# @private
|
780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
781
|
+
property :backup_plan, as: 'backupPlan'
|
782
|
+
property :backup_plan_association, as: 'backupPlanAssociation'
|
783
|
+
property :backup_plan_description, as: 'backupPlanDescription'
|
784
|
+
collection :backup_plan_rules, as: 'backupPlanRules'
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
788
|
+
class GuestOsFeature
|
789
|
+
# @private
|
790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
791
|
+
property :type, as: 'type'
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
class InitializeParams
|
796
|
+
# @private
|
797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
798
|
+
property :disk_name, as: 'diskName'
|
799
|
+
collection :replica_zones, as: 'replicaZones'
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
class InitiateBackupRequest
|
804
|
+
# @private
|
805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
property :backup_id, as: 'backupId'
|
807
|
+
property :request_id, as: 'requestId'
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
811
|
+
class InitiateBackupResponse
|
812
|
+
# @private
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
property :backup, as: 'backup'
|
815
|
+
property :base_backup_generation_id, as: 'baseBackupGenerationId'
|
816
|
+
property :new_backup_generation_id, as: 'newBackupGenerationId'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
class ListBackupVaultsResponse
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
collection :backup_vaults, as: 'backupVaults', class: Google::Apis::BackupdrV1::BackupVault, decorator: Google::Apis::BackupdrV1::BackupVault::Representation
|
824
|
+
|
825
|
+
property :next_page_token, as: 'nextPageToken'
|
826
|
+
collection :unreachable, as: 'unreachable'
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
class ListBackupsResponse
|
831
|
+
# @private
|
832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
833
|
+
collection :backups, as: 'backups', class: Google::Apis::BackupdrV1::Backup, decorator: Google::Apis::BackupdrV1::Backup::Representation
|
834
|
+
|
835
|
+
property :next_page_token, as: 'nextPageToken'
|
836
|
+
collection :unreachable, as: 'unreachable'
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
840
|
+
class ListDataSourcesResponse
|
841
|
+
# @private
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
+
collection :data_sources, as: 'dataSources', class: Google::Apis::BackupdrV1::DataSource, decorator: Google::Apis::BackupdrV1::DataSource::Representation
|
844
|
+
|
845
|
+
property :next_page_token, as: 'nextPageToken'
|
846
|
+
collection :unreachable, as: 'unreachable'
|
847
|
+
end
|
848
|
+
end
|
849
|
+
|
206
850
|
class ListLocationsResponse
|
207
851
|
# @private
|
208
852
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -276,6 +920,14 @@ module Google
|
|
276
920
|
end
|
277
921
|
end
|
278
922
|
|
923
|
+
class Metadata
|
924
|
+
# @private
|
925
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
926
|
+
collection :items, as: 'items', class: Google::Apis::BackupdrV1::Entry, decorator: Google::Apis::BackupdrV1::Entry::Representation
|
927
|
+
|
928
|
+
end
|
929
|
+
end
|
930
|
+
|
279
931
|
class NetworkConfig
|
280
932
|
# @private
|
281
933
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -284,6 +936,38 @@ module Google
|
|
284
936
|
end
|
285
937
|
end
|
286
938
|
|
939
|
+
class NetworkInterface
|
940
|
+
# @private
|
941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
942
|
+
collection :access_configs, as: 'accessConfigs', class: Google::Apis::BackupdrV1::AccessConfig, decorator: Google::Apis::BackupdrV1::AccessConfig::Representation
|
943
|
+
|
944
|
+
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::BackupdrV1::AliasIpRange, decorator: Google::Apis::BackupdrV1::AliasIpRange::Representation
|
945
|
+
|
946
|
+
property :internal_ipv6_prefix_length, as: 'internalIpv6PrefixLength'
|
947
|
+
collection :ipv6_access_configs, as: 'ipv6AccessConfigs', class: Google::Apis::BackupdrV1::AccessConfig, decorator: Google::Apis::BackupdrV1::AccessConfig::Representation
|
948
|
+
|
949
|
+
property :ipv6_access_type, as: 'ipv6AccessType'
|
950
|
+
property :ipv6_address, as: 'ipv6Address'
|
951
|
+
property :name, as: 'name'
|
952
|
+
property :network, as: 'network'
|
953
|
+
property :network_attachment, as: 'networkAttachment'
|
954
|
+
property :network_ip, as: 'networkIP'
|
955
|
+
property :nic_type, as: 'nicType'
|
956
|
+
property :queue_count, as: 'queueCount'
|
957
|
+
property :stack_type, as: 'stackType'
|
958
|
+
property :subnetwork, as: 'subnetwork'
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
class NodeAffinity
|
963
|
+
# @private
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
+
property :key, as: 'key'
|
966
|
+
property :operator, as: 'operator'
|
967
|
+
collection :values, as: 'values'
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
287
971
|
class Operation
|
288
972
|
# @private
|
289
973
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -322,6 +1006,52 @@ module Google
|
|
322
1006
|
end
|
323
1007
|
end
|
324
1008
|
|
1009
|
+
class RemoveDataSourceRequest
|
1010
|
+
# @private
|
1011
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1012
|
+
property :request_id, as: 'requestId'
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
class Scheduling
|
1017
|
+
# @private
|
1018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1019
|
+
property :automatic_restart, as: 'automaticRestart'
|
1020
|
+
property :instance_termination_action, as: 'instanceTerminationAction'
|
1021
|
+
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::BackupdrV1::SchedulingDuration, decorator: Google::Apis::BackupdrV1::SchedulingDuration::Representation
|
1022
|
+
|
1023
|
+
property :min_node_cpus, as: 'minNodeCpus'
|
1024
|
+
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::BackupdrV1::NodeAffinity, decorator: Google::Apis::BackupdrV1::NodeAffinity::Representation
|
1025
|
+
|
1026
|
+
property :on_host_maintenance, as: 'onHostMaintenance'
|
1027
|
+
property :preemptible, as: 'preemptible'
|
1028
|
+
property :provisioning_model, as: 'provisioningModel'
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
class SchedulingDuration
|
1033
|
+
# @private
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1035
|
+
property :nanos, as: 'nanos'
|
1036
|
+
property :seconds, :numeric_string => true, as: 'seconds'
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
class ServiceAccount
|
1041
|
+
# @private
|
1042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
property :email, as: 'email'
|
1044
|
+
collection :scopes, as: 'scopes'
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
class ServiceLockInfo
|
1049
|
+
# @private
|
1050
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1051
|
+
property :operation, as: 'operation'
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
325
1055
|
class SetIamPolicyRequest
|
326
1056
|
# @private
|
327
1057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -331,6 +1061,15 @@ module Google
|
|
331
1061
|
end
|
332
1062
|
end
|
333
1063
|
|
1064
|
+
class SetInternalStatusRequest
|
1065
|
+
# @private
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1067
|
+
property :backup_config_state, as: 'backupConfigState'
|
1068
|
+
property :request_id, as: 'requestId'
|
1069
|
+
property :value, :base64 => true, as: 'value'
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
334
1073
|
class Status
|
335
1074
|
# @private
|
336
1075
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -340,6 +1079,13 @@ module Google
|
|
340
1079
|
end
|
341
1080
|
end
|
342
1081
|
|
1082
|
+
class Tags
|
1083
|
+
# @private
|
1084
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1085
|
+
collection :items, as: 'items'
|
1086
|
+
end
|
1087
|
+
end
|
1088
|
+
|
343
1089
|
class TestIamPermissionsRequest
|
344
1090
|
# @private
|
345
1091
|
class Representation < Google::Apis::Core::JsonRepresentation
|