google-apis-containeranalysis_v1beta1 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module ContaineranalysisV1beta1
18
+ # Version of the google-apis-containeranalysis_v1beta1 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,1387 @@
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 ContaineranalysisV1beta1
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 ArtifactHashes
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ArtifactRule
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Attestation
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Authority
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Basis
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BatchCreateNotesRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BatchCreateNotesResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BatchCreateOccurrencesRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class BatchCreateOccurrencesResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Binding
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Build
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class BuildProvenance
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class BuildSignature
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ByProducts
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class CvsSv3
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class CloudRepoSourceContext
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Command
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Deployable
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Deployment
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Derived
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Detail
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Details
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Discovered
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Discovery
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Distribution
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Empty
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Environment
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Expr
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class FileHashes
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Fingerprint
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class FixableTotalByDigest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GenericSignedAttestation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GerritSourceContext
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GetIamPolicyRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GetPolicyOptions
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GitSourceContext
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GrafeasV1beta1BuildDetails
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GrafeasV1beta1DeploymentDetails
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GrafeasV1beta1DiscoveryDetails
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GrafeasV1beta1ImageDetails
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GrafeasV1beta1IntotoArtifact
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GrafeasV1beta1IntotoDetails
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GrafeasV1beta1IntotoSignature
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GrafeasV1beta1PackageDetails
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GrafeasV1beta1VulnerabilityDetails
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class HashProp
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class Hint
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class InToto
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Installation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class KnowledgeBase
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class Layer
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class Link
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 ListScanConfigsResponse
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 Note
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class Occurrence
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class Package
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class PackageIssue
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class PgpSignedAttestation
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class Policy
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class ProjectRepoId
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class RelatedUrl
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class RepoId
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class Resource
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class ScanConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class SetIamPolicyRequest
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class Signature
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class SigningKey
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class Source
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class SourceContext
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class Status
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class TestIamPermissionsRequest
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class TestIamPermissionsResponse
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class Version
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class Vulnerability
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class VulnerabilityLocation
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class VulnerabilityOccurrencesSummary
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class WindowsDetail
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class AliasContext
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :kind, as: 'kind'
533
+ property :name, as: 'name'
534
+ end
535
+ end
536
+
537
+ class Artifact
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :checksum, as: 'checksum'
541
+ property :id, as: 'id'
542
+ collection :names, as: 'names'
543
+ end
544
+ end
545
+
546
+ class ArtifactHashes
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :sha256, as: 'sha256'
550
+ end
551
+ end
552
+
553
+ class ArtifactRule
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ collection :artifact_rule, as: 'artifactRule'
557
+ end
558
+ end
559
+
560
+ class Attestation
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ property :generic_signed_attestation, as: 'genericSignedAttestation', class: Google::Apis::ContaineranalysisV1beta1::GenericSignedAttestation, decorator: Google::Apis::ContaineranalysisV1beta1::GenericSignedAttestation::Representation
564
+
565
+ property :pgp_signed_attestation, as: 'pgpSignedAttestation', class: Google::Apis::ContaineranalysisV1beta1::PgpSignedAttestation, decorator: Google::Apis::ContaineranalysisV1beta1::PgpSignedAttestation::Representation
566
+
567
+ end
568
+ end
569
+
570
+ class Authority
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :hint, as: 'hint', class: Google::Apis::ContaineranalysisV1beta1::Hint, decorator: Google::Apis::ContaineranalysisV1beta1::Hint::Representation
574
+
575
+ end
576
+ end
577
+
578
+ class Basis
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :fingerprint, as: 'fingerprint', class: Google::Apis::ContaineranalysisV1beta1::Fingerprint, decorator: Google::Apis::ContaineranalysisV1beta1::Fingerprint::Representation
582
+
583
+ property :resource_url, as: 'resourceUrl'
584
+ end
585
+ end
586
+
587
+ class BatchCreateNotesRequest
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ hash :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1beta1::Note, decorator: Google::Apis::ContaineranalysisV1beta1::Note::Representation
591
+
592
+ end
593
+ end
594
+
595
+ class BatchCreateNotesResponse
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1beta1::Note, decorator: Google::Apis::ContaineranalysisV1beta1::Note::Representation
599
+
600
+ end
601
+ end
602
+
603
+ class BatchCreateOccurrencesRequest
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1beta1::Occurrence, decorator: Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
607
+
608
+ end
609
+ end
610
+
611
+ class BatchCreateOccurrencesResponse
612
+ # @private
613
+ class Representation < Google::Apis::Core::JsonRepresentation
614
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1beta1::Occurrence, decorator: Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
615
+
616
+ end
617
+ end
618
+
619
+ class Binding
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :condition, as: 'condition', class: Google::Apis::ContaineranalysisV1beta1::Expr, decorator: Google::Apis::ContaineranalysisV1beta1::Expr::Representation
623
+
624
+ collection :members, as: 'members'
625
+ property :role, as: 'role'
626
+ end
627
+ end
628
+
629
+ class Build
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :builder_version, as: 'builderVersion'
633
+ property :signature, as: 'signature', class: Google::Apis::ContaineranalysisV1beta1::BuildSignature, decorator: Google::Apis::ContaineranalysisV1beta1::BuildSignature::Representation
634
+
635
+ end
636
+ end
637
+
638
+ class BuildProvenance
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ hash :build_options, as: 'buildOptions'
642
+ property :builder_version, as: 'builderVersion'
643
+ collection :built_artifacts, as: 'builtArtifacts', class: Google::Apis::ContaineranalysisV1beta1::Artifact, decorator: Google::Apis::ContaineranalysisV1beta1::Artifact::Representation
644
+
645
+ collection :commands, as: 'commands', class: Google::Apis::ContaineranalysisV1beta1::Command, decorator: Google::Apis::ContaineranalysisV1beta1::Command::Representation
646
+
647
+ property :create_time, as: 'createTime'
648
+ property :creator, as: 'creator'
649
+ property :end_time, as: 'endTime'
650
+ property :id, as: 'id'
651
+ property :logs_uri, as: 'logsUri'
652
+ property :project_id, as: 'projectId'
653
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::ContaineranalysisV1beta1::Source, decorator: Google::Apis::ContaineranalysisV1beta1::Source::Representation
654
+
655
+ property :start_time, as: 'startTime'
656
+ property :trigger_id, as: 'triggerId'
657
+ end
658
+ end
659
+
660
+ class BuildSignature
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :key_id, as: 'keyId'
664
+ property :key_type, as: 'keyType'
665
+ property :public_key, as: 'publicKey'
666
+ property :signature, :base64 => true, as: 'signature'
667
+ end
668
+ end
669
+
670
+ class ByProducts
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ hash :custom_values, as: 'customValues'
674
+ end
675
+ end
676
+
677
+ class CvsSv3
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :attack_complexity, as: 'attackComplexity'
681
+ property :attack_vector, as: 'attackVector'
682
+ property :availability_impact, as: 'availabilityImpact'
683
+ property :base_score, as: 'baseScore'
684
+ property :confidentiality_impact, as: 'confidentialityImpact'
685
+ property :exploitability_score, as: 'exploitabilityScore'
686
+ property :impact_score, as: 'impactScore'
687
+ property :integrity_impact, as: 'integrityImpact'
688
+ property :privileges_required, as: 'privilegesRequired'
689
+ property :scope, as: 'scope'
690
+ property :user_interaction, as: 'userInteraction'
691
+ end
692
+ end
693
+
694
+ class CloudRepoSourceContext
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ContaineranalysisV1beta1::AliasContext, decorator: Google::Apis::ContaineranalysisV1beta1::AliasContext::Representation
698
+
699
+ property :repo_id, as: 'repoId', class: Google::Apis::ContaineranalysisV1beta1::RepoId, decorator: Google::Apis::ContaineranalysisV1beta1::RepoId::Representation
700
+
701
+ property :revision_id, as: 'revisionId'
702
+ end
703
+ end
704
+
705
+ class Command
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ collection :args, as: 'args'
709
+ property :dir, as: 'dir'
710
+ collection :env, as: 'env'
711
+ property :id, as: 'id'
712
+ property :name, as: 'name'
713
+ collection :wait_for, as: 'waitFor'
714
+ end
715
+ end
716
+
717
+ class Deployable
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ collection :resource_uri, as: 'resourceUri'
721
+ end
722
+ end
723
+
724
+ class Deployment
725
+ # @private
726
+ class Representation < Google::Apis::Core::JsonRepresentation
727
+ property :address, as: 'address'
728
+ property :config, as: 'config'
729
+ property :deploy_time, as: 'deployTime'
730
+ property :platform, as: 'platform'
731
+ collection :resource_uri, as: 'resourceUri'
732
+ property :undeploy_time, as: 'undeployTime'
733
+ property :user_email, as: 'userEmail'
734
+ end
735
+ end
736
+
737
+ class Derived
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ property :base_resource_url, as: 'baseResourceUrl'
741
+ property :distance, as: 'distance'
742
+ property :fingerprint, as: 'fingerprint', class: Google::Apis::ContaineranalysisV1beta1::Fingerprint, decorator: Google::Apis::ContaineranalysisV1beta1::Fingerprint::Representation
743
+
744
+ collection :layer_info, as: 'layerInfo', class: Google::Apis::ContaineranalysisV1beta1::Layer, decorator: Google::Apis::ContaineranalysisV1beta1::Layer::Representation
745
+
746
+ end
747
+ end
748
+
749
+ class Detail
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :cpe_uri, as: 'cpeUri'
753
+ property :description, as: 'description'
754
+ property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
755
+
756
+ property :is_obsolete, as: 'isObsolete'
757
+ property :max_affected_version, as: 'maxAffectedVersion', class: Google::Apis::ContaineranalysisV1beta1::Version, decorator: Google::Apis::ContaineranalysisV1beta1::Version::Representation
758
+
759
+ property :min_affected_version, as: 'minAffectedVersion', class: Google::Apis::ContaineranalysisV1beta1::Version, decorator: Google::Apis::ContaineranalysisV1beta1::Version::Representation
760
+
761
+ property :package, as: 'package'
762
+ property :package_type, as: 'packageType'
763
+ property :severity_name, as: 'severityName'
764
+ property :source_update_time, as: 'sourceUpdateTime'
765
+ end
766
+ end
767
+
768
+ class Details
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :attestation, as: 'attestation', class: Google::Apis::ContaineranalysisV1beta1::Attestation, decorator: Google::Apis::ContaineranalysisV1beta1::Attestation::Representation
772
+
773
+ end
774
+ end
775
+
776
+ class Discovered
777
+ # @private
778
+ class Representation < Google::Apis::Core::JsonRepresentation
779
+ property :analysis_status, as: 'analysisStatus'
780
+ property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1beta1::Status, decorator: Google::Apis::ContaineranalysisV1beta1::Status::Representation
781
+
782
+ property :continuous_analysis, as: 'continuousAnalysis'
783
+ property :last_analysis_time, as: 'lastAnalysisTime'
784
+ end
785
+ end
786
+
787
+ class Discovery
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :analysis_kind, as: 'analysisKind'
791
+ end
792
+ end
793
+
794
+ class Distribution
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ property :architecture, as: 'architecture'
798
+ property :cpe_uri, as: 'cpeUri'
799
+ property :description, as: 'description'
800
+ property :latest_version, as: 'latestVersion', class: Google::Apis::ContaineranalysisV1beta1::Version, decorator: Google::Apis::ContaineranalysisV1beta1::Version::Representation
801
+
802
+ property :maintainer, as: 'maintainer'
803
+ property :url, as: 'url'
804
+ end
805
+ end
806
+
807
+ class Empty
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ end
811
+ end
812
+
813
+ class Environment
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ hash :custom_values, as: 'customValues'
817
+ end
818
+ end
819
+
820
+ class Expr
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ property :description, as: 'description'
824
+ property :expression, as: 'expression'
825
+ property :location, as: 'location'
826
+ property :title, as: 'title'
827
+ end
828
+ end
829
+
830
+ class FileHashes
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ collection :file_hash, as: 'fileHash', class: Google::Apis::ContaineranalysisV1beta1::HashProp, decorator: Google::Apis::ContaineranalysisV1beta1::HashProp::Representation
834
+
835
+ end
836
+ end
837
+
838
+ class Fingerprint
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :v1_name, as: 'v1Name'
842
+ collection :v2_blob, as: 'v2Blob'
843
+ property :v2_name, as: 'v2Name'
844
+ end
845
+ end
846
+
847
+ class FixableTotalByDigest
848
+ # @private
849
+ class Representation < Google::Apis::Core::JsonRepresentation
850
+ property :fixable_count, :numeric_string => true, as: 'fixableCount'
851
+ property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1beta1::Resource, decorator: Google::Apis::ContaineranalysisV1beta1::Resource::Representation
852
+
853
+ property :severity, as: 'severity'
854
+ property :total_count, :numeric_string => true, as: 'totalCount'
855
+ end
856
+ end
857
+
858
+ class GenericSignedAttestation
859
+ # @private
860
+ class Representation < Google::Apis::Core::JsonRepresentation
861
+ property :content_type, as: 'contentType'
862
+ property :serialized_payload, :base64 => true, as: 'serializedPayload'
863
+ collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1beta1::Signature, decorator: Google::Apis::ContaineranalysisV1beta1::Signature::Representation
864
+
865
+ end
866
+ end
867
+
868
+ class GerritSourceContext
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ContaineranalysisV1beta1::AliasContext, decorator: Google::Apis::ContaineranalysisV1beta1::AliasContext::Representation
872
+
873
+ property :gerrit_project, as: 'gerritProject'
874
+ property :host_uri, as: 'hostUri'
875
+ property :revision_id, as: 'revisionId'
876
+ end
877
+ end
878
+
879
+ class GetIamPolicyRequest
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :options, as: 'options', class: Google::Apis::ContaineranalysisV1beta1::GetPolicyOptions, decorator: Google::Apis::ContaineranalysisV1beta1::GetPolicyOptions::Representation
883
+
884
+ end
885
+ end
886
+
887
+ class GetPolicyOptions
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ property :requested_policy_version, as: 'requestedPolicyVersion'
891
+ end
892
+ end
893
+
894
+ class GitSourceContext
895
+ # @private
896
+ class Representation < Google::Apis::Core::JsonRepresentation
897
+ property :revision_id, as: 'revisionId'
898
+ property :url, as: 'url'
899
+ end
900
+ end
901
+
902
+ class GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ property :create_time, as: 'createTime'
906
+ property :end_time, as: 'endTime'
907
+ end
908
+ end
909
+
910
+ class GrafeasV1beta1BuildDetails
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :provenance, as: 'provenance', class: Google::Apis::ContaineranalysisV1beta1::BuildProvenance, decorator: Google::Apis::ContaineranalysisV1beta1::BuildProvenance::Representation
914
+
915
+ property :provenance_bytes, as: 'provenanceBytes'
916
+ end
917
+ end
918
+
919
+ class GrafeasV1beta1DeploymentDetails
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :deployment, as: 'deployment', class: Google::Apis::ContaineranalysisV1beta1::Deployment, decorator: Google::Apis::ContaineranalysisV1beta1::Deployment::Representation
923
+
924
+ end
925
+ end
926
+
927
+ class GrafeasV1beta1DiscoveryDetails
928
+ # @private
929
+ class Representation < Google::Apis::Core::JsonRepresentation
930
+ property :discovered, as: 'discovered', class: Google::Apis::ContaineranalysisV1beta1::Discovered, decorator: Google::Apis::ContaineranalysisV1beta1::Discovered::Representation
931
+
932
+ end
933
+ end
934
+
935
+ class GrafeasV1beta1ImageDetails
936
+ # @private
937
+ class Representation < Google::Apis::Core::JsonRepresentation
938
+ property :derived_image, as: 'derivedImage', class: Google::Apis::ContaineranalysisV1beta1::Derived, decorator: Google::Apis::ContaineranalysisV1beta1::Derived::Representation
939
+
940
+ end
941
+ end
942
+
943
+ class GrafeasV1beta1IntotoArtifact
944
+ # @private
945
+ class Representation < Google::Apis::Core::JsonRepresentation
946
+ property :hashes, as: 'hashes', class: Google::Apis::ContaineranalysisV1beta1::ArtifactHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ArtifactHashes::Representation
947
+
948
+ property :resource_uri, as: 'resourceUri'
949
+ end
950
+ end
951
+
952
+ class GrafeasV1beta1IntotoDetails
953
+ # @private
954
+ class Representation < Google::Apis::Core::JsonRepresentation
955
+ collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature::Representation
956
+
957
+ property :signed, as: 'signed', class: Google::Apis::ContaineranalysisV1beta1::Link, decorator: Google::Apis::ContaineranalysisV1beta1::Link::Representation
958
+
959
+ end
960
+ end
961
+
962
+ class GrafeasV1beta1IntotoSignature
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :keyid, as: 'keyid'
966
+ property :sig, as: 'sig'
967
+ end
968
+ end
969
+
970
+ class GrafeasV1beta1PackageDetails
971
+ # @private
972
+ class Representation < Google::Apis::Core::JsonRepresentation
973
+ property :installation, as: 'installation', class: Google::Apis::ContaineranalysisV1beta1::Installation, decorator: Google::Apis::ContaineranalysisV1beta1::Installation::Representation
974
+
975
+ end
976
+ end
977
+
978
+ class GrafeasV1beta1VulnerabilityDetails
979
+ # @private
980
+ class Representation < Google::Apis::Core::JsonRepresentation
981
+ property :cvss_score, as: 'cvssScore'
982
+ property :effective_severity, as: 'effectiveSeverity'
983
+ property :long_description, as: 'longDescription'
984
+ collection :package_issue, as: 'packageIssue', class: Google::Apis::ContaineranalysisV1beta1::PackageIssue, decorator: Google::Apis::ContaineranalysisV1beta1::PackageIssue::Representation
985
+
986
+ collection :related_urls, as: 'relatedUrls', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
987
+
988
+ property :severity, as: 'severity'
989
+ property :short_description, as: 'shortDescription'
990
+ property :type, as: 'type'
991
+ end
992
+ end
993
+
994
+ class HashProp
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :type, as: 'type'
998
+ property :value, :base64 => true, as: 'value'
999
+ end
1000
+ end
1001
+
1002
+ class Hint
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ property :human_readable_name, as: 'humanReadableName'
1006
+ end
1007
+ end
1008
+
1009
+ class InToto
1010
+ # @private
1011
+ class Representation < Google::Apis::Core::JsonRepresentation
1012
+ collection :expected_command, as: 'expectedCommand'
1013
+ collection :expected_materials, as: 'expectedMaterials', class: Google::Apis::ContaineranalysisV1beta1::ArtifactRule, decorator: Google::Apis::ContaineranalysisV1beta1::ArtifactRule::Representation
1014
+
1015
+ collection :expected_products, as: 'expectedProducts', class: Google::Apis::ContaineranalysisV1beta1::ArtifactRule, decorator: Google::Apis::ContaineranalysisV1beta1::ArtifactRule::Representation
1016
+
1017
+ collection :signing_keys, as: 'signingKeys', class: Google::Apis::ContaineranalysisV1beta1::SigningKey, decorator: Google::Apis::ContaineranalysisV1beta1::SigningKey::Representation
1018
+
1019
+ property :step_name, as: 'stepName'
1020
+ property :threshold, :numeric_string => true, as: 'threshold'
1021
+ end
1022
+ end
1023
+
1024
+ class Installation
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1beta1::Location, decorator: Google::Apis::ContaineranalysisV1beta1::Location::Representation
1028
+
1029
+ property :name, as: 'name'
1030
+ end
1031
+ end
1032
+
1033
+ class KnowledgeBase
1034
+ # @private
1035
+ class Representation < Google::Apis::Core::JsonRepresentation
1036
+ property :name, as: 'name'
1037
+ property :url, as: 'url'
1038
+ end
1039
+ end
1040
+
1041
+ class Layer
1042
+ # @private
1043
+ class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :arguments, as: 'arguments'
1045
+ property :directive, as: 'directive'
1046
+ end
1047
+ end
1048
+
1049
+ class Link
1050
+ # @private
1051
+ class Representation < Google::Apis::Core::JsonRepresentation
1052
+ property :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1beta1::ByProducts, decorator: Google::Apis::ContaineranalysisV1beta1::ByProducts::Representation
1053
+
1054
+ collection :command, as: 'command'
1055
+ property :environment, as: 'environment', class: Google::Apis::ContaineranalysisV1beta1::Environment, decorator: Google::Apis::ContaineranalysisV1beta1::Environment::Representation
1056
+
1057
+ collection :materials, as: 'materials', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact::Representation
1058
+
1059
+ collection :products, as: 'products', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact::Representation
1060
+
1061
+ end
1062
+ end
1063
+
1064
+ class ListNoteOccurrencesResponse
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ property :next_page_token, as: 'nextPageToken'
1068
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1beta1::Occurrence, decorator: Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
1069
+
1070
+ end
1071
+ end
1072
+
1073
+ class ListNotesResponse
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :next_page_token, as: 'nextPageToken'
1077
+ collection :notes, as: 'notes', class: Google::Apis::ContaineranalysisV1beta1::Note, decorator: Google::Apis::ContaineranalysisV1beta1::Note::Representation
1078
+
1079
+ end
1080
+ end
1081
+
1082
+ class ListOccurrencesResponse
1083
+ # @private
1084
+ class Representation < Google::Apis::Core::JsonRepresentation
1085
+ property :next_page_token, as: 'nextPageToken'
1086
+ collection :occurrences, as: 'occurrences', class: Google::Apis::ContaineranalysisV1beta1::Occurrence, decorator: Google::Apis::ContaineranalysisV1beta1::Occurrence::Representation
1087
+
1088
+ end
1089
+ end
1090
+
1091
+ class ListScanConfigsResponse
1092
+ # @private
1093
+ class Representation < Google::Apis::Core::JsonRepresentation
1094
+ property :next_page_token, as: 'nextPageToken'
1095
+ collection :scan_configs, as: 'scanConfigs', class: Google::Apis::ContaineranalysisV1beta1::ScanConfig, decorator: Google::Apis::ContaineranalysisV1beta1::ScanConfig::Representation
1096
+
1097
+ end
1098
+ end
1099
+
1100
+ class Location
1101
+ # @private
1102
+ class Representation < Google::Apis::Core::JsonRepresentation
1103
+ property :cpe_uri, as: 'cpeUri'
1104
+ property :path, as: 'path'
1105
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1beta1::Version, decorator: Google::Apis::ContaineranalysisV1beta1::Version::Representation
1106
+
1107
+ end
1108
+ end
1109
+
1110
+ class Note
1111
+ # @private
1112
+ class Representation < Google::Apis::Core::JsonRepresentation
1113
+ property :attestation_authority, as: 'attestationAuthority', class: Google::Apis::ContaineranalysisV1beta1::Authority, decorator: Google::Apis::ContaineranalysisV1beta1::Authority::Representation
1114
+
1115
+ property :base_image, as: 'baseImage', class: Google::Apis::ContaineranalysisV1beta1::Basis, decorator: Google::Apis::ContaineranalysisV1beta1::Basis::Representation
1116
+
1117
+ property :build, as: 'build', class: Google::Apis::ContaineranalysisV1beta1::Build, decorator: Google::Apis::ContaineranalysisV1beta1::Build::Representation
1118
+
1119
+ property :create_time, as: 'createTime'
1120
+ property :deployable, as: 'deployable', class: Google::Apis::ContaineranalysisV1beta1::Deployable, decorator: Google::Apis::ContaineranalysisV1beta1::Deployable::Representation
1121
+
1122
+ property :discovery, as: 'discovery', class: Google::Apis::ContaineranalysisV1beta1::Discovery, decorator: Google::Apis::ContaineranalysisV1beta1::Discovery::Representation
1123
+
1124
+ property :expiration_time, as: 'expirationTime'
1125
+ property :intoto, as: 'intoto', class: Google::Apis::ContaineranalysisV1beta1::InToto, decorator: Google::Apis::ContaineranalysisV1beta1::InToto::Representation
1126
+
1127
+ property :kind, as: 'kind'
1128
+ property :long_description, as: 'longDescription'
1129
+ property :name, as: 'name'
1130
+ property :package, as: 'package', class: Google::Apis::ContaineranalysisV1beta1::Package, decorator: Google::Apis::ContaineranalysisV1beta1::Package::Representation
1131
+
1132
+ collection :related_note_names, as: 'relatedNoteNames'
1133
+ collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1beta1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1beta1::RelatedUrl::Representation
1134
+
1135
+ property :short_description, as: 'shortDescription'
1136
+ property :update_time, as: 'updateTime'
1137
+ property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::Vulnerability, decorator: Google::Apis::ContaineranalysisV1beta1::Vulnerability::Representation
1138
+
1139
+ end
1140
+ end
1141
+
1142
+ class Occurrence
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ property :attestation, as: 'attestation', class: Google::Apis::ContaineranalysisV1beta1::Details, decorator: Google::Apis::ContaineranalysisV1beta1::Details::Representation
1146
+
1147
+ property :build, as: 'build', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1BuildDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1BuildDetails::Representation
1148
+
1149
+ property :create_time, as: 'createTime'
1150
+ property :deployment, as: 'deployment', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1DeploymentDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1DeploymentDetails::Representation
1151
+
1152
+ property :derived_image, as: 'derivedImage', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1ImageDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1ImageDetails::Representation
1153
+
1154
+ property :discovered, as: 'discovered', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1DiscoveryDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1DiscoveryDetails::Representation
1155
+
1156
+ property :installation, as: 'installation', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1PackageDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1PackageDetails::Representation
1157
+
1158
+ property :intoto, as: 'intoto', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoDetails::Representation
1159
+
1160
+ property :kind, as: 'kind'
1161
+ property :name, as: 'name'
1162
+ property :note_name, as: 'noteName'
1163
+ property :remediation, as: 'remediation'
1164
+ property :resource, as: 'resource', class: Google::Apis::ContaineranalysisV1beta1::Resource, decorator: Google::Apis::ContaineranalysisV1beta1::Resource::Representation
1165
+
1166
+ property :update_time, as: 'updateTime'
1167
+ property :vulnerability, as: 'vulnerability', class: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails, decorator: Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1VulnerabilityDetails::Representation
1168
+
1169
+ end
1170
+ end
1171
+
1172
+ class Package
1173
+ # @private
1174
+ class Representation < Google::Apis::Core::JsonRepresentation
1175
+ collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1beta1::Distribution, decorator: Google::Apis::ContaineranalysisV1beta1::Distribution::Representation
1176
+
1177
+ property :name, as: 'name'
1178
+ end
1179
+ end
1180
+
1181
+ class PackageIssue
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
1185
+
1186
+ property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
1187
+
1188
+ property :severity_name, as: 'severityName'
1189
+ end
1190
+ end
1191
+
1192
+ class PgpSignedAttestation
1193
+ # @private
1194
+ class Representation < Google::Apis::Core::JsonRepresentation
1195
+ property :content_type, as: 'contentType'
1196
+ property :pgp_key_id, as: 'pgpKeyId'
1197
+ property :signature, as: 'signature'
1198
+ end
1199
+ end
1200
+
1201
+ class Policy
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ collection :bindings, as: 'bindings', class: Google::Apis::ContaineranalysisV1beta1::Binding, decorator: Google::Apis::ContaineranalysisV1beta1::Binding::Representation
1205
+
1206
+ property :etag, :base64 => true, as: 'etag'
1207
+ property :version, as: 'version'
1208
+ end
1209
+ end
1210
+
1211
+ class ProjectRepoId
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ property :project_id, as: 'projectId'
1215
+ property :repo_name, as: 'repoName'
1216
+ end
1217
+ end
1218
+
1219
+ class RelatedUrl
1220
+ # @private
1221
+ class Representation < Google::Apis::Core::JsonRepresentation
1222
+ property :label, as: 'label'
1223
+ property :url, as: 'url'
1224
+ end
1225
+ end
1226
+
1227
+ class RepoId
1228
+ # @private
1229
+ class Representation < Google::Apis::Core::JsonRepresentation
1230
+ property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ContaineranalysisV1beta1::ProjectRepoId, decorator: Google::Apis::ContaineranalysisV1beta1::ProjectRepoId::Representation
1231
+
1232
+ property :uid, as: 'uid'
1233
+ end
1234
+ end
1235
+
1236
+ class Resource
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ property :content_hash, as: 'contentHash', class: Google::Apis::ContaineranalysisV1beta1::HashProp, decorator: Google::Apis::ContaineranalysisV1beta1::HashProp::Representation
1240
+
1241
+ property :name, as: 'name'
1242
+ property :uri, as: 'uri'
1243
+ end
1244
+ end
1245
+
1246
+ class ScanConfig
1247
+ # @private
1248
+ class Representation < Google::Apis::Core::JsonRepresentation
1249
+ property :create_time, as: 'createTime'
1250
+ property :description, as: 'description'
1251
+ property :enabled, as: 'enabled'
1252
+ property :name, as: 'name'
1253
+ property :update_time, as: 'updateTime'
1254
+ end
1255
+ end
1256
+
1257
+ class SetIamPolicyRequest
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :policy, as: 'policy', class: Google::Apis::ContaineranalysisV1beta1::Policy, decorator: Google::Apis::ContaineranalysisV1beta1::Policy::Representation
1261
+
1262
+ end
1263
+ end
1264
+
1265
+ class Signature
1266
+ # @private
1267
+ class Representation < Google::Apis::Core::JsonRepresentation
1268
+ property :public_key_id, as: 'publicKeyId'
1269
+ property :signature, :base64 => true, as: 'signature'
1270
+ end
1271
+ end
1272
+
1273
+ class SigningKey
1274
+ # @private
1275
+ class Representation < Google::Apis::Core::JsonRepresentation
1276
+ property :key_id, as: 'keyId'
1277
+ property :key_scheme, as: 'keyScheme'
1278
+ property :key_type, as: 'keyType'
1279
+ property :public_key_value, as: 'publicKeyValue'
1280
+ end
1281
+ end
1282
+
1283
+ class Source
1284
+ # @private
1285
+ class Representation < Google::Apis::Core::JsonRepresentation
1286
+ collection :additional_contexts, as: 'additionalContexts', class: Google::Apis::ContaineranalysisV1beta1::SourceContext, decorator: Google::Apis::ContaineranalysisV1beta1::SourceContext::Representation
1287
+
1288
+ property :artifact_storage_source_uri, as: 'artifactStorageSourceUri'
1289
+ property :context, as: 'context', class: Google::Apis::ContaineranalysisV1beta1::SourceContext, decorator: Google::Apis::ContaineranalysisV1beta1::SourceContext::Representation
1290
+
1291
+ hash :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1beta1::FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::FileHashes::Representation
1292
+
1293
+ end
1294
+ end
1295
+
1296
+ class SourceContext
1297
+ # @private
1298
+ class Representation < Google::Apis::Core::JsonRepresentation
1299
+ property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ContaineranalysisV1beta1::CloudRepoSourceContext, decorator: Google::Apis::ContaineranalysisV1beta1::CloudRepoSourceContext::Representation
1300
+
1301
+ property :gerrit, as: 'gerrit', class: Google::Apis::ContaineranalysisV1beta1::GerritSourceContext, decorator: Google::Apis::ContaineranalysisV1beta1::GerritSourceContext::Representation
1302
+
1303
+ property :git, as: 'git', class: Google::Apis::ContaineranalysisV1beta1::GitSourceContext, decorator: Google::Apis::ContaineranalysisV1beta1::GitSourceContext::Representation
1304
+
1305
+ hash :labels, as: 'labels'
1306
+ end
1307
+ end
1308
+
1309
+ class Status
1310
+ # @private
1311
+ class Representation < Google::Apis::Core::JsonRepresentation
1312
+ property :code, as: 'code'
1313
+ collection :details, as: 'details'
1314
+ property :message, as: 'message'
1315
+ end
1316
+ end
1317
+
1318
+ class TestIamPermissionsRequest
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ collection :permissions, as: 'permissions'
1322
+ end
1323
+ end
1324
+
1325
+ class TestIamPermissionsResponse
1326
+ # @private
1327
+ class Representation < Google::Apis::Core::JsonRepresentation
1328
+ collection :permissions, as: 'permissions'
1329
+ end
1330
+ end
1331
+
1332
+ class Version
1333
+ # @private
1334
+ class Representation < Google::Apis::Core::JsonRepresentation
1335
+ property :epoch, as: 'epoch'
1336
+ property :kind, as: 'kind'
1337
+ property :name, as: 'name'
1338
+ property :revision, as: 'revision'
1339
+ end
1340
+ end
1341
+
1342
+ class Vulnerability
1343
+ # @private
1344
+ class Representation < Google::Apis::Core::JsonRepresentation
1345
+ property :cvss_score, as: 'cvssScore'
1346
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1beta1::CvsSv3, decorator: Google::Apis::ContaineranalysisV1beta1::CvsSv3::Representation
1347
+
1348
+ collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
1349
+
1350
+ property :severity, as: 'severity'
1351
+ property :source_update_time, as: 'sourceUpdateTime'
1352
+ collection :windows_details, as: 'windowsDetails', class: Google::Apis::ContaineranalysisV1beta1::WindowsDetail, decorator: Google::Apis::ContaineranalysisV1beta1::WindowsDetail::Representation
1353
+
1354
+ end
1355
+ end
1356
+
1357
+ class VulnerabilityLocation
1358
+ # @private
1359
+ class Representation < Google::Apis::Core::JsonRepresentation
1360
+ property :cpe_uri, as: 'cpeUri'
1361
+ property :package, as: 'package'
1362
+ property :version, as: 'version', class: Google::Apis::ContaineranalysisV1beta1::Version, decorator: Google::Apis::ContaineranalysisV1beta1::Version::Representation
1363
+
1364
+ end
1365
+ end
1366
+
1367
+ class VulnerabilityOccurrencesSummary
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ collection :counts, as: 'counts', class: Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest, decorator: Google::Apis::ContaineranalysisV1beta1::FixableTotalByDigest::Representation
1371
+
1372
+ end
1373
+ end
1374
+
1375
+ class WindowsDetail
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ property :cpe_uri, as: 'cpeUri'
1379
+ property :description, as: 'description'
1380
+ collection :fixing_kbs, as: 'fixingKbs', class: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase, decorator: Google::Apis::ContaineranalysisV1beta1::KnowledgeBase::Representation
1381
+
1382
+ property :name, as: 'name'
1383
+ end
1384
+ end
1385
+ end
1386
+ end
1387
+ end