google-apis-baremetalsolution_v2 0.1.0 → 0.5.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/baremetalsolution_v2/classes.rb +458 -311
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +157 -48
- data/lib/google/apis/baremetalsolution_v2/service.rb +565 -79
- data/lib/google/apis/baremetalsolution_v2.rb +1 -1
- metadata +5 -5
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211028"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,43 +22,43 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BaremetalsolutionV2
|
24
24
|
|
25
|
-
class
|
25
|
+
class CancelOperationRequest
|
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 Empty
|
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 Instance
|
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 ListInstancesResponse
|
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 ListLocationsResponse
|
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 ListLunsResponse
|
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 ListNetworksResponse
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -70,6 +70,24 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class ListSnapshotSchedulePoliciesResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ListVolumeSnapshotsResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class ListVolumesResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
73
91
|
class Location
|
74
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
93
|
|
@@ -94,19 +112,31 @@ module Google
|
|
94
112
|
include Google::Apis::Core::JsonObjectSupport
|
95
113
|
end
|
96
114
|
|
97
|
-
class
|
115
|
+
class ResetInstanceRequest
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class RestoreVolumeSnapshotRequest
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Schedule
|
98
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
129
|
|
100
130
|
include Google::Apis::Core::JsonObjectSupport
|
101
131
|
end
|
102
132
|
|
103
|
-
class
|
133
|
+
class SnapshotReservationDetail
|
104
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
135
|
|
106
136
|
include Google::Apis::Core::JsonObjectSupport
|
107
137
|
end
|
108
138
|
|
109
|
-
class
|
139
|
+
class SnapshotSchedulePolicy
|
110
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
141
|
|
112
142
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -118,26 +148,22 @@ module Google
|
|
118
148
|
include Google::Apis::Core::JsonObjectSupport
|
119
149
|
end
|
120
150
|
|
121
|
-
class
|
151
|
+
class Vrf
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
153
|
|
124
154
|
include Google::Apis::Core::JsonObjectSupport
|
125
155
|
end
|
126
156
|
|
127
|
-
class
|
157
|
+
class Volume
|
128
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
159
|
|
130
160
|
include Google::Apis::Core::JsonObjectSupport
|
131
161
|
end
|
132
162
|
|
133
|
-
class
|
134
|
-
|
135
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
136
|
-
property :condition, as: 'condition', class: Google::Apis::BaremetalsolutionV2::Expr, decorator: Google::Apis::BaremetalsolutionV2::Expr::Representation
|
163
|
+
class VolumeSnapshot
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
137
165
|
|
138
|
-
|
139
|
-
property :role, as: 'role'
|
140
|
-
end
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
141
167
|
end
|
142
168
|
|
143
169
|
class CancelOperationRequest
|
@@ -152,21 +178,12 @@ module Google
|
|
152
178
|
end
|
153
179
|
end
|
154
180
|
|
155
|
-
class Expr
|
156
|
-
# @private
|
157
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
158
|
-
property :description, as: 'description'
|
159
|
-
property :expression, as: 'expression'
|
160
|
-
property :location, as: 'location'
|
161
|
-
property :title, as: 'title'
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
181
|
class Instance
|
166
182
|
# @private
|
167
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
168
184
|
property :create_time, as: 'createTime'
|
169
185
|
property :hyperthreading_enabled, as: 'hyperthreadingEnabled'
|
186
|
+
property :interactive_serial_console_enabled, as: 'interactiveSerialConsoleEnabled'
|
170
187
|
hash :labels, as: 'labels'
|
171
188
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
172
189
|
|
@@ -198,6 +215,26 @@ module Google
|
|
198
215
|
end
|
199
216
|
end
|
200
217
|
|
218
|
+
class ListLunsResponse
|
219
|
+
# @private
|
220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
+
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
222
|
+
|
223
|
+
property :next_page_token, as: 'nextPageToken'
|
224
|
+
collection :unreachable, as: 'unreachable'
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
class ListNetworksResponse
|
229
|
+
# @private
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
231
|
+
collection :networks, as: 'networks', class: Google::Apis::BaremetalsolutionV2::Network, decorator: Google::Apis::BaremetalsolutionV2::Network::Representation
|
232
|
+
|
233
|
+
property :next_page_token, as: 'nextPageToken'
|
234
|
+
collection :unreachable, as: 'unreachable'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
201
238
|
class ListOperationsResponse
|
202
239
|
# @private
|
203
240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -207,6 +244,35 @@ module Google
|
|
207
244
|
end
|
208
245
|
end
|
209
246
|
|
247
|
+
class ListSnapshotSchedulePoliciesResponse
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
property :next_page_token, as: 'nextPageToken'
|
251
|
+
collection :snapshot_schedule_policies, as: 'snapshotSchedulePolicies', class: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy, decorator: Google::Apis::BaremetalsolutionV2::SnapshotSchedulePolicy::Representation
|
252
|
+
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
class ListVolumeSnapshotsResponse
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
property :next_page_token, as: 'nextPageToken'
|
260
|
+
collection :unreachable, as: 'unreachable'
|
261
|
+
collection :volume_snapshots, as: 'volumeSnapshots', class: Google::Apis::BaremetalsolutionV2::VolumeSnapshot, decorator: Google::Apis::BaremetalsolutionV2::VolumeSnapshot::Representation
|
262
|
+
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class ListVolumesResponse
|
267
|
+
# @private
|
268
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
269
|
+
property :next_page_token, as: 'nextPageToken'
|
270
|
+
collection :unreachable, as: 'unreachable'
|
271
|
+
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::Volume, decorator: Google::Apis::BaremetalsolutionV2::Volume::Representation
|
272
|
+
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
210
276
|
class Location
|
211
277
|
# @private
|
212
278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -224,20 +290,28 @@ module Google
|
|
224
290
|
property :boot_lun, as: 'bootLun'
|
225
291
|
property :multiprotocol_type, as: 'multiprotocolType'
|
226
292
|
property :name, as: 'name'
|
227
|
-
property :
|
293
|
+
property :shareable, as: 'shareable'
|
228
294
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
229
295
|
property :state, as: 'state'
|
296
|
+
property :storage_type, as: 'storageType'
|
230
297
|
property :storage_volume, as: 'storageVolume'
|
298
|
+
property :wwid, as: 'wwid'
|
231
299
|
end
|
232
300
|
end
|
233
301
|
|
234
302
|
class Network
|
235
303
|
# @private
|
236
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :cidr, as: 'cidr'
|
237
306
|
property :ip_address, as: 'ipAddress'
|
238
307
|
collection :mac_address, as: 'macAddress'
|
308
|
+
property :name, as: 'name'
|
239
309
|
property :network, as: 'network'
|
310
|
+
property :state, as: 'state'
|
240
311
|
property :type, as: 'type'
|
312
|
+
property :vlan_id, as: 'vlanId'
|
313
|
+
property :vrf, as: 'vrf', class: Google::Apis::BaremetalsolutionV2::Vrf, decorator: Google::Apis::BaremetalsolutionV2::Vrf::Representation
|
314
|
+
|
241
315
|
end
|
242
316
|
end
|
243
317
|
|
@@ -253,34 +327,44 @@ module Google
|
|
253
327
|
end
|
254
328
|
end
|
255
329
|
|
256
|
-
class
|
330
|
+
class ResetInstanceRequest
|
257
331
|
# @private
|
258
332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
-
property :api_version, as: 'apiVersion'
|
260
|
-
property :create_time, as: 'createTime'
|
261
|
-
property :end_time, as: 'endTime'
|
262
|
-
property :requested_cancellation, as: 'requestedCancellation'
|
263
|
-
property :status_message, as: 'statusMessage'
|
264
|
-
property :target, as: 'target'
|
265
|
-
property :verb, as: 'verb'
|
266
333
|
end
|
267
334
|
end
|
268
335
|
|
269
|
-
class
|
336
|
+
class RestoreVolumeSnapshotRequest
|
270
337
|
# @private
|
271
338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
-
|
339
|
+
end
|
340
|
+
end
|
273
341
|
|
274
|
-
|
275
|
-
|
342
|
+
class Schedule
|
343
|
+
# @private
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
+
property :crontab_spec, as: 'crontabSpec'
|
346
|
+
property :prefix, as: 'prefix'
|
347
|
+
property :retention_count, as: 'retentionCount'
|
276
348
|
end
|
277
349
|
end
|
278
350
|
|
279
|
-
class
|
351
|
+
class SnapshotReservationDetail
|
280
352
|
# @private
|
281
353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
282
|
-
property :
|
354
|
+
property :reserved_space_gib, :numeric_string => true, as: 'reservedSpaceGib'
|
355
|
+
property :reserved_space_remaining_gib, :numeric_string => true, as: 'reservedSpaceRemainingGib'
|
356
|
+
property :reserved_space_used_percent, as: 'reservedSpaceUsedPercent'
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
class SnapshotSchedulePolicy
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
property :description, as: 'description'
|
364
|
+
property :name, as: 'name'
|
365
|
+
collection :schedules, as: 'schedules', class: Google::Apis::BaremetalsolutionV2::Schedule, decorator: Google::Apis::BaremetalsolutionV2::Schedule::Representation
|
283
366
|
|
367
|
+
collection :volumes, as: 'volumes'
|
284
368
|
end
|
285
369
|
end
|
286
370
|
|
@@ -293,17 +377,42 @@ module Google
|
|
293
377
|
end
|
294
378
|
end
|
295
379
|
|
296
|
-
class
|
380
|
+
class Vrf
|
297
381
|
# @private
|
298
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
-
|
383
|
+
property :autonomous_system_number, as: 'autonomousSystemNumber'
|
384
|
+
property :juniper_alias, as: 'juniperAlias'
|
385
|
+
property :name, as: 'name'
|
386
|
+
property :route_target, :numeric_string => true, as: 'routeTarget'
|
387
|
+
property :state, as: 'state'
|
388
|
+
end
|
389
|
+
end
|
390
|
+
|
391
|
+
class Volume
|
392
|
+
# @private
|
393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
394
|
+
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
395
|
+
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
396
|
+
property :name, as: 'name'
|
397
|
+
property :remaining_space_gib, :numeric_string => true, as: 'remainingSpaceGib'
|
398
|
+
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
399
|
+
property :snapshot_auto_delete_behavior, as: 'snapshotAutoDeleteBehavior'
|
400
|
+
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
401
|
+
|
402
|
+
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy'
|
403
|
+
property :state, as: 'state'
|
404
|
+
property :storage_type, as: 'storageType'
|
300
405
|
end
|
301
406
|
end
|
302
407
|
|
303
|
-
class
|
408
|
+
class VolumeSnapshot
|
304
409
|
# @private
|
305
410
|
class Representation < Google::Apis::Core::JsonRepresentation
|
306
|
-
|
411
|
+
property :create_time, as: 'createTime'
|
412
|
+
property :description, as: 'description'
|
413
|
+
property :name, as: 'name'
|
414
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
415
|
+
property :storage_volume, as: 'storageVolume'
|
307
416
|
end
|
308
417
|
end
|
309
418
|
end
|