google-apis-containeranalysis_v1beta1 0.75.0 → 0.76.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: 1db4bc8ca2ba233ec391305225e1b447a9cc1b041bb97bdc698ca43d07673dfa
4
- data.tar.gz: 6e96aabaa3d9a15d7b896689cda21926d5ef26315834a297ab4f0da3a18a74e8
3
+ metadata.gz: 794fe6667711037ae5aa70e700e9f82ba7a7efd1111b779238fe9def933b14d5
4
+ data.tar.gz: b80e94ecd592725f9475e88fd7f46018e6f6d5f81fb81dc1a1667ea168593a6b
5
5
  SHA512:
6
- metadata.gz: 22cd0f04b8a991583b40aa4ea97daf1c5f145594cfda575d15faf5226fe28f1e2a9e920a30d6760cbbd45c239c42d1f6e5a12711db619415db1fd1dbd06d70c1
7
- data.tar.gz: e8e8683a44914295c04bf1459cd3bc045056ea74486d5693e3249e966a905deb6941d4e5d583c9c528e3392d796263c7b0be1f731dcc0f0b2d09da1b458ccb0f
6
+ metadata.gz: b2ba51cc9f3658e8fcb2d013801247939cc70baeb5f7e49d973f7f3e06e0e4221664ad16f40b3a6ecab29c41643cef5366f5d4bec56ae8749f8a6a07a4f74d5a
7
+ data.tar.gz: e2aebaef3342e6876cd6e3a6f66614fb6724049dbfc6eadb030e4bafc6688cb72974cfce5edc86343a68fa067164166474cb9a3636f6ae1401d4d8f170b24a10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.76.0 (2026-05-17)
4
+
5
+ * Regenerated from discovery document revision 20260505
6
+
3
7
  ### v0.75.0 (2026-05-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20260423
@@ -44,6 +44,11 @@ module Google
44
44
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::Finding>]
45
45
  attr_accessor :findings
46
46
 
47
+ # Maximum severity found among findings.
48
+ # Corresponds to the JSON property `maxSeverity`
49
+ # @return [String]
50
+ attr_accessor :max_severity
51
+
47
52
  # Name of the skill that produced this analysis.
48
53
  # Corresponds to the JSON property `skillName`
49
54
  # @return [String]
@@ -56,6 +61,7 @@ module Google
56
61
  # Update properties of this object
57
62
  def update!(**args)
58
63
  @findings = args[:findings] if args.key?(:findings)
64
+ @max_severity = args[:max_severity] if args.key?(:max_severity)
59
65
  @skill_name = args[:skill_name] if args.key?(:skill_name)
60
66
  end
61
67
  end
@@ -4370,35 +4376,47 @@ module Google
4370
4376
  # @return [String]
4371
4377
  attr_accessor :category
4372
4378
 
4373
- # Detailed description of the finding.
4374
- # Corresponds to the JSON property `description`
4375
- # @return [String]
4376
- attr_accessor :description
4377
-
4378
- # Path to the file where the finding was detected.
4379
- # Corresponds to the JSON property `filePath`
4380
- # @return [String]
4381
- attr_accessor :file_path
4379
+ # Location details with file path and line number.
4380
+ # Corresponds to the JSON property `location`
4381
+ # @return [Google::Apis::ContaineranalysisV1beta1::FindingLocation]
4382
+ attr_accessor :location
4382
4383
 
4383
- # Unique identifier of the rule that produced this finding.
4384
- # Corresponds to the JSON property `ruleId`
4384
+ # Scanner determines which engine (e.g. static, llm) emitted the finding.
4385
+ # Corresponds to the JSON property `scanner`
4385
4386
  # @return [String]
4386
- attr_accessor :rule_id
4387
+ attr_accessor :scanner
4387
4388
 
4388
4389
  # Severity of the finding.
4389
4390
  # Corresponds to the JSON property `severity`
4390
4391
  # @return [String]
4391
4392
  attr_accessor :severity
4392
4393
 
4393
- # Code snippet relevant to the finding.
4394
- # Corresponds to the JSON property `snippet`
4395
- # @return [String]
4396
- attr_accessor :snippet
4394
+ def initialize(**args)
4395
+ update!(**args)
4396
+ end
4397
4397
 
4398
- # Title of the finding.
4399
- # Corresponds to the JSON property `title`
4398
+ # Update properties of this object
4399
+ def update!(**args)
4400
+ @category = args[:category] if args.key?(:category)
4401
+ @location = args[:location] if args.key?(:location)
4402
+ @scanner = args[:scanner] if args.key?(:scanner)
4403
+ @severity = args[:severity] if args.key?(:severity)
4404
+ end
4405
+ end
4406
+
4407
+ # Location details with file path and line number.
4408
+ class FindingLocation
4409
+ include Google::Apis::Core::Hashable
4410
+
4411
+ # Relative path of the file containing the finding.
4412
+ # Corresponds to the JSON property `filePath`
4400
4413
  # @return [String]
4401
- attr_accessor :title
4414
+ attr_accessor :file_path
4415
+
4416
+ # Line number (1-based), or 0 if whole File / unknown.
4417
+ # Corresponds to the JSON property `lineNumber`
4418
+ # @return [Fixnum]
4419
+ attr_accessor :line_number
4402
4420
 
4403
4421
  def initialize(**args)
4404
4422
  update!(**args)
@@ -4406,13 +4424,8 @@ module Google
4406
4424
 
4407
4425
  # Update properties of this object
4408
4426
  def update!(**args)
4409
- @category = args[:category] if args.key?(:category)
4410
- @description = args[:description] if args.key?(:description)
4411
4427
  @file_path = args[:file_path] if args.key?(:file_path)
4412
- @rule_id = args[:rule_id] if args.key?(:rule_id)
4413
- @severity = args[:severity] if args.key?(:severity)
4414
- @snippet = args[:snippet] if args.key?(:snippet)
4415
- @title = args[:title] if args.key?(:title)
4428
+ @line_number = args[:line_number] if args.key?(:line_number)
4416
4429
  end
4417
4430
  end
4418
4431
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.75.0"
19
+ GEM_VERSION = "0.76.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 = "20260423"
25
+ REVISION = "20260505"
26
26
  end
27
27
  end
28
28
  end
@@ -622,6 +622,12 @@ module Google
622
622
  include Google::Apis::Core::JsonObjectSupport
623
623
  end
624
624
 
625
+ class FindingLocation
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
625
631
  class Fingerprint
626
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
633
 
@@ -1131,6 +1137,7 @@ module Google
1131
1137
  class Representation < Google::Apis::Core::JsonRepresentation
1132
1138
  collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1beta1::Finding, decorator: Google::Apis::ContaineranalysisV1beta1::Finding::Representation
1133
1139
 
1140
+ property :max_severity, as: 'maxSeverity'
1134
1141
  property :skill_name, as: 'skillName'
1135
1142
  end
1136
1143
  end
@@ -2241,12 +2248,18 @@ module Google
2241
2248
  # @private
2242
2249
  class Representation < Google::Apis::Core::JsonRepresentation
2243
2250
  property :category, as: 'category'
2244
- property :description, as: 'description'
2245
- property :file_path, as: 'filePath'
2246
- property :rule_id, as: 'ruleId'
2251
+ property :location, as: 'location', class: Google::Apis::ContaineranalysisV1beta1::FindingLocation, decorator: Google::Apis::ContaineranalysisV1beta1::FindingLocation::Representation
2252
+
2253
+ property :scanner, as: 'scanner'
2247
2254
  property :severity, as: 'severity'
2248
- property :snippet, as: 'snippet'
2249
- property :title, as: 'title'
2255
+ end
2256
+ end
2257
+
2258
+ class FindingLocation
2259
+ # @private
2260
+ class Representation < Google::Apis::Core::JsonRepresentation
2261
+ property :file_path, as: 'filePath'
2262
+ property :line_number, :numeric_string => true, as: 'lineNumber'
2250
2263
  end
2251
2264
  end
2252
2265
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.76.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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.76.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: