google-apis-baremetalsolution_v2 0.10.0 → 0.13.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +202 -190
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +81 -79
- data/lib/google/apis/baremetalsolution_v2/service.rb +101 -338
- 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,8 @@ 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'
|
326
|
+
property :pod, as: 'pod'
|
316
327
|
property :state, as: 'state'
|
317
328
|
property :update_time, as: 'updateTime'
|
318
329
|
end
|
@@ -419,25 +430,6 @@ module Google
|
|
419
430
|
end
|
420
431
|
end
|
421
432
|
|
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
433
|
class ListVolumesResponse
|
442
434
|
# @private
|
443
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -459,6 +451,15 @@ module Google
|
|
459
451
|
end
|
460
452
|
end
|
461
453
|
|
454
|
+
class LogicalInterface
|
455
|
+
# @private
|
456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
+
property :name, as: 'name'
|
458
|
+
property :required, as: 'required'
|
459
|
+
property :type, as: 'type'
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
462
463
|
class Lun
|
463
464
|
# @private
|
464
465
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -492,6 +493,8 @@ module Google
|
|
492
493
|
hash :labels, as: 'labels'
|
493
494
|
collection :mac_address, as: 'macAddress'
|
494
495
|
property :name, as: 'name'
|
496
|
+
collection :reservations, as: 'reservations', class: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation::Representation
|
497
|
+
|
495
498
|
property :services_cidr, as: 'servicesCidr'
|
496
499
|
property :state, as: 'state'
|
497
500
|
property :type, as: 'type'
|
@@ -510,6 +513,15 @@ module Google
|
|
510
513
|
end
|
511
514
|
end
|
512
515
|
|
516
|
+
class NetworkAddressReservation
|
517
|
+
# @private
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
property :end_address, as: 'endAddress'
|
520
|
+
property :note, as: 'note'
|
521
|
+
property :start_address, as: 'startAddress'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
513
525
|
class NetworkConfig
|
514
526
|
# @private
|
515
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -562,6 +574,18 @@ module Google
|
|
562
574
|
end
|
563
575
|
end
|
564
576
|
|
577
|
+
class OsImage
|
578
|
+
# @private
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
580
|
+
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
581
|
+
property :code, as: 'code'
|
582
|
+
property :description, as: 'description'
|
583
|
+
property :name, as: 'name'
|
584
|
+
collection :supported_network_templates, as: 'supportedNetworkTemplates', class: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate, decorator: Google::Apis::BaremetalsolutionV2::ServerNetworkTemplate::Representation
|
585
|
+
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
565
589
|
class Operation
|
566
590
|
# @private
|
567
591
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -623,18 +647,13 @@ module Google
|
|
623
647
|
end
|
624
648
|
end
|
625
649
|
|
626
|
-
class
|
650
|
+
class ServerNetworkTemplate
|
627
651
|
# @private
|
628
652
|
class Representation < Google::Apis::Core::JsonRepresentation
|
629
|
-
|
630
|
-
|
653
|
+
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
654
|
+
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::LogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::LogicalInterface::Representation
|
631
655
|
|
632
|
-
|
633
|
-
# @private
|
634
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
-
property :crontab_spec, as: 'crontabSpec'
|
636
|
-
property :prefix, as: 'prefix'
|
637
|
-
property :retention_count, as: 'retentionCount'
|
656
|
+
property :name, as: 'name'
|
638
657
|
end
|
639
658
|
end
|
640
659
|
|
@@ -648,19 +667,6 @@ module Google
|
|
648
667
|
end
|
649
668
|
end
|
650
669
|
|
651
|
-
class SnapshotSchedulePolicy
|
652
|
-
# @private
|
653
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
654
|
-
property :description, as: 'description'
|
655
|
-
property :id, as: 'id'
|
656
|
-
hash :labels, as: 'labels'
|
657
|
-
property :name, as: 'name'
|
658
|
-
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
659
|
-
|
660
|
-
property :state, as: 'state'
|
661
|
-
end
|
662
|
-
end
|
663
|
-
|
664
670
|
class StartInstanceRequest
|
665
671
|
# @private
|
666
672
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -676,6 +682,12 @@ module Google
|
|
676
682
|
end
|
677
683
|
end
|
678
684
|
|
685
|
+
class StopInstanceRequest
|
686
|
+
# @private
|
687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
679
691
|
class SubmitProvisioningConfigRequest
|
680
692
|
# @private
|
681
693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -719,9 +731,11 @@ module Google
|
|
719
731
|
class Representation < Google::Apis::Core::JsonRepresentation
|
720
732
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
721
733
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
734
|
+
property :emergency_size_gib, :numeric_string => true, as: 'emergencySizeGib'
|
722
735
|
property :id, as: 'id'
|
723
736
|
hash :labels, as: 'labels'
|
724
737
|
property :name, as: 'name'
|
738
|
+
property :pod, as: 'pod'
|
725
739
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
726
740
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
727
741
|
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
@@ -752,18 +766,6 @@ module Google
|
|
752
766
|
property :user_note, as: 'userNote'
|
753
767
|
end
|
754
768
|
end
|
755
|
-
|
756
|
-
class VolumeSnapshot
|
757
|
-
# @private
|
758
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
759
|
-
property :create_time, as: 'createTime'
|
760
|
-
property :description, as: 'description'
|
761
|
-
property :id, as: 'id'
|
762
|
-
property :name, as: 'name'
|
763
|
-
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
764
|
-
property :storage_volume, as: 'storageVolume'
|
765
|
-
end
|
766
|
-
end
|
767
769
|
end
|
768
770
|
end
|
769
771
|
end
|