google-apis-containeranalysis_v1alpha1 0.49.0 → 0.51.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: b33086bc30d5ee75573fb7ac7abba3c1adafb2c207595174e9ca8ad248f729f1
4
- data.tar.gz: 6459b853fe858a80eb13aa950bb86f8ace64c4faeceb178a6bb6994cfc02056f
3
+ metadata.gz: 1d79a63e2c5a0836da29831be630634f0406867a44cc79173585e7a2820219b6
4
+ data.tar.gz: 76c859d0c7c267c3b45ac7f302fe4e193d6cfa56ac9a0663942cf88db43b6f11
5
5
  SHA512:
6
- metadata.gz: 970a0208f451934eba851b833f9d607f8e89690ceb211466f7af81b49de621919e66179da864938ba6854e0f64caad056e7e2c5afd443348cc4327cd1a14ac99
7
- data.tar.gz: d25fc64ebc183159069f89619386242d6ed1805d0842dbef6607b41e912bd9d30632bdab6ed162d24249ebe2efb9bb1b62aee36bee06a6065e23f0757df1874e
6
+ metadata.gz: ac4045d4be2d4004ddf61dd8d66ca2526920a099dcafc0bf22629f7672cb6f4b33be6e5ace92f3a74cec5ceede3384b774f7d8b911ecc30f8b3c6a03d0d85573
7
+ data.tar.gz: 67bde609136ab3446e18c754e9c86331e0feae263f7ed17a378b5a14a5df3774b068214ea6931d5f4bf4c2f3d032fe4cddf655352f7ab0841c61d4a2a8bc05fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.51.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230721
6
+
7
+ ### v0.50.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230717
10
+
3
11
  ### v0.49.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230707
@@ -142,6 +142,12 @@ module Google
142
142
  # @return [String]
143
143
  attr_accessor :state
144
144
 
145
+ # The vulnerability identifier for this Assessment. Will hold one of common
146
+ # identifiers e.g. CVE, GHSA etc.
147
+ # Corresponds to the JSON property `vulnerabilityId`
148
+ # @return [String]
149
+ attr_accessor :vulnerability_id
150
+
145
151
  def initialize(**args)
146
152
  update!(**args)
147
153
  end
@@ -156,6 +162,7 @@ module Google
156
162
  @remediations = args[:remediations] if args.key?(:remediations)
157
163
  @short_description = args[:short_description] if args.key?(:short_description)
158
164
  @state = args[:state] if args.key?(:state)
165
+ @vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
159
166
  end
160
167
  end
161
168
 
@@ -348,10 +355,54 @@ module Google
348
355
  end
349
356
  end
350
357
 
358
+ #
359
+ class BuildDefinition
360
+ include Google::Apis::Core::Hashable
361
+
362
+ #
363
+ # Corresponds to the JSON property `buildType`
364
+ # @return [String]
365
+ attr_accessor :build_type
366
+
367
+ #
368
+ # Corresponds to the JSON property `externalParameters`
369
+ # @return [Hash<String,Object>]
370
+ attr_accessor :external_parameters
371
+
372
+ #
373
+ # Corresponds to the JSON property `internalParameters`
374
+ # @return [Hash<String,Object>]
375
+ attr_accessor :internal_parameters
376
+
377
+ #
378
+ # Corresponds to the JSON property `resolvedDependencies`
379
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>]
380
+ attr_accessor :resolved_dependencies
381
+
382
+ def initialize(**args)
383
+ update!(**args)
384
+ end
385
+
386
+ # Update properties of this object
387
+ def update!(**args)
388
+ @build_type = args[:build_type] if args.key?(:build_type)
389
+ @external_parameters = args[:external_parameters] if args.key?(:external_parameters)
390
+ @internal_parameters = args[:internal_parameters] if args.key?(:internal_parameters)
391
+ @resolved_dependencies = args[:resolved_dependencies] if args.key?(:resolved_dependencies)
392
+ end
393
+ end
394
+
351
395
  # Message encapsulating build provenance details.
352
396
  class BuildDetails
353
397
  include Google::Apis::Core::Hashable
354
398
 
399
+ # In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa spec,
400
+ # wrapped in an in-toto statement. This allows for direct jsonification of a to-
401
+ # spec in-toto slsa statement with a to-spec slsa provenance.
402
+ # Corresponds to the JSON property `inTotoSlsaProvenanceV1`
403
+ # @return [Google::Apis::ContaineranalysisV1alpha1::InTotoSlsaProvenanceV1]
404
+ attr_accessor :in_toto_slsa_provenance_v1
405
+
355
406
  # Deprecated. See InTotoStatement for the replacement. In-toto Provenance
