google-apis-ondemandscanning_v1beta1 0.36.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: df0fa2b60ab13954c212860f98da9152661c1b1270d7362a95c228da11641df4
4
- data.tar.gz: a94cd525eb7b86571e0a92a25ee7516492fb71280cf050c466597917874d3e0b
3
+ metadata.gz: f236dd4a41813a26871a0bd3174d241613e7d45477f27ef83b26bb38a48d9361
4
+ data.tar.gz: e50bd900fa3d1cb71080b0c902af16e7ede3e94af0e9fad5df39ec6a7b5190b0
5
5
  SHA512:
6
- metadata.gz: 023e03a5ab277d15525c5e88233ae38cd529a56390140e90ed87826bf8599d33e53cfb198d5372cc4f9565ee99193a4db090b941d1c1dd2d33f0baa46f6115dd
7
- data.tar.gz: 3ee60f7dffa5c41ebcc41066d9956d00550d3e55720c15dcd408569162c73256015c4c27df310a5949da6343b74794deb4ecb9a452d43f1f0149ebebc4053774
6
+ metadata.gz: f2874e93e57946f9a25febf109366b858c351111a6ceb19c0f3005d5a71e70ef5b889d1b369d024243a315ed9669098929d84d1a184e5de02c480ec9f440b52a
7
+ data.tar.gz: b45466ab55ebd1e7ac922c880bbc157f92fb2389c04b7d897ac45e5f697b84911a2be16b9d0f00fd167b2ea969c8067b95cc2194ee4dbb66523034e3842e8cb9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.37.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230522
10
+
3
11
  ### v0.36.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230501
@@ -269,10 +269,117 @@ module Google
269
269
  end
270
270
  end
271
271
 
272
+ #
273
+ class BinarySourceInfo
274
+ include Google::Apis::Core::Hashable
275
+
276
+ # The binary package. This is significant when the source is different than the
277
+ # binary itself. Historically if they've differed, we've stored the name of the
278
+ # source and its version in the package/version fields, but we should also store
279
+ # the binary package info, as that's what's actually installed. See b/175908657#
280
+ # comment15.
281
+ # Corresponds to the JSON property `binaryVersion`
282
+ # @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
283
+ attr_accessor :binary_version
284
+
285
+ # The source package. Similar to the above, this is significant when the source
286
+ # is different than the binary itself. Since the top-level package/version
287
+ # fields are based on an if/else, we need a separate field for both binary and
288
+ # source if we want to know definitively where the data is coming from.
289
+ # Corresponds to the JSON property `sourceVersion`
290
+ # @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
291
+ attr_accessor :source_version
292
+
293
+ def initialize(**args)
294
+ update!(**args)
295
+ end
296
+
297
+ # Update properties of this object
298
+ def update!(**args)
299
+ @binary_version = args[:binary_version] if args.key?(:binary_version)
300
+ @source_version = args[:source_version] if args.key?(:source_version)
301
+ end
302
+ end
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
+
272
372
  # Details of a build occurrence.
273
373
  class BuildOccurrence
274
374
  include Google::Apis::Core::Hashable
275
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
+
276
383
  # Deprecated. See InTotoStatement for the replacement. In-toto Provenance
277
384
  # representation as defined in spec.
278
385
  # Corresponds to the JSON property `intotoProvenance`
@@ -310,6 +417,7 @@ module Google
310
417
 
311
418
  # Update properties of this object
312
419
  def update!(**args)
420
+ @in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
313
421
  @intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
314
422
  @intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
315
423
  @provenance = args[:provenance] if args.key?(:provenance)
@@ -829,6 +937,11 @@ module Google
829
937
  # @return [String]
830
938
  attr_accessor :last_scan_time
831
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
+
832
945
  def initialize(**args)
833
946
  update!(**args)
834
947
  end
@@ -843,6 +956,7 @@ module Google
843
956
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
844
957
  @cpe = args[:cpe] if args.key?(:cpe)
845
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)
846
960
  end
847
961
  end
848
962
 
@@ -1402,6 +1516,46 @@ module Google
1402
1516
  end
1403
1517
  end
1404
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
+
1405
1559
  # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
1406
1560
  # statement The serialized InTotoStatement will be stored as Envelope.payload.
1407
1561
  # Envelope.payloadType is always "application/vnd.in-toto+json".
@@ -2016,11 +2170,12 @@ module Google
2016
2170
  # @return [String]
2017
2171
  attr_accessor :architecture
2018
2172
 
2019
- # The binary package. This is significant when the source is different than the
2020
- # binary itself. Historically if they've differed, we've stored the name of the
2021
- # source and its version in the package/version fields, but we should also store
2022
- # the binary package info, as that's what's actually installed. See b/175908657#
2023
- # comment15.
2173
+ # A bundle containing the binary and source information.
2174
+ # Corresponds to the JSON property `binarySourceInfo`
2175
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::BinarySourceInfo>]
2176
+ attr_accessor :binary_source_info
2177
+
2178
+ # DEPRECATED
2024
2179
  # Corresponds to the JSON property `binaryVersion`
2025
2180
  # @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
2026
2181
  attr_accessor :binary_version
@@ -2082,10 +2237,7 @@ module Google
2082
2237
  # @return [Array<String>]
2083
2238
  attr_accessor :patched_cve
2084
2239
 
2085
- # The source package. Similar to the above, this is significant when the source
2086
- # is different than the binary itself. Since the top-level package/version
2087
- # fields are based on an if/else, we need a separate field for both binary and
2088
- # source if we want to know definitively where the data is coming from.
2240
+ # DEPRECATED
2089
2241
  # Corresponds to the JSON property `sourceVersion`
2090
2242
  # @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
2091
2243
  attr_accessor :source_version
@@ -2107,6 +2259,7 @@ module Google
2107
2259
  # Update properties of this object
2108
2260
  def update!(**args)
2109
2261
  @architecture = args[:architecture] if args.key?(:architecture)
2262
+ @binary_source_info = args[:binary_source_info] if args.key?(:binary_source_info)
2110
2263
  @binary_version = args[:binary_version] if args.key?(:binary_version)
2111
2264
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
2112
2265
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
@@ -2315,6 +2468,37 @@ module Google
2315
2468
  end
2316
2469
  end
2317
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
+
2318
2502
  # Steps taken to build the artifact. For a TaskRun, typically each container
2319
2503
  # corresponds to one step in the recipe.
2320
2504
  class Recipe
@@ -2458,6 +2642,93 @@ module Google
2458
2642
  end
2459
2643
  end
2460
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
+
2461
2732
  # The occurrence representing an SBOM reference as applied to a specific
2462
2733
  # resource. The occurrence follows the DSSE specification. See https://github.
2463
2734
  # com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
@@ -2494,6 +2765,32 @@ module Google
2494
2765
  end
2495
2766
  end
2496
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
+
2497
2794
  # The actual payload that contains the SBOM Reference data. The payload follows
2498
2795
  # the intoto statement specification. See https://github.com/in-toto/attestation/
2499
2796
  # blob/main/spec/v1.0/statement.md for more details.
@@ -2771,6 +3068,33 @@ module Google
2771
3068
  end
2772
3069
  end
2773
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
+
2774
3098
  # See full explanation of fields at slsa.dev/provenance/v0.2.
2775
3099
  class SlsaProvenanceZeroTwo
2776
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.36.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 = "20230501"
25
+ REVISION = "20230710"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,24 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class BinarySourceInfo
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
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
+
79
97
  class BuildOccurrence
80
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
99
 
@@ -262,6 +280,12 @@ module Google
262
280
  include Google::Apis::Core::JsonObjectSupport
263
281
  end
264
282
 
283
+ class InTotoSlsaProvenanceV1
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
265
289
  class InTotoStatement
266
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
291
 
@@ -382,6 +406,12 @@ module Google
382
406
  include Google::Apis::Core::JsonObjectSupport
383
407
  end
384
408
 
409
+ class ProvenanceBuilder
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
385
415
  class Recipe
386
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
417
 
@@ -406,12 +436,30 @@ module Google
406
436
  include Google::Apis::Core::JsonObjectSupport
407
437
  end
408
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
+
409
451
  class SbomReferenceOccurrence
410
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
411
453
 
412
454
  include Google::Apis::Core::JsonObjectSupport
413
455
  end
414
456
 
457
+ class SbomStatus
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
415
463
  class SbomReferenceIntotoPayload
416
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
465
 
@@ -454,6 +502,12 @@ module Google
454
502
  include Google::Apis::Core::JsonObjectSupport
455
503
  end
456
504
 
505
+ class SlsaProvenanceV1
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
457
511
  class SlsaProvenanceZeroTwo
458
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
513
 
@@ -600,9 +654,41 @@ module Google
600
654
  end
601
655
  end
602
656
 
657
+ class BinarySourceInfo
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :binary_version, as: 'binaryVersion', class: Google::Apis::OndemandscanningV1beta1::PackageVersion, decorator: Google::Apis::OndemandscanningV1beta1::PackageVersion::Representation
661
+
662
+ property :source_version, as: 'sourceVersion', class: Google::Apis::OndemandscanningV1beta1::PackageVersion, decorator: Google::Apis::OndemandscanningV1beta1::PackageVersion::Representation
663
+
664
+ end
665
+ end
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
+
603
687
  class BuildOccurrence
604
688
  # @private
605
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
+
606
692
  property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
607
693
 
608
694
  property :intoto_statement, as: 'intotoStatement', class: Google::Apis::OndemandscanningV1beta1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1beta1::InTotoStatement::Representation
@@ -746,6 +832,8 @@ module Google
746
832
  property :continuous_analysis, as: 'continuousAnalysis'
747
833
  property :cpe, as: 'cpe'
748
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
+
749
837
  end
750
838
  end
751
839
 
@@ -919,6 +1007,18 @@ module Google
919
1007
  end
920
1008
  end
921
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
+
922
1022
  class InTotoStatement
923
1023
  # @private
924
1024
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1092,6 +1192,8 @@ module Google
1092
1192
  # @private
1093
1193
  class Representation < Google::Apis::Core::JsonRepresentation
1094
1194
  property :architecture, as: 'architecture'
1195
+ collection :binary_source_info, as: 'binarySourceInfo', class: Google::Apis::OndemandscanningV1beta1::BinarySourceInfo, decorator: Google::Apis::OndemandscanningV1beta1::BinarySourceInfo::Representation
1196
+
1095
1197
  property :binary_version, as: 'binaryVersion', class: Google::Apis::OndemandscanningV1beta1::PackageVersion, decorator: Google::Apis::OndemandscanningV1beta1::PackageVersion::Representation
1096
1198
 
1097
1199
  property :cpe_uri, as: 'cpeUri'
@@ -1165,6 +1267,16 @@ module Google
1165
1267
  end
1166
1268
  end
1167
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
+
1168
1280
  class Recipe
1169
1281
  # @private
1170
1282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1203,6 +1315,31 @@ module Google
1203
1315
  end
1204
1316
  end
1205
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
+
1206
1343
  class SbomReferenceOccurrence
1207
1344
  # @private
1208
1345
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1214,6 +1351,14 @@ module Google
1214
1351
  end
1215
1352
  end
1216
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
+
1217
1362
  class SbomReferenceIntotoPayload
1218
1363
  # @private
1219
1364
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1286,6 +1431,16 @@ module Google
1286
1431
  end
1287
1432
  end
1288
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
+
1289
1444
  class SlsaProvenanceZeroTwo
1290
1445
  # @private
1291
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.36.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-14 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.36.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: []