Skip to content

Commit 29c444f

Browse files
feat: Automated regeneration of ondemandscanning v1beta1 client (#27252)
Auto-created at 2026-07-05 11:24:39 +0000 using the toys pull request generator.
1 parent e057760 commit 29c444f

5 files changed

Lines changed: 75 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342886,6 +342886,7 @@
342886342886
"/ondemandscanning:v1beta1/CVSS/availabilityImpact": availability_impact
342887342887
"/ondemandscanning:v1beta1/CVSS/baseScore": base_score
342888342888
"/ondemandscanning:v1beta1/CVSS/confidentialityImpact": confidentiality_impact
342889+
"/ondemandscanning:v1beta1/CVSS/exploitMaturity": exploit_maturity
342889342890
"/ondemandscanning:v1beta1/CVSS/exploitabilityScore": exploitability_score
342890342891
"/ondemandscanning:v1beta1/CVSS/impactScore": impact_score
342891342892
"/ondemandscanning:v1beta1/CVSS/integrityImpact": integrity_impact
@@ -343109,6 +343110,10 @@
343109343110
"/ondemandscanning:v1beta1/InTotoStatement/subject": subject
343110343111
"/ondemandscanning:v1beta1/InTotoStatement/subject/subject": subject
343111343112
"/ondemandscanning:v1beta1/InTotoStatement/type": type
343113+
"/ondemandscanning:v1beta1/IngestionSource": ingestion_source
343114+
"/ondemandscanning:v1beta1/IngestionSource/attachmentUri": attachment_uri
343115+
"/ondemandscanning:v1beta1/IngestionSource/resourceUrl": resource_url
343116+
"/ondemandscanning:v1beta1/IngestionSource/source": source
343112343117
"/ondemandscanning:v1beta1/Justification": justification
343113343118
"/ondemandscanning:v1beta1/Justification/details": details
343114343119
"/ondemandscanning:v1beta1/Justification/justificationType": justification_type
@@ -343206,6 +343211,8 @@
343206343211
"/ondemandscanning:v1beta1/PackageData/fileLocation": file_location
343207343212
"/ondemandscanning:v1beta1/PackageData/fileLocation/file_location": file_location
343208343213
"/ondemandscanning:v1beta1/PackageData/hashDigest": hash_digest
343214+
"/ondemandscanning:v1beta1/PackageData/ingestionSources": ingestion_sources
343215+
"/ondemandscanning:v1beta1/PackageData/ingestionSources/ingestion_source": ingestion_source
343209343216
"/ondemandscanning:v1beta1/PackageData/layerDetails": layer_details
343210343217
"/ondemandscanning:v1beta1/PackageData/licenses": licenses
343211343218
"/ondemandscanning:v1beta1/PackageData/licenses/license": license

generated/google-apis-ondemandscanning_v1beta1/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-ondemandscanning_v1beta1
22

3+
### v0.67.0 (2026-07-05)
4+
5+
* Regenerated from discovery document revision 20260622
6+
37
### v0.66.0 (2026-06-14)
48

59
* Regenerated from discovery document revision 20260601

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,11 @@ class Cvss
668668
# @return [String]
669669
attr_accessor :confidentiality_impact
670670

671+
# Exploit Maturity (E). Defined in CVSS v4.
672+
# Corresponds to the JSON property `exploitMaturity`
673+
# @return [String]
674+
attr_accessor :exploit_maturity
675+
671676
#
672677
# Corresponds to the JSON property `exploitabilityScore`
673678
# @return [Float]
@@ -741,6 +746,7 @@ def update!(**args)
741746
@availability_impact = args[:availability_impact] if args.key?(:availability_impact)
742747
@base_score = args[:base_score] if args.key?(:base_score)
743748
@confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
749+
@exploit_maturity = args[:exploit_maturity] if args.key?(:exploit_maturity)
744750
@exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
745751
@impact_score = args[:impact_score] if args.key?(:impact_score)
746752
@integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
@@ -2019,6 +2025,37 @@ def update!(**args)
20192025
end
20202026
end
20212027

2028+
# Indicates where an extracted package originates from.
2029+
class IngestionSource
2030+
include Google::Apis::Core::Hashable
2031+
2032+
# The attachment URI that this package was extracted from.
2033+
# Corresponds to the JSON property `attachmentUri`
2034+
# @return [String]
2035+
attr_accessor :attachment_uri
2036+
2037+
# The resource URL of the resource that was scanned to find this package.
2038+
# Corresponds to the JSON property `resourceUrl`
2039+
# @return [String]
2040+
attr_accessor :resource_url
2041+
2042+
#
2043+
# Corresponds to the JSON property `source`
2044+
# @return [String]
2045+
attr_accessor :source
2046+
2047+
def initialize(**args)
2048+
update!(**args)
2049+
end
2050+
2051+
# Update properties of this object
2052+
def update!(**args)
2053+
@attachment_uri = args[:attachment_uri] if args.key?(:attachment_uri)
2054+
@resource_url = args[:resource_url] if args.key?(:resource_url)
2055+
@source = args[:source] if args.key?(:source)
2056+
end
2057+
end
2058+
20222059
# Justification provides the justification when the state of the assessment if
20232060
# NOT_AFFECTED.
20242061
class Justification
@@ -2701,6 +2738,12 @@ class PackageData
27012738
# @return [String]
27022739
attr_accessor :hash_digest
27032740

2741+
# The list of sources that were scanned to find this package. This can be a
2742+
# Docker image, an SBOM attachment, or both, for example.
2743+
# Corresponds to the JSON property `ingestionSources`
2744+
# @return [Array<Google::Apis::OndemandscanningV1beta1::IngestionSource>]
2745+
attr_accessor :ingestion_sources
2746+
27042747
# Details about the layer a package was found in.
27052748
# Corresponds to the JSON property `layerDetails`
27062749
# @return [Google::Apis::OndemandscanningV1beta1::LayerDetails]
@@ -2774,6 +2817,7 @@ def update!(**args)
27742817
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
27752818
@file_location = args[:file_location] if args.key?(:file_location)
27762819
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2820+
@ingestion_sources = args[:ingestion_sources] if args.key?(:ingestion_sources)
27772821
@layer_details = args[:layer_details] if args.key?(:layer_details)
27782822
@licenses = args[:licenses] if args.key?(:licenses)
27792823
@maintainer = args[:maintainer] if args.key?(:maintainer)

generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/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 OndemandscanningV1beta1
1818
# Version of the google-apis-ondemandscanning_v1beta1 gem
19-
GEM_VERSION = "0.66.0"
19+
GEM_VERSION = "0.67.0"
2020

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

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

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
352352
include Google::Apis::Core::JsonObjectSupport
353353
end
354354

355+
class IngestionSource
356+
class Representation < Google::Apis::Core::JsonRepresentation; end
357+
358+
include Google::Apis::Core::JsonObjectSupport
359+
end
360+
355361
class Justification
356362
class Representation < Google::Apis::Core::JsonRepresentation; end
357363

@@ -855,6 +861,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
855861
property :availability_impact, as: 'availabilityImpact'
856862
property :base_score, as: 'baseScore'
857863
property :confidentiality_impact, as: 'confidentialityImpact'
864+
property :exploit_maturity, as: 'exploitMaturity'
858865
property :exploitability_score, as: 'exploitabilityScore'
859866
property :impact_score, as: 'impactScore'
860867
property :integrity_impact, as: 'integrityImpact'
@@ -1237,6 +1244,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
12371244
end
12381245
end
12391246

1247+
class IngestionSource
1248+
# @private
1249+
class Representation < Google::Apis::Core::JsonRepresentation
1250+
property :attachment_uri, as: 'attachmentUri'
1251+
property :resource_url, as: 'resourceUrl'
1252+
property :source, as: 'source'
1253+
end
1254+
end
1255+
12401256
class Justification
12411257
# @private
12421258
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1424,6 +1440,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
14241440
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
14251441

14261442
property :hash_digest, as: 'hashDigest'
1443+
collection :ingestion_sources, as: 'ingestionSources', class: Google::Apis::OndemandscanningV1beta1::IngestionSource, decorator: Google::Apis::OndemandscanningV1beta1::IngestionSource::Representation
1444+
14271445
property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1beta1::LayerDetails, decorator: Google::Apis::OndemandscanningV1beta1::LayerDetails::Representation
14281446

14291447
collection :licenses, as: 'licenses'

0 commit comments

Comments
 (0)