google-apis-containeranalysis_v1alpha1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 ContaineranalysisV1alpha1
18
+ # Version of the google-apis-containeranalysis_v1alpha1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201112"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1145 @@
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 ContaineranalysisV1alpha1
24
+
25
+ class Artifact
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Attestation
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AttestationAuthority
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AttestationAuthorityHint
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Basis
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Binding
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BuildDetails
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BuildProvenance
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BuildSignature
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BuildType
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Command
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CreateOperationRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Deployable
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Deployment
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Derived
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Detail
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Discovered
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Discovery
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Distribution
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Empty
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Expr
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class FileHashes
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Fingerprint
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GetIamPolicyRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GetPolicyOptions
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GetVulnzOccurrencesSummaryResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleDevtoolsContaineranalysisV1alpha1AliasContext
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleDevtoolsContaineranalysisV1alpha1RepoId
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleDevtoolsContaineranalysisV1alpha1SourceContext
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class HashProp
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Installation
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Layer
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ListNoteOccurrencesResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListNotesResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListOccurrencesResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ListScanConfigsResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Location
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Note
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Occurrence
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Operation
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Package
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PackageIssue
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class PgpSignedAttestation
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Policy
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class RelatedUrl
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class RepoSource
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Resource
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ScanConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SetIamPolicyRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class SeverityCount
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class Source
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Status
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class StorageSource
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class TestIamPermissionsRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class TestIamPermissionsResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class UpdateOperationRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class UpgradeDistribution
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class UpgradeNote
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class UpgradeOccurrence
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class Version
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class VulnerabilityDetails
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class VulnerabilityLocation
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class VulnerabilityType
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class Artifact
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :checksum, as: 'checksum'
437
+ property :id, as: 'id'
438
+ property :name, as: 'name'
439
+ collection :names, as: 'names'
440
+ end
441
+ end
442
+
443
+ class Attestation
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :pgp_signed_attestation, as: 'pgpSignedAttestation', class: Google::Apis::ContaineranalysisV1alpha1::PgpSignedAttestation, decorator: Google::Apis::ContaineranalysisV1alpha1::PgpSignedAttestation::Representation
447
+
448
+ end
449
+ end
450
+
451
+ class AttestationAuthority
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :hint, as: 'hint', class: Google::Apis::ContaineranalysisV1alpha1::AttestationAuthorityHint, decorator: Google::Apis::ContaineranalysisV1alpha1::AttestationAuthorityHint::Representation
455
+
456
+ end
457
+ end
458
+
459
+ class AttestationAuthorityHint
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :human_readable_name, as: 'humanReadableName'
463
+ end
464
+ end
465
+
466
+ class Basis
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :fingerprint, as: 'fingerprint', class: Google::Apis::ContaineranalysisV1alpha1::Fingerprint, decorator: Google::Apis::ContaineranalysisV1alpha1::Fingerprint::Representation
470
+
471
+ property :resource_url, as: 'resourceUrl'
472
+ end
473
+ end
474
+
475
+ class Binding
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1alpha1::Expr, decorator: Google::Apis::ContaineranalysisV1alpha1::Expr::Representation
479
+
480
+ collection :members, as: 'members'
481
+ property :role, as: 'role'
482
+ end
483
+ end
484
+
485
+ class BuildDetails
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :provenance, as: 'provenance', class: Google::Apis::ContaineranalysisV1alpha1::BuildProvenance, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildProvenance::Representation
489
+
490
+ property :provenance_bytes, as: 'provenanceBytes'
491
+ end
492
+ end
493
+
494
+ class BuildProvenance
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ hash :build_options, as: 'buildOptions'
498
+ property :builder_version, as: 'builderVersion'
499
+ collection :built_artifacts, as: 'builtArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::Artifact, decorator: Google::Apis::ContaineranalysisV1alpha1::Artifact::Representation
500
+
501
+ collection :commands, as: 'commands', class: Google::Apis::ContaineranalysisV1alpha1::Command, decorator: Google::Apis::ContaineranalysisV1alpha1::Command::Representation
502
+
503
+ property :create_time, as: 'createTime'
504
+ property :creator, as: 'creator'
505
+ property :finish_time, as: 'finishTime'
506
+ property :id, as: 'id'
507
+ property :logs_bucket, as: 'logsBucket'
508
+ property :project_id, as: 'projectId'
509
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::ContaineranalysisV1alpha1::Source, decorator: Google::Apis::ContaineranalysisV1alpha1::Source::Representation
510
+
511
+ property :start_time, as: 'startTime'
512
+ property :trigger_id, as: 'triggerId'
513
+ end
514
+ end
515
+
516
+ class BuildSignature
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :key_id, as: 'keyId'
520
+ property :key_type, as: 'keyType'
521
+ property :public_key, as: 'publicKey'
522
+ property :signature, as: 'signature'
523
+ end
524
+ end
525
+
526
+ class BuildType
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :builder_version, as: 'builderVersion'
530
+ property :signature, as: 'signature', class: Google::Apis::ContaineranalysisV1alpha1::BuildSignature, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildSignature::Representation
531
+
532
+ end
533
+ end
534
+
535
+ class Command
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ collection :args, as: 'args'
539
+ property :dir, as: 'dir'
540
+ collection :env, as: 'env'
541
+ property :id, as: 'id'
542
+ property :name, as: 'name'
543
+ collection :wait_for, as: 'waitFor'
544
+ end
545
+ end
546
+
547
+ class CreateOperationRequest
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
551
+
552
+ property :operation_id, as: 'operationId'
553
+ end
554
+ end
555
+
556
+ class Deployable
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ collection :resource_uri, as: 'resourceUri'
560
+ end
561
+ end
562
+
563
+ class Deployment
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :address, as: 'address'
567
+ property :config, as: 'config'
568
+ property :deploy_time, as: 'deployTime'
569
+ property :platform, as: 'platform'
570
+ collection :resource_uri, as: 'resourceUri'
571
+ property :undeploy_time, as: 'undeployTime'
572
+ property :user_email, as: 'userEmail'
573
+ end
574
+ end
575
+
576
+ class Derived
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :base_resource_url, as: 'baseResourceUrl'
580
+ property :distance, as: 'distance'
581
+ property :fingerprint, as: 'fingerprint', class: Google::Apis::ContaineranalysisV1alpha1::Fingerprint, decorator: Google::Apis::ContaineranalysisV1alpha1::Fingerprint::Representation
582
+
583
+ collection :layer_info, as: 'layerInfo', class: Google::Apis::ContaineranalysisV1alpha1::Layer, decorator: Google::Apis::ContaineranalysisV1alpha1::Layer::Representation
584
+
585
+ end
586
+ end
587
+
588
+ class Detail
589
+ # @private
590
+ class Representation < Google::Apis::Core::JsonRepresentation
591
+ property :cpe_uri, as: 'cpeUri'
592
+ property :description, as: 'description'
593
+ property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
594
+
595
+ property :is_obsolete, as: 'isObsolete'
596
+ property :max_affected_version, as: 'maxAffectedVersion', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
597
+
598
+ property :min_affected_version, as: 'minAffectedVersion', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
599
+
600
+ property :package, as: 'package'
601
+ property :package_type, as: 'packageType'
602
+ property :severity_name, as: 'severityName'
603
+ end
604
+ end
605
+
606
+ class Discovered
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :analysis_status, as: 'analysisStatus'
610
+ property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
611
+
612
+ property :continuous_analysis, as: 'continuousAnalysis'
613
+ property :cpe, as: 'cpe'
614
+ property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
615
+
616
+ end
617
+ end
618
+
619
+ class Discovery
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :analysis_kind, as: 'analysisKind'
623
+ end
624
+ end
625
+
626
+ class Distribution
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :architecture, as: 'architecture'
630
+ property :cpe_uri, as: 'cpeUri'
631
+ property :description, as: 'description'
632
+ property :latest_version, as: 'latestVersion', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
633
+
634
+ property :maintainer, as: 'maintainer'
635
+ property :url, as: 'url'
636
+ end
637
+ end
638
+
639
+ class Empty
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ end
643
+ end
644
+
645
+ class Expr
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ property :description, as: 'description'
649
+ property :expression, as: 'expression'
650
+ property :location, as: 'location'
651
+ property :title, as: 'title'
652
+ end
653
+ end
654
+
655
+ class FileHashes
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ collection :file_hash, as: 'fileHash', class: Google::Apis::ContaineranalysisV1alpha1::HashProp, decorator: Google::Apis::ContaineranalysisV1alpha1::HashProp::Representation
659
+
660
+ end
661
+ end
662
+
663
+ class Fingerprint
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ property :v1_name, as: 'v1Name'
667
+ collection :v2_blob, as: 'v2Blob'
668
+ property :v2_name, as: 'v2Name'
669
+ end
670
+ end
671
+
672
+ class GetIamPolicyRequest
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :options, as: 'options', class: Google::Apis::ContaineranalysisV1alpha1::GetPolicyOptions, decorator: Google::Apis::ContaineranalysisV1alpha1::GetPolicyOptions::Representation
676
+
677
+ end
678
+ end
679
+
680
+ class GetPolicyOptions
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ property :requested_policy_version, as: 'requestedPolicyVersion'
684
+ end
685
+ end
686
+
687
+ class GetVulnzOccurrencesSummaryResponse
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ collection :counts, as: 'counts', class: Google::Apis::ContaineranalysisV1alpha1::SeverityCount, decorator: Google::Apis::ContaineranalysisV1alpha1::SeverityCount::Representation
691
+
692
+ end
693
+ end
694
+
695
+ class GoogleDevtoolsContaineranalysisV1alpha1AliasContext
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :kind, as: 'kind'
699
+ property :name, as: 'name'
700
+ end
701
+ end
702
+
703
+ class GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1AliasContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1AliasContext::Representation
707
+
708
+ property :repo_id, as: 'repoId', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1RepoId, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1RepoId::Representation
709
+
710
+ property :revision_id, as: 'revisionId'
711
+ end
712
+ end
713
+
714
+ class GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1AliasContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1AliasContext::Representation
718
+
719
+ property :gerrit_project, as: 'gerritProject'
720
+ property :host_uri, as: 'hostUri'
721
+ property :revision_id, as: 'revisionId'
722
+ end
723
+ end
724
+
725
+ class GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext
726
+ # @private
727
+ class Representation < Google::Apis::Core::JsonRepresentation
728
+ property :revision_id, as: 'revisionId'
729
+ property :url, as: 'url'
730
+ end
731
+ end
732
+
733
+ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :create_time, as: 'createTime'
737
+ property :end_time, as: 'endTime'
738
+ end
739
+ end
740
+
741
+ class GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :project_id, as: 'projectId'
745
+ property :repo_name, as: 'repoName'
746
+ end
747
+ end
748
+
749
+ class GoogleDevtoolsContaineranalysisV1alpha1RepoId
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoId::Representation
753
+
754
+ property :uid, as: 'uid'
755
+ end
756
+ end
757
+
758
+ class GoogleDevtoolsContaineranalysisV1alpha1SourceContext
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContext::Representation
762
+
763
+ property :gerrit, as: 'gerrit', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContext::Representation
764
+
765
+ property :git, as: 'git', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1GitSourceContext::Representation
766
+
767
+ hash :labels, as: 'labels'
768
+ end
769
+ end
770
+
771
+ class HashProp
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ property :type, as: 'type'
775
+ property :value, :base64 => true, as: 'value'
776
+ end
777
+ end
778
+
779
+ class Installation
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1alpha1::Location, decorator: Google::Apis::ContaineranalysisV1alpha1::Location::Representation
783
+
784
+ property :name, as: 'name'
785
+ end
786
+ end
787
+
788
+ class Layer
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :arguments, as: 'arguments'
792
+ property :directive, as: 'directive'
793
+ end
794
+ end
795
+
796
+ class ListNoteOccurrencesResponse
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :next_page_token, as: 'nextPageToken'
800
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1alpha1::Occurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
801
+
802
+ end
803
+ end
804
+
805
+ class ListNotesResponse
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ property :next_page_token, as: 'nextPageToken'
809
+ collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1alpha1::Note, decorator: Google::Apis::ContaineranalysisV1alpha1::Note::Representation
810
+
811
+ end
812
+ end
813
+
814
+ class ListOccurrencesResponse
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :next_page_token, as: 'nextPageToken'
818
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1alpha1::Occurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::Occurrence::Representation
819
+
820
+ end
821
+ end
822
+
823
+ class ListScanConfigsResponse
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :next_page_token, as: 'nextPageToken'
827
+ collection :scan_configs, as: 'scanConfigs', class: Google::Apis::ContaineranalysisV1alpha1::ScanConfig, decorator: Google::Apis::ContaineranalysisV1alpha1::ScanConfig::Representation
828
+
829
+ end
830
+ end
831
+
832
+ class Location
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ property :cpe_uri, as: 'cpeUri'
836
+ property :path, as: 'path'
837
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
838
+
839
+ end
840
+ end
841
+
842
+ class Note
843
+ # @private
844
+ class Representation < Google::Apis::Core::JsonRepresentation
845
+ property :attestation_authority, as: 'attestationAuthority', class: Google::Apis::ContaineranalysisV1alpha1::AttestationAuthority, decorator: Google::Apis::ContaineranalysisV1alpha1::AttestationAuthority::Representation
846
+
847
+ property :base_image, as: 'baseImage', class: Google::Apis::ContaineranalysisV1alpha1::Basis, decorator: Google::Apis::ContaineranalysisV1alpha1::Basis::Representation
848
+
849
+ property :build_type, as: 'buildType', class: Google::Apis::ContaineranalysisV1alpha1::BuildType, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildType::Representation
850
+
851
+ property :create_time, as: 'createTime'
852
+ property :deployable, as: 'deployable', class: Google::Apis::ContaineranalysisV1alpha1::Deployable, decorator: Google::Apis::ContaineranalysisV1alpha1::Deployable::Representation
853
+
854
+ property :discovery, as: 'discovery', class: Google::Apis::ContaineranalysisV1alpha1::Discovery, decorator: Google::Apis::ContaineranalysisV1alpha1::Discovery::Representation
855
+
856
+ property :expiration_time, as: 'expirationTime'
857
+ property :kind, as: 'kind'
858
+ property :long_description, as: 'longDescription'
859
+ property :name, as: 'name'
860
+ property :package, as: 'package', class: Google::Apis::ContaineranalysisV1alpha1::Package, decorator: Google::Apis::ContaineranalysisV1alpha1::Package::Representation
861
+
862
+ collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1alpha1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1alpha1::RelatedUrl::Representation
863
+
864
+ property :short_description, as: 'shortDescription'
865
+ property :update_time, as: 'updateTime'
866
+ property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeNote::Representation
867
+
868
+ property :vulnerability_type, as: 'vulnerabilityType', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityType::Representation
869
+
870
+ end
871
+ end
872
+
873
+ class Occurrence
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :attestation, as: 'attestation', class: Google::Apis::ContaineranalysisV1alpha1::Attestation, decorator: Google::Apis::ContaineranalysisV1alpha1::Attestation::Representation
877
+
878
+ property :build_details, as: 'buildDetails', class: Google::Apis::ContaineranalysisV1alpha1::BuildDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildDetails::Representation
879
+
880
+ property :create_time, as: 'createTime'
881
+ property :deployment, as: 'deployment', class: Google::Apis::ContaineranalysisV1alpha1::Deployment, decorator: Google::Apis::ContaineranalysisV1alpha1::Deployment::Representation
882
+
883
+ property :derived_image, as: 'derivedImage', class: Google::Apis::ContaineranalysisV1alpha1::Derived, decorator: Google::Apis::ContaineranalysisV1alpha1::Derived::Representation
884
+
885
+ property :discovered, as: 'discovered', class: Google::Apis::ContaineranalysisV1alpha1::Discovered, decorator: Google::Apis::ContaineranalysisV1alpha1::Discovered::Representation
886
+
887
+ property :installation, as: 'installation', class: Google::Apis::ContaineranalysisV1alpha1::Installation, decorator: Google::Apis::ContaineranalysisV1alpha1::Installation::Representation
888
+
889
+ property :kind, as: 'kind'
890
+ property :name, as: 'name'
891
+ property :note_name, as: 'noteName'
892
+ property :remediation, as: 'remediation'
893
+ property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1alpha1::Resource, decorator: Google::Apis::ContaineranalysisV1alpha1::Resource::Representation
894
+
895
+ property :resource_url, as: 'resourceUrl'
896
+ property :update_time, as: 'updateTime'
897
+ property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeOccurrence::Representation
898
+
899
+ property :vulnerability_details, as: 'vulnerabilityDetails', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityDetails::Representation
900
+
901
+ end
902
+ end
903
+
904
+ class Operation
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :done, as: 'done'
908
+ property :error, as: 'error', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
909
+
910
+ hash :metadata, as: 'metadata'
911
+ property :name, as: 'name'
912
+ hash :response, as: 'response'
913
+ end
914
+ end
915
+
916
+ class Package
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1alpha1::Distribution, decorator: Google::Apis::ContaineranalysisV1alpha1::Distribution::Representation
920
+
921
+ property :name, as: 'name'
922
+ end
923
+ end
924
+
925
+ class PackageIssue
926
+ # @private
927
+ class Representation < Google::Apis::Core::JsonRepresentation
928
+ property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
929
+
930
+ property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
931
+
932
+ property :severity_name, as: 'severityName'
933
+ end
934
+ end
935
+
936
+ class PgpSignedAttestation
937
+ # @private
938
+ class Representation < Google::Apis::Core::JsonRepresentation
939
+ property :content_type, as: 'contentType'
940
+ property :pgp_key_id, as: 'pgpKeyId'
941
+ property :signature, as: 'signature'
942
+ end
943
+ end
944
+
945
+ class Policy
946
+ # @private
947
+ class Representation < Google::Apis::Core::JsonRepresentation
948
+ collection :bindings, as: 'bindings', class: Google::Apis::ContaineranalysisV1alpha1::Binding, decorator: Google::Apis::ContaineranalysisV1alpha1::Binding::Representation
949
+
950
+ property :etag, :base64 => true, as: 'etag'
951
+ property :version, as: 'version'
952
+ end
953
+ end
954
+
955
+ class RelatedUrl
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :label, as: 'label'
959
+ property :url, as: 'url'
960
+ end
961
+ end
962
+
963
+ class RepoSource
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :branch_name, as: 'branchName'
967
+ property :commit_sha, as: 'commitSha'
968
+ property :project_id, as: 'projectId'
969
+ property :repo_name, as: 'repoName'
970
+ property :tag_name, as: 'tagName'
971
+ end
972
+ end
973
+
974
+ class Resource
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :content_hash, as: 'contentHash', class: Google::Apis::ContaineranalysisV1alpha1::HashProp, decorator: Google::Apis::ContaineranalysisV1alpha1::HashProp::Representation
978
+
979
+ property :name, as: 'name'
980
+ property :uri, as: 'uri'
981
+ end
982
+ end
983
+
984
+ class ScanConfig
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ property :create_time, as: 'createTime'
988
+ property :description, as: 'description'
989
+ property :enabled, as: 'enabled'
990
+ property :name, as: 'name'
991
+ property :update_time, as: 'updateTime'
992
+ end
993
+ end
994
+
995
+ class SetIamPolicyRequest
996
+ # @private
997
+ class Representation < Google::Apis::Core::JsonRepresentation
998
+ property :policy, as: 'policy', class: Google::Apis::ContaineranalysisV1alpha1::Policy, decorator: Google::Apis::ContaineranalysisV1alpha1::Policy::Representation
999
+
1000
+ end
1001
+ end
1002
+
1003
+ class SeverityCount
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ property :count, :numeric_string => true, as: 'count'
1007
+ property :severity, as: 'severity'
1008
+ end
1009
+ end
1010
+
1011
+ class Source
1012
+ # @private
1013
+ class Representation < Google::Apis::Core::JsonRepresentation
1014
+ collection :additional_contexts, as: 'additionalContexts', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SourceContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SourceContext::Representation
1015
+
1016
+ property :artifact_storage_source, as: 'artifactStorageSource', class: Google::Apis::ContaineranalysisV1alpha1::StorageSource, decorator: Google::Apis::ContaineranalysisV1alpha1::StorageSource::Representation
1017
+
1018
+ property :context, as: 'context', class: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SourceContext, decorator: Google::Apis::ContaineranalysisV1alpha1::GoogleDevtoolsContaineranalysisV1alpha1SourceContext::Representation
1019
+
1020
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1alpha1::FileHashes, decorator: Google::Apis::ContaineranalysisV1alpha1::FileHashes::Representation
1021
+
1022
+ property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1alpha1::RepoSource, decorator: Google::Apis::ContaineranalysisV1alpha1::RepoSource::Representation
1023
+
1024
+ property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1alpha1::StorageSource, decorator: Google::Apis::ContaineranalysisV1alpha1::StorageSource::Representation
1025
+
1026
+ end
1027
+ end
1028
+
1029
+ class Status
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :code, as: 'code'
1033
+ collection :details, as: 'details'
1034
+ property :message, as: 'message'
1035
+ end
1036
+ end
1037
+
1038
+ class StorageSource
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :bucket, as: 'bucket'
1042
+ property :generation, :numeric_string => true, as: 'generation'
1043
+ property :object, as: 'object'
1044
+ end
1045
+ end
1046
+
1047
+ class TestIamPermissionsRequest
1048
+ # @private
1049
+ class Representation < Google::Apis::Core::JsonRepresentation
1050
+ collection :permissions, as: 'permissions'
1051
+ end
1052
+ end
1053
+
1054
+ class TestIamPermissionsResponse
1055
+ # @private
1056
+ class Representation < Google::Apis::Core::JsonRepresentation
1057
+ collection :permissions, as: 'permissions'
1058
+ end
1059
+ end
1060
+
1061
+ class UpdateOperationRequest
1062
+ # @private
1063
+ class Representation < Google::Apis::Core::JsonRepresentation
1064
+ property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
1065
+
1066
+ property :update_mask, as: 'updateMask'
1067
+ end
1068
+ end
1069
+
1070
+ class UpgradeDistribution
1071
+ # @private
1072
+ class Representation < Google::Apis::Core::JsonRepresentation
1073
+ property :classification, as: 'classification'
1074
+ property :cpe_uri, as: 'cpeUri'
1075
+ collection :cve, as: 'cve'
1076
+ property :severity, as: 'severity'
1077
+ end
1078
+ end
1079
+
1080
+ class UpgradeNote
1081
+ # @private
1082
+ class Representation < Google::Apis::Core::JsonRepresentation
1083
+ collection :distributions, as: 'distributions', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution::Representation
1084
+
1085
+ property :package, as: 'package'
1086
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
1087
+
1088
+ end
1089
+ end
1090
+
1091
+ class UpgradeOccurrence
1092
+ # @private
1093
+ class Representation < Google::Apis::Core::JsonRepresentation
1094
+ property :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution, decorator: Google::Apis::ContaineranalysisV1alpha1::UpgradeDistribution::Representation
1095
+
1096
+ property :package, as: 'package'
1097
+ property :parsed_version, as: 'parsedVersion', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
1098
+
1099
+ end
1100
+ end
1101
+
1102
+ class Version
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ property :epoch, as: 'epoch'
1106
+ property :kind, as: 'kind'
1107
+ property :name, as: 'name'
1108
+ property :revision, as: 'revision'
1109
+ end
1110
+ end
1111
+
1112
+ class VulnerabilityDetails
1113
+ # @private
1114
+ class Representation < Google::Apis::Core::JsonRepresentation
1115
+ property :cvss_score, as: 'cvssScore'
1116
+ property :effective_severity, as: 'effectiveSeverity'
1117
+ collection :package_issue, as: 'packageIssue', class: Google::Apis::ContaineranalysisV1alpha1::PackageIssue, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageIssue::Representation
1118
+
1119
+ property :severity, as: 'severity'
1120
+ property :type, as: 'type'
1121
+ end
1122
+ end
1123
+
1124
+ class VulnerabilityLocation
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ property :cpe_uri, as: 'cpeUri'
1128
+ property :package, as: 'package'
1129
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1alpha1::Version, decorator: Google::Apis::ContaineranalysisV1alpha1::Version::Representation
1130
+
1131
+ end
1132
+ end
1133
+
1134
+ class VulnerabilityType
1135
+ # @private
1136
+ class Representation < Google::Apis::Core::JsonRepresentation
1137
+ property :cvss_score, as: 'cvssScore'
1138
+ collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1alpha1::Detail, decorator: Google::Apis::ContaineranalysisV1alpha1::Detail::Representation
1139
+
1140
+ property :severity, as: 'severity'
1141
+ end
1142
+ end
1143
+ end
1144
+ end
1145
+ end