google-apis-containeranalysis_v1 0.70.0 → 0.71.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: d9bf94828d536a7f815f32acb8d3848fa676eafef8f78abcf8b571de73194b0a
4
- data.tar.gz: 2e5cbbdd8ff6854fbe4b08ac4641398317c91a392ebce02d8656d72a1ad96ba2
3
+ metadata.gz: 3b63b8600af1be1f9efb852ff78dab6421f208d8e8da5702c230d40a177fb87f
4
+ data.tar.gz: 5ea5d5d90adfa5efeb2fae537e8319b92adcf9262cdab0ee8c410b936fb417f0
5
5
  SHA512:
6
- metadata.gz: aae44b576dda3f101ef5749594d3bf4f0a9b0503febff9f7b92e322bd09ffd1b0bbbc56555a3bee799d62415dc1bb1573ab4b904a53ac41ccbb1cd710deb8a7e
7
- data.tar.gz: 392ecff2fce3293304a8954e43a8311ba14894bbe21fa7da0e6fe4dbb0e2fe7d87cdf38ee902659e3d91b0a250c11f9f4df4e1614a1f9f12c87ea3b7ad7d2bae
6
+ metadata.gz: 9b731a9158c976c693d1f8f2767924f178d999545484aae30915257ccb0d355852d57c4c400f5beee1611cfc2b204b4dad14e58ed2c38bcb17a3e5bc8eecc35e
7
+ data.tar.gz: a0330e349e0b4d982466f2bad3264ca9e902765cc26afb69b343fd5ef108e7ef14938f956c87cae471d2751dfdab78213b263eaab15748b2e810dda36ef9f0fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.71.0 (2026-03-22)
4
+
5
+ * Regenerated from discovery document revision 20260313
6
+
3
7
  ### v0.70.0 (2026-03-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20260220
@@ -1527,6 +1527,15 @@ module Google
1527
1527
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects]
1528
1528
  attr_accessor :objects
1529
1529
 
1530
+ # Optional. A list of OCI images to be uploaded to Artifact Registry upon
1531
+ # successful completion of all build steps. OCI images in the specified paths
1532
+ # will be uploaded to the specified Artifact Registry repository using the
1533
+ # builder service account's credentials. If any images fail to be pushed, the
1534
+ # build is marked FAILURE.
1535
+ # Corresponds to the JSON property `oci`
1536
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci>]
1537
+ attr_accessor :oci
1538
+
1530
1539
  # A list of Python packages to be uploaded to Artifact Registry upon successful
1531
1540
  # completion of all build steps. The build service account credentials will be
1532
1541
  # used to perform the upload. If any objects fail to be pushed, the build is
@@ -1546,6 +1555,7 @@ module Google
1546
1555
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1547
1556
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1548
1557
  @objects = args[:objects] if args.key?(:objects)
1558
+ @oci = args[:oci] if args.key?(:oci)
1549
1559
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1550
1560
  end
1551
1561
  end
@@ -1730,6 +1740,40 @@ module Google
1730
1740
  end
1731
1741
  end
1732
1742
 
1743
+ # OCI image to upload to Artifact Registry upon successful completion of all
1744
+ # build steps.
1745
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
1746
+ include Google::Apis::Core::Hashable
1747
+
1748
+ # Required. Path on the local file system where to find the container to upload.
1749
+ # e.g. /workspace/my-image.tar
1750
+ # Corresponds to the JSON property `file`
1751
+ # @return [String]
1752
+ attr_accessor :file
1753
+
1754
+ # Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
1755
+ # dev/my-project/my-repo/my-image
1756
+ # Corresponds to the JSON property `registryPath`
1757
+ # @return [String]
1758
+ attr_accessor :registry_path
1759
+
1760
+ # Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
1761
+ # Corresponds to the JSON property `tags`
1762
+ # @return [Array<String>]
1763
+ attr_accessor :tags
1764
+
1765
+ def initialize(**args)
1766
+ update!(**args)
1767
+ end
1768
+
1769
+ # Update properties of this object
1770
+ def update!(**args)
1771
+ @file = args[:file] if args.key?(:file)
1772
+ @registry_path = args[:registry_path] if args.key?(:registry_path)
1773
+ @tags = args[:tags] if args.key?(:tags)
1774
+ end
1775
+ end
1776
+
1733
1777
  # Python package to upload to Artifact Registry upon successful completion of
