google-apis-baremetalsolution_v2 0.11.0 → 0.14.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 +211 -227
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +68 -103
- data/lib/google/apis/baremetalsolution_v2/service.rb +36 -337
- metadata +4 -4
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class DetachLunRequest
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -40,6 +40,18 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleCloudBaremetalsolutionV2LogicalInterface
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class Instance
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -106,18 +118,6 @@ module Google
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
109
|
-
class ListSnapshotSchedulePoliciesResponse
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class ListVolumeSnapshotsResponse
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
121
|
class ListVolumesResponse
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
@@ -130,7 +130,7 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class LogicalNetworkInterface
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class NetworkAddressReservation
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class NetworkConfig
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -220,18 +226,6 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
223
|
-
class RestoreVolumeSnapshotRequest
|
224
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
-
|
226
|
-
include Google::Apis::Core::JsonObjectSupport
|
227
|
-
end
|
228
|
-
|
229
|
-
class Schedule
|
230
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
-
|
232
|
-
include Google::Apis::Core::JsonObjectSupport
|
233
|
-
end
|
234
|
-
|
235
229
|
class ServerNetworkTemplate
|
236
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
231
|
|
@@ -244,12 +238,6 @@ module Google
|
|
244
238
|
include Google::Apis::Core::JsonObjectSupport
|
245
239
|
end
|
246
240
|
|
247
|
-
class SnapshotSchedulePolicy
|
248
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
-
|
250
|
-
include Google::Apis::Core::JsonObjectSupport
|
251
|
-
end
|
252
|
-
|
253
241
|
class StartInstanceRequest
|
254
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
243
|
|
@@ -304,12 +292,6 @@ module Google
|
|
304
292
|
include Google::Apis::Core::JsonObjectSupport
|
305
293
|
end
|
306
294
|
|
307
|
-
class VolumeSnapshot
|
308
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
-
|
310
|
-
include Google::Apis::Core::JsonObjectSupport
|
311
|
-
end
|
312
|
-
|
313
295
|
class AllowedClient
|
314
296
|
# @private
|
315
297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -323,9 +305,10 @@ module Google
|
|
323
305
|
end
|
324
306
|
end
|
325
307
|
|
326
|
-
class
|
308
|
+
class DetachLunRequest
|
327
309
|
# @private
|
328
310
|
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
+
property :lun, as: 'lun'
|
329
312
|
end
|
330
313
|
end
|
331
314
|
|
@@ -337,6 +320,25 @@ module Google
|
|
337
320
|
end
|
338
321
|
end
|
339
322
|
|
323
|
+
class GoogleCloudBaremetalsolutionV2LogicalInterface
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
property :interface_index, as: 'interfaceIndex'
|
327
|
+
collection :logical_network_interfaces, as: 'logicalNetworkInterfaces', class: Google::Apis::BaremetalsolutionV2::LogicalNetworkInterface, decorator: Google::Apis::BaremetalsolutionV2::LogicalNetworkInterface::Representation
|
328
|
+
|
329
|
+
property :name, as: 'name'
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
class GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface
|
334
|
+
# @private
|
335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
336
|
+
property :name, as: 'name'
|
337
|
+
property :required, as: 'required'
|
338
|
+
property :type, as: 'type'
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
340
342
|
class Instance
|
341
343
|
# @private
|
342
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -345,13 +347,17 @@ module Google
|
|
345
347
|
property :id, as: 'id'
|
346
348
|
property :interactive_serial_console_enabled, as: 'interactiveSerialConsoleEnabled'
|
347
349
|
hash :labels, as: 'labels'
|
350
|
+
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface::Representation
|
351
|
+
|
348
352
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
349
353
|
|
350
354
|
property :machine_type, as: 'machineType'
|
351
355
|
property :name, as: 'name'
|
356
|
+
property :network_template, as: 'networkTemplate'
|
352
357
|
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
|
353
358
|
|
354
359
|
property :os_image, as: 'osImage'
|
360
|
+
property :pod, as: 'pod'
|
355
361
|
property :state, as: 'state'
|
356
362
|
property :update_time, as: 'updateTime'
|
357
363
|
end
|
@@ -366,7 +372,11 @@ module Google
|
|
366
372
|
property :hyperthreading, as: 'hyperthreading'
|
367
373
|
property :id, as: 'id'
|
368
374
|
property :instance_type, as: 'instanceType'
|
375
|
+
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2LogicalInterface::Representation
|
376
|
+
|
369
377
|
property :name, as: 'name'
|
378
|
+
property :network_config, as: 'networkConfig'
|
379
|
+
property :network_template, as: 'networkTemplate'
|
370
380
|
property :os_image, as: 'osImage'
|
371
381
|
property :private_network, as: 'privateNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
|
372
382
|
|
@@ -458,25 +468,6 @@ module Google
|
|
458
468
|
end
|
459
469
|
end
|
460
470
|
|
461
|
-
class ListSnapshotSchedulePoliciesResponse
|
462
|
-
# @private
|
463
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
-
property :next_page_token, as: 'nextPageToken'
|
465
|
-
collection :snapshot_schedule_policies, as: 'snapshotSchedulePolicies', class: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy, decorator: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy::Representation
|
466
|
-
|
467
|
-
end
|
468
|
-
end
|
469
|
-
|
470
|
-
class ListVolumeSnapshotsResponse
|
471
|
-
# @private
|
472
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
-
property :next_page_token, as: 'nextPageToken'
|
474
|
-
collection :unreachable, as: 'unreachable'
|
475
|
-
collection :volume_snapshots, as: 'volumeSnapshots', class: Google::Apis::BaremetalsolutionV2::VolumeSnapshot, decorator: Google::Apis::BaremetalsolutionV2::VolumeSnapshot::Representation
|
476
|
-
|
477
|
-
end
|
478
|
-
end
|
479
|
-
|
480
471
|
class ListVolumesResponse
|
481
472
|
# @private
|
482
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -498,12 +489,14 @@ module Google
|
|
498
489
|
end
|
499
490
|
end
|
500
491
|
|
501
|
-
class
|
492
|
+
class LogicalNetworkInterface
|
502
493
|
# @private
|
503
494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
-
property :
|
505
|
-
property :
|
506
|
-
property :
|
495
|
+
property :default_gateway, as: 'defaultGateway'
|
496
|
+
property :id, as: 'id'
|
497
|
+
property :ip_address, as: 'ipAddress'
|
498
|
+
property :network, as: 'network'
|
499
|
+
property :network_type, as: 'networkType'
|
507
500
|
end
|
508
501
|
end
|
509
502
|
|
@@ -540,6 +533,8 @@ module Google
|
|
540
533
|
hash :labels, as: 'labels'
|
541
534
|
collection :mac_address, as: 'macAddress'
|
542
535
|
property :name, as: 'name'
|
536
|
+
collection :reservations, as: 'reservations', class: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddressReservation::Representation
|
537
|
+
|
543
538
|
property :services_cidr, as: 'servicesCidr'
|
544
539
|
property :state, as: 'state'
|
545
540
|
property :type, as: 'type'
|
@@ -558,6 +553,15 @@ module Google
|
|
558
553
|
end
|
559
554
|
end
|
560
555
|
|
556
|
+
class NetworkAddressReservation
|
557
|
+
# @private
|
558
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
559
|
+
property :end_address, as: 'endAddress'
|
560
|
+
property :note, as: 'note'
|
561
|
+
property :start_address, as: 'startAddress'
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
561
565
|
class NetworkConfig
|
562
566
|
# @private
|
563
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -683,26 +687,11 @@ module Google
|
|
683
687
|
end
|
684
688
|
end
|
685
689
|
|
686
|
-
class RestoreVolumeSnapshotRequest
|
687
|
-
# @private
|
688
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
689
|
-
end
|
690
|
-
end
|
691
|
-
|
692
|
-
class Schedule
|
693
|
-
# @private
|
694
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
695
|
-
property :crontab_spec, as: 'crontabSpec'
|
696
|
-
property :prefix, as: 'prefix'
|
697
|
-
property :retention_count, as: 'retentionCount'
|
698
|
-
end
|
699
|
-
end
|
700
|
-
|
701
690
|
class ServerNetworkTemplate
|
702
691
|
# @private
|
703
692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
704
693
|
collection :applicable_instance_types, as: 'applicableInstanceTypes'
|
705
|
-
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::
|
694
|
+
collection :logical_interfaces, as: 'logicalInterfaces', class: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface, decorator: Google::Apis::BaremetalsolutionV2::GoogleCloudBaremetalsolutionV2ServerNetworkTemplateLogicalInterface::Representation
|
706
695
|
|
707
696
|
property :name, as: 'name'
|
708
697
|
end
|
@@ -718,19 +707,6 @@ module Google
|
|
718
707
|
end
|
719
708
|
end
|
720
709
|
|
721
|
-
class SnapshotSchedulePolicy
|
722
|
-
# @private
|
723
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
724
|
-
property :description, as: 'description'
|
725
|
-
property :id, as: 'id'
|
726
|
-
hash :labels, as: 'labels'
|
727
|
-
property :name, as: 'name'
|
728
|
-
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
729
|
-
|
730
|
-
property :state, as: 'state'
|
731
|
-
end
|
732
|
-
end
|
733
|
-
|
734
710
|
class StartInstanceRequest
|
735
711
|
# @private
|
736
712
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -799,6 +775,7 @@ module Google
|
|
799
775
|
property :id, as: 'id'
|
800
776
|
hash :labels, as: 'labels'
|
801
777
|
property :name, as: 'name'
|
778
|
+
property :pod, as: 'pod'
|
802
779
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
803
780
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
804
781
|
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
@@ -829,18 +806,6 @@ module Google
|
|
829
806
|
property :user_note, as: 'userNote'
|
830
807
|
end
|
831
808
|
end
|
832
|
-
|
833
|
-
class VolumeSnapshot
|
834
|
-
# @private
|
835
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
836
|
-
property :create_time, as: 'createTime'
|
837
|
-
property :description, as: 'description'
|
838
|
-
property :id, as: 'id'
|
839
|
-
property :name, as: 'name'
|
840
|
-
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
841
|
-
property :storage_volume, as: 'storageVolume'
|
842
|
-
end
|
843
|
-
end
|
844
809
|
end
|
845
810
|
end
|
846
811
|
end
|