google-apis-osconfig_v1 0.8.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,12 +28,30 @@ 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
+
37
+ class CancelOperationRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class CancelPatchJobRequest
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
34
46
  include Google::Apis::Core::JsonObjectSupport
35
47
  end
36
48
 
49
+ class Date
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
37
55
  class Empty
38
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
57
 
@@ -106,6 +124,12 @@ module Google
106
124
  include Google::Apis::Core::JsonObjectSupport
107
125
  end
108
126
 
127
+ class InventoryWindowsApplication
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class InventoryWindowsQuickFixEngineeringPackage
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -130,7 +154,25 @@ module Google
130
154
  include Google::Apis::Core::JsonObjectSupport
131
155
  end
132
156
 
133
- class ListOperationsResponse
157
+ class ListInventoriesResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListOsPolicyAssignmentReportsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ListOsPolicyAssignmentRevisionsResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ListOsPolicyAssignmentsResponse
134
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
177
 
136
178
  include Google::Apis::Core::JsonObjectSupport
@@ -154,18 +196,222 @@ module Google
154
196
  include Google::Apis::Core::JsonObjectSupport
155
197
  end
156
198
 
199
+ class ListVulnerabilityReportsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
157
205
  class MonthlySchedule
158
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
207
 
160
208
  include Google::Apis::Core::JsonObjectSupport
161
209
  end
162
210
 
211
+ class OsPolicy
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class OsPolicyAssignment
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class OsPolicyAssignmentInstanceFilter
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class OsPolicyAssignmentInstanceFilterInventory
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class OsPolicyAssignmentLabelSet
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
163
241
  class OsPolicyAssignmentOperationMetadata
164
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
243
 
166
244
  include Google::Apis::Core::JsonObjectSupport
167
245
  end
168
246
 
247
+ class OsPolicyAssignmentReport
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class OsPolicyAssignmentReportOsPolicyCompliance
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceCompliance
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceExecResourceOutput
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceOsPolicyResourceConfigStep
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class OsPolicyAssignmentRollout
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class OsPolicyInventoryFilter
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class OsPolicyResource
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class OsPolicyResourceExecResource
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class OsPolicyResourceExecResourceExec
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class OsPolicyResourceFile
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class OsPolicyResourceFileGcs
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class OsPolicyResourceFileRemote
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class OsPolicyResourceFileResource
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class OsPolicyResourceGroup
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class OsPolicyResourcePackageResource
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class OsPolicyResourcePackageResourceApt
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class OsPolicyResourcePackageResourceDeb
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class OsPolicyResourcePackageResourceGooGet
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class OsPolicyResourcePackageResourceMsi
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class OsPolicyResourcePackageResourceRpm
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class OsPolicyResourcePackageResourceYum
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class OsPolicyResourcePackageResourceZypper
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class OsPolicyResourceRepositoryResource
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class OsPolicyResourceRepositoryResourceAptRepository
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class OsPolicyResourceRepositoryResourceGooRepository
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class OsPolicyResourceRepositoryResourceYumRepository
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class OsPolicyResourceRepositoryResourceZypperRepository
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
169
415
  class OneTimeSchedule
170
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
417
 
@@ -250,6 +496,30 @@ module Google
250
496
  include Google::Apis::Core::JsonObjectSupport
251
497
  end
252
498
 
499
+ class VulnerabilityReport
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class VulnerabilityReportVulnerability
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class VulnerabilityReportVulnerabilityDetails
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class VulnerabilityReportVulnerabilityDetailsReference
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
253
523
  class WeekDayOfMonth
254
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
525
 
@@ -289,12 +559,44 @@ module Google
289
559
  end
290
560
  end
291
561
 
562
+ class CvsSv3
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :attack_complexity, as: 'attackComplexity'
566
+ property :attack_vector, as: 'attackVector'
567
+ property :availability_impact, as: 'availabilityImpact'
568
+ property :base_score, as: 'baseScore'
569
+ property :confidentiality_impact, as: 'confidentialityImpact'
570
+ property :exploitability_score, as: 'exploitabilityScore'
571
+ property :impact_score, as: 'impactScore'
572
+ property :integrity_impact, as: 'integrityImpact'
573
+ property :privileges_required, as: 'privilegesRequired'
574
+ property :scope, as: 'scope'
575
+ property :user_interaction, as: 'userInteraction'
576
+ end
577
+ end
578
+
579
+ class CancelOperationRequest
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ end
583
+ end
584
+
292
585
  class CancelPatchJobRequest
