google-apis-ondemandscanning_v1 0.39.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e0e34757811de970cc79b981fe45d1c5cb9e613b7818bbb8233b43ce5571a2d
|
4
|
+
data.tar.gz: 10ba692ff95117e6e0b3496329a0bb9445a584dee6d92d38fb640dc1919882b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9520e6e526587a4e55ea4538f91f80cb01fbc584bb65c329eb466d23535e288ad8cfa1236893d7eed6d7ac60851c4e1f2821b0a1ec9762afab63db2e1e5feae4
|
7
|
+
data.tar.gz: c1ecc6fda5e49bf5594707e18d68079dfc3b90737ceaaa8894f37a620871142edcf1c4f9b1a8b97dad3a24983b2b9dafea24377031879a39961b9d744982fe05
|
data/CHANGELOG.md
CHANGED
@@ -309,10 +309,85 @@ module Google
|
|
309
309
|
end
|
310
310
|
end
|
311
311
|
|
312
|
+
#
|
313
|
+
class BuildDefinition
|
314
|
+
include Google::Apis::Core::Hashable
|
315
|
+
|
316
|
+
#
|
317
|
+
# Corresponds to the JSON property `buildType`
|
318
|
+
# @return [String]
|
319
|
+
attr_accessor :build_type
|
320
|
+
|
321
|
+
#
|
322
|
+
# Corresponds to the JSON property `externalParameters`
|
323
|
+
# @return [Hash<String,Object>]
|
324
|
+
attr_accessor :external_parameters
|
325
|
+
|
326
|
+
#
|
327
|
+
# Corresponds to the JSON property `internalParameters`
|
328
|
+
# @return [Hash<String,Object>]
|
329
|
+
attr_accessor :internal_parameters
|
330
|
+
|
331
|
+
#
|
332
|
+
# Corresponds to the JSON property `resolvedDependencies`
|
333
|
+
# @return [Array<Google::Apis::OndemandscanningV1::ResourceDescriptor>]
|
334
|
+
attr_accessor :resolved_dependencies
|
335
|
+
|
336
|
+
def initialize(**args)
|
337
|
+
update!(**args)
|
338
|
+
end
|
339
|
+
|
340
|
+
# Update properties of this object
|
341
|
+
def update!(**args)
|
342
|
+
@build_type = args[:build_type] if args.key?(:build_type)
|
343
|
+
@external_parameters = args[:external_parameters] if args.key?(:external_parameters)
|
344
|
+
@internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
|
345
|
+
@resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
|
346
|
+
end
|
347
|
+
end
|
348
|
+
|
349
|
+
#
|
350
|
+
class BuildMetadata
|
351
|
+
include Google::Apis::Core::Hashable
|
352
|
+
|
353
|
+
#
|
354
|
+
# Corresponds to the JSON property `finishedOn`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :finished_on
|
357
|
+
|
358
|
+
#
|
359
|
+
# Corresponds to the JSON property `invocationId`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :invocation_id
|
362
|
+
|
363
|
+
#
|
364
|
+
# Corresponds to the JSON property `startedOn`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :started_on
|
367
|
+
|
368
|
+
def initialize(**args)
|
369
|
+
update!(**args)
|
370
|
+
end
|
371
|
+
|
372
|
+
# Update properties of this object
|
373
|
+
def update!(**args)
|
374
|
+
@finished_on = args[:finished_on] if args.key?(:finished_on)
|
375
|
+
@invocation_id = args[:invocation_id] if args.key?(:invocation_id)
|
376
|
+
@started_on = args[:started_on] if args.key?(:started_on)
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
312
380
|
# Details of a build occurrence.
|
313
381
|
class BuildOccurrence
|
314
382
|
include Google::Apis::Core::Hashable
|
315
383
|
|
384
|
+
# In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec,
|
385
|
+
# wrapped in an in-toto statement. This allows for direct jsonification of a to-
|
386
|
+
# spec in-toto slsa statement with a to-spec slsa provenance.
|
387
|
+
# Corresponds to the JSON property `inTotoSlsaProvenanceV1`
|
388
|
+
# @return [Google::Apis::OndemandscanningV1::InTotoSlsaProvenanceV1]
|
389
|
+
attr_accessor :in_toto_slsa_provenance_v1
|
390
|
+
|
316
391
|
# Deprecated. See InTotoStatement for the replacement. In-toto Provenance
|
317
392
|
# representation as defined in spec.
|
318
393
|
# Corresponds to the JSON property `intotoProvenance`
|
@@ -350,6 +425,7 @@ module Google
|
|
350
425
|
|
351
426
|
# Update properties of this object
|
352
427
|
def update!(**args)
|
428
|
+
@in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
|
353
429
|
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
354
430
|
@intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
|
355
431
|
@provenance = args[:provenance] if args.key?(:provenance)
|
@@ -869,6 +945,11 @@ module Google
|
|
869
945
|
# @return [String]
|
870
946
|
attr_accessor :last_scan_time
|
871
947
|
|
948
|
+
# The status of an SBOM generation.
|
949
|
+
# Corresponds to the JSON property `sbomStatus`
|
950
|
+
# @return [Google::Apis::OndemandscanningV1::SbomStatus]
|
951
|
+
attr_accessor :sbom_status
|
952
|
+
|
872
953
|
def initialize(**args)
|
873
954
|
update!(**args)
|
874
955
|
end
|
@@ -883,6 +964,7 @@ module Google
|
|
883
964
|
@continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
|
884
965
|
@cpe = args[:cpe] if args.key?(:cpe)
|
885
966
|
@last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
|
967
|
+
@sbom_status = args[:sbom_status] if args.key?(:sbom_status)
|
886
968
|
end
|
887
969
|
end
|
888
970
|
|
@@ -1442,6 +1524,46 @@ module Google
|
|
1442
1524
|
end
|
1443
1525
|
end
|
1444
1526
|
|
1527
|
+
#
|
1528
|
+
class InTotoSlsaProvenanceV1
|
1529
|
+
include Google::Apis::Core::Hashable
|
1530
|
+
|
1531
|
+
# InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
1532
|
+
# statement
|
1533
|
+
# Corresponds to the JSON property `_type`
|
1534
|
+
# @return [String]
|
1535
|
+
attr_accessor :_type
|
1536
|
+
|
1537
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
1538
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
1539
|
+
# ProvenanceBuilder because of Java conflicts.
|
1540
|
+
# Corresponds to the JSON property `predicate`
|
1541
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaProvenanceV1]
|
1542
|
+
attr_accessor :predicate
|
1543
|
+
|
1544
|
+
#
|
1545
|
+
# Corresponds to the JSON property `predicateType`
|
1546
|
+
# @return [String]
|
1547
|
+
attr_accessor :predicate_type
|
1548
|
+
|
1549
|
+
#
|
1550
|
+
# Corresponds to the JSON property `subject`
|
1551
|
+
# @return [Array<Google::Apis::OndemandscanningV1::Subject>]
|
1552
|
+
attr_accessor :subject
|
1553
|
+
|
1554
|
+
def initialize(**args)
|
1555
|
+
update!(**args)
|
1556
|
+
end
|
1557
|
+
|
1558
|
+
# Update properties of this object
|
1559
|
+
def update!(**args)
|
1560
|
+
@_type = args[:_type] if args.key?(:_type)
|
1561
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
1562
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
1563
|
+
@subject = args[:subject] if args.key?(:subject)
|
1564
|
+
end
|
1565
|
+
end
|
1566
|
+
|
1445
1567
|
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
1446
1568
|
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
1447
1569
|
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
@@ -2354,6 +2476,37 @@ module Google
|
|
2354
2476
|
end
|
2355
2477
|
end
|
2356
2478
|
|
2479
|
+
#
|
2480
|
+
class ProvenanceBuilder
|
2481
|
+
include Google::Apis::Core::Hashable
|
2482
|
+
|
2483
|
+
#
|
2484
|
+
# Corresponds to the JSON property `builderDependencies`
|
2485
|
+
# @return [Array<Google::Apis::OndemandscanningV1::ResourceDescriptor>]
|
2486
|
+
attr_accessor :builder_dependencies
|
2487
|
+
|
2488
|
+
#
|
2489
|
+
# Corresponds to the JSON property `id`
|
2490
|
+
# @return [String]
|
2491
|
+
attr_accessor :id
|
2492
|
+
|
2493
|
+
#
|
2494
|
+
# Corresponds to the JSON property `version`
|
2495
|
+
# @return [Hash<String,String>]
|
2496
|
+
attr_accessor :version
|
2497
|
+
|
2498
|
+
def initialize(**args)
|
2499
|
+
update!(**args)
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
# Update properties of this object
|
2503
|
+
def update!(**args)
|
2504
|
+
@builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
|
2505
|
+
@id = args[:id] if args.key?(:id)
|
2506
|
+
@version = args[:version] if args.key?(:version)
|
2507
|
+
end
|
2508
|
+
end
|
2509
|
+
|
2357
2510
|
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2358
2511
|
# corresponds to one step in the recipe.
|
2359
2512
|
class Recipe
|
@@ -2497,6 +2650,93 @@ module Google
|
|
2497
2650
|
end
|
2498
2651
|
end
|
2499
2652
|
|
2653
|
+
#
|
2654
|
+
class ResourceDescriptor
|
2655
|
+
include Google::Apis::Core::Hashable
|
2656
|
+
|
2657
|
+
#
|
2658
|
+
# Corresponds to the JSON property `annotations`
|
2659
|
+
# @return [Hash<String,Object>]
|
2660
|
+
attr_accessor :annotations
|
2661
|
+
|
2662
|
+
#
|
2663
|
+
# Corresponds to the JSON property `content`
|
2664
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2665
|
+
# @return [String]
|
2666
|
+
attr_accessor :content
|
2667
|
+
|
2668
|
+
#
|
2669
|
+
# Corresponds to the JSON property `digest`
|
2670
|
+
# @return [Hash<String,String>]
|
2671
|
+
attr_accessor :digest
|
2672
|
+
|
2673
|
+
#
|
2674
|
+
# Corresponds to the JSON property `downloadLocation`
|
2675
|
+
# @return [String]
|
2676
|
+
attr_accessor :download_location
|
2677
|
+
|
2678
|
+
#
|
2679
|
+
# Corresponds to the JSON property `mediaType`
|
2680
|
+
# @return [String]
|
2681
|
+
attr_accessor :media_type
|
2682
|
+
|
2683
|
+
#
|
2684
|
+
# Corresponds to the JSON property `name`
|
2685
|
+
# @return [String]
|
2686
|
+
attr_accessor :name
|
2687
|
+
|
2688
|
+
#
|
2689
|
+
# Corresponds to the JSON property `uri`
|
2690
|
+
# @return [String]
|
2691
|
+
attr_accessor :uri
|
2692
|
+
|
2693
|
+
def initialize(**args)
|
2694
|
+
update!(**args)
|
2695
|
+
end
|
2696
|
+
|
2697
|
+
# Update properties of this object
|
2698
|
+
def update!(**args)
|
2699
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
2700
|
+
@content = args[:content] if args.key?(:content)
|
2701
|
+
@digest = args[:digest] if args.key?(:digest)
|
2702
|
+
@download_location = args[:download_location] if args.key?(:download_location)
|
2703
|
+
@media_type = args[:media_type] if args.key?(:media_type)
|
2704
|
+
@name = args[:name] if args.key?(:name)
|
2705
|
+
@uri = args[:uri] if args.key?(:uri)
|
2706
|
+
end
|
2707
|
+
end
|
2708
|
+
|
2709
|
+
#
|
2710
|
+
class RunDetails
|
2711
|
+
include Google::Apis::Core::Hashable
|
2712
|
+
|
2713
|
+
#
|
2714
|
+
# Corresponds to the JSON property `builder`
|
2715
|
+
# @return [Google::Apis::OndemandscanningV1::ProvenanceBuilder]
|
2716
|
+
attr_accessor :builder
|
2717
|
+
|
2718
|
+
#
|
2719
|
+
# Corresponds to the JSON property `byproducts`
|
2720
|
+
# @return [Array<Google::Apis::OndemandscanningV1::ResourceDescriptor>]
|
2721
|
+
attr_accessor :byproducts
|
2722
|
+
|
2723
|
+
#
|
2724
|
+
# Corresponds to the JSON property `metadata`
|
2725
|
+
# @return [Google::Apis::OndemandscanningV1::BuildMetadata]
|
2726
|
+
attr_accessor :metadata
|
2727
|
+
|
2728
|
+
def initialize(**args)
|
2729
|
+
update!(**args)
|
2730
|
+
end
|
2731
|
+
|
2732
|
+
# Update properties of this object
|
2733
|
+
def update!(**args)
|
2734
|
+
@builder = args[:builder] if args.key?(:builder)
|
2735
|
+
@byproducts = args[:byproducts] if args.key?(:byproducts)
|
2736
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2737
|
+
end
|
2738
|
+
end
|
2739
|
+
|
2500
2740
|
# The occurrence representing an SBOM reference as applied to a specific
|
2501
2741
|
# resource. The occurrence follows the DSSE specification. See https://github.
|
2502
2742
|
# com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
|
@@ -2533,6 +2773,32 @@ module Google
|
|
2533
2773
|
end
|
2534
2774
|
end
|
2535
2775
|
|
2776
|
+
# The status of an SBOM generation.
|
2777
|
+
class SbomStatus
|
2778
|
+
include Google::Apis::Core::Hashable
|
2779
|
+
|
2780
|
+
# If there was an error generating an SBOM, this will indicate what that error
|
2781
|
+
# was.
|
2782
|
+
# Corresponds to the JSON property `error`
|
2783
|
+
# @return [String]
|
2784
|
+
attr_accessor :error
|
2785
|
+
|
2786
|
+
# The progress of the SBOM generation.
|
2787
|
+
# Corresponds to the JSON property `sbomState`
|
2788
|
+
# @return [String]
|
2789
|
+
attr_accessor :sbom_state
|
2790
|
+
|
2791
|
+
def initialize(**args)
|
2792
|
+
update!(**args)
|
2793
|
+
end
|
2794
|
+
|
2795
|
+
# Update properties of this object
|
2796
|
+
def update!(**args)
|
2797
|
+
@error = args[:error] if args.key?(:error)
|
2798
|
+
@sbom_state = args[:sbom_state] if args.key?(:sbom_state)
|
2799
|
+
end
|
2800
|
+
end
|
2801
|
+
|
2536
2802
|
# The actual payload that contains the SBOM Reference data. The payload follows
|
2537
2803
|
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
2538
2804
|
# blob/main/spec/v1.0/statement.md for more details.
|
@@ -2810,6 +3076,33 @@ module Google
|
|
2810
3076
|
end
|
2811
3077
|
end
|
2812
3078
|
|
3079
|
+
# Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
|
3080
|
+
# docs/provenance/schema/v1/provenance.proto Builder renamed to
|
3081
|
+
# ProvenanceBuilder because of Java conflicts.
|
3082
|
+
class SlsaProvenanceV1
|
3083
|
+
include Google::Apis::Core::Hashable
|
3084
|
+
|
3085
|
+
#
|
3086
|
+
# Corresponds to the JSON property `buildDefinition`
|
3087
|
+
# @return [Google::Apis::OndemandscanningV1::BuildDefinition]
|
3088
|
+
attr_accessor :build_definition
|
3089
|
+
|
3090
|
+
#
|
3091
|
+
# Corresponds to the JSON property `runDetails`
|
3092
|
+
# @return [Google::Apis::OndemandscanningV1::RunDetails]
|
3093
|
+
attr_accessor :run_details
|
3094
|
+
|
3095
|
+
def initialize(**args)
|
3096
|
+
update!(**args)
|
3097
|
+
end
|
3098
|
+
|
3099
|
+
# Update properties of this object
|
3100
|
+
def update!(**args)
|
3101
|
+
@build_definition = args[:build_definition] if args.key?(:build_definition)
|
3102
|
+
@run_details = args[:run_details] if args.key?(:run_details)
|
3103
|
+
end
|
3104
|
+
end
|
3105
|
+
|
2813
3106
|
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
2814
3107
|
class SlsaProvenanceZeroTwo
|
2815
3108
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230710"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class BuildDefinition
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class BuildMetadata
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class BuildOccurrence
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -268,6 +280,12 @@ module Google
|
|
268
280
|
include Google::Apis::Core::JsonObjectSupport
|
269
281
|
end
|
270
282
|
|
283
|
+
class InTotoSlsaProvenanceV1
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
271
289
|
class InTotoStatement
|
272
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
291
|
|
@@ -388,6 +406,12 @@ module Google
|
|
388
406
|
include Google::Apis::Core::JsonObjectSupport
|
389
407
|
end
|
390
408
|
|
409
|
+
class ProvenanceBuilder
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
391
415
|
class Recipe
|
392
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
417
|
|
@@ -412,12 +436,30 @@ module Google
|
|
412
436
|
include Google::Apis::Core::JsonObjectSupport
|
413
437
|
end
|
414
438
|
|
439
|
+
class ResourceDescriptor
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class RunDetails
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
415
451
|
class SbomReferenceOccurrence
|
416
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
453
|
|
418
454
|
include Google::Apis::Core::JsonObjectSupport
|
419
455
|
end
|
420
456
|
|
457
|
+
class SbomStatus
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
421
463
|
class SbomReferenceIntotoPayload
|
422
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
465
|
|
@@ -460,6 +502,12 @@ module Google
|
|
460
502
|
include Google::Apis::Core::JsonObjectSupport
|
461
503
|
end
|
462
504
|
|
505
|
+
class SlsaProvenanceV1
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
463
511
|
class SlsaProvenanceZeroTwo
|
464
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
513
|
|
@@ -617,9 +665,31 @@ module Google
|
|
617
665
|
end
|
618
666
|
end
|
619
667
|
|
668
|
+
class BuildDefinition
|
669
|
+
# @private
|
670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
671
|
+
property :build_type, as: 'buildType'
|
672
|
+
hash :external_parameters, as: 'externalParameters'
|
673
|
+
hash :internal_parameters, as: 'internalParameters'
|
674
|
+
collection :resolved_dependencies, as: 'resolvedDependencies', class: Google::Apis::OndemandscanningV1::ResourceDescriptor, decorator: Google::Apis::OndemandscanningV1::ResourceDescriptor::Representation
|
675
|
+
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
679
|
+
class BuildMetadata
|
680
|
+
# @private
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
682
|
+
property :finished_on, as: 'finishedOn'
|
683
|
+
property :invocation_id, as: 'invocationId'
|
684
|
+
property :started_on, as: 'startedOn'
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
620
688
|
class BuildOccurrence
|
621
689
|
# @private
|
622
690
|
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
property :in_toto_slsa_provenance_v1, as: 'inTotoSlsaProvenanceV1', class: Google::Apis::OndemandscanningV1::InTotoSlsaProvenanceV1, decorator: Google::Apis::OndemandscanningV1::InTotoSlsaProvenanceV1::Representation
|
692
|
+
|
623
693
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1::InTotoProvenance::Representation
|
624
694
|
|
625
695
|
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::OndemandscanningV1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1::InTotoStatement::Representation
|
@@ -763,6 +833,8 @@ module Google
|
|
763
833
|
property :continuous_analysis, as: 'continuousAnalysis'
|
764
834
|
property :cpe, as: 'cpe'
|
765
835
|
property :last_scan_time, as: 'lastScanTime'
|
836
|
+
property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1::SbomStatus, decorator: Google::Apis::OndemandscanningV1::SbomStatus::Representation
|
837
|
+
|
766
838
|
end
|
767
839
|
end
|
768
840
|
|
@@ -936,6 +1008,18 @@ module Google
|
|
936
1008
|
end
|
937
1009
|
end
|
938
1010
|
|
1011
|
+
class InTotoSlsaProvenanceV1
|
1012
|
+
# @private
|
1013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1014
|
+
property :_type, as: '_type'
|
1015
|
+
property :predicate, as: 'predicate', class: Google::Apis::OndemandscanningV1::SlsaProvenanceV1, decorator: Google::Apis::OndemandscanningV1::SlsaProvenanceV1::Representation
|
1016
|
+
|
1017
|
+
property :predicate_type, as: 'predicateType'
|
1018
|
+
collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1::Subject, decorator: Google::Apis::OndemandscanningV1::Subject::Representation
|
1019
|
+
|
1020
|
+
end
|
1021
|
+
end
|
1022
|
+
|
939
1023
|
class InTotoStatement
|
940
1024
|
# @private
|
941
1025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1184,6 +1268,16 @@ module Google
|
|
1184
1268
|
end
|
1185
1269
|
end
|
1186
1270
|
|
1271
|
+
class ProvenanceBuilder
|
1272
|
+
# @private
|
1273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1274
|
+
collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::OndemandscanningV1::ResourceDescriptor, decorator: Google::Apis::OndemandscanningV1::ResourceDescriptor::Representation
|
1275
|
+
|
1276
|
+
property :id, as: 'id'
|
1277
|
+
hash :version, as: 'version'
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1187
1281
|
class Recipe
|
1188
1282
|
# @private
|
1189
1283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1222,6 +1316,31 @@ module Google
|
|
1222
1316
|
end
|
1223
1317
|
end
|
1224
1318
|
|
1319
|
+
class ResourceDescriptor
|
1320
|
+
# @private
|
1321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1322
|
+
hash :annotations, as: 'annotations'
|
1323
|
+
property :content, :base64 => true, as: 'content'
|
1324
|
+
hash :digest, as: 'digest'
|
1325
|
+
property :download_location, as: 'downloadLocation'
|
1326
|
+
property :media_type, as: 'mediaType'
|
1327
|
+
property :name, as: 'name'
|
1328
|
+
property :uri, as: 'uri'
|
1329
|
+
end
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
class RunDetails
|
1333
|
+
# @private
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1335
|
+
property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1::ProvenanceBuilder, decorator: Google::Apis::OndemandscanningV1::ProvenanceBuilder::Representation
|
1336
|
+
|
1337
|
+
collection :byproducts, as: 'byproducts', class: Google::Apis::OndemandscanningV1::ResourceDescriptor, decorator: Google::Apis::OndemandscanningV1::ResourceDescriptor::Representation
|
1338
|
+
|
1339
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1::BuildMetadata, decorator: Google::Apis::OndemandscanningV1::BuildMetadata::Representation
|
1340
|
+
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1225
1344
|
class SbomReferenceOccurrence
|
1226
1345
|
# @private
|
1227
1346
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1233,6 +1352,14 @@ module Google
|
|
1233
1352
|
end
|
1234
1353
|
end
|
1235
1354
|
|
1355
|
+
class SbomStatus
|
1356
|
+
# @private
|
1357
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1358
|
+
property :error, as: 'error'
|
1359
|
+
property :sbom_state, as: 'sbomState'
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1236
1363
|
class SbomReferenceIntotoPayload
|
1237
1364
|
# @private
|
1238
1365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1305,6 +1432,16 @@ module Google
|
|
1305
1432
|
end
|
1306
1433
|
end
|
1307
1434
|
|
1435
|
+
class SlsaProvenanceV1
|
1436
|
+
# @private
|
1437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1438
|
+
property :build_definition, as: 'buildDefinition', class: Google::Apis::OndemandscanningV1::BuildDefinition, decorator: Google::Apis::OndemandscanningV1::BuildDefinition::Representation
|
1439
|
+
|
1440
|
+
property :run_details, as: 'runDetails', class: Google::Apis::OndemandscanningV1::RunDetails, decorator: Google::Apis::OndemandscanningV1::RunDetails::Representation
|
1441
|
+
|
1442
|
+
end
|
1443
|
+
end
|
1444
|
+
|
1308
1445
|
class SlsaProvenanceZeroTwo
|
1309
1446
|
# @private
|
1310
1447
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|