google-apis-osconfig_v1 0.9.0 → 0.10.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 +4 -0
- data/lib/google/apis/osconfig_v1/classes.rb +1371 -30
- data/lib/google/apis/osconfig_v1/gem_version.rb +2 -2
- data/lib/google/apis/osconfig_v1/representations.rb +562 -0
- data/lib/google/apis/osconfig_v1/service.rb +236 -0
- metadata +3 -3
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Date
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Empty
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class InventoryWindowsApplication
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class InventoryWindowsQuickFixEngineeringPackage
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -142,6 +154,18 @@ module Google
|
|
142
154
|
include Google::Apis::Core::JsonObjectSupport
|
143
155
|
end
|
144
156
|
|
157
|
+
class ListOsPolicyAssignmentRevisionsResponse
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class ListOsPolicyAssignmentsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
145
169
|
class ListPatchDeploymentsResponse
|
146
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
171
|
|
@@ -172,18 +196,192 @@ module Google
|
|
172
196
|
include Google::Apis::Core::JsonObjectSupport
|
173
197
|
end
|
174
198
|
|
199
|
+
class OsPolicy
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class OsPolicyAssignment
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class OsPolicyAssignmentInstanceFilter
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class OsPolicyAssignmentInstanceFilterInventory
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class OsPolicyAssignmentLabelSet
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
175
229
|
class OsPolicyAssignmentOperationMetadata
|
176
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
231
|
|
178
232
|
include Google::Apis::Core::JsonObjectSupport
|
179
233
|
end
|
180
234
|
|
235
|
+
class OsPolicyAssignmentRollout
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class OsPolicyInventoryFilter
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class OsPolicyResource
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class OsPolicyResourceExecResource
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class OsPolicyResourceExecResourceExec
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class OsPolicyResourceFile
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class OsPolicyResourceFileGcs
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class OsPolicyResourceFileRemote
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class OsPolicyResourceFileResource
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class OsPolicyResourceGroup
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class OsPolicyResourcePackageResource
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class OsPolicyResourcePackageResourceApt
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class OsPolicyResourcePackageResourceDeb
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class OsPolicyResourcePackageResourceGooGet
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class OsPolicyResourcePackageResourceMsi
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class OsPolicyResourcePackageResourceRpm
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class OsPolicyResourcePackageResourceYum
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class OsPolicyResourcePackageResourceZypper
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class OsPolicyResourceRepositoryResource
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class OsPolicyResourceRepositoryResourceAptRepository
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class OsPolicyResourceRepositoryResourceGooRepository
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class OsPolicyResourceRepositoryResourceYumRepository
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class OsPolicyResourceRepositoryResourceZypperRepository
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
181
373
|
class OneTimeSchedule
|
182
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
375
|
|
184
376
|
include Google::Apis::Core::JsonObjectSupport
|
185
377
|
end
|
186
378
|
|
379
|
+
class Operation
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
187
385
|
class PatchConfig
|
188
386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
387
|
|
@@ -238,6 +436,12 @@ module Google
|
|
238
436
|
include Google::Apis::Core::JsonObjectSupport
|
239
437
|
end
|
240
438
|
|
439
|
+
class Status
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
241
445
|
class TimeOfDay
|
242
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
447
|
|
@@ -336,6 +540,15 @@ module Google
|
|
336
540
|
end
|
337
541
|
end
|
338
542
|
|
543
|
+
class Date
|
544
|
+
# @private
|
545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
+
property :day, as: 'day'
|
547
|
+
property :month, as: 'month'
|
548
|
+
property :year, as: 'year'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
339
552
|
class Empty
|
340
553
|
# @private
|
341
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -454,6 +667,8 @@ module Google
|
|
454
667
|
|
455
668
|
property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage::Representation
|
456
669
|
|
670
|
+
property :windows_application, as: 'windowsApplication', class: Google::Apis::OsconfigV1::InventoryWindowsApplication, decorator: Google::Apis::OsconfigV1::InventoryWindowsApplication::Representation
|
671
|
+
|
457
672
|
property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage::Representation
|
458
673
|
|
459
674
|
property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
|
@@ -474,6 +689,18 @@ module Google
|
|
474
689
|
end
|
475
690
|
end
|
476
691
|
|
692
|
+
class InventoryWindowsApplication
|
693
|
+
# @private
|
694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
695
|
+
property :display_name, as: 'displayName'
|
696
|
+
property :display_version, as: 'displayVersion'
|
697
|
+
property :help_link, as: 'helpLink'
|
698
|
+
property :install_date, as: 'installDate', class: Google::Apis::OsconfigV1::Date, decorator: Google::Apis::OsconfigV1::Date::Representation
|
699
|
+
|
700
|
+
property :publisher, as: 'publisher'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
477
704
|
class InventoryWindowsQuickFixEngineeringPackage
|
478
705
|
# @private
|
479
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -527,6 +754,24 @@ module Google
|
|
527
754
|
end
|
528
755
|
end
|
529
756
|
|
757
|
+
class ListOsPolicyAssignmentRevisionsResponse
|
758
|
+
# @private
|
759
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
760
|
+
property :next_page_token, as: 'nextPageToken'
|
761
|
+
collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
|
762
|
+
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
class ListOsPolicyAssignmentsResponse
|
767
|
+
# @private
|
768
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
769
|
+
property :next_page_token, as: 'nextPageToken'
|
770
|
+
collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
|
771
|
+
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
530
775
|
class ListPatchDeploymentsResponse
|
531
776
|
# @private
|
532
777
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -572,6 +817,68 @@ module Google
|
|
572
817
|
end
|
573
818
|
end
|
574
819
|
|
820
|
+
class OsPolicy
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
property :allow_no_resource_group_match, as: 'allowNoResourceGroupMatch'
|
824
|
+
property :description, as: 'description'
|
825
|
+
property :id, as: 'id'
|
826
|
+
property :mode, as: 'mode'
|
827
|
+
collection :resource_groups, as: 'resourceGroups', class: Google::Apis::OsconfigV1::OsPolicyResourceGroup, decorator: Google::Apis::OsconfigV1::OsPolicyResourceGroup::Representation
|
828
|
+
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
class OsPolicyAssignment
|
833
|
+
# @private
|
834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
835
|
+
property :baseline, as: 'baseline'
|
836
|
+
property :deleted, as: 'deleted'
|
837
|
+
property :description, as: 'description'
|
838
|
+
property :etag, as: 'etag'
|
839
|
+
property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilter, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilter::Representation
|
840
|
+
|
841
|
+
property :name, as: 'name'
|
842
|
+
collection :os_policies, as: 'osPolicies', class: Google::Apis::OsconfigV1::OsPolicy, decorator: Google::Apis::OsconfigV1::OsPolicy::Representation
|
843
|
+
|
844
|
+
property :reconciling, as: 'reconciling'
|
845
|
+
property :revision_create_time, as: 'revisionCreateTime'
|
846
|
+
property :revision_id, as: 'revisionId'
|
847
|
+
property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::OsPolicyAssignmentRollout, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentRollout::Representation
|
848
|
+
|
849
|
+
property :rollout_state, as: 'rolloutState'
|
850
|
+
property :uid, as: 'uid'
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
class OsPolicyAssignmentInstanceFilter
|
855
|
+
# @private
|
856
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
857
|
+
property :all, as: 'all'
|
858
|
+
collection :exclusion_labels, as: 'exclusionLabels', class: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet::Representation
|
859
|
+
|
860
|
+
collection :inclusion_labels, as: 'inclusionLabels', class: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet::Representation
|
861
|
+
|
862
|
+
collection :inventories, as: 'inventories', class: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilterInventory, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilterInventory::Representation
|
863
|
+
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
867
|
+
class OsPolicyAssignmentInstanceFilterInventory
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
property :os_short_name, as: 'osShortName'
|
871
|
+
property :os_version, as: 'osVersion'
|
872
|
+
end
|
873
|
+
end
|
874
|
+
|
875
|
+
class OsPolicyAssignmentLabelSet
|
876
|
+
# @private
|
877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
878
|
+
hash :labels, as: 'labels'
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
575
882
|
class OsPolicyAssignmentOperationMetadata
|
576
883
|
# @private
|
577
884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -583,6 +890,240 @@ module Google
|
|
583
890
|
end
|
584
891
|
end
|
585
892
|
|
893
|
+
class OsPolicyAssignmentRollout
|
894
|
+
# @private
|
895
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
896
|
+
property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1::FixedOrPercent, decorator: Google::Apis::OsconfigV1::FixedOrPercent::Representation
|
897
|
+
|
898
|
+
property :min_wait_duration, as: 'minWaitDuration'
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
902
|
+
class OsPolicyInventoryFilter
|
903
|
+
# @private
|
904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
905
|
+
property :os_short_name, as: 'osShortName'
|
906
|
+
property :os_version, as: 'osVersion'
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
class OsPolicyResource
|
911
|
+
# @private
|
912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
913
|
+
property :exec, as: 'exec', class: Google::Apis::OsconfigV1::OsPolicyResourceExecResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourceExecResource::Representation
|
914
|
+
|
915
|
+
property :file, as: 'file', class: Google::Apis::OsconfigV1::OsPolicyResourceFileResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFileResource::Representation
|
916
|
+
|
917
|
+
property :id, as: 'id'
|
918
|
+
property :pkg, as: 'pkg', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResource::Representation
|
919
|
+
|
920
|
+
property :repository, as: 'repository', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResource::Representation
|
921
|
+
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
925
|
+
class OsPolicyResourceExecResource
|
926
|
+
# @private
|
927
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
928
|
+
property :enforce, as: 'enforce', class: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec, decorator: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec::Representation
|
929
|
+
|
930
|
+
property :validate, as: 'validate', class: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec, decorator: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec::Representation
|
931
|
+
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
class OsPolicyResourceExecResourceExec
|
936
|
+
# @private
|
937
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
938
|
+
collection :args, as: 'args'
|
939
|
+
property :file, as: 'file', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
|
940
|
+
|
941
|
+
property :interpreter, as: 'interpreter'
|
942
|
+
property :output_file_path, as: 'outputFilePath'
|
943
|
+
property :script, as: 'script'
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
class OsPolicyResourceFile
|
948
|
+
# @private
|
949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
950
|
+
property :allow_insecure, as: 'allowInsecure'
|
951
|
+
property :gcs, as: 'gcs', class: Google::Apis::OsconfigV1::OsPolicyResourceFileGcs, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFileGcs::Representation
|
952
|
+
|
953
|
+
property :local_path, as: 'localPath'
|
954
|
+
property :remote, as: 'remote', class: Google::Apis::OsconfigV1::OsPolicyResourceFileRemote, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFileRemote::Representation
|
955
|
+
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
class OsPolicyResourceFileGcs
|
960
|
+
# @private
|
961
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
962
|
+
property :bucket, as: 'bucket'
|
963
|
+
property :generation, :numeric_string => true, as: 'generation'
|
964
|
+
property :object, as: 'object'
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
968
|
+
class OsPolicyResourceFileRemote
|
969
|
+
# @private
|
970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
971
|
+
property :sha256_checksum, as: 'sha256Checksum'
|
972
|
+
property :uri, as: 'uri'
|
973
|
+
end
|
974
|
+
end
|
975
|
+
|
976
|
+
class OsPolicyResourceFileResource
|
977
|
+
# @private
|
978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
979
|
+
property :content, as: 'content'
|
980
|
+
property :file, as: 'file', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
|
981
|
+
|
982
|
+
property :path, as: 'path'
|
983
|
+
property :permissions, as: 'permissions'
|
984
|
+
property :state, as: 'state'
|
985
|
+
end
|
986
|
+
end
|
987
|
+
|
988
|
+
class OsPolicyResourceGroup
|
989
|
+
# @private
|
990
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
991
|
+
collection :inventory_filters, as: 'inventoryFilters', class: Google::Apis::OsconfigV1::OsPolicyInventoryFilter, decorator: Google::Apis::OsconfigV1::OsPolicyInventoryFilter::Representation
|
992
|
+
|
993
|
+
collection :resources, as: 'resources', class: Google::Apis::OsconfigV1::OsPolicyResource, decorator: Google::Apis::OsconfigV1::OsPolicyResource::Representation
|
994
|
+
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
class OsPolicyResourcePackageResource
|
999
|
+
# @private
|
1000
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1001
|
+
property :apt, as: 'apt', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceApt, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceApt::Representation
|
1002
|
+
|
1003
|
+
property :deb, as: 'deb', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceDeb, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceDeb::Representation
|
1004
|
+
|
1005
|
+
property :desired_state, as: 'desiredState'
|
1006
|
+
property :googet, as: 'googet', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceGooGet, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceGooGet::Representation
|
1007
|
+
|
1008
|
+
property :msi, as: 'msi', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi::Representation
|
1009
|
+
|
1010
|
+
property :rpm, as: 'rpm', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceRpm, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceRpm::Representation
|
1011
|
+
|
1012
|
+
property :yum, as: 'yum', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceYum, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceYum::Representation
|
1013
|
+
|
1014
|
+
property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceZypper, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceZypper::Representation
|
1015
|
+
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
class OsPolicyResourcePackageResourceApt
|
1020
|
+
# @private
|
1021
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1022
|
+
property :name, as: 'name'
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
class OsPolicyResourcePackageResourceDeb
|
1027
|
+
# @private
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1029
|
+
property :pull_deps, as: 'pullDeps'
|
1030
|
+
property :source, as: 'source', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
|
1031
|
+
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
1035
|
+
class OsPolicyResourcePackageResourceGooGet
|
1036
|
+
# @private
|
1037
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1038
|
+
property :name, as: 'name'
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
class OsPolicyResourcePackageResourceMsi
|
1043
|
+
# @private
|
1044
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1045
|
+
collection :properties, as: 'properties'
|
1046
|
+
property :source, as: 'source', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
|
1047
|
+
|
1048
|
+
end
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
class OsPolicyResourcePackageResourceRpm
|
1052
|
+
# @private
|
1053
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1054
|
+
property :pull_deps, as: 'pullDeps'
|
1055
|
+
property :source, as: 'source', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
|
1056
|
+
|
1057
|
+
end
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
class OsPolicyResourcePackageResourceYum
|
1061
|
+
# @private
|
1062
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1063
|
+
property :name, as: 'name'
|
1064
|
+
end
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
class OsPolicyResourcePackageResourceZypper
|
1068
|
+
# @private
|
1069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1070
|
+
property :name, as: 'name'
|
1071
|
+
end
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
class OsPolicyResourceRepositoryResource
|
1075
|
+
# @private
|
1076
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1077
|
+
property :apt, as: 'apt', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceAptRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceAptRepository::Representation
|
1078
|
+
|
1079
|
+
property :goo, as: 'goo', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceGooRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceGooRepository::Representation
|
1080
|
+
|
1081
|
+
property :yum, as: 'yum', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceYumRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceYumRepository::Representation
|
1082
|
+
|
1083
|
+
property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceZypperRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceZypperRepository::Representation
|
1084
|
+
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
class OsPolicyResourceRepositoryResourceAptRepository
|
1089
|
+
# @private
|
1090
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1091
|
+
property :archive_type, as: 'archiveType'
|
1092
|
+
collection :components, as: 'components'
|
1093
|
+
property :distribution, as: 'distribution'
|
1094
|
+
property :gpg_key, as: 'gpgKey'
|
1095
|
+
property :uri, as: 'uri'
|
1096
|
+
end
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
class OsPolicyResourceRepositoryResourceGooRepository
|
1100
|
+
# @private
|
1101
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1102
|
+
property :name, as: 'name'
|
1103
|
+
property :url, as: 'url'
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
class OsPolicyResourceRepositoryResourceYumRepository
|
1108
|
+
# @private
|
1109
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1110
|
+
property :base_url, as: 'baseUrl'
|
1111
|
+
property :display_name, as: 'displayName'
|
1112
|
+
collection :gpg_keys, as: 'gpgKeys'
|
1113
|
+
property :id, as: 'id'
|
1114
|
+
end
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class OsPolicyResourceRepositoryResourceZypperRepository
|
1118
|
+
# @private
|
1119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1120
|
+
property :base_url, as: 'baseUrl'
|
1121
|
+
property :display_name, as: 'displayName'
|
1122
|
+
collection :gpg_keys, as: 'gpgKeys'
|
1123
|
+
property :id, as: 'id'
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
586
1127
|
class OneTimeSchedule
|
587
1128
|
# @private
|
588
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -590,6 +1131,18 @@ module Google
|
|
590
1131
|
end
|
591
1132
|
end
|
592
1133
|
|
1134
|
+
class Operation
|
1135
|
+
# @private
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
|
+
property :done, as: 'done'
|
1138
|
+
property :error, as: 'error', class: Google::Apis::OsconfigV1::Status, decorator: Google::Apis::OsconfigV1::Status::Representation
|
1139
|
+
|
1140
|
+
hash :metadata, as: 'metadata'
|
1141
|
+
property :name, as: 'name'
|
1142
|
+
hash :response, as: 'response'
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
593
1146
|
class PatchConfig
|
594
1147
|
# @private
|
595
1148
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -737,6 +1290,15 @@ module Google
|
|
737
1290
|
end
|
738
1291
|
end
|
739
1292
|
|
1293
|
+
class Status
|
1294
|
+
# @private
|
1295
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1296
|
+
property :code, as: 'code'
|
1297
|
+
collection :details, as: 'details'
|
1298
|
+
property :message, as: 'message'
|
1299
|
+
end
|
1300
|
+
end
|
1301
|
+
|
740
1302
|
class TimeOfDay
|
741
1303
|
# @private
|
742
1304
|
class Representation < Google::Apis::Core::JsonRepresentation
|