google-apis-osconfig_v1alpha 0.1.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.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module OsconfigV1alpha
18
+ # Version of the google-apis-osconfig_v1alpha gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.2.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210507"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,980 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module OsconfigV1alpha
24
+
25
+ class CvsSv3
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class CancelOperationRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Empty
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class FixedOrPercent
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class InstanceOsPoliciesCompliance
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class InstanceOsPoliciesComplianceOsPolicyCompliance
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Inventory
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class InventoryItem
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class InventoryOsInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class InventorySoftwarePackage
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class InventoryVersionedPackage
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class InventoryWindowsQuickFixEngineeringPackage
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class InventoryWindowsUpdatePackage
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class InventoryWindowsUpdatePackageWindowsUpdateCategory
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class InventoryZypperPatch
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListInstanceOsPoliciesCompliancesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListInventoriesResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListOsPolicyAssignmentRevisionsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListOsPolicyAssignmentsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListVulnerabilityReportsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class OsPolicy
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class OsPolicyAssignment
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class OsPolicyAssignmentInstanceFilter
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class OsPolicyAssignmentLabelSet
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class OsPolicyAssignmentOperationMetadata
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class OsPolicyAssignmentRollout
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class OsPolicyOsFilter
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class OsPolicyResource
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class OsPolicyResourceCompliance
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class OsPolicyResourceComplianceExecResourceOutput
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class OsPolicyResourceConfigStep
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class OsPolicyResourceExecResource
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class OsPolicyResourceExecResourceExec
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class OsPolicyResourceFile
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class OsPolicyResourceFileGcs
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class OsPolicyResourceFileRemote
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class OsPolicyResourceFileResource
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class OsPolicyResourceGroup
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class OsPolicyResourcePackageResource
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class OsPolicyResourcePackageResourceApt
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class OsPolicyResourcePackageResourceDeb
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class OsPolicyResourcePackageResourceGooGet
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class OsPolicyResourcePackageResourceMsi
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class OsPolicyResourcePackageResourceRpm
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class OsPolicyResourcePackageResourceYum
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class OsPolicyResourcePackageResourceZypper
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class OsPolicyResourceRepositoryResource
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class OsPolicyResourceRepositoryResourceAptRepository
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class OsPolicyResourceRepositoryResourceGooRepository
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class OsPolicyResourceRepositoryResourceYumRepository
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class OsPolicyResourceRepositoryResourceZypperRepository
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Operation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Status
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class VulnerabilityReport
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class VulnerabilityReportVulnerability
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class VulnerabilityReportVulnerabilityDetails
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class VulnerabilityReportVulnerabilityDetailsReference
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class CvsSv3
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :attack_complexity, as: 'attackComplexity'
371
+ property :attack_vector, as: 'attackVector'
372
+ property :availability_impact, as: 'availabilityImpact'
373
+ property :base_score, as: 'baseScore'
374
+ property :confidentiality_impact, as: 'confidentialityImpact'
375
+ property :exploitability_score, as: 'exploitabilityScore'
376
+ property :impact_score, as: 'impactScore'
377
+ property :integrity_impact, as: 'integrityImpact'
378
+ property :privileges_required, as: 'privilegesRequired'
379
+ property :scope, as: 'scope'
380
+ property :user_interaction, as: 'userInteraction'
381
+ end
382
+ end
383
+
384
+ class CancelOperationRequest
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ end
388
+ end
389
+
390
+ class Empty
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ end
394
+ end
395
+
396
+ class FixedOrPercent
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :fixed, as: 'fixed'
400
+ property :percent, as: 'percent'
401
+ end
402
+ end
403
+
404
+ class InstanceOsPoliciesCompliance
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :detailed_state, as: 'detailedState'
408
+ property :detailed_state_reason, as: 'detailedStateReason'
409
+ property :instance, as: 'instance'
410
+ property :last_compliance_check_time, as: 'lastComplianceCheckTime'
411
+ property :last_compliance_run_id, as: 'lastComplianceRunId'
412
+ property :name, as: 'name'
413
+ collection :os_policy_compliances, as: 'osPolicyCompliances', class: Google::Apis::OsconfigV1alpha::InstanceOsPoliciesComplianceOsPolicyCompliance, decorator: Google::Apis::OsconfigV1alpha::InstanceOsPoliciesComplianceOsPolicyCompliance::Representation
414
+
415
+ property :state, as: 'state'
416
+ end
417
+ end
418
+
419
+ class InstanceOsPoliciesComplianceOsPolicyCompliance
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :os_policy_assignment, as: 'osPolicyAssignment'
423
+ property :os_policy_id, as: 'osPolicyId'
424
+ collection :os_policy_resource_compliances, as: 'osPolicyResourceCompliances', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceCompliance, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceCompliance::Representation
425
+
426
+ property :state, as: 'state'
427
+ end
428
+ end
429
+
430
+ class Inventory
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ hash :items, as: 'items', class: Google::Apis::OsconfigV1alpha::InventoryItem, decorator: Google::Apis::OsconfigV1alpha::InventoryItem::Representation
434
+
435
+ property :name, as: 'name'
436
+ property :os_info, as: 'osInfo', class: Google::Apis::OsconfigV1alpha::InventoryOsInfo, decorator: Google::Apis::OsconfigV1alpha::InventoryOsInfo::Representation
437
+
438
+ property :update_time, as: 'updateTime'
439
+ end
440
+ end
441
+
442
+ class InventoryItem
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :available_package, as: 'availablePackage', class: Google::Apis::OsconfigV1alpha::InventorySoftwarePackage, decorator: Google::Apis::OsconfigV1alpha::InventorySoftwarePackage::Representation
446
+
447
+ property :create_time, as: 'createTime'
448
+ property :id, as: 'id'
449
+ property :installed_package, as: 'installedPackage', class: Google::Apis::OsconfigV1alpha::InventorySoftwarePackage, decorator: Google::Apis::OsconfigV1alpha::InventorySoftwarePackage::Representation
450
+
451
+ property :origin_type, as: 'originType'
452
+ property :type, as: 'type'
453
+ property :update_time, as: 'updateTime'
454
+ end
455
+ end
456
+
457
+ class InventoryOsInfo
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :architecture, as: 'architecture'
461
+ property :hostname, as: 'hostname'
462
+ property :kernel_release, as: 'kernelRelease'
463
+ property :kernel_version, as: 'kernelVersion'
464
+ property :long_name, as: 'longName'
465
+ property :osconfig_agent_version, as: 'osconfigAgentVersion'
466
+ property :short_name, as: 'shortName'
467
+ property :version, as: 'version'
468
+ end
469
+ end
470
+
471
+ class InventorySoftwarePackage
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :apt_package, as: 'aptPackage', class: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage::Representation
475
+
476
+ property :cos_package, as: 'cosPackage', class: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage::Representation
477
+
478
+ property :googet_package, as: 'googetPackage', class: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage::Representation
479
+
480
+ property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1alpha::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryWindowsQuickFixEngineeringPackage::Representation
481
+
482
+ property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackage::Representation
483
+
484
+ property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage::Representation
485
+
486
+ property :zypper_package, as: 'zypperPackage', class: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1alpha::InventoryVersionedPackage::Representation
487
+
488
+ property :zypper_patch, as: 'zypperPatch', class: Google::Apis::OsconfigV1alpha::InventoryZypperPatch, decorator: Google::Apis::OsconfigV1alpha::InventoryZypperPatch::Representation
489
+
490
+ end
491
+ end
492
+
493
+ class InventoryVersionedPackage
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :architecture, as: 'architecture'
497
+ property :package_name, as: 'packageName'
498
+ property :version, as: 'version'
499
+ end
500
+ end
501
+
502
+ class InventoryWindowsQuickFixEngineeringPackage
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :caption, as: 'caption'
506
+ property :description, as: 'description'
507
+ property :hot_fix_id, as: 'hotFixId'
508
+ property :install_time, as: 'installTime'
509
+ end
510
+ end
511
+
512
+ class InventoryWindowsUpdatePackage
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ collection :categories, as: 'categories', class: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackageWindowsUpdateCategory, decorator: Google::Apis::OsconfigV1alpha::InventoryWindowsUpdatePackageWindowsUpdateCategory::Representation
516
+
517
+ property :description, as: 'description'
518
+ collection :kb_article_ids, as: 'kbArticleIds'
519
+ property :last_deployment_change_time, as: 'lastDeploymentChangeTime'
520
+ collection :more_info_urls, as: 'moreInfoUrls'
521
+ property :revision_number, as: 'revisionNumber'
522
+ property :support_url, as: 'supportUrl'
523
+ property :title, as: 'title'
524
+ property :update_id, as: 'updateId'
525
+ end
526
+ end
527
+
528
+ class InventoryWindowsUpdatePackageWindowsUpdateCategory
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :id, as: 'id'
532
+ property :name, as: 'name'
533
+ end
534
+ end
535
+
536
+ class InventoryZypperPatch
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ property :category, as: 'category'
540
+ property :patch_name, as: 'patchName'
541
+ property :severity, as: 'severity'
542
+ property :summary, as: 'summary'
543
+ end
544
+ end
545
+
546
+ class ListInstanceOsPoliciesCompliancesResponse
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ collection :instance_os_policies_compliances, as: 'instanceOsPoliciesCompliances', class: Google::Apis::OsconfigV1alpha::InstanceOsPoliciesCompliance, decorator: Google::Apis::OsconfigV1alpha::InstanceOsPoliciesCompliance::Representation
550
+
551
+ property :next_page_token, as: 'nextPageToken'
552
+ end
553
+ end
554
+
555
+ class ListInventoriesResponse
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ collection :inventories, as: 'inventories', class: Google::Apis::OsconfigV1alpha::Inventory, decorator: Google::Apis::OsconfigV1alpha::Inventory::Representation
559
+
560
+ property :next_page_token, as: 'nextPageToken'
561
+ end
562
+ end
563
+
564
+ class ListOsPolicyAssignmentRevisionsResponse
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :next_page_token, as: 'nextPageToken'
568
+ collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignment::Representation
569
+
570
+ end
571
+ end
572
+
573
+ class ListOsPolicyAssignmentsResponse
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :next_page_token, as: 'nextPageToken'
577
+ collection :os_policy_assignments, as: 'osPolicyAssignments', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignment, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignment::Representation
578
+
579
+ end
580
+ end
581
+
582
+ class ListVulnerabilityReportsResponse
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :next_page_token, as: 'nextPageToken'
586
+ collection :vulnerability_reports, as: 'vulnerabilityReports', class: Google::Apis::OsconfigV1alpha::VulnerabilityReport, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReport::Representation
587
+
588
+ end
589
+ end
590
+
591
+ class OsPolicy
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :allow_no_resource_group_match, as: 'allowNoResourceGroupMatch'
595
+ property :description, as: 'description'
596
+ property :id, as: 'id'
597
+ property :mode, as: 'mode'
598
+ collection :resource_groups, as: 'resourceGroups', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceGroup, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceGroup::Representation
599
+
600
+ end
601
+ end
602
+
603
+ class OsPolicyAssignment
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :baseline, as: 'baseline'
607
+ property :deleted, as: 'deleted'
608
+ property :description, as: 'description'
609
+ property :instance_filter, as: 'instanceFilter', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilter, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentInstanceFilter::Representation
610
+
611
+ property :name, as: 'name'
612
+ collection :os_policies, as: 'osPolicies', class: Google::Apis::OsconfigV1alpha::OsPolicy, decorator: Google::Apis::OsconfigV1alpha::OsPolicy::Representation
613
+
614
+ property :reconciling, as: 'reconciling'
615
+ property :revision_create_time, as: 'revisionCreateTime'
616
+ property :revision_id, as: 'revisionId'
617
+ property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentRollout, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentRollout::Representation
618
+
619
+ property :rollout_state, as: 'rolloutState'
620
+ property :uid, as: 'uid'
621
+ end
622
+ end
623
+
624
+ class OsPolicyAssignmentInstanceFilter
625
+ # @private
626
+ class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :all, as: 'all'
628
+ collection :exclusion_labels, as: 'exclusionLabels', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet::Representation
629
+
630
+ collection :inclusion_labels, as: 'inclusionLabels', class: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet, decorator: Google::Apis::OsconfigV1alpha::OsPolicyAssignmentLabelSet::Representation
631
+
632
+ collection :os_short_names, as: 'osShortNames'
633
+ end
634
+ end
635
+
636
+ class OsPolicyAssignmentLabelSet
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ hash :labels, as: 'labels'
640
+ end
641
+ end
642
+
643
+ class OsPolicyAssignmentOperationMetadata
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :api_method, as: 'apiMethod'
647
+ property :os_policy_assignment, as: 'osPolicyAssignment'
648
+ property :rollout_start_time, as: 'rolloutStartTime'
649
+ property :rollout_state, as: 'rolloutState'
650
+ property :rollout_update_time, as: 'rolloutUpdateTime'
651
+ end
652
+ end
653
+
654
+ class OsPolicyAssignmentRollout
655
+ # @private
656
+ class Representation < Google::Apis::Core::JsonRepresentation
657
+ property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::OsconfigV1alpha::FixedOrPercent, decorator: Google::Apis::OsconfigV1alpha::FixedOrPercent::Representation
658
+
659
+ property :min_wait_duration, as: 'minWaitDuration'
660
+ end
661
+ end
662
+
663
+ class OsPolicyOsFilter
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :os_short_name, as: 'osShortName'
667
+ property :os_version, as: 'osVersion'
668
+ end
669
+ end
670
+
671
+ class OsPolicyResource
672
+ # @private
673
+ class Representation < Google::Apis::Core::JsonRepresentation
674
+ property :exec, as: 'exec', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceExecResource, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceExecResource::Representation
675
+
676
+ property :file, as: 'file', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFileResource, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFileResource::Representation
677
+
678
+ property :id, as: 'id'
679
+ property :pkg, as: 'pkg', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResource, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResource::Representation
680
+
681
+ property :repository, as: 'repository', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResource, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResource::Representation
682
+
683
+ end
684
+ end
685
+
686
+ class OsPolicyResourceCompliance
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ collection :config_steps, as: 'configSteps', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceConfigStep, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceConfigStep::Representation
690
+
691
+ property :exec_resource_output, as: 'execResourceOutput', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceComplianceExecResourceOutput, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceComplianceExecResourceOutput::Representation
692
+
693
+ property :os_policy_resource_id, as: 'osPolicyResourceId'
694
+ property :state, as: 'state'
695
+ end
696
+ end
697
+
698
+ class OsPolicyResourceComplianceExecResourceOutput
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :enforcement_output, :base64 => true, as: 'enforcementOutput'
702
+ end
703
+ end
704
+
705
+ class OsPolicyResourceConfigStep
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :outcome, as: 'outcome'
709
+ property :type, as: 'type'
710
+ end
711
+ end
712
+
713
+ class OsPolicyResourceExecResource
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :enforce, as: 'enforce', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceExecResourceExec, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceExecResourceExec::Representation
717
+
718
+ property :validate, as: 'validate', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceExecResourceExec, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceExecResourceExec::Representation
719
+
720
+ end
721
+ end
722
+
723
+ class OsPolicyResourceExecResourceExec
724
+ # @private
725
+ class Representation < Google::Apis::Core::JsonRepresentation
726
+ collection :args, as: 'args'
727
+ property :file, as: 'file', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile::Representation
728
+
729
+ property :interpreter, as: 'interpreter'
730
+ property :output_file_path, as: 'outputFilePath'
731
+ property :script, as: 'script'
732
+ end
733
+ end
734
+
735
+ class OsPolicyResourceFile
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :allow_insecure, as: 'allowInsecure'
739
+ property :gcs, as: 'gcs', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFileGcs, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFileGcs::Representation
740
+
741
+ property :local_path, as: 'localPath'
742
+ property :remote, as: 'remote', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFileRemote, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFileRemote::Representation
743
+
744
+ end
745
+ end
746
+
747
+ class OsPolicyResourceFileGcs
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :bucket, as: 'bucket'
751
+ property :generation, :numeric_string => true, as: 'generation'
752
+ property :object, as: 'object'
753
+ end
754
+ end
755
+
756
+ class OsPolicyResourceFileRemote
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :sha256_checksum, as: 'sha256Checksum'
760
+ property :uri, as: 'uri'
761
+ end
762
+ end
763
+
764
+ class OsPolicyResourceFileResource
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :content, as: 'content'
768
+ property :file, as: 'file', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile::Representation
769
+
770
+ property :path, as: 'path'
771
+ property :permissions, as: 'permissions'
772
+ property :state, as: 'state'
773
+ end
774
+ end
775
+
776
+ class OsPolicyResourceGroup
777
+ # @private
778
+ class Representation < Google::Apis::Core::JsonRepresentation
779
+ property :os_filter, as: 'osFilter', class: Google::Apis::OsconfigV1alpha::OsPolicyOsFilter, decorator: Google::Apis::OsconfigV1alpha::OsPolicyOsFilter::Representation
780
+
781
+ collection :resources, as: 'resources', class: Google::Apis::OsconfigV1alpha::OsPolicyResource, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResource::Representation
782
+
783
+ end
784
+ end
785
+
786
+ class OsPolicyResourcePackageResource
787
+ # @private
788
+ class Representation < Google::Apis::Core::JsonRepresentation
789
+ property :apt, as: 'apt', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceApt, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceApt::Representation
790
+
791
+ property :deb, as: 'deb', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceDeb, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceDeb::Representation
792
+
793
+ property :desired_state, as: 'desiredState'
794
+ property :googet, as: 'googet', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceGooGet, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceGooGet::Representation
795
+
796
+ property :msi, as: 'msi', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceMsi, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceMsi::Representation
797
+
798
+ property :rpm, as: 'rpm', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceRpm, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceRpm::Representation
799
+
800
+ property :yum, as: 'yum', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceYum, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceYum::Representation
801
+
802
+ property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceZypper, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourcePackageResourceZypper::Representation
803
+
804
+ end
805
+ end
806
+
807
+ class OsPolicyResourcePackageResourceApt
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :name, as: 'name'
811
+ end
812
+ end
813
+
814
+ class OsPolicyResourcePackageResourceDeb
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :pull_deps, as: 'pullDeps'
818
+ property :source, as: 'source', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile::Representation
819
+
820
+ end
821
+ end
822
+
823
+ class OsPolicyResourcePackageResourceGooGet
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :name, as: 'name'
827
+ end
828
+ end
829
+
830
+ class OsPolicyResourcePackageResourceMsi
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ collection :properties, as: 'properties'
834
+ property :source, as: 'source', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile::Representation
835
+
836
+ end
837
+ end
838
+
839
+ class OsPolicyResourcePackageResourceRpm
840
+ # @private
841
+ class Representation < Google::Apis::Core::JsonRepresentation
842
+ property :pull_deps, as: 'pullDeps'
843
+ property :source, as: 'source', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceFile::Representation
844
+
845
+ end
846
+ end
847
+
848
+ class OsPolicyResourcePackageResourceYum
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :name, as: 'name'
852
+ end
853
+ end
854
+
855
+ class OsPolicyResourcePackageResourceZypper
856
+ # @private
857
+ class Representation < Google::Apis::Core::JsonRepresentation
858
+ property :name, as: 'name'
859
+ end
860
+ end
861
+
862
+ class OsPolicyResourceRepositoryResource
863
+ # @private
864
+ class Representation < Google::Apis::Core::JsonRepresentation
865
+ property :apt, as: 'apt', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceAptRepository, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceAptRepository::Representation
866
+
867
+ property :goo, as: 'goo', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceGooRepository, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceGooRepository::Representation
868
+
869
+ property :yum, as: 'yum', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceYumRepository, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceYumRepository::Representation
870
+
871
+ property :zypper, as: 'zypper', class: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceZypperRepository, decorator: Google::Apis::OsconfigV1alpha::OsPolicyResourceRepositoryResourceZypperRepository::Representation
872
+
873
+ end
874
+ end
875
+
876
+ class OsPolicyResourceRepositoryResourceAptRepository
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :archive_type, as: 'archiveType'
880
+ collection :components, as: 'components'
881
+ property :distribution, as: 'distribution'
882
+ property :gpg_key, as: 'gpgKey'
883
+ property :uri, as: 'uri'
884
+ end
885
+ end
886
+
887
+ class OsPolicyResourceRepositoryResourceGooRepository
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ property :name, as: 'name'
891
+ property :url, as: 'url'
892
+ end
893
+ end
894
+
895
+ class OsPolicyResourceRepositoryResourceYumRepository
896
+ # @private
897
+ class Representation < Google::Apis::Core::JsonRepresentation
898
+ property :base_url, as: 'baseUrl'
899
+ property :display_name, as: 'displayName'
900
+ collection :gpg_keys, as: 'gpgKeys'
901
+ property :id, as: 'id'
902
+ end
903
+ end
904
+
905
+ class OsPolicyResourceRepositoryResourceZypperRepository
906
+ # @private
907
+ class Representation < Google::Apis::Core::JsonRepresentation
908
+ property :base_url, as: 'baseUrl'
909
+ property :display_name, as: 'displayName'
910
+ collection :gpg_keys, as: 'gpgKeys'
911
+ property :id, as: 'id'
912
+ end
913
+ end
914
+
915
+ class Operation
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ property :done, as: 'done'
919
+ property :error, as: 'error', class: Google::Apis::OsconfigV1alpha::Status, decorator: Google::Apis::OsconfigV1alpha::Status::Representation
920
+
921
+ hash :metadata, as: 'metadata'
922
+ property :name, as: 'name'
923
+ hash :response, as: 'response'
924
+ end
925
+ end
926
+
927
+ class Status
928
+ # @private
929
+ class Representation < Google::Apis::Core::JsonRepresentation
930
+ property :code, as: 'code'
931
+ collection :details, as: 'details'
932
+ property :message, as: 'message'
933
+ end
934
+ end
935
+
936
+ class VulnerabilityReport
937
+ # @private
938
+ class Representation < Google::Apis::Core::JsonRepresentation
939
+ property :name, as: 'name'
940
+ property :update_time, as: 'updateTime'
941
+ collection :vulnerabilities, as: 'vulnerabilities', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerability, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerability::Representation
942
+
943
+ end
944
+ end
945
+
946
+ class VulnerabilityReportVulnerability
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ collection :available_inventory_item_ids, as: 'availableInventoryItemIds'
950
+ property :create_time, as: 'createTime'
951
+ property :details, as: 'details', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetails, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetails::Representation
952
+
953
+ collection :installed_inventory_item_ids, as: 'installedInventoryItemIds'
954
+ property :update_time, as: 'updateTime'
955
+ end
956
+ end
957
+
958
+ class VulnerabilityReportVulnerabilityDetails
959
+ # @private
960
+ class Representation < Google::Apis::Core::JsonRepresentation
961
+ property :cve, as: 'cve'
962
+ property :cvss_v2_score, as: 'cvssV2Score'
963
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::OsconfigV1alpha::CvsSv3, decorator: Google::Apis::OsconfigV1alpha::CvsSv3::Representation
964
+
965
+ property :description, as: 'description'
966
+ collection :references, as: 'references', class: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetailsReference, decorator: Google::Apis::OsconfigV1alpha::VulnerabilityReportVulnerabilityDetailsReference::Representation
967
+
968
+ property :severity, as: 'severity'
969
+ end
970
+ end
971
+
972
+ class VulnerabilityReportVulnerabilityDetailsReference
973
+ # @private
974
+ class Representation < Google::Apis::Core::JsonRepresentation
975
+ property :url, as: 'url'
976
+ end
977
+ end
978
+ end
979
+ end
980
+ end