google-apis-osconfig_v1alpha 0.33.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e7b42b550009dbefcdd4dad4bd4f6d964b8754383acf4db512cfdaf6898681e
4
- data.tar.gz: 6483be48fdd6b672a4685b11a89f5b967ad58ee5d2247232d5de4f452c094dcb
3
+ metadata.gz: bcb30fab720d7beba839e000859175d58a60b22df1b05d6d9961f6c930f65313
4
+ data.tar.gz: a67a7168796839d8a172b62eb90a93a49963b5b19d33b28eb6059388508a4140
5
5
  SHA512:
6
- metadata.gz: 88c674f040ca5c75ceca01d871d1a459ebf7fa9ffec509e37c9f7236706287a8d47ca2b90fa50ec256271cdade089bf58369c28b5e95af1c3355c50d2103d318
7
- data.tar.gz: 209412ef7f606f52b4c54f377d168d5dd58c0ec14a56630e8d388b5acf240200635c3a17a1b0c00ccaf3ae3bf157c6e4671fa21c6ad9048e101935402ad7427b
6
+ metadata.gz: ea4522ff92944c4dd1fd352a6510fe2768c2c0b1008a2c3ce9344af2148e34a24a023d0d0c9359f3e89433c197b9ab2e05d9ab11a4416fb9bc482834c48e9830
7
+ data.tar.gz: 702b8e6c357bcc1c1014c0fc679280828665b27b8071fe07470c6ae36e73ba1c5a3ce649696b3cde087243c7cabcd50b9a2b406611f37e22520ec05e144ccb05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-osconfig_v1alpha
2
2
 
3
+ ### v0.35.0 (2026-01-18)
4
+
5
+ * Regenerated from discovery document revision 20260108
6
+
7
+ ### v0.34.0 (2025-08-03)
8
+
9
+ * Regenerated from discovery document revision 20250727
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.33.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250511
@@ -211,6 +211,183 @@ module Google
211
211
  end
212
212
  end
213
213
 
214
+ # Represents the metadata of a generic long-running operation.
215
+ class GoogleCloudOsconfigCommonV1OperationMetadata
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # Output only. API version used to start the operation.
219
+ # Corresponds to the JSON property `apiVersion`
220
+ # @return [String]
221
+ attr_accessor :api_version
222
+
223
+ # Output only. The time the operation was created.
224
+ # Corresponds to the JSON property `createTime`
225
+ # @return [String]
226
+ attr_accessor :create_time
227
+
228
+ # Output only. The time the operation finished running.
229
+ # Corresponds to the JSON property `endTime`
230
+ # @return [String]
231
+ attr_accessor :end_time
232
+
233
+ # Output only. Identifies whether the user has requested cancellation of the
234
+ # operation. Operations that have successfully been cancelled have Operation.
235
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
236
+ # CANCELLED`.
237
+ # Corresponds to the JSON property `requestedCancellation`
238
+ # @return [Boolean]
239
+ attr_accessor :requested_cancellation
240
+ alias_method :requested_cancellation?, :requested_cancellation
241
+
242
+ # Output only. Human-readable status of the operation, if any.
243
+ # Corresponds to the JSON property `statusMessage`
244
+ # @return [String]
245
+ attr_accessor :status_message
246
+
247
+ # Output only. Server-defined resource path for the target of the operation.
248
+ # Corresponds to the JSON property `target`
249
+ # @return [String]
250
+ attr_accessor :target
251
+
252
+ # Output only. Name of the verb executed by the operation.
253
+ # Corresponds to the JSON property `verb`
254
+ # @return [String]
255
+ attr_accessor :verb
256
+
257
+ def initialize(**args)
258
+ update!(**args)
259
+ end
260
+
261
+ # Update properties of this object
262
+ def update!(**args)
263
+ @api_version = args[:api_version] if args.key?(:api_version)
264
+ @create_time = args[:create_time] if args.key?(:create_time)
265
+ @end_time = args[:end_time] if args.key?(:end_time)
266
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
267
+ @status_message = args[:status_message] if args.key?(:status_message)
268
+ @target = args[:target] if args.key?(:target)
269
+ @verb = args[:verb] if args.key?(:verb)
270
+ end
271
+ end
272
+
273
+ # Represents the metadata of a generic long-running operation.
274
+ class GoogleCloudOsconfigCommonV1alphaOperationMetadata
275
+ include Google::Apis::Core::Hashable
276
+
277
+ # Output only. API version used to start the operation.
278
+ # Corresponds to the JSON property `apiVersion`
279
+ # @return [String]
280
+ attr_accessor :api_version
281
+
282
+ # Output only. The time the operation was created.
283
+ # Corresponds to the JSON property `createTime`
284
+ # @return [String]
285
+ attr_accessor :create_time
286
+
287
+ # Output only. The time the operation finished running.
288
+ # Corresponds to the JSON property `endTime`
289
+ # @return [String]
290
+ attr_accessor :end_time
291
+
292
+ # Output only. Identifies whether the user has requested cancellation of the
293
+ # operation. Operations that have successfully been cancelled have Operation.
294
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
295
+ # CANCELLED`.
296
+ # Corresponds to the JSON property `requestedCancellation`
297
+ # @return [Boolean]
298
+ attr_accessor :requested_cancellation
299
+ alias_method :requested_cancellation?, :requested_cancellation
300
+
301
+ # Output only. Human-readable status of the operation, if any.
302
+ # Corresponds to the JSON property `statusMessage`
303
+ # @return [String]
304
+ attr_accessor :status_message
305
+
306
+ # Output only. Server-defined resource path for the target of the operation.
307
+ # Corresponds to the JSON property `target`
308
+ # @return [String]
309
+ attr_accessor :target
310
+
311
+ # Output only. Name of the verb executed by the operation.
312
+ # Corresponds to the JSON property `verb`
313
+ # @return [String]
314
+ attr_accessor :verb
315
+
316
+ def initialize(**args)
317
+ update!(**args)
318
+ end
319
+
320
+ # Update properties of this object
321
+ def update!(**args)
322
+ @api_version = args[:api_version] if args.key?(:api_version)
323
+ @create_time = args[:create_time] if args.key?(:create_time)
324
+ @end_time = args[:end_time] if args.key?(:end_time)
325
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
326
+ @status_message = args[:status_message] if args.key?(:status_message)
327
+ @target = args[:target] if args.key?(:target)
328
+ @verb = args[:verb] if args.key?(:verb)
329
+ end
330
+ end
331
+
332
+ # Represents the metadata of a generic long-running operation.
333
+ class GoogleCloudOsconfigCommonV1mainOperationMetadata
334
+ include Google::Apis::Core::Hashable
335
+
336
+ # Output only. API version used to start the operation.
337
+ # Corresponds to the JSON property `apiVersion`
338
+ # @return [String]
339
+ attr_accessor :api_version
340
+
341
+ # Output only. The time the operation was created.
342
+ # Corresponds to the JSON property `createTime`
343
+ # @return [String]
344
+ attr_accessor :create_time
345
+
346
+ # Output only. The time the operation finished running.
347
+ # Corresponds to the JSON property `endTime`
348
+ # @return [String]
349
+ attr_accessor :end_time
350
+
351
+ # Output only. Identifies whether the user has requested cancellation of the
352
+ # operation. Operations that have successfully been cancelled have Operation.
353
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
354
+ # CANCELLED`.
355
+ # Corresponds to the JSON property `requestedCancellation`
356
+ # @return [Boolean]
357
+ attr_accessor :requested_cancellation
358
+ alias_method :requested_cancellation?, :requested_cancellation
359
+
360
+ # Output only. Human-readable status of the operation, if any.
361
+ # Corresponds to the JSON property `statusMessage`
362
+ # @return [String]
363
+ attr_accessor :status_message
364
+
365
+ # Output only. Server-defined resource path for the target of the operation.
366
+ # Corresponds to the JSON property `target`
367
+ # @return [String]
368
+ attr_accessor :target
369
+
370
+ # Output only. Name of the verb executed by the operation.
371
+ # Corresponds to the JSON property `verb`
372
+ # @return [String]
373
+ attr_accessor :verb
374
+
375
+ def initialize(**args)
376
+ update!(**args)
377
+ end
378
+
379
+ # Update properties of this object
380
+ def update!(**args)
381
+ @api_version = args[:api_version] if args.key?(:api_version)
382
+ @create_time = args[:create_time] if args.key?(:create_time)
383
+ @end_time = args[:end_time] if args.key?(:end_time)
384
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
385
+ @status_message = args[:status_message] if args.key?(:status_message)
386
+ @target = args[:target] if args.key?(:target)
387
+ @verb = args[:verb] if args.key?(:verb)
388
+ end
389
+ end
390
+
214
391
  # OS policy assignment operation metadata provided by OS policy assignment API
215
392
  # methods that return long running operations.
216
393
  class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
@@ -1122,6 +1299,40 @@ module Google
1122
1299
  end
1123
1300
  end
1124
1301
 
1302
+ # The response message for Operations.ListOperations.
1303
+ class ListOperationsResponse
1304
+ include Google::Apis::Core::Hashable
1305
+
1306
+ # The standard List next-page token.
1307
+ # Corresponds to the JSON property `nextPageToken`
1308
+ # @return [String]
1309
+ attr_accessor :next_page_token
1310
+
1311
+ # A list of operations that matches the specified filter in the request.
1312
+ # Corresponds to the JSON property `operations`
1313
+ # @return [Array<Google::Apis::OsconfigV1alpha::Operation>]
1314
+ attr_accessor :operations
1315
+
1316
+ # Unordered list. Unreachable resources. Populated when the request sets `
1317
+ # ListOperationsRequest.return_partial_success` and reads across collections.
1318
+ # For example, when attempting to list all resources across all supported
1319
+ # locations.
1320
+ # Corresponds to the JSON property `unreachable`
1321
+ # @return [Array<String>]
1322
+ attr_accessor :unreachable
1323
+
1324
+ def initialize(**args)
1325
+ update!(**args)
1326
+ end
1327
+
1328
+ # Update properties of this object
1329
+ def update!(**args)
1330
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1331
+ @operations = args[:operations] if args.key?(:operations)
1332
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1333
+ end
1334
+ end
1335
+
1125
1336
  # A response message for listing vulnerability reports for all VM instances in
1126
1337
  # the specified location.
1127
1338
  class ListVulnerabilityReportsResponse
@@ -2812,6 +3023,12 @@ module Google
2812
3023
  class VulnerabilityReport
2813
3024
  include Google::Apis::Core::Hashable
2814
3025
 
3026
+ # Output only. Highest level of severity among all the upgradable
3027
+ # vulnerabilities with CVEs attached.
3028
+ # Corresponds to the JSON property `highestUpgradableCveSeverity`
3029
+ # @return [String]
3030
+ attr_accessor :highest_upgradable_cve_severity
3031
+
2815
3032
  # Output only. The `vulnerabilityReport` API resource name. Format: `projects/`
2816
3033
  # project_number`/locations/`location`/instances/`instance_id`/
2817
3034
  # vulnerabilityReport`
@@ -2836,6 +3053,7 @@ module Google
2836
3053
 
2837
3054
  # Update properties of this object
2838
3055
  def update!(**args)
3056
+ @highest_upgradable_cve_severity = args[:highest_upgradable_cve_severity] if args.key?(:highest_upgradable_cve_severity)
2839
3057
  @name = args[:name] if args.key?(:name)
2840
3058
  @update_time = args[:update_time] if args.key?(:update_time)
2841
3059
  @vulnerabilities = args[:vulnerabilities] if args.key?(:vulnerabilities)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsconfigV1alpha
18
18
  # Version of the google-apis-osconfig_v1alpha gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250511"
25
+ REVISION = "20260108"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,24 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudOsconfigCommonV1OperationMetadata
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudOsconfigCommonV1alphaOperationMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudOsconfigCommonV1mainOperationMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
55
73
  class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
@@ -172,6 +190,12 @@ module Google
172
190
  include Google::Apis::Core::JsonObjectSupport
173
191
  end
174
192
 
193
+ class ListOperationsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
175
199
  class ListVulnerabilityReportsResponse
176
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
201
 
@@ -506,6 +530,45 @@ module Google
506
530
  end
507
531
  end
508
532
 
533
+ class GoogleCloudOsconfigCommonV1OperationMetadata
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :api_version, as: 'apiVersion'
537
+ property :create_time, as: 'createTime'
538
+ property :end_time, as: 'endTime'
539
+ property :requested_cancellation, as: 'requestedCancellation'
540
+ property :status_message, as: 'statusMessage'
541
+ property :target, as: 'target'
542
+ property :verb, as: 'verb'
543
+ end
544
+ end
545
+
546
+ class GoogleCloudOsconfigCommonV1alphaOperationMetadata
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :api_version, as: 'apiVersion'
550
+ property :create_time, as: 'createTime'
551
+ property :end_time, as: 'endTime'
552
+ property :requested_cancellation, as: 'requestedCancellation'
553
+ property :status_message, as: 'statusMessage'
554
+ property :target, as: 'target'
555
+ property :verb, as: 'verb'
556
+ end
557
+ end
558
+
559
+ class GoogleCloudOsconfigCommonV1mainOperationMetadata
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :api_version, as: 'apiVersion'
563
+ property :create_time, as: 'createTime'
564
+ property :end_time, as: 'endTime'
565
+ property :requested_cancellation, as: 'requestedCancellation'
566
+ property :status_message, as: 'statusMessage'
567
+ property :target, as: 'target'
568
+ property :verb, as: 'verb'
569
+ end
570
+ end
571
+
509
572
  class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
510
573
  # @private
511
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -744,6 +807,16 @@ module Google
744
807
  end
745
808
  end
746
809
 
810
+ class ListOperationsResponse
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :next_page_token, as: 'nextPageToken'
814
+ collection :operations, as: 'operations', class: Google::Apis::OsconfigV1alpha::Operation, decorator: Google::Apis::OsconfigV1alpha::Operation::Representation
815
+
816
+ collection :unreachable, as: 'unreachable'
817
+ end
818
+ end
819
+
747
820
  class ListVulnerabilityReportsResponse
748
821
  # @private
749
822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1193,6 +1266,7 @@ module Google
1193
1266
  class VulnerabilityReport
1194
1267
  # @private
1195
1268
  class Representation < Google::Apis::Core::JsonRepresentation
1269
+ property :highest_upgradable_cve_severity, as: 'highestUpgradableCveSeverity'
1196
1270
  property :name, as: 'name'
1197
1271
  property :update_time, as: 'updateTime'
1198
1272
  collection :vulnerabilities, as: 'vulnerabilities', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerability, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerability::Representation
@@ -396,6 +396,159 @@ module Google
396
396
  execute_or_queue_command(command, &block)
397
397
  end
398
398
 
399
+ # Starts asynchronous cancellation on a long-running operation. The server makes
400
+ # a best effort to cancel the operation, but success is not guaranteed. If the
401
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
402
+ # Clients can use Operations.GetOperation or other methods to check whether the
403
+ # cancellation succeeded or whether the operation completed despite cancellation.
404
+ # On successful cancellation, the operation is not deleted; instead, it becomes
405
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
406
+ # , corresponding to `Code.CANCELLED`.
407
+ # @param [String] name
408
+ # The name of the operation resource to be cancelled.
409
+ # @param [Google::Apis::OsconfigV1alpha::CancelOperationRequest] cancel_operation_request_object
410
+ # @param [String] fields
411
+ # Selector specifying which fields to include in a partial response.
412
+ # @param [String] quota_user
413
+ # Available to use for quota purposes for server-side applications. Can be any
414
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
415
+ # @param [Google::Apis::RequestOptions] options
416
+ # Request-specific options
417
+ #
418
+ # @yield [result, err] Result & error if block supplied
419
+ # @yieldparam result [Google::Apis::OsconfigV1alpha::Empty] parsed result object
420
+ # @yieldparam err [StandardError] error object if request failed
421
+ #
422
+ # @return [Google::Apis::OsconfigV1alpha::Empty]
423
+ #
424
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
425
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
426
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
427
+ def cancel_project_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
428
+ command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
429
+ command.request_representation = Google::Apis::OsconfigV1alpha::CancelOperationRequest::Representation
430
+ command.request_object = cancel_operation_request_object
431
+ command.response_representation = Google::Apis::OsconfigV1alpha::Empty::Representation
432
+ command.response_class = Google::Apis::OsconfigV1alpha::Empty
433
+ command.params['name'] = name unless name.nil?
434
+ command.query['fields'] = fields unless fields.nil?
435
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
436
+ execute_or_queue_command(command, &block)
437
+ end
438
+
439
+ # Deletes a long-running operation. This method indicates that the client is no
440
+ # longer interested in the operation result. It does not cancel the operation.
441
+ # If the server doesn't support this method, it returns `google.rpc.Code.
442
+ # UNIMPLEMENTED`.
443
+ # @param [String] name
444
+ # The name of the operation resource to be deleted.
445
+ # @param [String] fields
446
+ # Selector specifying which fields to include in a partial response.
447
+ # @param [String] quota_user
448
+ # Available to use for quota purposes for server-side applications. Can be any
449
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
450
+ # @param [Google::Apis::RequestOptions] options
451
+ # Request-specific options
452
+ #
453
+ # @yield [result, err] Result & error if block supplied
454
+ # @yieldparam result [Google::Apis::OsconfigV1alpha::Empty] parsed result object
455
+ # @yieldparam err [StandardError] error object if request failed
456
+ #
457
+ # @return [Google::Apis::OsconfigV1alpha::Empty]
458
+ #
459
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
460
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
462
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
463
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
464
+ command.response_representation = Google::Apis::OsconfigV1alpha::Empty::Representation
465
+ command.response_class = Google::Apis::OsconfigV1alpha::Empty
466
+ command.params['name'] = name unless name.nil?
467
+ command.query['fields'] = fields unless fields.nil?
468
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
469
+ execute_or_queue_command(command, &block)
470
+ end
471
+
472
+ # Gets the latest state of a long-running operation. Clients can use this method
473
+ # to poll the operation result at intervals as recommended by the API service.
474
+ # @param [String] name
475
+ # The name of the operation resource.
476
+ # @param [String] fields
477
+ # Selector specifying which fields to include in a partial response.
478
+ # @param [String] quota_user
479
+ # Available to use for quota purposes for server-side applications. Can be any
480
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
481
+ # @param [Google::Apis::RequestOptions] options
482
+ # Request-specific options
483
+ #
484
+ # @yield [result, err] Result & error if block supplied
485
+ # @yieldparam result [Google::Apis::OsconfigV1alpha::Operation] parsed result object
486
+ # @yieldparam err [StandardError] error object if request failed
487
+ #
488
+ # @return [Google::Apis::OsconfigV1alpha::Operation]
489
+ #
490
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
491
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
492
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
493
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
494
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
495
+ command.response_representation = Google::Apis::OsconfigV1alpha::Operation::Representation
496
+ command.response_class = Google::Apis::OsconfigV1alpha::Operation
497
+ command.params['name'] = name unless name.nil?
498
+ command.query['fields'] = fields unless fields.nil?
499
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
500
+ execute_or_queue_command(command, &block)
501
+ end
502
+
503
+ # Lists operations that match the specified filter in the request. If the server
504
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
505
+ # @param [String] name
506
+ # The name of the operation's parent resource.
507
+ # @param [String] filter
508
+ # The standard list filter.
509
+ # @param [Fixnum] page_size
510
+ # The standard list page size.
511
+ # @param [String] page_token
512
+ # The standard list page token.
513
+ # @param [Boolean] return_partial_success
514
+ # When set to `true`, operations that are reachable are returned as normal, and
515
+ # those that are unreachable are returned in the ListOperationsResponse.
516
+ # unreachable field. This can only be `true` when reading across collections.
517
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
518
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
519
+ # if set unless explicitly documented otherwise in service or product specific
520
+ # documentation.
521
+ # @param [String] fields
522
+ # Selector specifying which fields to include in a partial response.
523
+ # @param [String] quota_user
524
+ # Available to use for quota purposes for server-side applications. Can be any
525
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
526
+ # @param [Google::Apis::RequestOptions] options
527
+ # Request-specific options
528
+ #
529
+ # @yield [result, err] Result & error if block supplied
530
+ # @yieldparam result [Google::Apis::OsconfigV1alpha::ListOperationsResponse] parsed result object
531
+ # @yieldparam err [StandardError] error object if request failed
532
+ #
533
+ # @return [Google::Apis::OsconfigV1alpha::ListOperationsResponse]
534
+ #
535
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
536
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
537
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
538
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
539
+ command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
540
+ command.response_representation = Google::Apis::OsconfigV1alpha::ListOperationsResponse::Representation
541
+ command.response_class = Google::Apis::OsconfigV1alpha::ListOperationsResponse
542
+ command.params['name'] = name unless name.nil?
543
+ command.query['filter'] = filter unless filter.nil?
544
+ command.query['pageSize'] = page_size unless page_size.nil?
545
+ command.query['pageToken'] = page_token unless page_token.nil?
546
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
547
+ command.query['fields'] = fields unless fields.nil?
548
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
549
+ execute_or_queue_command(command, &block)
550
+ end
551
+
399
552
  # Create an OS policy assignment. This method also creates the first revision of
400
553
  # the OS policy assignment. This method returns a long running operation (LRO)
401
554
  # that contains the rollout details. The rollout can be cancelled by cancelling
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-osconfig_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.33.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1alpha/v0.35.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for OS Config API V1alpha
79
79
  test_files: []