google-apis-baremetalsolution_v2 0.3.0 → 0.7.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 +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/baremetalsolution_v2/classes.rb +1362 -25
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +3 -3
- data/lib/google/apis/baremetalsolution_v2/representations.rb +585 -4
- data/lib/google/apis/baremetalsolution_v2/service.rb +874 -13
- metadata +6 -6
@@ -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.7.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 = "20220209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,12 +22,42 @@ 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
|
+
|
31
|
+
class Empty
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class Instance
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
28
40
|
include Google::Apis::Core::JsonObjectSupport
|
29
41
|
end
|
30
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
|
+
|
31
61
|
class ListInstancesResponse
|
32
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
63
|
|
@@ -46,6 +76,48 @@ module Google
|
|
46
76
|
include Google::Apis::Core::JsonObjectSupport
|
47
77
|
end
|
48
78
|
|
79
|
+
class ListNetworkUsageResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class ListNetworksResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
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
|
+
|
103
|
+
class ListSnapshotSchedulePoliciesResponse
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListVolumeSnapshotsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListVolumesResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
49
121
|
class Location
|
50
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
123
|
|
@@ -58,23 +130,181 @@ module Google
|
|
58
130
|
include Google::Apis::Core::JsonObjectSupport
|
59
131
|
end
|
60
132
|
|
133
|
+
class LunRange
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
61
139
|
class Network
|
62
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
141
|
|
64
142
|
include Google::Apis::Core::JsonObjectSupport
|
65
143
|
end
|
66
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
|
+
|
175
|
+
class Operation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
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
|
+
|
193
|
+
class QosPolicy
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ResetInstanceRequest
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class RestoreVolumeSnapshotRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class Schedule
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class SnapshotReservationDetail
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class SnapshotSchedulePolicy
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class StartInstanceRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class Status
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
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
|
+
|
67
253
|
class Vrf
|
68
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
255
|
|
70
256
|
include Google::Apis::Core::JsonObjectSupport
|
71
257
|
end
|
72
258
|
|
259
|
+
class VlanAttachment
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class Volume
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class VolumeConfig
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class VolumeSnapshot
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
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
|
+
|
296
|
+
class Empty
|
297
|
+
# @private
|
298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
73
302
|
class Instance
|
74
303
|
# @private
|
75
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
76
305
|
property :create_time, as: 'createTime'
|
77
306
|
property :hyperthreading_enabled, as: 'hyperthreadingEnabled'
|
307
|
+
property :id, as: 'id'
|
78
308
|
property :interactive_serial_console_enabled, as: 'interactiveSerialConsoleEnabled'
|
79
309
|
hash :labels, as: 'labels'
|
80
310
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
@@ -88,6 +318,40 @@ module Google
|
|
88
318
|
end
|
89
319
|
end
|
90
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
|
+
|
91
355
|
class ListInstancesResponse
|
92
356
|
# @private
|
93
357
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -117,6 +381,72 @@ module Google
|
|
117
381
|
end
|
118
382
|
end
|
119
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
|
+
|
392
|
+
class ListNetworksResponse
|
393
|
+
# @private
|
394
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
+
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
|
396
|
+
|
397
|
+
property :next_page_token, as: 'nextPageToken'
|
398
|
+
collection :unreachable, as: 'unreachable'
|
399
|
+
end
|
400
|
+
end
|
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
|
+
|
421
|
+
class ListSnapshotSchedulePoliciesResponse
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
property :next_page_token, as: 'nextPageToken'
|
425
|
+
collection :snapshot_schedule_policies, as: 'snapshotSchedulePolicies', class: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy, decorator: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy::Representation
|
426
|
+
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
class ListVolumeSnapshotsResponse
|
431
|
+
# @private
|
432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
433
|
+
property :next_page_token, as: 'nextPageToken'
|
434
|
+
collection :unreachable, as: 'unreachable'
|
435
|
+
collection :volume_snapshots, as: 'volumeSnapshots', class: Google::Apis::BaremetalsolutionV2::VolumeSnapshot, decorator: Google::Apis::BaremetalsolutionV2::VolumeSnapshot::Representation
|
436
|
+
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
class ListVolumesResponse
|
441
|
+
# @private
|
442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
443
|
+
property :next_page_token, as: 'nextPageToken'
|
444
|
+
collection :unreachable, as: 'unreachable'
|
445
|
+
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::Volume, decorator: Google::Apis::BaremetalsolutionV2::Volume::Representation
|
446
|
+
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
120
450
|
class Location
|
121
451
|
# @private
|
122
452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -132,6 +462,7 @@ module Google
|
|
132
462
|
# @private
|
133
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
134
464
|
property :boot_lun, as: 'bootLun'
|
465
|
+
property :id, as: 'id'
|
135
466
|
property :multiprotocol_type, as: 'multiprotocolType'
|
136
467
|
property :name, as: 'name'
|
137
468
|
property :shareable, as: 'shareable'
|
@@ -143,14 +474,24 @@ module Google
|
|
143
474
|
end
|
144
475
|
end
|
145
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
|
+
|
146
485
|
class Network
|
147
486
|
# @private
|
148
487
|
class Representation < Google::Apis::Core::JsonRepresentation
|
149
488
|
property :cidr, as: 'cidr'
|
489
|
+
property :id, as: 'id'
|
150
490
|
property :ip_address, as: 'ipAddress'
|
491
|
+
hash :labels, as: 'labels'
|
151
492
|
collection :mac_address, as: 'macAddress'
|
152
493
|
property :name, as: 'name'
|
153
|
-
property :
|
494
|
+
property :services_cidr, as: 'servicesCidr'
|
154
495
|
property :state, as: 'state'
|
155
496
|
property :type, as: 'type'
|
156
497
|
property :vlan_id, as: 'vlanId'
|
@@ -159,14 +500,254 @@ module Google
|
|
159
500
|
end
|
160
501
|
end
|
161
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
|
+
|
562
|
+
class Operation
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :done, as: 'done'
|
566
|
+
property :error, as: 'error', class: Google::Apis::BaremetalsolutionV2::Status, decorator: Google::Apis::BaremetalsolutionV2::Status::Representation
|
567
|
+
|
568
|
+
hash :metadata, as: 'metadata'
|
569
|
+
property :name, as: 'name'
|
570
|
+
hash :response, as: 'response'
|
571
|
+
end
|
572
|
+
end
|
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
|
+
|
602
|
+
class QosPolicy
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :bandwidth_gbps, as: 'bandwidthGbps'
|
606
|
+
end
|
607
|
+
end
|
608
|
+
|
609
|
+
class ResetInstanceRequest
|
610
|
+
# @private
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
class RestoreVolumeSnapshotRequest
|
616
|
+
# @private
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
class Schedule
|
622
|
+
# @private
|
623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
624
|
+
property :crontab_spec, as: 'crontabSpec'
|
625
|
+
property :prefix, as: 'prefix'
|
626
|
+
property :retention_count, as: 'retentionCount'
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
class SnapshotReservationDetail
|
631
|
+
# @private
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
633
|
+
property :reserved_space_gib, :numeric_string => true, as: 'reservedSpaceGib'
|
634
|
+
property :reserved_space_remaining_gib, :numeric_string => true, as: 'reservedSpaceRemainingGib'
|
635
|
+
property :reserved_space_used_percent, as: 'reservedSpaceUsedPercent'
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
class SnapshotSchedulePolicy
|
640
|
+
# @private
|
641
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
642
|
+
property :description, as: 'description'
|
643
|
+
property :id, as: 'id'
|
644
|
+
hash :labels, as: 'labels'
|
645
|
+
property :name, as: 'name'
|
646
|
+
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
647
|
+
|
648
|
+
property :state, as: 'state'
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
class StartInstanceRequest
|
653
|
+
# @private
|
654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class Status
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
property :code, as: 'code'
|
662
|
+
collection :details, as: 'details'
|
663
|
+
property :message, as: 'message'
|
664
|
+
end
|
665
|
+
end
|
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
|
+
|
162
684
|
class Vrf
|
163
685
|
# @private
|
164
686
|
class Representation < Google::Apis::Core::JsonRepresentation
|
165
|
-
property :autonomous_system_number, as: 'autonomousSystemNumber'
|
166
|
-
property :juniper_alias, as: 'juniperAlias'
|
167
687
|
property :name, as: 'name'
|
168
|
-
property :
|
688
|
+
property :qos_policy, as: 'qosPolicy', class: Google::Apis::BaremetalsolutionV2::QosPolicy, decorator: Google::Apis::BaremetalsolutionV2::QosPolicy::Representation
|
689
|
+
|
169
690
|
property :state, as: 'state'
|
691
|
+
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::VlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::VlanAttachment::Representation
|
692
|
+
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
class VlanAttachment
|
697
|
+
# @private
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
699
|
+
property :peer_ip, as: 'peerIp'
|
700
|
+
property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
|
701
|
+
property :router_ip, as: 'routerIp'
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
class Volume
|
706
|
+
# @private
|
707
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
708
|
+
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
709
|
+
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
710
|
+
property :id, as: 'id'
|
711
|
+
hash :labels, as: 'labels'
|
712
|
+
property :name, as: 'name'
|
713
|
+
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
714
|
+
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
715
|
+
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
716
|
+
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
717
|
+
|
718
|
+
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy'
|
719
|
+
property :state, as: 'state'
|
720
|
+
property :storage_type, as: 'storageType'
|
721
|
+
end
|
722
|
+
end
|
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
|
+
|
742
|
+
class VolumeSnapshot
|
743
|
+
# @private
|
744
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
745
|
+
property :create_time, as: 'createTime'
|
746
|
+
property :description, as: 'description'
|
747
|
+
property :id, as: 'id'
|
748
|
+
property :name, as: 'name'
|
749
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
750
|
+
property :storage_volume, as: 'storageVolume'
|
170
751
|
end
|
171
752
|
end
|
172
753
|
end
|