google-apis-ondemandscanning_v1beta1 0.50.0 → 0.51.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: 8fad2bd271d19ec10babc21d428145556a3bc2e1dcd91fea8d3425e0d4b73aa2
4
+ data.tar.gz: 578b6df8da28c0280889873598452ab687b582d252c4618958fdfb1b3f5f3930
5
5
  SHA512:
6
- metadata.gz: 0b7b3d1443e96fc1c1f7e827cf89b1dbc9e5c4225899422db19a3e3e0c05c1b8ff5c037d91a775ebd8f3ef3a4a730c6a5127917392b21c72c1cf4d6dc566237d
7
- data.tar.gz: 98023da8c409de2208d7617b4c6ba801a06a9243accac126598d406ba7f992ce92b7fcf45b19fcb0bcbffc8bb63bd025afb0c009c0163d1317faeda5c47684c8
6
+ metadata.gz: 0356a8cfe3fce131976f8213053470f3cec81a885e7aea590046ffa327c9ee645f4d0bb05450a73b388076198556120517e31f4b7e36bf902fd4c6131ffee169
7
+ data.tar.gz: 92ae9f8abde9448b768b35dbaaa692658efca0598bb350817cea539951c9f931f28d60a57644a65cbc5e1986fd844adc3f5562e78bdc7fd47d42a01d2cb2dd64
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.51.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250217
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.50.0 (2024-12-15)
4
9
 
5
10
  * 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
@@ -1107,6 +1138,13 @@ module Google
1107
1138
  # @return [String]
1108
1139
  attr_accessor :file_path
1109
1140
 
1141
+ # Details about the layer a package was found in. This should be the same as the
1142
+ # LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.
1143
+ # proto.
1144
+ # Corresponds to the JSON property `layerDetails`
1145
+ # @return [Google::Apis::OndemandscanningV1beta1::LayerDetails]
1146
+ attr_accessor :layer_details
1147
+
1110
1148
  def initialize(**args)
1111
1149
  update!(**args)
1112
1150
  end
@@ -1114,6 +1152,7 @@ module Google
1114
1152
  # Update properties of this object
1115
1153
  def update!(**args)
1116
1154
  @file_path = args[:file_path] if args.key?(:file_path)
1155
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
1117
1156
  end
1118
1157
  end
1119
1158
 
@@ -1215,6 +1254,37 @@ module Google
1215
1254
  end
1216
1255
  end
1217
1256
 
1257
+ # BaseImage describes a base image of a container image.
1258
+ class GrafeasV1BaseImage
1259
+ include Google::Apis::Core::Hashable
1260
+
1261
+ # The number of layers that the base image is composed of.
1262
+ # Corresponds to the JSON property `layerCount`
1263
+ # @return [Fixnum]
1264
+ attr_accessor :layer_count
1265
+
1266
+ # The name of the base image.
1267
+ # Corresponds to the JSON property `name`
1268
+ # @return [String]
1269
+ attr_accessor :name
1270
+
1271
+ # The repository name in which the base image is from.
1272
+ # Corresponds to the JSON property `repository`
1273
+ # @return [String]
1274
+ attr_accessor :repository
1275
+
1276
+ def initialize(**args)
1277
+ update!(**args)
1278
+ end
1279
+
1280
+ # Update properties of this object
1281
+ def update!(**args)
1282
+ @layer_count = args[:layer_count] if args.key?(:layer_count)
1283
+ @name = args[:name] if args.key?(:name)
1284
+ @repository = args[:repository] if args.key?(:repository)
1285
+ end
1286
+ end
1287
+
1218
1288
  # Indicates the location at which a package was found.
1219
1289
  class GrafeasV1FileLocation
1220
1290
  include Google::Apis::Core::Hashable
@@ -1225,6 +1295,11 @@ module Google
1225
1295
  # @return [String]
1226
1296
  attr_accessor :file_path
1227
1297
 
1298
+ # Details about the layer a package was found in.
1299
+ # Corresponds to the JSON property `layerDetails`
1300
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1LayerDetails]
1301
+ attr_accessor :layer_details
1302
+
1228
1303
  def initialize(**args)
1229
1304
  update!(**args)
1230
1305
  end
@@ -1232,6 +1307,45 @@ module Google
1232
1307
  # Update properties of this object
1233
1308
  def update!(**args)
1234
1309
  @file_path = args[:file_path] if args.key?(:file_path)
1310
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
1311
+ end
1312
+ end
1313
+
1314
+ # Details about the layer a package was found in.
1315
+ class GrafeasV1LayerDetails
1316
+ include Google::Apis::Core::Hashable
1317
+
1318
+ # The base images the layer is found within.
1319
+ # Corresponds to the JSON property `baseImages`
1320
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1BaseImage>]
1321
+ attr_accessor :base_images
1322
+
1323
+ # The layer build command that was used to build the layer. This may not be
1324
+ # found in all layers depending on how the container image is built.
1325
+ # Corresponds to the JSON property `command`
1326
+ # @return [String]
1327
+ attr_accessor :command
1328
+
1329
+ # The diff ID (typically a sha256 hash) of the layer in the container image.
1330
+ # Corresponds to the JSON property `diffId`
1331
+ # @return [String]
1332
+ attr_accessor :diff_id
1333
+
1334
+ # The index of the layer in the container image.
1335
+ # Corresponds to the JSON property `index`
1336
+ # @return [Fixnum]
1337
+ attr_accessor :index
1338
+
1339
+ def initialize(**args)
1340
+ update!(**args)
1341
+ end
1342
+
1343
+ # Update properties of this object
1344
+ def update!(**args)
1345
+ @base_images = args[:base_images] if args.key?(:base_images)
1346
+ @command = args[:command] if args.key?(:command)
1347
+ @diff_id = args[:diff_id] if args.key?(:diff_id)
1348
+ @index = args[:index] if args.key?(:index)
1235
1349
  end
1236
1350
  end
1237
1351
 
@@ -1748,6 +1862,46 @@ module Google
1748
1862
  end
1749
1863
  end
1750
1864
 
1865
+ # Details about the layer a package was found in. This should be the same as the
1866
+ # LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.
1867
+ # proto.
1868
+ class LayerDetails
1869
+ include Google::Apis::Core::Hashable
1870
+
1871
+ # The base images the layer is found within.
1872
+ # Corresponds to the JSON property `baseImages`
1873
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::BaseImage>]
1874
+ attr_accessor :base_images
1875
+
1876
+ # The layer build command that was used to build the layer. This may not be
1877
+ # found in all layers depending on how the container image is built.
1878
+ # Corresponds to the JSON property `command`
1879
+ # @return [String]
1880
+ attr_accessor :command
1881
+
1882
+ # The diff ID (sha256 hash) of the layer in the container image.
1883
+ # Corresponds to the JSON property `diffId`
1884
+ # @return [String]
1885
+ attr_accessor :diff_id
1886
+
1887
+ # The index of the layer in the container image.
1888
+ # Corresponds to the JSON property `index`
1889
+ # @return [Fixnum]
1890
+ attr_accessor :index
1891
+
1892
+ def initialize(**args)
1893
+ update!(**args)
1894
+ end
1895
+
1896
+ # Update properties of this object
1897
+ def update!(**args)
1898
+ @base_images = args[:base_images] if args.key?(:base_images)
1899
+ @command = args[:command] if args.key?(:command)
1900
+ @diff_id = args[:diff_id] if args.key?(:diff_id)
1901
+ @index = args[:index] if args.key?(:index)
1902
+ end
1903
+ end
1904
+
1751
1905
  # License information.
1752
1906
  class License
1753
1907
  include Google::Apis::Core::Hashable
@@ -2259,6 +2413,13 @@ module Google
2259
2413
  # @return [String]
2260
2414
  attr_accessor :hash_digest
2261
2415
 
2416
+ # Details about the layer a package was found in. This should be the same as the
2417
+ # LayerDetails message in google3/third_party/scalibr/binary/proto/scan_result.
2418
+ # proto.
2419
+ # Corresponds to the JSON property `layerDetails`
2420
+ # @return [Google::Apis::OndemandscanningV1beta1::LayerDetails]
2421
+ attr_accessor :layer_details
2422
+
2262
2423
  # The list of licenses found that are related to a given package. Note that
2263
2424
  # licenses may also be stored on the BinarySourceInfo. If there is no
2264
2425
  # BinarySourceInfo (because there's no concept of source vs binary), then it
@@ -2328,6 +2489,7 @@ module Google
2328
2489
  @dependency_chain = args[:dependency_chain] if args.key?(:dependency_chain)
2329
2490
  @file_location = args[:file_location] if args.key?(:file_location)
2330
2491
  @hash_digest = args[:hash_digest] if args.key?(:hash_digest)
2492
+ @layer_details = args[:layer_details] if args.key?(:layer_details)
2331
2493
  @licenses = args[:licenses] if args.key?(:licenses)
2332
2494
  @maintainer = args[:maintainer] if args.key?(:maintainer)
2333
2495
  @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.51.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 = "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
 
@@ -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.51.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-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_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.51.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: []