356
407
  # representation as defined in spec.
357
408
  # Corresponds to the JSON property `intotoProvenance`
@@ -389,6 +440,7 @@ module Google
389
440
 
390
441
  # Update properties of this object
391
442
  def update!(**args)
443
+ @in_toto_slsa_provenance_v1 = args[:in_toto_slsa_provenance_v1] if args.key?(:in_toto_slsa_provenance_v1)
392
444
  @intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
393
445
  @intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
394
446
  @provenance = args[:provenance] if args.key?(:provenance)
@@ -396,6 +448,37 @@ module Google
396
448
  end
397
449
  end
398
450
 
451
+ #
452
+ class BuildMetadata
453
+ include Google::Apis::Core::Hashable
454
+
455
+ #
456
+ # Corresponds to the JSON property `finishedOn`
457
+ # @return [String]
458
+ attr_accessor :finished_on
459
+
460
+ #
461
+ # Corresponds to the JSON property `invocationId`
462
+ # @return [String]
463
+ attr_accessor :invocation_id
464
+
465
+ #
466
+ # Corresponds to the JSON property `startedOn`
467
+ # @return [String]
468
+ attr_accessor :started_on
469
+
470
+ def initialize(**args)
471
+ update!(**args)
472
+ end
473
+
474
+ # Update properties of this object
475
+ def update!(**args)
476
+ @finished_on = args[:finished_on] if args.key?(:finished_on)
477
+ @invocation_id = args[:invocation_id] if args.key?(:invocation_id)
478
+ @started_on = args[:started_on] if args.key?(:started_on)
479
+ end
480
+ end
481
+
399
482
  # Provenance of a build. Contains all information needed to verify the full
400
483
  # details about the build from source to completion.
401
484
  class BuildProvenance
@@ -540,7 +623,7 @@ module Google
540
623
  end
541
624
  end
542
625
 
543
- # A step in the build pipeline. Next ID: 20
626
+ # A step in the build pipeline. Next ID: 21
544
627
  class BuildStep
545
628
  include Google::Apis::Core::Hashable
546
629
 
@@ -569,6 +652,13 @@ module Google
569
652
  # @return [Array<String>]
570
653
  attr_accessor :args
571
654
 
655
+ # Option to include built-in and custom substitutions as env variables for this
656
+ # build step. This option will override the global option in BuildOption.
657
+ # Corresponds to the JSON property `automapSubstitutions`
658
+ # @return [Boolean]
659
+ attr_accessor :automap_substitutions
660
+ alias_method :automap_substitutions?, :automap_substitutions
661
+
572
662
  # Working directory to use when running this step's container. If this value is
573
663
  # a relative path, it is relative to the build's working directory. If this
574
664
  # value is absolute, it may be outside the build's working directory, in which
@@ -682,6 +772,7 @@ module Google
682
772
  @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
683
773
  @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
684
774
  @args = args[:args] if args.key?(:args)
775
+ @automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
685
776
  @dir = args[:dir] if args.key?(:dir)
686
777
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
687
778
  @env = args[:env] if args.key?(:env)
@@ -1623,6 +1714,13 @@ module Google
1623
1714
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1624
1715
  include Google::Apis::Core::Hashable
1625
1716
 
1717
+ # Option to include built-in and custom substitutions as env variables for all
1718
+ # build steps.
1719
+ # Corresponds to the JSON property `automapSubstitutions`
1720
+ # @return [Boolean]
1721
+ attr_accessor :automap_substitutions
1722
+ alias_method :automap_substitutions?, :automap_substitutions
1723
+
1626
1724
  # Optional. Option to specify how default logs buckets are setup.
1627
1725
  # Corresponds to the JSON property `defaultLogsBucketBehavior`
1628
1726
  # @return [String]
@@ -1723,6 +1821,7 @@ module Google
1723
1821
 
1724
1822
  # Update properties of this object
1725
1823
  def update!(**args)
1824
+ @automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
1726
1825
  @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
1727
1826
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1728
1827
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
@@ -1792,6 +1891,13 @@ module Google
1792
1891
  # @return [Array<String>]
1793
1892
  attr_accessor :args
1794
1893
 
1894
+ # Option to include built-in and custom substitutions as env variables for this
1895
+ # build step. This option will override the global option in BuildOption.
1896
+ # Corresponds to the JSON property `automapSubstitutions`
1897
+ # @return [Boolean]
1898
+ attr_accessor :automap_substitutions
1899
+ alias_method :automap_substitutions?, :automap_substitutions
1900
+
1795
1901
  # Working directory to use when running this step's container. If this value is
1796
1902
  # a relative path, it is relative to the build's working directory. If this
1797
1903
  # value is absolute, it may be outside the build's working directory, in which
@@ -1905,6 +2011,7 @@ module Google
1905
2011
  @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
1906
2012
  @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
1907
2013
  @args = args[:args] if args.key?(:args)
2014
+ @automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
1908
2015
  @dir = args[:dir] if args.key?(:dir)
1909
2016
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
1910
2017
  @env = args[:env] if args.key?(:env)
@@ -4174,6 +4281,46 @@ module Google
4174
4281
  end
4175
4282
  end
4176
4283
 
4284
+ #
4285
+ class InTotoSlsaProvenanceV1
4286
+ include Google::Apis::Core::Hashable
4287
+
4288
+ # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#
4289
+ # statement
4290
+ # Corresponds to the JSON property `_type`
4291
+ # @return [String]
4292
+ attr_accessor :_type
4293
+
4294
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
4295
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
4296
+ # ProvenanceBuilder because of Java conflicts.
4297
+ # Corresponds to the JSON property `predicate`
4298
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceV1]
4299
+ attr_accessor :predicate
4300
+
4301
+ #
4302
+ # Corresponds to the JSON property `predicateType`
4303
+ # @return [String]
4304
+ attr_accessor :predicate_type
4305
+
4306
+ #
4307
+ # Corresponds to the JSON property `subject`
4308
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Subject>]
4309
+ attr_accessor :subject
4310
+
4311
+ def initialize(**args)
4312
+ update!(**args)
4313
+ end
4314
+
4315
+ # Update properties of this object
4316
+ def update!(**args)
4317
+ @_type = args[:_type] if args.key?(:_type)
4318
+ @predicate = args[:predicate] if args.key?(:predicate)
4319
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
4320
+ @subject = args[:subject] if args.key?(:subject)
4321
+ end
4322
+ end
4323
+
4177
4324
  # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
4178
4325
  # statement The serialized InTotoStatement will be stored as Envelope.payload.
4179
4326
  # Envelope.payloadType is always "application/vnd.in-toto+json".
@@ -5568,6 +5715,37 @@ module Google
5568
5715
  end
5569
5716
  end
5570
5717
 
5718
+ #
5719
+ class ProvenanceBuilder
5720
+ include Google::Apis::Core::Hashable
5721
+
5722
+ #
5723
+ # Corresponds to the JSON property `builderDependencies`
5724
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>]
5725
+ attr_accessor :builder_dependencies
5726
+
5727
+ #
5728
+ # Corresponds to the JSON property `id`
5729
+ # @return [String]
5730
+ attr_accessor :id
5731
+
5732
+ #
5733
+ # Corresponds to the JSON property `version`
5734
+ # @return [Hash<String,String>]
5735
+ attr_accessor :version
5736
+
5737
+ def initialize(**args)
5738
+ update!(**args)
5739
+ end
5740
+
5741
+ # Update properties of this object
5742
+ def update!(**args)
5743
+ @builder_dependencies = args[:builder_dependencies] if args.key?(:builder_dependencies)
5744
+ @id = args[:id] if args.key?(:id)
5745
+ @version = args[:version] if args.key?(:version)
5746
+ end
5747
+ end
5748
+
5571
5749
  # Publisher contains information about the publisher of this Note.
5572
5750
  class Publisher
5573
5751
  include Google::Apis::Core::Hashable
@@ -5857,6 +6035,93 @@ module Google
5857
6035
  end
5858
6036
  end
5859
6037
 
6038
+ #
6039
+ class ResourceDescriptor
6040
+ include Google::Apis::Core::Hashable
6041
+
6042
+ #
6043
+ # Corresponds to the JSON property `annotations`
6044
+ # @return [Hash<String,Object>]
6045
+ attr_accessor :annotations
6046
+
6047
+ #
6048
+ # Corresponds to the JSON property `content`
6049
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
6050
+ # @return [String]
6051
+ attr_accessor :content
6052
+
6053
+ #
6054
+ # Corresponds to the JSON property `digest`
6055
+ # @return [Hash<String,String>]
6056
+ attr_accessor :digest
6057
+
6058
+ #
6059
+ # Corresponds to the JSON property `downloadLocation`
6060
+ # @return [String]
6061
+ attr_accessor :download_location
6062
+
6063
+ #
6064
+ # Corresponds to the JSON property `mediaType`
6065
+ # @return [String]
6066
+ attr_accessor :media_type
6067
+
6068
+ #
6069
+ # Corresponds to the JSON property `name`
6070
+ # @return [String]
6071
+ attr_accessor :name
6072
+
6073
+ #
6074
+ # Corresponds to the JSON property `uri`
6075
+ # @return [String]
6076
+ attr_accessor :uri
6077
+
6078
+ def initialize(**args)
6079
+ update!(**args)
6080
+ end
6081
+
6082
+ # Update properties of this object
6083
+ def update!(**args)
6084
+ @annotations = args[:annotations] if args.key?(:annotations)
6085
+ @content = args[:content] if args.key?(:content)
6086
+ @digest = args[:digest] if args.key?(:digest)
6087
+ @download_location = args[:download_location] if args.key?(:download_location)
6088
+ @media_type = args[:media_type] if args.key?(:media_type)
6089
+ @name = args[:name] if args.key?(:name)
6090
+ @uri = args[:uri] if args.key?(:uri)
6091
+ end
6092
+ end
6093
+
6094
+ #
6095
+ class RunDetails
6096
+ include Google::Apis::Core::Hashable
6097
+
6098
+ #
6099
+ # Corresponds to the JSON property `builder`
6100
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ProvenanceBuilder]
6101
+ attr_accessor :builder
6102
+
6103
+ #
6104
+ # Corresponds to the JSON property `byproducts`
6105
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor>]
6106
+ attr_accessor :byproducts
6107
+
6108
+ #
6109
+ # Corresponds to the JSON property `metadata`
6110
+ # @return [Google::Apis::ContaineranalysisV1alpha1::BuildMetadata]
6111
+ attr_accessor :metadata
6112
+
6113
+ def initialize(**args)
6114
+ update!(**args)
6115
+ end
6116
+
6117
+ # Update properties of this object
6118
+ def update!(**args)
6119
+ @builder = args[:builder] if args.key?(:builder)
6120
+ @byproducts = args[:byproducts] if args.key?(:byproducts)
6121
+ @metadata = args[:metadata] if args.key?(:metadata)
6122
+ end
6123
+ end
6124
+
5860
6125
  # The note representing an SBOM reference.
5861
6126
  class SbomReferenceNote
5862
6127
  include Google::Apis::Core::Hashable
@@ -6282,6 +6547,33 @@ module Google
6282
6547
  end
6283
6548
  end
6284
6549
 
6550
+ # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/
6551
+ # docs/provenance/schema/v1/provenance.proto Builder renamed to
6552
+ # ProvenanceBuilder because of Java conflicts.
6553
+ class SlsaProvenanceV1
6554
+ include Google::Apis::Core::Hashable
6555
+
6556
+ #
6557
+ # Corresponds to the JSON property `buildDefinition`
6558
+ # @return [Google::Apis::ContaineranalysisV1alpha1::BuildDefinition]
6559
+ attr_accessor :build_definition
6560
+
6561
+ #
6562
+ # Corresponds to the JSON property `runDetails`
6563
+ # @return [Google::Apis::ContaineranalysisV1alpha1::RunDetails]
6564
+ attr_accessor :run_details
6565
+
6566
+ def initialize(**args)
6567
+ update!(**args)
6568
+ end
6569
+
6570
+ # Update properties of this object
6571
+ def update!(**args)
6572
+ @build_definition = args[:build_definition] if args.key?(:build_definition)
6573
+ @run_details = args[:run_details] if args.key?(:run_details)
6574
+ end
6575
+ end
6576
+
6285
6577
  # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See
6286
6578
  # full explanation of fields at slsa.dev/provenance/v0.2.
6287
6579
  class SlsaProvenanceZeroTwo
@@ -6879,6 +7171,12 @@ module Google
6879
7171
  # @return [String]
6880
7172
  attr_accessor :state
6881
7173
 
7174
+ # The vulnerability identifier for this Assessment. Will hold one of common
7175
+ # identifiers e.g. CVE, GHSA etc.
7176
+ # Corresponds to the JSON property `vulnerabilityId`
7177
+ # @return [String]
7178
+ attr_accessor :vulnerability_id
7179
+
6882
7180
  def initialize(**args)
6883
7181
  update!(**args)
6884
7182
  end
@@ -6892,6 +7190,7 @@ module Google
6892
7190
  @related_uris = args[:related_uris] if args.key?(:related_uris)
6893
7191
  @remediations = args[:remediations] if args.key?(:remediations)
6894
7192
  @state = args[:state] if args.key?(:state)
7193
+ @vulnerability_id = args[:vulnerability_id] if args.key?(:vulnerability_id)
6895
7194
  end
6896
7195
  end
6897
7196
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.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 = "20230721"
26
26
  end
27
27
  end
28
28
  end
@@ -70,12 +70,24 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BuildDefinition
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class BuildDetails
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class BuildMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class BuildProvenance
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -610,6 +622,12 @@ module Google
610
622
  include Google::Apis::Core::JsonObjectSupport
611
623
  end
612
624
 
625
+ class InTotoSlsaProvenanceV1
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
613
631
  class InTotoStatement
614
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
633
 
@@ -748,6 +766,12 @@ module Google
748
766
  include Google::Apis::Core::JsonObjectSupport
749
767
  end
750
768
 
769
+ class ProvenanceBuilder
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
751
775
  class Publisher
752
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
777
 
@@ -796,6 +820,18 @@ module Google
796
820
  include Google::Apis::Core::JsonObjectSupport
797
821
  end
798
822
 
823
+ class ResourceDescriptor
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class RunDetails
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
799
835
  class SbomReferenceNote
800
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
837
 
@@ -868,6 +904,12 @@ module Google
868
904
  include Google::Apis::Core::JsonObjectSupport
869
905
  end
870
906
 
907
+ class SlsaProvenanceV1
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
871
913
  class SlsaProvenanceZeroTwo
872
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
873
915
 
@@ -1025,6 +1067,7 @@ module Google
1025
1067
 
1026
1068
  property :short_description, as: 'shortDescription'
1027
1069
  property :state, as: 'state'
1070
+ property :vulnerability_id, as: 'vulnerabilityId'
1028
1071
  end
1029
1072
  end
1030
1073
 
@@ -1070,9 +1113,22 @@ module Google
1070
1113
  end
1071
1114
  end
1072
1115
 
1116
+ class BuildDefinition
1117
+ # @private
1118
+ class Representation < Google::Apis::Core::JsonRepresentation
1119
+ property :build_type, as: 'buildType'
1120
+ hash :external_parameters, as: 'externalParameters'
1121
+ hash :internal_parameters, as: 'internalParameters'
1122
+ collection :resolved_dependencies, as: 'resolvedDependencies', class: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor::Representation
1123
+
1124
+ end
1125
+ end
1126
+
1073
1127
  class BuildDetails
1074
1128
  # @private
1075
1129
  class Representation < Google::Apis::Core::JsonRepresentation
1130
+ property :in_toto_slsa_provenance_v1, as: 'inTotoSlsaProvenanceV1', class: Google::Apis::ContaineranalysisV1alpha1::InTotoSlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoSlsaProvenanceV1::Representation
1131
+
1076
1132
  property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoProvenance::Representation
1077
1133
 
1078
1134
  property :intoto_statement, as: 'intotoStatement', class: Google::Apis::ContaineranalysisV1alpha1::InTotoStatement, decorator: Google::Apis::ContaineranalysisV1alpha1::InTotoStatement::Representation
@@ -1083,6 +1139,15 @@ module Google
1083
1139
  end
1084
1140
  end
1085
1141
 
1142
+ class BuildMetadata
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ property :finished_on, as: 'finishedOn'
1146
+ property :invocation_id, as: 'invocationId'
1147
+ property :started_on, as: 'startedOn'
1148
+ end
1149
+ end
1150
+
1086
1151
  class BuildProvenance
1087
1152
  # @private
1088
1153
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1121,6 +1186,7 @@ module Google
1121
1186
  collection :allow_exit_codes, as: 'allowExitCodes'
1122
1187
  property :allow_failure, as: 'allowFailure'
1123
1188
  collection :args, as: 'args'
1189
+ property :automap_substitutions, as: 'automapSubstitutions'
1124
1190
  property :dir, as: 'dir'
1125
1191
  property :entrypoint, as: 'entrypoint'
1126
1192
  collection :env, as: 'env'
@@ -1376,6 +1442,7 @@ module Google
1376
1442
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions
1377
1443
  # @private
1378
1444
  class Representation < Google::Apis::Core::JsonRepresentation
1445
+ property :automap_substitutions, as: 'automapSubstitutions'
1379
1446
  property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
