google-apis-baremetalsolution_v2 0.5.0 → 0.8.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 +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/baremetalsolution_v2/classes.rb +789 -51
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +3 -3
- data/lib/google/apis/baremetalsolution_v2/representations.rb +307 -16
- data/lib/google/apis/baremetalsolution_v2/service.rb +243 -66
- metadata +4 -4
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BaremetalsolutionV2
|
18
18
|
# Version of the google-apis-baremetalsolution_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,19 +22,31 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BaremetalsolutionV2
|
24
24
|
|
25
|
-
class
|
25
|
+
class Empty
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Instance
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class InstanceConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class InstanceQuota
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class IntakeVlanAttachment
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
40
52
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -58,13 +70,19 @@ module Google
|
|
58
70
|
include Google::Apis::Core::JsonObjectSupport
|
59
71
|
end
|
60
72
|
|
73
|
+
class ListNetworkUsageResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
61
79
|
class ListNetworksResponse
|
62
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
81
|
|
64
82
|
include Google::Apis::Core::JsonObjectSupport
|
65
83
|
end
|
66
84
|
|
67
|
-
class
|
85
|
+
class ListProvisioningQuotasResponse
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
87
|
|
70
88
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -100,18 +118,66 @@ module Google
|
|
100
118
|
include Google::Apis::Core::JsonObjectSupport
|
101
119
|
end
|
102
120
|
|
121
|
+
class LunRange
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
103
127
|
class Network
|
104
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
129
|
|
106
130
|
include Google::Apis::Core::JsonObjectSupport
|
107
131
|
end
|
108
132
|
|
133
|
+
class NetworkAddress
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class NetworkConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class NetworkUsage
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class NfsExport
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
109
157
|
class Operation
|
110
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
159
|
|
112
160
|
include Google::Apis::Core::JsonObjectSupport
|
113
161
|
end
|
114
162
|
|
163
|
+
class ProvisioningConfig
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class ProvisioningQuota
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class QosPolicy
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
115
181
|
class ResetInstanceRequest
|
116
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
183
|
|
@@ -142,34 +208,58 @@ module Google
|
|
142
208
|
include Google::Apis::Core::JsonObjectSupport
|
143
209
|
end
|
144
210
|
|
211
|
+
class StartInstanceRequest
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
145
217
|
class Status
|
146
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
219
|
|
148
220
|
include Google::Apis::Core::JsonObjectSupport
|
149
221
|
end
|
150
222
|
|
223
|
+
class SubmitProvisioningConfigRequest
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class SubmitProvisioningConfigResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
151
235
|
class Vrf
|
152
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
237
|
|
154
238
|
include Google::Apis::Core::JsonObjectSupport
|
155
239
|
end
|
156
240
|
|
241
|
+
class VlanAttachment
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
157
247
|
class Volume
|
158
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
249
|
|
160
250
|
include Google::Apis::Core::JsonObjectSupport
|
161
251
|
end
|
162
252
|
|
163
|
-
class
|
253
|
+
class VolumeConfig
|
164
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
255
|
|
166
256
|
include Google::Apis::Core::JsonObjectSupport
|
167
257
|
end
|
168
258
|
|
169
|
-
class
|
170
|
-
|
171
|
-
|
172
|
-
|
259
|
+
class VolumeSnapshot
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
263
|
end
|
174
264
|
|
175
265
|
class Empty
|
@@ -183,6 +273,7 @@ module Google
|
|
183
273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
184
274
|
property :create_time, as: 'createTime'
|
185
275
|
property :hyperthreading_enabled, as: 'hyperthreadingEnabled'
|
276
|
+
property :id, as: 'id'
|
186
277
|
property :interactive_serial_console_enabled, as: 'interactiveSerialConsoleEnabled'
|
187
278
|
hash :labels, as: 'labels'
|
188
279
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
@@ -196,6 +287,40 @@ module Google
|
|
196
287
|
end
|
197
288
|
end
|
198
289
|
|
290
|
+
class InstanceConfig
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :client_network, as: 'clientNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
|
294
|
+
|
295
|
+
property :hyperthreading, as: 'hyperthreading'
|
296
|
+
property :id, as: 'id'
|
297
|
+
property :instance_type, as: 'instanceType'
|
298
|
+
property :name, as: 'name'
|
299
|
+
property :os_image, as: 'osImage'
|
300
|
+
property :private_network, as: 'privateNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
|
301
|
+
|
302
|
+
property :user_note, as: 'userNote'
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
class InstanceQuota
|
307
|
+
# @private
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
309
|
+
property :available_machine_count, as: 'availableMachineCount'
|
310
|
+
property :instance_type, as: 'instanceType'
|
311
|
+
property :location, as: 'location'
|
312
|
+
property :name, as: 'name'
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
class IntakeVlanAttachment
|
317
|
+
# @private
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
319
|
+
property :id, as: 'id'
|
320
|
+
property :pairing_key, as: 'pairingKey'
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
199
324
|
class ListInstancesResponse
|
200
325
|
# @private
|
201
326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -225,6 +350,14 @@ module Google
|
|
225
350
|
end
|
226
351
|
end
|
227
352
|
|
353
|
+
class ListNetworkUsageResponse
|
354
|
+
# @private
|
355
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
356
|
+
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkUsage, decorator: Google::Apis::BaremetalsolutionV2::NetworkUsage::Representation
|
357
|
+
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
228
361
|
class ListNetworksResponse
|
229
362
|
# @private
|
230
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -235,11 +368,11 @@ module Google
|
|
235
368
|
end
|
236
369
|
end
|
237
370
|
|
238
|
-
class
|
371
|
+
class ListProvisioningQuotasResponse
|
239
372
|
# @private
|
240
373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
241
374
|
property :next_page_token, as: 'nextPageToken'
|
242
|
-
collection :
|
375
|
+
collection :provisioning_quotas, as: 'provisioningQuotas', class: Google::Apis::BaremetalsolutionV2::ProvisioningQuota, decorator: Google::Apis::BaremetalsolutionV2::ProvisioningQuota::Representation
|
243
376
|
|
244
377
|
end
|
245
378
|
end
|
@@ -288,6 +421,7 @@ module Google
|
|
288
421
|
# @private
|
289
422
|
class Representation < Google::Apis::Core::JsonRepresentation
|
290
423
|
property :boot_lun, as: 'bootLun'
|
424
|
+
property :id, as: 'id'
|
291
425
|
property :multiprotocol_type, as: 'multiprotocolType'
|
292
426
|
property :name, as: 'name'
|
293
427
|
property :shareable, as: 'shareable'
|
@@ -299,14 +433,24 @@ module Google
|
|
299
433
|
end
|
300
434
|
end
|
301
435
|
|
436
|
+
class LunRange
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :quantity, as: 'quantity'
|
440
|
+
property :size_gb, as: 'sizeGb'
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
302
444
|
class Network
|
303
445
|
# @private
|
304
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
305
447
|
property :cidr, as: 'cidr'
|
448
|
+
property :id, as: 'id'
|
306
449
|
property :ip_address, as: 'ipAddress'
|
450
|
+
hash :labels, as: 'labels'
|
307
451
|
collection :mac_address, as: 'macAddress'
|
308
452
|
property :name, as: 'name'
|
309
|
-
property :
|
453
|
+
property :services_cidr, as: 'servicesCidr'
|
310
454
|
property :state, as: 'state'
|
311
455
|
property :type, as: 'type'
|
312
456
|
property :vlan_id, as: 'vlanId'
|
@@ -315,6 +459,54 @@ module Google
|
|
315
459
|
end
|
316
460
|
end
|
317
461
|
|
462
|
+
class NetworkAddress
|
463
|
+
# @private
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
465
|
+
property :address, as: 'address'
|
466
|
+
property :existing_network_id, as: 'existingNetworkId'
|
467
|
+
property :network_id, as: 'networkId'
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
471
|
+
class NetworkConfig
|
472
|
+
# @private
|
473
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
474
|
+
property :bandwidth, as: 'bandwidth'
|
475
|
+
property :cidr, as: 'cidr'
|
476
|
+
property :gcp_service, as: 'gcpService'
|
477
|
+
property :id, as: 'id'
|
478
|
+
property :name, as: 'name'
|
479
|
+
property :service_cidr, as: 'serviceCidr'
|
480
|
+
property :type, as: 'type'
|
481
|
+
property :user_note, as: 'userNote'
|
482
|
+
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment::Representation
|
483
|
+
|
484
|
+
property :vlan_same_project, as: 'vlanSameProject'
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
class NetworkUsage
|
489
|
+
# @private
|
490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
491
|
+
property :network, as: 'network', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
|
492
|
+
|
493
|
+
collection :used_ips, as: 'usedIps'
|
494
|
+
end
|
495
|
+
end
|
496
|
+
|
497
|
+
class NfsExport
|
498
|
+
# @private
|
499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
500
|
+
property :allow_dev, as: 'allowDev'
|
501
|
+
property :allow_suid, as: 'allowSuid'
|
502
|
+
property :cidr, as: 'cidr'
|
503
|
+
property :machine_id, as: 'machineId'
|
504
|
+
property :network_id, as: 'networkId'
|
505
|
+
property :no_root_squash, as: 'noRootSquash'
|
506
|
+
property :permissions, as: 'permissions'
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
318
510
|
class Operation
|
319
511
|
# @private
|
320
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -327,6 +519,46 @@ module Google
|
|
327
519
|
end
|
328
520
|
end
|
329
521
|
|
522
|
+
class ProvisioningConfig
|
523
|
+
# @private
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
525
|
+
property :cloud_console_uri, as: 'cloudConsoleUri'
|
526
|
+
property :email, as: 'email'
|
527
|
+
property :handover_service_account, as: 'handoverServiceAccount'
|
528
|
+
collection :instances, as: 'instances', class: Google::Apis::BaremetalsolutionV2::InstanceConfig, decorator: Google::Apis::BaremetalsolutionV2::InstanceConfig::Representation
|
529
|
+
|
530
|
+
property :location, as: 'location'
|
531
|
+
property :name, as: 'name'
|
532
|
+
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkConfig, decorator: Google::Apis::BaremetalsolutionV2::NetworkConfig::Representation
|
533
|
+
|
534
|
+
property :state, as: 'state'
|
535
|
+
property :ticket_id, as: 'ticketId'
|
536
|
+
property :update_time, as: 'updateTime'
|
537
|
+
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::VolumeConfig, decorator: Google::Apis::BaremetalsolutionV2::VolumeConfig::Representation
|
538
|
+
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class ProvisioningQuota
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :asset_type, as: 'assetType'
|
546
|
+
property :available_count, as: 'availableCount'
|
547
|
+
property :gcp_service, as: 'gcpService'
|
548
|
+
property :instance_quota, as: 'instanceQuota', class: Google::Apis::BaremetalsolutionV2::InstanceQuota, decorator: Google::Apis::BaremetalsolutionV2::InstanceQuota::Representation
|
549
|
+
|
550
|
+
property :location, as: 'location'
|
551
|
+
property :name, as: 'name'
|
552
|
+
end
|
553
|
+
end
|
554
|
+
|
555
|
+
class QosPolicy
|
556
|
+
# @private
|
557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
558
|
+
property :bandwidth_gbps, as: 'bandwidthGbps'
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
330
562
|
class ResetInstanceRequest
|
331
563
|
# @private
|
332
564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -352,6 +584,7 @@ module Google
|
|
352
584
|
# @private
|
353
585
|
class Representation < Google::Apis::Core::JsonRepresentation
|
354
586
|
property :reserved_space_gib, :numeric_string => true, as: 'reservedSpaceGib'
|
587
|
+
property :reserved_space_percent, as: 'reservedSpacePercent'
|
355
588
|
property :reserved_space_remaining_gib, :numeric_string => true, as: 'reservedSpaceRemainingGib'
|
356
589
|
property :reserved_space_used_percent, as: 'reservedSpaceUsedPercent'
|
357
590
|
end
|
@@ -361,10 +594,18 @@ module Google
|
|
361
594
|
# @private
|
362
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
363
596
|
property :description, as: 'description'
|
597
|
+
property :id, as: 'id'
|
598
|
+
hash :labels, as: 'labels'
|
364
599
|
property :name, as: 'name'
|
365
600
|
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
366
601
|
|
367
|
-
|
602
|
+
property :state, as: 'state'
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
class StartInstanceRequest
|
607
|
+
# @private
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
368
609
|
end
|
369
610
|
end
|
370
611
|
|
@@ -377,14 +618,41 @@ module Google
|
|
377
618
|
end
|
378
619
|
end
|
379
620
|
|
621
|
+
class SubmitProvisioningConfigRequest
|
622
|
+
# @private
|
623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
624
|
+
property :email, as: 'email'
|
625
|
+
property :provisioning_config, as: 'provisioningConfig', class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig, decorator: Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
626
|
+
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
class SubmitProvisioningConfigResponse
|
631
|
+
# @private
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
633
|
+
property :provisioning_config, as: 'provisioningConfig', class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig, decorator: Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
|
634
|
+
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
380
638
|
class Vrf
|
381
639
|
# @private
|
382
640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
383
|
-
property :autonomous_system_number, as: 'autonomousSystemNumber'
|
384
|
-
property :juniper_alias, as: 'juniperAlias'
|
385
641
|
property :name, as: 'name'
|
386
|
-
property :
|
642
|
+
property :qos_policy, as: 'qosPolicy', class: Google::Apis::BaremetalsolutionV2::QosPolicy, decorator: Google::Apis::BaremetalsolutionV2::QosPolicy::Representation
|
643
|
+
|
387
644
|
property :state, as: 'state'
|
645
|
+
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::VlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::VlanAttachment::Representation
|
646
|
+
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
class VlanAttachment
|
651
|
+
# @private
|
652
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
653
|
+
property :peer_ip, as: 'peerIp'
|
654
|
+
property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
|
655
|
+
property :router_ip, as: 'routerIp'
|
388
656
|
end
|
389
657
|
end
|
390
658
|
|
@@ -393,10 +661,13 @@ module Google
|
|
393
661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
394
662
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
395
663
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
664
|
+
property :id, as: 'id'
|
665
|
+
hash :labels, as: 'labels'
|
396
666
|
property :name, as: 'name'
|
397
667
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
398
668
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
399
669
|
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
670
|
+
property :snapshot_enabled, as: 'snapshotEnabled'
|
400
671
|
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
401
672
|
|
402
673
|
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy'
|
@@ -405,11 +676,31 @@ module Google
|
|
405
676
|
end
|
406
677
|
end
|
407
678
|
|
679
|
+
class VolumeConfig
|
680
|
+
# @private
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :gcp_service, as: 'gcpService'
|
683
|
+
property :id, as: 'id'
|
684
|
+
collection :lun_ranges, as: 'lunRanges', class: Google::Apis::BaremetalsolutionV2::LunRange, decorator: Google::Apis::BaremetalsolutionV2::LunRange::Representation
|
685
|
+
|
686
|
+
collection :machine_ids, as: 'machineIds'
|
687
|
+
property :name, as: 'name'
|
688
|
+
collection :nfs_exports, as: 'nfsExports', class: Google::Apis::BaremetalsolutionV2::NfsExport, decorator: Google::Apis::BaremetalsolutionV2::NfsExport::Representation
|
689
|
+
|
690
|
+
property :protocol, as: 'protocol'
|
691
|
+
property :size_gb, as: 'sizeGb'
|
692
|
+
property :snapshots_enabled, as: 'snapshotsEnabled'
|
693
|
+
property :type, as: 'type'
|
694
|
+
property :user_note, as: 'userNote'
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
408
698
|
class VolumeSnapshot
|
409
699
|
# @private
|
410
700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
411
701
|
property :create_time, as: 'createTime'
|
412
702
|
property :description, as: 'description'
|
703
|
+
property :id, as: 'id'
|
413
704
|
property :name, as: 'name'
|
414
705
|
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
415
706
|
property :storage_volume, as: 'storageVolume'
|