google-apis-ondemandscanning_v1beta1 0.37.0 → 0.38.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: f57200ab17f0db8719a511301471b36307efad541683f3c70e9c2840b9780add
4
- data.tar.gz: e669ed11ffdf6cce45747a4426efba62b39334b7b2a2a161144de885f215c797
3
+ metadata.gz: f236dd4a41813a26871a0bd3174d241613e7d45477f27ef83b26bb38a48d9361
4
+ data.tar.gz: e50bd900fa3d1cb71080b0c902af16e7ede3e94af0e9fad5df39ec6a7b5190b0
5
5
  SHA512:
6
- metadata.gz: 98be78d34cb1dec43fcba04d32d839ba56c6b4ee7fbbaf1a98b4eae1f9dd0222fc3c382a8fce090740dd8968dbbd0127bc83f34e035801ed9130efee7f11a6d3
7
- data.tar.gz: 2c262a63da2247d3262c3fc8d9462e7241f1980fa402936445222bae93f2bd79835d0f4349aaf29f4cd12d9748a9ff17d92b18391cb0200845ed3e5ee5ddd86f
6
+ metadata.gz: f2874e93e57946f9a25febf109366b858c351111a6ceb19c0f3005d5a71e70ef5b889d1b369d024243a315ed9669098929d84d1a184e5de02c480ec9f440b52a
7
+ data.tar.gz: b45466ab55ebd1e7ac922c880bbc157f92fb2389c04b7d897ac45e5f697b84911a2be16b9d0f00fd167b2ea969c8067b95cc2194ee4dbb66523034e3842e8cb9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.38.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230710
6
+
3
7
  ### v0.37.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230522
@@ -301,10 +301,85 @@ module Google
301
301
  end
302
302
  end
303
303
 
304
+ #
305
+ class BuildDefinition
306
+ include Google::Apis::Core::Hashable
307
+
308
+ #
309
+ # Corresponds to the JSON property `buildType`
310
+ # @return [String]
311
+ attr_accessor :build_type
312
+
313
+ #
314
+ # Corresponds to the JSON property `externalParameters`
315
+ # @return [Hash<String,Object>]
316
+ attr_accessor :external_parameters
317
+
318
+ #
319
+ # Corresponds to the JSON property `internalParameters`
320
+ # @return [Hash<String,Object>]
321
+ attr_accessor :internal_parameters
322
+
323
+ #
324
+ # Corresponds to the JSON property `resolvedDependencies`
325
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::ResourceDescriptor>]
326
+ attr_accessor :resolved_dependencies
327
+
328
+ def initialize(**args)
329
+ update!(**args)
330
+ end
331
+
332
+ # Update properties of this object
333
+ def update!(**args)
334
+ @build_type = args[:build_type] if args.key?(:build_type)
335
+ @external_parameters = args[:external_parameters] if args.key?(:external_parameters)
336
+ @internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
337
+ @resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
338
+ end
339
+ end
340
+
341
+ #
342
+ class BuildMetadata
343
+ include Google::Apis::Core::Hashable
344
+
345
+ #
346
+ # Corresponds to the JSON property `finishedOn`
347
+ # @return [String]
348
+ attr_accessor :finished_on
349
+
350
+ #
351
+ # Corresponds to the JSON property `invocationId`
352
+ # @return [String]
353
+ attr_accessor :invocation_id
354
+
355
+ #
356
+ # Corresponds to the JSON property `startedOn`
357
+ # @return [String]
358
+ attr_accessor :started_on
359
+
360
+ def initialize(**args)
361
+ update!(**args)
362
+ end
363
+
364
+ # Update properties of this object
365
+ def update!(**args)
366
+ @finished_on = args[:finished_on] if args.key?(:finished_on)
367
+ @invocation_id = args[:invocation_id] if args.key?(:invocation_id)
368
+ @started_on = args[:started_on] if args.key?(:started_on)
369
+ end
370
+ end
371
+
304
372
  # Details of a build occurrence.
305
373
  class BuildOccurrence
306
374
  include Google::Apis::Core::Hashable
307
375
 