1734
1778
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1735
1779
  # a single repository.
@@ -2433,6 +2477,12 @@ module Google
2433
2477
  # @return [String]
2434
2478
  attr_accessor :name
2435
2479
 
2480
+ # Output only. The OCI media type of the artifact. Non-OCI images, such as
2481
+ # Docker images, will have an unspecified value.
2482
+ # Corresponds to the JSON property `ociMediaType`
2483
+ # @return [String]
2484
+ attr_accessor :oci_media_type
2485
+
2436
2486
  # Start and end times for a build execution phase.
2437
2487
  # Corresponds to the JSON property `pushTiming`
2438
2488
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
@@ -2447,6 +2497,7 @@ module Google
2447
2497
  @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
2448
2498
  @digest = args[:digest] if args.key?(:digest)
2449
2499
  @name = args[:name] if args.key?(:name)
2500
+ @oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
2450
2501
  @push_timing = args[:push_timing] if args.key?(:push_timing)
2451
2502
  end
2452
2503
  end
@@ -4315,6 +4366,12 @@ module Google
4315
4366
  # @return [Google::Apis::ContaineranalysisV1::LayerDetails]
4316
4367
  attr_accessor :layer_details
4317
4368
 
4369
+ # Line number in the file where the package was found. Optional field that only
4370
+ # applies to source repository scanning.
4371
+ # Corresponds to the JSON property `lineNumber`
4372
+ # @return [Fixnum]
4373
+ attr_accessor :line_number
4374
+
4318
4375
  def initialize(**args)
4319
4376
  update!(**args)
4320
4377
  end
@@ -4323,6 +4380,7 @@ module Google
4323
4380
  def update!(**args)
4324
4381
  @file_path = args[:file_path] if args.key?(:file_path)
4325
4382
  @layer_details = args[:layer_details] if args.key?(:layer_details)
4383
+ @line_number = args[:line_number] if args.key?(:line_number)
4326
4384
  end
4327
4385
  end
4328
4386
 
@@ -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.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260220"
25
+ REVISION = "20260313"
26
26
  end
27
27
  end
28
28
  end
@@ -250,6 +250,12 @@ module Google
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
253
259
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
254
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
261
 
@@ -1490,6 +1496,8 @@ module Google
1490
1496
 
1491
1497
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1492
1498
 
1499
+ collection :oci, as: 'oci', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci::Representation
1500
+
1493
1501
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
1494
1502
 
1495
1503
  end
@@ -1537,6 +1545,15 @@ module Google
1537
1545
  end
1538
1546
  end
1539
1547
 
1548
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
1549
+ # @private
1550
+ class Representation < Google::Apis::Core::JsonRepresentation
1551
+ property :file, as: 'file'
1552
+ property :registry_path, as: 'registryPath'
1553
+ collection :tags, as: 'tags'
1554
+ end
1555
+ end
1556
+
1540
1557
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1541
1558
  # @private
1542
1559
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1688,6 +1705,7 @@ module Google
1688
1705
  property :artifact_registry_package, as: 'artifactRegistryPackage'
1689
1706
  property :digest, as: 'digest'
1690
1707
  property :name, as: 'name'
1708
+ property :oci_media_type, as: 'ociMediaType'
1691
1709
  property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1692
1710
 
1693
1711
  end
@@ -2227,6 +2245,7 @@ module Google
2227
2245
  property :file_path, as: 'filePath'
2228
2246
  property :layer_details, as: 'layerDetails', class: Google::Apis::ContaineranalysisV1::LayerDetails, decorator: Google::Apis::ContaineranalysisV1::LayerDetails::Representation
2229
2247
 
2248
+ property :line_number, as: 'lineNumber'
2230
2249
  end
2231
2250
  end
2232
2251
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.71.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
62
62
  rdoc_options: []
63
63
  require_paths: