google-apis-ondemandscanning_v1 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91921610e169d9193b66eabe56fc2f90c0bd1a577f6784d16d8adf6ed8cc5a29
|
4
|
+
data.tar.gz: 7597e3a2904c4dc098876d50617508f838f61ab754d63dc12a11d4ad2d9057ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0659f9bb700ea2f08483b984fabbda69cefa4457dc960f4001e042f910e9ffdf70da461273f5fe0048d9bb2f85efb8a3dba0a88cd649d9a2bc1c5c65f787b1a
|
7
|
+
data.tar.gz: 3c5d351144fc3da9b2a87998da031cd96605dc5de7b4f88c84b1f1137e8993e6b851a74d065a2e4e3e2fe3ae76e76cc32f7f512d2a8ea6112035151301982eaf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.54.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250321
|
6
|
+
|
7
|
+
### v0.53.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250217
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.52.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241209
|
@@ -277,6 +277,37 @@ module Google
|
|
277
277
|
end
|
278
278
|
end
|
279
279
|
|
280
|
+
# BaseImage describes a base image of a container image.
|
281
|
+
class BaseImage
|
282
|
+
include Google::Apis::Core::Hashable
|
283
|
+
|
284
|
+
# The number of layers that the base image is composed of.
|
285
|
+
# Corresponds to the JSON property `layerCount`
|
286
|
+
# @return [Fixnum]
|
287
|
+
attr_accessor :layer_count
|
288
|
+
|
289
|
+
# The name of the base image.
|
290
|
+
# Corresponds to the JSON property `name`
|
291
|
+
# @return [String]
|
292
|
+
attr_accessor :name
|
293
|
+
|
294
|
+
# The repository name in which the base image is from.
|
295
|
+
# Corresponds to the JSON property `repository`
|
296
|
+
# @return [String]
|
297
|
+
attr_accessor :repository
|
298
|
+
|
299
|
+
def initialize(**args)
|
300
|
+
update!(**args)
|
301
|
+
end
|
302
|
+
|
303
|
+
# Update properties of this object
|
304
|
+
def update!(**args)
|
305
|
+
@layer_count = args[:layer_count] if args.key?(:layer_count)
|
306
|
+
@name = args[:name] if args.key?(:name)
|
307
|
+
@repository = args[:repository] if args.key?(:repository)
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
280
311
|
#
|
281
312
|
class BinarySourceInfo
|
282
313
|
include Google::Apis::Core::Hashable
|
@@ -284,8 +315,7 @@ module Google
|
|
284
315
|
# The binary package. This is significant when the source is different than the
|
285
316
|
# binary itself. Historically if they've differed, we've stored the name of the
|
286
317
|
# source and its version in the package/version fields, but we should also store
|
287
|
-
# the binary package info, as that's what's actually installed.
|
288
|
-
# comment15.
|
318
|
+
# the binary package info, as that's what's actually installed.
|
289
319
|
# Corresponds to the JSON property `binaryVersion`
|
290
320
|
# @return [Google::Apis::OndemandscanningV1::PackageVersion]
|
291
321
|
attr_accessor :binary_version
|
@@ -1115,6 +1145,11 @@ module Google
|
|
1115
1145
|
# @return [String]
|
1116
1146
|
attr_accessor :file_path
|
1117
1147
|
|
1148
|
+
# Details about the layer a package was found in.
|
1149
|
+
# Corresponds to the JSON property `layerDetails`
|
1150
|
+
# @return [Google::Apis::OndemandscanningV1::LayerDetails]
|
1151
|
+
attr_accessor :layer_details
|
1152
|
+
|
1118
1153
|
def initialize(**args)
|
1119
1154
|
update!(**args)
|
1120
1155
|
end
|
@@ -1122,6 +1157,7 @@ module Google
|
|
1122
1157
|
# Update properties of this object
|
1123
1158
|
def update!(**args)
|
1124
1159
|
@file_path = args[:file_path] if args.key?(:file_path)
|
1160
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
1125
1161
|
end
|
1126
1162
|
end
|
1127
1163
|
|
@@ -1223,6 +1259,37 @@ module Google
|
|
1223
1259
|
end
|
1224
1260
|
end
|
1225
1261
|
|
1262
|
+
# BaseImage describes a base image of a container image.
|
1263
|
+
class GrafeasV1BaseImage
|
1264
|
+
include Google::Apis::Core::Hashable
|
1265
|
+
|
1266
|
+
# The number of layers that the base image is composed of.
|
1267
|
+
# Corresponds to the JSON property `layerCount`
|
1268
|
+
# @return [Fixnum]
|
1269
|
+
attr_accessor :layer_count
|
1270
|
+
|
1271
|
+
# The name of the base image.
|
1272
|
+
# Corresponds to the JSON property `name`
|
1273
|
+
# @return [String]
|
1274
|
+
attr_accessor :name
|
1275
|
+
|
1276
|
+
# The repository name in which the base image is from.
|
1277
|
+
# Corresponds to the JSON property `repository`
|
1278
|
+
# @return [String]
|
1279
|
+
attr_accessor :repository
|
1280
|
+
|
1281
|
+
def initialize(**args)
|
1282
|
+
update!(**args)
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
# Update properties of this object
|
1286
|
+
def update!(**args)
|
1287
|
+
@layer_count = args[:layer_count] if args.key?(:layer_count)
|
1288
|
+
@name = args[:name] if args.key?(:name)
|
1289
|
+
@repository = args[:repository] if args.key?(:repository)
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
|
1226
1293
|
# Indicates the location at which a package was found.
|
1227
1294
|
class GrafeasV1FileLocation
|
1228
1295
|
include Google::Apis::Core::Hashable
|
@@ -1233,6 +1300,11 @@ module Google
|
|
1233
1300
|
# @return [String]
|
1234
1301
|
attr_accessor :file_path
|
1235
1302
|
|
1303
|
+
# Details about the layer a package was found in.
|
1304
|
+
# Corresponds to the JSON property `layerDetails`
|
1305
|
+
# @return [Google::Apis::OndemandscanningV1::GrafeasV1LayerDetails]
|
1306
|
+
attr_accessor :layer_details
|
1307
|
+
|
1236
1308
|
def initialize(**args)
|
1237
1309
|
update!(**args)
|
1238
1310
|
end
|
@@ -1240,6 +1312,45 @@ module Google
|
|
1240
1312
|
# Update properties of this object
|
1241
1313
|
def update!(**args)
|
1242
1314
|
@file_path = args[:file_path] if args.key?(:file_path)
|
1315
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
# Details about the layer a package was found in.
|
1320
|
+
class GrafeasV1LayerDetails
|
1321
|
+
include Google::Apis::Core::Hashable
|
1322
|
+
|
1323
|
+
# The base images the layer is found within.
|
1324
|
+
# Corresponds to the JSON property `baseImages`
|
1325
|
+
# @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1BaseImage>]
|
1326
|
+
attr_accessor :base_images
|
1327
|
+
|
1328
|
+
# The layer build command that was used to build the layer. This may not be
|
1329
|
+
# found in all layers depending on how the container image is built.
|
1330
|
+
# Corresponds to the JSON property `command`
|
1331
|
+
# @return [String]
|
1332
|
+
attr_accessor :command
|
1333
|
+
|
1334
|
+
# The diff ID (typically a sha256 hash) of the layer in the container image.
|
1335
|
+
# Corresponds to the JSON property `diffId`
|
1336
|
+
# @return [String]
|
1337
|
+
attr_accessor :diff_id
|
1338
|
+
|
1339
|
+
# The index of the layer in the container image.
|
1340
|
+
# Corresponds to the JSON property `index`
|
1341
|
+
# @return [Fixnum]
|
1342
|
+
attr_accessor :index
|
1343
|
+
|
1344
|
+
def initialize(**args)
|
1345
|
+
update!(**args)
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
# Update properties of this object
|
1349
|
+
def update!(**args)
|
1350
|
+
@base_images = args[:base_images] if args.key?(:base_images)
|
1351
|
+
@command = args[:command] if args.key?(:command)
|
1352
|
+
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1353
|
+
@index = args[:index] if args.key?(:index)
|
1243
1354
|
end
|
1244
1355
|
end
|
1245
1356
|
|
@@ -1756,6 +1867,44 @@ module Google
|
|
1756
1867
|
end
|
1757
1868
|
end
|
1758
1869
|
|
1870
|
+
# Details about the layer a package was found in.
|
1871
|
+
class LayerDetails
|
1872
|
+
include Google::Apis::Core::Hashable
|
1873
|
+
|
1874
|
+
# The base images the layer is found within.
|
1875
|
+
# Corresponds to the JSON property `baseImages`
|
1876
|
+
# @return [Array<Google::Apis::OndemandscanningV1::BaseImage>]
|
1877
|
+
attr_accessor :base_images
|
1878
|
+
|
1879
|
+
# The layer build command that was used to build the layer. This may not be
|
1880
|
+
# found in all layers depending on how the container image is built.
|
1881
|
+
# Corresponds to the JSON property `command`
|
1882
|
+
# @return [String]
|
1883
|
+
attr_accessor :command
|
1884
|
+
|
1885
|
+
# The diff ID (sha256 hash) of the layer in the container image.
|
1886
|
+
# Corresponds to the JSON property `diffId`
|
1887
|
+
# @return [String]
|
1888
|
+
attr_accessor :diff_id
|
1889
|
+
|
1890
|
+
# The index of the layer in the container image.
|
1891
|
+
# Corresponds to the JSON property `index`
|
1892
|
+
# @return [Fixnum]
|
1893
|
+
attr_accessor :index
|
1894
|
+
|
1895
|
+
def initialize(**args)
|
1896
|
+
update!(**args)
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
# Update properties of this object
|
1900
|
+
def update!(**args)
|
1901
|
+
@base_images = args[:base_images] if args.key?(:base_images)
|
1902
|
+
@command = args[:command] if args.key?(:command)
|
1903
|
+
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1904
|
+
@index = args[:index] if args.key?(:index)
|
1905
|
+
end
|
1906
|
+
end
|
1907
|
+
|
1759
1908
|
# License information.
|
1760
1909
|
class License
|
1761
1910
|
include Google::Apis::Core::Hashable
|
@@ -2267,6 +2416,11 @@ module Google
|
|
2267
2416
|
# @return [String]
|
2268
2417
|
attr_accessor :hash_digest
|
2269
2418
|
|
2419
|
+
# Details about the layer a package was found in.
|
2420
|
+
# Corresponds to the JSON property `layerDetails`
|
2421
|
+
# @return [Google::Apis::OndemandscanningV1::LayerDetails]
|
2422
|
+
attr_accessor :layer_details
|
2423
|
+
|
2270
2424
|
# The list of licenses found that are related to a given package. Note that
|
2271
2425
|
# licenses may also be stored on the BinarySourceInfo. If there is no
|
2272
2426
|
# BinarySourceInfo (because there's no concept of source vs binary), then it
|
@@ -2302,8 +2456,7 @@ module Google
|
|
2302
2456
|
# @return [String]
|
2303
2457
|
attr_accessor :package_type
|
2304
2458
|
|
2305
|
-
# CVEs that this package is no longer vulnerable to
|
2306
|
-
# scanning
|
2459
|
+
# CVEs that this package is no longer vulnerable to
|
2307
2460
|
# Corresponds to the JSON property `patchedCve`
|
2308
2461
|
# @return [Array<String>]
|
2309
2462
|
attr_accessor :patched_cve
|
@@ -2336,6 +2489,7 @@ module Google
|
|
2336
2489
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
2337
2490
|
@file_location = args[:file_location] if args.key?(:file_location)
|
2338
2491
|
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
|
2492
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
2339
2493
|
@licenses = args[:licenses] if args.key?(:licenses)
|
2340
2494
|
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
2341
2495
|
@os = args[:os] if args.key?(:os)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OndemandscanningV1
|
18
18
|
# Version of the google-apis-ondemandscanning_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250321"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class BaseImage
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class BinarySourceInfo
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -220,12 +226,24 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
229
|
+
class GrafeasV1BaseImage
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class GrafeasV1FileLocation
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
226
238
|
include Google::Apis::Core::JsonObjectSupport
|
227
239
|
end
|
228
240
|
|
241
|
+
class GrafeasV1LayerDetails
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
229
247
|
class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
|
230
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
249
|
|
@@ -322,6 +340,12 @@ module Google
|
|
322
340
|
include Google::Apis::Core::JsonObjectSupport
|
323
341
|
end
|
324
342
|
|
343
|
+
class LayerDetails
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
325
349
|
class License
|
326
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
351
|
|
@@ -661,6 +685,15 @@ module Google
|
|
661
685
|
end
|
662
686
|
end
|
663
687
|
|
688
|
+
class BaseImage
|
689
|
+
# @private
|
690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
691
|
+
property :layer_count, as: 'layerCount'
|
692
|
+
property :name, as: 'name'
|
693
|
+
property :repository, as: 'repository'
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
664
697
|
class BinarySourceInfo
|
665
698
|
# @private
|
666
699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -891,6 +924,8 @@ module Google
|
|
891
924
|
# @private
|
892
925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
893
926
|
property :file_path, as: 'filePath'
|
927
|
+
property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1::LayerDetails, decorator: Google::Apis::OndemandscanningV1::LayerDetails::Representation
|
928
|
+
|
894
929
|
end
|
895
930
|
end
|
896
931
|
|
@@ -922,10 +957,32 @@ module Google
|
|
922
957
|
end
|
923
958
|
end
|
924
959
|
|
960
|
+
class GrafeasV1BaseImage
|
961
|
+
# @private
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
963
|
+
property :layer_count, as: 'layerCount'
|
964
|
+
property :name, as: 'name'
|
965
|
+
property :repository, as: 'repository'
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
925
969
|
class GrafeasV1FileLocation
|
926
970
|
# @private
|
927
971
|
class Representation < Google::Apis::Core::JsonRepresentation
|
928
972
|
property :file_path, as: 'filePath'
|
973
|
+
property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1::GrafeasV1LayerDetails, decorator: Google::Apis::OndemandscanningV1::GrafeasV1LayerDetails::Representation
|
974
|
+
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|
978
|
+
class GrafeasV1LayerDetails
|
979
|
+
# @private
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
981
|
+
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1::GrafeasV1BaseImage, decorator: Google::Apis::OndemandscanningV1::GrafeasV1BaseImage::Representation
|
982
|
+
|
983
|
+
property :command, as: 'command'
|
984
|
+
property :diff_id, as: 'diffId'
|
985
|
+
property :index, as: 'index'
|
929
986
|
end
|
930
987
|
end
|
931
988
|
|
@@ -1084,6 +1141,17 @@ module Google
|
|
1084
1141
|
end
|
1085
1142
|
end
|
1086
1143
|
|
1144
|
+
class LayerDetails
|
1145
|
+
# @private
|
1146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1147
|
+
collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1::BaseImage, decorator: Google::Apis::OndemandscanningV1::BaseImage::Representation
|
1148
|
+
|
1149
|
+
property :command, as: 'command'
|
1150
|
+
property :diff_id, as: 'diffId'
|
1151
|
+
property :index, as: 'index'
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1087
1155
|
class License
|
1088
1156
|
# @private
|
1089
1157
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1222,6 +1290,8 @@ module Google
|
|
1222
1290
|
collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::FileLocation, decorator: Google::Apis::OndemandscanningV1::FileLocation::Representation
|
1223
1291
|
|
1224
1292
|
property :hash_digest, as: 'hashDigest'
|
1293
|
+
property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1::LayerDetails, decorator: Google::Apis::OndemandscanningV1::LayerDetails::Representation
|
1294
|
+
|
1225
1295
|
collection :licenses, as: 'licenses'
|
1226
1296
|
property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1::Maintainer, decorator: Google::Apis::OndemandscanningV1::Maintainer::Representation
|
1227
1297
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ondemandscanning_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.54.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for On-Demand Scanning API V1
|
82
79
|
test_files: []
|