376
+ # In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec,
377
+ # wrapped in an in-toto statement. This allows for direct jsonification of a to-
378
+ # spec in-toto slsa statement with a to-spec slsa provenance.
379
+ # Corresponds to the JSON property `inTotoSlsaProvenanceV1`
380
+ # @return [Google::Apis::OndemandscanningV1beta1::InTotoSlsaProvenanceV1]
381
+ attr_accessor :in_toto_slsa_provenance_v1
382
+
308
383
  # Deprecated. See InTotoStatement for the replacement. In-toto Provenance
309
384
  # representation as defined in spec.
310
385
  # Corresponds to the JSON property `intotoProvenance`
@@ -342,6 +417,7 @@ module Google
342
417
 
343
418
  # Update properties of this object
344
419
  def update!(**args)
420
+ @in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
345
421
  @intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
346
422
  @intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
347
423
  @provenance = args[:provenance] if args.key?(:provenance)
@@ -861,6 +937,11 @@ module Google
861
937
  # @return [String]
862
938
  attr_accessor :last_scan_time
863
939
 
940
+ # The status of an SBOM generation.
941
+ # Corresponds to the JSON property `sbomStatus`
942
+ # @return [Google::Apis::OndemandscanningV1beta1::SbomStatus]
943
+ attr_accessor :sbom_status
944
+
864
945
  def initialize(**args)
865
946
  update!(**args)
866
947
  end
@@ -875,6 +956,7 @@ module Google
875
956
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
876
957
  @cpe = args[:cpe] if args.key?(:cpe)
877
958
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
959
+ @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
878
960
  end
879
961
  end
880
962
 
@@ -1434,6 +1516,46 @@ module Google
1434
1516
  end
1435
1517
  end
1436
1518
 
1519
+ #
1520
+ class InTotoSlsaProvenanceV1
1521
+ include Google::Apis::Core::Hashable
1522
+
1523
+ # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
1524
+ # statement
1525
+ # Corresponds to the JSON property `_type`
1526
+ # @return [String]
1527
+ attr_accessor :_type
1528
+
1529
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
1530
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
1531
+ # ProvenanceBuilder because of Java conflicts.
1532
+ # Corresponds to the JSON property `predicate`
1533
+ # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenanceV1]
1534
+ attr_accessor :predicate
1535
+
1536
+ #
1537
+ # Corresponds to the JSON property `predicateType`
1538
+ # @return [String]
1539
+ attr_accessor :predicate_type
1540
+
1541
+ #
1542
+ # Corresponds to the JSON property `subject`
1543
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
1544
+ attr_accessor :subject
1545
+
1546
+ def initialize(**args)
1547
+ update!(**args)
1548
+ end
1549
+
1550
+ # Update properties of this object
1551
+ def update!(**args)
1552
+ @_type = args[:_type] if args.key?(:_type)
1553
+ @predicate = args[:predicate] if args.key?(:predicate)
1554
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1555
+ @subject = args[:subject] if args.key?(:subject)
1556
+ end
1557
+ end
1558
+
1437
1559
  # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
1438
1560
  # statement The serialized InTotoStatement will be stored as Envelope.payload.
1439
1561
  # Envelope.payloadType is always "application/vnd.in-toto+json".
@@ -2346,6 +2468,37 @@ module Google
2346
2468
  end
2347
2469
  end
2348
2470
 
2471
+ #
2472
+ class ProvenanceBuilder
2473
+ include Google::Apis::Core::Hashable
2474
+
2475
+ #
2476
+ # Corresponds to the JSON property `builderDependencies`
2477
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::ResourceDescriptor>]
2478
+ attr_accessor :builder_dependencies
2479
+
2480
+ #
2481
+ # Corresponds to the JSON property `id`
2482
+ # @return [String]
2483
+ attr_accessor :id
2484
+
2485
+ #
2486
+ # Corresponds to the JSON property `version`
2487
+ # @return [Hash<String,String>]
2488
+ attr_accessor :version
2489
+
2490
+ def initialize(**args)
2491
+ update!(**args)
2492
+ end
2493
+
2494
+ # Update properties of this object
2495
+ def update!(**args)
2496
+ @builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
2497
+ @id = args[:id] if args.key?(:id)
2498
+ @version = args[:version] if args.key?(:version)
2499
+ end
2500
+ end
2501
+
2349
2502
  # Steps taken to build the artifact. For a TaskRun, typically each container
2350
2503
  # corresponds to one step in the recipe.
2351
2504
  class Recipe
@@ -2489,6 +2642,93 @@ module Google
2489
2642
  end
2490
2643
  end
2491
2644
 
2645
+ #
2646
+ class ResourceDescriptor
2647
+ include Google::Apis::Core::Hashable
2648
+
2649
+ #
2650
+ # Corresponds to the JSON property `annotations`
2651
+ # @return [Hash<String,Object>]
2652
+ attr_accessor :annotations
2653
+
2654
+ #
2655
+ # Corresponds to the JSON property `content`
2656
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2657
+ # @return [String]
2658
+ attr_accessor :content
2659
+
2660
+ #
2661
+ # Corresponds to the JSON property `digest`
2662
+ # @return [Hash<String,String>]
2663
+ attr_accessor :digest
2664
+
2665
+ #
2666
+ # Corresponds to the JSON property `downloadLocation`
2667
+ # @return [String]
2668
+ attr_accessor :download_location
2669
+
2670
+ #
2671
+ # Corresponds to the JSON property `mediaType`
2672
+ # @return [String]
2673
+ attr_accessor :media_type
2674
+
2675
+ #
2676
+ # Corresponds to the JSON property `name`
2677
+ # @return [String]
2678
+ attr_accessor :name
2679
+
2680
+ #
2681
+ # Corresponds to the JSON property `uri`
2682
+ # @return [String]
2683
+ attr_accessor :uri
2684
+
2685
+ def initialize(**args)
2686
+ update!(**args)
2687
+ end
2688
+
2689
+ # Update properties of this object
2690
+ def update!(**args)
2691
+ @annotations = args[:annotations] if args.key?(:annotations)
2692
+ @content = args[:content] if args.key?(:content)
2693
+ @digest = args[:digest] if args.key?(:digest)
2694
+ @download_location = args[:download_location] if args.key?(:download_location)
2695
+ @media_type = args[:media_type] if args.key?(:media_type)
2696
+ @name = args[:name] if args.key?(:name)
2697
+ @uri = args[:uri] if args.key?(:uri)
2698
+ end
2699
+ end
2700
+
2701
+ #
2702
+ class RunDetails
2703
+ include Google::Apis::Core::Hashable
2704
+
2705
+ #
2706
+ # Corresponds to the JSON property `builder`
2707
+ # @return [Google::Apis::OndemandscanningV1beta1::ProvenanceBuilder]
2708
+ attr_accessor :builder
2709
+
2710
+ #
2711
+ # Corresponds to the JSON property `byproducts`
2712
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::ResourceDescriptor>]
2713
+ attr_accessor :byproducts
2714
+
2715
+ #
2716
+ # Corresponds to the JSON property `metadata`
2717
+ # @return [Google::Apis::OndemandscanningV1beta1::BuildMetadata]
2718
+ attr_accessor :metadata
2719
+
2720
+ def initialize(**args)
2721
+ update!(**args)
2722
+ end
2723
+
2724
+ # Update properties of this object
2725
+ def update!(**args)
2726
+ @builder = args[:builder] if args.key?(:builder)
2727
+ @byproducts = args[:byproducts] if args.key?(:byproducts)
2728
+ @metadata = args[:metadata] if args.key?(:metadata)
2729
+ end
2730
+ end
2731
+
2492
2732
  # The occurrence representing an SBOM reference as applied to a specific
2493
2733
  # resource. The occurrence follows the DSSE specification. See https://github.
2494
2734
  # com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
@@ -2525,6 +2765,32 @@ module Google
2525
2765
  end
2526
2766
  end
2527
2767
 
2768
+ # The status of an SBOM generation.
2769
+ class SbomStatus
2770
+ include Google::Apis::Core::Hashable
2771
+
2772
+ # If there was an error generating an SBOM, this will indicate what that error
2773
+ # was.
2774
+ # Corresponds to the JSON property `error`
2775
+ # @return [String]
2776
+ attr_accessor :error
2777
+
2778
+ # The progress of the SBOM generation.
2779
+ # Corresponds to the JSON property `sbomState`
2780
+ # @return [String]
2781
+ attr_accessor :sbom_state
2782
+
2783
+ def initialize(**args)
2784
+ update!(**args)
2785
+ end
2786
+
2787
+ # Update properties of this object
2788
+ def update!(**args)
2789
+ @error = args[:error] if args.key?(:error)
2790
+ @sbom_state = args[:sbom_state] if args.key?(:sbom_state)
2791
+ end
2792
+ end
2793
+
2528
2794
  # The actual payload that contains the SBOM Reference data. The payload follows
2529
2795
  # the intoto statement specification. See https://github.com/in-toto/attestation/
2530
2796
  # blob/main/spec/v1.0/statement.md for more details.
@@ -2802,6 +3068,33 @@ module Google
2802
3068
  end
2803
3069
  end
2804
3070
 
3071
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
3072
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
3073
+ # ProvenanceBuilder because of Java conflicts.
3074
+ class SlsaProvenanceV1
3075
+ include Google::Apis::Core::Hashable
3076
+
3077
+ #
3078
+ # Corresponds to the JSON property `buildDefinition`
3079
+ # @return [Google::Apis::OndemandscanningV1beta1::BuildDefinition]
3080
+ attr_accessor :build_definition
3081
+
3082
+ #
3083
+ # Corresponds to the JSON property `runDetails`
3084
+ # @return [Google::Apis::OndemandscanningV1beta1::RunDetails]
3085
+ attr_accessor :run_details
3086
+
3087
+ def initialize(**args)
3088
+ update!(**args)
3089
+ end
3090
+
3091
+ # Update properties of this object
3092
+ def update!(**args)
3093
+ @build_definition = args[:build_definition] if args.key?(:build_definition)
3094
+ @run_details = args[:run_details] if args.key?(:run_details)
3095
+ end
3096
+ end
3097
+
2805
3098
  # See full explanation of fields at slsa.dev/provenance/v0.2.
2806
3099
  class SlsaProvenanceZeroTwo
2807
3100
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.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 = "20230522"
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
 
@@ -616,9 +664,31 @@ module Google
616
664
  end
617
665
  end
618
666
 
667
+ class BuildDefinition
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ property :build_type, as: 'buildType'
671
+ hash :external_parameters, as: 'externalParameters'
672
+ hash :internal_parameters, as: 'internalParameters'
673
+ collection :resolved_dependencies, as: 'resolvedDependencies', class: Google::Apis::OndemandscanningV1beta1::ResourceDescriptor, decorator: Google::Apis::OndemandscanningV1beta1::ResourceDescriptor::Representation
674
+
675
+ end
676
+ end
677
+
678
+ class BuildMetadata
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :finished_on, as: 'finishedOn'
682
+ property :invocation_id, as: 'invocationId'
683
+ property :started_on, as: 'startedOn'
684
+ end
685
+ end
686
+
619
687
  class BuildOccurrence
620
688
  # @private
621
689
  class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :in_toto_slsa_provenance_v1, as: 'inTotoSlsaProvenanceV1', class: Google::Apis::OndemandscanningV1beta1::InTotoSlsaProvenanceV1, decorator: Google::Apis::OndemandscanningV1beta1::InTotoSlsaProvenanceV1::Representation
691
+
622
692
  property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
623
693
 
624
694
  property :intoto_statement, as: 'intotoStatement', class: Google::Apis::OndemandscanningV1beta1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1beta1::InTotoStatement::Representation
@@ -762,6 +832,8 @@ module Google
762
832
  property :continuous_analysis, as: 'continuousAnalysis'
763
833
  property :cpe, as: 'cpe'
764
834
  property :last_scan_time, as: 'lastScanTime'
835
+ property :sbom_status, as: 'sbomStatus', class: Google::Apis::OndemandscanningV1beta1::SbomStatus, decorator: Google::Apis::OndemandscanningV1beta1::SbomStatus::Representation
836
+
765
837
  end
766
838
  end
767
839
 
@@ -935,6 +1007,18 @@ module Google
935
1007
  end
936
1008
  end
937
1009
 
1010
+ class InTotoSlsaProvenanceV1
1011
+ # @private
1012
+ class Representation < Google::Apis::Core::JsonRepresentation
1013
+ property :_type, as: '_type'
1014
+ property :predicate, as: 'predicate', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenanceV1, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenanceV1::Representation
1015
+
1016
+ property :predicate_type, as: 'predicateType'
1017
+ collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
1018
+
1019
+ end
1020
+ end
1021
+
938
1022
  class InTotoStatement
939
1023
  # @private
940
1024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1183,6 +1267,16 @@ module Google
1183
1267
  end
1184
1268
  end
1185
1269
 
1270
+ class ProvenanceBuilder
1271
+ # @private
1272
+ class Representation < Google::Apis::Core::JsonRepresentation
1273
+ collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::OndemandscanningV1beta1::ResourceDescriptor, decorator: Google::Apis::OndemandscanningV1beta1::ResourceDescriptor::Representation
1274
+
1275
+ property :id, as: 'id'
1276
+ hash :version, as: 'version'
1277
+ end
1278
+ end
1279
+
1186
1280
  class Recipe
1187
1281
  # @private
1188
1282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1221,6 +1315,31 @@ module Google
1221
1315
  end
1222
1316
  end
1223
1317
 
1318
+ class ResourceDescriptor
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ hash :annotations, as: 'annotations'
1322
+ property :content, :base64 => true, as: 'content'
1323
+ hash :digest, as: 'digest'
1324
+ property :download_location, as: 'downloadLocation'
1325
+ property :media_type, as: 'mediaType'
1326
+ property :name, as: 'name'
1327
+ property :uri, as: 'uri'
1328
+ end
1329
+ end
1330
+
1331
+ class RunDetails
1332
+ # @private
1333
+ class Representation < Google::Apis::Core::JsonRepresentation
1334
+ property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1beta1::ProvenanceBuilder, decorator: Google::Apis::OndemandscanningV1beta1::ProvenanceBuilder::Representation
1335
+
1336
+ collection :byproducts, as: 'byproducts', class: Google::Apis::OndemandscanningV1beta1::ResourceDescriptor, decorator: Google::Apis::OndemandscanningV1beta1::ResourceDescriptor::Representation
1337
+
1338
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::BuildMetadata, decorator: Google::Apis::OndemandscanningV1beta1::BuildMetadata::Representation
1339
+
1340
+ end
1341
+ end
1342
+
1224
1343
  class SbomReferenceOccurrence
1225
1344
  # @private
1226
1345
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1232,6 +1351,14 @@ module Google
1232
1351
  end
1233
1352
  end
1234
1353
 
1354
+ class SbomStatus
1355
+ # @private
1356
+ class Representation < Google::Apis::Core::JsonRepresentation
1357
+ property :error, as: 'error'
1358
+ property :sbom_state, as: 'sbomState'
1359
+ end
1360
+ end
1361
+
1235
1362
  class SbomReferenceIntotoPayload
1236
1363
  # @private
1237
1364
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1304,6 +1431,16 @@ module Google
1304
1431
  end
1305
1432
  end
1306
1433
 
1434
+ class SlsaProvenanceV1
1435
+ # @private
1436
+ class Representation < Google::Apis::Core::JsonRepresentation
1437
+ property :build_definition, as: 'buildDefinition', class: Google::Apis::OndemandscanningV1beta1::BuildDefinition, decorator: Google::Apis::OndemandscanningV1beta1::BuildDefinition::Representation
1438
+
1439
+ property :run_details, as: 'runDetails', class: Google::Apis::OndemandscanningV1beta1::RunDetails, decorator: Google::Apis::OndemandscanningV1beta1::RunDetails::Representation
1440
+
1441
+ end
1442
+ end
1443
+
1307
1444
  class SlsaProvenanceZeroTwo
1308
1445
  # @private
1309
1446
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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-05-28 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []