google-apis-ondemandscanning_v1beta1 0.50.0 → 0.52.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: bdfe2e09efed48bd1f11ac88e47efd51252e2b718c00795a172053b8316eb8a5
4
- data.tar.gz: 3cbe4f3188482f208fb3066732b398d2c3699ed710f2163fa796cb8a39faa79e
3
+ metadata.gz: 1ae36d933da1c332cd982402d1187e6c582cee03cfc93363dc5122590b86934e
4
+ data.tar.gz: eaa3c22896eafa0b3332974a707ebbae2fccabb729b8da68bf161cd209ef3313
5
5
  SHA512:
6
- metadata.gz: 0b7b3d1443e96fc1c1f7e827cf89b1dbc9e5c4225899422db19a3e3e0c05c1b8ff5c037d91a775ebd8f3ef3a4a730c6a5127917392b21c72c1cf4d6dc566237d
7
- data.tar.gz: 98023da8c409de2208d7617b4c6ba801a06a9243accac126598d406ba7f992ce92b7fcf45b19fcb0bcbffc8bb63bd025afb0c009c0163d1317faeda5c47684c8
6
+ metadata.gz: b23c5824412bc0d720878f2ed76b6dea07125d035329113cd2ea634e59c93f32b25388a3c4ac019b1846f5af4a8e0e24e67a86731257a22dd3288bbf760e5bc9
7
+ data.tar.gz: d4c4ea4810696ba2fb9a3a21f7ad5f05cf8b9b20f2673ad988775476e05a1fd84dfdeac583acb77dbbf6d87b3b2de46694f1d90b1e14781c379b819338bcde2c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.52.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250321
6
+
7
+ ### v0.51.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250217
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.50.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241209
@@ -269,6 +269,37 @@ module Google
269
269
  end
270
270
  end
271
271
 
272
+ # BaseImage describes a base image of a container image.
273
+ class BaseImage
274
+ include Google::Apis::Core::Hashable
275
+
276
+ # The number of layers that the base image is composed of.
277
+ # Corresponds to the JSON property `layerCount`
278
+ # @return [Fixnum]
279
+ attr_accessor :layer_count
280
+
281
+ # The name of the base image.
282
+ # Corresponds to the JSON property `name`
283
+ # @return [String]
284
+ attr_accessor :name
285
+
286
+ # The repository name in which the base image is from.
287
+ # Corresponds to the JSON property `repository`
288
+ # @return [String]
289
+ attr_accessor :repository
290
+
291
+ def initialize(**args)
292
+ update!(**args)
293
+ end
294
+
295
+ # Update properties of this object
296
+ def update!(**args)
297
+ @layer_count = args[:layer_count] if args.key?(:layer_count)
298
+ @name = args[:name] if args.key?(:name)
299
+ @repository = args[:repository] if args.key?(:repository)
300
+ end
301
+ end
302
+
272
303
  #
273
304
  class BinarySourceInfo
274
305
  include Google::Apis::Core::Hashable
@@ -276,8 +307,7 @@ module Google
276
307
  # The binary package. This is significant when the source is different than the
277
308
  # binary itself. Historically if they've differed, we've stored the name of the
278
309
  # source and its version in the package/version fields, but we should also store
279
- # the binary package info, as that's what's actually installed. See b/175908657#
280
- # comment15.
310
+ # the binary package info, as that's what's actually installed.
281
311
  # Corresponds to the JSON property `binaryVersion`
282
312
  # @return [Google::Apis::OndemandscanningV1beta1::PackageVersion]
283
313
  attr_accessor :binary_version
@@ -1107,6 +1137,11 @@ module Google
1107
1137
  # @return [String]
1108
1138
  attr_accessor :file_path
1109
1139
 
1140
+ # Details about the layer a package was found in.
1141
+ # Corresponds to the JSON property `layerDetails`
1142
+ # @return [Google::Apis::OndemandscanningV1beta1::LayerDetails]
1143
+ attr_accessor :layer_details
1144
+
1110
1145
  def initialize(**args)
1111
1146
  update!(**args)
1112
1147
  end
@@ -1114,6 +1149,7 @@ module Google
1114
1149
  # Update properties of this object
1115
1150
  def update!(**args)
1116
1151
  @file_path = args[:file_path] if args.key?(:file_path)
1152
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
1117
1153
  end
1118
1154
  end
1119
1155
 
@@ -1215,6 +1251,37 @@ module Google
1215
1251
  end
1216
1252
  end
1217
1253
 
1254
+ # BaseImage describes a base image of a container image.
1255
+ class GrafeasV1BaseImage
1256
+ include Google::Apis::Core::Hashable
1257
+
1258
+ # The number of layers that the base image is composed of.
1259
+ # Corresponds to the JSON property `layerCount`
1260
+ # @return [Fixnum]
1261
+ attr_accessor :layer_count
1262
+
1263
+ # The name of the base image.
1264
+ # Corresponds to the JSON property `name`
1265
+ # @return [String]
1266
+ attr_accessor :name
1267
+
1268
+ # The repository name in which the base image is from.
1269
+ # Corresponds to the JSON property `repository`
1270
+ # @return [String]
1271
+ attr_accessor :repository
1272
+
1273
+ def initialize(**args)
1274
+ update!(**args)
1275
+ end
1276
+
1277
+ # Update properties of this object
1278
+ def update!(**args)
1279
+ @layer_count = args[:layer_count] if args.key?(:layer_count)
1280
+ @name = args[:name] if args.key?(:name)
1281
+ @repository = args[:repository] if args.key?(:repository)
1282
+ end
1283
+ end
1284
+
1218
1285
  # Indicates the location at which a package was found.
1219
1286
  class GrafeasV1FileLocation
1220
1287
  include Google::Apis::Core::Hashable
@@ -1225,6 +1292,11 @@ module Google
1225
1292
  # @return [String]
1226
1293
  attr_accessor :file_path
1227
1294
 
1295
+ # Details about the layer a package was found in.
1296
+ # Corresponds to the JSON property `layerDetails`
1297
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1LayerDetails]
1298
+ attr_accessor :layer_details
1299
+
1228
1300
  def initialize(**args)
1229
1301
  update!(**args)
1230
1302
  end
@@ -1232,6 +1304,45 @@ module Google
1232
1304
  # Update properties of this object
1233
1305
  def update!(**args)
1234
1306
  @file_path = args[:file_path] if args.key?(:file_path)
1307
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
1308
+ end
1309
+ end
1310
+
1311
+ # Details about the layer a package was found in.
1312
+ class GrafeasV1LayerDetails
1313
+ include Google::Apis::Core::Hashable
1314
+
1315
+ # The base images the layer is found within.
1316
+ # Corresponds to the JSON property `baseImages`
1317
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage>]
1318
+ attr_accessor :base_images
1319
+
1320
+ # The layer build command that was used to build the layer. This may not be
1321
+ # found in all layers depending on how the container image is built.
1322
+ # Corresponds to the JSON property `command`
1323
+ # @return [String]
1324
+ attr_accessor :command
1325
+
1326
+ # The diff ID (typically a sha256 hash) of the layer in the container image.
1327
+ # Corresponds to the JSON property `diffId`
1328
+ # @return [String]
1329
+ attr_accessor :diff_id
1330
+
1331
+ # The index of the layer in the container image.
1332
+ # Corresponds to the JSON property `index`
1333
+ # @return [Fixnum]
1334
+ attr_accessor :index
1335
+
1336
+ def initialize(**args)
1337
+ update!(**args)
1338
+ end
1339
+
1340
+ # Update properties of this object
1341
+ def update!(**args)
1342
+ @base_images = args[:base_images] if args.key?(:base_images)
1343
+ @command = args[:command] if args.key?(:command)
1344
+ @diff_id = args[:diff_id] if args.key?(:diff_id)
1345
+ @index = args[:index] if args.key?(:index)
1235
1346
  end
1236
1347
  end
1237
1348
 
@@ -1748,6 +1859,44 @@ module Google
1748
1859
  end
1749
1860
  end
1750
1861
 
1862
+ # Details about the layer a package was found in.
1863
+ class LayerDetails
1864
+ include Google::Apis::Core::Hashable
1865
+
1866
+ # The base images the layer is found within.
1867
+ # Corresponds to the JSON property `baseImages`
1868
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::BaseImage>]
1869
+ attr_accessor :base_images
1870
+
1871
+ # The layer build command that was used to build the layer. This may not be
1872
+ # found in all layers depending on how the container image is built.
1873
+ # Corresponds to the JSON property `command`
1874
+ # @return [String]
1875
+ attr_accessor :command
1876
+
1877
+ # The diff ID (sha256 hash) of the layer in the container image.
1878
+ # Corresponds to the JSON property `diffId`
1879
+ # @return [String]
1880
+ attr_accessor :diff_id
1881
+
1882
+ # The index of the layer in the container image.
1883
+ # Corresponds to the JSON property `index`
1884
+ # @return [Fixnum]
1885
+ attr_accessor :index
1886
+
1887
+ def initialize(**args)
1888
+ update!(**args)
1889
+ end
1890
+
1891
+ # Update properties of this object
1892
+ def update!(**args)
1893
+ @base_images = args[:base_images] if args.key?(:base_images)
1894
+ @command = args[:command] if args.key?(:command)
1895
+ @diff_id = args[:diff_id] if args.key?(:diff_id)
1896
+ @index = args[:index] if args.key?(:index)
1897
+ end
1898
+ end
1899
+
1751
1900
  # License information.
1752
1901
  class License
1753
1902
  include Google::Apis::Core::Hashable
@@ -2259,6 +2408,11 @@ module Google
2259
2408
  # @return [String]
2260
2409
  attr_accessor :hash_digest
2261
2410
 
2411
+ # Details about the layer a package was found in.
2412
+ # Corresponds to the JSON property `layerDetails`
2413
+ # @return [Google::Apis::OndemandscanningV1beta1::LayerDetails]
2414
+ attr_accessor :layer_details
2415
+
2262
2416
  # The list of licenses found that are related to a given package. Note that
2263
2417
  # licenses may also be stored on the BinarySourceInfo. If there is no
2264
2418
  # BinarySourceInfo (because there's no concept of source vs binary), then it
@@ -2294,8 +2448,7 @@ module Google
2294
2448
  # @return [String]
2295
2449
  attr_accessor :package_type
2296
2450
 
2297
- # CVEs that this package is no longer vulnerable to go/drydock-dd-custom-binary-
2298
- # scanning
2451
+ # CVEs that this package is no longer vulnerable to
2299
2452
  # Corresponds to the JSON property `patchedCve`
2300
2453
  # @return [Array<String>]
2301
2454
  attr_accessor :patched_cve
@@ -2328,6 +2481,7 @@ module Google
2328
2481
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2329
2482
  @file_location = args[:file_location] if args.key?(:file_location)
2330
2483
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2484
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
2331
2485
  @licenses = args[:licenses] if args.key?(:licenses)
2332
2486
  @maintainer = args[:maintainer] if args.key?(:maintainer)
2333
2487
  @os = args[:os] if args.key?(:os)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.50.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241209"
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
 
@@ -660,6 +684,15 @@ module Google
660
684
  end
661
685
  end
662
686
 
687
+ class BaseImage
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :layer_count, as: 'layerCount'
691
+ property :name, as: 'name'
692
+ property :repository, as: 'repository'
693
+ end
694
+ end
695
+
663
696
  class BinarySourceInfo
664
697
  # @private
665
698
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -890,6 +923,8 @@ module Google
890
923
  # @private
891
924
  class Representation < Google::Apis::Core::JsonRepresentation
892
925
  property :file_path, as: 'filePath'
926
+ property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1beta1::LayerDetails, decorator: Google::Apis::OndemandscanningV1beta1::LayerDetails::Representation
927
+
893
928
  end
894
929
  end
895
930
 
@@ -921,10 +956,32 @@ module Google
921
956
  end
922
957
  end
923
958
 
959
+ class GrafeasV1BaseImage
960
+ # @private
961
+ class Representation < Google::Apis::Core::JsonRepresentation
962
+ property :layer_count, as: 'layerCount'
963
+ property :name, as: 'name'
964
+ property :repository, as: 'repository'
965
+ end
966
+ end
967
+
924
968
  class GrafeasV1FileLocation
925
969
  # @private
926
970
  class Representation < Google::Apis::Core::JsonRepresentation
927
971
  property :file_path, as: 'filePath'
972
+ property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1LayerDetails, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1LayerDetails::Representation
973
+
974
+ end
975
+ end
976
+
977
+ class GrafeasV1LayerDetails
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage::Representation
981
+
982
+ property :command, as: 'command'
983
+ property :diff_id, as: 'diffId'
984
+ property :index, as: 'index'
928
985
  end
929
986
  end
930
987
 
@@ -1083,6 +1140,17 @@ module Google
1083
1140
  end
1084
1141
  end
1085
1142
 
1143
+ class LayerDetails
1144
+ # @private
1145
+ class Representation < Google::Apis::Core::JsonRepresentation
1146
+ collection :base_images, as: 'baseImages', class: Google::Apis::OndemandscanningV1beta1::BaseImage, decorator: Google::Apis::OndemandscanningV1beta1::BaseImage::Representation
1147
+
1148
+ property :command, as: 'command'
1149
+ property :diff_id, as: 'diffId'
1150
+ property :index, as: 'index'
1151
+ end
1152
+ end
1153
+
1086
1154
  class License
1087
1155
  # @private
1088
1156
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1221,6 +1289,8 @@ module Google
1221
1289
  collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::FileLocation::Representation
1222
1290
 
1223
1291
  property :hash_digest, as: 'hashDigest'
1292
+ property :layer_details, as: 'layerDetails', class: Google::Apis::OndemandscanningV1beta1::LayerDetails, decorator: Google::Apis::OndemandscanningV1beta1::LayerDetails::Representation
1293
+
1224
1294
  collection :licenses, as: 'licenses'
1225
1295
  property :maintainer, as: 'maintainer', class: Google::Apis::OndemandscanningV1beta1::Maintainer, decorator: Google::Apis::OndemandscanningV1beta1::Maintainer::Representation
1226
1296
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.52.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
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.23
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 V1beta1
82
79
  test_files: []