google-apis-baremetalsolution_v1alpha1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,571 +86,6 @@ module Google
86
86
  execute_or_queue_command(command, &block)
87
87
  end
88
88
 
89
- # Disable the interactive serial console feature on a specific machine.
90
- # @param [String] instance
91
- # Required. Name of the instance to disable the interactive serial console
92
- # feature on.
93
- # @param [Google::Apis::BaremetalsolutionV1alpha1::DisableInteractiveSerialConsoleRequest] disable_interactive_serial_console_request_object
94
- # @param [String] fields
95
- # Selector specifying which fields to include in a partial response.
96
- # @param [String] quota_user
97
- # Available to use for quota purposes for server-side applications. Can be any
98
- # arbitrary string assigned to a user, but should not exceed 40 characters.
99
- # @param [Google::Apis::RequestOptions] options
100
- # Request-specific options
101
- #
102
- # @yield [result, err] Result & error if block supplied
103
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::DisableInteractiveSerialConsoleResponse] parsed result object
104
- # @yieldparam err [StandardError] error object if request failed
105
- #
106
- # @return [Google::Apis::BaremetalsolutionV1alpha1::DisableInteractiveSerialConsoleResponse]
107
- #
108
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
- # @raise [Google::Apis::AuthorizationError] Authorization is required
111
- def disable_instance_interactive_serial_console(instance, disable_interactive_serial_console_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
112
- command = make_simple_command(:post, 'v1alpha1/{+instance}:disableInteractiveSerialConsole', options)
113
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::DisableInteractiveSerialConsoleRequest::Representation
114
- command.request_object = disable_interactive_serial_console_request_object
115
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::DisableInteractiveSerialConsoleResponse::Representation
116
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::DisableInteractiveSerialConsoleResponse
117
- command.params['instance'] = instance unless instance.nil?
118
- command.query['fields'] = fields unless fields.nil?
119
- command.query['quotaUser'] = quota_user unless quota_user.nil?
120
- execute_or_queue_command(command, &block)
121
- end
122
-
123
- # Enable the interactive serial console feature on a specific machine.
124
- # @param [String] instance
125
- # Required. Name of the instance to enable the interactive serial console
126
- # feature on.
127
- # @param [Google::Apis::BaremetalsolutionV1alpha1::EnableInteractiveSerialConsoleRequest] enable_interactive_serial_console_request_object
128
- # @param [String] fields
129
- # Selector specifying which fields to include in a partial response.
130
- # @param [String] quota_user
131
- # Available to use for quota purposes for server-side applications. Can be any
132
- # arbitrary string assigned to a user, but should not exceed 40 characters.
133
- # @param [Google::Apis::RequestOptions] options
134
- # Request-specific options
135
- #
136
- # @yield [result, err] Result & error if block supplied
137
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::EnableInteractiveSerialConsoleResponse] parsed result object
138
- # @yieldparam err [StandardError] error object if request failed
139
- #
140
- # @return [Google::Apis::BaremetalsolutionV1alpha1::EnableInteractiveSerialConsoleResponse]
141
- #
142
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
- # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def enable_instance_interactive_serial_console(instance, enable_interactive_serial_console_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:post, 'v1alpha1/{+instance}:enableInteractiveSerialConsole', options)
147
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::EnableInteractiveSerialConsoleRequest::Representation
148
- command.request_object = enable_interactive_serial_console_request_object
149
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::EnableInteractiveSerialConsoleResponse::Representation
150
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::EnableInteractiveSerialConsoleResponse
151
- command.params['instance'] = instance unless instance.nil?
152
- command.query['fields'] = fields unless fields.nil?
153
- command.query['quotaUser'] = quota_user unless quota_user.nil?
154
- execute_or_queue_command(command, &block)
155
- end
156
-
157
- # Get details for a specific named Instance.
158
- # @param [String] name
159
- # Required. The name of the Instance to retrieve.
160
- # @param [String] fields
161
- # Selector specifying which fields to include in a partial response.
162
- # @param [String] quota_user
163
- # Available to use for quota purposes for server-side applications. Can be any
164
- # arbitrary string assigned to a user, but should not exceed 40 characters.
165
- # @param [Google::Apis::RequestOptions] options
166
- # Request-specific options
167
- #
168
- # @yield [result, err] Result & error if block supplied
169
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Instance] parsed result object
170
- # @yieldparam err [StandardError] error object if request failed
171
- #
172
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Instance]
173
- #
174
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176
- # @raise [Google::Apis::AuthorizationError] Authorization is required
177
- def get_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
178
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
179
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Instance::Representation
180
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Instance
181
- command.params['name'] = name unless name.nil?
182
- command.query['fields'] = fields unless fields.nil?
183
- command.query['quotaUser'] = quota_user unless quota_user.nil?
184
- execute_or_queue_command(command, &block)
185
- end
186
-
187
- # List Instances (physical servers).
188
- # @param [String] parent
189
- # Required. The location to list Instances in.
190
- # @param [Fixnum] page_size
191
- # The maximum number of items to return.
192
- # @param [String] page_token
193
- # The next_page_token value returned from a previous List request, if any.
194
- # @param [String] fields
195
- # Selector specifying which fields to include in a partial response.
196
- # @param [String] quota_user
197
- # Available to use for quota purposes for server-side applications. Can be any
198
- # arbitrary string assigned to a user, but should not exceed 40 characters.
199
- # @param [Google::Apis::RequestOptions] options
200
- # Request-specific options
201
- #
202
- # @yield [result, err] Result & error if block supplied
203
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse] parsed result object
204
- # @yieldparam err [StandardError] error object if request failed
205
- #
206
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse]
207
- #
208
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
209
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
210
- # @raise [Google::Apis::AuthorizationError] Authorization is required
211
- def list_project_location_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
212
- command = make_simple_command(:get, 'v1alpha1/{+parent}/instances', options)
213
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse::Representation
214
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ListInstancesResponse
215
- command.params['parent'] = parent unless parent.nil?
216
- command.query['pageSize'] = page_size unless page_size.nil?
217
- command.query['pageToken'] = page_token unless page_token.nil?
218
- command.query['fields'] = fields unless fields.nil?
219
- command.query['quotaUser'] = quota_user unless quota_user.nil?
220
- execute_or_queue_command(command, &block)
221
- end
222
-
223
- # Read the most recent serial port output from a machine.
224
- # @param [String] instance
225
- # Required. Name of the instance to get serial port output of.
226
- # @param [Fixnum] start_byte
227
- # Optional. The start byte of the serial port output to return.
228
- # @param [String] fields
229
- # Selector specifying which fields to include in a partial response.
230
- # @param [String] quota_user
231
- # Available to use for quota purposes for server-side applications. Can be any
232
- # arbitrary string assigned to a user, but should not exceed 40 characters.
233
- # @param [Google::Apis::RequestOptions] options
234
- # Request-specific options
235
- #
236
- # @yield [result, err] Result & error if block supplied
237
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::SerialPortOutput] parsed result object
238
- # @yieldparam err [StandardError] error object if request failed
239
- #
240
- # @return [Google::Apis::BaremetalsolutionV1alpha1::SerialPortOutput]
241
- #
242
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
- # @raise [Google::Apis::AuthorizationError] Authorization is required
245
- def read_project_location_instance_serial_port_output(instance, start_byte: nil, fields: nil, quota_user: nil, options: nil, &block)
246
- command = make_simple_command(:get, 'v1alpha1/{+instance}:readSerialPortOutput', options)
247
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SerialPortOutput::Representation
248
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SerialPortOutput
249
- command.params['instance'] = instance unless instance.nil?
250
- command.query['startByte'] = start_byte unless start_byte.nil?
251
- command.query['fields'] = fields unless fields.nil?
252
- command.query['quotaUser'] = quota_user unless quota_user.nil?
253
- execute_or_queue_command(command, &block)
254
- end
255
-
256
- # Perform an ungraceful, hard reset on a machine (equivalent to physically
257
- # turning power off and then back on).
258
- # @param [String] instance
259
- # Required. Name of the instance to reset.
260
- # @param [Google::Apis::BaremetalsolutionV1alpha1::ResetInstanceRequest] reset_instance_request_object
261
- # @param [String] fields
262
- # Selector specifying which fields to include in a partial response.
263
- # @param [String] quota_user
264
- # Available to use for quota purposes for server-side applications. Can be any
265
- # arbitrary string assigned to a user, but should not exceed 40 characters.
266
- # @param [Google::Apis::RequestOptions] options
267
- # Request-specific options
268
- #
269
- # @yield [result, err] Result & error if block supplied
270
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ResetInstanceResponse] parsed result object
271
- # @yieldparam err [StandardError] error object if request failed
272
- #
273
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ResetInstanceResponse]
274
- #
275
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
276
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
277
- # @raise [Google::Apis::AuthorizationError] Authorization is required
278
- def reset_instance(instance, reset_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
279
- command = make_simple_command(:post, 'v1alpha1/{+instance}:resetInstance', options)
280
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::ResetInstanceRequest::Representation
281
- command.request_object = reset_instance_request_object
282
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ResetInstanceResponse::Representation
283
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ResetInstanceResponse
284
- command.params['instance'] = instance unless instance.nil?
285
- command.query['fields'] = fields unless fields.nil?
286
- command.query['quotaUser'] = quota_user unless quota_user.nil?
287
- execute_or_queue_command(command, &block)
288
- end
289
-
290
- # Get details for a specific named Lun.
291
- # @param [String] name
292
- # Required. The name of the Lun to retrieve.
293
- # @param [String] fields
294
- # Selector specifying which fields to include in a partial response.
295
- # @param [String] quota_user
296
- # Available to use for quota purposes for server-side applications. Can be any
297
- # arbitrary string assigned to a user, but should not exceed 40 characters.
298
- # @param [Google::Apis::RequestOptions] options
299
- # Request-specific options
300
- #
301
- # @yield [result, err] Result & error if block supplied
302
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Lun] parsed result object
303
- # @yieldparam err [StandardError] error object if request failed
304
- #
305
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Lun]
306
- #
307
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
308
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
309
- # @raise [Google::Apis::AuthorizationError] Authorization is required
310
- def get_project_location_lun(name, fields: nil, quota_user: nil, options: nil, &block)
311
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
312
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Lun::Representation
313
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Lun
314
- command.params['name'] = name unless name.nil?
315
- command.query['fields'] = fields unless fields.nil?
316
- command.query['quotaUser'] = quota_user unless quota_user.nil?
317
- execute_or_queue_command(command, &block)
318
- end
319
-
320
- # List Luns.
321
- # @param [String] parent
322
- # Required. The location to list Luns in.
323
- # @param [Fixnum] page_size
324
- # The maximum number of items to return.
325
- # @param [String] page_token
326
- # The next_page_token value returned from a previous List request, if any.
327
- # @param [String] fields
328
- # Selector specifying which fields to include in a partial response.
329
- # @param [String] quota_user
330
- # Available to use for quota purposes for server-side applications. Can be any
331
- # arbitrary string assigned to a user, but should not exceed 40 characters.
332
- # @param [Google::Apis::RequestOptions] options
333
- # Request-specific options
334
- #
335
- # @yield [result, err] Result & error if block supplied
336
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse] parsed result object
337
- # @yieldparam err [StandardError] error object if request failed
338
- #
339
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse]
340
- #
341
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
342
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
343
- # @raise [Google::Apis::AuthorizationError] Authorization is required
344
- def list_project_location_luns(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
345
- command = make_simple_command(:get, 'v1alpha1/{+parent}/luns', options)
346
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse::Representation
347
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ListLunsResponse
348
- command.params['parent'] = parent unless parent.nil?
349
- command.query['pageSize'] = page_size unless page_size.nil?
350
- command.query['pageToken'] = page_token unless page_token.nil?
351
- command.query['fields'] = fields unless fields.nil?
352
- command.query['quotaUser'] = quota_user unless quota_user.nil?
353
- execute_or_queue_command(command, &block)
354
- end
355
-
356
- # Get details for a specific named Volume.
357
- # @param [String] name
358
- # Required. The name of the Volume to retrieve.
359
- # @param [String] fields
360
- # Selector specifying which fields to include in a partial response.
361
- # @param [String] quota_user
362
- # Available to use for quota purposes for server-side applications. Can be any
363
- # arbitrary string assigned to a user, but should not exceed 40 characters.
364
- # @param [Google::Apis::RequestOptions] options
365
- # Request-specific options
366
- #
367
- # @yield [result, err] Result & error if block supplied
368
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Volume] parsed result object
369
- # @yieldparam err [StandardError] error object if request failed
370
- #
371
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Volume]
372
- #
373
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
374
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
375
- # @raise [Google::Apis::AuthorizationError] Authorization is required
376
- def get_project_location_volume(name, fields: nil, quota_user: nil, options: nil, &block)
377
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
378
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Volume::Representation
379
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Volume
380
- command.params['name'] = name unless name.nil?
381
- command.query['fields'] = fields unless fields.nil?
382
- command.query['quotaUser'] = quota_user unless quota_user.nil?
383
- execute_or_queue_command(command, &block)
384
- end
385
-
386
- # List the volumes for the specified project
387
- # @param [String] parent
388
- # Required. The location to list Volumes in.
389
- # @param [Fixnum] page_size
390
- # The maximum number of items to return.
391
- # @param [String] page_token
392
- # The next_page_token value returned from a previous List request, if any.
393
- # @param [String] fields
394
- # Selector specifying which fields to include in a partial response.
395
- # @param [String] quota_user
396
- # Available to use for quota purposes for server-side applications. Can be any
397
- # arbitrary string assigned to a user, but should not exceed 40 characters.
398
- # @param [Google::Apis::RequestOptions] options
399
- # Request-specific options
400
- #
401
- # @yield [result, err] Result & error if block supplied
402
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ListVolumesResponse] parsed result object
403
- # @yieldparam err [StandardError] error object if request failed
404
- #
405
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ListVolumesResponse]
406
- #
407
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
408
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
409
- # @raise [Google::Apis::AuthorizationError] Authorization is required
410
- def list_project_location_volumes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
411
- command = make_simple_command(:get, 'v1alpha1/{+parent}/volumes', options)
412
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ListVolumesResponse::Representation
413
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ListVolumesResponse
414
- command.params['parent'] = parent unless parent.nil?
415
- command.query['pageSize'] = page_size unless page_size.nil?
416
- command.query['pageToken'] = page_token unless page_token.nil?
417
- command.query['fields'] = fields unless fields.nil?
418
- command.query['quotaUser'] = quota_user unless quota_user.nil?
419
- execute_or_queue_command(command, &block)
420
- end
421
-
422
- # Update certain parameters on a Volume.
423
- # @param [String] name
424
- # Output only. The name of this Volume.
425
- # @param [Google::Apis::BaremetalsolutionV1alpha1::Volume] volume_object
426
- # @param [String] update_mask
427
- # The list of fields to update. The only currently supported field is `
428
- # snapshot_auto_delete_behavior`.
429
- # @param [String] fields
430
- # Selector specifying which fields to include in a partial response.
431
- # @param [String] quota_user
432
- # Available to use for quota purposes for server-side applications. Can be any
433
- # arbitrary string assigned to a user, but should not exceed 40 characters.
434
- # @param [Google::Apis::RequestOptions] options
435
- # Request-specific options
436
- #
437
- # @yield [result, err] Result & error if block supplied
438
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Volume] parsed result object
439
- # @yieldparam err [StandardError] error object if request failed
440
- #
441
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Volume]
442
- #
443
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
444
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
445
- # @raise [Google::Apis::AuthorizationError] Authorization is required
446
- def patch_project_location_volume(name, volume_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
447
- command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
448
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::Volume::Representation
449
- command.request_object = volume_object
450
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Volume::Representation
451
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Volume
452
- command.params['name'] = name unless name.nil?
453
- command.query['updateMask'] = update_mask unless update_mask.nil?
454
- command.query['fields'] = fields unless fields.nil?
455
- command.query['quotaUser'] = quota_user unless quota_user.nil?
456
- execute_or_queue_command(command, &block)
457
- end
458
-
459
- # Sets the specified snapshot schedule policy on the specified volume.
460
- # @param [String] volume
461
- # Required. Name of the volume to set snapshot schedule policy on.
462
- # @param [Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyRequest] set_volume_snapshot_schedule_policy_request_object
463
- # @param [String] fields
464
- # Selector specifying which fields to include in a partial response.
465
- # @param [String] quota_user
466
- # Available to use for quota purposes for server-side applications. Can be any
467
- # arbitrary string assigned to a user, but should not exceed 40 characters.
468
- # @param [Google::Apis::RequestOptions] options
469
- # Request-specific options
470
- #
471
- # @yield [result, err] Result & error if block supplied
472
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyResponse] parsed result object
473
- # @yieldparam err [StandardError] error object if request failed
474
- #
475
- # @return [Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyResponse]
476
- #
477
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
478
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
479
- # @raise [Google::Apis::AuthorizationError] Authorization is required
480
- def set_volume_snapshot_schedule_policy(volume, set_volume_snapshot_schedule_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
481
- command = make_simple_command(:post, 'v1alpha1/{+volume}:setVolumeSnapshotSchedulePolicy', options)
482
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyRequest::Representation
483
- command.request_object = set_volume_snapshot_schedule_policy_request_object
484
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyResponse::Representation
485
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SetVolumeSnapshotSchedulePolicyResponse
486
- command.params['volume'] = volume unless volume.nil?
487
- command.query['fields'] = fields unless fields.nil?
488
- command.query['quotaUser'] = quota_user unless quota_user.nil?
489
- execute_or_queue_command(command, &block)
490
- end
491
-
492
- # Create snapshot of the specified Volume
493
- # @param [String] parent
494
- # Required. The Volume containing the VolumeSnapshots.
495
- # @param [Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot] volume_snapshot_object
496
- # @param [String] fields
497
- # Selector specifying which fields to include in a partial response.
498
- # @param [String] quota_user
499
- # Available to use for quota purposes for server-side applications. Can be any
500
- # arbitrary string assigned to a user, but should not exceed 40 characters.
501
- # @param [Google::Apis::RequestOptions] options
502
- # Request-specific options
503
- #
504
- # @yield [result, err] Result & error if block supplied
505
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot] parsed result object
506
- # @yieldparam err [StandardError] error object if request failed
507
- #
508
- # @return [Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot]
509
- #
510
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
511
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
512
- # @raise [Google::Apis::AuthorizationError] Authorization is required
513
- def create_project_location_volume_snapshot(parent, volume_snapshot_object = nil, fields: nil, quota_user: nil, options: nil, &block)
514
- command = make_simple_command(:post, 'v1alpha1/{+parent}/snapshots', options)
515
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot::Representation
516
- command.request_object = volume_snapshot_object
517
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot::Representation
518
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot
519
- command.params['parent'] = parent unless parent.nil?
520
- command.query['fields'] = fields unless fields.nil?
521
- command.query['quotaUser'] = quota_user unless quota_user.nil?
522
- execute_or_queue_command(command, &block)
523
- end
524
-
525
- # Delete specific named snapshot.
526
- # @param [String] name
527
- # Required. The name of the snapshot to delete.
528
- # @param [String] fields
529
- # Selector specifying which fields to include in a partial response.
530
- # @param [String] quota_user
531
- # Available to use for quota purposes for server-side applications. Can be any
532
- # arbitrary string assigned to a user, but should not exceed 40 characters.
533
- # @param [Google::Apis::RequestOptions] options
534
- # Request-specific options
535
- #
536
- # @yield [result, err] Result & error if block supplied
537
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Empty] parsed result object
538
- # @yieldparam err [StandardError] error object if request failed
539
- #
540
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Empty]
541
- #
542
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
543
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
544
- # @raise [Google::Apis::AuthorizationError] Authorization is required
545
- def delete_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil, &block)
546
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
547
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Empty::Representation
548
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Empty
549
- command.params['name'] = name unless name.nil?
550
- command.query['fields'] = fields unless fields.nil?
551
- command.query['quotaUser'] = quota_user unless quota_user.nil?
552
- execute_or_queue_command(command, &block)
553
- end
554
-
555
- # Get details for a specific named snapshot.
556
- # @param [String] name
557
- # Required. The name of the snapshot to retrieve.
558
- # @param [String] fields
559
- # Selector specifying which fields to include in a partial response.
560
- # @param [String] quota_user
561
- # Available to use for quota purposes for server-side applications. Can be any
562
- # arbitrary string assigned to a user, but should not exceed 40 characters.
563
- # @param [Google::Apis::RequestOptions] options
564
- # Request-specific options
565
- #
566
- # @yield [result, err] Result & error if block supplied
567
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot] parsed result object
568
- # @yieldparam err [StandardError] error object if request failed
569
- #
570
- # @return [Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot]
571
- #
572
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
573
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
574
- # @raise [Google::Apis::AuthorizationError] Authorization is required
575
- def get_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil, &block)
576
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
577
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot::Representation
578
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::VolumeSnapshot
579
- command.params['name'] = name unless name.nil?
580
- command.query['fields'] = fields unless fields.nil?
581
- command.query['quotaUser'] = quota_user unless quota_user.nil?
582
- execute_or_queue_command(command, &block)
583
- end
584
-
585
- # List the Snapshots for the specified Volume
586
- # @param [String] parent
587
- # Required. The Volume containing the VolumeSnapshots.
588
- # @param [Fixnum] page_size
589
- # The maximum number of items to return.
590
- # @param [String] page_token
591
- # The next_page_token value returned from a previous List request, if any.
592
- # @param [String] fields
593
- # Selector specifying which fields to include in a partial response.
594
- # @param [String] quota_user
595
- # Available to use for quota purposes for server-side applications. Can be any
596
- # arbitrary string assigned to a user, but should not exceed 40 characters.
597
- # @param [Google::Apis::RequestOptions] options
598
- # Request-specific options
599
- #
600
- # @yield [result, err] Result & error if block supplied
601
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ListVolumeSnapshotsResponse] parsed result object
602
- # @yieldparam err [StandardError] error object if request failed
603
- #
604
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ListVolumeSnapshotsResponse]
605
- #
606
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
607
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
608
- # @raise [Google::Apis::AuthorizationError] Authorization is required
609
- def list_project_location_volume_snapshots(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
610
- command = make_simple_command(:get, 'v1alpha1/{+parent}/snapshots', options)
611
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ListVolumeSnapshotsResponse::Representation
612
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ListVolumeSnapshotsResponse
613
- command.params['parent'] = parent unless parent.nil?
614
- command.query['pageSize'] = page_size unless page_size.nil?
615
- command.query['pageToken'] = page_token unless page_token.nil?
616
- command.query['fields'] = fields unless fields.nil?
617
- command.query['quotaUser'] = quota_user unless quota_user.nil?
618
- execute_or_queue_command(command, &block)
619
- end
620
-
621
- # Restore a VolumeSnapshot.
622
- # @param [String] name
623
- # Required. Name of the VolumeSnapshot to restore.
624
- # @param [Google::Apis::BaremetalsolutionV1alpha1::RestoreVolumeSnapshotRequest] restore_volume_snapshot_request_object
625
- # @param [String] fields
626
- # Selector specifying which fields to include in a partial response.
627
- # @param [String] quota_user
628
- # Available to use for quota purposes for server-side applications. Can be any
629
- # arbitrary string assigned to a user, but should not exceed 40 characters.
630
- # @param [Google::Apis::RequestOptions] options
631
- # Request-specific options
632
- #
633
- # @yield [result, err] Result & error if block supplied
634
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Empty] parsed result object
635
- # @yieldparam err [StandardError] error object if request failed
636
- #
637
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Empty]
638
- #
639
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
640
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
641
- # @raise [Google::Apis::AuthorizationError] Authorization is required
642
- def restore_volume_snapshot(name, restore_volume_snapshot_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
643
- command = make_simple_command(:post, 'v1alpha1/{+name}:restore', options)
644
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::RestoreVolumeSnapshotRequest::Representation
645
- command.request_object = restore_volume_snapshot_request_object
646
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Empty::Representation
647
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Empty
648
- command.params['name'] = name unless name.nil?
649
- command.query['fields'] = fields unless fields.nil?
650
- command.query['quotaUser'] = quota_user unless quota_user.nil?
651
- execute_or_queue_command(command, &block)
652
- end
653
-
654
89
  # List the budget details to provision resources on a given project.
655
90
  # @param [String] parent
656
91
  # Required. The parent project containing the provisioning quotas.
@@ -686,278 +121,6 @@ module Google
686
121
  command.query['quotaUser'] = quota_user unless quota_user.nil?
687
122
  execute_or_queue_command(command, &block)
688
123
  end
689
-
690
- # Create a SnapshotSchedulePolicy.
691
- # @param [String] parent
692
- # Required. The parent project containing the SnapshotSchedulePolicy.
693
- # @param [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy] snapshot_schedule_policy_object
694
- # @param [String] snapshot_schedule_policy_id
695
- # Required. Snapshot policy ID
696
- # @param [String] fields
697
- # Selector specifying which fields to include in a partial response.
698
- # @param [String] quota_user
699
- # Available to use for quota purposes for server-side applications. Can be any
700
- # arbitrary string assigned to a user, but should not exceed 40 characters.
701
- # @param [Google::Apis::RequestOptions] options
702
- # Request-specific options
703
- #
704
- # @yield [result, err] Result & error if block supplied
705
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy] parsed result object
706
- # @yieldparam err [StandardError] error object if request failed
707
- #
708
- # @return [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy]
709
- #
710
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
711
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
712
- # @raise [Google::Apis::AuthorizationError] Authorization is required
713
- def create_project_snapshot_schedule_policy(parent, snapshot_schedule_policy_object = nil, snapshot_schedule_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block)
714
- command = make_simple_command(:post, 'v1alpha1/{+parent}/snapshotSchedulePolicies', options)
715
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
716
- command.request_object = snapshot_schedule_policy_object
717
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
718
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy
719
- command.params['parent'] = parent unless parent.nil?
720
- command.query['snapshotSchedulePolicyId'] = snapshot_schedule_policy_id unless snapshot_schedule_policy_id.nil?
721
- command.query['fields'] = fields unless fields.nil?
722
- command.query['quotaUser'] = quota_user unless quota_user.nil?
723
- execute_or_queue_command(command, &block)
724
- end
725
-
726
- # Delete removes named snapshot schedule policy
727
- # @param [String] name
728
- # Required. The name of the snapshot to delete.
729
- # @param [String] fields
730
- # Selector specifying which fields to include in a partial response.
731
- # @param [String] quota_user
732
- # Available to use for quota purposes for server-side applications. Can be any
733
- # arbitrary string assigned to a user, but should not exceed 40 characters.
734
- # @param [Google::Apis::RequestOptions] options
735
- # Request-specific options
736
- #
737
- # @yield [result, err] Result & error if block supplied
738
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Empty] parsed result object
739
- # @yieldparam err [StandardError] error object if request failed
740
- #
741
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Empty]
742
- #
743
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
- # @raise [Google::Apis::AuthorizationError] Authorization is required
746
- def delete_project_snapshot_schedule_policy(name, fields: nil, quota_user: nil, options: nil, &block)
747
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
748
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Empty::Representation
749
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Empty
750
- command.params['name'] = name unless name.nil?
751
- command.query['fields'] = fields unless fields.nil?
752
- command.query['quotaUser'] = quota_user unless quota_user.nil?
753
- execute_or_queue_command(command, &block)
754
- end
755
-
756
- # Get details for a specific snapshot schedule policy
757
- # @param [String] name
758
- # Required. The name of the policy to retrieve.
759
- # @param [String] fields
760
- # Selector specifying which fields to include in a partial response.
761
- # @param [String] quota_user
762
- # Available to use for quota purposes for server-side applications. Can be any
763
- # arbitrary string assigned to a user, but should not exceed 40 characters.
764
- # @param [Google::Apis::RequestOptions] options
765
- # Request-specific options
766
- #
767
- # @yield [result, err] Result & error if block supplied
768
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy] parsed result object
769
- # @yieldparam err [StandardError] error object if request failed
770
- #
771
- # @return [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy]
772
- #
773
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
774
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
775
- # @raise [Google::Apis::AuthorizationError] Authorization is required
776
- def get_project_snapshot_schedule_policy(name, fields: nil, quota_user: nil, options: nil, &block)
777
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
778
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
779
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy
780
- command.params['name'] = name unless name.nil?
781
- command.query['fields'] = fields unless fields.nil?
782
- command.query['quotaUser'] = quota_user unless quota_user.nil?
783
- execute_or_queue_command(command, &block)
784
- end
785
-
786
- # List the snapshot schedule policies for the specified project
787
- # @param [String] parent
788
- # Required. The parent project containing the Snapshot Schedule Policies.
789
- # @param [Fixnum] page_size
790
- # The maximum number of items to return.
791
- # @param [String] page_token
792
- # The next_page_token value returned from a previous List request, if any.
793
- # @param [String] fields
794
- # Selector specifying which fields to include in a partial response.
795
- # @param [String] quota_user
796
- # Available to use for quota purposes for server-side applications. Can be any
797
- # arbitrary string assigned to a user, but should not exceed 40 characters.
798
- # @param [Google::Apis::RequestOptions] options
799
- # Request-specific options
800
- #
801
- # @yield [result, err] Result & error if block supplied
802
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ListSnapshotSchedulePoliciesResponse] parsed result object
803
- # @yieldparam err [StandardError] error object if request failed
804
- #
805
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ListSnapshotSchedulePoliciesResponse]
806
- #
807
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
808
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
809
- # @raise [Google::Apis::AuthorizationError] Authorization is required
810
- def list_project_snapshot_schedule_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
811
- command = make_simple_command(:get, 'v1alpha1/{+parent}/snapshotSchedulePolicies', options)
812
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ListSnapshotSchedulePoliciesResponse::Representation
813
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ListSnapshotSchedulePoliciesResponse
814
- command.params['parent'] = parent unless parent.nil?
815
- command.query['pageSize'] = page_size unless page_size.nil?
816
- command.query['pageToken'] = page_token unless page_token.nil?
817
- command.query['fields'] = fields unless fields.nil?
818
- command.query['quotaUser'] = quota_user unless quota_user.nil?
819
- execute_or_queue_command(command, &block)
820
- end
821
-
822
- # Update a SnapshotSchedulePolicy.
823
- # @param [String] name
824
- # Output only. The name of this SnapshotSchedulePolicy.
825
- # @param [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy] snapshot_schedule_policy_object
826
- # @param [String] update_mask
827
- # The list of fields to update.
828
- # @param [String] fields
829
- # Selector specifying which fields to include in a partial response.
830
- # @param [String] quota_user
831
- # Available to use for quota purposes for server-side applications. Can be any
832
- # arbitrary string assigned to a user, but should not exceed 40 characters.
833
- # @param [Google::Apis::RequestOptions] options
834
- # Request-specific options
835
- #
836
- # @yield [result, err] Result & error if block supplied
837
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy] parsed result object
838
- # @yieldparam err [StandardError] error object if request failed
839
- #
840
- # @return [Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy]
841
- #
842
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
843
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
844
- # @raise [Google::Apis::AuthorizationError] Authorization is required
845
- def patch_project_snapshot_schedule_policy(name, snapshot_schedule_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
846
- command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
847
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
848
- command.request_object = snapshot_schedule_policy_object
849
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy::Representation
850
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SnapshotSchedulePolicy
851
- command.params['name'] = name unless name.nil?
852
- command.query['updateMask'] = update_mask unless update_mask.nil?
853
- command.query['fields'] = fields unless fields.nil?
854
- command.query['quotaUser'] = quota_user unless quota_user.nil?
855
- execute_or_queue_command(command, &block)
856
- end
857
-
858
- # Create a new SSH key registration in the specified project.
859
- # @param [String] parent
860
- # Required. The parent project containing the SSH keys.
861
- # @param [Google::Apis::BaremetalsolutionV1alpha1::SshKey] ssh_key_object
862
- # @param [String] ssh_key_id
863
- # Required. The ID to use for the key, which will become the final component of
864
- # the key's resource name. This value should be match the regex: [a-zA-Z0-9@.\-_]
865
- # `1,64`
866
- # @param [String] fields
867
- # Selector specifying which fields to include in a partial response.
868
- # @param [String] quota_user
869
- # Available to use for quota purposes for server-side applications. Can be any
870
- # arbitrary string assigned to a user, but should not exceed 40 characters.
871
- # @param [Google::Apis::RequestOptions] options
872
- # Request-specific options
873
- #
874
- # @yield [result, err] Result & error if block supplied
875
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::SshKey] parsed result object
876
- # @yieldparam err [StandardError] error object if request failed
877
- #
878
- # @return [Google::Apis::BaremetalsolutionV1alpha1::SshKey]
879
- #
880
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
- # @raise [Google::Apis::AuthorizationError] Authorization is required
883
- def create_project_ssh_key(parent, ssh_key_object = nil, ssh_key_id: nil, fields: nil, quota_user: nil, options: nil, &block)
884
- command = make_simple_command(:post, 'v1alpha1/{+parent}/sshKeys', options)
885
- command.request_representation = Google::Apis::BaremetalsolutionV1alpha1::SshKey::Representation
886
- command.request_object = ssh_key_object
887
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::SshKey::Representation
888
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::SshKey
889
- command.params['parent'] = parent unless parent.nil?
890
- command.query['sshKeyId'] = ssh_key_id unless ssh_key_id.nil?
891
- command.query['fields'] = fields unless fields.nil?
892
- command.query['quotaUser'] = quota_user unless quota_user.nil?
893
- execute_or_queue_command(command, &block)
894
- end
895
-
896
- # Delete an SSH key registration in the specified project.
897
- # @param [String] name
898
- # Required. The name of the SSH key to delete.
899
- # @param [String] fields
900
- # Selector specifying which fields to include in a partial response.
901
- # @param [String] quota_user
902
- # Available to use for quota purposes for server-side applications. Can be any
903
- # arbitrary string assigned to a user, but should not exceed 40 characters.
904
- # @param [Google::Apis::RequestOptions] options
905
- # Request-specific options
906
- #
907
- # @yield [result, err] Result & error if block supplied
908
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::Empty] parsed result object
909
- # @yieldparam err [StandardError] error object if request failed
910
- #
911
- # @return [Google::Apis::BaremetalsolutionV1alpha1::Empty]
912
- #
913
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
- # @raise [Google::Apis::AuthorizationError] Authorization is required
916
- def delete_project_ssh_key(name, fields: nil, quota_user: nil, options: nil, &block)
917
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
918
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::Empty::Representation
919
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::Empty
920
- command.params['name'] = name unless name.nil?
921
- command.query['fields'] = fields unless fields.nil?
922
- command.query['quotaUser'] = quota_user unless quota_user.nil?
923
- execute_or_queue_command(command, &block)
924
- end
925
-
926
- # List the public SSH keys registered for the specified project.
927
- # @param [String] parent
928
- # Required. The parent project containing the SSH keys.
929
- # @param [Fixnum] page_size
930
- # The maximum number of items to return.
931
- # @param [String] page_token
932
- # The next_page_token value returned from a previous List request, if any.
933
- # @param [String] fields
934
- # Selector specifying which fields to include in a partial response.
935
- # @param [String] quota_user
936
- # Available to use for quota purposes for server-side applications. Can be any
937
- # arbitrary string assigned to a user, but should not exceed 40 characters.
938
- # @param [Google::Apis::RequestOptions] options
939
- # Request-specific options
940
- #
941
- # @yield [result, err] Result & error if block supplied
942
- # @yieldparam result [Google::Apis::BaremetalsolutionV1alpha1::ListSshKeysResponse] parsed result object
943
- # @yieldparam err [StandardError] error object if request failed
944
- #
945
- # @return [Google::Apis::BaremetalsolutionV1alpha1::ListSshKeysResponse]
946
- #
947
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
948
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
949
- # @raise [Google::Apis::AuthorizationError] Authorization is required
950
- def list_project_ssh_keys(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
951
- command = make_simple_command(:get, 'v1alpha1/{+parent}/sshKeys', options)
952
- command.response_representation = Google::Apis::BaremetalsolutionV1alpha1::ListSshKeysResponse::Representation
953
- command.response_class = Google::Apis::BaremetalsolutionV1alpha1::ListSshKeysResponse
954
- command.params['parent'] = parent unless parent.nil?
955
- command.query['pageSize'] = page_size unless page_size.nil?
956
- command.query['pageToken'] = page_token unless page_token.nil?
957
- command.query['fields'] = fields unless fields.nil?
958
- command.query['quotaUser'] = quota_user unless quota_user.nil?
959
- execute_or_queue_command(command, &block)
960
- end
961
124
 
962
125
  protected
963
126