google-apis-ondemandscanning_v1 0.52.0 → 0.53.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: 917f4f6005be7dec8a3c9d6a089750112a8265522539006967457e4977c2119d
|
4
|
+
data.tar.gz: 8236a74aca66eca069e9302a31f9885fab9ccedf01036a9bcf49d9c486b4ddca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fc5d1c5e6cf168ed7e289754739853b365b51aca3b242e3fc9e03b40c23d0780cfa961442ed5c4c5b293bd47736b37627034366ac2ddc11f49ef036eb298b64
|
7
|
+
data.tar.gz: 286f2b71e7901934d4927899b081f4946244482531590dfe02d5e3392ee19861fcc537d3f265cfb48eaf993cb11b19bb76191fc0a82ce967a61e2ff60200913c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.53.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250217
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.52.0 (2024-12-15)
|
4
9
|
|
5
10
|
* 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
|
@@ -1115,6 +1146,13 @@ module Google
|
|
1115
1146
|
# @return [String]
|
1116
1147
|
attr_accessor :file_path
|
1117
1148
|
|
1149
|
+
# Details about the layer a package was found in. This should be the same as the
|
1150
|
+
# LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.
|
1151
|
+
# proto.
|
1152
|
+
# Corresponds to the JSON property `layerDetails`
|
1153
|
+
# @return [Google::Apis::OndemandscanningV1::LayerDetails]
|
1154
|
+
attr_accessor :layer_details
|
1155
|
+
|
1118
1156
|
def initialize(**args)
|
1119
1157
|
update!(**args)
|
1120
1158
|
end
|
@@ -1122,6 +1160,7 @@ module Google
|
|
1122
1160
|
# Update properties of this object
|
1123
1161
|
def update!(**args)
|
1124
1162
|
@file_path = args[:file_path] if args.key?(:file_path)
|
1163
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
1125
1164
|
end
|
1126
1165
|
end
|
1127
1166
|
|
@@ -1223,6 +1262,37 @@ module Google
|
|
1223
1262
|
end
|
1224
1263
|
end
|
1225
1264
|
|
1265
|
+
# BaseImage describes a base image of a container image.
|
1266
|
+
class GrafeasV1BaseImage
|
1267
|
+
include Google::Apis::Core::Hashable
|
1268
|
+
|
1269
|
+
# The number of layers that the base image is composed of.
|
1270
|
+
# Corresponds to the JSON property `layerCount`
|
1271
|
+
# @return [Fixnum]
|
1272
|
+
attr_accessor :layer_count
|
1273
|
+
|
1274
|
+
# The name of the base image.
|
1275
|
+
# Corresponds to the JSON property `name`
|
1276
|
+
# @return [String]
|
1277
|
+
attr_accessor :name
|
1278
|
+
|
1279
|
+
# The repository name in which the base image is from.
|
1280
|
+
# Corresponds to the JSON property `repository`
|
1281
|
+
# @return [String]
|
1282
|
+
attr_accessor :repository
|
1283
|
+
|
1284
|
+
def initialize(**args)
|
1285
|
+
update!(**args)
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
# Update properties of this object
|
1289
|
+
def update!(**args)
|
1290
|
+
@layer_count = args[:layer_count] if args.key?(:layer_count)
|
1291
|
+
@name = args[:name] if args.key?(:name)
|
1292
|
+
@repository = args[:repository] if args.key?(:repository)
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1226
1296
|
# Indicates the location at which a package was found.
|
1227
1297
|
class GrafeasV1FileLocation
|
1228
1298
|
include Google::Apis::Core::Hashable
|
@@ -1233,6 +1303,11 @@ module Google
|
|
1233
1303
|
# @return [String]
|
1234
1304
|
attr_accessor :file_path
|
1235
1305
|
|
1306
|
+
# Details about the layer a package was found in.
|
1307
|
+
# Corresponds to the JSON property `layerDetails`
|
1308
|
+
# @return [Google::Apis::OndemandscanningV1::GrafeasV1LayerDetails]
|
1309
|
+
attr_accessor :layer_details
|
1310
|
+
|
1236
1311
|
def initialize(**args)
|
1237
1312
|
update!(**args)
|
1238
1313
|
end
|
@@ -1240,6 +1315,45 @@ module Google
|
|
1240
1315
|
# Update properties of this object
|
1241
1316
|
def update!(**args)
|
1242
1317
|
@file_path = args[:file_path] if args.key?(:file_path)
|
1318
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
1319
|
+
end
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# Details about the layer a package was found in.
|
1323
|
+
class GrafeasV1LayerDetails
|
1324
|
+
include Google::Apis::Core::Hashable
|
1325
|
+
|
1326
|
+
# The base images the layer is found within.
|
1327
|
+
# Corresponds to the JSON property `baseImages`
|
1328
|
+
# @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1BaseImage>]
|
1329
|
+
attr_accessor :base_images
|
1330
|
+
|
1331
|
+
# The layer build command that was used to build the layer. This may not be
|
1332
|
+
# found in all layers depending on how the container image is built.
|
1333
|
+
# Corresponds to the JSON property `command`
|
1334
|
+
# @return [String]
|
1335
|
+
attr_accessor :command
|
1336
|
+
|
1337
|
+
# The diff ID (typically a sha256 hash) of the layer in the container image.
|
1338
|
+
# Corresponds to the JSON property `diffId`
|
1339
|
+
# @return [String]
|
1340
|
+
attr_accessor :diff_id
|
1341
|
+
|
1342
|
+
# The index of the layer in the container image.
|
1343
|
+
# Corresponds to the JSON property `index`
|
1344
|
+
# @return [Fixnum]
|
1345
|
+
attr_accessor :index
|
1346
|
+
|
1347
|
+
def initialize(**args)
|
1348
|
+
update!(**args)
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
# Update properties of this object
|
1352
|
+
def update!(**args)
|
1353
|
+
@base_images = args[:base_images] if args.key?(:base_images)
|
1354
|
+
@command = args[:command] if args.key?(:command)
|
1355
|
+
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1356
|
+
@index = args[:index] if args.key?(:index)
|
1243
1357
|
end
|
1244
1358
|
end
|
1245
1359
|
|
@@ -1756,6 +1870,46 @@ module Google
|
|
1756
1870
|
end
|
1757
1871
|
end
|
1758
1872
|
|
1873
|
+
# Details about the layer a package was found in. This should be the same as the
|
1874
|
+
# LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.
|
1875
|
+
# proto.
|
1876
|
+
class LayerDetails
|
1877
|
+
include Google::Apis::Core::Hashable
|
1878
|
+
|
1879
|
+
# The base images the layer is found within.
|
1880
|
+
# Corresponds to the JSON property `baseImages`
|
1881
|
+
# @return [Array<Google::Apis::OndemandscanningV1::BaseImage>]
|
1882
|
+
attr_accessor :base_images
|
1883
|
+
|
1884
|
+
# The layer build command that was used to build the layer. This may not be
|
1885
|
+
# found in all layers depending on how the container image is built.
|
1886
|
+
# Corresponds to the JSON property `command`
|
1887
|
+
# @return [String]
|
1888
|
+
attr_accessor :command
|
1889
|
+
|
1890
|
+
# The diff ID (sha256 hash) of the layer in the container image.
|
1891
|
+
# Corresponds to the JSON property `diffId`
|
1892
|
+
# @return [String]
|
1893
|
+
attr_accessor :diff_id
|
1894
|
+
|
1895
|
+
# The index of the layer in the container image.
|
1896
|
+
# Corresponds to the JSON property `index`
|
1897
|
+
# @return [Fixnum]
|
1898
|
+
attr_accessor :index
|
1899
|
+
|
1900
|
+
def initialize(**args)
|
1901
|
+
update!(**args)
|
1902
|
+
end
|
1903
|
+
|
1904
|
+
# Update properties of this object
|
1905
|
+
def update!(**args)
|
1906
|
+
@base_images = args[:base_images] if args.key?(:base_images)
|
1907
|
+
@command = args[:command] if args.key?(:command)
|
1908
|
+
@diff_id = args[:diff_id] if args.key?(:diff_id)
|
1909
|
+
@index = args[:index] if args.key?(:index)
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1759
1913
|
# License information.
|
1760
1914
|
class License
|
1761
1915
|
include Google::Apis::Core::Hashable
|
@@ -2267,6 +2421,13 @@ module Google
|
|
2267
2421
|
# @return [String]
|
2268
2422
|
attr_accessor :hash_digest
|
2269
2423
|
|
2424
|
+
# Details about the layer a package was found in. This should be the same as the
|
2425
|
+
# LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.
|
2426
|
+
# proto.
|
2427
|
+
# Corresponds to the JSON property `layerDetails`
|
2428
|
+
# @return [Google::Apis::OndemandscanningV1::LayerDetails]
|
2429
|
+
attr_accessor :layer_details
|
2430
|
+
|
2270
2431
|
# The list of licenses found that are related to a given package. Note that
|
2271
2432
|
# licenses may also be stored on the BinarySourceInfo. If there is no
|
2272
2433
|
# BinarySourceInfo (because there's no concept of source vs binary), then it
|
@@ -2336,6 +2497,7 @@ module Google
|
|
2336
2497
|
@dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
|
2337
2498
|
@file_location = args[:file_location] if args.key?(:file_location)
|
2338
2499
|
@hash_digest = args[:hash_digest] if args.key?(:hash_digest)
|
2500
|
+
@layer_details = args[:layer_details] if args.key?(:layer_details)
|
2339
2501
|
@licenses = args[:licenses] if args.key?(:licenses)
|
2340
2502
|
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
2341
2503
|
@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.53.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 = "20250217"
|
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.53.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-02 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.53.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: []
|