Skip to content

Commit 4647d45

Browse files
feat: Automated regeneration of containeranalysis v1alpha1 client (googleapis#24092)
Auto-created at 2025-08-24 10:59:13 +0000 using the toys pull request generator.
1 parent 65ca7cd commit 4647d45

File tree

5 files changed

+151
-3
lines changed

5 files changed

+151
-3
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134157,6 +134157,7 @@
134157134157
"/containeranalysis:v1alpha1/BuildStep/id": id
134158134158
"/containeranalysis:v1alpha1/BuildStep/name": name
134159134159
"/containeranalysis:v1alpha1/BuildStep/pullTiming": pull_timing
134160+
"/containeranalysis:v1alpha1/BuildStep/remoteConfig": remote_config
134160134161
"/containeranalysis:v1alpha1/BuildStep/results": results
134161134162
"/containeranalysis:v1alpha1/BuildStep/results/result": result
134162134163
"/containeranalysis:v1alpha1/BuildStep/script": script
@@ -134174,6 +134175,8 @@
134174134175
"/containeranalysis:v1alpha1/BuildType/signature": signature
134175134176
"/containeranalysis:v1alpha1/BuilderConfig": builder_config
134176134177
"/containeranalysis:v1alpha1/BuilderConfig/id": id
134178+
"/containeranalysis:v1alpha1/CISAKnownExploitedVulnerabilities": cisa_known_exploited_vulnerabilities
134179+
"/containeranalysis:v1alpha1/CISAKnownExploitedVulnerabilities/knownRansomwareCampaignUse": known_ransomware_campaign_use
134177134180
"/containeranalysis:v1alpha1/CVSS": cvss
134178134181
"/containeranalysis:v1alpha1/CVSS/attackComplexity": attack_complexity
134179134182
"/containeranalysis:v1alpha1/CVSS/attackVector": attack_vector
@@ -134597,6 +134600,9 @@
134597134600
"/containeranalysis:v1alpha1/EnvelopeSignature": envelope_signature
134598134601
"/containeranalysis:v1alpha1/EnvelopeSignature/keyid": keyid
134599134602
"/containeranalysis:v1alpha1/EnvelopeSignature/sig": sig
134603+
"/containeranalysis:v1alpha1/ExploitPredictionScoringSystem": exploit_prediction_scoring_system
134604+
"/containeranalysis:v1alpha1/ExploitPredictionScoringSystem/percentile": percentile
134605+
"/containeranalysis:v1alpha1/ExploitPredictionScoringSystem/score": score
134600134606
"/containeranalysis:v1alpha1/Expr": expr
134601134607
"/containeranalysis:v1alpha1/Expr/description": description
134602134608
"/containeranalysis:v1alpha1/Expr/expression": expression
@@ -134999,6 +135005,9 @@
134999135005
"/containeranalysis:v1alpha1/ResourceDescriptor/mediaType": media_type
135000135006
"/containeranalysis:v1alpha1/ResourceDescriptor/name": name
135001135007
"/containeranalysis:v1alpha1/ResourceDescriptor/uri": uri
135008+
"/containeranalysis:v1alpha1/Risk": risk
135009+
"/containeranalysis:v1alpha1/Risk/cisaKev": cisa_kev
135010+
"/containeranalysis:v1alpha1/Risk/epss": epss
135002135011
"/containeranalysis:v1alpha1/RunDetails": run_details
135003135012
"/containeranalysis:v1alpha1/RunDetails/builder": builder
135004135013
"/containeranalysis:v1alpha1/RunDetails/byproducts": byproducts
@@ -135194,6 +135203,7 @@
135194135203
"/containeranalysis:v1alpha1/VulnerabilityDetails/extraDetails": extra_details
135195135204
"/containeranalysis:v1alpha1/VulnerabilityDetails/packageIssue": package_issue
135196135205
"/containeranalysis:v1alpha1/VulnerabilityDetails/packageIssue/package_issue": package_issue
135206+
"/containeranalysis:v1alpha1/VulnerabilityDetails/risk": risk
135197135207
"/containeranalysis:v1alpha1/VulnerabilityDetails/severity": severity
135198135208
"/containeranalysis:v1alpha1/VulnerabilityDetails/type": type
135199135209
"/containeranalysis:v1alpha1/VulnerabilityDetails/vexAssessment": vex_assessment

generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-containeranalysis_v1alpha1
22

3+
### v0.74.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250813
6+
37
### v0.73.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250704

generated/google-apis-containeranalysis_v1alpha1/lib/google/apis/containeranalysis_v1alpha1/classes.rb

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def update!(**args)
679679
end
680680
end
681681

682-
# A step in the build pipeline. Next ID: 22
682+
# A step in the build pipeline. Next ID: 23
683683
class BuildStep
684684
include Google::Apis::Core::Hashable
685685

@@ -770,6 +770,11 @@ class BuildStep
770770
# @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
771771
attr_accessor :pull_timing
772772

773+
# Remote configuration for the build step.
774+
# Corresponds to the JSON property `remoteConfig`
775+
# @return [String]
776+
attr_accessor :remote_config
777+
773778
#
774779
# Corresponds to the JSON property `results`
775780
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::StepResult>]
@@ -841,6 +846,7 @@ def update!(**args)
841846
@id = args[:id] if args.key?(:id)
842847
@name = args[:name] if args.key?(:name)
843848
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
849+
@remote_config = args[:remote_config] if args.key?(:remote_config)
844850
@results = args[:results] if args.key?(:results)
845851
@script = args[:script] if args.key?(:script)
846852
@secret_env = args[:secret_env] if args.key?(:secret_env)
@@ -897,6 +903,27 @@ def update!(**args)
897903
end
898904
end
899905

906+
# CISAKnownExploitedVulnerabilities provides information about whether the
907+
# vulnerability is known to have been leveraged as part of a ransomware campaign.
908+
class CisaKnownExploitedVulnerabilities
909+
include Google::Apis::Core::Hashable
910+
911+
# Optional. Whether the vulnerability is known to have been leveraged as part of
912+
# a ransomware campaign.
913+
# Corresponds to the JSON property `knownRansomwareCampaignUse`
914+
# @return [String]
915+
attr_accessor :known_ransomware_campaign_use
916+
917+
def initialize(**args)
918+
update!(**args)
919+
end
920+
921+
# Update properties of this object
922+
def update!(**args)
923+
@known_ransomware_campaign_use = args[:known_ransomware_campaign_use] if args.key?(:known_ransomware_campaign_use)
924+
end
925+
end
926+
900927
# Common Vulnerability Scoring System. This message is compatible with CVSS v2
901928
# and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2
902929
# calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3
@@ -3871,6 +3898,34 @@ def update!(**args)
38713898
end
38723899
end
38733900

3901+
# ExploitPredictionScoringSystem provides information about the Exploit
3902+
# Prediction Scoring System (EPSS) score and percentile.
3903+
class ExploitPredictionScoringSystem
3904+
include Google::Apis::Core::Hashable
3905+
3906+
# Optional. The percentile of the current score, the proportion of all scored
3907+
# vulnerabilities with the same or a lower EPSS score
3908+
# Corresponds to the JSON property `percentile`
3909+
# @return [Float]
3910+
attr_accessor :percentile
3911+
3912+
# Optional. The EPSS score representing the probability [0-1] of exploitation in
3913+
# the wild in the next 30 days
3914+
# Corresponds to the JSON property `score`
3915+
# @return [Float]
3916+
attr_accessor :score
3917+
3918+
def initialize(**args)
3919+
update!(**args)
3920+
end
3921+
3922+
# Update properties of this object
3923+
def update!(**args)
3924+
@percentile = args[:percentile] if args.key?(:percentile)
3925+
@score = args[:score] if args.key?(:score)
3926+
end
3927+
end
3928+
38743929
# Represents a textual expression in the Common Expression Language (CEL) syntax.
38753930
# CEL is a C-like expression language. The syntax and semantics of CEL are
38763931
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -6630,6 +6685,33 @@ def update!(**args)
66306685
end
66316686
end
66326687

6688+
# The Risk message provides information about the risk of a vulnerability.
6689+
class Risk
6690+
include Google::Apis::Core::Hashable
6691+
6692+
# CISAKnownExploitedVulnerabilities provides information about whether the
6693+
# vulnerability is known to have been leveraged as part of a ransomware campaign.
6694+
# Corresponds to the JSON property `cisaKev`
6695+
# @return [Google::Apis::ContaineranalysisV1alpha1::CisaKnownExploitedVulnerabilities]
6696+
attr_accessor :cisa_kev
6697+
6698+
# ExploitPredictionScoringSystem provides information about the Exploit
6699+
# Prediction Scoring System (EPSS) score and percentile.
6700+
# Corresponds to the JSON property `epss`
6701+
# @return [Google::Apis::ContaineranalysisV1alpha1::ExploitPredictionScoringSystem]
6702+
attr_accessor :epss
6703+
6704+
def initialize(**args)
6705+
update!(**args)
6706+
end
6707+
6708+
# Update properties of this object
6709+
def update!(**args)
6710+
@cisa_kev = args[:cisa_kev] if args.key?(:cisa_kev)
6711+
@epss = args[:epss] if args.key?(:epss)
6712+
end
6713+
end
6714+
66336715
#
66346716
class RunDetails
66356717
include Google::Apis::Core::Hashable
@@ -8039,6 +8121,11 @@ class VulnerabilityDetails
80398121
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::PackageIssue>]
80408122
attr_accessor :package_issue
80418123

8124+
# The Risk message provides information about the risk of a vulnerability.
8125+
# Corresponds to the JSON property `risk`
8126+
# @return [Google::Apis::ContaineranalysisV1alpha1::Risk]
8127+
attr_accessor :risk
8128+
80428129
# Output only. The note provider assigned Severity of the vulnerability.
80438130
# Corresponds to the JSON property `severity`
80448131
# @return [String]
@@ -8070,6 +8157,7 @@ def update!(**args)
80708157
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
80718158
@extra_details = args[:extra_details] if args.key?(:extra_details)
80728159
@package_issue = args[:package_issue] if args.key?(:package_issue)
8160+
@risk = args[:risk] if args.key?(:risk)
80738161
@severity = args[:severity] if args.key?(:severity)
80748162
@type = args[:type] if args.key?(:type)
80758163
@vex_assessment = args[:vex_assessment] if args.key?(:vex_assessment)

generated/google-apis-containeranalysis_v1alpha1/lib/google/apis/containeranalysis_v1alpha1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContaineranalysisV1alpha1
1818
# Version of the google-apis-containeranalysis_v1alpha1 gem
19-
GEM_VERSION = "0.73.0"
19+
GEM_VERSION = "0.74.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250704"
25+
REVISION = "20250813"
2626
end
2727
end
2828
end

generated/google-apis-containeranalysis_v1alpha1/lib/google/apis/containeranalysis_v1alpha1/representations.rb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
124124
include Google::Apis::Core::JsonObjectSupport
125125
end
126126

127+
class CisaKnownExploitedVulnerabilities
128+
class Representation < Google::Apis::Core::JsonRepresentation; end
129+
130+
include Google::Apis::Core::JsonObjectSupport
131+
end
132+
127133
class Cvss
128134
class Representation < Google::Apis::Core::JsonRepresentation; end
129135

@@ -520,6 +526,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
520526
include Google::Apis::Core::JsonObjectSupport
521527
end
522528

529+
class ExploitPredictionScoringSystem
530+
class Representation < Google::Apis::Core::JsonRepresentation; end
531+
532+
include Google::Apis::Core::JsonObjectSupport
533+
end
534+
523535
class Expr
524536
class Representation < Google::Apis::Core::JsonRepresentation; end
525537

@@ -898,6 +910,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
898910
include Google::Apis::Core::JsonObjectSupport
899911
end
900912

913+
class Risk
914+
class Representation < Google::Apis::Core::JsonRepresentation; end
915+
916+
include Google::Apis::Core::JsonObjectSupport
917+
end
918+
901919
class RunDetails
902920
class Representation < Google::Apis::Core::JsonRepresentation; end
903921

@@ -1312,6 +1330,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13121330
property :name, as: 'name'
13131331
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
13141332

1333+
property :remote_config, as: 'remoteConfig'
13151334
collection :results, as: 'results', class: Google::Apis::ContaineranalysisV1alpha1::StepResult, decorator: Google::Apis::ContaineranalysisV1alpha1::StepResult::Representation
13161335

13171336
property :script, as: 'script'
@@ -1342,6 +1361,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
13421361
end
13431362
end
13441363

1364+
class CisaKnownExploitedVulnerabilities
1365+
# @private
1366+
class Representation < Google::Apis::Core::JsonRepresentation
1367+
property :known_ransomware_campaign_use, as: 'knownRansomwareCampaignUse'
1368+
end
1369+
end
1370+
13451371
class Cvss
13461372
# @private
13471373
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2114,6 +2140,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
21142140
end
21152141
end
21162142

2143+
class ExploitPredictionScoringSystem
2144+
# @private
2145+
class Representation < Google::Apis::Core::JsonRepresentation
2146+
property :percentile, as: 'percentile'
2147+
property :score, as: 'score'
2148+
end
2149+
end
2150+
21172151
class Expr
21182152
# @private
21192153
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2843,6 +2877,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
28432877
end
28442878
end
28452879

2880+
class Risk
2881+
# @private
2882+
class Representation < Google::Apis::Core::JsonRepresentation
2883+
property :cisa_kev, as: 'cisaKev', class: Google::Apis::ContaineranalysisV1alpha1::CisaKnownExploitedVulnerabilities, decorator: Google::Apis::ContaineranalysisV1alpha1::CisaKnownExploitedVulnerabilities::Representation
2884+
2885+
property :epss, as: 'epss', class: Google::Apis::ContaineranalysisV1alpha1::ExploitPredictionScoringSystem, decorator: Google::Apis::ContaineranalysisV1alpha1::ExploitPredictionScoringSystem::Representation
2886+
2887+
end
2888+
end
2889+
28462890
class RunDetails
28472891
# @private
28482892
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3242,6 +3286,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
32423286
property :extra_details, as: 'extraDetails'
32433287
collection :package_issue, as: 'packageIssue', class: Google::Apis::ContaineranalysisV1alpha1::PackageIssue, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageIssue::Representation
32443288

3289+
property :risk, as: 'risk', class: Google::Apis::ContaineranalysisV1alpha1::Risk, decorator: Google::Apis::ContaineranalysisV1alpha1::Risk::Representation
3290+
32453291
property :severity, as: 'severity'
32463292
property :type, as: 'type'
32473293
property :vex_assessment, as: 'vexAssessment', class: Google::Apis::ContaineranalysisV1alpha1::VexAssessment, decorator: Google::Apis::ContaineranalysisV1alpha1::VexAssessment::Representation

0 commit comments

Comments
 (0)