293
586
  # @private
294
587
  class Representation < Google::Apis::Core::JsonRepresentation
295
588
  end
296
589
  end
297
590
 
591
+ class Date
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :day, as: 'day'
595
+ property :month, as: 'month'
596
+ property :year, as: 'year'
597
+ end
598
+ end
599
+
298
600
  class Empty
299
601
  # @private
300
602
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -366,8 +668,10 @@ module Google
366
668
  class Representation < Google::Apis::Core::JsonRepresentation
367
669
  hash :items, as: 'items', class: Google::Apis::OsconfigV1::InventoryItem, decorator: Google::Apis::OsconfigV1::InventoryItem::Representation
368
670
 
671
+ property :name, as: 'name'
369
672
  property :os_info, as: 'osInfo', class: Google::Apis::OsconfigV1::InventoryOsInfo, decorator: Google::Apis::OsconfigV1::InventoryOsInfo::Representation
370
673
 
674
+ property :update_time, as: 'updateTime'
371
675
  end
372
676
  end
373
677
 
@@ -411,6 +715,8 @@ module Google
411
715
 
412
716
  property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage::Representation
413
717
 
718
+ property :windows_application, as: 'windowsApplication', class: Google::Apis::OsconfigV1::InventoryWindowsApplication, decorator: Google::Apis::OsconfigV1::InventoryWindowsApplication::Representation
719
+
414
720
  property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage::Representation
415
721
 
416
722
  property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
@@ -431,6 +737,18 @@ module Google
431
737
  end
432
738
  end
433
739
 
740
+ class InventoryWindowsApplication
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :display_name, as: 'displayName'
744
+ property :display_version, as: 'displayVersion'
745
+ property :help_link, as: 'helpLink'
746
+ property :install_date, as: 'installDate', class: Google::Apis::OsconfigV1::Date, decorator: Google::Apis::OsconfigV1::Date::Representation
747
+
748
+ property :publisher, as: 'publisher'
749
+ end
750
+ end
751
+
434
752
  class InventoryWindowsQuickFixEngineeringPackage
435
753
  # @private
436
754
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -475,29 +793,56 @@ module Google
475
793
  end
476
794
  end
477
795
 
478
- class ListOperationsResponse
796
+ class ListInventoriesResponse
479
797
  # @private
480
798
  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
799
+ collection :inventories, as: 'inventories', class: Google::Apis::OsconfigV1::Inventory, decorator: Google::Apis::OsconfigV1::Inventory::Representation
483
800
 
801
+ property :next_page_token, as: 'nextPageToken'
484
802
  end
485
803
  end
486
804
 
487
- class ListPatchDeploymentsResponse
805
+ class ListOsPolicyAssignmentReportsResponse
488
806
  # @private
489
807
  class Representation < Google::Apis::Core::JsonRepresentation
490
808
  property :next_page_token, as: 'nextPageToken'
491
- collection :patch_deployments, as: 'patchDeployments', class: Google::Apis::OsconfigV1::PatchDeployment, decorator: Google::Apis::OsconfigV1::PatchDeployment::Representation
809
+ collection :os_policy_assignment_reports, as: 'osPolicyAssignmentReports', class: Google::Apis::OsconfigV1::OsPolicyAssignmentReport, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentReport::Representation
492
810
 
493
811
  end
494
812
  end
495
813
 
496
- class ListPatchJobInstanceDetailsResponse
814
+ class ListOsPolicyAssignmentRevisionsResponse
497
815
  # @private
498
816
  class Representation < Google::Apis::Core::JsonRepresentation
499
817
  property :next_page_token, as: 'nextPageToken'
500
- collection :patch_job_instance_details, as: 'patchJobInstanceDetails', class: Google::Apis::OsconfigV1::PatchJobInstanceDetails, decorator: Google::Apis::OsconfigV1::PatchJobInstanceDetails::Representation
818
+ collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
819
+
820
+ end
821
+ end
822
+
823
+ class ListOsPolicyAssignmentsResponse
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :next_page_token, as: 'nextPageToken'
827
+ collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1::OsPolicyAssignment::Representation
828
+
829
+ end
830
+ end
831
+
832
+ class ListPatchDeploymentsResponse
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ property :next_page_token, as: 'nextPageToken'
836
+ collection :patch_deployments, as: 'patchDeployments', class: Google::Apis::OsconfigV1::PatchDeployment, decorator: Google::Apis::OsconfigV1::PatchDeployment::Representation
837
+
838
+ end
839
+ end
840
+
841
+ class ListPatchJobInstanceDetailsResponse
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ property :next_page_token, as: 'nextPageToken'
845
+ collection :patch_job_instance_details, as: 'patchJobInstanceDetails', class: Google::Apis::OsconfigV1::PatchJobInstanceDetails, decorator: Google::Apis::OsconfigV1::PatchJobInstanceDetails::Representation
501
846
 
502
847
  end
503
848
  end
@@ -511,6 +856,15 @@ module Google
511
856
  end
512
857
  end
513
858
 
859
+ class ListVulnerabilityReportsResponse
860
+ # @private
861
+ class Representation < Google::Apis::Core::JsonRepresentation
862
+ property :next_page_token, as: 'nextPageToken'
863
+ collection :vulnerability_reports, as: 'vulnerabilityReports', class: Google::Apis::OsconfigV1::VulnerabilityReport, decorator: Google::Apis::OsconfigV1::VulnerabilityReport::Representation
864
+
865
+ end
866
+ end
867
+
514
868
  class MonthlySchedule
515
869
  # @private
516
870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -520,6 +874,68 @@ module Google
520
874
  end
521
875
  end
522
876
 
877
+ class OsPolicy
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ property :allow_no_resource_group_match, as: 'allowNoResourceGroupMatch'
881
+ property :description, as: 'description'
882
+ property :id, as: 'id'
883
+ property :mode, as: 'mode'
884
+ collection :resource_groups, as: 'resourceGroups', class: Google::Apis::OsconfigV1::OsPolicyResourceGroup, decorator: Google::Apis::OsconfigV1::OsPolicyResourceGroup::Representation
885
+
886
+ end
887
+ end
888
+
889
+ class OsPolicyAssignment
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :baseline, as: 'baseline'
893
+ property :deleted, as: 'deleted'
894
+ property :description, as: 'description'
895
+ property :etag, as: 'etag'
896
+ property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilter, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilter::Representation
897
+
898
+ property :name, as: 'name'
899
+ collection :os_policies, as: 'osPolicies', class: Google::Apis::OsconfigV1::OsPolicy, decorator: Google::Apis::OsconfigV1::OsPolicy::Representation
900
+
901
+ property :reconciling, as: 'reconciling'
902
+ property :revision_create_time, as: 'revisionCreateTime'
903
+ property :revision_id, as: 'revisionId'
904
+ property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1::OsPolicyAssignmentRollout, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentRollout::Representation
905
+
906
+ property :rollout_state, as: 'rolloutState'
907
+ property :uid, as: 'uid'
908
+ end
909
+ end
910
+
911
+ class OsPolicyAssignmentInstanceFilter
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :all, as: 'all'
915
+ collection :exclusion_labels, as: 'exclusionLabels', class: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet::Representation
916
+
917
+ collection :inclusion_labels, as: 'inclusionLabels', class: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentLabelSet::Representation
918
+
919
+ collection :inventories, as: 'inventories', class: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilterInventory, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentInstanceFilterInventory::Representation
920
+
921
+ end
922
+ end
923
+
924
+ class OsPolicyAssignmentInstanceFilterInventory
925
+ # @private
926
+ class Representation < Google::Apis::Core::JsonRepresentation
927
+ property :os_short_name, as: 'osShortName'
928
+ property :os_version, as: 'osVersion'
929
+ end
930
+ end
931
+
932
+ class OsPolicyAssignmentLabelSet
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ hash :labels, as: 'labels'
936
+ end
937
+ end
938
+
523
939
  class OsPolicyAssignmentOperationMetadata
524
940
  # @private
525
941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -531,6 +947,292 @@ module Google
531
947
  end
532
948
  end
533
949
 
950
+ class OsPolicyAssignmentReport
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :instance, as: 'instance'
954
+ property :last_run_id, as: 'lastRunId'
955
+ property :name, as: 'name'
956
+ property :os_policy_assignment, as: 'osPolicyAssignment'
957
+ collection :os_policy_compliances, as: 'osPolicyCompliances', class: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyCompliance, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyCompliance::Representation
958
+
959
+ property :update_time, as: 'updateTime'
960
+ end
961
+ end
962
+
963
+ class OsPolicyAssignmentReportOsPolicyCompliance
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :compliance_state, as: 'complianceState'
967
+ property :compliance_state_reason, as: 'complianceStateReason'
968
+ property :os_policy_id, as: 'osPolicyId'
969
+ collection :os_policy_resource_compliances, as: 'osPolicyResourceCompliances', class: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceCompliance, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceCompliance::Representation
970
+
971
+ end
972
+ end
973
+
974
+ class OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceCompliance
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :compliance_state, as: 'complianceState'
978
+ property :compliance_state_reason, as: 'complianceStateReason'
979
+ collection :config_steps, as: 'configSteps', class: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceOsPolicyResourceConfigStep, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceOsPolicyResourceConfigStep::Representation
980
+
981
+ property :exec_resource_output, as: 'execResourceOutput', class: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceExecResourceOutput, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceExecResourceOutput::Representation
982
+
983
+ property :os_policy_resource_id, as: 'osPolicyResourceId'
984
+ end
985
+ end
986
+
987
+ class OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceExecResourceOutput
988
+ # @private
989
+ class Representation < Google::Apis::Core::JsonRepresentation
990
+ property :enforcement_output, :base64 => true, as: 'enforcementOutput'
991
+ end
992
+ end
993
+
994
+ class OsPolicyAssignmentReportOsPolicyComplianceOsPolicyResourceComplianceOsPolicyResourceConfigStep
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :error_message, as: 'errorMessage'
998
+ property :type, as: 'type'
999
+ end
1000
+ end
1001
+
1002
+ class OsPolicyAssignmentRollout
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1::FixedOrPercent, decorator: Google::Apis::OsconfigV1::FixedOrPercent::Representation
1006
+
1007
+ property :min_wait_duration, as: 'minWaitDuration'
1008
+ end
1009
+ end
1010
+
1011
+ class OsPolicyInventoryFilter
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ property :os_short_name, as: 'osShortName'
1015
+ property :os_version, as: 'osVersion'
1016
+ end
1017
+ end
1018
+
1019
+ class OsPolicyResource
1020
+ # @private
1021
+ class Representation < Google::Apis::Core::JsonRepresentation
1022
+ property :exec, as: 'exec', class: Google::Apis::OsconfigV1::OsPolicyResourceExecResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourceExecResource::Representation
1023
+
1024
+ property :file, as: 'file', class: Google::Apis::OsconfigV1::OsPolicyResourceFileResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFileResource::Representation
1025
+
1026
+ property :id, as: 'id'
1027
+ property :pkg, as: 'pkg', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResource::Representation
1028
+
1029
+ property :repository, as: 'repository', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResource, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResource::Representation
1030
+
1031
+ end
1032
+ end
1033
+
1034
+ class OsPolicyResourceExecResource
1035
+ # @private
1036
+ class Representation < Google::Apis::Core::JsonRepresentation
1037
+ property :enforce, as: 'enforce', class: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec, decorator: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec::Representation
1038
+
1039
+ property :validate, as: 'validate', class: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec, decorator: Google::Apis::OsconfigV1::OsPolicyResourceExecResourceExec::Representation
1040
+
1041
+ end
1042
+ end
1043
+
1044
+ class OsPolicyResourceExecResourceExec
1045
+ # @private
1046
+ class Representation < Google::Apis::Core::JsonRepresentation
1047
+ collection :args, as: 'args'
1048
+ property :file, as: 'file', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
1049
+
1050
+ property :interpreter, as: 'interpreter'
1051
+ property :output_file_path, as: 'outputFilePath'
1052
+ property :script, as: 'script'
1053
+ end
1054
+ end
1055
+
1056
+ class OsPolicyResourceFile
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :allow_insecure, as: 'allowInsecure'
1060
+ property :gcs, as: 'gcs', class: Google::Apis::OsconfigV1::OsPolicyResourceFileGcs, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFileGcs::Representation
1061
+
1062
+ property :local_path, as: 'localPath'
1063
+ property :remote, as: 'remote', class: Google::Apis::OsconfigV1::OsPolicyResourceFileRemote, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFileRemote::Representation
1064
+
1065
+ end
1066
+ end
1067
+
1068
+ class OsPolicyResourceFileGcs
1069
+ # @private
1070
+ class Representation < Google::Apis::Core::JsonRepresentation
1071
+ property :bucket, as: 'bucket'
1072
+ property :generation, :numeric_string => true, as: 'generation'
1073
+ property :object, as: 'object'
1074
+ end
1075
+ end
1076
+
1077
+ class OsPolicyResourceFileRemote
1078
+ # @private
1079
+ class Representation < Google::Apis::Core::JsonRepresentation
1080
+ property :sha256_checksum, as: 'sha256Checksum'
1081
+ property :uri, as: 'uri'
1082
+ end
1083
+ end
1084
+
1085
+ class OsPolicyResourceFileResource
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :content, as: 'content'
1089
+ property :file, as: 'file', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
1090
+
1091
+ property :path, as: 'path'
1092
+ property :permissions, as: 'permissions'
1093
+ property :state, as: 'state'
1094
+ end
1095
+ end
1096
+
1097
+ class OsPolicyResourceGroup
1098
+ # @private
1099
+ class Representation < Google::Apis::Core::JsonRepresentation
1100
+ collection :inventory_filters, as: 'inventoryFilters', class: Google::Apis::OsconfigV1::OsPolicyInventoryFilter, decorator: Google::Apis::OsconfigV1::OsPolicyInventoryFilter::Representation
1101
+
1102
+ collection :resources, as: 'resources', class: Google::Apis::OsconfigV1::OsPolicyResource, decorator: Google::Apis::OsconfigV1::OsPolicyResource::Representation
1103
+
1104
+ end
1105
+ end
1106
+
1107
+ class OsPolicyResourcePackageResource
1108
+ # @private
1109
+ class Representation < Google::Apis::Core::JsonRepresentation
1110
+ property :apt, as: 'apt', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceApt, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceApt::Representation
1111
+
1112
+ property :deb, as: 'deb', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceDeb, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceDeb::Representation
1113
+
1114
+ property :desired_state, as: 'desiredState'
1115
+ property :googet, as: 'googet', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceGooGet, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceGooGet::Representation
1116
+
1117
+ property :msi, as: 'msi', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceMsi::Representation
1118
+
1119
+ property :rpm, as: 'rpm', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceRpm, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceRpm::Representation
1120
+
1121
+ property :yum, as: 'yum', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceYum, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceYum::Representation
1122
+
1123
+ property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceZypper, decorator: Google::Apis::OsconfigV1::OsPolicyResourcePackageResourceZypper::Representation
1124
+
1125
+ end
1126
+ end
1127
+
1128
+ class OsPolicyResourcePackageResourceApt
1129
+ # @private
1130
+ class Representation < Google::Apis::Core::JsonRepresentation
1131
+ property :name, as: 'name'
1132
+ end
1133
+ end
1134
+
1135
+ class OsPolicyResourcePackageResourceDeb
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ property :pull_deps, as: 'pullDeps'
1139
+ property :source, as: 'source', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
1140
+
1141
+ end
1142
+ end
1143
+
1144
+ class OsPolicyResourcePackageResourceGooGet
1145
+ # @private
1146
+ class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :name, as: 'name'
1148
+ end
1149
+ end
1150
+
1151
+ class OsPolicyResourcePackageResourceMsi
1152
+ # @private
1153
+ class Representation < Google::Apis::Core::JsonRepresentation
1154
+ collection :properties, as: 'properties'
1155
+ property :source, as: 'source', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
1156
+
1157
+ end
1158
+ end
1159
+
1160
+ class OsPolicyResourcePackageResourceRpm
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ property :pull_deps, as: 'pullDeps'
1164
+ property :source, as: 'source', class: Google::Apis::OsconfigV1::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1::OsPolicyResourceFile::Representation
1165
+
1166
+ end
1167
+ end
1168
+
1169
+ class OsPolicyResourcePackageResourceYum
1170
+ # @private
1171
+ class Representation < Google::Apis::Core::JsonRepresentation
1172
+ property :name, as: 'name'
1173
+ end
1174
+ end
1175
+
1176
+ class OsPolicyResourcePackageResourceZypper
1177
+ # @private
1178
+ class Representation < Google::Apis::Core::JsonRepresentation
1179
+ property :name, as: 'name'
1180
+ end
1181
+ end
1182
+
1183
+ class OsPolicyResourceRepositoryResource
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ property :apt, as: 'apt', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceAptRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceAptRepository::Representation
1187
+
1188
+ property :goo, as: 'goo', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceGooRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceGooRepository::Representation
1189
+
1190
+ property :yum, as: 'yum', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceYumRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceYumRepository::Representation
1191
+
1192
+ property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceZypperRepository, decorator: Google::Apis::OsconfigV1::OsPolicyResourceRepositoryResourceZypperRepository::Representation
1193
+
1194
+ end
1195
+ end
1196
+
1197
+ class OsPolicyResourceRepositoryResourceAptRepository
1198
+ # @private
1199
+ class Representation < Google::Apis::Core::JsonRepresentation
1200
+ property :archive_type, as: 'archiveType'
1201
+ collection :components, as: 'components'
1202
+ property :distribution, as: 'distribution'
1203
+ property :gpg_key, as: 'gpgKey'
1204
+ property :uri, as: 'uri'
1205
+ end
1206
+ end
1207
+
1208
+ class OsPolicyResourceRepositoryResourceGooRepository
1209
+ # @private
1210
+ class Representation < Google::Apis::Core::JsonRepresentation
1211
+ property :name, as: 'name'
1212
+ property :url, as: 'url'
1213
+ end
1214
+ end
1215
+
1216
+ class OsPolicyResourceRepositoryResourceYumRepository
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :base_url, as: 'baseUrl'
1220
+ property :display_name, as: 'displayName'
1221
+ collection :gpg_keys, as: 'gpgKeys'
1222
+ property :id, as: 'id'
1223
+ end
1224
+ end
1225
+
1226
+ class OsPolicyResourceRepositoryResourceZypperRepository
1227
+ # @private
1228
+ class Representation < Google::Apis::Core::JsonRepresentation
1229
+ property :base_url, as: 'baseUrl'
1230
+ property :display_name, as: 'displayName'
1231
+ collection :gpg_keys, as: 'gpgKeys'
1232
+ property :id, as: 'id'
1233
+ end
1234
+ end
1235
+
534
1236
  class OneTimeSchedule
