google-apis-containeranalysis_v1alpha1 0.45.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c979af17b73b82c7689b55828e7056c53767cc64930692306d3026cd4c72809
4
- data.tar.gz: 1b2468b7722550249ad02c2f81b9ac3ef69333744ef6371666cfb8c2320e49c5
3
+ metadata.gz: 07ec6e3938a44a3c19f0a94aee8336f58659399b2cd7dc10c6384fda15ae65e5
4
+ data.tar.gz: 9da2278630c4906c55b25caca11bb5219d6b8dc95be9d43dda41db3372372a7e
5
5
  SHA512:
6
- metadata.gz: acd5c05bf52f03e69d262603f9feba3ad18041781f730f55bb54161401310f90c2b5722d9ebe749bd9fa0d586f2e8431ca4daf43353d2c3a35b52152959dbb98
7
- data.tar.gz: 7dc643861422302f23034d2c6f61b75dbb88c3b15dd32b1625ff5c299acbea28fe89bfb85ce7befd6d6dc08ee3686d84eaec5dcc4bd6ff0b20666a68cb0a5b6c
6
+ metadata.gz: e051baf03d38eb0465ffc19adc1b776e7342d9f3e904d35a74710b383ce5ebe00f8103bca0856e584012f0e3cbe9422652ea66864b2392b9d0e596e6e48403bc
7
+ data.tar.gz: 7adcdb5392abbb8642120383da63943eada47b3711c2c4b3fbe909917411b166d5f0bd8049af2b2b6c4dfff80bb8ff3eedba7180ec3465e3a0ed5e838ff446c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.47.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
7
+ ### v0.46.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230324
10
+
3
11
  ### v0.45.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230310
@@ -1158,6 +1158,15 @@ module Google
1158
1158
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
1159
1159
  attr_accessor :maven_artifacts
1160
1160
 
1161
+ # A list of npm packages to be uploaded to Artifact Registry upon successful
1162
+ # completion of all build steps. Npm packages in the specified paths will be
1163
+ # uploaded to the specified Artifact Registry repository using the builder
1164
+ # service account's credentials. If any packages fail to be pushed, the build is
1165
+ # marked FAILURE.
1166
+ # Corresponds to the JSON property `npmPackages`
1167
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage>]
1168
+ attr_accessor :npm_packages
1169
+
1161
1170
  # Files in the workspace to upload to Cloud Storage upon successful completion
1162
1171
  # of all build steps.
1163
1172
  # Corresponds to the JSON property `objects`
@@ -1180,6 +1189,7 @@ module Google
1180
1189
  def update!(**args)
1181
1190
  @images = args[:images] if args.key?(:images)
1182
1191
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1192
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1183
1193
  @objects = args[:objects] if args.key?(:objects)
1184
1194
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1185
1195
  end
@@ -1269,6 +1279,34 @@ module Google
1269
1279
  end
1270
1280
  end
1271
1281
 
1282
+ # Npm package to upload to Artifact Registry upon successful completion of all
1283
+ # build steps.
1284
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1285
+ include Google::Apis::Core::Hashable
1286
+
1287
+ # Path to the package.json. e.g. workspace/path/to/package
1288
+ # Corresponds to the JSON property `packagePath`
1289
+ # @return [String]
1290
+ attr_accessor :package_path
1291
+
1292
+ # Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$
1293
+ # PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be
1294
+ # zipped and uploaded to Artifact Registry with this location as a prefix.
1295
+ # Corresponds to the JSON property `repository`
1296
+ # @return [String]
1297
+ attr_accessor :repository
1298
+
1299
+ def initialize(**args)
1300
+ update!(**args)
1301
+ end
1302
+
1303
+ # Update properties of this object
1304
+ def update!(**args)
1305
+ @package_path = args[:package_path] if args.key?(:package_path)
1306
+ @repository = args[:repository] if args.key?(:repository)
1307
+ end
1308
+ end
1309
+
1272
1310
  # Python package to upload to Artifact Registry upon successful completion of
1273
1311
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1274
1312
  # a single repository.
@@ -1961,6 +1999,46 @@ module Google
1961
1999
  end
1962
2000
  end
1963
2001
 
2002
+ # Location of the source in any accessible Git repository.
2003
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
2004
+ include Google::Apis::Core::Hashable
2005
+
2006
+ # Directory, relative to the source root, in which to run the build. This must
2007
+ # be a relative path. If a step's `dir` is specified and is an absolute path,
2008
+ # this value is ignored for that step's execution.
2009
+ # Corresponds to the JSON property `dir`
2010
+ # @return [String]
2011
+ attr_accessor :dir
2012
+
2013
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2014
+ # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2015
+ # from the Git repository; therefore make sure that the string you provide for `
2016
+ # revision` is parsable by the command. For information on string values
2017
+ # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2018
+ # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2019
+ # docs/git-fetch.
2020
+ # Corresponds to the JSON property `revision`
2021
+ # @return [String]
2022
+ attr_accessor :revision
2023
+
2024
+ # Location of the Git repo to build. This will be used as a `git remote`, see
2025
+ # https://git-scm.com/docs/git-remote.
2026
+ # Corresponds to the JSON property `url`
2027
+ # @return [String]
2028
+ attr_accessor :url
2029
+
2030
+ def initialize(**args)
2031
+ update!(**args)
2032
+ end
2033
+
2034
+ # Update properties of this object
2035
+ def update!(**args)
2036
+ @dir = args[:dir] if args.key?(:dir)
2037
+ @revision = args[:revision] if args.key?(:revision)
2038
+ @url = args[:url] if args.key?(:url)
2039
+ end
2040
+ end
2041
+
1964
2042
  # Container message for hash values.
1965
2043
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1966
2044
  include Google::Apis::Core::Hashable
@@ -2125,6 +2203,11 @@ module Google
2125
2203
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
2126
2204
  attr_accessor :maven_artifacts
2127
2205
 
2206
+ # Npm packages uploaded to Artifact Registry at the end of the build.
2207
+ # Corresponds to the JSON property `npmPackages`
2208
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage>]
2209
+ attr_accessor :npm_packages
2210
+
2128
2211
  # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2129
2212
  # when artifacts are uploaded to Cloud Storage.
2130
2213
  # Corresponds to the JSON property `numArtifacts`
@@ -2148,6 +2231,7 @@ module Google
2148
2231
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2149
2232
  @images = args[:images] if args.key?(:images)
2150
2233
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2234
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
2151
2235
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2152
2236
  @python_packages = args[:python_packages] if args.key?(:python_packages)
2153
2237
  end
@@ -2241,6 +2325,11 @@ module Google
2241
2325
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
2242
2326
  include Google::Apis::Core::Hashable
2243
2327
 
2328
+ # Location of the source in any accessible Git repository.
2329
+ # Corresponds to the JSON property `gitSource`
2330
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
2331
+ attr_accessor :git_source
2332
+
2244
2333
  # Location of the source in a Google Cloud Source Repository.
2245
2334
  # Corresponds to the JSON property `repoSource`
2246
2335
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
@@ -2264,6 +2353,7 @@ module Google
2264
2353
 
2265
2354
  # Update properties of this object
2266
2355
  def update!(**args)
2356
+ @git_source = args[:git_source] if args.key?(:git_source)
2267
2357
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2268
2358
  @storage_source = args[:storage_source] if args.key?(:storage_source)
2269
2359
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
@@ -2445,6 +2535,38 @@ module Google
2445
2535
  end
2446
2536
  end
2447
2537
 
2538
+ # An npm package uploaded to Artifact Registry using the NpmPackage directive.
2539
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
2540
+ include Google::Apis::Core::Hashable
2541
+
2542
+ # Container message for hashes of byte content of files, used in
2543
+ # SourceProvenance messages to verify integrity of source input to the build.
2544
+ # Corresponds to the JSON property `fileHashes`
2545
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2546
+ attr_accessor :file_hashes
2547
+
2548
+ # Start and end times for a build execution phase.
2549
+ # Corresponds to the JSON property `pushTiming`
2550
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2551
+ attr_accessor :push_timing
2552
+
2553
+ # URI of the uploaded npm package.
2554
+ # Corresponds to the JSON property `uri`
2555
+ # @return [String]
2556
+ attr_accessor :uri
2557
+
2558
+ def initialize(**args)
2559
+ update!(**args)
2560
+ end
2561
+
2562
+ # Update properties of this object
2563
+ def update!(**args)
2564
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2565
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2566
+ @uri = args[:uri] if args.key?(:uri)
2567
+ end
2568
+ end
2569
+
2448
2570
  # Artifact uploaded using the PythonPackage directive.
2449
2571
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
2450
2572
  include Google::Apis::Core::Hashable
@@ -4584,6 +4706,11 @@ module Google
4584
4706
  # @return [Google::Apis::ContaineranalysisV1alpha1::DocumentNote]
4585
4707
  attr_accessor :sbom
4586
4708
 
4709
+ # The note representing an SBOM reference.
4710
+ # Corresponds to the JSON property `sbomReference`
4711
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote]
4712
+ attr_accessor :sbom_reference
4713
+
4587
4714
  # A one sentence description of this `Note`.
4588
4715
  # Corresponds to the JSON property `shortDescription`
4589
4716
  # @return [String]
@@ -4654,6 +4781,7 @@ module Google
4654
4781
  @package = args[:package] if args.key?(:package)
4655
4782
  @related_url = args[:related_url] if args.key?(:related_url)
4656
4783
  @sbom = args[:sbom] if args.key?(:sbom)
4784
+ @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
4657
4785
  @short_description = args[:short_description] if args.key?(:short_description)
4658
4786
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
4659
4787
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
@@ -4771,6 +4899,13 @@ module Google
4771
4899
  # @return [Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence]
4772
4900
  attr_accessor :sbom
4773
4901
 
4902
+ # The occurrence representing an SBOM reference as applied to a specific
4903
+ # resource. The occurrence follows the DSSE specification. See https://github.
4904
+ # com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
4905
+ # Corresponds to the JSON property `sbomReference`
4906
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence]
4907
+ attr_accessor :sbom_reference
4908
+
4774
4909
  # FileOccurrence represents an SPDX File Information section: https://spdx.
4775
4910
  # github.io/spdx-spec/4-file-information/
4776
4911
  # Corresponds to the JSON property `spdxFile`
@@ -4830,6 +4965,7 @@ module Google
4830
4965
  @resource = args[:resource] if args.key?(:resource)
4831
4966
  @resource_url = args[:resource_url] if args.key?(:resource_url)
4832
4967
  @sbom = args[:sbom] if args.key?(:sbom)
4968
+ @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
4833
4969
  @spdx_file = args[:spdx_file] if args.key?(:spdx_file)
4834
4970
  @spdx_package = args[:spdx_package] if args.key?(:spdx_package)
4835
4971
  @spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
@@ -5716,6 +5852,145 @@ module Google
5716
5852
  end
5717
5853
  end
5718
5854
 
5855
+ # The note representing an SBOM reference.
5856
+ class SbomReferenceNote
5857
+ include Google::Apis::Core::Hashable
5858
+
5859
+ # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
5860
+ # Corresponds to the JSON property `format`
5861
+ # @return [String]
5862
+ attr_accessor :format
5863
+
5864
+ # The version of the format that the SBOM takes. E.g. if the format is spdx, the
5865
+ # version may be 2.3.
5866
+ # Corresponds to the JSON property `version`
5867
+ # @return [String]
5868
+ attr_accessor :version
5869
+
5870
+ def initialize(**args)
5871
+ update!(**args)
5872
+ end
5873
+
5874
+ # Update properties of this object
5875
+ def update!(**args)
5876
+ @format = args[:format] if args.key?(:format)
5877
+ @version = args[:version] if args.key?(:version)
5878
+ end
5879
+ end
5880
+
5881
+ # The occurrence representing an SBOM reference as applied to a specific
5882
+ # resource. The occurrence follows the DSSE specification. See https://github.
5883
+ # com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
5884
+ class SbomReferenceOccurrence
5885
+ include Google::Apis::Core::Hashable
5886
+
5887
+ # The actual payload that contains the SBOM Reference data. The payload follows
5888
+ # the intoto statement specification. See https://github.com/in-toto/attestation/
5889
+ # blob/main/spec/v1.0/statement.md for more details.
5890
+ # Corresponds to the JSON property `payload`
5891
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPayload]
5892
+ attr_accessor :payload
5893
+
5894
+ # The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the
5895
+ # intoto format, this value is expected to be 'application/vnd.in-toto+json'.
5896
+ # Corresponds to the JSON property `payloadType`
5897
+ # @return [String]
5898
+ attr_accessor :payload_type
5899
+
5900
+ # The signatures over the payload.
5901
+ # Corresponds to the JSON property `signatures`
5902
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature>]
5903
+ attr_accessor :signatures
5904
+
5905
+ def initialize(**args)
5906
+ update!(**args)
5907
+ end
5908
+
5909
+ # Update properties of this object
5910
+ def update!(**args)
5911
+ @payload = args[:payload] if args.key?(:payload)
5912
+ @payload_type = args[:payload_type] if args.key?(:payload_type)
5913
+ @signatures = args[:signatures] if args.key?(:signatures)
5914
+ end
5915
+ end
5916
+
5917
+ # The actual payload that contains the SBOM Reference data. The payload follows
5918
+ # the intoto statement specification. See https://github.com/in-toto/attestation/
5919
+ # blob/main/spec/v1.0/statement.md for more details.
5920
+ class SbomReferenceIntotoPayload
5921
+ include Google::Apis::Core::Hashable
5922
+
5923
+ # Identifier for the schema of the Statement.
5924
+ # Corresponds to the JSON property `_type`
5925
+ # @return [String]
5926
+ attr_accessor :_type
5927
+
5928
+ # A predicate which describes the SBOM being referenced.
5929
+ # Corresponds to the JSON property `predicate`
5930
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPredicate]
5931
+ attr_accessor :predicate
5932
+
5933
+ # URI identifying the type of the Predicate.
5934
+ # Corresponds to the JSON property `predicateType`
5935
+ # @return [String]
5936
+ attr_accessor :predicate_type
5937
+
5938
+ # Set of software artifacts that the attestation applies to. Each element
5939
+ # represents a single software artifact.
5940
+ # Corresponds to the JSON property `subject`
5941
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Subject>]
5942
+ attr_accessor :subject
5943
+
5944
+ def initialize(**args)
5945
+ update!(**args)
5946
+ end
5947
+
5948
+ # Update properties of this object
5949
+ def update!(**args)
5950
+ @_type = args[:_type] if args.key?(:_type)
5951
+ @predicate = args[:predicate] if args.key?(:predicate)
5952
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
5953
+ @subject = args[:subject] if args.key?(:subject)
5954
+ end
5955
+ end
5956
+
5957
+ # A predicate which describes the SBOM being referenced.
5958
+ class SbomReferenceIntotoPredicate
5959
+ include Google::Apis::Core::Hashable
5960
+
5961
+ # A map of algorithm to digest of the contents of the SBOM.
5962
+ # Corresponds to the JSON property `digest`
5963
+ # @return [Hash<String,String>]
5964
+ attr_accessor :digest
5965
+
5966
+ # The location of the SBOM.
5967
+ # Corresponds to the JSON property `location`
5968
+ # @return [String]
5969
+ attr_accessor :location
5970
+
5971
+ # The mime type of the SBOM.
5972
+ # Corresponds to the JSON property `mimeType`
5973
+ # @return [String]
5974
+ attr_accessor :mime_type
5975
+
5976
+ # The person or system referring this predicate to the consumer.
5977
+ # Corresponds to the JSON property `referrerId`
5978
+ # @return [String]
5979
+ attr_accessor :referrer_id
5980
+
5981
+ def initialize(**args)
5982
+ update!(**args)
5983
+ end
5984
+
5985
+ # Update properties of this object
5986
+ def update!(**args)
5987
+ @digest = args[:digest] if args.key?(:digest)
5988
+ @location = args[:location] if args.key?(:location)
5989
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
5990
+ @referrer_id = args[:referrer_id] if args.key?(:referrer_id)
5991
+ end
5992
+ end
5993
+
5719
5994
  # Indicates various scans and whether they are turned on or off.
5720
5995
  class ScanConfig
5721
5996
  include Google::Apis::Core::Hashable
@@ -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.45.0"
19
+ GEM_VERSION = "0.47.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 = "20230310"
25
+ REVISION = "20230414"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -238,6 +244,12 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -316,6 +328,12 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
319
337
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
320
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
339
 
@@ -778,6 +796,30 @@ module Google
778
796
  include Google::Apis::Core::JsonObjectSupport
779
797
  end
780
798
 
799
+ class SbomReferenceNote
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class SbomReferenceOccurrence
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class SbomReferenceIntotoPayload
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class SbomReferenceIntotoPredicate
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
781
823
  class ScanConfig
782
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
783
825
 
@@ -1213,6 +1255,8 @@ module Google
1213
1255
  collection :images, as: 'images'
1214
1256
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1215
1257
 
1258
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage::Representation
1259
+
1216
1260
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1217
1261
 
1218
1262
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
@@ -1241,6 +1285,14 @@ module Google
1241
1285
  end
1242
1286
  end
1243
1287
 
1288
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1289
+ # @private
1290
+ class Representation < Google::Apis::Core::JsonRepresentation
1291
+ property :package_path, as: 'packagePath'
1292
+ property :repository, as: 'repository'
1293
+ end
1294
+ end
1295
+
1244
1296
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1245
1297
  # @private
1246
1298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1396,6 +1448,15 @@ module Google
1396
1448
  end
1397
1449
  end
1398
1450
 
1451
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :dir, as: 'dir'
1455
+ property :revision, as: 'revision'
1456
+ property :url, as: 'url'
1457
+ end
1458
+ end
1459
+
1399
1460
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1400
1461
  # @private
1401
1462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1438,6 +1499,8 @@ module Google
1438
1499
 
1439
1500
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1440
1501
 
1502
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage::Representation
1503
+
1441
1504
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1442
1505
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1443
1506
 
@@ -1473,6 +1536,8 @@ module Google
1473
1536
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
1474
1537
  # @private
1475
1538
  class Representation < Google::Apis::Core::JsonRepresentation
1539
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1540
+
1476
1541
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
1477
1542
 
1478
1543
  property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource::Representation
@@ -1533,6 +1598,17 @@ module Google
1533
1598
  end
1534
1599
  end
1535
1600
 
1601
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
1602
+ # @private
1603
+ class Representation < Google::Apis::Core::JsonRepresentation
1604
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1605
+
1606
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1607
+
1608
+ property :uri, as: 'uri'
1609
+ end
1610
+ end
1611
+
1536
1612
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1537
1613
  # @private
1538
1614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2142,6 +2218,8 @@ module Google
2142
2218
 
2143
2219
  property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1alpha1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1alpha1::DocumentNote::Representation
2144
2220
 
2221
+ property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceNote::Representation
2222
+
2145
2223
  property :short_description, as: 'shortDescription'
2146
2224
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
2147
2225
 
@@ -2190,6 +2268,8 @@ module Google
2190
2268
  property :resource_url, as: 'resourceUrl'
2191
2269
  property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::DocumentOccurrence::Representation
2192
2270
 
2271
+ property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceOccurrence::Representation
2272
+
2193
2273
  property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
2194
2274
 
2195
2275
  property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence::Representation
@@ -2397,6 +2477,47 @@ module Google
2397
2477
  end
2398
2478
  end
2399
2479
 
2480
+ class SbomReferenceNote
2481
+ # @private
2482
+ class Representation < Google::Apis::Core::JsonRepresentation
2483
+ property :format, as: 'format'
2484
+ property :version, as: 'version'
2485
+ end
2486
+ end
2487
+
2488
+ class SbomReferenceOccurrence
2489
+ # @private
2490
+ class Representation < Google::Apis::Core::JsonRepresentation
2491
+ property :payload, as: 'payload', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPayload, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPayload::Representation
2492
+
2493
+ property :payload_type, as: 'payloadType'
2494
+ collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature, decorator: Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature::Representation
2495
+
2496
+ end
2497
+ end
2498
+
2499
+ class SbomReferenceIntotoPayload
2500
+ # @private
2501
+ class Representation < Google::Apis::Core::JsonRepresentation
2502
+ property :_type, as: '_type'
2503
+ property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPredicate, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomReferenceIntotoPredicate::Representation
2504
+
2505
+ property :predicate_type, as: 'predicateType'
2506
+ collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1alpha1::Subject, decorator: Google::Apis::ContaineranalysisV1alpha1::Subject::Representation
2507
+
2508
+ end
2509
+ end
2510
+
2511
+ class SbomReferenceIntotoPredicate
2512
+ # @private
2513
+ class Representation < Google::Apis::Core::JsonRepresentation
2514
+ hash :digest, as: 'digest'
2515
+ property :location, as: 'location'
2516
+ property :mime_type, as: 'mimeType'
2517
+ property :referrer_id, as: 'referrerId'
2518
+ end
2519
+ end
2520
+
2400
2521
  class ScanConfig
2401
2522
  # @private
2402
2523
  class Representation < Google::Apis::Core::JsonRepresentation
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.45.0
4
+ version: 0.47.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-03-19 00:00:00.000000000 Z
11
+ date: 2023-04-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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.45.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.47.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: []