google-apis-containeranalysis_v1 0.36.0 → 0.37.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: efa76aa563e14153f4bbef1084dca980c5d9db761dfe60b39655f2ffdda9c197
4
- data.tar.gz: 31190ed35feb53d2643da79d084d5115ac349e265d9ffafafa80987ce285cf39
3
+ metadata.gz: 9d23fd5d12174e5912a02474875dd96559a3c021ba48023073969b2185c68f11
4
+ data.tar.gz: 0bef5a52b6ef3de049bec5585c943afaf9c09a15152a12a2e2bfbabcb85dbe73
5
5
  SHA512:
6
- metadata.gz: 3e578890c7f4168df4060c208805c543a6af84ad9fa9c6eedd6213dec28996c6e734478a5ee0ee60ff88c9e450b158144591c79562942b0f45c694270888ba59
7
- data.tar.gz: df4dd53ee079f741c98765c980c7a521fcfb1ab249acf6378c0ea5aa138653eb73c5960bbb91546b66907b8562b04200d5e5ef25a3c5fcd33a1b20d91768643f
6
+ metadata.gz: 127b888975b3de3c728f74779a4ae4977750ec59d648d667f9c7bce72a46d7ec3ff67c92619d4f6433a2a907974f0e0ed66d4150e7778c7717de0d73a0774dab
7
+ data.tar.gz: 942a2a68dd598983147b46984a3f6f8d86e5a750839aa124d49538b45e17fab983ebbdf52891c0912df7200786606e01c14f1595570661e980e6db4eead5881e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.37.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230717
6
+
3
7
  ### v0.36.0 (2023-07-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230707
@@ -110,7 +110,8 @@ module Google
110
110
  include Google::Apis::Core::Hashable
111
111
 
112
112
  # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
113
- # number for the vulnerability.
113
+ # number for the vulnerability. Deprecated: Use vulnerability_id instead to
114
+ # denote CVEs.
114
115
  # Corresponds to the JSON property `cve`
115
116
  # @return [String]
116
117
  attr_accessor :cve
@@ -155,6 +156,12 @@ module Google
155
156
  # @return [String]
156
157
  attr_accessor :state
157
158
 
159
+ # The vulnerability identifier for this Assessment. Will hold one of common
160
+ # identifiers e.g. CVE, GHSA etc.
161
+ # Corresponds to the JSON property `vulnerabilityId`
162
+ # @return [String]
163
+ attr_accessor :vulnerability_id
164
+
158
165
  def initialize(**args)
159
166
  update!(**args)
160
167
  end
@@ -169,6 +176,7 @@ module Google
169
176
  @remediations = args[:remediations] if args.key?(:remediations)
170
177
  @short_description = args[:short_description] if args.key?(:short_description)
171
178
  @state = args[:state] if args.key?(:state)
179
+ @vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
172
180
  end
173
181
  end
174
182
 
@@ -402,6 +410,74 @@ module Google
402
410
  end
403
411
  end
404
412
 
413
+ #
414
+ class BuildDefinition
415
+ include Google::Apis::Core::Hashable
416
+
417
+ #
418
+ # Corresponds to the JSON property `buildType`
419
+ # @return [String]
420
+ attr_accessor :build_type
421
+
422
+ #
423
+ # Corresponds to the JSON property `externalParameters`
424
+ # @return [Hash<String,Object>]
425
+ attr_accessor :external_parameters
426
+
427
+ #
428
+ # Corresponds to the JSON property `internalParameters`
429
+ # @return [Hash<String,Object>]
430
+ attr_accessor :internal_parameters
431
+
432
+ #
433
+ # Corresponds to the JSON property `resolvedDependencies`
434
+ # @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
435
+ attr_accessor :resolved_dependencies
436
+
437
+ def initialize(**args)
438
+ update!(**args)
439
+ end
440
+
441
+ # Update properties of this object
442
+ def update!(**args)
443
+ @build_type = args[:build_type] if args.key?(:build_type)
444
+ @external_parameters = args[:external_parameters] if args.key?(:external_parameters)
445
+ @internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
446
+ @resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
447
+ end
448
+ end
449
+
450
+ #
451
+ class BuildMetadata
452
+ include Google::Apis::Core::Hashable
453
+
454
+ #
455
+ # Corresponds to the JSON property `finishedOn`
456
+ # @return [String]
457
+ attr_accessor :finished_on
458
+
459
+ #
460
+ # Corresponds to the JSON property `invocationId`
461
+ # @return [String]
462
+ attr_accessor :invocation_id
463
+
464
+ #
465
+ # Corresponds to the JSON property `startedOn`
466
+ # @return [String]
467
+ attr_accessor :started_on
468
+
469
+ def initialize(**args)
470
+ update!(**args)
471
+ end
472
+
473
+ # Update properties of this object
474
+ def update!(**args)
475
+ @finished_on = args[:finished_on] if args.key?(:finished_on)
476
+ @invocation_id = args[:invocation_id] if args.key?(:invocation_id)
477
+ @started_on = args[:started_on] if args.key?(:started_on)
478
+ end
479
+ end
480
+
405
481
  # Note holding the version of the provider's builder and the signature of the
406
482
  # provenance message in the build details occurrence.
407
483
  class BuildNote
@@ -426,6 +502,13 @@ module Google
426
502
  class BuildOccurrence
427
503
  include Google::Apis::Core::Hashable
428
504
 
505
+ # In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec,
506
+ # wrapped in an in-toto statement. This allows for direct jsonification of a to-
507
+ # spec in-toto slsa statement with a to-spec slsa provenance.
508
+ # Corresponds to the JSON property `inTotoSlsaProvenanceV1`
509
+ # @return [Google::Apis::ContaineranalysisV1::InTotoSlsaProvenanceV1]
510
+ attr_accessor :in_toto_slsa_provenance_v1
511
+
429
512
  # Deprecated. See InTotoStatement for the replacement. In-toto Provenance
430
513
  # representation as defined in spec.
431
514
  # Corresponds to the JSON property `intotoProvenance`
@@ -463,6 +546,7 @@ module Google
463
546
 
464
547
  # Update properties of this object
465
548
  def update!(**args)
549
+ @in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
466
550
  @intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
467
551
  @intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
468
552
  @provenance = args[:provenance] if args.key?(:provenance)
@@ -3952,6 +4036,46 @@ module Google
3952
4036
  end
3953
4037
  end
3954
4038
 
4039
+ #
4040
+ class InTotoSlsaProvenanceV1
4041
+ include Google::Apis::Core::Hashable
4042
+
4043
+ # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
4044
+ # statement
4045
+ # Corresponds to the JSON property `_type`
4046
+ # @return [String]
4047
+ attr_accessor :_type
4048
+
4049
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
4050
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
4051
+ # ProvenanceBuilder because of Java conflicts.
4052
+ # Corresponds to the JSON property `predicate`
4053
+ # @return [Google::Apis::ContaineranalysisV1::SlsaProvenanceV1]
4054
+ attr_accessor :predicate
4055
+
4056
+ #
4057
+ # Corresponds to the JSON property `predicateType`
4058
+ # @return [String]
4059
+ attr_accessor :predicate_type
4060
+
4061
+ #
4062
+ # Corresponds to the JSON property `subject`
4063
+ # @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
4064
+ attr_accessor :subject
4065
+
4066
+ def initialize(**args)
4067
+ update!(**args)
4068
+ end
4069
+
4070
+ # Update properties of this object
4071
+ def update!(**args)
4072
+ @_type = args[:_type] if args.key?(:_type)
4073
+ @predicate = args[:predicate] if args.key?(:predicate)
4074
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
4075
+ @subject = args[:subject] if args.key?(:subject)
4076
+ end
4077
+ end
4078
+
3955
4079
  # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
3956
4080
  # statement The serialized InTotoStatement will be stored as Envelope.payload.
3957
4081
  # Envelope.payloadType is always "application/vnd.in-toto+json".
@@ -5027,6 +5151,37 @@ module Google
5027
5151
  end
5028
5152
  end
5029
5153
 
5154
+ #
5155
+ class ProvenanceBuilder
5156
+ include Google::Apis::Core::Hashable
5157
+
5158
+ #
5159
+ # Corresponds to the JSON property `builderDependencies`
5160
+ # @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
5161
+ attr_accessor :builder_dependencies
5162
+
5163
+ #
5164
+ # Corresponds to the JSON property `id`
5165
+ # @return [String]
5166
+ attr_accessor :id
5167
+
5168
+ #
5169
+ # Corresponds to the JSON property `version`
5170
+ # @return [Hash<String,String>]
5171
+ attr_accessor :version
5172
+
5173
+ def initialize(**args)
5174
+ update!(**args)
5175
+ end
5176
+
5177
+ # Update properties of this object
5178
+ def update!(**args)
5179
+ @builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
5180
+ @id = args[:id] if args.key?(:id)
5181
+ @version = args[:version] if args.key?(:version)
5182
+ end
5183
+ end
5184
+
5030
5185
  # Publisher contains information about the publisher of this Note.
5031
5186
  class Publisher
5032
5187
  include Google::Apis::Core::Hashable
@@ -5205,6 +5360,93 @@ module Google
5205
5360
  end
5206
5361
  end
5207
5362
 
5363
+ #
5364
+ class ResourceDescriptor
5365
+ include Google::Apis::Core::Hashable
5366
+
5367
+ #
5368
+ # Corresponds to the JSON property `annotations`
5369
+ # @return [Hash<String,Object>]
5370
+ attr_accessor :annotations
5371
+
5372
+ #
5373
+ # Corresponds to the JSON property `content`
5374
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
5375
+ # @return [String]
5376
+ attr_accessor :content
5377
+
5378
+ #
5379
+ # Corresponds to the JSON property `digest`
5380
+ # @return [Hash<String,String>]
5381
+ attr_accessor :digest
5382
+
5383
+ #
5384
+ # Corresponds to the JSON property `downloadLocation`
5385
+ # @return [String]
5386
+ attr_accessor :download_location
5387
+
5388
+ #
5389
+ # Corresponds to the JSON property `mediaType`
5390
+ # @return [String]
5391
+ attr_accessor :media_type
5392
+
5393
+ #
5394
+ # Corresponds to the JSON property `name`
5395
+ # @return [String]
5396
+ attr_accessor :name
5397
+
5398
+ #
5399
+ # Corresponds to the JSON property `uri`
5400
+ # @return [String]
5401
+ attr_accessor :uri
5402
+
5403
+ def initialize(**args)
5404
+ update!(**args)
5405
+ end
5406
+
5407
+ # Update properties of this object
5408
+ def update!(**args)
5409
+ @annotations = args[:annotations] if args.key?(:annotations)
5410
+ @content = args[:content] if args.key?(:content)
5411
+ @digest = args[:digest] if args.key?(:digest)
5412
+ @download_location = args[:download_location] if args.key?(:download_location)
5413
+ @media_type = args[:media_type] if args.key?(:media_type)
5414
+ @name = args[:name] if args.key?(:name)
5415
+ @uri = args[:uri] if args.key?(:uri)
5416
+ end
5417
+ end
5418
+
5419
+ #
5420
+ class RunDetails
5421
+ include Google::Apis::Core::Hashable
5422
+
5423
+ #
5424
+ # Corresponds to the JSON property `builder`
5425
+ # @return [Google::Apis::ContaineranalysisV1::ProvenanceBuilder]
5426
+ attr_accessor :builder
5427
+
5428
+ #
5429
+ # Corresponds to the JSON property `byproducts`
5430
+ # @return [Array<Google::Apis::ContaineranalysisV1::ResourceDescriptor>]
5431
+ attr_accessor :byproducts
5432
+
5433
+ #
5434
+ # Corresponds to the JSON property `metadata`
5435
+ # @return [Google::Apis::ContaineranalysisV1::BuildMetadata]
5436
+ attr_accessor :metadata
5437
+
5438
+ def initialize(**args)
5439
+ update!(**args)
5440
+ end
5441
+
5442
+ # Update properties of this object
5443
+ def update!(**args)
5444
+ @builder = args[:builder] if args.key?(:builder)
5445
+ @byproducts = args[:byproducts] if args.key?(:byproducts)
5446
+ @metadata = args[:metadata] if args.key?(:metadata)
5447
+ end
5448
+ end
5449
+
5208
5450
  # The note representing an SBOM reference.
5209
5451
  class SbomReferenceNote
5210
5452
  include Google::Apis::Core::Hashable
@@ -5615,6 +5857,33 @@ module Google
5615
5857
  end
5616
5858
  end
5617
5859
 
