Skip to content

Commit 72f89e3

Browse files
feat: Automated regeneration of ondemandscanning v1 client (#27218)
Auto-created at 2026-07-05 10:04:12 +0000 using the toys pull request generator.
1 parent 183a75f commit 72f89e3

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
@@ -341969,6 +341969,7 @@
341969341969
"/ondemandscanning:v1/CVSS/availabilityImpact": availability_impact
341970341970
"/ondemandscanning:v1/CVSS/baseScore": base_score
341971341971
"/ondemandscanning:v1/CVSS/confidentialityImpact": confidentiality_impact
341972+
"/ondemandscanning:v1/CVSS/exploitMaturity": exploit_maturity
341972341973
"/ondemandscanning:v1/CVSS/exploitabilityScore": exploitability_score
341973341974
"/ondemandscanning:v1/CVSS/impactScore": impact_score
341974341975
"/ondemandscanning:v1/CVSS/integrityImpact": integrity_impact
@@ -342192,6 +342193,10 @@
342192342193
"/ondemandscanning:v1/InTotoStatement/subject": subject
342193342194
"/ondemandscanning:v1/InTotoStatement/subject/subject": subject
342194342195
"/ondemandscanning:v1/InTotoStatement/type": type
342196+
"/ondemandscanning:v1/IngestionSource": ingestion_source
342197+
"/ondemandscanning:v1/IngestionSource/attachmentUri": attachment_uri
342198+
"/ondemandscanning:v1/IngestionSource/resourceUrl": resource_url
342199+
"/ondemandscanning:v1/IngestionSource/source": source
342195342200
"/ondemandscanning:v1/Justification": justification
342196342201
"/ondemandscanning:v1/Justification/details": details
342197342202
"/ondemandscanning:v1/Justification/justificationType": justification_type
@@ -342289,6 +342294,8 @@
342289342294
"/ondemandscanning:v1/PackageData/fileLocation": file_location
342290342295
"/ondemandscanning:v1/PackageData/fileLocation/file_location": file_location
342291342296
"/ondemandscanning:v1/PackageData/hashDigest": hash_digest
342297+
"/ondemandscanning:v1/PackageData/ingestionSources": ingestion_sources
342298+
"/ondemandscanning:v1/PackageData/ingestionSources/ingestion_source": ingestion_source
342292342299
"/ondemandscanning:v1/PackageData/layerDetails": layer_details
342293342300
"/ondemandscanning:v1/PackageData/licenses": licenses
342294342301
"/ondemandscanning:v1/PackageData/licenses/license": license

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

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

59
* Regenerated from discovery document revision 20260601

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,11 @@ class Cvss
676676
# @return [String]
677677
attr_accessor :confidentiality_impact
678678

679+
# Exploit Maturity (E). Defined in CVSS v4.
680+
# Corresponds to the JSON property `exploitMaturity`
681+
# @return [String]
682+
attr_accessor :exploit_maturity
683+
679684
#
680685
# Corresponds to the JSON property `exploitabilityScore`
681686
# @return [Float]
@@ -749,6 +754,7 @@ def update!(**args)
749754
@availability_impact = args[:availability_impact] if args.key?(:availability_impact)
750755
@base_score = args[:base_score] if args.key?(:base_score)
751756
@confidentiality_impact = args[:confidentiality_impact] if args.key?(:confidentiality_impact)
757+
@exploit_maturity = args[:exploit_maturity] if args.key?(:exploit_maturity)
752758
@exploitability_score = args[:exploitability_score] if args.key?(:exploitability_score)
753759
@impact_score = args[:impact_score] if args.key?(:impact_score)
754760
@integrity_impact = args[:integrity_impact] if args.key?(:integrity_impact)
@@ -2027,6 +2033,37 @@ def update!(**args)
20272033
end
20282034
end
20292035

2036+
# Indicates where an extracted package originates from.
2037+
class IngestionSource
2038+
include Google::Apis::Core::Hashable
2039+
2040+
# The attachment URI that this package was extracted from.
2041+
# Corresponds to the JSON property `attachmentUri`
2042+
# @return [String]
2043+
attr_accessor :attachment_uri
2044+
2045+
# The resource URL of the resource that was scanned to find this package.
2046+
# Corresponds to the JSON property `resourceUrl`
2047+
# @return [String]
2048+
attr_accessor :resource_url
2049+
2050+
#
2051+
# Corresponds to the JSON property `source`
2052+
# @return [String]
2053+
attr_accessor :source
2054+
2055+
def initialize(**args)
2056+
update!(**args)
2057+
end
2058+
2059+
# Update properties of this object
2060+
def update!(**args)
2061+
@attachment_uri = args[:attachment_uri] if args.key?(:attachment_uri)
2062+
@resource_url = args[:resource_url] if args.key?(:resource_url)
2063+
@source = args[:source] if args.key?(:source)
2064+
end
2065+
end
2066+
20302067
# Justification provides the justification when the state of the assessment if
20312068
# NOT_AFFECTED.
20322069
class Justification
@@ -2709,6 +2746,12 @@ class PackageData
27092746
# @return [String]
27102747
attr_accessor :hash_digest
27112748

2749+
# The list of sources that were scanned to find this package. This can be a
2750+
# Docker image, an SBOM attachment, or both, for example.
2751+
# Corresponds to the JSON property `ingestionSources`
2752+
# @return [Array<Google::Apis::OndemandscanningV1::IngestionSource>]
2753+
attr_accessor :ingestion_sources
2754+
27122755
# Details about the layer a package was found in.
27132756
# Corresponds to the JSON property `layerDetails`
27142757
# @return [Google::Apis::OndemandscanningV1::LayerDetails]
@@ -2782,6 +2825,7 @@ def update!(**args)
27822825
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
27832826
@file_location = args[:file_location] if args.key?(:file_location)
27842827
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2828+
@ingestion_sources = args[:ingestion_sources] if args.key?(:ingestion_sources)
27852829
@layer_details = args[:layer_details] if args.key?(:layer_details)
27862830
@licenses = args[:licenses] if args.key?(:licenses)
27872831
@maintainer = args[:maintainer] if args.key?(:maintainer)

generated/google-apis-ondemandscanning_v1/lib/google/apis/ondemandscanning_v1/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 OndemandscanningV1
1818
# Version of the google-apis-ondemandscanning_v1 gem
19-
GEM_VERSION = "0.67.0"
19+
GEM_VERSION = "0.68.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_v1/lib/google/apis/ondemandscanning_v1/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

@@ -856,6 +862,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
856862
property :availability_impact, as: 'availabilityImpact'
857863
property :base_score, as: 'baseScore'
858864
property :confidentiality_impact, as: 'confidentialityImpact'
865+
property :exploit_maturity, as: 'exploitMaturity'
859866
property :exploitability_score, as: 'exploitabilityScore'
860867
property :impact_score, as: 'impactScore'
861868
property :integrity_impact, as: 'integrityImpact'
@@ -1238,6 +1245,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
12381245
end
12391246
end
12401247

1248+
class IngestionSource
1249+
# @private
1250+
class Representation < Google::Apis::Core::JsonRepresentation
1251+
property :attachment_uri, as: 'attachmentUri'
1252+
property :resource_url, as: 'resourceUrl'
1253+
property :source, as: 'source'
1254+
end
1255+
end
1256+
12411257
class Justification
12421258
# @private
12431259
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1425,6 +1441,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
14251441
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
14261442

14271443
property :hash_digest, as: 'hashDigest'
1444+
collection :ingestion_sources, as: 'ingestionSources', class: Google::Apis::OndemandscanningV1::IngestionSource, decorator: Google::Apis::OndemandscanningV1::IngestionSource::Representation
1445+
14281446
property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1::LayerDetails, decorator: Google::Apis::OndemandscanningV1::LayerDetails::Representation
14291447

14301448
collection :licenses, as: 'licenses'

0 commit comments

Comments
 (0)