google-apis-osconfig_v2 0.7.0 → 0.8.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: 2f46e33c251f9395bdc8bb2a9e0995841ddc041eb7e2e414ced702b61abf3e34
|
|
4
|
+
data.tar.gz: f91b95bfd7b557e6a3952b4816f623c500b4ffc1e8fdfec48c54095dbe7f3387
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 390aa5d64c0b02b999f96ee62dbb0512201d96146adeac399e43cae4c15b1d19427f24ab3289d99dcfb2a728e5a940c4114cda952e54fbd40d864c807ddb9249
|
|
7
|
+
data.tar.gz: 0d60f9cb14ce010a271b1a6834539d553646ed743edf9b0265021b6dafa4b0e3aed4f2de339ca7a111dcb71c2f3674fa55baa18eefd347b2fe40daf3a142d0a4
|
data/CHANGELOG.md
CHANGED
|
@@ -78,183 +78,6 @@ module Google
|
|
|
78
78
|
end
|
|
79
79
|
end
|
|
80
80
|
|
|
81
|
-
# Represents the metadata of a generic long-running operation.
|
|
82
|
-
class GoogleCloudOsconfigCommonV1OperationMetadata
|
|
83
|
-
include Google::Apis::Core::Hashable
|
|
84
|
-
|
|
85
|
-
# Output only. API version used to start the operation.
|
|
86
|
-
# Corresponds to the JSON property `apiVersion`
|
|
87
|
-
# @return [String]
|
|
88
|
-
attr_accessor :api_version
|
|
89
|
-
|
|
90
|
-
# Output only. The time the operation was created.
|
|
91
|
-
# Corresponds to the JSON property `createTime`
|
|
92
|
-
# @return [String]
|
|
93
|
-
attr_accessor :create_time
|
|
94
|
-
|
|
95
|
-
# Output only. The time the operation finished running.
|
|
96
|
-
# Corresponds to the JSON property `endTime`
|
|
97
|
-
# @return [String]
|
|
98
|
-
attr_accessor :end_time
|
|
99
|
-
|
|
100
|
-
# Output only. Identifies whether the user has requested cancellation of the
|
|
101
|
-
# operation. Operations that have successfully been cancelled have Operation.
|
|
102
|
-
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
|
103
|
-
# CANCELLED`.
|
|
104
|
-
# Corresponds to the JSON property `requestedCancellation`
|
|
105
|
-
# @return [Boolean]
|
|
106
|
-
attr_accessor :requested_cancellation
|
|
107
|
-
alias_method :requested_cancellation?, :requested_cancellation
|
|
108
|
-
|
|
109
|
-
# Output only. Human-readable status of the operation, if any.
|
|
110
|
-
# Corresponds to the JSON property `statusMessage`
|
|
111
|
-
# @return [String]
|
|
112
|
-
attr_accessor :status_message
|
|
113
|
-
|
|
114
|
-
# Output only. Server-defined resource path for the target of the operation.
|
|
115
|
-
# Corresponds to the JSON property `target`
|
|
116
|
-
# @return [String]
|
|
117
|
-
attr_accessor :target
|
|
118
|
-
|
|
119
|
-
# Output only. Name of the verb executed by the operation.
|
|
120
|
-
# Corresponds to the JSON property `verb`
|
|
121
|
-
# @return [String]
|
|
122
|
-
attr_accessor :verb
|
|
123
|
-
|
|
124
|
-
def initialize(**args)
|
|
125
|
-
update!(**args)
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
# Update properties of this object
|
|
129
|
-
def update!(**args)
|
|
130
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
|
131
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
132
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
133
|
-
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
134
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
|
135
|
-
@target = args[:target] if args.key?(:target)
|
|
136
|
-
@verb = args[:verb] if args.key?(:verb)
|
|
137
|
-
end
|
|
138
|
-
end
|
|
139
|
-
|
|
140
|
-
# Represents the metadata of a generic long-running operation.
|
|
141
|
-
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
|
|
142
|
-
include Google::Apis::Core::Hashable
|
|
143
|
-
|
|
144
|
-
# Output only. API version used to start the operation.
|
|
145
|
-
# Corresponds to the JSON property `apiVersion`
|
|
146
|
-
# @return [String]
|
|
147
|
-
attr_accessor :api_version
|
|
148
|
-
|
|
149
|
-
# Output only. The time the operation was created.
|
|
150
|
-
# Corresponds to the JSON property `createTime`
|
|
151
|
-
# @return [String]
|
|
152
|
-
attr_accessor :create_time
|
|
153
|
-
|
|
154
|
-
# Output only. The time the operation finished running.
|
|
155
|
-
# Corresponds to the JSON property `endTime`
|
|
156
|
-
# @return [String]
|
|
157
|
-
attr_accessor :end_time
|
|
158
|
-
|
|
159
|
-
# Output only. Identifies whether the user has requested cancellation of the
|
|
160
|
-
# operation. Operations that have successfully been cancelled have Operation.
|
|
161
|
-
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
|
162
|
-
# CANCELLED`.
|
|
163
|
-
# Corresponds to the JSON property `requestedCancellation`
|
|
164
|
-
# @return [Boolean]
|
|
165
|
-
attr_accessor :requested_cancellation
|
|
166
|
-
alias_method :requested_cancellation?, :requested_cancellation
|
|
167
|
-
|
|
168
|
-
# Output only. Human-readable status of the operation, if any.
|
|
169
|
-
# Corresponds to the JSON property `statusMessage`
|
|
170
|
-
# @return [String]
|
|
171
|
-
attr_accessor :status_message
|
|
172
|
-
|
|
173
|
-
# Output only. Server-defined resource path for the target of the operation.
|
|
174
|
-
# Corresponds to the JSON property `target`
|
|
175
|
-
# @return [String]
|
|
176
|
-
attr_accessor :target
|
|
177
|
-
|
|
178
|
-
# Output only. Name of the verb executed by the operation.
|
|
179
|
-
# Corresponds to the JSON property `verb`
|
|
180
|
-
# @return [String]
|
|
181
|
-
attr_accessor :verb
|
|
182
|
-
|
|
183
|
-
def initialize(**args)
|
|
184
|
-
update!(**args)
|
|
185
|
-
end
|
|
186
|
-
|
|
187
|
-
# Update properties of this object
|
|
188
|
-
def update!(**args)
|
|
189
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
|
190
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
191
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
192
|
-
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
193
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
|
194
|
-
@target = args[:target] if args.key?(:target)
|
|
195
|
-
@verb = args[:verb] if args.key?(:verb)
|
|
196
|
-
end
|
|
197
|
-
end
|
|
198
|
-
|
|
199
|
-
# Represents the metadata of a generic long-running operation.
|
|
200
|
-
class GoogleCloudOsconfigCommonV1mainOperationMetadata
|
|
201
|
-
include Google::Apis::Core::Hashable
|
|
202
|
-
|
|
203
|
-
# Output only. API version used to start the operation.
|
|
204
|
-
# Corresponds to the JSON property `apiVersion`
|
|
205
|
-
# @return [String]
|
|
206
|
-
attr_accessor :api_version
|
|
207
|
-
|
|
208
|
-
# Output only. The time the operation was created.
|
|
209
|
-
# Corresponds to the JSON property `createTime`
|
|
210
|
-
# @return [String]
|
|
211
|
-
attr_accessor :create_time
|
|
212
|
-
|
|
213
|
-
# Output only. The time the operation finished running.
|
|
214
|
-
# Corresponds to the JSON property `endTime`
|
|
215
|
-
# @return [String]
|
|
216
|
-
attr_accessor :end_time
|
|
217
|
-
|
|
218
|
-
# Output only. Identifies whether the user has requested cancellation of the
|
|
219
|
-
# operation. Operations that have successfully been cancelled have Operation.
|
|
220
|
-
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
|
221
|
-
# CANCELLED`.
|
|
222
|
-
# Corresponds to the JSON property `requestedCancellation`
|
|
223
|
-
# @return [Boolean]
|
|
224
|
-
attr_accessor :requested_cancellation
|
|
225
|
-
alias_method :requested_cancellation?, :requested_cancellation
|
|
226
|
-
|
|
227
|
-
# Output only. Human-readable status of the operation, if any.
|
|
228
|
-
# Corresponds to the JSON property `statusMessage`
|
|
229
|
-
# @return [String]
|
|
230
|
-
attr_accessor :status_message
|
|
231
|
-
|
|
232
|
-
# Output only. Server-defined resource path for the target of the operation.
|
|
233
|
-
# Corresponds to the JSON property `target`
|
|
234
|
-
# @return [String]
|
|
235
|
-
attr_accessor :target
|
|
236
|
-
|
|
237
|
-
# Output only. Name of the verb executed by the operation.
|
|
238
|
-
# Corresponds to the JSON property `verb`
|
|
239
|
-
# @return [String]
|
|
240
|
-
attr_accessor :verb
|
|
241
|
-
|
|
242
|
-
def initialize(**args)
|
|
243
|
-
update!(**args)
|
|
244
|
-
end
|
|
245
|
-
|
|
246
|
-
# Update properties of this object
|
|
247
|
-
def update!(**args)
|
|
248
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
|
249
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
250
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
251
|
-
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
|
252
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
|
253
|
-
@target = args[:target] if args.key?(:target)
|
|
254
|
-
@verb = args[:verb] if args.key?(:verb)
|
|
255
|
-
end
|
|
256
|
-
end
|
|
257
|
-
|
|
258
81
|
# OS policy assignment operation metadata provided by OS policy assignment API
|
|
259
82
|
# methods that return long running operations.
|
|
260
83
|
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
|
@@ -615,20 +438,21 @@ module Google
|
|
|
615
438
|
end
|
|
616
439
|
end
|
|
617
440
|
|
|
618
|
-
#
|
|
619
|
-
#
|
|
620
|
-
# across projects and locations
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
#
|
|
624
|
-
#
|
|
625
|
-
# or delete policy resources. For more details,
|
|
626
|
-
# action
|
|
627
|
-
# not
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
#
|
|
631
|
-
# from the orchestrator's scope
|
|
441
|
+
# A policy orchestrator manages project-level and zone-level policy resources,
|
|
442
|
+
# such as OS policy assignments. It provides methods to create, update, and
|
|
443
|
+
# delete these resources across projects and locations at scale. The policy
|
|
444
|
+
# orchestrator operates as a continuous loop. In each iteration, the
|
|
445
|
+
# orchestrator identifies the set of resources to be modified and progressively
|
|
446
|
+
# applies changes. If the set of resources changes over time (for example, if
|
|
447
|
+
# you add new projects), subsequent iterations address those changes. The
|
|
448
|
+
# orchestrator can either upsert or delete policy resources. For more details,
|
|
449
|
+
# see the `action` and `orchestrated_resource` fields. The policy orchestrator
|
|
450
|
+
# does not manage the lifecycle of the resources it creates. Each iteration is
|
|
451
|
+
# independent and, besides Cloud Logging, the orchestrator retains only a
|
|
452
|
+
# minimal history of past actions. Deleting the orchestrator does not affect
|
|
453
|
+
# previously created resources; these resources remain in their current state.
|
|
454
|
+
# Similarly, removing projects from the orchestrator's scope does not affect
|
|
455
|
+
# existing resources.
|
|
632
456
|
class GoogleCloudOsconfigV2PolicyOrchestrator
|
|
633
457
|
include Google::Apis::Core::Hashable
|
|
634
458
|
|
|
@@ -662,10 +486,11 @@ module Google
|
|
|
662
486
|
# @return [Hash<String,String>]
|
|
663
487
|
attr_accessor :labels
|
|
664
488
|
|
|
665
|
-
# Immutable. Identifier. In
|
|
666
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
667
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
668
|
-
# project_id_or_number`/locations/global/policyOrchestrators/`
|
|
489
|
+
# Immutable. Identifier. In the following format: * `organizations/`
|
|
490
|
+
# organization_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
491
|
+
# folders/`folder_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
492
|
+
# projects/`project_id_or_number`/locations/global/policyOrchestrators/`
|
|
493
|
+
# orchestrator_id``
|
|
669
494
|
# Corresponds to the JSON property `name`
|
|
670
495
|
# @return [String]
|
|
671
496
|
attr_accessor :name
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module OsconfigV2
|
|
18
18
|
# Version of the google-apis-osconfig_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.8.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 = "20260423"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -40,24 +40,6 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class GoogleCloudOsconfigCommonV1OperationMetadata
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
|
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
-
|
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
class GoogleCloudOsconfigCommonV1mainOperationMetadata
|
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
-
|
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
-
end
|
|
60
|
-
|
|
61
43
|
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
|
62
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
45
|
|
|
@@ -354,45 +336,6 @@ module Google
|
|
|
354
336
|
end
|
|
355
337
|
end
|
|
356
338
|
|
|
357
|
-
class GoogleCloudOsconfigCommonV1OperationMetadata
|
|
358
|
-
# @private
|
|
359
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
360
|
-
property :api_version, as: 'apiVersion'
|
|
361
|
-
property :create_time, as: 'createTime'
|
|
362
|
-
property :end_time, as: 'endTime'
|
|
363
|
-
property :requested_cancellation, as: 'requestedCancellation'
|
|
364
|
-
property :status_message, as: 'statusMessage'
|
|
365
|
-
property :target, as: 'target'
|
|
366
|
-
property :verb, as: 'verb'
|
|
367
|
-
end
|
|
368
|
-
end
|
|
369
|
-
|
|
370
|
-
class GoogleCloudOsconfigCommonV1alphaOperationMetadata
|
|
371
|
-
# @private
|
|
372
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
-
property :api_version, as: 'apiVersion'
|
|
374
|
-
property :create_time, as: 'createTime'
|
|
375
|
-
property :end_time, as: 'endTime'
|
|
376
|
-
property :requested_cancellation, as: 'requestedCancellation'
|
|
377
|
-
property :status_message, as: 'statusMessage'
|
|
378
|
-
property :target, as: 'target'
|
|
379
|
-
property :verb, as: 'verb'
|
|
380
|
-
end
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
class GoogleCloudOsconfigCommonV1mainOperationMetadata
|
|
384
|
-
# @private
|
|
385
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
386
|
-
property :api_version, as: 'apiVersion'
|
|
387
|
-
property :create_time, as: 'createTime'
|
|
388
|
-
property :end_time, as: 'endTime'
|
|
389
|
-
property :requested_cancellation, as: 'requestedCancellation'
|
|
390
|
-
property :status_message, as: 'statusMessage'
|
|
391
|
-
property :target, as: 'target'
|
|
392
|
-
property :verb, as: 'verb'
|
|
393
|
-
end
|
|
394
|
-
end
|
|
395
|
-
|
|
396
339
|
class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
|
|
397
340
|
# @private
|
|
398
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -231,10 +231,11 @@ module Google
|
|
|
231
231
|
|
|
232
232
|
# Updates an existing policy orchestrator, parented by a folder.
|
|
233
233
|
# @param [String] name
|
|
234
|
-
# Immutable. Identifier. In
|
|
235
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
236
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
237
|
-
# project_id_or_number`/locations/global/policyOrchestrators/`
|
|
234
|
+
# Immutable. Identifier. In the following format: * `organizations/`
|
|
235
|
+
# organization_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
236
|
+
# folders/`folder_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
237
|
+
# projects/`project_id_or_number`/locations/global/policyOrchestrators/`
|
|
238
|
+
# orchestrator_id``
|
|
238
239
|
# @param [Google::Apis::OsconfigV2::GoogleCloudOsconfigV2PolicyOrchestrator] google_cloud_osconfig_v2__policy_orchestrator_object
|
|
239
240
|
# @param [String] update_mask
|
|
240
241
|
# Optional. The list of fields to merge into the existing policy orchestrator. A
|
|
@@ -612,10 +613,11 @@ module Google
|
|
|
612
613
|
|
|
613
614
|
# Updates an existing policy orchestrator, parented by an organization.
|
|
614
615
|
# @param [String] name
|
|
615
|
-
# Immutable. Identifier. In
|
|
616
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
617
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
618
|
-
# project_id_or_number`/locations/global/policyOrchestrators/`
|
|
616
|
+
# Immutable. Identifier. In the following format: * `organizations/`
|
|
617
|
+
# organization_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
618
|
+
# folders/`folder_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
619
|
+
# projects/`project_id_or_number`/locations/global/policyOrchestrators/`
|
|
620
|
+
# orchestrator_id``
|
|
619
621
|
# @param [Google::Apis::OsconfigV2::GoogleCloudOsconfigV2PolicyOrchestrator] google_cloud_osconfig_v2__policy_orchestrator_object
|
|
620
622
|
# @param [String] update_mask
|
|
621
623
|
# Optional. The list of fields to merge into the existing policy orchestrator. A
|
|
@@ -993,10 +995,11 @@ module Google
|
|
|
993
995
|
|
|
994
996
|
# Updates an existing policy orchestrator, parented by a project.
|
|
995
997
|
# @param [String] name
|
|
996
|
-
# Immutable. Identifier. In
|
|
997
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
998
|
-
# global/policyOrchestrators/`orchestrator_id`` * `
|
|
999
|
-
# project_id_or_number`/locations/global/policyOrchestrators/`
|
|
998
|
+
# Immutable. Identifier. In the following format: * `organizations/`
|
|
999
|
+
# organization_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
1000
|
+
# folders/`folder_id`/locations/global/policyOrchestrators/`orchestrator_id`` * `
|
|
1001
|
+
# projects/`project_id_or_number`/locations/global/policyOrchestrators/`
|
|
1002
|
+
# orchestrator_id``
|
|
1000
1003
|
# @param [Google::Apis::OsconfigV2::GoogleCloudOsconfigV2PolicyOrchestrator] google_cloud_osconfig_v2__policy_orchestrator_object
|
|
1001
1004
|
# @param [String] update_mask
|
|
1002
1005
|
# Optional. The list of fields to merge into the existing policy orchestrator. A
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-osconfig_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.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_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v2/v0.8.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|