google-apis-osconfig_v1 0.50.0 → 0.52.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6de3e4be990199ba27b407ccac87ab165486e38e44b50b6835c2d2ca92ddee32
|
|
4
|
+
data.tar.gz: ee3d78b0059c54e642b34681207993f9eafcf0fdeff8f65e5d47f281776e5675
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10a36513d423498247457b9717e6f229354f3feba938134f6e7d1751de128f687dd5e4641062b15e580afe09decbadc945db89aa7185c51b63341b654025c20b
|
|
7
|
+
data.tar.gz: 19725ec74753d0656d71d30f3262627e2bdaeb6edc822d1509f7be55ec03f8528c99c53794fb72bcd3aebcb84f29e480c86cbf2f76395fc3d32cac611902a36c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-osconfig_v1
|
|
2
2
|
|
|
3
|
+
### v0.52.0 (2026-01-18)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260108
|
|
6
|
+
|
|
7
|
+
### v0.51.0 (2025-11-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251117
|
|
10
|
+
|
|
3
11
|
### v0.50.0 (2025-11-09)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251030
|
|
@@ -431,6 +431,183 @@ module Google
|
|
|
431
431
|
end
|
|
432
432
|
end
|
|
433
433
|
|
|
434
|
+
# Represents the metadata of a generic long-running operation.
|
|
435
|
+
class GoogleCloudOsconfigCommonV1OperationMetadata
|
|
436
|
+
include Google::Apis::Core::Hashable
|
|
437
|
+
|
|
438
|
+
# Output only. API version used to start the operation.
|
|
439
|
+
# Corresponds to the JSON property `apiVersion`
|
|
440
|
+
# @return [String]
|
|
441
|
+
attr_accessor :api_version
|
|
442
|
+
|
|
443
|
+
# Output only. The time the operation was created.
|
|
444
|
+
# Corresponds to the JSON property `createTime`
|
|
445
|
+
# @return [String]
|
|
446
|
+
attr_accessor :create_time
|
|
447
|
+
|
|
448
|
+
# Output only. The time the operation finished running.
|
|
449
|
+
# Corresponds to the JSON property `endTime`
|
|
450
|
+
# @return [String]
|
|
451
|
+
attr_accessor :end_time
|
|
452
|
+
|
|
453
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
454
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
|
455
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
|
456
|
+
# CANCELLED`.
|
|
457
|
+
# Corresponds to the JSON property `requestedCancellation`
|
|
458
|
+
# @return [Boolean]
|
|
459
|
+
attr_accessor :requested_cancellation
|
|
460
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
|
461
|
+
|
|
462
|
+
# Output only. Human-readable status of the operation, if any.
|
|
463
|
+
# Corresponds to the JSON property `statusMessage`
|
|
464
|
+
# @return [String]
|
|
465
|
+
attr_accessor :status_message
|
|
466
|
+
|
|
467
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
468
|
+
# Corresponds to the JSON property `target`
|
|
469
|
+
# @return [String]
|
|
470
|
+
attr_accessor :target
|
|
471
|
+
|
|
472
|
+
# Output only. Name of the verb executed by the operation.
|
|
473
|
+
# Corresponds to the JSON property `verb`
|
|
474
|
+
# @return [String]
|
|
475
|
+
attr_accessor :verb
|
|
476
|
+
|
|
477
|
+
def initialize(**args)
|
|
478
|
+
update!(**args)
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
# Update properties of this object
|
|
482
|
+
def update!(**args)
|
|
483
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
484
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
485
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
486
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
487
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
488
|
+
@target = args[:target] if args.key?(:target)
|
|
489
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
490
|
+
end
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
# Represents the metadata of a generic long-running operation.
|
|
494
|
+
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
|
|
495
|
+
include Google::Apis::Core::Hashable
|
|
496
|
+
|
|
497
|
+
# Output only. API version used to start the operation.
|
|
498
|
+
# Corresponds to the JSON property `apiVersion`
|
|
499
|
+
# @return [String]
|
|
500
|
+
attr_accessor :api_version
|
|
501
|
+
|
|
502
|
+
# Output only. The time the operation was created.
|
|
503
|
+
# Corresponds to the JSON property `createTime`
|
|
504
|
+
# @return [String]
|
|
505
|
+
attr_accessor :create_time
|
|
506
|
+
|
|
507
|
+
# Output only. The time the operation finished running.
|
|
508
|
+
# Corresponds to the JSON property `endTime`
|
|
509
|
+
# @return [String]
|
|
510
|
+
attr_accessor :end_time
|
|
511
|
+
|
|
512
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
513
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
|
514
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
|
515
|
+
# CANCELLED`.
|
|
516
|
+
# Corresponds to the JSON property `requestedCancellation`
|
|
517
|
+
# @return [Boolean]
|
|
518
|
+
attr_accessor :requested_cancellation
|
|
519
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
|
520
|
+
|
|
521
|
+
# Output only. Human-readable status of the operation, if any.
|
|
522
|
+
# Corresponds to the JSON property `statusMessage`
|
|
523
|
+
# @return [String]
|
|
524
|
+
attr_accessor :status_message
|
|
525
|
+
|
|
526
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
527
|
+
# Corresponds to the JSON property `target`
|
|
528
|
+
# @return [String]
|
|
529
|
+
attr_accessor :target
|
|
530
|
+
|
|
531
|
+
# Output only. Name of the verb executed by the operation.
|
|
532
|
+
# Corresponds to the JSON property `verb`
|
|
533
|
+
# @return [String]
|
|
534
|
+
attr_accessor :verb
|
|
535
|
+
|
|
536
|
+
def initialize(**args)
|
|
537
|
+
update!(**args)
|
|
538
|
+
end
|
|
539
|
+
|
|
540
|
+
# Update properties of this object
|
|
541
|
+
def update!(**args)
|
|
542
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
543
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
544
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
545
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
546
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
547
|
+
@target = args[:target] if args.key?(:target)
|
|
548
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
549
|
+
end
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# Represents the metadata of a generic long-running operation.
|
|
553
|
+
class GoogleCloudOsconfigCommonV1mainOperationMetadata
|
|
554
|
+
include Google::Apis::Core::Hashable
|
|
555
|
+
|
|
556
|
+
# Output only. API version used to start the operation.
|
|
557
|
+
# Corresponds to the JSON property `apiVersion`
|
|
558
|
+
# @return [String]
|
|
559
|
+
attr_accessor :api_version
|
|
560
|
+
|
|
561
|
+
# Output only. The time the operation was created.
|
|
562
|
+
# Corresponds to the JSON property `createTime`
|
|
563
|
+
# @return [String]
|
|
564
|
+
attr_accessor :create_time
|
|
565
|
+
|
|
566
|
+
# Output only. The time the operation finished running.
|
|
567
|
+
# Corresponds to the JSON property `endTime`
|
|
568
|
+
# @return [String]
|
|
569
|
+
attr_accessor :end_time
|
|
570
|
+
|
|
571
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
|
572
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
|
573
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
|
574
|
+
# CANCELLED`.
|
|
575
|
+
# Corresponds to the JSON property `requestedCancellation`
|
|
576
|
+
# @return [Boolean]
|
|
577
|
+
attr_accessor :requested_cancellation
|
|
578
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
|
579
|
+
|
|
580
|
+
# Output only. Human-readable status of the operation, if any.
|
|
581
|
+
# Corresponds to the JSON property `statusMessage`
|
|
582
|
+
# @return [String]
|
|
583
|
+
attr_accessor :status_message
|
|
584
|
+
|
|
585
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
586
|
+
# Corresponds to the JSON property `target`
|
|
587
|
+
# @return [String]
|
|
588
|
+
attr_accessor :target
|
|
589
|
+
|
|
590
|
+
# Output only. Name of the verb executed by the operation.
|
|
591
|
+
# Corresponds to the JSON property `verb`
|
|
592
|
+
# @return [String]
|
|
593
|
+
attr_accessor :verb
|
|
594
|
+
|
|
595
|
+
def initialize(**args)
|
|
596
|
+
update!(**args)
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
# Update properties of this object
|
|
600
|
+
def update!(**args)
|
|
601
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
|
602
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
603
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
604
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
605
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
|
606
|
+
@target = args[:target] if args.key?(:target)
|
|
607
|
+
@verb = args[:verb] if args.key?(:verb)
|
|
608
|
+
end
|
|
609
|
+
end
|
|
610
|
+
|
|
434
611
|
# OS policy assignment operation metadata provided by OS policy assignment API
|
|
435
612
|
# methods that return long running operations.
|
|
436
613
|
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
|
@@ -1195,6 +1372,40 @@ module Google
|
|
|
1195
1372
|
end
|
|
1196
1373
|
end
|
|
1197
1374
|
|
|
1375
|
+
# The response message for Operations.ListOperations.
|
|
1376
|
+
class ListOperationsResponse
|
|
1377
|
+
include Google::Apis::Core::Hashable
|
|
1378
|
+
|
|
1379
|
+
# The standard List next-page token.
|
|
1380
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
1381
|
+
# @return [String]
|
|
1382
|
+
attr_accessor :next_page_token
|
|
1383
|
+
|
|
1384
|
+
# A list of operations that matches the specified filter in the request.
|
|
1385
|
+
# Corresponds to the JSON property `operations`
|
|
1386
|
+
# @return [Array<Google::Apis::OsconfigV1::Operation>]
|
|
1387
|
+
attr_accessor :operations
|
|
1388
|
+
|
|
1389
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
1390
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1391
|
+
# For example, when attempting to list all resources across all supported
|
|
1392
|
+
# locations.
|
|
1393
|
+
# Corresponds to the JSON property `unreachable`
|
|
1394
|
+
# @return [Array<String>]
|
|
1395
|
+
attr_accessor :unreachable
|
|
1396
|
+
|
|
1397
|
+
def initialize(**args)
|
|
1398
|
+
update!(**args)
|
|
1399
|
+
end
|
|
1400
|
+
|
|
1401
|
+
# Update properties of this object
|
|
1402
|
+
def update!(**args)
|
|
1403
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
1404
|
+
@operations = args[:operations] if args.key?(:operations)
|
|
1405
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
1406
|
+
end
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1198
1409
|
# A response message for listing patch deployments.
|
|
1199
1410
|
class ListPatchDeploymentsResponse
|
|
1200
1411
|
include Google::Apis::Core::Hashable
|
|
@@ -2810,15 +3021,15 @@ module Google
|
|
|
2810
3021
|
attr_accessor :reboot_config
|
|
2811
3022
|
|
|
2812
3023
|
# Optional. Enables enhanced reporting for the patch job: 1. Allows the patch
|
|
2813
|
-
# job to skip unpatchable instances, reporting them as SKIPPED
|
|
2814
|
-
# be unpatchable for two reasons:
|
|
2815
|
-
# COS), which cannot be patched.
|
|
2816
|
-
# patching
|
|
2817
|
-
#
|
|
2818
|
-
#
|
|
2819
|
-
#
|
|
2820
|
-
# COMPLETED_WITH_INACTIVE_VMS if it completes without errors, but some
|
|
2821
|
-
# were INACTIVE and
|
|
3024
|
+
# job to skip unpatchable instances, reporting them as `SKIPPED`. An instance
|
|
3025
|
+
# can be unpatchable for two reasons: 1. The instance runs Container-Optimized
|
|
3026
|
+
# OS (COS), which cannot be patched. 2. The instance is part of a managed
|
|
3027
|
+
# instance group (MIG), and patching MIG instances is disabled in the patch job'
|
|
3028
|
+
# s configuration (PatchConfig.migInstancesAllowed is `false`). 2. Reports the
|
|
3029
|
+
# patch job as `SUCCEEDED` if it completes without errors, even if some
|
|
3030
|
+
# instances were `SKIPPED`. 3. Reports the patch job as `
|
|
3031
|
+
# COMPLETED_WITH_INACTIVE_VMS` if it completes without errors, but some
|
|
3032
|
+
# instances were `INACTIVE` and were not patched.
|
|
2822
3033
|
# Corresponds to the JSON property `skipUnpatchableVms`
|
|
2823
3034
|
# @return [Boolean]
|
|
2824
3035
|
attr_accessor :skip_unpatchable_vms
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module OsconfigV1
|
|
18
18
|
# Version of the google-apis-osconfig_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.52.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260108"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -94,6 +94,24 @@ module Google
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
class GoogleCloudOsconfigCommonV1OperationMetadata
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
class GoogleCloudOsconfigCommonV1mainOperationMetadata
|
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
+
end
|
|
114
|
+
|
|
97
115
|
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
|
98
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
117
|
|
|
@@ -196,6 +214,12 @@ module Google
|
|
|
196
214
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
215
|
end
|
|
198
216
|
|
|
217
|
+
class ListOperationsResponse
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
199
223
|
class ListPatchDeploymentsResponse
|
|
200
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
225
|
|
|
@@ -717,6 +741,45 @@ module Google
|
|
|
717
741
|
end
|
|
718
742
|
end
|
|
719
743
|
|
|
744
|
+
class GoogleCloudOsconfigCommonV1OperationMetadata
|
|
745
|
+
# @private
|
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
747
|
+
property :api_version, as: 'apiVersion'
|
|
748
|
+
property :create_time, as: 'createTime'
|
|
749
|
+
property :end_time, as: 'endTime'
|
|
750
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
|
751
|
+
property :status_message, as: 'statusMessage'
|
|
752
|
+
property :target, as: 'target'
|
|
753
|
+
property :verb, as: 'verb'
|
|
754
|
+
end
|
|
755
|
+
end
|
|
756
|
+
|
|
757
|
+
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
|
|
758
|
+
# @private
|
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
760
|
+
property :api_version, as: 'apiVersion'
|
|
761
|
+
property :create_time, as: 'createTime'
|
|
762
|
+
property :end_time, as: 'endTime'
|
|
763
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
|
764
|
+
property :status_message, as: 'statusMessage'
|
|
765
|
+
property :target, as: 'target'
|
|
766
|
+
property :verb, as: 'verb'
|
|
767
|
+
end
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
class GoogleCloudOsconfigCommonV1mainOperationMetadata
|
|
771
|
+
# @private
|
|
772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
773
|
+
property :api_version, as: 'apiVersion'
|
|
774
|
+
property :create_time, as: 'createTime'
|
|
775
|
+
property :end_time, as: 'endTime'
|
|
776
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
|
777
|
+
property :status_message, as: 'statusMessage'
|
|
778
|
+
property :target, as: 'target'
|
|
779
|
+
property :verb, as: 'verb'
|
|
780
|
+
end
|
|
781
|
+
end
|
|
782
|
+
|
|
720
783
|
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
|
721
784
|
# @private
|
|
722
785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -920,6 +983,16 @@ module Google
|
|
|
920
983
|
end
|
|
921
984
|
end
|
|
922
985
|
|
|
986
|
+
class ListOperationsResponse
|
|
987
|
+
# @private
|
|
988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
989
|
+
property :next_page_token, as: 'nextPageToken'
|
|
990
|
+
collection :operations, as: 'operations', class: Google::Apis::OsconfigV1::Operation, decorator: Google::Apis::OsconfigV1::Operation::Representation
|
|
991
|
+
|
|
992
|
+
collection :unreachable, as: 'unreachable'
|
|
993
|
+
end
|
|
994
|
+
end
|
|
995
|
+
|
|
923
996
|
class ListPatchDeploymentsResponse
|
|
924
997
|
# @private
|
|
925
998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -387,6 +387,159 @@ module Google
|
|
|
387
387
|
execute_or_queue_command(command, &block)
|
|
388
388
|
end
|
|
389
389
|
|
|
390
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
391
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
392
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
393
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
|
394
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
|
395
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
|
396
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
|
397
|
+
# , corresponding to `Code.CANCELLED`.
|
|
398
|
+
# @param [String] name
|
|
399
|
+
# The name of the operation resource to be cancelled.
|
|
400
|
+
# @param [Google::Apis::OsconfigV1::CancelOperationRequest] cancel_operation_request_object
|
|
401
|
+
# @param [String] fields
|
|
402
|
+
# Selector specifying which fields to include in a partial response.
|
|
403
|
+
# @param [String] quota_user
|
|
404
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
405
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
406
|
+
# @param [Google::Apis::RequestOptions] options
|
|
407
|
+
# Request-specific options
|
|
408
|
+
#
|
|
409
|
+
# @yield [result, err] Result & error if block supplied
|
|
410
|
+
# @yieldparam result [Google::Apis::OsconfigV1::Empty] parsed result object
|
|
411
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
412
|
+
#
|
|
413
|
+
# @return [Google::Apis::OsconfigV1::Empty]
|
|
414
|
+
#
|
|
415
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
416
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
417
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
418
|
+
def cancel_project_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
419
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
420
|
+
command.request_representation = Google::Apis::OsconfigV1::CancelOperationRequest::Representation
|
|
421
|
+
command.request_object = cancel_operation_request_object
|
|
422
|
+
command.response_representation = Google::Apis::OsconfigV1::Empty::Representation
|
|
423
|
+
command.response_class = Google::Apis::OsconfigV1::Empty
|
|
424
|
+
command.params['name'] = name unless name.nil?
|
|
425
|
+
command.query['fields'] = fields unless fields.nil?
|
|
426
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
427
|
+
execute_or_queue_command(command, &block)
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
|
431
|
+
# longer interested in the operation result. It does not cancel the operation.
|
|
432
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
|
433
|
+
# UNIMPLEMENTED`.
|
|
434
|
+
# @param [String] name
|
|
435
|
+
# The name of the operation resource to be deleted.
|
|
436
|
+
# @param [String] fields
|
|
437
|
+
# Selector specifying which fields to include in a partial response.
|
|
438
|
+
# @param [String] quota_user
|
|
439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
441
|
+
# @param [Google::Apis::RequestOptions] options
|
|
442
|
+
# Request-specific options
|
|
443
|
+
#
|
|
444
|
+
# @yield [result, err] Result & error if block supplied
|
|
445
|
+
# @yieldparam result [Google::Apis::OsconfigV1::Empty] parsed result object
|
|
446
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
447
|
+
#
|
|
448
|
+
# @return [Google::Apis::OsconfigV1::Empty]
|
|
449
|
+
#
|
|
450
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
451
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
452
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
453
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
454
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
455
|
+
command.response_representation = Google::Apis::OsconfigV1::Empty::Representation
|
|
456
|
+
command.response_class = Google::Apis::OsconfigV1::Empty
|
|
457
|
+
command.params['name'] = name unless name.nil?
|
|
458
|
+
command.query['fields'] = fields unless fields.nil?
|
|
459
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
460
|
+
execute_or_queue_command(command, &block)
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
|
464
|
+
# to poll the operation result at intervals as recommended by the API service.
|
|
465
|
+
# @param [String] name
|
|
466
|
+
# The name of the operation resource.
|
|
467
|
+
# @param [String] fields
|
|
468
|
+
# Selector specifying which fields to include in a partial response.
|
|
469
|
+
# @param [String] quota_user
|
|
470
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
471
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
472
|
+
# @param [Google::Apis::RequestOptions] options
|
|
473
|
+
# Request-specific options
|
|
474
|
+
#
|
|
475
|
+
# @yield [result, err] Result & error if block supplied
|
|
476
|
+
# @yieldparam result [Google::Apis::OsconfigV1::Operation] parsed result object
|
|
477
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
478
|
+
#
|
|
479
|
+
# @return [Google::Apis::OsconfigV1::Operation]
|
|
480
|
+
#
|
|
481
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
482
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
483
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
484
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
485
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
486
|
+
command.response_representation = Google::Apis::OsconfigV1::Operation::Representation
|
|
487
|
+
command.response_class = Google::Apis::OsconfigV1::Operation
|
|
488
|
+
command.params['name'] = name unless name.nil?
|
|
489
|
+
command.query['fields'] = fields unless fields.nil?
|
|
490
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
491
|
+
execute_or_queue_command(command, &block)
|
|
492
|
+
end
|
|
493
|
+
|
|
494
|
+
# Lists operations that match the specified filter in the request. If the server
|
|
495
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
496
|
+
# @param [String] name
|
|
497
|
+
# The name of the operation's parent resource.
|
|
498
|
+
# @param [String] filter
|
|
499
|
+
# The standard list filter.
|
|
500
|
+
# @param [Fixnum] page_size
|
|
501
|
+
# The standard list page size.
|
|
502
|
+
# @param [String] page_token
|
|
503
|
+
# The standard list page token.
|
|
504
|
+
# @param [Boolean] return_partial_success
|
|
505
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
506
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
507
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
508
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
509
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
510
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
511
|
+
# documentation.
|
|
512
|
+
# @param [String] fields
|
|
513
|
+
# Selector specifying which fields to include in a partial response.
|
|
514
|
+
# @param [String] quota_user
|
|
515
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
516
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
517
|
+
# @param [Google::Apis::RequestOptions] options
|
|
518
|
+
# Request-specific options
|
|
519
|
+
#
|
|
520
|
+
# @yield [result, err] Result & error if block supplied
|
|
521
|
+
# @yieldparam result [Google::Apis::OsconfigV1::ListOperationsResponse] parsed result object
|
|
522
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
523
|
+
#
|
|
524
|
+
# @return [Google::Apis::OsconfigV1::ListOperationsResponse]
|
|
525
|
+
#
|
|
526
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
527
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
528
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
529
|
+
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)
|
|
530
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
|
531
|
+
command.response_representation = Google::Apis::OsconfigV1::ListOperationsResponse::Representation
|
|
532
|
+
command.response_class = Google::Apis::OsconfigV1::ListOperationsResponse
|
|
533
|
+
command.params['name'] = name unless name.nil?
|
|
534
|
+
command.query['filter'] = filter unless filter.nil?
|
|
535
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
536
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
537
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
538
|
+
command.query['fields'] = fields unless fields.nil?
|
|
539
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
540
|
+
execute_or_queue_command(command, &block)
|
|
541
|
+
end
|
|
542
|
+
|
|
390
543
|
# Create an OS policy assignment. This method also creates the first revision of
|
|
391
544
|
# the OS policy assignment. This method returns a long running operation (LRO)
|
|
392
545
|
# 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_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.52.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_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.52.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|