5860
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
5861
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
5862
+ # ProvenanceBuilder because of Java conflicts.
5863
+ class SlsaProvenanceV1
5864
+ include Google::Apis::Core::Hashable
5865
+
5866
+ #
5867
+ # Corresponds to the JSON property `buildDefinition`
5868
+ # @return [Google::Apis::ContaineranalysisV1::BuildDefinition]
5869
+ attr_accessor :build_definition
5870
+
5871
+ #
5872
+ # Corresponds to the JSON property `runDetails`
5873
+ # @return [Google::Apis::ContaineranalysisV1::RunDetails]
5874
+ attr_accessor :run_details
5875
+
5876
+ def initialize(**args)
5877
+ update!(**args)
5878
+ end
5879
+
5880
+ # Update properties of this object
5881
+ def update!(**args)
5882
+ @build_definition = args[:build_definition] if args.key?(:build_definition)
5883
+ @run_details = args[:run_details] if args.key?(:run_details)
5884
+ end
5885
+ end
5886
+
5618
5887
  # See full explanation of fields at slsa.dev/provenance/v0.2.
5619
5888
  class SlsaProvenanceZeroTwo
5620
5889
  include Google::Apis::Core::Hashable
@@ -6133,7 +6402,8 @@ module Google
6133
6402
  include Google::Apis::Core::Hashable
6134
6403
 
6135
6404
  # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking
6136
- # number for the vulnerability.
6405
+ # number for the vulnerability. Deprecated: Use vulnerability_id instead to
6406
+ # denote CVEs.
6137
6407
  # Corresponds to the JSON property `cve`
6138
6408
  # @return [String]
6139
6409
  attr_accessor :cve
@@ -6172,6 +6442,12 @@ module Google
6172
6442
  # @return [String]
6173
6443
  attr_accessor :state
6174
6444
 
6445
+ # The vulnerability identifier for this Assessment. Will hold one of common
6446
+ # identifiers e.g. CVE, GHSA etc.
6447
+ # Corresponds to the JSON property `vulnerabilityId`
6448
+ # @return [String]
6449
+ attr_accessor :vulnerability_id
6450
+
6175
6451
  def initialize(**args)
6176
6452
  update!(**args)
6177
6453
  end
@@ -6185,6 +6461,7 @@ module Google
6185
6461
  @related_uris = args[:related_uris] if args.key?(:related_uris)
6186
6462
  @remediations = args[:remediations] if args.key?(:remediations)
6187
6463
  @state = args[:state] if args.key?(:state)
6464
+ @vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
6188
6465
  end
6189
6466
  end
6190
6467
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.37.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 = "20230707"
25
+ REVISION = "20230717"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class BuildDefinition
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BuildMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class BuildNote
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -586,6 +598,12 @@ module Google
586
598
  include Google::Apis::Core::JsonObjectSupport
587
599
  end
588
600
 
601
+ class InTotoSlsaProvenanceV1
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
589
607
  class InTotoStatement
590
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
609
 
@@ -712,6 +730,12 @@ module Google
712
730
  include Google::Apis::Core::JsonObjectSupport
713
731
  end
714
732
 
733
+ class ProvenanceBuilder
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
715
739
  class Publisher
716
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
741
 
@@ -742,6 +766,18 @@ module Google
742
766
  include Google::Apis::Core::JsonObjectSupport
743
767
  end
744
768
 
769
+ class ResourceDescriptor
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class RunDetails
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
745
781
  class SbomReferenceNote
746
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
783
 
@@ -808,6 +844,12 @@ module Google
808
844
  include Google::Apis::Core::JsonObjectSupport
809
845
  end
810
846
 
847
+ class SlsaProvenanceV1
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
811
853
  class SlsaProvenanceZeroTwo
812
854
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
855
 
@@ -972,6 +1014,7 @@ module Google
972
1014
 
973
1015
  property :short_description, as: 'shortDescription'
974
1016
  property :state, as: 'state'
1017
+ property :vulnerability_id, as: 'vulnerabilityId'
975
1018
  end
976
1019
  end
977
1020
 
@@ -1036,6 +1079,26 @@ module Google
1036
1079
  end
1037
1080
  end
1038
1081
 
1082
+ class BuildDefinition
1083
+ # @private
1084
+ class Representation < Google::Apis::Core::JsonRepresentation
1085
+ property :build_type, as: 'buildType'
1086
+ hash :external_parameters, as: 'externalParameters'
1087
+ hash :internal_parameters, as: 'internalParameters'
1088
+ collection :resolved_dependencies, as: 'resolvedDependencies', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
1089
+
1090
+ end
1091
+ end
1092
+
1093
+ class BuildMetadata
1094
+ # @private
1095
+ class Representation < Google::Apis::Core::JsonRepresentation
1096
+ property :finished_on, as: 'finishedOn'
1097
+ property :invocation_id, as: 'invocationId'
1098
+ property :started_on, as: 'startedOn'
1099
+ end
1100
+ end
1101
+
1039
1102
  class BuildNote
1040
1103
  # @private
1041
1104
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1046,6 +1109,8 @@ module Google
1046
1109
  class BuildOccurrence
1047
1110
  # @private
1048
1111
  class Representation < Google::Apis::Core::JsonRepresentation
1112
+ property :in_toto_slsa_provenance_v1, as: 'inTotoSlsaProvenanceV1', class: Google::Apis::ContaineranalysisV1::InTotoSlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1::InTotoSlsaProvenanceV1::Representation
1113
+
1049
1114
  property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1::InTotoProvenance::Representation
1050
1115
 
1051
1116
  property :intoto_statement, as: 'intotoStatement', class: Google::Apis::ContaineranalysisV1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1::InTotoStatement::Representation
@@ -1961,6 +2026,18 @@ module Google
1961
2026
  end
1962
2027
  end
1963
2028
 
2029
+ class InTotoSlsaProvenanceV1
2030
+ # @private
2031
+ class Representation < Google::Apis::Core::JsonRepresentation
2032
+ property :_type, as: '_type'
2033
+ property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenanceV1::Representation
2034
+
2035
+ property :predicate_type, as: 'predicateType'
2036
+ collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
2037
+
2038
+ end
2039
+ end
2040
+
1964
2041
  class InTotoStatement
1965
2042
  # @private
1966
2043
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2242,6 +2319,16 @@ module Google
2242
2319
  end
2243
2320
  end
2244
2321
 
2322
+ class ProvenanceBuilder
2323
+ # @private
2324
+ class Representation < Google::Apis::Core::JsonRepresentation
2325
+ collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
2326
+
2327
+ property :id, as: 'id'
2328
+ hash :version, as: 'version'
2329
+ end
2330
+ end
2331
+
2245
2332
  class Publisher
2246
2333
  # @private
2247
2334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2289,6 +2376,31 @@ module Google
2289
2376
  end
2290
2377
  end
2291
2378
 
2379
+ class ResourceDescriptor
2380
+ # @private
2381
+ class Representation < Google::Apis::Core::JsonRepresentation
2382
+ hash :annotations, as: 'annotations'
2383
+ property :content, :base64 => true, as: 'content'
2384
+ hash :digest, as: 'digest'
2385
+ property :download_location, as: 'downloadLocation'
2386
+ property :media_type, as: 'mediaType'
2387
+ property :name, as: 'name'
2388
+ property :uri, as: 'uri'
2389
+ end
2390
+ end
2391
+
2392
+ class RunDetails
2393
+ # @private
2394
+ class Representation < Google::Apis::Core::JsonRepresentation
2395
+ property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1::ProvenanceBuilder, decorator: Google::Apis::ContaineranalysisV1::ProvenanceBuilder::Representation
2396
+
2397
+ collection :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1::ResourceDescriptor::Representation
2398
+
2399
+ property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1::BuildMetadata, decorator: Google::Apis::ContaineranalysisV1::BuildMetadata::Representation
2400
+
2401
+ end
2402
+ end
2403
+
2292
2404
  class SbomReferenceNote
2293
2405
  # @private
2294
2406
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2396,6 +2508,16 @@ module Google
2396
2508
  end
2397
2509
  end
2398
2510
 
2511
+ class SlsaProvenanceV1
2512
+ # @private
2513
+ class Representation < Google::Apis::Core::JsonRepresentation
2514
+ property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1::BuildDefinition::Representation
2515
+
2516
+ property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1::RunDetails, decorator: Google::Apis::ContaineranalysisV1::RunDetails::Representation
2517
+
2518
+ end
2519
+ end
2520
+
2399
2521
  class SlsaProvenanceZeroTwo
2400
2522
  # @private
2401
2523
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2549,6 +2671,7 @@ module Google
2549
2671
  collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1::Remediation, decorator: Google::Apis::ContaineranalysisV1::Remediation::Representation
2550
2672
 
2551
2673
  property :state, as: 'state'
2674
+ property :vulnerability_id, as: 'vulnerabilityId'
2552
2675
  end
2553
2676
  end
2554
2677
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.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-07-16 00:00:00.000000000 Z
11
+ date: 2023-07-23 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-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.37.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []