Skip to content

Commit f0e4d99

Browse files
feat: Automated regeneration of ondemandscanning v1beta1 client (#10077)
Auto-created at 2022-06-15 11:43:29 +0000 using the toys pull request generator.
1 parent 62b1c85 commit f0e4d99

File tree

5 files changed

+63
-3
lines changed

5 files changed

+63
-3
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171930,6 +171930,9 @@
171930171930
"/ondemandscanning:v1beta1/InTotoStatement/type": type
171931171931
"/ondemandscanning:v1beta1/Jwt": jwt
171932171932
"/ondemandscanning:v1beta1/Jwt/compactJwt": compact_jwt
171933+
"/ondemandscanning:v1beta1/LanguagePackageDependency": language_package_dependency
171934+
"/ondemandscanning:v1beta1/LanguagePackageDependency/package": package
171935+
"/ondemandscanning:v1beta1/LanguagePackageDependency/version": version
171933171936
"/ondemandscanning:v1beta1/Layer": layer
171934171937
"/ondemandscanning:v1beta1/Layer/arguments": arguments
171935171938
"/ondemandscanning:v1beta1/Layer/directive": directive
@@ -171991,6 +171994,8 @@
171991171994
"/ondemandscanning:v1beta1/Operation/response/response": response
171992171995
"/ondemandscanning:v1beta1/PackageData": package_data
171993171996
"/ondemandscanning:v1beta1/PackageData/cpeUri": cpe_uri
171997+
"/ondemandscanning:v1beta1/PackageData/dependencyChain": dependency_chain
171998+
"/ondemandscanning:v1beta1/PackageData/dependencyChain/dependency_chain": dependency_chain
171994171999
"/ondemandscanning:v1beta1/PackageData/fileLocation": file_location
171995172000
"/ondemandscanning:v1beta1/PackageData/fileLocation/file_location": file_location
171996172001
"/ondemandscanning:v1beta1/PackageData/hashDigest": hash_digest

generated/google-apis-ondemandscanning_v1beta1/CHANGELOG.md

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

3+
### v0.26.0 (2022-06-15)
4+
5+
* Regenerated from discovery document revision 20220612
6+
* Regenerated using generator version 0.6.0
7+
38
### v0.25.0 (2022-06-06)
49

510
* Regenerated from discovery document revision 20220530

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,32 @@ def update!(**args)
14401440
end
14411441
end
14421442

1443+
# Indicates a language package available between this package and the customer's
1444+
# resource artifact.
1445+
class LanguagePackageDependency
1446+
include Google::Apis::Core::Hashable
1447+
1448+
#
1449+
# Corresponds to the JSON property `package`
1450+
# @return [String]
1451+
attr_accessor :package
1452+
1453+
#
1454+
# Corresponds to the JSON property `version`
1455+
# @return [String]
1456+
attr_accessor :version
1457+
1458+
def initialize(**args)
1459+
update!(**args)
1460+
end
1461+
1462+
# Update properties of this object
1463+
def update!(**args)
1464+
@package = args[:package] if args.key?(:package)
1465+
@version = args[:version] if args.key?(:version)
1466+
end
1467+
end
1468+
14431469
# Layer holds metadata specific to a layer of a Docker image.
14441470
class Layer
14451471
include Google::Apis::Core::Hashable
@@ -1899,6 +1925,13 @@ class PackageData
18991925
# @return [String]
19001926
attr_accessor :cpe_uri
19011927

1928+
# The dependency chain between this package and the user's artifact. List in
1929+
# order from the customer's package under review first, to the current package
1930+
# last. Inclusive of the original package and the current package.
1931+
# Corresponds to the JSON property `dependencyChain`
1932+
# @return [Array<Google::Apis::OndemandscanningV1beta1::LanguagePackageDependency>]
1933+
attr_accessor :dependency_chain
1934+
19021935
# The path to the jar file / go binary file.
19031936
# Corresponds to the JSON property `fileLocation`
19041937
# @return [Array<Google::Apis::OndemandscanningV1beta1::FileLocation>]
@@ -1955,6 +1988,7 @@ def initialize(**args)
19551988
# Update properties of this object
19561989
def update!(**args)
19571990
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
1991+
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
19581992
@file_location = args[:file_location] if args.key?(:file_location)
19591993
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
19601994
@os = args[:os] if args.key?(:os)

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

Lines changed: 3 additions & 3 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.25.0"
19+
GEM_VERSION = "0.26.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.5.0"
22+
GENERATOR_VERSION = "0.6.0"
2323

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

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
268268
include Google::Apis::Core::JsonObjectSupport
269269
end
270270

271+
class LanguagePackageDependency
272+
class Representation < Google::Apis::Core::JsonRepresentation; end
273+
274+
include Google::Apis::Core::JsonObjectSupport
275+
end
276+
271277
class Layer
272278
class Representation < Google::Apis::Core::JsonRepresentation; end
273279

@@ -871,6 +877,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
871877
end
872878
end
873879

880+
class LanguagePackageDependency
881+
# @private
882+
class Representation < Google::Apis::Core::JsonRepresentation
883+
property :package, as: 'package'
884+
property :version, as: 'version'
885+
end
886+
end
887+
874888
class Layer
875889
# @private
876890
class Representation < Google::Apis::Core::JsonRepresentation
@@ -995,6 +1009,8 @@ class PackageData
9951009
# @private
9961010
class Representation < Google::Apis::Core::JsonRepresentation
9971011
property :cpe_uri, as: 'cpeUri'
1012+
collection :dependency_chain, as: 'dependencyChain', class: Google::Apis::OndemandscanningV1beta1::LanguagePackageDependency, decorator: Google::Apis::OndemandscanningV1beta1::LanguagePackageDependency::Representation
1013+
9981014
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
9991015

10001016
property :hash_digest, as: 'hashDigest'

0 commit comments

Comments
 (0)