google-apis-osconfig_v1 0.6.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/osconfig_v1/classes.rb +1664 -121
- data/lib/google/apis/osconfig_v1/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1/representations.rb +640 -3
- data/lib/google/apis/osconfig_v1/service.rb +349 -29
- data/lib/google/apis/osconfig_v1.rb +1 -1
- metadata +13 -7
@@ -28,12 +28,24 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class CvsSv3
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class CancelPatchJobRequest
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
34
40
|
include Google::Apis::Core::JsonObjectSupport
|
35
41
|
end
|
36
42
|
|
43
|
+
class Date
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class Empty
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -106,6 +118,12 @@ module Google
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
121
|
+
class InventoryWindowsApplication
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
109
127
|
class InventoryWindowsQuickFixEngineeringPackage
|
110
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
129
|
|
@@ -130,7 +148,19 @@ module Google
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
131
149
|
end
|
132
150
|
|
133
|
-
class
|
151
|
+
class ListInventoriesResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
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
|
134
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
165
|
|
136
166
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -154,18 +184,192 @@ module Google
|
|
154
184
|
include Google::Apis::Core::JsonObjectSupport
|
155
185
|
end
|
156
186
|
|
187
|
+
class ListVulnerabilityReportsResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
157
193
|
class MonthlySchedule
|
158
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
195
|
|
160
196
|
include Google::Apis::Core::JsonObjectSupport
|
161
197
|
end
|
162
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
|
+
|
163
229
|
class OsPolicyAssignmentOperationMetadata
|
164
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
231
|
|
166
232
|
include Google::Apis::Core::JsonObjectSupport
|
167
233
|
end
|
168
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
|
+
|
169
373
|
class OneTimeSchedule
|
170
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
375
|
|
@@ -250,6 +454,30 @@ module Google
|
|
250
454
|
include Google::Apis::Core::JsonObjectSupport
|
251
455
|
end
|
252
456
|
|
457
|
+
class VulnerabilityReport
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class VulnerabilityReportVulnerability
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class VulnerabilityReportVulnerabilityDetails
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class VulnerabilityReportVulnerabilityDetailsReference
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
253
481
|
class WeekDayOfMonth
|
254
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
483
|
|
@@ -289,12 +517,38 @@ module Google
|
|
289
517
|
end
|
290
518
|
end
|
291
519
|
|
520
|
+
class CvsSv3
|
521
|
+
# @private
|
522
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
523
|
+
property :attack_complexity, as: 'attackComplexity'
|
524
|
+
property :attack_vector, as: 'attackVector'
|
525
|
+
property :availability_impact, as: 'availabilityImpact'
|
526
|
+
property :base_score, as: 'baseScore'
|
527
|
+
property :confidentiality_impact, as: 'confidentialityImpact'
|
528
|
+
property :exploitability_score, as: 'exploitabilityScore'
|
529
|
+
property :impact_score, as: 'impactScore'
|
530
|
+
property :integrity_impact, as: 'integrityImpact'
|
531
|
+
property :privileges_required, as: 'privilegesRequired'
|
532
|
+
property :scope, as: 'scope'
|
533
|
+
property :user_interaction, as: 'userInteraction'
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
292
537
|
class CancelPatchJobRequest
|
293
538
|
# @private
|
294
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
295
540
|
end
|
296
541
|
end
|
297
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
|
+
|
298
552
|
class Empty
|
299
553
|
# @private
|
300
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -366,8 +620,10 @@ module Google
|
|
366
620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
367
621
|
hash :items, as: 'items', class: Google::Apis::OsconfigV1::InventoryItem, decorator: Google::Apis::OsconfigV1::InventoryItem::Representation
|
368
622
|
|
623
|
+
property :name, as: 'name'
|
369
624
|
property :os_info, as: 'osInfo', class: Google::Apis::OsconfigV1::InventoryOsInfo, decorator: Google::Apis::OsconfigV1::InventoryOsInfo::Representation
|
370
625
|
|
626
|
+
property :update_time, as: 'updateTime'
|
371
627
|
end
|
372
628
|
end
|
373
629
|
|
@@ -411,6 +667,8 @@ module Google
|
|
411
667
|
|
412
668
|
property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage::Representation
|
413
669
|
|
670
|
+
property :windows_application, as: 'windowsApplication', class: Google::Apis::OsconfigV1::InventoryWindowsApplication, decorator: Google::Apis::OsconfigV1::InventoryWindowsApplication::Representation
|
671
|
+
|
414
672
|
property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage::Representation
|
415
673
|
|
416
674
|
property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
|
@@ -431,6 +689,18 @@ module Google
|
|
431
689
|
end
|
432
690
|
end
|
433
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
|
+
|
434
704
|
class InventoryWindowsQuickFixEngineeringPackage
|
435
705
|
# @private
|
436
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -475,11 +745,29 @@ module Google
|
|
475
745
|
end
|
476
746
|
end
|
477
747
|
|
478
|
-
class
|
748
|
+
class ListInventoriesResponse
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
collection :inventories, as: 'inventories', class: Google::Apis::OsconfigV1::Inventory, decorator: Google::Apis::OsconfigV1::Inventory::Representation
|
752
|
+
|
753
|
+
property :next_page_token, as: 'nextPageToken'
|
754
|
+
end
|
755
|
+
end
|
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
|
479
767
|
# @private
|
480
768
|
class Representation < Google::Apis::Core::JsonRepresentation
|
481
769
|
property :next_page_token, as: 'nextPageToken'
|
482
|
-
collection :
|
770
|
+
collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
|
483
771
|
|
484
772
|
end
|
485
773
|
end
|
@@ -511,6 +799,15 @@ module Google
|
|
511
799
|
end
|
512
800
|
end
|
513
801
|
|
802
|
+
class ListVulnerabilityReportsResponse
|
803
|
+
# @private
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
property :next_page_token, as: 'nextPageToken'
|
806
|
+
collection :vulnerability_reports, as: 'vulnerabilityReports', class: Google::Apis::OsconfigV1::VulnerabilityReport, decorator: Google::Apis::OsconfigV1::VulnerabilityReport::Representation
|
807
|
+
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
514
811
|
class MonthlySchedule
|
515
812
|
# @private
|
516
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -520,6 +817,68 @@ module Google
|
|
520
817
|
end
|
521
818
|
end
|
522
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
|
+
|
523
882
|
class OsPolicyAssignmentOperationMetadata
|
524
883
|
# @private
|
525
884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -531,6 +890,240 @@ module Google
|
|
531
890
|
end
|
532
891
|
end
|
533
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
|
+
|
534
1127
|
class OneTimeSchedule
|
535
1128
|
# @private
|
536
1129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -724,6 +1317,50 @@ module Google
|
|
724
1317
|
end
|
725
1318
|
end
|
726
1319
|
|
1320
|
+
class VulnerabilityReport
|
1321
|
+
# @private
|
1322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1323
|
+
property :name, as: 'name'
|
1324
|
+
property :update_time, as: 'updateTime'
|
1325
|
+
collection :vulnerabilities, as: 'vulnerabilities', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerability, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerability::Representation
|
1326
|
+
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
class VulnerabilityReportVulnerability
|
1331
|
+
# @private
|
1332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1333
|
+
collection :available_inventory_item_ids, as: 'availableInventoryItemIds'
|
1334
|
+
property :create_time, as: 'createTime'
|
1335
|
+
property :details, as: 'details', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails::Representation
|
1336
|
+
|
1337
|
+
collection :installed_inventory_item_ids, as: 'installedInventoryItemIds'
|
1338
|
+
property :update_time, as: 'updateTime'
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
class VulnerabilityReportVulnerabilityDetails
|
1343
|
+
# @private
|
1344
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1345
|
+
property :cve, as: 'cve'
|
1346
|
+
property :cvss_v2_score, as: 'cvssV2Score'
|
1347
|
+
property :cvss_v3, as: 'cvssV3', class: Google::Apis::OsconfigV1::CvsSv3, decorator: Google::Apis::OsconfigV1::CvsSv3::Representation
|
1348
|
+
|
1349
|
+
property :description, as: 'description'
|
1350
|
+
collection :references, as: 'references', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference::Representation
|
1351
|
+
|
1352
|
+
property :severity, as: 'severity'
|
1353
|
+
end
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
class VulnerabilityReportVulnerabilityDetailsReference
|
1357
|
+
# @private
|
1358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1359
|
+
property :source, as: 'source'
|
1360
|
+
property :url, as: 'url'
|
1361
|
+
end
|
1362
|
+
end
|
1363
|
+
|
727
1364
|
class WeekDayOfMonth
|
728
1365
|
# @private
|
729
1366
|
class Representation < Google::Apis::Core::JsonRepresentation
|