google-apis-baremetalsolution_v2 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module BaremetalsolutionV2
24
24
 
25
+ class CancelOperationRequest
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
 
@@ -46,6 +58,36 @@ module Google
46
58
  include Google::Apis::Core::JsonObjectSupport
47
59
  end
48
60
 
61
+ class ListNetworksResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ListOperationsResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
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
+
49
91
  class Location
50
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
93
 
@@ -64,12 +106,78 @@ module Google
64
106
  include Google::Apis::Core::JsonObjectSupport
65
107
  end
66
108
 
109
+ class Operation
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
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
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class SnapshotReservationDetail
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class SnapshotSchedulePolicy
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Status
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
67
151
  class Vrf
68
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
153
 
70
154
  include Google::Apis::Core::JsonObjectSupport
71
155
  end
72
156
 
157
+ class Volume
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class VolumeSnapshot
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class CancelOperationRequest
170
+ # @private
171
+ class Representation < Google::Apis::Core::JsonRepresentation
172
+ end
173
+ end
174
+
175
+ class Empty
176
+ # @private
177
+ class Representation < Google::Apis::Core::JsonRepresentation
178
+ end
179
+ end
180
+
73
181
  class Instance
74
182
  # @private
75
183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -117,6 +225,54 @@ module Google
117
225
  end
118
226
  end
119
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
+
238
+ class ListOperationsResponse
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ property :next_page_token, as: 'nextPageToken'
242
+ collection :operations, as: 'operations', class: Google::Apis::BaremetalsolutionV2::Operation, decorator: Google::Apis::BaremetalsolutionV2::Operation::Representation
243
+
244
+ end
245
+ end
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
+
120
276
  class Location
121
277
  # @private
122
278
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -159,6 +315,68 @@ module Google
159
315
  end
160
316
  end
161
317
 
318
+ class Operation
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :done, as: 'done'
322
+ property :error, as: 'error', class: Google::Apis::BaremetalsolutionV2::Status, decorator: Google::Apis::BaremetalsolutionV2::Status::Representation
323
+
324
+ hash :metadata, as: 'metadata'
325
+ property :name, as: 'name'
326
+ hash :response, as: 'response'
327
+ end
328
+ end
329
+
330
+ class ResetInstanceRequest
331
+ # @private
332
+ class Representation < Google::Apis::Core::JsonRepresentation
333
+ end
334
+ end
335
+
336
+ class RestoreVolumeSnapshotRequest
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ end
340
+ end
341
+
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'
348
+ end
349
+ end
350
+
351
+ class SnapshotReservationDetail
352
+ # @private
353
+ class Representation < Google::Apis::Core::JsonRepresentation
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
366
+
367
+ collection :volumes, as: 'volumes'
368
+ end
369
+ end
370
+
371
+ class Status
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :code, as: 'code'
375
+ collection :details, as: 'details'
376
+ property :message, as: 'message'
377
+ end
378
+ end
379
+
162
380
  class Vrf
163
381
  # @private
164
382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -169,6 +387,34 @@ module Google
169
387
  property :state, as: 'state'
170
388
  end
171
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'
405
+ end
406
+ end
407
+
408
+ class VolumeSnapshot
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
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'
416
+ end
417
+ end
172
418
  end
173
419
  end
174
420
  end