google-apis-baremetalsolution_v2 0.9.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 +12 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +206 -191
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +82 -79
- data/lib/google/apis/baremetalsolution_v2/service.rb +100 -337
- metadata +3 -3
@@ -28,7 +28,13 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class DetachLunRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class FetchInstanceProvisioningSettingsResponse
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
34
40
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -100,49 +106,49 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
103
|
-
class
|
109
|
+
class ListVolumesResponse
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
109
|
-
class
|
115
|
+
class Location
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
115
|
-
class
|
121
|
+
class LogicalInterface
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
121
|
-
class
|
127
|
+
class Lun
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
124
130
|
include Google::Apis::Core::JsonObjectSupport
|
125
131
|
end
|
126
132
|
|
127
|
-
class
|
133
|
+
class LunRange
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
133
|
-
class
|
139
|
+
class Network
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
139
|
-
class
|
145
|
+
class NetworkAddress
|
140
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
147
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
150
|
|
145
|
-
class
|
151
|
+
class NetworkAddressReservation
|
146
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
153
|
|
148
154
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -172,43 +178,43 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
175
|
-
class
|
181
|
+
class OsImage
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
186
|
|
181
|
-
class
|
187
|
+
class Operation
|
182
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
189
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
187
|
-
class
|
193
|
+
class ProvisioningConfig
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
193
|
-
class
|
199
|
+
class ProvisioningQuota
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
196
202
|
include Google::Apis::Core::JsonObjectSupport
|
197
203
|
end
|
198
204
|
|
199
|
-
class
|
205
|
+
class QosPolicy
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
202
208
|
include Google::Apis::Core::JsonObjectSupport
|
203
209
|
end
|
204
210
|
|
205
|
-
class
|
211
|
+
class ResetInstanceRequest
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
209
215
|
end
|
210
216
|
|
211
|
-
class
|
217
|
+
class ServerNetworkTemplate
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
214
220
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -220,19 +226,19 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
223
|
-
class
|
229
|
+
class StartInstanceRequest
|
224
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
231
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
229
|
-
class
|
235
|
+
class Status
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
232
238
|
include Google::Apis::Core::JsonObjectSupport
|
233
239
|
end
|
234
240
|
|
235
|
-
class
|
241
|
+
class StopInstanceRequest
|
236
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
243
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -274,12 +280,6 @@ module Google
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
275
281
|
end
|
276
282
|
|
277
|
-
class VolumeSnapshot
|
278
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
-
|
280
|
-
include Google::Apis::Core::JsonObjectSupport
|
281
|
-
end
|
282
|
-
|
283
283
|
class AllowedClient
|
284
284
|
# @private
|
285
285
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -293,9 +293,18 @@ module Google
|
|
293
293
|
end
|
294
294
|
end
|
295
295
|
|
296
|
-
class
|
296
|
+
class DetachLunRequest
|
297
297
|
# @private
|
298
298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
+
property :lun, as: 'lun'
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
303
|
+
class FetchInstanceProvisioningSettingsResponse
|
304
|
+
# @private
|
305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
306
|
+
collection :images, as: 'images', class: Google::Apis::BaremetalsolutionV2::OsImage, decorator: Google::Apis::BaremetalsolutionV2::OsImage::Representation
|
307
|
+
|
299
308
|
end
|
300
309
|
end
|
301
310
|
|
@@ -313,6 +322,7 @@ module Google
|
|
313
322
|
property :name, as: 'name'
|
314
323
|
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
|
315
324
|
|
325
|
+
property :os_image, as: 'osImage'
|
316
326
|
property :state, as: 'state'
|
317
327
|
property :update_time, as: 'updateTime'
|
318
328
|
end
|
@@ -419,25 +429,6 @@ module Google
|
|
419
429
|
end
|
420
430
|
end
|
421
431
|
|
422
|
-
class ListSnapshotSchedulePoliciesResponse
|
423
|
-
# @private
|
424
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
425
|
-
property :next_page_token, as: 'nextPageToken'
|
426
|
-
collection :snapshot_schedule_policies, as: 'snapshotSchedulePolicies', class: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy, decorator: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy::Representation
|
427
|
-
|
428
|
-
end
|
429
|
-
end
|
430
|
-
|
431
|
-
class ListVolumeSnapshotsResponse
|
432
|
-
# @private
|
433
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
434
|
-
property :next_page_token, as: 'nextPageToken'
|
435
|
-
collection :unreachable, as: 'unreachable'
|
436
|
-
collection :volume_snapshots, as: 'volumeSnapshots', class: Google::Apis::BaremetalsolutionV2::VolumeSnapshot, decorator: Google::Apis::BaremetalsolutionV2::VolumeSnapshot::Representation
|
437
|
-
|
438
|
-
end
|
439
|
-
end
|
440
|
-
|
441
432
|
class ListVolumesResponse
|
442
433
|
# @private
|
443
434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -459,6 +450,15 @@ module Google
|
|
459
450
|
end
|
460
451
|
end
|
461
452
|
|
453
|
+
class LogicalInterface
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :name, as: 'name'
|
457
|
+
property :required, as: 'required'
|
458
|
+
property :type, as: 'type'
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
462
|
class Lun
|
463
463
|
# @private
|
464
464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -492,6 +492,8 @@ module Google
|
|
492
492
|
hash :labels, as: 'labels'
|
493
493
|
collection :mac_address, as: 'macAddress'
|
494
494
|
property :name, as: 'name'
|
495
|
+
collection :reservations, as: 'reservations', class: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation::Representation
|
496
|
+
|
495
497
|
property :services_cidr, as: 'servicesCidr'
|
496
498
|
property :state, as: 'state'
|
497
499
|
property :type, as: 'type'
|
@@ -510,6 +512,15 @@ module Google
|
|
510
512
|
end
|
511
513
|
end
|
512
514
|
|
515
|
+
class NetworkAddressReservation
|
516
|
+
# @private
|
517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
518
|
+
property :end_address, as: 'endAddress'
|
519
|
+
property :note, as: 'note'
|
520
|
+
property :start_address, as: 'startAddress'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
513
524
|
class NetworkConfig
|
514
525
|
# @private
|
515
526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -562,6 +573,18 @@ module Google
|
|
562
573
|
end
|
563
574
|
end
|
564
575
|
|
576
|
+
class OsImage
|
577
|
+
# @private
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
579
|
+
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
580
|
+
property :code, as: 'code'
|
581
|
+
property :description, as: 'description'
|
582
|
+
property :name, as: 'name'
|
583
|
+
collection :supported_network_templates, as: 'supportedNetworkTemplates', class: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate, decorator: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate::Representation
|
584
|
+
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
565
588
|
class Operation
|
566
589
|
# @private
|
567
590
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -604,6 +627,9 @@ module Google
|
|
604
627
|
|
605
628
|
property :location, as: 'location'
|
606
629
|
property :name, as: 'name'
|
630
|
+
property :network_bandwidth, :numeric_string => true, as: 'networkBandwidth'
|
631
|
+
property :server_count, :numeric_string => true, as: 'serverCount'
|
632
|
+
property :storage_gib, :numeric_string => true, as: 'storageGib'
|
607
633
|
end
|
608
634
|
end
|
609
635
|
|
@@ -620,18 +646,13 @@ module Google
|
|
620
646
|
end
|
621
647
|
end
|
622
648
|
|
623
|
-
class
|
649
|
+
class ServerNetworkTemplate
|
624
650
|
# @private
|
625
651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
-
|
627
|
-
|
652
|
+
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
653
|
+
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::LogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::LogicalInterface::Representation
|
628
654
|
|
629
|
-
|
630
|
-
# @private
|
631
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
632
|
-
property :crontab_spec, as: 'crontabSpec'
|
633
|
-
property :prefix, as: 'prefix'
|
634
|
-
property :retention_count, as: 'retentionCount'
|
655
|
+
property :name, as: 'name'
|
635
656
|
end
|
636
657
|
end
|
637
658
|
|
@@ -645,19 +666,6 @@ module Google
|
|
645
666
|
end
|
646
667
|
end
|
647
668
|
|
648
|
-
class SnapshotSchedulePolicy
|
649
|
-
# @private
|
650
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
651
|
-
property :description, as: 'description'
|
652
|
-
property :id, as: 'id'
|
653
|
-
hash :labels, as: 'labels'
|
654
|
-
property :name, as: 'name'
|
655
|
-
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
656
|
-
|
657
|
-
property :state, as: 'state'
|
658
|
-
end
|
659
|
-
end
|
660
|
-
|
661
669
|
class StartInstanceRequest
|
662
670
|
# @private
|
663
671
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -673,6 +681,12 @@ module Google
|
|
673
681
|
end
|
674
682
|
end
|
675
683
|
|
684
|
+
class StopInstanceRequest
|
685
|
+
# @private
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
676
690
|
class SubmitProvisioningConfigRequest
|
677
691
|
# @private
|
678
692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -716,6 +730,7 @@ module Google
|
|
716
730
|
class Representation < Google::Apis::Core::JsonRepresentation
|
717
731
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
718
732
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
733
|
+
property :emergency_size_gib, :numeric_string => true, as: 'emergencySizeGib'
|
719
734
|
property :id, as: 'id'
|
720
735
|
hash :labels, as: 'labels'
|
721
736
|
property :name, as: 'name'
|
@@ -749,18 +764,6 @@ module Google
|
|
749
764
|
property :user_note, as: 'userNote'
|
750
765
|
end
|
751
766
|
end
|
752
|
-
|
753
|
-
class VolumeSnapshot
|
754
|
-
# @private
|
755
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
756
|
-
property :create_time, as: 'createTime'
|
757
|
-
property :description, as: 'description'
|
758
|
-
property :id, as: 'id'
|
759
|
-
property :name, as: 'name'
|
760
|
-
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
761
|
-
property :storage_volume, as: 'storageVolume'
|
762
|
-
end
|
763
|
-
end
|
764
767
|
end
|
765
768
|
end
|
766
769
|
end
|