Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151310,6 +151310,7 @@
"/containeranalysis:v1/AISkillAnalysisOccurrence": ai_skill_analysis_occurrence
"/containeranalysis:v1/AISkillAnalysisOccurrence/findings": findings
"/containeranalysis:v1/AISkillAnalysisOccurrence/findings/finding": finding
"/containeranalysis:v1/AISkillAnalysisOccurrence/maxSeverity": max_severity
"/containeranalysis:v1/AISkillAnalysisOccurrence/skillName": skill_name
"/containeranalysis:v1/AliasContext": alias_context
"/containeranalysis:v1/AliasContext/kind": kind
Expand Down Expand Up @@ -151923,10 +151924,15 @@
"/containeranalysis:v1/Finding/category": category
"/containeranalysis:v1/Finding/description": description
"/containeranalysis:v1/Finding/filePath": file_path
"/containeranalysis:v1/Finding/location": location
"/containeranalysis:v1/Finding/ruleId": rule_id
"/containeranalysis:v1/Finding/scanner": scanner
"/containeranalysis:v1/Finding/severity": severity
"/containeranalysis:v1/Finding/snippet": snippet
"/containeranalysis:v1/Finding/title": title
"/containeranalysis:v1/FindingLocation": finding_location
"/containeranalysis:v1/FindingLocation/filePath": file_path
"/containeranalysis:v1/FindingLocation/lineNumber": line_number
"/containeranalysis:v1/Fingerprint": fingerprint
"/containeranalysis:v1/Fingerprint/v1Name": v1_name
"/containeranalysis:v1/Fingerprint/v2Blob": v2_blob
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-containeranalysis_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-containeranalysis_v1

### v0.74.0 (2026-05-17)

* Regenerated from discovery document revision 20260505

### v0.73.0 (2026-05-03)

* Regenerated from discovery document revision 20260423
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ class AiSkillAnalysisOccurrence
# @return [Array<Google::Apis::ContaineranalysisV1::Finding>]
attr_accessor :findings

# Maximum severity found among findings.
# Corresponds to the JSON property `maxSeverity`
# @return [String]
attr_accessor :max_severity

# Name of the skill that produced this analysis.
# Corresponds to the JSON property `skillName`
# @return [String]
Expand All @@ -56,6 +61,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@findings = args[:findings] if args.key?(:findings)
@max_severity = args[:max_severity] if args.key?(:max_severity)
@skill_name = args[:skill_name] if args.key?(:skill_name)
end
end
Expand Down Expand Up @@ -4374,49 +4380,56 @@ class Finding
# @return [String]
attr_accessor :category

# Detailed description of the finding.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description

# Path to the file where the finding was detected.
# Corresponds to the JSON property `filePath`
# @return [String]
attr_accessor :file_path
# Location details with file path and line number.
# Corresponds to the JSON property `location`
# @return [Google::Apis::ContaineranalysisV1::FindingLocation]
attr_accessor :location

# Unique identifier of the rule that produced this finding.
# Corresponds to the JSON property `ruleId`
# Scanner determines which engine (e.g. static, llm) emitted the finding.
# Corresponds to the JSON property `scanner`
# @return [String]
attr_accessor :rule_id
attr_accessor :scanner

# Severity of the finding.
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity

# Code snippet relevant to the finding.
# Corresponds to the JSON property `snippet`
# @return [String]
attr_accessor :snippet
def initialize(**args)
update!(**args)
end

# Title of the finding.
# Corresponds to the JSON property `title`
# Update properties of this object
def update!(**args)
@category = args[:category] if args.key?(:category)
@location = args[:location] if args.key?(:location)
@scanner = args[:scanner] if args.key?(:scanner)
@severity = args[:severity] if args.key?(:severity)
end
end

# Location details with file path and line number.
class FindingLocation
include Google::Apis::Core::Hashable

# Relative path of the file containing the finding.
# Corresponds to the JSON property `filePath`
# @return [String]
attr_accessor :title
attr_accessor :file_path

# Line number (1-based), or 0 if whole File / unknown.
# Corresponds to the JSON property `lineNumber`
# @return [Fixnum]
attr_accessor :line_number

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@category = args[:category] if args.key?(:category)
@description = args[:description] if args.key?(:description)
@file_path = args[:file_path] if args.key?(:file_path)
@rule_id = args[:rule_id] if args.key?(:rule_id)
@severity = args[:severity] if args.key?(:severity)
@snippet = args[:snippet] if args.key?(:snippet)
@title = args[:title] if args.key?(:title)
@line_number = args[:line_number] if args.key?(:line_number)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ContaineranalysisV1
# Version of the google-apis-containeranalysis_v1 gem
GEM_VERSION = "0.73.0"
GEM_VERSION = "0.74.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20260423"
REVISION = "20260505"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class FindingLocation
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class Fingerprint
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1179,6 +1185,7 @@ class AiSkillAnalysisOccurrence
class Representation < Google::Apis::Core::JsonRepresentation
collection :findings, as: 'findings', class: Google::Apis::ContaineranalysisV1::Finding, decorator: Google::Apis::ContaineranalysisV1::Finding::Representation

property :max_severity, as: 'maxSeverity'
property :skill_name, as: 'skillName'
end
end
Expand Down Expand Up @@ -2301,12 +2308,18 @@ class Finding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :category, as: 'category'
property :description, as: 'description'
property :file_path, as: 'filePath'
property :rule_id, as: 'ruleId'
property :location, as: 'location', class: Google::Apis::ContaineranalysisV1::FindingLocation, decorator: Google::Apis::ContaineranalysisV1::FindingLocation::Representation

property :scanner, as: 'scanner'
property :severity, as: 'severity'
property :snippet, as: 'snippet'
property :title, as: 'title'
end
end

class FindingLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file_path, as: 'filePath'
property :line_number, :numeric_string => true, as: 'lineNumber'
end
end

Expand Down
Loading