google-apis-containeranalysis_v1alpha1 0.81.0 → 0.82.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: bacde35ea98fbb62c4458cab26ffa6c0f11665ee745f89388c8aea69bd8c7a8b
4
- data.tar.gz: 82d0b7ae32ef512709cbc2ff23022e69daa5622e69feb2a99df6f45d8b781926
3
+ metadata.gz: a7dc4f6c7aba1ddadb431594482eb9a1ec12158dddff395c7c45e044e56701f3
4
+ data.tar.gz: 52fe4d8d0e597e2e9a95a50618342cac787e59589697d66147e196935e857d9c
5
5
  SHA512:
6
- metadata.gz: 75c2a2d93742dc233012885bd73a6579cc9dd955824000a6f1a20c1ca027264ce0f32e3abaf1d45bc10081d6e1e62cf8d214f4848e43e9466ec8ceab173ba346
7
- data.tar.gz: 420b19c9d6d3c30b2961a1828738d4a6a73c6c59134d22b16198a8cb7cc15c7fde7e2afb9c34f83e901f06fc163e13491fe30162c40dbdcc84937120e102a829
6
+ metadata.gz: 92839d6c90eb004a0093b9131fd2f3b77b9fc548ed987ff77f2bd0f8070795f35c19fd4f656467ddbd86d4ffcf7e3eeed65172079ba18e165475146f40eb71d2
7
+ data.tar.gz: fc0e197749d405440734a4e529ba0bab5a3947a83e81a7a2492405c05448374a4daf99db845362a5de56a47fcbe7f8b33a331c4abb818bf17a7151e4788be2b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.82.0 (2026-03-22)
4
+
5
+ * Regenerated from discovery document revision 20260313
6
+
3
7
  ### v0.81.0 (2026-03-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20260220
@@ -1379,6 +1379,15 @@ module Google
1379
1379
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects]
1380
1380
  attr_accessor :objects
1381
1381
 
1382
+ # Optional. A list of OCI images to be uploaded to Artifact Registry upon
1383
+ # successful completion of all build steps. OCI images in the specified paths
1384
+ # will be uploaded to the specified Artifact Registry repository using the
1385
+ # builder service account's credentials. If any images fail to be pushed, the
1386
+ # build is marked FAILURE.
1387
+ # Corresponds to the JSON property `oci`
1388
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci>]
1389
+ attr_accessor :oci
1390
+
1382
1391
  # A list of Python packages to be uploaded to Artifact Registry upon successful
1383
1392
  # completion of all build steps. The build service account credentials will be
1384
1393
  # used to perform the upload. If any objects fail to be pushed, the build is
@@ -1398,6 +1407,7 @@ module Google
1398
1407
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1399
1408
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1400
1409
  @objects = args[:objects] if args.key?(:objects)
1410
+ @oci = args[:oci] if args.key?(:oci)
1401
1411
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1402
1412
  end
1403
1413
  end
@@ -1582,6 +1592,40 @@ module Google
1582
1592
  end
1583
1593
  end
1584
1594
 
1595
+ # OCI image to upload to Artifact Registry upon successful completion of all
1596
+ # build steps.
1597
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
1598
+ include Google::Apis::Core::Hashable
1599
+
1600
+ # Required. Path on the local file system where to find the container to upload.
1601
+ # e.g. /workspace/my-image.tar
1602
+ # Corresponds to the JSON property `file`
1603
+ # @return [String]
1604
+ attr_accessor :file
1605
+
1606
+ # Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
1607
+ # dev/my-project/my-repo/my-image
1608
+ # Corresponds to the JSON property `registryPath`
1609
+ # @return [String]
1610
+ attr_accessor :registry_path
1611
+
1612
+ # Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
1613
+ # Corresponds to the JSON property `tags`
1614
+ # @return [Array<String>]
1615
+ attr_accessor :tags
1616
+
1617
+ def initialize(**args)
1618
+ update!(**args)
1619
+ end
1620
+
1621
+ # Update properties of this object
1622
+ def update!(**args)
1623
+ @file = args[:file] if args.key?(:file)
1624
+ @registry_path = args[:registry_path] if args.key?(:registry_path)
1625
+ @tags = args[:tags] if args.key?(:tags)
1626
+ end
1627
+ end
1628
+
1585
1629
  # Python package to upload to Artifact Registry upon successful completion of
1586
1630
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1587
1631
  # a single repository.
@@ -2285,6 +2329,12 @@ module Google
2285
2329
  # @return [String]
2286
2330
  attr_accessor :name
2287
2331
 
2332
+ # Output only. The OCI media type of the artifact. Non-OCI images, such as
2333
+ # Docker images, will have an unspecified value.
2334
+ # Corresponds to the JSON property `ociMediaType`
2335
+ # @return [String]
2336
+ attr_accessor :oci_media_type
2337
+
2288
2338
  # Start and end times for a build execution phase.
2289
2339
  # Corresponds to the JSON property `pushTiming`
2290
2340
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
@@ -2299,6 +2349,7 @@ module Google
2299
2349
  @artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
2300
2350
  @digest = args[:digest] if args.key?(:digest)
2301
2351
  @name = args[:name] if args.key?(:name)
2352
+ @oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
2302
2353
  @push_timing = args[:push_timing] if args.key?(:push_timing)
2303
2354
  end
2304
2355
  end
@@ -4134,6 +4185,12 @@ module Google
4134
4185
  # @return [Google::Apis::ContaineranalysisV1alpha1::LayerDetails]
4135
4186
  attr_accessor :layer_details
4136
4187
 
4188
+ # Line number in the file where the package is found. Optional field that only
4189
+ # applies to source repository scanning.
4190
+ # Corresponds to the JSON property `lineNumber`
4191
+ # @return [Fixnum]
4192
+ attr_accessor :line_number
4193
+
4137
4194
  def initialize(**args)
4138
4195
  update!(**args)
4139
4196
  end
@@ -4142,6 +4199,7 @@ module Google
4142
4199
  def update!(**args)
4143
4200
  @file_path = args[:file_path] if args.key?(:file_path)
4144
4201
  @layer_details = args[:layer_details] if args.key?(:layer_details)
4202
+ @line_number = args[:line_number] if args.key?(:line_number)
4145
4203
  end
4146
4204
  end
4147
4205
 
@@ -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.81.0"
19
+ GEM_VERSION = "0.82.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
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -1482,6 +1488,8 @@ module Google
1482
1488
 
1483
1489
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1484
1490
 
1491
+ collection :oci, as: 'oci', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci::Representation
1492
+
1485
1493
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
1486
1494
 
1487
1495
  end
@@ -1529,6 +1537,15 @@ module Google
1529
1537
  end
1530
1538
  end
1531
1539
 
1540
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci
1541
+ # @private
1542
+ class Representation < Google::Apis::Core::JsonRepresentation
1543
+ property :file, as: 'file'
1544
+ property :registry_path, as: 'registryPath'
1545
+ collection :tags, as: 'tags'
1546
+ end
1547
+ end
1548
+
1532
1549
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1533
1550
  # @private
1534
1551
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1680,6 +1697,7 @@ module Google
1680
1697
  property :artifact_registry_package, as: 'artifactRegistryPackage'
1681
1698
  property :digest, as: 'digest'
1682
1699
  property :name, as: 'name'
1700
+ property :oci_media_type, as: 'ociMediaType'
1683
1701
  property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1684
1702
 
1685
1703
  end
@@ -2198,6 +2216,7 @@ module Google
2198
2216
  property :file_path, as: 'filePath'
2199
2217
  property :layer_details, as: 'layerDetails', class: Google::Apis::ContaineranalysisV1alpha1::LayerDetails, decorator: Google::Apis::ContaineranalysisV1alpha1::LayerDetails::Representation
2200
2218
 
2219
+ property :line_number, as: 'lineNumber'
2201
2220
  end
2202
2221
  end
2203
2222
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.81.0
4
+ version: 0.82.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_v1alpha1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.81.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.82.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
62
62
  rdoc_options: []
63
63
  require_paths: