google-apis-ondemandscanning_v1beta1 0.20.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 206e6efc01a5cd9f28d4bc35248bfe120165d18a67fafb49474d7c679b0b0eec
4
- data.tar.gz: 862e99183449354d393409ba2ea2d5a545705418707d2633503b99fda8b36a45
3
+ metadata.gz: 4e965a9da1137351ee702e097683901f113c5d777c998939f3a5c89f5dbb7dfd
4
+ data.tar.gz: d94214ee51b511ce97994513a8a3024b4dd15dbaf47b66d84be8edbf0311c04c
5
5
  SHA512:
6
- metadata.gz: cc1110e5005dc2017136c85f177ab46c09de6f28e3c8b330aad7dad6b5facd3933cd4c0eb38d00ef265c2e8370e309a97fa28b911443edb997151f058723f100
7
- data.tar.gz: a994e2e9e0d9fa743e25895b4d6ed22ff1e7de2210f974c2b88b551b0fb7fddad5e004ea88c8acab5342a1db99d70c15d41533a37f5f5c3974ceef07a6bc6a1f
6
+ metadata.gz: d89e34e15c04b889ecbab21386bbbb1da20b5995217dd2858c81e5f53b6d36c6bb883717d467121b8bba23785233cb6480c1fb946194ed747ef28bf2c21cb589
7
+ data.tar.gz: b49eefa89d41de6562e8994a80297e7440027a9fdcdf3290953457e6fa5da13f9d396b4879de5ab322385b6f25bd3bf67a5907414738c6c28f11bf349bd1326d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.23.0 (2022-05-19)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.22.0 (2022-05-11)
8
+
9
+ * Regenerated from discovery document revision 20220509
10
+
11
+ ### v0.21.0 (2022-05-05)
12
+
13
+ * Regenerated from discovery document revision 20220430
14
+
3
15
  ### v0.20.0 (2022-04-28)
4
16
 
5
17
  * Regenerated from discovery document revision 20220425
@@ -413,9 +413,8 @@ module Google
413
413
 
414
414
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
415
415
  # cvss/specification-document This is a message we will try to use for storing
416
- # multiple versions of CVSS. The intention is that as new versions of CVSS
417
- # scores get added, we will be able to modify this message rather than adding
418
- # new protos for each new version of the score.
416
+ # various versions of CVSS rather than making a separate proto for storing a
417
+ # specific version.
419
418
  class Cvss
420
419
  include Google::Apis::Core::Hashable
421
420
 
@@ -1026,6 +1025,216 @@ module Google
1026
1025
  end
1027
1026
  end
1028
1027
 
1028
+ # Indicates the location at which a package was found.
1029
+ class GrafeasV1FileLocation
1030
+ include Google::Apis::Core::Hashable
1031
+
1032
+ # For jars that are contained inside .war files, this filepath can indicate the
1033
+ # path to war file combined with the path to jar file.
1034
+ # Corresponds to the JSON property `filePath`
1035
+ # @return [String]
1036
+ attr_accessor :file_path
1037
+
1038
+ def initialize(**args)
1039
+ update!(**args)
1040
+ end
1041
+
1042
+ # Update properties of this object
1043
+ def update!(**args)
1044
+ @file_path = args[:file_path] if args.key?(:file_path)
1045
+ end
1046
+ end
1047
+
1048
+ # Identifies the entity that executed the recipe, which is trusted to have
1049
+ # correctly performed the operation and populated this provenance.
1050
+ class GrafeasV1SlsaProvenance02SlsaBuilder
1051
+ include Google::Apis::Core::Hashable
1052
+
1053
+ #
1054
+ # Corresponds to the JSON property `id`
1055
+ # @return [String]
1056
+ attr_accessor :id
1057
+
1058
+ def initialize(**args)
1059
+ update!(**args)
1060
+ end
1061
+
1062
+ # Update properties of this object
1063
+ def update!(**args)
1064
+ @id = args[:id] if args.key?(:id)
1065
+ end
1066
+ end
1067
+
1068
+ # Indicates that the builder claims certain fields in this message to be
1069
+ # complete.
1070
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
1071
+ include Google::Apis::Core::Hashable
1072
+
1073
+ #
1074
+ # Corresponds to the JSON property `environment`
1075
+ # @return [Boolean]
1076
+ attr_accessor :environment
1077
+ alias_method :environment?, :environment
1078
+
1079
+ #
1080
+ # Corresponds to the JSON property `materials`
1081
+ # @return [Boolean]
1082
+ attr_accessor :materials
1083
+ alias_method :materials?, :materials
1084
+
1085
+ #
1086
+ # Corresponds to the JSON property `parameters`
1087
+ # @return [Boolean]
1088
+ attr_accessor :parameters
1089
+ alias_method :parameters?, :parameters
1090
+
1091
+ def initialize(**args)
1092
+ update!(**args)
1093
+ end
1094
+
1095
+ # Update properties of this object
1096
+ def update!(**args)
1097
+ @environment = args[:environment] if args.key?(:environment)
1098
+ @materials = args[:materials] if args.key?(:materials)
1099
+ @parameters = args[:parameters] if args.key?(:parameters)
1100
+ end
1101
+ end
1102
+
1103
+ # Describes where the config file that kicked off the build came from. This is
1104
+ # effectively a pointer to the source where buildConfig came from.
1105
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ #
1109
+ # Corresponds to the JSON property `digest`
1110
+ # @return [Hash<String,String>]
1111
+ attr_accessor :digest
1112
+
1113
+ #
1114
+ # Corresponds to the JSON property `entryPoint`
1115
+ # @return [String]
1116
+ attr_accessor :entry_point
1117
+
1118
+ #
1119
+ # Corresponds to the JSON property `uri`
1120
+ # @return [String]
1121
+ attr_accessor :uri
1122
+
1123
+ def initialize(**args)
1124
+ update!(**args)
1125
+ end
1126
+
1127
+ # Update properties of this object
1128
+ def update!(**args)
1129
+ @digest = args[:digest] if args.key?(:digest)
1130
+ @entry_point = args[:entry_point] if args.key?(:entry_point)
1131
+ @uri = args[:uri] if args.key?(:uri)
1132
+ end
1133
+ end
1134
+
1135
+ # Identifies the event that kicked off the build.
1136
+ class GrafeasV1SlsaProvenance02SlsaInvocation
1137
+ include Google::Apis::Core::Hashable
1138
+
1139
+ # Describes where the config file that kicked off the build came from. This is
1140
+ # effectively a pointer to the source where buildConfig came from.
1141
+ # Corresponds to the JSON property `configSource`
1142
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaConfigSource]
1143
+ attr_accessor :config_source
1144
+
1145
+ #
1146
+ # Corresponds to the JSON property `environment`
1147
+ # @return [Hash<String,Object>]
1148
+ attr_accessor :environment
1149
+
1150
+ #
1151
+ # Corresponds to the JSON property `parameters`
1152
+ # @return [Hash<String,Object>]
1153
+ attr_accessor :parameters
1154
+
1155
+ def initialize(**args)
1156
+ update!(**args)
1157
+ end
1158
+
1159
+ # Update properties of this object
1160
+ def update!(**args)
1161
+ @config_source = args[:config_source] if args.key?(:config_source)
1162
+ @environment = args[:environment] if args.key?(:environment)
1163
+ @parameters = args[:parameters] if args.key?(:parameters)
1164
+ end
1165
+ end
1166
+
1167
+ # The collection of artifacts that influenced the build including sources,
1168
+ # dependencies, build tools, base images, and so on.
1169
+ class GrafeasV1SlsaProvenance02SlsaMaterial
1170
+ include Google::Apis::Core::Hashable
1171
+
1172
+ #
1173
+ # Corresponds to the JSON property `digest`
1174
+ # @return [Hash<String,String>]
1175
+ attr_accessor :digest
1176
+
1177
+ #
1178
+ # Corresponds to the JSON property `uri`
1179
+ # @return [String]
1180
+ attr_accessor :uri
1181
+
1182
+ def initialize(**args)
1183
+ update!(**args)
1184
+ end
1185
+
1186
+ # Update properties of this object
1187
+ def update!(**args)
1188
+ @digest = args[:digest] if args.key?(:digest)
1189
+ @uri = args[:uri] if args.key?(:uri)
1190
+ end
1191
+ end
1192
+
1193
+ # Other properties of the build.
1194
+ class GrafeasV1SlsaProvenance02SlsaMetadata
1195
+ include Google::Apis::Core::Hashable
1196
+
1197
+ #
1198
+ # Corresponds to the JSON property `buildFinishedOn`
1199
+ # @return [String]
1200
+ attr_accessor :build_finished_on
1201
+
1202
+ #
1203
+ # Corresponds to the JSON property `buildInvocationId`
1204
+ # @return [String]
1205
+ attr_accessor :build_invocation_id
1206
+
1207
+ #
1208
+ # Corresponds to the JSON property `buildStartedOn`
1209
+ # @return [String]
1210
+ attr_accessor :build_started_on
1211
+
1212
+ # Indicates that the builder claims certain fields in this message to be
1213
+ # complete.
1214
+ # Corresponds to the JSON property `completeness`
1215
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaCompleteness]
1216
+ attr_accessor :completeness
1217
+
1218
+ #
1219
+ # Corresponds to the JSON property `reproducible`
1220
+ # @return [Boolean]
1221
+ attr_accessor :reproducible
1222
+ alias_method :reproducible?, :reproducible
1223
+
1224
+ def initialize(**args)
1225
+ update!(**args)
1226
+ end
1227
+
1228
+ # Update properties of this object
1229
+ def update!(**args)
1230
+ @build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
1231
+ @build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
1232
+ @build_started_on = args[:build_started_on] if args.key?(:build_started_on)
1233
+ @completeness = args[:completeness] if args.key?(:completeness)
1234
+ @reproducible = args[:reproducible] if args.key?(:reproducible)
1235
+ end
1236
+ end
1237
+
1029
1238
  # Container message for hash values.
1030
1239
  class HashProp
1031
1240
  include Google::Apis::Core::Hashable
@@ -1185,6 +1394,11 @@ module Google
1185
1394
  # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance]
1186
1395
  attr_accessor :slsa_provenance
1187
1396
 
1397
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
1398
+ # Corresponds to the JSON property `slsaProvenance02`
1399
+ # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance02]
1400
+ attr_accessor :slsa_provenance02
1401
+
1188
1402
  #
1189
1403
  # Corresponds to the JSON property `subject`
1190
1404
  # @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
@@ -1200,6 +1414,7 @@ module Google
1200
1414
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1201
1415
  @provenance = args[:provenance] if args.key?(:provenance)
1202
1416
  @slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
1417
+ @slsa_provenance02 = args[:slsa_provenance02] if args.key?(:slsa_provenance02)
1203
1418
  @subject = args[:subject] if args.key?(:subject)
1204
1419
  end
1205
1420
  end
@@ -1251,6 +1466,34 @@ module Google
1251
1466
  end
1252
1467
  end
1253
1468
 
1469
+ # License information.
1470
+ class License
1471
+ include Google::Apis::Core::Hashable
1472
+
1473
+ # Comments
1474
+ # Corresponds to the JSON property `comments`
1475
+ # @return [String]
1476
+ attr_accessor :comments
1477
+
1478
+ # Often a single license can be used to represent the licensing terms. Sometimes
1479
+ # it is necessary to include a choice of one or more licenses or some
1480
+ # combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
1481
+ # 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
1482
+ # Corresponds to the JSON property `expression`
1483
+ # @return [String]
1484
+ attr_accessor :expression
1485
+
1486
+ def initialize(**args)
1487
+ update!(**args)
1488
+ end
1489
+
1490
+ # Update properties of this object
1491
+ def update!(**args)
1492
+ @comments = args[:comments] if args.key?(:comments)
1493
+ @expression = args[:expression] if args.key?(:expression)
1494
+ end
1495
+ end
1496
+
1254
1497
  # The response message for Operations.ListOperations.
1255
1498
  class ListOperationsResponse
1256
1499
  include Google::Apis::Core::Hashable
@@ -1308,8 +1551,7 @@ module Google
1308
1551
  class Location
1309
1552
  include Google::Apis::Core::Hashable
1310
1553
 
1311
- # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
1312
- # denoting the package manager version distributing a package.
1554
+ # Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
1313
1555
  # Corresponds to the JSON property `cpeUri`
1314
1556
  # @return [String]
1315
1557
  attr_accessor :cpe_uri
@@ -1746,6 +1988,11 @@ module Google
1746
1988
  # @return [String]
1747
1989
  attr_accessor :effective_severity
1748
1990
 
1991
+ # The location at which this package was found.
1992
+ # Corresponds to the JSON property `fileLocation`
1993
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation>]
1994
+ attr_accessor :file_location
1995
+
1749
1996
  # Output only. Whether a fix is available for this package.
1750
1997
  # Corresponds to the JSON property `fixAvailable`
1751
1998
  # @return [Boolean]
@@ -1784,6 +2031,7 @@ module Google
1784
2031
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1785
2032
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1786
2033
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2034
+ @file_location = args[:file_location] if args.key?(:file_location)
1787
2035
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1788
2036
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1789
2037
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -1796,25 +2044,59 @@ module Google
1796
2044
  class PackageOccurrence
1797
2045
  include Google::Apis::Core::Hashable
1798
2046
 
1799
- # Required. All of the places within the filesystem versions of this package
1800
- # have been found.
2047
+ # Output only. The CPU architecture for which packages in this distribution
2048
+ # channel were built. Architecture will be blank for language packages.
2049
+ # Corresponds to the JSON property `architecture`
2050
+ # @return [String]
2051
+ attr_accessor :architecture
2052
+
2053
+ # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
2054
+ # denoting the package manager version distributing a package. The cpe_uri will
2055
+ # be blank for language packages.
2056
+ # Corresponds to the JSON property `cpeUri`
2057
+ # @return [String]
2058
+ attr_accessor :cpe_uri
2059
+
2060
+ # License information.
2061
+ # Corresponds to the JSON property `license`
2062
+ # @return [Google::Apis::OndemandscanningV1beta1::License]
2063
+ attr_accessor :license
2064
+
2065
+ # All of the places within the filesystem versions of this package have been
2066
+ # found.
1801
2067
  # Corresponds to the JSON property `location`
1802
2068
  # @return [Array<Google::Apis::OndemandscanningV1beta1::Location>]
1803
2069
  attr_accessor :location
1804
2070
 
1805
- # Output only. The name of the installed package.
2071
+ # Required. Output only. The name of the installed package.
1806
2072
  # Corresponds to the JSON property `name`
1807
2073
  # @return [String]
1808
2074
  attr_accessor :name
1809
2075
 
2076
+ # Output only. The type of package; whether native or non native (e.g., ruby
2077
+ # gems, node.js packages, etc.).
2078
+ # Corresponds to the JSON property `packageType`
2079
+ # @return [String]
2080
+ attr_accessor :package_type
2081
+
2082
+ # Version contains structured information about the version of a package.
2083
+ # Corresponds to the JSON property `version`
2084
+ # @return [Google::Apis::OndemandscanningV1beta1::Version]
2085
+ attr_accessor :version
2086
+
1810
2087
  def initialize(**args)
1811
2088
  update!(**args)
1812
2089
  end
1813
2090
 
1814
2091
  # Update properties of this object
1815
2092
  def update!(**args)
2093
+ @architecture = args[:architecture] if args.key?(:architecture)
2094
+ @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
2095
+ @license = args[:license] if args.key?(:license)
1816
2096
  @location = args[:location] if args.key?(:location)
1817
2097
  @name = args[:name] if args.key?(:name)
2098
+ @package_type = args[:package_type] if args.key?(:package_type)
2099
+ @version = args[:version] if args.key?(:version)
1818
2100
  end
1819
2101
  end
1820
2102
 
@@ -2156,6 +2438,56 @@ module Google
2156
2438
  end
2157
2439
  end
2158
2440
 
2441
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
2442
+ class SlsaProvenance02
2443
+ include Google::Apis::Core::Hashable
2444
+
2445
+ #
2446
+ # Corresponds to the JSON property `buildConfig`
2447
+ # @return [Hash<String,Object>]
2448
+ attr_accessor :build_config
2449
+
2450
+ #
2451
+ # Corresponds to the JSON property `buildType`
2452
+ # @return [String]
2453
+ attr_accessor :build_type
2454
+
2455
+ # Identifies the entity that executed the recipe, which is trusted to have
2456
+ # correctly performed the operation and populated this provenance.
2457
+ # Corresponds to the JSON property `builder`
2458
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaBuilder]
2459
+ attr_accessor :builder
2460
+
2461
+ # Identifies the event that kicked off the build.
2462
+ # Corresponds to the JSON property `invocation`
2463
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaInvocation]
2464
+ attr_accessor :invocation
2465
+
2466
+ #
2467
+ # Corresponds to the JSON property `materials`
2468
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMaterial>]
2469
+ attr_accessor :materials
2470
+
2471
+ # Other properties of the build.
2472
+ # Corresponds to the JSON property `metadata`
2473
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMetadata]
2474
+ attr_accessor :metadata
2475
+
2476
+ def initialize(**args)
2477
+ update!(**args)
2478
+ end
2479
+
2480
+ # Update properties of this object
2481
+ def update!(**args)
2482
+ @build_config = args[:build_config] if args.key?(:build_config)
2483
+ @build_type = args[:build_type] if args.key?(:build_type)
2484
+ @builder = args[:builder] if args.key?(:builder)
2485
+ @invocation = args[:invocation] if args.key?(:invocation)
2486
+ @materials = args[:materials] if args.key?(:materials)
2487
+ @metadata = args[:metadata] if args.key?(:metadata)
2488
+ end
2489
+ end
2490
+
2159
2491
  # Steps taken to build the artifact. For a TaskRun, typically each container
2160
2492
  # corresponds to one step in the recipe.
2161
2493
  class SlsaRecipe
@@ -2522,9 +2854,8 @@ module Google
2522
2854
 
2523
2855
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2524
2856
  # cvss/specification-document This is a message we will try to use for storing
2525
- # multiple versions of CVSS. The intention is that as new versions of CVSS
2526
- # scores get added, we will be able to modify this message rather than adding
2527
- # new protos for each new version of the score.
2857
+ # various versions of CVSS rather than making a separate proto for storing a
2858
+ # specific version.
2528
2859
  # Corresponds to the JSON property `cvssv3`
2529
2860
  # @return [Google::Apis::OndemandscanningV1beta1::Cvss]
2530
2861
  attr_accessor :cvssv3
@@ -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.20.0"
19
+ GEM_VERSION = "0.23.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220425"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,48 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class GrafeasV1FileLocation
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GrafeasV1SlsaProvenance02SlsaBuilder
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GrafeasV1SlsaProvenance02SlsaInvocation
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GrafeasV1SlsaProvenance02SlsaMaterial
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GrafeasV1SlsaProvenance02SlsaMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
193
235
  class HashProp
194
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
237
 
@@ -232,6 +274,12 @@ module Google
232
274
  include Google::Apis::Core::JsonObjectSupport
233
275
  end
234
276
 
277
+ class License
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
235
283
  class ListOperationsResponse
236
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
285
 
@@ -352,6 +400,12 @@ module Google
352
400
  include Google::Apis::Core::JsonObjectSupport
353
401
  end
354
402
 
403
+ class SlsaProvenance02
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
355
409
  class SlsaRecipe
356
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
411
 
@@ -691,6 +745,68 @@ module Google
691
745
  end
692
746
  end
693
747
 
748
+ class GrafeasV1FileLocation
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :file_path, as: 'filePath'
752
+ end
753
+ end
754
+
755
+ class GrafeasV1SlsaProvenance02SlsaBuilder
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :id, as: 'id'
759
+ end
760
+ end
761
+
762
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :environment, as: 'environment'
766
+ property :materials, as: 'materials'
767
+ property :parameters, as: 'parameters'
768
+ end
769
+ end
770
+
771
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ hash :digest, as: 'digest'
775
+ property :entry_point, as: 'entryPoint'
776
+ property :uri, as: 'uri'
777
+ end
778
+ end
779
+
780
+ class GrafeasV1SlsaProvenance02SlsaInvocation
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :config_source, as: 'configSource', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaConfigSource, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaConfigSource::Representation
784
+
785
+ hash :environment, as: 'environment'
786
+ hash :parameters, as: 'parameters'
787
+ end
788
+ end
789
+
790
+ class GrafeasV1SlsaProvenance02SlsaMaterial
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ hash :digest, as: 'digest'
794
+ property :uri, as: 'uri'
795
+ end
796
+ end
797
+
798
+ class GrafeasV1SlsaProvenance02SlsaMetadata
799
+ # @private
800
+ class Representation < Google::Apis::Core::JsonRepresentation
801
+ property :build_finished_on, as: 'buildFinishedOn'
802
+ property :build_invocation_id, as: 'buildInvocationId'
803
+ property :build_started_on, as: 'buildStartedOn'
804
+ property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaCompleteness::Representation
805
+
806
+ property :reproducible, as: 'reproducible'
807
+ end
808
+ end
809
+
694
810
  class HashProp
695
811
  # @private
696
812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -741,6 +857,8 @@ module Google
741
857
 
742
858
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance::Representation
743
859
 
860
+ property :slsa_provenance02, as: 'slsaProvenance02', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance02, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance02::Representation
861
+
744
862
  collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
745
863
 
746
864
  end
@@ -761,6 +879,14 @@ module Google
761
879
  end
762
880
  end
763
881
 
882
+ class License
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :comments, as: 'comments'
886
+ property :expression, as: 'expression'
887
+ end
888
+ end
889
+
764
890
  class ListOperationsResponse
765
891
  # @private
766
892
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -889,6 +1015,8 @@ module Google
889
1015
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
890
1016
 
891
1017
  property :effective_severity, as: 'effectiveSeverity'
1018
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1FileLocation::Representation
1019
+
892
1020
  property :fix_available, as: 'fixAvailable'
893
1021
  property :fixed_cpe_uri, as: 'fixedCpeUri'
894
1022
  property :fixed_package, as: 'fixedPackage'
@@ -901,9 +1029,16 @@ module Google
901
1029
  class PackageOccurrence
902
1030
  # @private
903
1031
  class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :architecture, as: 'architecture'
1033
+ property :cpe_uri, as: 'cpeUri'
1034
+ property :license, as: 'license', class: Google::Apis::OndemandscanningV1beta1::License, decorator: Google::Apis::OndemandscanningV1beta1::License::Representation
1035
+
904
1036
  collection :location, as: 'location', class: Google::Apis::OndemandscanningV1beta1::Location, decorator: Google::Apis::OndemandscanningV1beta1::Location::Representation
905
1037
 
906
1038
  property :name, as: 'name'
1039
+ property :package_type, as: 'packageType'
1040
+ property :version, as: 'version', class: Google::Apis::OndemandscanningV1beta1::Version, decorator: Google::Apis::OndemandscanningV1beta1::Version::Representation
1041
+
907
1042
  end
908
1043
  end
909
1044
 
@@ -993,6 +1128,22 @@ module Google
993
1128
  end
994
1129
  end
995
1130
 
1131
+ class SlsaProvenance02
1132
+ # @private
1133
+ class Representation < Google::Apis::Core::JsonRepresentation
1134
+ hash :build_config, as: 'buildConfig'
1135
+ property :build_type, as: 'buildType'
1136
+ property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaBuilder, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaBuilder::Representation
1137
+
1138
+ property :invocation, as: 'invocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaInvocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaInvocation::Representation
1139
+
1140
+ collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMaterial, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMaterial::Representation
1141
+
1142
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMetadata, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMetadata::Representation
1143
+
1144
+ end
1145
+ end
1146
+
996
1147
  class SlsaRecipe
997
1148
  # @private
998
1149
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []