google-apis-osconfig_v1 0.9.0 → 0.13.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.
@@ -34,12 +34,24 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class CancelOperationRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class CancelPatchJobRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class Date
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class Empty
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -112,6 +124,12 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class InventoryWindowsApplication
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class InventoryWindowsQuickFixEngineeringPackage
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -142,6 +160,24 @@ module Google
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
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
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
145
181
  class ListPatchDeploymentsResponse
146
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
183
 
@@ -172,18 +208,222 @@ module Google
172
208
  include Google::Apis::Core::JsonObjectSupport
173
209
  end
174
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
+
175
241
  class OsPolicyAssignmentOperationMetadata
176
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
243
 
178
244
  include Google::Apis::Core::JsonObjectSupport
179
245
  end
180
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
+
181
415
  class OneTimeSchedule
182
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
417
 
184
418
  include Google::Apis::Core::JsonObjectSupport
185
419
  end
186
420
 
421
+ class Operation
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
187
427
  class PatchConfig
188
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
429
 
@@ -238,6 +478,12 @@ module Google
238
478
  include Google::Apis::Core::JsonObjectSupport
239
479
  end
240
480
 
481
+ class Status
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
241
487
  class TimeOfDay
242
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
489
 
@@ -330,12 +576,27 @@ module Google
330
576
  end
331
577
  end
332
578
 
579
+ class CancelOperationRequest
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ end
583
+ end
584
+
333
585
  class CancelPatchJobRequest
334
586
  # @private
335
587
  class Representation < Google::Apis::Core::JsonRepresentation
336
588
  end
337
589
  end
338
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
+
339
600
  class Empty
340
601
  # @private
341
602
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -454,6 +715,8 @@ module Google
454
715
 
455
716
  property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsQuickFixEngineeringPackage::Representation
456
717
 
718
+ property :windows_application, as: 'windowsApplication', class: Google::Apis::OsconfigV1::InventoryWindowsApplication, decorator: Google::Apis::OsconfigV1::InventoryWindowsApplication::Representation
719
+
457
720
  property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1::InventoryWindowsUpdatePackage::Representation
458
721
 
459
722
  property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1::InventoryVersionedPackage::Representation
@@ -474,6 +737,18 @@ module Google
474
737
  end
475
738
  end
476
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
+
477
752
  class InventoryWindowsQuickFixEngineeringPackage
478
753
  # @private
479
754
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -527,6 +802,33 @@ module Google
527
802
  end
528
803
  end
529
804
 
805
+ class ListOsPolicyAssignmentReportsResponse
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ property :next_page_token, as: 'nextPageToken'
809
+ collection :os_policy_assignment_reports, as: 'osPolicyAssignmentReports', class: Google::Apis::OsconfigV1::OsPolicyAssignmentReport, decorator: Google::Apis::OsconfigV1::OsPolicyAssignmentReport::Representation
810
+
811
+ end
812
+ end
813
+
814
+ class ListOsPolicyAssignmentRevisionsResponse
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :next_page_token, as: 'nextPageToken'
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
+
530
832
  class ListPatchDeploymentsResponse
531
833
  # @private
532
834
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -572,6 +874,68 @@ module Google
572
874
  end
573
875
  end
574
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
+
575
939
  class OsPolicyAssignmentOperationMetadata
576
940
  # @private
577
941
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -583,6 +947,292 @@ module Google
583
947
  end
584
948
  end
585
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
+
586
1236
  class OneTimeSchedule
587
1237
  # @private
588
1238
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -590,6 +1240,18 @@ module Google
590
1240
  end
591
1241
  end
592
1242
 
1243
+ class Operation
1244
+ # @private
1245
+ class Representation < Google::Apis::Core::JsonRepresentation
1246
+ property :done, as: 'done'
1247
+ property :error, as: 'error', class: Google::Apis::OsconfigV1::Status, decorator: Google::Apis::OsconfigV1::Status::Representation
1248
+
1249
+ hash :metadata, as: 'metadata'
1250
+ property :name, as: 'name'
1251
+ hash :response, as: 'response'
1252
+ end
1253
+ end
1254
+
593
1255
  class PatchConfig
594
1256
  # @private
595
1257
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -737,6 +1399,15 @@ module Google
737
1399
  end
738
1400
  end
739
1401
 
1402
+ class Status
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :code, as: 'code'
1406
+ collection :details, as: 'details'
1407
+ property :message, as: 'message'
1408
+ end
1409
+ end
1410
+
740
1411
  class TimeOfDay
741
1412
  # @private
742
1413
  class Representation < Google::Apis::Core::JsonRepresentation