google-apis-baremetalsolution_v2 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220119"
25
+ REVISION = "20220209"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module BaremetalsolutionV2
24
24
 
25
+ class AllowedClient
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Empty
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -34,6 +40,24 @@ module Google
34
40
  include Google::Apis::Core::JsonObjectSupport
35
41
  end
36
42
 
43
+ class InstanceConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class InstanceQuota
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class IntakeVlanAttachment
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
37
61
  class ListInstancesResponse
38
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
63
 
@@ -52,12 +76,30 @@ module Google
52
76
  include Google::Apis::Core::JsonObjectSupport
53
77
  end
54
78
 
79
+ class ListNetworkUsageResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
55
85
  class ListNetworksResponse
56
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
87
 
58
88
  include Google::Apis::Core::JsonObjectSupport
59
89
  end
60
90
 
91
+ class ListNfsSharesResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListProvisioningQuotasResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
61
103
  class ListSnapshotSchedulePoliciesResponse
62
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
105
 
@@ -88,18 +130,66 @@ module Google
88
130
  include Google::Apis::Core::JsonObjectSupport
89
131
  end
90
132
 
133
+ class LunRange
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
91
139
  class Network
92
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
141
 
94
142
  include Google::Apis::Core::JsonObjectSupport
95
143
  end
96
144
 
145
+ class NetworkAddress
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class NetworkConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class NetworkUsage
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class NfsExport
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class NfsShare
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
97
175
  class Operation
98
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
177
 
100
178
  include Google::Apis::Core::JsonObjectSupport
101
179
  end
102
180
 
181
+ class ProvisioningConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ProvisioningQuota
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
103
193
  class QosPolicy
104
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
195
 
@@ -136,12 +226,30 @@ module Google
136
226
  include Google::Apis::Core::JsonObjectSupport
137
227
  end
138
228
 
229
+ class StartInstanceRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
139
235
  class Status
140
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
237
 
142
238
  include Google::Apis::Core::JsonObjectSupport
143
239
  end
144
240
 
241
+ class SubmitProvisioningConfigRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class SubmitProvisioningConfigResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
145
253
  class Vrf
146
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
255
 
@@ -160,12 +268,31 @@ module Google
160
268
  include Google::Apis::Core::JsonObjectSupport
161
269
  end
162
270
 
271
+ class VolumeConfig
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
163
277
  class VolumeSnapshot
164
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
279
 
166
280
  include Google::Apis::Core::JsonObjectSupport
167
281
  end
168
282
 
283
+ class AllowedClient
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ property :allow_dev, as: 'allowDev'
287
+ property :allow_suid, as: 'allowSuid'
288
+ property :allowed_clients_cidr, as: 'allowedClientsCidr'
289
+ property :mount_permissions, as: 'mountPermissions'
290
+ property :network, as: 'network'
291
+ property :no_root_squash, as: 'noRootSquash'
292
+ property :share_ip, as: 'shareIp'
293
+ end
294
+ end
295
+
169
296
  class Empty
170
297
  # @private
171
298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -191,6 +318,40 @@ module Google
191
318
  end
192
319
  end
193
320
 
321
+ class InstanceConfig
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :client_network, as: 'clientNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
325
+
326
+ property :hyperthreading, as: 'hyperthreading'
327
+ property :id, as: 'id'
328
+ property :instance_type, as: 'instanceType'
329
+ property :name, as: 'name'
330
+ property :os_image, as: 'osImage'
331
+ property :private_network, as: 'privateNetwork', class: Google::Apis::BaremetalsolutionV2::NetworkAddress, decorator: Google::Apis::BaremetalsolutionV2::NetworkAddress::Representation
332
+
333
+ property :user_note, as: 'userNote'
334
+ end
335
+ end
336
+
337
+ class InstanceQuota
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :available_machine_count, as: 'availableMachineCount'
341
+ property :instance_type, as: 'instanceType'
342
+ property :location, as: 'location'
343
+ property :name, as: 'name'
344
+ end
345
+ end
346
+
347
+ class IntakeVlanAttachment
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ property :id, as: 'id'
351
+ property :pairing_key, as: 'pairingKey'
352
+ end
353
+ end
354
+
194
355
  class ListInstancesResponse
195
356
  # @private
196
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -220,6 +381,14 @@ module Google
220
381
  end
221
382
  end
222
383
 
384
+ class ListNetworkUsageResponse
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkUsage, decorator: Google::Apis::BaremetalsolutionV2::NetworkUsage::Representation
388
+
389
+ end
390
+ end
391
+
223
392
  class ListNetworksResponse
224
393
  # @private
225
394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -230,6 +399,25 @@ module Google
230
399
  end
231
400
  end
232
401
 
402
+ class ListNfsSharesResponse
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :next_page_token, as: 'nextPageToken'
406
+ collection :nfs_shares, as: 'nfsShares', class: Google::Apis::BaremetalsolutionV2::NfsShare, decorator: Google::Apis::BaremetalsolutionV2::NfsShare::Representation
407
+
408
+ collection :unreachable, as: 'unreachable'
409
+ end
410
+ end
411
+
412
+ class ListProvisioningQuotasResponse
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :next_page_token, as: 'nextPageToken'
416
+ collection :provisioning_quotas, as: 'provisioningQuotas', class: Google::Apis::BaremetalsolutionV2::ProvisioningQuota, decorator: Google::Apis::BaremetalsolutionV2::ProvisioningQuota::Representation
417
+
418
+ end
419
+ end
420
+
233
421
  class ListSnapshotSchedulePoliciesResponse
234
422
  # @private
235
423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,6 +474,14 @@ module Google
286
474
  end
287
475
  end
288
476
 
477
+ class LunRange
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :quantity, as: 'quantity'
481
+ property :size_gb, as: 'sizeGb'
482
+ end
483
+ end
484
+
289
485
  class Network
290
486
  # @private
291
487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -304,6 +500,65 @@ module Google
304
500
  end
305
501
  end
306
502
 
503
+ class NetworkAddress
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :address, as: 'address'
507
+ property :existing_network_id, as: 'existingNetworkId'
508
+ property :network_id, as: 'networkId'
509
+ end
510
+ end
511
+
512
+ class NetworkConfig
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :bandwidth, as: 'bandwidth'
516
+ property :cidr, as: 'cidr'
517
+ property :id, as: 'id'
518
+ property :name, as: 'name'
519
+ property :service_cidr, as: 'serviceCidr'
520
+ property :type, as: 'type'
521
+ property :user_note, as: 'userNote'
522
+ collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment::Representation
523
+
524
+ end
525
+ end
526
+
527
+ class NetworkUsage
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :network, as: 'network', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
531
+
532
+ collection :used_ips, as: 'usedIps'
533
+ end
534
+ end
535
+
536
+ class NfsExport
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ property :allow_dev, as: 'allowDev'
540
+ property :allow_suid, as: 'allowSuid'
541
+ property :cidr, as: 'cidr'
542
+ property :machine_id, as: 'machineId'
543
+ property :network_id, as: 'networkId'
544
+ property :no_root_squash, as: 'noRootSquash'
545
+ property :permissions, as: 'permissions'
546
+ end
547
+ end
548
+
549
+ class NfsShare
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ collection :allowed_clients, as: 'allowedClients', class: Google::Apis::BaremetalsolutionV2::AllowedClient, decorator: Google::Apis::BaremetalsolutionV2::AllowedClient::Representation
553
+
554
+ hash :labels, as: 'labels'
555
+ property :name, as: 'name'
556
+ property :nfs_share_id, as: 'nfsShareId'
557
+ property :state, as: 'state'
558
+ property :volume, as: 'volume'
559
+ end
560
+ end
561
+
307
562
  class Operation
308
563
  # @private
309
564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -316,6 +571,34 @@ module Google
316
571
  end
317
572
  end
318
573
 
574
+ class ProvisioningConfig
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :handover_service_account, as: 'handoverServiceAccount'
578
+ collection :instances, as: 'instances', class: Google::Apis::BaremetalsolutionV2::InstanceConfig, decorator: Google::Apis::BaremetalsolutionV2::InstanceConfig::Representation
579
+
580
+ property :name, as: 'name'
581
+ collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::NetworkConfig, decorator: Google::Apis::BaremetalsolutionV2::NetworkConfig::Representation
582
+
583
+ property :ticket_id, as: 'ticketId'
584
+ collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::VolumeConfig, decorator: Google::Apis::BaremetalsolutionV2::VolumeConfig::Representation
585
+
586
+ end
587
+ end
588
+
589
+ class ProvisioningQuota
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :asset_type, as: 'assetType'
593
+ property :available_count, as: 'availableCount'
594
+ property :gcp_service, as: 'gcpService'
595
+ property :instance_quota, as: 'instanceQuota', class: Google::Apis::BaremetalsolutionV2::InstanceQuota, decorator: Google::Apis::BaremetalsolutionV2::InstanceQuota::Representation
596
+
597
+ property :location, as: 'location'
598
+ property :name, as: 'name'
599
+ end
600
+ end
601
+
319
602
  class QosPolicy
320
603
  # @private
321
604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -362,6 +645,13 @@ module Google
362
645
  property :name, as: 'name'
363
646
  collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
364
647
 
648
+ property :state, as: 'state'
649
+ end
650
+ end
651
+
652
+ class StartInstanceRequest
653
+ # @private
654
+ class Representation < Google::Apis::Core::JsonRepresentation
365
655
  end
366
656
  end
367
657
 
@@ -374,6 +664,23 @@ module Google
374
664
  end
375
665
  end
376
666
 
667
+ class SubmitProvisioningConfigRequest
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ property :email, as: 'email'
671
+ property :provisioning_config, as: 'provisioningConfig', class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig, decorator: Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
672
+
673
+ end
674
+ end
675
+
676
+ class SubmitProvisioningConfigResponse
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :provisioning_config, as: 'provisioningConfig', class: Google::Apis::BaremetalsolutionV2::ProvisioningConfig, decorator: Google::Apis::BaremetalsolutionV2::ProvisioningConfig::Representation
680
+
681
+ end
682
+ end
683
+
377
684
  class Vrf
378
685
  # @private
379
686
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -414,6 +721,24 @@ module Google
414
721
  end
415
722
  end
416
723
 
724
+ class VolumeConfig
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :id, as: 'id'
728
+ collection :lun_ranges, as: 'lunRanges', class: Google::Apis::BaremetalsolutionV2::LunRange, decorator: Google::Apis::BaremetalsolutionV2::LunRange::Representation
729
+
730
+ collection :machine_ids, as: 'machineIds'
731
+ property :name, as: 'name'
732
+ collection :nfs_exports, as: 'nfsExports', class: Google::Apis::BaremetalsolutionV2::NfsExport, decorator: Google::Apis::BaremetalsolutionV2::NfsExport::Representation
733
+
734
+ property :protocol, as: 'protocol'
735
+ property :size_gb, as: 'sizeGb'
736
+ property :snapshots_enabled, as: 'snapshotsEnabled'
737
+ property :type, as: 'type'
738
+ property :user_note, as: 'userNote'
739
+ end
740
+ end
741
+
417
742
  class VolumeSnapshot
418
743
  # @private
419
744
  class Representation < Google::Apis::Core::JsonRepresentation