google-apis-containeranalysis_v1 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,1558 @@
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 ContaineranalysisV1
24
+
25
+ class AliasContext
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Artifact
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AttestationNote
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AttestationOccurrence
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BatchCreateNotesRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BatchCreateNotesResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BatchCreateOccurrencesRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BatchCreateOccurrencesResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Binding
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BuildNote
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BuildOccurrence
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class BuildProvenance
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BuildStep
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class BuilderConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CvsSv3
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CancelOperationRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Category
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class CisBenchmark
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class CloudRepoSourceContext
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Command
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Completeness
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ComplianceNote
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ComplianceOccurrence
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ComplianceVersion
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class DsseAttestationNote
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class DsseAttestationOccurrence
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class DsseHint
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class DeploymentNote
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class DeploymentOccurrence
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Detail
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class DiscoveryNote
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class DiscoveryOccurrence
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Distribution
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Empty
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Envelope
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class EnvelopeSignature
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Expr
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class FileHashes
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Fingerprint
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class FixableTotalByDigest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GerritSourceContext
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GetIamPolicyRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GetPolicyOptions
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GitSourceContext
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class HashProp
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class Hint
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class Identity
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ImageNote
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ImageOccurrence
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class InTotoProvenance
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class InTotoStatement
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Jwt
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class KnowledgeBase
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class Layer
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class ListNoteOccurrencesResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class ListNotesResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class ListOccurrencesResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class ListOperationsResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class Location
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class Metadata
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class NonCompliantFile
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class Note
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class Occurrence
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class Operation
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class PackageIssue
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class PackageNote
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class PackageOccurrence
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class Policy
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class ProjectRepoId
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class Recipe
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class RelatedUrl
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class RepoId
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class SetIamPolicyRequest
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class Signature
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class Source
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class SourceContext
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class Status
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class Subject
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class TestIamPermissionsRequest
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class TestIamPermissionsResponse
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class TimeSpan
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class UpgradeDistribution
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class UpgradeNote
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class UpgradeOccurrence
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class Version
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class Volume
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class VulnerabilityNote
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class VulnerabilityOccurrence
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class VulnerabilityOccurrencesSummary
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class WindowsDetail
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class WindowsUpdate
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class AliasContext
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ property :kind, as: 'kind'
581
+ property :name, as: 'name'
582
+ end
583
+ end
584
+
585
+ class Artifact
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :checksum, as: 'checksum'
589
+ property :id, as: 'id'
590
+ collection :names, as: 'names'
591
+ end
592
+ end
593
+
594
+ class AttestationNote
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :hint, as: 'hint', class: Google::Apis::ContaineranalysisV1::Hint, decorator: Google::Apis::ContaineranalysisV1::Hint::Representation
598
+
599
+ end
600
+ end
601
+
602
+ class AttestationOccurrence
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ collection :jwts, as: 'jwts', class: Google::Apis::ContaineranalysisV1::Jwt, decorator: Google::Apis::ContaineranalysisV1::Jwt::Representation
606
+
607
+ property :serialized_payload, :base64 => true, as: 'serializedPayload'
608
+ collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1::Signature, decorator: Google::Apis::ContaineranalysisV1::Signature::Representation
609
+
610
+ end
611
+ end
612
+
613
+ class BatchCreateNotesRequest
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ hash :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1::Note, decorator: Google::Apis::ContaineranalysisV1::Note::Representation
617
+
618
+ end
619
+ end
620
+
621
+ class BatchCreateNotesResponse
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1::Note, decorator: Google::Apis::ContaineranalysisV1::Note::Representation
625
+
626
+ end
627
+ end
628
+
629
+ class BatchCreateOccurrencesRequest
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1::Occurrence, decorator: Google::Apis::ContaineranalysisV1::Occurrence::Representation
633
+
634
+ end
635
+ end
636
+
637
+ class BatchCreateOccurrencesResponse
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1::Occurrence, decorator: Google::Apis::ContaineranalysisV1::Occurrence::Representation
641
+
642
+ end
643
+ end
644
+
645
+ class Binding
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1::Expr, decorator: Google::Apis::ContaineranalysisV1::Expr::Representation
649
+
650
+ collection :members, as: 'members'
651
+ property :role, as: 'role'
652
+ end
653
+ end
654
+
655
+ class BuildNote
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :builder_version, as: 'builderVersion'
659
+ end
660
+ end
661
+
662
+ class BuildOccurrence
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1::InTotoProvenance::Representation
666
+
667
+ property :provenance, as: 'provenance', class: Google::Apis::ContaineranalysisV1::BuildProvenance, decorator: Google::Apis::ContaineranalysisV1::BuildProvenance::Representation
668
+
669
+ property :provenance_bytes, as: 'provenanceBytes'
670
+ end
671
+ end
672
+
673
+ class BuildProvenance
674
+ # @private
675
+ class Representation < Google::Apis::Core::JsonRepresentation
676
+ hash :build_options, as: 'buildOptions'
677
+ property :builder_version, as: 'builderVersion'
678
+ collection :built_artifacts, as: 'builtArtifacts', class: Google::Apis::ContaineranalysisV1::Artifact, decorator: Google::Apis::ContaineranalysisV1::Artifact::Representation
679
+
680
+ collection :commands, as: 'commands', class: Google::Apis::ContaineranalysisV1::Command, decorator: Google::Apis::ContaineranalysisV1::Command::Representation
681
+
682
+ property :create_time, as: 'createTime'
683
+ property :creator, as: 'creator'
684
+ property :end_time, as: 'endTime'
685
+ property :id, as: 'id'
686
+ property :logs_uri, as: 'logsUri'
687
+ property :project_id, as: 'projectId'
688
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::ContaineranalysisV1::Source, decorator: Google::Apis::ContaineranalysisV1::Source::Representation
689
+
690
+ property :start_time, as: 'startTime'
691
+ property :trigger_id, as: 'triggerId'
692
+ end
693
+ end
694
+
695
+ class BuildStep
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ collection :args, as: 'args'
699
+ property :dir, as: 'dir'
700
+ property :entrypoint, as: 'entrypoint'
701
+ collection :env, as: 'env'
702
+ property :id, as: 'id'
703
+ property :name, as: 'name'
704
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
705
+
706
+ property :script, as: 'script'
707
+ collection :secret_env, as: 'secretEnv'
708
+ property :status, as: 'status'
709
+ property :timeout, as: 'timeout'
710
+ property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
711
+
712
+ collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1::Volume, decorator: Google::Apis::ContaineranalysisV1::Volume::Representation
713
+
714
+ collection :wait_for, as: 'waitFor'
715
+ end
716
+ end
717
+
718
+ class BuilderConfig
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :id, as: 'id'
722
+ end
723
+ end
724
+
725
+ class CvsSv3
726
+ # @private
727
+ class Representation < Google::Apis::Core::JsonRepresentation
728
+ property :attack_complexity, as: 'attackComplexity'
729
+ property :attack_vector, as: 'attackVector'
730
+ property :availability_impact, as: 'availabilityImpact'
731
+ property :base_score, as: 'baseScore'
732
+ property :confidentiality_impact, as: 'confidentialityImpact'
733
+ property :exploitability_score, as: 'exploitabilityScore'
734
+ property :impact_score, as: 'impactScore'
735
+ property :integrity_impact, as: 'integrityImpact'
736
+ property :privileges_required, as: 'privilegesRequired'
737
+ property :scope, as: 'scope'
738
+ property :user_interaction, as: 'userInteraction'
739
+ end
740
+ end
741
+
742
+ class CancelOperationRequest
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ end
746
+ end
747
+
748
+ class Category
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :category_id, as: 'categoryId'
752
+ property :name, as: 'name'
753
+ end
754
+ end
755
+
756
+ class CisBenchmark
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :profile_level, as: 'profileLevel'
760
+ property :severity, as: 'severity'
761
+ end
762
+ end
763
+
764
+ class CloudRepoSourceContext
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ContaineranalysisV1::AliasContext, decorator: Google::Apis::ContaineranalysisV1::AliasContext::Representation
768
+
769
+ property :repo_id, as: 'repoId', class: Google::Apis::ContaineranalysisV1::RepoId, decorator: Google::Apis::ContaineranalysisV1::RepoId::Representation
770
+
771
+ property :revision_id, as: 'revisionId'
772
+ end
773
+ end
774
+
775
+ class Command
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ collection :args, as: 'args'
779
+ property :dir, as: 'dir'
780
+ collection :env, as: 'env'
781
+ property :id, as: 'id'
782
+ property :name, as: 'name'
783
+ collection :wait_for, as: 'waitFor'
784
+ end
785
+ end
786
+
787
+ class Completeness
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :arguments, as: 'arguments'
791
+ property :environment, as: 'environment'
792
+ property :materials, as: 'materials'
793
+ end
794
+ end
795
+
796
+ class ComplianceNote
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :cis_benchmark, as: 'cisBenchmark', class: Google::Apis::ContaineranalysisV1::CisBenchmark, decorator: Google::Apis::ContaineranalysisV1::CisBenchmark::Representation
800
+
801
+ property :description, as: 'description'
802
+ property :rationale, as: 'rationale'
803
+ property :remediation, as: 'remediation'
804
+ property :scan_instructions, :base64 => true, as: 'scanInstructions'
805
+ property :title, as: 'title'
806
+ collection :version, as: 'version', class: Google::Apis::ContaineranalysisV1::ComplianceVersion, decorator: Google::Apis::ContaineranalysisV1::ComplianceVersion::Representation
807
+
808
+ end
809
+ end
810
+
811
+ class ComplianceOccurrence
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :non_compliance_reason, as: 'nonComplianceReason'
815
+ collection :non_compliant_files, as: 'nonCompliantFiles', class: Google::Apis::ContaineranalysisV1::NonCompliantFile, decorator: Google::Apis::ContaineranalysisV1::NonCompliantFile::Representation
816
+
817
+ end
818
+ end
819
+
820
+ class ComplianceVersion
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ property :cpe_uri, as: 'cpeUri'
824
+ property :version, as: 'version'
825
+ end
826
+ end
827
+
828
+ class DsseAttestationNote
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :hint, as: 'hint', class: Google::Apis::ContaineranalysisV1::DsseHint, decorator: Google::Apis::ContaineranalysisV1::DsseHint::Representation
832
+
833
+ end
834
+ end
835
+
836
+ class DsseAttestationOccurrence
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :envelope, as: 'envelope', class: Google::Apis::ContaineranalysisV1::Envelope, decorator: Google::Apis::ContaineranalysisV1::Envelope::Representation
840
+
841
+ property :statement, as: 'statement', class: Google::Apis::ContaineranalysisV1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1::InTotoStatement::Representation
842
+
843
+ end
844
+ end
845
+
846
+ class DsseHint
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :human_readable_name, as: 'humanReadableName'
850
+ end
851
+ end
852
+
853
+ class DeploymentNote
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ collection :resource_uri, as: 'resourceUri'
857
+ end
858
+ end
859
+
860
+ class DeploymentOccurrence
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ property :address, as: 'address'
864
+ property :config, as: 'config'
865
+ property :deploy_time, as: 'deployTime'
866
+ property :platform, as: 'platform'
867
+ collection :resource_uri, as: 'resourceUri'
868
+ property :undeploy_time, as: 'undeployTime'
869
+ property :user_email, as: 'userEmail'
870
+ end
871
+ end
872
+
873
+ class Detail
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :affected_cpe_uri, as: 'affectedCpeUri'
877
+ property :affected_package, as: 'affectedPackage'
878
+ property :affected_version_end, as: 'affectedVersionEnd', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
879
+
880
+ property :affected_version_start, as: 'affectedVersionStart', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
881
+
882
+ property :description, as: 'description'
883
+ property :fixed_cpe_uri, as: 'fixedCpeUri'
884
+ property :fixed_package, as: 'fixedPackage'
885
+ property :fixed_version, as: 'fixedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
886
+
887
+ property :is_obsolete, as: 'isObsolete'
888
+ property :package_type, as: 'packageType'
889
+ property :severity_name, as: 'severityName'
890
+ property :source, as: 'source'
891
+ property :source_update_time, as: 'sourceUpdateTime'
892
+ property :vendor, as: 'vendor'
893
+ end
894
+ end
895
+
896
+ class DiscoveryNote
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :analysis_kind, as: 'analysisKind'
900
+ end
901
+ end
902
+
903
+ class DiscoveryOccurrence
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ property :analysis_status, as: 'analysisStatus'
907
+ property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
908
+
909
+ property :continuous_analysis, as: 'continuousAnalysis'
910
+ property :cpe, as: 'cpe'
911
+ property :last_scan_time, as: 'lastScanTime'
912
+ end
913
+ end
914
+
915
+ class Distribution
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ property :architecture, as: 'architecture'
919
+ property :cpe_uri, as: 'cpeUri'
920
+ property :description, as: 'description'
921
+ property :latest_version, as: 'latestVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
922
+
923
+ property :maintainer, as: 'maintainer'
924
+ property :url, as: 'url'
925
+ end
926
+ end
927
+
928
+ class Empty
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ end
932
+ end
933
+
934
+ class Envelope
935
+ # @private
936
+ class Representation < Google::Apis::Core::JsonRepresentation
937
+ property :payload, :base64 => true, as: 'payload'
938
+ property :payload_type, as: 'payloadType'
939
+ collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1::EnvelopeSignature, decorator: Google::Apis::ContaineranalysisV1::EnvelopeSignature::Representation
940
+
941
+ end
942
+ end
943
+
944
+ class EnvelopeSignature
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ property :keyid, as: 'keyid'
948
+ property :sig, :base64 => true, as: 'sig'
949
+ end
950
+ end
951
+
952
+ class Expr
953
+ # @private
954
+ class Representation < Google::Apis::Core::JsonRepresentation
955
+ property :description, as: 'description'
956
+ property :expression, as: 'expression'
957
+ property :location, as: 'location'
958
+ property :title, as: 'title'
959
+ end
960
+ end
961
+
962
+ class FileHashes
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ collection :file_hash, as: 'fileHash', class: Google::Apis::ContaineranalysisV1::HashProp, decorator: Google::Apis::ContaineranalysisV1::HashProp::Representation
966
+
967
+ end
968
+ end
969
+
970
+ class Fingerprint
971
+ # @private
972
+ class Representation < Google::Apis::Core::JsonRepresentation
973
+ property :v1_name, as: 'v1Name'
974
+ collection :v2_blob, as: 'v2Blob'
975
+ property :v2_name, as: 'v2Name'
976
+ end
977
+ end
978
+
979
+ class FixableTotalByDigest
980
+ # @private
981
+ class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :fixable_count, :numeric_string => true, as: 'fixableCount'
983
+ property :resource_uri, as: 'resourceUri'
984
+ property :severity, as: 'severity'
985
+ property :total_count, :numeric_string => true, as: 'totalCount'
986
+ end
987
+ end
988
+
989
+ class GerritSourceContext
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ContaineranalysisV1::AliasContext, decorator: Google::Apis::ContaineranalysisV1::AliasContext::Representation
993
+
994
+ property :gerrit_project, as: 'gerritProject'
995
+ property :host_uri, as: 'hostUri'
996
+ property :revision_id, as: 'revisionId'
997
+ end
998
+ end
999
+
1000
+ class GetIamPolicyRequest
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ property :options, as: 'options', class: Google::Apis::ContaineranalysisV1::GetPolicyOptions, decorator: Google::Apis::ContaineranalysisV1::GetPolicyOptions::Representation
1004
+
1005
+ end
1006
+ end
1007
+
1008
+ class GetPolicyOptions
1009
+ # @private
1010
+ class Representation < Google::Apis::Core::JsonRepresentation
1011
+ property :requested_policy_version, as: 'requestedPolicyVersion'
1012
+ end
1013
+ end
1014
+
1015
+ class GitSourceContext
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ property :revision_id, as: 'revisionId'
1019
+ property :url, as: 'url'
1020
+ end
1021
+ end
1022
+
1023
+ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :create_time, as: 'createTime'
1027
+ property :end_time, as: 'endTime'
1028
+ end
1029
+ end
1030
+
1031
+ class HashProp
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :type, as: 'type'
1035
+ property :value, :base64 => true, as: 'value'
1036
+ end
1037
+ end
1038
+
1039
+ class Hint
1040
+ # @private
1041
+ class Representation < Google::Apis::Core::JsonRepresentation
1042
+ property :human_readable_name, as: 'humanReadableName'
1043
+ end
1044
+ end
1045
+
1046
+ class Identity
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ property :revision, as: 'revision'
1050
+ property :update_id, as: 'updateId'
1051
+ end
1052
+ end
1053
+
1054
+ class ImageNote
1055
+ # @private
1056
+ class Representation < Google::Apis::Core::JsonRepresentation
1057
+ property :fingerprint, as: 'fingerprint', class: Google::Apis::ContaineranalysisV1::Fingerprint, decorator: Google::Apis::ContaineranalysisV1::Fingerprint::Representation
1058
+
1059
+ property :resource_url, as: 'resourceUrl'
1060
+ end
1061
+ end
1062
+
1063
+ class ImageOccurrence
1064
+ # @private
1065
+ class Representation < Google::Apis::Core::JsonRepresentation
1066
+ property :base_resource_url, as: 'baseResourceUrl'
1067
+ property :distance, as: 'distance'
1068
+ property :fingerprint, as: 'fingerprint', class: Google::Apis::ContaineranalysisV1::Fingerprint, decorator: Google::Apis::ContaineranalysisV1::Fingerprint::Representation
1069
+
1070
+ collection :layer_info, as: 'layerInfo', class: Google::Apis::ContaineranalysisV1::Layer, decorator: Google::Apis::ContaineranalysisV1::Layer::Representation
1071
+
1072
+ end
1073
+ end
1074
+
1075
+ class InTotoProvenance
1076
+ # @private
1077
+ class Representation < Google::Apis::Core::JsonRepresentation
1078
+ property :builder_config, as: 'builderConfig', class: Google::Apis::ContaineranalysisV1::BuilderConfig, decorator: Google::Apis::ContaineranalysisV1::BuilderConfig::Representation
1079
+
1080
+ collection :materials, as: 'materials'
1081
+ property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1::Metadata, decorator: Google::Apis::ContaineranalysisV1::Metadata::Representation
1082
+
1083
+ property :recipe, as: 'recipe', class: Google::Apis::ContaineranalysisV1::Recipe, decorator: Google::Apis::ContaineranalysisV1::Recipe::Representation
1084
+
1085
+ end
1086
+ end
1087
+
1088
+ class InTotoStatement
1089
+ # @private
1090
+ class Representation < Google::Apis::Core::JsonRepresentation
1091
+ property :predicate_type, as: 'predicateType'
1092
+ property :provenance, as: 'provenance', class: Google::Apis::ContaineranalysisV1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1::InTotoProvenance::Representation
1093
+
1094
+ collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
1095
+
1096
+ property :type, as: 'type'
1097
+ end
1098
+ end
1099
+
1100
+ class Jwt
1101
+ # @private
1102
+ class Representation < Google::Apis::Core::JsonRepresentation
1103
+ property :compact_jwt, as: 'compactJwt'
1104
+ end
1105
+ end
1106
+
1107
+ class KnowledgeBase
1108
+ # @private
1109
+ class Representation < Google::Apis::Core::JsonRepresentation
1110
+ property :name, as: 'name'
1111
+ property :url, as: 'url'
1112
+ end
1113
+ end
1114
+
1115
+ class Layer
1116
+ # @private
1117
+ class Representation < Google::Apis::Core::JsonRepresentation
1118
+ property :arguments, as: 'arguments'
1119
+ property :directive, as: 'directive'
1120
+ end
1121
+ end
1122
+
1123
+ class ListNoteOccurrencesResponse
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :next_page_token, as: 'nextPageToken'
1127
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1::Occurrence, decorator: Google::Apis::ContaineranalysisV1::Occurrence::Representation
1128
+
1129
+ end
1130
+ end
1131
+
1132
+ class ListNotesResponse
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ property :next_page_token, as: 'nextPageToken'
1136
+ collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1::Note, decorator: Google::Apis::ContaineranalysisV1::Note::Representation
1137
+
1138
+ end
1139
+ end
1140
+
1141
+ class ListOccurrencesResponse
1142
+ # @private
1143
+ class Representation < Google::Apis::Core::JsonRepresentation
1144
+ property :next_page_token, as: 'nextPageToken'
1145
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1::Occurrence, decorator: Google::Apis::ContaineranalysisV1::Occurrence::Representation
1146
+
1147
+ end
1148
+ end
1149
+
1150
+ class ListOperationsResponse
1151
+ # @private
1152
+ class Representation < Google::Apis::Core::JsonRepresentation
1153
+ property :next_page_token, as: 'nextPageToken'
1154
+ collection :operations, as: 'operations', class: Google::Apis::ContaineranalysisV1::Operation, decorator: Google::Apis::ContaineranalysisV1::Operation::Representation
1155
+
1156
+ end
1157
+ end
1158
+
1159
+ class Location
1160
+ # @private
1161
+ class Representation < Google::Apis::Core::JsonRepresentation
1162
+ property :cpe_uri, as: 'cpeUri'
1163
+ property :path, as: 'path'
1164
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1165
+
1166
+ end
1167
+ end
1168
+
1169
+ class Metadata
1170
+ # @private
1171
+ class Representation < Google::Apis::Core::JsonRepresentation
1172
+ property :build_finished_on, as: 'buildFinishedOn'
1173
+ property :build_invocation_id, as: 'buildInvocationId'
1174
+ property :build_started_on, as: 'buildStartedOn'
1175
+ property :completeness, as: 'completeness', class: Google::Apis::ContaineranalysisV1::Completeness, decorator: Google::Apis::ContaineranalysisV1::Completeness::Representation
1176
+
1177
+ property :reproducible, as: 'reproducible'
1178
+ end
1179
+ end
1180
+
1181
+ class NonCompliantFile
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :display_command, as: 'displayCommand'
1185
+ property :path, as: 'path'
1186
+ property :reason, as: 'reason'
1187
+ end
1188
+ end
1189
+
1190
+ class Note
1191
+ # @private
1192
+ class Representation < Google::Apis::Core::JsonRepresentation
1193
+ property :attestation, as: 'attestation', class: Google::Apis::ContaineranalysisV1::AttestationNote, decorator: Google::Apis::ContaineranalysisV1::AttestationNote::Representation
1194
+
1195
+ property :build, as: 'build', class: Google::Apis::ContaineranalysisV1::BuildNote, decorator: Google::Apis::ContaineranalysisV1::BuildNote::Representation
1196
+
1197
+ property :compliance, as: 'compliance', class: Google::Apis::ContaineranalysisV1::ComplianceNote, decorator: Google::Apis::ContaineranalysisV1::ComplianceNote::Representation
1198
+
1199
+ property :create_time, as: 'createTime'
1200
+ property :deployment, as: 'deployment', class: Google::Apis::ContaineranalysisV1::DeploymentNote, decorator: Google::Apis::ContaineranalysisV1::DeploymentNote::Representation
1201
+
1202
+ property :discovery, as: 'discovery', class: Google::Apis::ContaineranalysisV1::DiscoveryNote, decorator: Google::Apis::ContaineranalysisV1::DiscoveryNote::Representation
1203
+
1204
+ property :dsse_attestation, as: 'dsseAttestation', class: Google::Apis::ContaineranalysisV1::DsseAttestationNote, decorator: Google::Apis::ContaineranalysisV1::DsseAttestationNote::Representation
1205
+
1206
+ property :expiration_time, as: 'expirationTime'
1207
+ property :image, as: 'image', class: Google::Apis::ContaineranalysisV1::ImageNote, decorator: Google::Apis::ContaineranalysisV1::ImageNote::Representation
1208
+
1209
+ property :kind, as: 'kind'
1210
+ property :long_description, as: 'longDescription'
1211
+ property :name, as: 'name'
1212
+ property :package, as: 'package', class: Google::Apis::ContaineranalysisV1::PackageNote, decorator: Google::Apis::ContaineranalysisV1::PackageNote::Representation
1213
+
1214
+ collection :related_note_names, as: 'relatedNoteNames'
1215
+ collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1::RelatedUrl::Representation
1216
+
1217
+ property :short_description, as: 'shortDescription'
1218
+ property :update_time, as: 'updateTime'
1219
+ property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1::UpgradeNote::Representation
1220
+
1221
+ property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1::VulnerabilityNote, decorator: Google::Apis::ContaineranalysisV1::VulnerabilityNote::Representation
1222
+
1223
+ end
1224
+ end
1225
+
1226
+ class Occurrence
1227
+ # @private
1228
+ class Representation < Google::Apis::Core::JsonRepresentation
1229
+ property :attestation, as: 'attestation', class: Google::Apis::ContaineranalysisV1::AttestationOccurrence, decorator: Google::Apis::ContaineranalysisV1::AttestationOccurrence::Representation
1230
+
1231
+ property :build, as: 'build', class: Google::Apis::ContaineranalysisV1::BuildOccurrence, decorator: Google::Apis::ContaineranalysisV1::BuildOccurrence::Representation
1232
+
1233
+ property :compliance, as: 'compliance', class: Google::Apis::ContaineranalysisV1::ComplianceOccurrence, decorator: Google::Apis::ContaineranalysisV1::ComplianceOccurrence::Representation
1234
+
1235
+ property :create_time, as: 'createTime'
1236
+ property :deployment, as: 'deployment', class: Google::Apis::ContaineranalysisV1::DeploymentOccurrence, decorator: Google::Apis::ContaineranalysisV1::DeploymentOccurrence::Representation
1237
+
1238
+ property :discovery, as: 'discovery', class: Google::Apis::ContaineranalysisV1::DiscoveryOccurrence, decorator: Google::Apis::ContaineranalysisV1::DiscoveryOccurrence::Representation
1239
+
1240
+ property :dsse_attestation, as: 'dsseAttestation', class: Google::Apis::ContaineranalysisV1::DsseAttestationOccurrence, decorator: Google::Apis::ContaineranalysisV1::DsseAttestationOccurrence::Representation
1241
+
1242
+ property :envelope, as: 'envelope', class: Google::Apis::ContaineranalysisV1::Envelope, decorator: Google::Apis::ContaineranalysisV1::Envelope::Representation
1243
+
1244
+ property :image, as: 'image', class: Google::Apis::ContaineranalysisV1::ImageOccurrence, decorator: Google::Apis::ContaineranalysisV1::ImageOccurrence::Representation
1245
+
1246
+ property :kind, as: 'kind'
1247
+ property :name, as: 'name'
1248
+ property :note_name, as: 'noteName'
1249
+ property :package, as: 'package', class: Google::Apis::ContaineranalysisV1::PackageOccurrence, decorator: Google::Apis::ContaineranalysisV1::PackageOccurrence::Representation
1250
+
1251
+ property :remediation, as: 'remediation'
1252
+ property :resource_uri, as: 'resourceUri'
1253
+ property :update_time, as: 'updateTime'
1254
+ property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1::UpgradeOccurrence::Representation
1255
+
1256
+ property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1::VulnerabilityOccurrence, decorator: Google::Apis::ContaineranalysisV1::VulnerabilityOccurrence::Representation
1257
+
1258
+ end
1259
+ end
1260
+
1261
+ class Operation
1262
+ # @private
1263
+ class Representation < Google::Apis::Core::JsonRepresentation
1264
+ property :done, as: 'done'
1265
+ property :error, as: 'error', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
1266
+
1267
+ hash :metadata, as: 'metadata'
1268
+ property :name, as: 'name'
1269
+ hash :response, as: 'response'
1270
+ end
1271
+ end
1272
+
1273
+ class PackageIssue
1274
+ # @private
1275
+ class Representation < Google::Apis::Core::JsonRepresentation
1276
+ property :affected_cpe_uri, as: 'affectedCpeUri'
1277
+ property :affected_package, as: 'affectedPackage'
1278
+ property :affected_version, as: 'affectedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1279
+
1280
+ property :effective_severity, as: 'effectiveSeverity'
1281
+ property :fix_available, as: 'fixAvailable'
1282
+ property :fixed_cpe_uri, as: 'fixedCpeUri'
1283
+ property :fixed_package, as: 'fixedPackage'
1284
+ property :fixed_version, as: 'fixedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1285
+
1286
+ property :package_type, as: 'packageType'
1287
+ end
1288
+ end
1289
+
1290
+ class PackageNote
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1::Distribution, decorator: Google::Apis::ContaineranalysisV1::Distribution::Representation
1294
+
1295
+ property :name, as: 'name'
1296
+ end
1297
+ end
1298
+
1299
+ class PackageOccurrence
1300
+ # @private
1301
+ class Representation < Google::Apis::Core::JsonRepresentation
1302
+ collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1::Location, decorator: Google::Apis::ContaineranalysisV1::Location::Representation
1303
+
1304
+ property :name, as: 'name'
1305
+ end
1306
+ end
1307
+
1308
+ class Policy
1309
+ # @private
1310
+ class Representation < Google::Apis::Core::JsonRepresentation
1311
+ collection :bindings, as: 'bindings', class: Google::Apis::ContaineranalysisV1::Binding, decorator: Google::Apis::ContaineranalysisV1::Binding::Representation
1312
+
1313
+ property :etag, :base64 => true, as: 'etag'
1314
+ property :version, as: 'version'
1315
+ end
1316
+ end
1317
+
1318
+ class ProjectRepoId
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ property :project_id, as: 'projectId'
1322
+ property :repo_name, as: 'repoName'
1323
+ end
1324
+ end
1325
+
1326
+ class Recipe
1327
+ # @private
1328
+ class Representation < Google::Apis::Core::JsonRepresentation
1329
+ collection :arguments, as: 'arguments'
1330
+ property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
1331
+ property :entry_point, as: 'entryPoint'
1332
+ collection :environment, as: 'environment'
1333
+ property :type, as: 'type'
1334
+ end
1335
+ end
1336
+
1337
+ class RelatedUrl
1338
+ # @private
1339
+ class Representation < Google::Apis::Core::JsonRepresentation
1340
+ property :label, as: 'label'
1341
+ property :url, as: 'url'
1342
+ end
1343
+ end
1344
+
1345
+ class RepoId
1346
+ # @private
1347
+ class Representation < Google::Apis::Core::JsonRepresentation
1348
+ property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ContaineranalysisV1::ProjectRepoId, decorator: Google::Apis::ContaineranalysisV1::ProjectRepoId::Representation
1349
+
1350
+ property :uid, as: 'uid'
1351
+ end
1352
+ end
1353
+
1354
+ class SetIamPolicyRequest
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ property :policy, as: 'policy', class: Google::Apis::ContaineranalysisV1::Policy, decorator: Google::Apis::ContaineranalysisV1::Policy::Representation
1358
+
1359
+ end
1360
+ end
1361
+
1362
+ class Signature
1363
+ # @private
1364
+ class Representation < Google::Apis::Core::JsonRepresentation
1365
+ property :public_key_id, as: 'publicKeyId'
1366
+ property :signature, :base64 => true, as: 'signature'
1367
+ end
1368
+ end
1369
+
1370
+ class Source
1371
+ # @private
1372
+ class Representation < Google::Apis::Core::JsonRepresentation
1373
+ collection :additional_contexts, as: 'additionalContexts', class: Google::Apis::ContaineranalysisV1::SourceContext, decorator: Google::Apis::ContaineranalysisV1::SourceContext::Representation
1374
+
1375
+ property :artifact_storage_source_uri, as: 'artifactStorageSourceUri'
1376
+ property :context, as: 'context', class: Google::Apis::ContaineranalysisV1::SourceContext, decorator: Google::Apis::ContaineranalysisV1::SourceContext::Representation
1377
+
1378
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1::FileHashes, decorator: Google::Apis::ContaineranalysisV1::FileHashes::Representation
1379
+
1380
+ end
1381
+ end
1382
+
1383
+ class SourceContext
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ContaineranalysisV1::CloudRepoSourceContext, decorator: Google::Apis::ContaineranalysisV1::CloudRepoSourceContext::Representation
1387
+
1388
+ property :gerrit, as: 'gerrit', class: Google::Apis::ContaineranalysisV1::GerritSourceContext, decorator: Google::Apis::ContaineranalysisV1::GerritSourceContext::Representation
1389
+
1390
+ property :git, as: 'git', class: Google::Apis::ContaineranalysisV1::GitSourceContext, decorator: Google::Apis::ContaineranalysisV1::GitSourceContext::Representation
1391
+
1392
+ hash :labels, as: 'labels'
1393
+ end
1394
+ end
1395
+
1396
+ class Status
1397
+ # @private
1398
+ class Representation < Google::Apis::Core::JsonRepresentation
1399
+ property :code, as: 'code'
1400
+ collection :details, as: 'details'
1401
+ property :message, as: 'message'
1402
+ end
1403
+ end
1404
+
1405
+ class Subject
1406
+ # @private
1407
+ class Representation < Google::Apis::Core::JsonRepresentation
1408
+ hash :digest, as: 'digest'
1409
+ property :name, as: 'name'
1410
+ end
1411
+ end
1412
+
1413
+ class TestIamPermissionsRequest
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ collection :permissions, as: 'permissions'
1417
+ end
1418
+ end
1419
+
1420
+ class TestIamPermissionsResponse
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ collection :permissions, as: 'permissions'
1424
+ end
1425
+ end
1426
+
1427
+ class TimeSpan
1428
+ # @private
1429
+ class Representation < Google::Apis::Core::JsonRepresentation
1430
+ property :end_time, as: 'endTime'
1431
+ property :start_time, as: 'startTime'
1432
+ end
1433
+ end
1434
+
1435
+ class UpgradeDistribution
1436
+ # @private
1437
+ class Representation < Google::Apis::Core::JsonRepresentation
1438
+ property :classification, as: 'classification'
1439
+ property :cpe_uri, as: 'cpeUri'
1440
+ collection :cve, as: 'cve'
1441
+ property :severity, as: 'severity'
1442
+ end
1443
+ end
1444
+
1445
+ class UpgradeNote
1446
+ # @private
1447
+ class Representation < Google::Apis::Core::JsonRepresentation
1448
+ collection :distributions, as: 'distributions', class: Google::Apis::ContaineranalysisV1::UpgradeDistribution, decorator: Google::Apis::ContaineranalysisV1::UpgradeDistribution::Representation
1449
+
1450
+ property :package, as: 'package'
1451
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1452
+
1453
+ property :windows_update, as: 'windowsUpdate', class: Google::Apis::ContaineranalysisV1::WindowsUpdate, decorator: Google::Apis::ContaineranalysisV1::WindowsUpdate::Representation
1454
+
1455
+ end
1456
+ end
1457
+
1458
+ class UpgradeOccurrence
1459
+ # @private
1460
+ class Representation < Google::Apis::Core::JsonRepresentation
1461
+ property :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1::UpgradeDistribution, decorator: Google::Apis::ContaineranalysisV1::UpgradeDistribution::Representation
1462
+
1463
+ property :package, as: 'package'
1464
+ property :parsed_version, as: 'parsedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
1465
+
1466
+ property :windows_update, as: 'windowsUpdate', class: Google::Apis::ContaineranalysisV1::WindowsUpdate, decorator: Google::Apis::ContaineranalysisV1::WindowsUpdate::Representation
1467
+
1468
+ end
1469
+ end
1470
+
1471
+ class Version
1472
+ # @private
1473
+ class Representation < Google::Apis::Core::JsonRepresentation
1474
+ property :epoch, as: 'epoch'
1475
+ property :full_name, as: 'fullName'
1476
+ property :inclusive, as: 'inclusive'
1477
+ property :kind, as: 'kind'
1478
+ property :name, as: 'name'
1479
+ property :revision, as: 'revision'
1480
+ end
1481
+ end
1482
+
1483
+ class Volume
1484
+ # @private
1485
+ class Representation < Google::Apis::Core::JsonRepresentation
1486
+ property :name, as: 'name'
1487
+ property :path, as: 'path'
1488
+ end
1489
+ end
1490
+
1491
+ class VulnerabilityNote
1492
+ # @private
1493
+ class Representation < Google::Apis::Core::JsonRepresentation
1494
+ property :cvss_score, as: 'cvssScore'
1495
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1::CvsSv3, decorator: Google::Apis::ContaineranalysisV1::CvsSv3::Representation
1496
+
1497
+ collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1::Detail, decorator: Google::Apis::ContaineranalysisV1::Detail::Representation
1498
+
1499
+ property :severity, as: 'severity'
1500
+ property :source_update_time, as: 'sourceUpdateTime'
1501
+ collection :windows_details, as: 'windowsDetails', class: Google::Apis::ContaineranalysisV1::WindowsDetail, decorator: Google::Apis::ContaineranalysisV1::WindowsDetail::Representation
1502
+
1503
+ end
1504
+ end
1505
+
1506
+ class VulnerabilityOccurrence
1507
+ # @private
1508
+ class Representation < Google::Apis::Core::JsonRepresentation
1509
+ property :cvss_score, as: 'cvssScore'
1510
+ property :effective_severity, as: 'effectiveSeverity'
1511
+ property :fix_available, as: 'fixAvailable'
1512
+ property :long_description, as: 'longDescription'
1513
+ collection :package_issue, as: 'packageIssue', class: Google::Apis::ContaineranalysisV1::PackageIssue, decorator: Google::Apis::ContaineranalysisV1::PackageIssue::Representation
1514
+
1515
+ collection :related_urls, as: 'relatedUrls', class: Google::Apis::ContaineranalysisV1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1::RelatedUrl::Representation
1516
+
1517
+ property :severity, as: 'severity'
1518
+ property :short_description, as: 'shortDescription'
1519
+ property :type, as: 'type'
1520
+ end
1521
+ end
1522
+
1523
+ class VulnerabilityOccurrencesSummary
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ collection :counts, as: 'counts', class: Google::Apis::ContaineranalysisV1::FixableTotalByDigest, decorator: Google::Apis::ContaineranalysisV1::FixableTotalByDigest::Representation
1527
+
1528
+ end
1529
+ end
1530
+
1531
+ class WindowsDetail
1532
+ # @private
1533
+ class Representation < Google::Apis::Core::JsonRepresentation
1534
+ property :cpe_uri, as: 'cpeUri'
1535
+ property :description, as: 'description'
1536
+ collection :fixing_kbs, as: 'fixingKbs', class: Google::Apis::ContaineranalysisV1::KnowledgeBase, decorator: Google::Apis::ContaineranalysisV1::KnowledgeBase::Representation
1537
+
1538
+ property :name, as: 'name'
1539
+ end
1540
+ end
1541
+
1542
+ class WindowsUpdate
1543
+ # @private
1544
+ class Representation < Google::Apis::Core::JsonRepresentation
1545
+ collection :categories, as: 'categories', class: Google::Apis::ContaineranalysisV1::Category, decorator: Google::Apis::ContaineranalysisV1::Category::Representation
1546
+
1547
+ property :description, as: 'description'
1548
+ property :identity, as: 'identity', class: Google::Apis::ContaineranalysisV1::Identity, decorator: Google::Apis::ContaineranalysisV1::Identity::Representation
1549
+
1550
+ collection :kb_article_ids, as: 'kbArticleIds'
1551
+ property :last_published_timestamp, as: 'lastPublishedTimestamp'
1552
+ property :support_url, as: 'supportUrl'
1553
+ property :title, as: 'title'
1554
+ end
1555
+ end
1556
+ end
1557
+ end
1558
+ end