google-apis-osconfig_v1 0.1.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +21 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/osconfig_v1.rb +2 -2
- data/lib/google/apis/osconfig_v1/classes.rb +172 -0
- data/lib/google/apis/osconfig_v1/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1/representations.rb +65 -0
- data/lib/google/apis/osconfig_v1/service.rb +80 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53d70c44971b0d174a68a5dd9e2d45654b686e9fb297b338851956397605b67d
|
4
|
+
data.tar.gz: b7facae6522144a6cd159a77d0f7f4ddaa4f08bad98481297174aeaaf9f193d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 564fae1c6cdf39a34ce49ff2fa3ee780641cc01b4551c660f24b0d29ea3e29d7f80446062e7c3a652436613e0af3cd8d321a8b4cef571d4c0461ea880ca9257c
|
7
|
+
data.tar.gz: 2f134c5580846e3043e6d0884d92652fda620f840a2e4bfcf8838b7f69890e5ef1157bfc37d167cb244c5a93df4f4135eaf34f0c792efd7886810c4c21330db6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210427
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210322
|
14
|
+
|
15
|
+
### v0.3.0 (2021-03-20)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210312
|
18
|
+
* Regenerated using generator version 0.2.0
|
19
|
+
|
20
|
+
### v0.2.0 (2021-03-04)
|
21
|
+
|
22
|
+
* Regenerated using generator version 0.1.2
|
23
|
+
|
3
24
|
### v0.1.0 (2021-01-07)
|
4
25
|
|
5
26
|
* Regenerated using generator version 0.1.1
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/compute/docs/
|
82
|
+
The [product documentation](https://cloud.google.com/compute/docs/osconfig/rest) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -24,13 +24,13 @@ module Google
|
|
24
24
|
# OS management tools that can be used for patch management, patch compliance,
|
25
25
|
# and configuration management on VM instances.
|
26
26
|
#
|
27
|
-
# @see https://cloud.google.com/compute/docs/
|
27
|
+
# @see https://cloud.google.com/compute/docs/osconfig/rest
|
28
28
|
module OsconfigV1
|
29
29
|
# Version of the OS Config API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -705,6 +705,31 @@ module Google
|
|
705
705
|
end
|
706
706
|
end
|
707
707
|
|
708
|
+
# The response message for Operations.ListOperations.
|
709
|
+
class ListOperationsResponse
|
710
|
+
include Google::Apis::Core::Hashable
|
711
|
+
|
712
|
+
# The standard List next-page token.
|
713
|
+
# Corresponds to the JSON property `nextPageToken`
|
714
|
+
# @return [String]
|
715
|
+
attr_accessor :next_page_token
|
716
|
+
|
717
|
+
# A list of operations that matches the specified filter in the request.
|
718
|
+
# Corresponds to the JSON property `operations`
|
719
|
+
# @return [Array<Google::Apis::OsconfigV1::Operation>]
|
720
|
+
attr_accessor :operations
|
721
|
+
|
722
|
+
def initialize(**args)
|
723
|
+
update!(**args)
|
724
|
+
end
|
725
|
+
|
726
|
+
# Update properties of this object
|
727
|
+
def update!(**args)
|
728
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
729
|
+
@operations = args[:operations] if args.key?(:operations)
|
730
|
+
end
|
731
|
+
end
|
732
|
+
|
708
733
|
# A response message for listing patch deployments.
|
709
734
|
class ListPatchDeploymentsResponse
|
710
735
|
include Google::Apis::Core::Hashable
|
@@ -809,6 +834,52 @@ module Google
|
|
809
834
|
end
|
810
835
|
end
|
811
836
|
|
837
|
+
# OS policy assignment operation metadata provided by OS policy assignment API
|
838
|
+
# methods that return long running operations.
|
839
|
+
class OsPolicyAssignmentOperationMetadata
|
840
|
+
include Google::Apis::Core::Hashable
|
841
|
+
|
842
|
+
# The OS policy assignment API method.
|
843
|
+
# Corresponds to the JSON property `apiMethod`
|
844
|
+
# @return [String]
|
845
|
+
attr_accessor :api_method
|
846
|
+
|
847
|
+
# Reference to the `OSPolicyAssignment` API resource. Format: `projects/`
|
848
|
+
# project_number`/locations/`location`/osPolicyAssignments/`
|
849
|
+
# os_policy_assignment_id@revision_id``
|
850
|
+
# Corresponds to the JSON property `osPolicyAssignment`
|
851
|
+
# @return [String]
|
852
|
+
attr_accessor :os_policy_assignment
|
853
|
+
|
854
|
+
# Rollout start time
|
855
|
+
# Corresponds to the JSON property `rolloutStartTime`
|
856
|
+
# @return [String]
|
857
|
+
attr_accessor :rollout_start_time
|
858
|
+
|
859
|
+
# State of the rollout
|
860
|
+
# Corresponds to the JSON property `rolloutState`
|
861
|
+
# @return [String]
|
862
|
+
attr_accessor :rollout_state
|
863
|
+
|
864
|
+
# Rollout update time
|
865
|
+
# Corresponds to the JSON property `rolloutUpdateTime`
|
866
|
+
# @return [String]
|
867
|
+
attr_accessor :rollout_update_time
|
868
|
+
|
869
|
+
def initialize(**args)
|
870
|
+
update!(**args)
|
871
|
+
end
|
872
|
+
|
873
|
+
# Update properties of this object
|
874
|
+
def update!(**args)
|
875
|
+
@api_method = args[:api_method] if args.key?(:api_method)
|
876
|
+
@os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment)
|
877
|
+
@rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time)
|
878
|
+
@rollout_state = args[:rollout_state] if args.key?(:rollout_state)
|
879
|
+
@rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time)
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
812
883
|
# Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https:
|
813
884
|
# //www.ietf.org/rfc/rfc3339.txt) text format.
|
814
885
|
class OneTimeSchedule
|
@@ -829,6 +900,68 @@ module Google
|
|
829
900
|
end
|
830
901
|
end
|
831
902
|
|
903
|
+
# This resource represents a long-running operation that is the result of a
|
904
|
+
# network API call.
|
905
|
+
class Operation
|
906
|
+
include Google::Apis::Core::Hashable
|
907
|
+
|
908
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
909
|
+
# , the operation is completed, and either `error` or `response` is available.
|
910
|
+
# Corresponds to the JSON property `done`
|
911
|
+
# @return [Boolean]
|
912
|
+
attr_accessor :done
|
913
|
+
alias_method :done?, :done
|
914
|
+
|
915
|
+
# The `Status` type defines a logical error model that is suitable for different
|
916
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
917
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
918
|
+
# data: error code, error message, and error details. You can find out more
|
919
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
920
|
+
# //cloud.google.com/apis/design/errors).
|
921
|
+
# Corresponds to the JSON property `error`
|
922
|
+
# @return [Google::Apis::OsconfigV1::Status]
|
923
|
+
attr_accessor :error
|
924
|
+
|
925
|
+
# Service-specific metadata associated with the operation. It typically contains
|
926
|
+
# progress information and common metadata such as create time. Some services
|
927
|
+
# might not provide such metadata. Any method that returns a long-running
|
928
|
+
# operation should document the metadata type, if any.
|
929
|
+
# Corresponds to the JSON property `metadata`
|
930
|
+
# @return [Hash<String,Object>]
|
931
|
+
attr_accessor :metadata
|
932
|
+
|
933
|
+
# The server-assigned name, which is only unique within the same service that
|
934
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
935
|
+
# be a resource name ending with `operations/`unique_id``.
|
936
|
+
# Corresponds to the JSON property `name`
|
937
|
+
# @return [String]
|
938
|
+
attr_accessor :name
|
939
|
+
|
940
|
+
# The normal response of the operation in case of success. If the original
|
941
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
942
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
943
|
+
# the response should be the resource. For other methods, the response should
|
944
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
945
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
946
|
+
# response type is `TakeSnapshotResponse`.
|
947
|
+
# Corresponds to the JSON property `response`
|
948
|
+
# @return [Hash<String,Object>]
|
949
|
+
attr_accessor :response
|
950
|
+
|
951
|
+
def initialize(**args)
|
952
|
+
update!(**args)
|
953
|
+
end
|
954
|
+
|
955
|
+
# Update properties of this object
|
956
|
+
def update!(**args)
|
957
|
+
@done = args[:done] if args.key?(:done)
|
958
|
+
@error = args[:error] if args.key?(:error)
|
959
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
960
|
+
@name = args[:name] if args.key?(:name)
|
961
|
+
@response = args[:response] if args.key?(:response)
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
832
965
|
# Patch configuration specifications. Contains details on how to apply the patch(
|
833
966
|
# es) to a VM instance.
|
834
967
|
class PatchConfig
|
@@ -1443,6 +1576,45 @@ module Google
|
|
1443
1576
|
end
|
1444
1577
|
end
|
1445
1578
|
|
1579
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1580
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1581
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1582
|
+
# data: error code, error message, and error details. You can find out more
|
1583
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1584
|
+
# //cloud.google.com/apis/design/errors).
|
1585
|
+
class Status
|
1586
|
+
include Google::Apis::Core::Hashable
|
1587
|
+
|
1588
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
1589
|
+
# Corresponds to the JSON property `code`
|
1590
|
+
# @return [Fixnum]
|
1591
|
+
attr_accessor :code
|
1592
|
+
|
1593
|
+
# A list of messages that carry the error details. There is a common set of
|
1594
|
+
# message types for APIs to use.
|
1595
|
+
# Corresponds to the JSON property `details`
|
1596
|
+
# @return [Array<Hash<String,Object>>]
|
1597
|
+
attr_accessor :details
|
1598
|
+
|
1599
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1600
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1601
|
+
# field, or localized by the client.
|
1602
|
+
# Corresponds to the JSON property `message`
|
1603
|
+
# @return [String]
|
1604
|
+
attr_accessor :message
|
1605
|
+
|
1606
|
+
def initialize(**args)
|
1607
|
+
update!(**args)
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
# Update properties of this object
|
1611
|
+
def update!(**args)
|
1612
|
+
@code = args[:code] if args.key?(:code)
|
1613
|
+
@details = args[:details] if args.key?(:details)
|
1614
|
+
@message = args[:message] if args.key?(:message)
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
|
1446
1618
|
# Represents a time of day. The date and time zone are either not significant or
|
1447
1619
|
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1448
1620
|
# types are google.type.Date and `google.protobuf.Timestamp`.
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210427"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class ListOperationsResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class ListPatchDeploymentsResponse
|
134
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
141
|
|
@@ -154,12 +160,24 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class OsPolicyAssignmentOperationMetadata
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class OneTimeSchedule
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class Operation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class PatchConfig
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -214,6 +232,12 @@ module Google
|
|
214
232
|
include Google::Apis::Core::JsonObjectSupport
|
215
233
|
end
|
216
234
|
|
235
|
+
class Status
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
217
241
|
class TimeOfDay
|
218
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
243
|
|
@@ -451,6 +475,15 @@ module Google
|
|
451
475
|
end
|
452
476
|
end
|
453
477
|
|
478
|
+
class ListOperationsResponse
|
479
|
+
# @private
|
480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
481
|
+
property :next_page_token, as: 'nextPageToken'
|
482
|
+
collection :operations, as: 'operations', class: Google::Apis::OsconfigV1::Operation, decorator: Google::Apis::OsconfigV1::Operation::Representation
|
483
|
+
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
454
487
|
class ListPatchDeploymentsResponse
|
455
488
|
# @private
|
456
489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -487,6 +520,17 @@ module Google
|
|
487
520
|
end
|
488
521
|
end
|
489
522
|
|
523
|
+
class OsPolicyAssignmentOperationMetadata
|
524
|
+
# @private
|
525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
526
|
+
property :api_method, as: 'apiMethod'
|
527
|
+
property :os_policy_assignment, as: 'osPolicyAssignment'
|
528
|
+
property :rollout_start_time, as: 'rolloutStartTime'
|
529
|
+
property :rollout_state, as: 'rolloutState'
|
530
|
+
property :rollout_update_time, as: 'rolloutUpdateTime'
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
490
534
|
class OneTimeSchedule
|
491
535
|
# @private
|
492
536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -494,6 +538,18 @@ module Google
|
|
494
538
|
end
|
495
539
|
end
|
496
540
|
|
541
|
+
class Operation
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :done, as: 'done'
|
545
|
+
property :error, as: 'error', class: Google::Apis::OsconfigV1::Status, decorator: Google::Apis::OsconfigV1::Status::Representation
|
546
|
+
|
547
|
+
hash :metadata, as: 'metadata'
|
548
|
+
property :name, as: 'name'
|
549
|
+
hash :response, as: 'response'
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
497
553
|
class PatchConfig
|
498
554
|
# @private
|
499
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -641,6 +697,15 @@ module Google
|
|
641
697
|
end
|
642
698
|
end
|
643
699
|
|
700
|
+
class Status
|
701
|
+
# @private
|
702
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
703
|
+
property :code, as: 'code'
|
704
|
+
collection :details, as: 'details'
|
705
|
+
property :message, as: 'message'
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
644
709
|
class TimeOfDay
|
645
710
|
# @private
|
646
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Osconfig = Google::Apis::OsconfigV1 # Alias the module
|
32
32
|
# service = Osconfig::OSConfigService.new
|
33
33
|
#
|
34
|
-
# @see https://cloud.google.com/compute/docs/
|
34
|
+
# @see https://cloud.google.com/compute/docs/osconfig/rest
|
35
35
|
class OSConfigService < Google::Apis::Core::BaseService
|
36
36
|
# @return [String]
|
37
37
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -50,6 +50,85 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
54
|
+
# longer interested in the operation result. It does not cancel the operation.
|
55
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
56
|
+
# UNIMPLEMENTED`.
|
57
|
+
# @param [String] name
|
58
|
+
# The name of the operation resource to be deleted.
|
59
|
+
# @param [String] fields
|
60
|
+
# Selector specifying which fields to include in a partial response.
|
61
|
+
# @param [String] quota_user
|
62
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
63
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
64
|
+
# @param [Google::Apis::RequestOptions] options
|
65
|
+
# Request-specific options
|
66
|
+
#
|
67
|
+
# @yield [result, err] Result & error if block supplied
|
68
|
+
# @yieldparam result [Google::Apis::OsconfigV1::Empty] parsed result object
|
69
|
+
# @yieldparam err [StandardError] error object if request failed
|
70
|
+
#
|
71
|
+
# @return [Google::Apis::OsconfigV1::Empty]
|
72
|
+
#
|
73
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
78
|
+
command.response_representation = Google::Apis::OsconfigV1::Empty::Representation
|
79
|
+
command.response_class = Google::Apis::OsconfigV1::Empty
|
80
|
+
command.params['name'] = name unless name.nil?
|
81
|
+
command.query['fields'] = fields unless fields.nil?
|
82
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
83
|
+
execute_or_queue_command(command, &block)
|
84
|
+
end
|
85
|
+
|
86
|
+
# Lists operations that match the specified filter in the request. If the server
|
87
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
88
|
+
# binding allows API services to override the binding to use different resource
|
89
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
90
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
91
|
+
# service configuration. For backwards compatibility, the default name includes
|
92
|
+
# the operations collection id, however overriding users must ensure the name
|
93
|
+
# binding is the parent resource, without the operations collection id.
|
94
|
+
# @param [String] name
|
95
|
+
# The name of the operation's parent resource.
|
96
|
+
# @param [String] filter
|
97
|
+
# The standard list filter.
|
98
|
+
# @param [Fixnum] page_size
|
99
|
+
# The standard list page size.
|
100
|
+
# @param [String] page_token
|
101
|
+
# The standard list page token.
|
102
|
+
# @param [String] fields
|
103
|
+
# Selector specifying which fields to include in a partial response.
|
104
|
+
# @param [String] quota_user
|
105
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
106
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
107
|
+
# @param [Google::Apis::RequestOptions] options
|
108
|
+
# Request-specific options
|
109
|
+
#
|
110
|
+
# @yield [result, err] Result & error if block supplied
|
111
|
+
# @yieldparam result [Google::Apis::OsconfigV1::ListOperationsResponse] parsed result object
|
112
|
+
# @yieldparam err [StandardError] error object if request failed
|
113
|
+
#
|
114
|
+
# @return [Google::Apis::OsconfigV1::ListOperationsResponse]
|
115
|
+
#
|
116
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
117
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
118
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
119
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
120
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
121
|
+
command.response_representation = Google::Apis::OsconfigV1::ListOperationsResponse::Representation
|
122
|
+
command.response_class = Google::Apis::OsconfigV1::ListOperationsResponse
|
123
|
+
command.params['name'] = name unless name.nil?
|
124
|
+
command.query['filter'] = filter unless filter.nil?
|
125
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
126
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
127
|
+
command.query['fields'] = fields unless fields.nil?
|
128
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
129
|
+
execute_or_queue_command(command, &block)
|
130
|
+
end
|
131
|
+
|
53
132
|
# Create an OS Config patch deployment.
|
54
133
|
# @param [String] parent
|
55
134
|
# Required. The project to apply this patch deployment to in the form `projects/*
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for OS Config API V1
|