535
1237
  # @private
536
1238
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -724,6 +1426,50 @@ module Google
724
1426
  end
725
1427
  end
726
1428
 
1429
+ class VulnerabilityReport
1430
+ # @private
1431
+ class Representation < Google::Apis::Core::JsonRepresentation
1432
+ property :name, as: 'name'
1433
+ property :update_time, as: 'updateTime'
1434
+ collection :vulnerabilities, as: 'vulnerabilities', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerability, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerability::Representation
1435
+
1436
+ end
1437
+ end
1438
+
1439
+ class VulnerabilityReportVulnerability
1440
+ # @private
1441
+ class Representation < Google::Apis::Core::JsonRepresentation
1442
+ collection :available_inventory_item_ids, as: 'availableInventoryItemIds'
1443
+ property :create_time, as: 'createTime'
1444
+ property :details, as: 'details', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails::Representation
1445
+
1446
+ collection :installed_inventory_item_ids, as: 'installedInventoryItemIds'
1447
+ property :update_time, as: 'updateTime'
1448
+ end
1449
+ end
1450
+
1451
+ class VulnerabilityReportVulnerabilityDetails
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :cve, as: 'cve'
1455
+ property :cvss_v2_score, as: 'cvssV2Score'
1456
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::OsconfigV1::CvsSv3, decorator: Google::Apis::OsconfigV1::CvsSv3::Representation
1457
+
1458
+ property :description, as: 'description'
1459
+ collection :references, as: 'references', class: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference, decorator: Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference::Representation
1460
+
1461
+ property :severity, as: 'severity'
1462
+ end
1463
+ end
1464
+
1465
+ class VulnerabilityReportVulnerabilityDetailsReference
1466
+ # @private
1467
+ class Representation < Google::Apis::Core::JsonRepresentation
1468
+ property :source, as: 'source'
1469
+ property :url, as: 'url'
1470
+ end
1471
+ end
1472
+
727
1473
  class WeekDayOfMonth
728
1474
  # @private
729
1475
  class Representation < Google::Apis::Core::JsonRepresentation