google-apis-baremetalsolution_v2 0.2.0 → 0.6.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 +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/baremetalsolution_v2/classes.rb +426 -366
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +3 -3
- data/lib/google/apis/baremetalsolution_v2/representations.rb +125 -59
- data/lib/google/apis/baremetalsolution_v2/service.rb +492 -139
- 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.6.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 = "20220119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,49 +22,49 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BaremetalsolutionV2
|
24
24
|
|
25
|
-
class
|
25
|
+
class Empty
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Instance
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class ListInstancesResponse
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class ListLocationsResponse
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class ListLunsResponse
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class ListNetworksResponse
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class ListSnapshotSchedulePoliciesResponse
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class ListVolumeSnapshotsResponse
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -100,83 +100,75 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class QosPolicy
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class ResetInstanceRequest
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class RestoreVolumeSnapshotRequest
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class Schedule
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class SnapshotReservationDetail
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class SnapshotSchedulePolicy
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class Status
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class
|
145
|
+
class Vrf
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
147
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
-
class
|
152
|
-
|
153
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
-
property :condition, as: 'condition', class: Google::Apis::BaremetalsolutionV2::Expr, decorator: Google::Apis::BaremetalsolutionV2::Expr::Representation
|
151
|
+
class VlanAttachment
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
155
153
|
|
156
|
-
|
157
|
-
property :role, as: 'role'
|
158
|
-
end
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
159
155
|
end
|
160
156
|
|
161
|
-
class
|
162
|
-
|
163
|
-
|
164
|
-
|
157
|
+
class Volume
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
165
161
|
end
|
166
162
|
|
167
|
-
class
|
168
|
-
|
169
|
-
|
170
|
-
|
163
|
+
class VolumeSnapshot
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
171
167
|
end
|
172
168
|
|
173
|
-
class
|
169
|
+
class Empty
|
174
170
|
# @private
|
175
171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
176
|
-
property :description, as: 'description'
|
177
|
-
property :expression, as: 'expression'
|
178
|
-
property :location, as: 'location'
|
179
|
-
property :title, as: 'title'
|
180
172
|
end
|
181
173
|
end
|
182
174
|
|
@@ -185,6 +177,8 @@ module Google
|
|
185
177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
186
178
|
property :create_time, as: 'createTime'
|
187
179
|
property :hyperthreading_enabled, as: 'hyperthreadingEnabled'
|
180
|
+
property :id, as: 'id'
|
181
|
+
property :interactive_serial_console_enabled, as: 'interactiveSerialConsoleEnabled'
|
188
182
|
hash :labels, as: 'labels'
|
189
183
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
190
184
|
|
@@ -216,11 +210,41 @@ module Google
|
|
216
210
|
end
|
217
211
|
end
|
218
212
|
|
219
|
-
class
|
213
|
+
class ListLunsResponse
|
220
214
|
# @private
|
221
215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
216
|
+
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
217
|
+
|
222
218
|
property :next_page_token, as: 'nextPageToken'
|
223
|
-
collection :
|
219
|
+
collection :unreachable, as: 'unreachable'
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListNetworksResponse
|
224
|
+
# @private
|
225
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
226
|
+
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
|
227
|
+
|
228
|
+
property :next_page_token, as: 'nextPageToken'
|
229
|
+
collection :unreachable, as: 'unreachable'
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
class ListSnapshotSchedulePoliciesResponse
|
234
|
+
# @private
|
235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
236
|
+
property :next_page_token, as: 'nextPageToken'
|
237
|
+
collection :snapshot_schedule_policies, as: 'snapshotSchedulePolicies', class: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy, decorator: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy::Representation
|
238
|
+
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
class ListVolumeSnapshotsResponse
|
243
|
+
# @private
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
245
|
+
property :next_page_token, as: 'nextPageToken'
|
246
|
+
collection :unreachable, as: 'unreachable'
|
247
|
+
collection :volume_snapshots, as: 'volumeSnapshots', class: Google::Apis::BaremetalsolutionV2::VolumeSnapshot, decorator: Google::Apis::BaremetalsolutionV2::VolumeSnapshot::Representation
|
224
248
|
|
225
249
|
end
|
226
250
|
end
|
@@ -250,23 +274,33 @@ module Google
|
|
250
274
|
# @private
|
251
275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
252
276
|
property :boot_lun, as: 'bootLun'
|
277
|
+
property :id, as: 'id'
|
253
278
|
property :multiprotocol_type, as: 'multiprotocolType'
|
254
279
|
property :name, as: 'name'
|
255
|
-
property :
|
280
|
+
property :shareable, as: 'shareable'
|
256
281
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
257
282
|
property :state, as: 'state'
|
258
283
|
property :storage_type, as: 'storageType'
|
259
284
|
property :storage_volume, as: 'storageVolume'
|
285
|
+
property :wwid, as: 'wwid'
|
260
286
|
end
|
261
287
|
end
|
262
288
|
|
263
289
|
class Network
|
264
290
|
# @private
|
265
291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
292
|
+
property :cidr, as: 'cidr'
|
293
|
+
property :id, as: 'id'
|
266
294
|
property :ip_address, as: 'ipAddress'
|
295
|
+
hash :labels, as: 'labels'
|
267
296
|
collection :mac_address, as: 'macAddress'
|
268
|
-
property :
|
297
|
+
property :name, as: 'name'
|
298
|
+
property :services_cidr, as: 'servicesCidr'
|
299
|
+
property :state, as: 'state'
|
269
300
|
property :type, as: 'type'
|
301
|
+
property :vlan_id, as: 'vlanId'
|
302
|
+
property :vrf, as: 'vrf', class: Google::Apis::BaremetalsolutionV2::Vrf, decorator: Google::Apis::BaremetalsolutionV2::Vrf::Representation
|
303
|
+
|
270
304
|
end
|
271
305
|
end
|
272
306
|
|
@@ -282,34 +316,31 @@ module Google
|
|
282
316
|
end
|
283
317
|
end
|
284
318
|
|
285
|
-
class
|
319
|
+
class QosPolicy
|
286
320
|
# @private
|
287
321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
-
property :
|
289
|
-
property :create_time, as: 'createTime'
|
290
|
-
property :end_time, as: 'endTime'
|
291
|
-
property :requested_cancellation, as: 'requestedCancellation'
|
292
|
-
property :status_message, as: 'statusMessage'
|
293
|
-
property :target, as: 'target'
|
294
|
-
property :verb, as: 'verb'
|
322
|
+
property :bandwidth_gbps, as: 'bandwidthGbps'
|
295
323
|
end
|
296
324
|
end
|
297
325
|
|
298
|
-
class
|
326
|
+
class ResetInstanceRequest
|
299
327
|
# @private
|
300
328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
-
collection :bindings, as: 'bindings', class: Google::Apis::BaremetalsolutionV2::Binding, decorator: Google::Apis::BaremetalsolutionV2::Binding::Representation
|
302
|
-
|
303
|
-
property :etag, :base64 => true, as: 'etag'
|
304
|
-
property :version, as: 'version'
|
305
329
|
end
|
306
330
|
end
|
307
331
|
|
308
|
-
class
|
332
|
+
class RestoreVolumeSnapshotRequest
|
309
333
|
# @private
|
310
334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
-
|
335
|
+
end
|
336
|
+
end
|
312
337
|
|
338
|
+
class Schedule
|
339
|
+
# @private
|
340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
+
property :crontab_spec, as: 'crontabSpec'
|
342
|
+
property :prefix, as: 'prefix'
|
343
|
+
property :retention_count, as: 'retentionCount'
|
313
344
|
end
|
314
345
|
end
|
315
346
|
|
@@ -322,6 +353,18 @@ module Google
|
|
322
353
|
end
|
323
354
|
end
|
324
355
|
|
356
|
+
class SnapshotSchedulePolicy
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
property :description, as: 'description'
|
360
|
+
property :id, as: 'id'
|
361
|
+
hash :labels, as: 'labels'
|
362
|
+
property :name, as: 'name'
|
363
|
+
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
364
|
+
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
325
368
|
class Status
|
326
369
|
# @private
|
327
370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -331,17 +374,24 @@ module Google
|
|
331
374
|
end
|
332
375
|
end
|
333
376
|
|
334
|
-
class
|
377
|
+
class Vrf
|
335
378
|
# @private
|
336
379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
-
|
380
|
+
property :name, as: 'name'
|
381
|
+
property :qos_policy, as: 'qosPolicy', class: Google::Apis::BaremetalsolutionV2::QosPolicy, decorator: Google::Apis::BaremetalsolutionV2::QosPolicy::Representation
|
382
|
+
|
383
|
+
property :state, as: 'state'
|
384
|
+
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::VlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::VlanAttachment::Representation
|
385
|
+
|
338
386
|
end
|
339
387
|
end
|
340
388
|
|
341
|
-
class
|
389
|
+
class VlanAttachment
|
342
390
|
# @private
|
343
391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
344
|
-
|
392
|
+
property :peer_ip, as: 'peerIp'
|
393
|
+
property :peer_vlan_id, :numeric_string => true, as: 'peerVlanId'
|
394
|
+
property :router_ip, as: 'routerIp'
|
345
395
|
end
|
346
396
|
end
|
347
397
|
|
@@ -350,15 +400,31 @@ module Google
|
|
350
400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
351
401
|
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
352
402
|
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
403
|
+
property :id, as: 'id'
|
404
|
+
hash :labels, as: 'labels'
|
353
405
|
property :name, as: 'name'
|
354
406
|
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
355
407
|
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
408
|
+
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
356
409
|
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
357
410
|
|
411
|
+
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy'
|
358
412
|
property :state, as: 'state'
|
359
413
|
property :storage_type, as: 'storageType'
|
360
414
|
end
|
361
415
|
end
|
416
|
+
|
417
|
+
class VolumeSnapshot
|
418
|
+
# @private
|
419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
420
|
+
property :create_time, as: 'createTime'
|
421
|
+
property :description, as: 'description'
|
422
|
+
property :id, as: 'id'
|
423
|
+
property :name, as: 'name'
|
424
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
425
|
+
property :storage_volume, as: 'storageVolume'
|
426
|
+
end
|
427
|
+
end
|
362
428
|
end
|
363
429
|
end
|
364
430
|
end
|