google-apis-baremetalsolution_v2 0.2.0 → 0.3.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 +4 -0
- data/lib/google/apis/baremetalsolution_v2/classes.rb +101 -620
- data/lib/google/apis/baremetalsolution_v2/gem_version.rb +2 -2
- data/lib/google/apis/baremetalsolution_v2/representations.rb +16 -206
- data/lib/google/apis/baremetalsolution_v2/service.rb +20 -285
- metadata +3 -3
@@ -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.3.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 = "20211008"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,30 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module BaremetalsolutionV2
|
24
24
|
|
25
|
-
class Binding
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
|
-
class CancelOperationRequest
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
|
-
class Empty
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
41
|
-
end
|
42
|
-
|
43
|
-
class Expr
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
-
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
47
|
-
end
|
48
|
-
|
49
25
|
class Instance
|
50
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
27
|
|
@@ -64,13 +40,7 @@ module Google
|
|
64
40
|
include Google::Apis::Core::JsonObjectSupport
|
65
41
|
end
|
66
42
|
|
67
|
-
class
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
|
-
class ListVolumesResponse
|
43
|
+
class ListLunsResponse
|
74
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
45
|
|
76
46
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -94,97 +64,18 @@ module Google
|
|
94
64
|
include Google::Apis::Core::JsonObjectSupport
|
95
65
|
end
|
96
66
|
|
97
|
-
class
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class OperationMetadata
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class Policy
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class SetIamPolicyRequest
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
|
-
class SnapshotReservationDetail
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class Status
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
|
-
class TestIamPermissionsRequest
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
-
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
137
|
-
end
|
138
|
-
|
139
|
-
class TestIamPermissionsResponse
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
-
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
143
|
-
end
|
144
|
-
|
145
|
-
class Volume
|
67
|
+
class Vrf
|
146
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
69
|
|
148
70
|
include Google::Apis::Core::JsonObjectSupport
|
149
71
|
end
|
150
72
|
|
151
|
-
class Binding
|
152
|
-
# @private
|
153
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
-
property :condition, as: 'condition', class: Google::Apis::BaremetalsolutionV2::Expr, decorator: Google::Apis::BaremetalsolutionV2::Expr::Representation
|
155
|
-
|
156
|
-
collection :members, as: 'members'
|
157
|
-
property :role, as: 'role'
|
158
|
-
end
|
159
|
-
end
|
160
|
-
|
161
|
-
class CancelOperationRequest
|
162
|
-
# @private
|
163
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
164
|
-
end
|
165
|
-
end
|
166
|
-
|
167
|
-
class Empty
|
168
|
-
# @private
|
169
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
170
|
-
end
|
171
|
-
end
|
172
|
-
|
173
|
-
class Expr
|
174
|
-
# @private
|
175
|
-
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
|
-
end
|
181
|
-
end
|
182
|
-
|
183
73
|
class Instance
|
184
74
|
# @private
|
185
75
|
class Representation < Google::Apis::Core::JsonRepresentation
|
186
76
|
property :create_time, as: 'createTime'
|
187
77
|
property :hyperthreading_enabled, as: 'hyperthreadingEnabled'
|
78
|
+
property :interactive_serial_console_enabled, as: 'interactiveSerialConsoleEnabled'
|
188
79
|
hash :labels, as: 'labels'
|
189
80
|
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
190
81
|
|
@@ -216,22 +107,13 @@ module Google
|
|
216
107
|
end
|
217
108
|
end
|
218
109
|
|
219
|
-
class
|
110
|
+
class ListLunsResponse
|
220
111
|
# @private
|
221
112
|
class Representation < Google::Apis::Core::JsonRepresentation
|
222
|
-
|
223
|
-
collection :operations, as: 'operations', class: Google::Apis::BaremetalsolutionV2::Operation, decorator: Google::Apis::BaremetalsolutionV2::Operation::Representation
|
224
|
-
|
225
|
-
end
|
226
|
-
end
|
113
|
+
collection :luns, as: 'luns', class: Google::Apis::BaremetalsolutionV2::Lun, decorator: Google::Apis::BaremetalsolutionV2::Lun::Representation
|
227
114
|
|
228
|
-
class ListVolumesResponse
|
229
|
-
# @private
|
230
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
231
115
|
property :next_page_token, as: 'nextPageToken'
|
232
116
|
collection :unreachable, as: 'unreachable'
|
233
|
-
collection :volumes, as: 'volumes', class: Google::Apis::BaremetalsolutionV2::Volume, decorator: Google::Apis::BaremetalsolutionV2::Volume::Representation
|
234
|
-
|
235
117
|
end
|
236
118
|
end
|
237
119
|
|
@@ -252,111 +134,39 @@ module Google
|
|
252
134
|
property :boot_lun, as: 'bootLun'
|
253
135
|
property :multiprotocol_type, as: 'multiprotocolType'
|
254
136
|
property :name, as: 'name'
|
255
|
-
property :
|
137
|
+
property :shareable, as: 'shareable'
|
256
138
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
257
139
|
property :state, as: 'state'
|
258
140
|
property :storage_type, as: 'storageType'
|
259
141
|
property :storage_volume, as: 'storageVolume'
|
142
|
+
property :wwid, as: 'wwid'
|
260
143
|
end
|
261
144
|
end
|
262
145
|
|
263
146
|
class Network
|
264
147
|
# @private
|
265
148
|
class Representation < Google::Apis::Core::JsonRepresentation
|
149
|
+
property :cidr, as: 'cidr'
|
266
150
|
property :ip_address, as: 'ipAddress'
|
267
151
|
collection :mac_address, as: 'macAddress'
|
152
|
+
property :name, as: 'name'
|
268
153
|
property :network, as: 'network'
|
154
|
+
property :state, as: 'state'
|
269
155
|
property :type, as: 'type'
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
class Operation
|
274
|
-
# @private
|
275
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
-
property :done, as: 'done'
|
277
|
-
property :error, as: 'error', class: Google::Apis::BaremetalsolutionV2::Status, decorator: Google::Apis::BaremetalsolutionV2::Status::Representation
|
156
|
+
property :vlan_id, as: 'vlanId'
|
157
|
+
property :vrf, as: 'vrf', class: Google::Apis::BaremetalsolutionV2::Vrf, decorator: Google::Apis::BaremetalsolutionV2::Vrf::Representation
|
278
158
|
|
279
|
-
hash :metadata, as: 'metadata'
|
280
|
-
property :name, as: 'name'
|
281
|
-
hash :response, as: 'response'
|
282
159
|
end
|
283
160
|
end
|
284
161
|
|
285
|
-
class
|
162
|
+
class Vrf
|
286
163
|
# @private
|
287
164
|
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
-
property :
|
289
|
-
property :
|
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'
|
295
|
-
end
|
296
|
-
end
|
297
|
-
|
298
|
-
class Policy
|
299
|
-
# @private
|
300
|
-
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
|
-
end
|
306
|
-
end
|
307
|
-
|
308
|
-
class SetIamPolicyRequest
|
309
|
-
# @private
|
310
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
311
|
-
property :policy, as: 'policy', class: Google::Apis::BaremetalsolutionV2::Policy, decorator: Google::Apis::BaremetalsolutionV2::Policy::Representation
|
312
|
-
|
313
|
-
end
|
314
|
-
end
|
315
|
-
|
316
|
-
class SnapshotReservationDetail
|
317
|
-
# @private
|
318
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
319
|
-
property :reserved_space_gib, :numeric_string => true, as: 'reservedSpaceGib'
|
320
|
-
property :reserved_space_remaining_gib, :numeric_string => true, as: 'reservedSpaceRemainingGib'
|
321
|
-
property :reserved_space_used_percent, as: 'reservedSpaceUsedPercent'
|
322
|
-
end
|
323
|
-
end
|
324
|
-
|
325
|
-
class Status
|
326
|
-
# @private
|
327
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
-
property :code, as: 'code'
|
329
|
-
collection :details, as: 'details'
|
330
|
-
property :message, as: 'message'
|
331
|
-
end
|
332
|
-
end
|
333
|
-
|
334
|
-
class TestIamPermissionsRequest
|
335
|
-
# @private
|
336
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
-
collection :permissions, as: 'permissions'
|
338
|
-
end
|
339
|
-
end
|
340
|
-
|
341
|
-
class TestIamPermissionsResponse
|
342
|
-
# @private
|
343
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
344
|
-
collection :permissions, as: 'permissions'
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
class Volume
|
349
|
-
# @private
|
350
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
-
property :auto_grown_size_gib, :numeric_string => true, as: 'autoGrownSizeGib'
|
352
|
-
property :current_size_gib, :numeric_string => true, as: 'currentSizeGib'
|
165
|
+
property :autonomous_system_number, as: 'autonomousSystemNumber'
|
166
|
+
property :juniper_alias, as: 'juniperAlias'
|
353
167
|
property :name, as: 'name'
|
354
|
-
property :
|
355
|
-
property :requested_size_gib, :numeric_string => true, as: 'requestedSizeGib'
|
356
|
-
property :snapshot_reservation_detail, as: 'snapshotReservationDetail', class: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail, decorator: Google::Apis::BaremetalsolutionV2::SnapshotReservationDetail::Representation
|
357
|
-
|
168
|
+
property :route_target, :numeric_string => true, as: 'routeTarget'
|
358
169
|
property :state, as: 'state'
|
359
|
-
property :storage_type, as: 'storageType'
|
360
170
|
end
|
361
171
|
end
|
362
172
|
end
|