1380
1447
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1381
1448
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
@@ -1408,6 +1475,7 @@ module Google
1408
1475
  collection :allow_exit_codes, as: 'allowExitCodes'
1409
1476
  property :allow_failure, as: 'allowFailure'
1410
1477
  collection :args, as: 'args'
1478
+ property :automap_substitutions, as: 'automapSubstitutions'
1411
1479
  property :dir, as: 'dir'
1412
1480
  property :entrypoint, as: 'entrypoint'
1413
1481
  collection :env, as: 'env'
@@ -2067,6 +2135,18 @@ module Google
2067
2135
  end
2068
2136
  end
2069
2137
 
2138
+ class InTotoSlsaProvenanceV1
2139
+ # @private
2140
+ class Representation < Google::Apis::Core::JsonRepresentation
2141
+ property :_type, as: '_type'
2142
+ property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceV1, decorator: Google::Apis::ContaineranalysisV1alpha1::SlsaProvenanceV1::Representation
2143
+
2144
+ property :predicate_type, as: 'predicateType'
2145
+ collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1alpha1::Subject, decorator: Google::Apis::ContaineranalysisV1alpha1::Subject::Representation
2146
+
2147
+ end
2148
+ end
2149
+
2070
2150
  class InTotoStatement
2071
2151
  # @private
2072
2152
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2409,6 +2489,16 @@ module Google
2409
2489
  end
2410
2490
  end
2411
2491
 
2492
+ class ProvenanceBuilder
2493
+ # @private
2494
+ class Representation < Google::Apis::Core::JsonRepresentation
2495
+ collection :builder_dependencies, as: 'builderDependencies', class: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor::Representation
2496
+
2497
+ property :id, as: 'id'
2498
+ hash :version, as: 'version'
2499
+ end
2500
+ end
2501
+
2412
2502
  class Publisher
2413
2503
  # @private
2414
2504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2485,6 +2575,31 @@ module Google
2485
2575
  end
2486
2576
  end
2487
2577
 
2578
+ class ResourceDescriptor
2579
+ # @private
2580
+ class Representation < Google::Apis::Core::JsonRepresentation
2581
+ hash :annotations, as: 'annotations'
2582
+ property :content, :base64 => true, as: 'content'
2583
+ hash :digest, as: 'digest'
2584
+ property :download_location, as: 'downloadLocation'
2585
+ property :media_type, as: 'mediaType'
2586
+ property :name, as: 'name'
2587
+ property :uri, as: 'uri'
2588
+ end
2589
+ end
2590
+
2591
+ class RunDetails
2592
+ # @private
2593
+ class Representation < Google::Apis::Core::JsonRepresentation
2594
+ property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1alpha1::ProvenanceBuilder, decorator: Google::Apis::ContaineranalysisV1alpha1::ProvenanceBuilder::Representation
2595
+
2596
+ collection :byproducts, as: 'byproducts', class: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor, decorator: Google::Apis::ContaineranalysisV1alpha1::ResourceDescriptor::Representation
2597
+
2598
+ property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1alpha1::BuildMetadata, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildMetadata::Representation
2599
+
2600
+ end
2601
+ end
2602
+
2488
2603
  class SbomReferenceNote
2489
2604
  # @private
2490
2605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2603,6 +2718,16 @@ module Google
2603
2718
  end
2604
2719
  end
2605
2720
 
2721
+ class SlsaProvenanceV1
2722
+ # @private
2723
+ class Representation < Google::Apis::Core::JsonRepresentation
2724
+ property :build_definition, as: 'buildDefinition', class: Google::Apis::ContaineranalysisV1alpha1::BuildDefinition, decorator: Google::Apis::ContaineranalysisV1alpha1::BuildDefinition::Representation
2725
+
2726
+ property :run_details, as: 'runDetails', class: Google::Apis::ContaineranalysisV1alpha1::RunDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::RunDetails::Representation
2727
+
2728
+ end
2729
+ end
2730
+
2606
2731
  class SlsaProvenanceZeroTwo
2607
2732
  # @private
2608
2733
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2769,6 +2894,7 @@ module Google
2769
2894
  collection :remediations, as: 'remediations', class: Google::Apis::ContaineranalysisV1alpha1::Remediation, decorator: Google::Apis::ContaineranalysisV1alpha1::Remediation::Representation
2770
2895
 
2771
2896
  property :state, as: 'state'
2897
+ property :vulnerability_id, as: 'vulnerabilityId'
2772
2898
  end
2773
2899
  end
2774
2900
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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-08-06 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []