google-apis-ondemandscanning_v1 0.18.0 → 0.21.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: 158c3a77ad4a7bf4888776084b0d8d18f30eb4cfaa4c7ea0edcef87194a9f849
4
- data.tar.gz: 6650c50ba838ed13636bea8e535a19ffcbe5b978d798f84a0b56c8da4f72001a
3
+ metadata.gz: c6dbc2a25afea085509fac6f9846521345e8cc69feb50316194458fd847f2c31
4
+ data.tar.gz: 1ad11e9842f6b66566fef0476363b31084e65cfeca40737d14fe005251ab4c3a
5
5
  SHA512:
6
- metadata.gz: 60e1fc7230114f8928182fc169796da91e98fe1d94552cb78fff230560c8a1072edd253b9450aa2624e19e5c772203fb87327b14cccd2946fbaa316cd1763631
7
- data.tar.gz: 751419de761ffc778d5432ed2d6e07c7d387212634f929406043f571cee71ac8d4553d2ef39836e279fc44faa9e5c86c7aa217ede794f02aa472d6bba68803b7
6
+ metadata.gz: 293117b098052e49ea5079e683c8f4e9fb5b1a2fbdf15a8765eb025fc99bc9dec3f7fd255a54306dfe10a1a0573d65ac2f6d73312a62ebeaebdba72987f1c25b
7
+ data.tar.gz: 39c78986c2f0d64bbe6e1e443789bbc6d0f81dd181e8e7448d514e24042a0f0bec413450a88e836c489b3b65cbafc930931b520317153f652e843ff99010d17f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.21.0 (2022-05-19)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.20.0 (2022-05-12)
8
+
9
+ * Regenerated from discovery document revision 20220509
10
+
11
+ ### v0.19.0 (2022-05-05)
12
+
13
+ * Regenerated from discovery document revision 20220430
14
+
3
15
  ### v0.18.0 (2022-04-28)
4
16
 
5
17
  * Regenerated from discovery document revision 20220425
@@ -421,9 +421,8 @@ module Google
421
421
 
422
422
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
423
423
  # cvss/specification-document This is a message we will try to use for storing
424
- # multiple versions of CVSS. The intention is that as new versions of CVSS
425
- # scores get added, we will be able to modify this message rather than adding
426
- # new protos for each new version of the score.
424
+ # various versions of CVSS rather than making a separate proto for storing a
425
+ # specific version.
427
426
  class Cvss
428
427
  include Google::Apis::Core::Hashable
429
428
 
@@ -1034,6 +1033,216 @@ module Google
1034
1033
  end
1035
1034
  end
1036
1035
 
1036
+ # Indicates the location at which a package was found.
1037
+ class GrafeasV1FileLocation
1038
+ include Google::Apis::Core::Hashable
1039
+
1040
+ # For jars that are contained inside .war files, this filepath can indicate the
1041
+ # path to war file combined with the path to jar file.
1042
+ # Corresponds to the JSON property `filePath`
1043
+ # @return [String]
1044
+ attr_accessor :file_path
1045
+
1046
+ def initialize(**args)
1047
+ update!(**args)
1048
+ end
1049
+
1050
+ # Update properties of this object
1051
+ def update!(**args)
1052
+ @file_path = args[:file_path] if args.key?(:file_path)
1053
+ end
1054
+ end
1055
+
1056
+ # Identifies the entity that executed the recipe, which is trusted to have
1057
+ # correctly performed the operation and populated this provenance.
1058
+ class GrafeasV1SlsaProvenance02SlsaBuilder
1059
+ include Google::Apis::Core::Hashable
1060
+
1061
+ #
1062
+ # Corresponds to the JSON property `id`
1063
+ # @return [String]
1064
+ attr_accessor :id
1065
+
1066
+ def initialize(**args)
1067
+ update!(**args)
1068
+ end
1069
+
1070
+ # Update properties of this object
1071
+ def update!(**args)
1072
+ @id = args[:id] if args.key?(:id)
1073
+ end
1074
+ end
1075
+
1076
+ # Indicates that the builder claims certain fields in this message to be
1077
+ # complete.
1078
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
1079
+ include Google::Apis::Core::Hashable
1080
+
1081
+ #
1082
+ # Corresponds to the JSON property `environment`
1083
+ # @return [Boolean]
1084
+ attr_accessor :environment
1085
+ alias_method :environment?, :environment
1086
+
1087
+ #
1088
+ # Corresponds to the JSON property `materials`
1089
+ # @return [Boolean]
1090
+ attr_accessor :materials
1091
+ alias_method :materials?, :materials
1092
+
1093
+ #
1094
+ # Corresponds to the JSON property `parameters`
1095
+ # @return [Boolean]
1096
+ attr_accessor :parameters
1097
+ alias_method :parameters?, :parameters
1098
+
1099
+ def initialize(**args)
1100
+ update!(**args)
1101
+ end
1102
+
1103
+ # Update properties of this object
1104
+ def update!(**args)
1105
+ @environment = args[:environment] if args.key?(:environment)
1106
+ @materials = args[:materials] if args.key?(:materials)
1107
+ @parameters = args[:parameters] if args.key?(:parameters)
1108
+ end
1109
+ end
1110
+
1111
+ # Describes where the config file that kicked off the build came from. This is
1112
+ # effectively a pointer to the source where buildConfig came from.
1113
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
1114
+ include Google::Apis::Core::Hashable
1115
+
1116
+ #
1117
+ # Corresponds to the JSON property `digest`
1118
+ # @return [Hash<String,String>]
1119
+ attr_accessor :digest
1120
+
1121
+ #
1122
+ # Corresponds to the JSON property `entryPoint`
1123
+ # @return [String]
1124
+ attr_accessor :entry_point
1125
+
1126
+ #
1127
+ # Corresponds to the JSON property `uri`
1128
+ # @return [String]
1129
+ attr_accessor :uri
1130
+
1131
+ def initialize(**args)
1132
+ update!(**args)
1133
+ end
1134
+
1135
+ # Update properties of this object
1136
+ def update!(**args)
1137
+ @digest = args[:digest] if args.key?(:digest)
1138
+ @entry_point = args[:entry_point] if args.key?(:entry_point)
1139
+ @uri = args[:uri] if args.key?(:uri)
1140
+ end
1141
+ end
1142
+
1143
+ # Identifies the event that kicked off the build.
1144
+ class GrafeasV1SlsaProvenance02SlsaInvocation
1145
+ include Google::Apis::Core::Hashable
1146
+
1147
+ # Describes where the config file that kicked off the build came from. This is
1148
+ # effectively a pointer to the source where buildConfig came from.
1149
+ # Corresponds to the JSON property `configSource`
1150
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaConfigSource]
1151
+ attr_accessor :config_source
1152
+
1153
+ #
1154
+ # Corresponds to the JSON property `environment`
1155
+ # @return [Hash<String,Object>]
1156
+ attr_accessor :environment
1157
+
1158
+ #
1159
+ # Corresponds to the JSON property `parameters`
1160
+ # @return [Hash<String,Object>]
1161
+ attr_accessor :parameters
1162
+
1163
+ def initialize(**args)
1164
+ update!(**args)
1165
+ end
1166
+
1167
+ # Update properties of this object
1168
+ def update!(**args)
1169
+ @config_source = args[:config_source] if args.key?(:config_source)
1170
+ @environment = args[:environment] if args.key?(:environment)
1171
+ @parameters = args[:parameters] if args.key?(:parameters)
1172
+ end
1173
+ end
1174
+
1175
+ # The collection of artifacts that influenced the build including sources,
1176
+ # dependencies, build tools, base images, and so on.
1177
+ class GrafeasV1SlsaProvenance02SlsaMaterial
1178
+ include Google::Apis::Core::Hashable
1179
+
1180
+ #
1181
+ # Corresponds to the JSON property `digest`
1182
+ # @return [Hash<String,String>]
1183
+ attr_accessor :digest
1184
+
1185
+ #
1186
+ # Corresponds to the JSON property `uri`
1187
+ # @return [String]
1188
+ attr_accessor :uri
1189
+
1190
+ def initialize(**args)
1191
+ update!(**args)
1192
+ end
1193
+
1194
+ # Update properties of this object
1195
+ def update!(**args)
1196
+ @digest = args[:digest] if args.key?(:digest)
1197
+ @uri = args[:uri] if args.key?(:uri)
1198
+ end
1199
+ end
1200
+
1201
+ # Other properties of the build.
1202
+ class GrafeasV1SlsaProvenance02SlsaMetadata
1203
+ include Google::Apis::Core::Hashable
1204
+
1205
+ #
1206
+ # Corresponds to the JSON property `buildFinishedOn`
1207
+ # @return [String]
1208
+ attr_accessor :build_finished_on
1209
+
1210
+ #
1211
+ # Corresponds to the JSON property `buildInvocationId`
1212
+ # @return [String]
1213
+ attr_accessor :build_invocation_id
1214
+
1215
+ #
1216
+ # Corresponds to the JSON property `buildStartedOn`
1217
+ # @return [String]
1218
+ attr_accessor :build_started_on
1219
+
1220
+ # Indicates that the builder claims certain fields in this message to be
1221
+ # complete.
1222
+ # Corresponds to the JSON property `completeness`
1223
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaCompleteness]
1224
+ attr_accessor :completeness
1225
+
1226
+ #
1227
+ # Corresponds to the JSON property `reproducible`
1228
+ # @return [Boolean]
1229
+ attr_accessor :reproducible
1230
+ alias_method :reproducible?, :reproducible
1231
+
1232
+ def initialize(**args)
1233
+ update!(**args)
1234
+ end
1235
+
1236
+ # Update properties of this object
1237
+ def update!(**args)
1238
+ @build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
1239
+ @build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
1240
+ @build_started_on = args[:build_started_on] if args.key?(:build_started_on)
1241
+ @completeness = args[:completeness] if args.key?(:completeness)
1242
+ @reproducible = args[:reproducible] if args.key?(:reproducible)
1243
+ end
1244
+ end
1245
+
1037
1246
  # Container message for hash values.
1038
1247
  class HashProp
1039
1248
  include Google::Apis::Core::Hashable
@@ -1193,6 +1402,11 @@ module Google
1193
1402
  # @return [Google::Apis::OndemandscanningV1::SlsaProvenance]
1194
1403
  attr_accessor :slsa_provenance
1195
1404
 
1405
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
1406
+ # Corresponds to the JSON property `slsaProvenance02`
1407
+ # @return [Google::Apis::OndemandscanningV1::SlsaProvenance02]
1408
+ attr_accessor :slsa_provenance02
1409
+
1196
1410
  #
1197
1411
  # Corresponds to the JSON property `subject`
1198
1412
  # @return [Array<Google::Apis::OndemandscanningV1::Subject>]
@@ -1208,6 +1422,7 @@ module Google
1208
1422
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1209
1423
  @provenance = args[:provenance] if args.key?(:provenance)
1210
1424
  @slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
1425
+ @slsa_provenance02 = args[:slsa_provenance02] if args.key?(:slsa_provenance02)
1211
1426
  @subject = args[:subject] if args.key?(:subject)
1212
1427
  end
1213
1428
  end
@@ -1259,6 +1474,34 @@ module Google
1259
1474
  end
1260
1475
  end
1261
1476
 
1477
+ # License information.
1478
+ class License
1479
+ include Google::Apis::Core::Hashable
1480
+
1481
+ # Comments
1482
+ # Corresponds to the JSON property `comments`
1483
+ # @return [String]
1484
+ attr_accessor :comments
1485
+
1486
+ # Often a single license can be used to represent the licensing terms. Sometimes
1487
+ # it is necessary to include a choice of one or more licenses or some
1488
+ # combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
1489
+ # 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
1490
+ # Corresponds to the JSON property `expression`
1491
+ # @return [String]
1492
+ attr_accessor :expression
1493
+
1494
+ def initialize(**args)
1495
+ update!(**args)
1496
+ end
1497
+
1498
+ # Update properties of this object
1499
+ def update!(**args)
1500
+ @comments = args[:comments] if args.key?(:comments)
1501
+ @expression = args[:expression] if args.key?(:expression)
1502
+ end
1503
+ end
1504
+
1262
1505
  # The response message for Operations.ListOperations.
1263
1506
  class ListOperationsResponse
1264
1507
  include Google::Apis::Core::Hashable
@@ -1316,8 +1559,7 @@ module Google
1316
1559
  class Location
1317
1560
  include Google::Apis::Core::Hashable
1318
1561
 
1319
- # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
1320
- # denoting the package manager version distributing a package.
1562
+ # Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
1321
1563
  # Corresponds to the JSON property `cpeUri`
1322
1564
  # @return [String]
1323
1565
  attr_accessor :cpe_uri
@@ -1754,6 +1996,11 @@ module Google
1754
1996
  # @return [String]
1755
1997
  attr_accessor :effective_severity
1756
1998
 
1999
+ # The location at which this package was found.
2000
+ # Corresponds to the JSON property `fileLocation`
2001
+ # @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1FileLocation>]
2002
+ attr_accessor :file_location
2003
+
1757
2004
  # Output only. Whether a fix is available for this package.
1758
2005
  # Corresponds to the JSON property `fixAvailable`
1759
2006
  # @return [Boolean]
@@ -1792,6 +2039,7 @@ module Google
1792
2039
  @affected_package = args[:affected_package] if args.key?(:affected_package)
1793
2040
  @affected_version = args[:affected_version] if args.key?(:affected_version)
1794
2041
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
2042
+ @file_location = args[:file_location] if args.key?(:file_location)
1795
2043
  @fix_available = args[:fix_available] if args.key?(:fix_available)
1796
2044
  @fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
1797
2045
  @fixed_package = args[:fixed_package] if args.key?(:fixed_package)
@@ -1804,25 +2052,59 @@ module Google
1804
2052
  class PackageOccurrence
1805
2053
  include Google::Apis::Core::Hashable
1806
2054
 
1807
- # Required. All of the places within the filesystem versions of this package
1808
- # have been found.
2055
+ # Output only. The CPU architecture for which packages in this distribution
2056
+ # channel were built. Architecture will be blank for language packages.
2057
+ # Corresponds to the JSON property `architecture`
2058
+ # @return [String]
2059
+ attr_accessor :architecture
2060
+
2061
+ # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
2062
+ # denoting the package manager version distributing a package. The cpe_uri will
2063
+ # be blank for language packages.
2064
+ # Corresponds to the JSON property `cpeUri`
2065
+ # @return [String]
2066
+ attr_accessor :cpe_uri
2067
+
2068
+ # License information.
2069
+ # Corresponds to the JSON property `license`
2070
+ # @return [Google::Apis::OndemandscanningV1::License]
2071
+ attr_accessor :license
2072
+
2073
+ # All of the places within the filesystem versions of this package have been
2074
+ # found.
1809
2075
  # Corresponds to the JSON property `location`
1810
2076
  # @return [Array<Google::Apis::OndemandscanningV1::Location>]
1811
2077
  attr_accessor :location
1812
2078
 
1813
- # Output only. The name of the installed package.
2079
+ # Required. Output only. The name of the installed package.
1814
2080
  # Corresponds to the JSON property `name`
1815
2081
  # @return [String]
1816
2082
  attr_accessor :name
1817
2083
 
2084
+ # Output only. The type of package; whether native or non native (e.g., ruby
2085
+ # gems, node.js packages, etc.).
2086
+ # Corresponds to the JSON property `packageType`
2087
+ # @return [String]
2088
+ attr_accessor :package_type
2089
+
2090
+ # Version contains structured information about the version of a package.
2091
+ # Corresponds to the JSON property `version`
2092
+ # @return [Google::Apis::OndemandscanningV1::Version]
2093
+ attr_accessor :version
2094
+
1818
2095
  def initialize(**args)
1819
2096
  update!(**args)
1820
2097
  end
1821
2098
 
1822
2099
  # Update properties of this object
1823
2100
  def update!(**args)
2101
+ @architecture = args[:architecture] if args.key?(:architecture)
2102
+ @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
2103
+ @license = args[:license] if args.key?(:license)
1824
2104
  @location = args[:location] if args.key?(:location)
1825
2105
  @name = args[:name] if args.key?(:name)
2106
+ @package_type = args[:package_type] if args.key?(:package_type)
2107
+ @version = args[:version] if args.key?(:version)
1826
2108
  end
1827
2109
  end
1828
2110
 
@@ -2164,6 +2446,56 @@ module Google
2164
2446
  end
2165
2447
  end
2166
2448
 
2449
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
2450
+ class SlsaProvenance02
2451
+ include Google::Apis::Core::Hashable
2452
+
2453
+ #
2454
+ # Corresponds to the JSON property `buildConfig`
2455
+ # @return [Hash<String,Object>]
2456
+ attr_accessor :build_config
2457
+
2458
+ #
2459
+ # Corresponds to the JSON property `buildType`
2460
+ # @return [String]
2461
+ attr_accessor :build_type
2462
+
2463
+ # Identifies the entity that executed the recipe, which is trusted to have
2464
+ # correctly performed the operation and populated this provenance.
2465
+ # Corresponds to the JSON property `builder`
2466
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaBuilder]
2467
+ attr_accessor :builder
2468
+
2469
+ # Identifies the event that kicked off the build.
2470
+ # Corresponds to the JSON property `invocation`
2471
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaInvocation]
2472
+ attr_accessor :invocation
2473
+
2474
+ #
2475
+ # Corresponds to the JSON property `materials`
2476
+ # @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMaterial>]
2477
+ attr_accessor :materials
2478
+
2479
+ # Other properties of the build.
2480
+ # Corresponds to the JSON property `metadata`
2481
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMetadata]
2482
+ attr_accessor :metadata
2483
+
2484
+ def initialize(**args)
2485
+ update!(**args)
2486
+ end
2487
+
2488
+ # Update properties of this object
2489
+ def update!(**args)
2490
+ @build_config = args[:build_config] if args.key?(:build_config)
2491
+ @build_type = args[:build_type] if args.key?(:build_type)
2492
+ @builder = args[:builder] if args.key?(:builder)
2493
+ @invocation = args[:invocation] if args.key?(:invocation)
2494
+ @materials = args[:materials] if args.key?(:materials)
2495
+ @metadata = args[:metadata] if args.key?(:metadata)
2496
+ end
2497
+ end
2498
+
2167
2499
  # Steps taken to build the artifact. For a TaskRun, typically each container
2168
2500
  # corresponds to one step in the recipe.
2169
2501
  class SlsaRecipe
@@ -2530,9 +2862,8 @@ module Google
2530
2862
 
2531
2863
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
2532
2864
  # cvss/specification-document This is a message we will try to use for storing
2533
- # multiple versions of CVSS. The intention is that as new versions of CVSS
2534
- # scores get added, we will be able to modify this message rather than adding
2535
- # new protos for each new version of the score.
2865
+ # various versions of CVSS rather than making a separate proto for storing a
2866
+ # specific version.
2536
2867
  # Corresponds to the JSON property `cvssv3`
2537
2868
  # @return [Google::Apis::OndemandscanningV1::Cvss]
2538
2869
  attr_accessor :cvssv3
@@ -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.18.0"
19
+ GEM_VERSION = "0.21.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
 
@@ -692,6 +746,68 @@ module Google
692
746
  end
693
747
  end
694
748
 
749
+ class GrafeasV1FileLocation
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :file_path, as: 'filePath'
753
+ end
754
+ end
755
+
756
+ class GrafeasV1SlsaProvenance02SlsaBuilder
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :id, as: 'id'
760
+ end
761
+ end
762
+
763
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :environment, as: 'environment'
767
+ property :materials, as: 'materials'
768
+ property :parameters, as: 'parameters'
769
+ end
770
+ end
771
+
772
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ hash :digest, as: 'digest'
776
+ property :entry_point, as: 'entryPoint'
777
+ property :uri, as: 'uri'
778
+ end
779
+ end
780
+
781
+ class GrafeasV1SlsaProvenance02SlsaInvocation
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :config_source, as: 'configSource', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaConfigSource, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaConfigSource::Representation
785
+
786
+ hash :environment, as: 'environment'
787
+ hash :parameters, as: 'parameters'
788
+ end
789
+ end
790
+
791
+ class GrafeasV1SlsaProvenance02SlsaMaterial
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ hash :digest, as: 'digest'
795
+ property :uri, as: 'uri'
796
+ end
797
+ end
798
+
799
+ class GrafeasV1SlsaProvenance02SlsaMetadata
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :build_finished_on, as: 'buildFinishedOn'
803
+ property :build_invocation_id, as: 'buildInvocationId'
804
+ property :build_started_on, as: 'buildStartedOn'
805
+ property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaCompleteness::Representation
806
+
807
+ property :reproducible, as: 'reproducible'
808
+ end
809
+ end
810
+
695
811
  class HashProp
696
812
  # @private
697
813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -742,6 +858,8 @@ module Google
742
858
 
743
859
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1::SlsaProvenance::Representation
744
860
 
861
+ property :slsa_provenance02, as: 'slsaProvenance02', class: Google::Apis::OndemandscanningV1::SlsaProvenance02, decorator: Google::Apis::OndemandscanningV1::SlsaProvenance02::Representation
862
+
745
863
  collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1::Subject, decorator: Google::Apis::OndemandscanningV1::Subject::Representation
746
864
 
747
865
  end
@@ -762,6 +880,14 @@ module Google
762
880
  end
763
881
  end
764
882
 
883
+ class License
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ property :comments, as: 'comments'
887
+ property :expression, as: 'expression'
888
+ end
889
+ end
890
+
765
891
  class ListOperationsResponse
766
892
  # @private
767
893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -890,6 +1016,8 @@ module Google
890
1016
  property :affected_version, as: 'affectedVersion', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
891
1017
 
892
1018
  property :effective_severity, as: 'effectiveSeverity'
1019
+ collection :file_location, as: 'fileLocation', class: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1FileLocation::Representation
1020
+
893
1021
  property :fix_available, as: 'fixAvailable'
894
1022
  property :fixed_cpe_uri, as: 'fixedCpeUri'
895
1023
  property :fixed_package, as: 'fixedPackage'
@@ -902,9 +1030,16 @@ module Google
902
1030
  class PackageOccurrence
903
1031
  # @private
904
1032
  class Representation < Google::Apis::Core::JsonRepresentation
1033
+ property :architecture, as: 'architecture'
1034
+ property :cpe_uri, as: 'cpeUri'
1035
+ property :license, as: 'license', class: Google::Apis::OndemandscanningV1::License, decorator: Google::Apis::OndemandscanningV1::License::Representation
1036
+
905
1037
  collection :location, as: 'location', class: Google::Apis::OndemandscanningV1::Location, decorator: Google::Apis::OndemandscanningV1::Location::Representation
906
1038
 
907
1039
  property :name, as: 'name'
1040
+ property :package_type, as: 'packageType'
1041
+ property :version, as: 'version', class: Google::Apis::OndemandscanningV1::Version, decorator: Google::Apis::OndemandscanningV1::Version::Representation
1042
+
908
1043
  end
909
1044
  end
910
1045
 
@@ -994,6 +1129,22 @@ module Google
994
1129
  end
995
1130
  end
996
1131
 
1132
+ class SlsaProvenance02
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ hash :build_config, as: 'buildConfig'
1136
+ property :build_type, as: 'buildType'
1137
+ property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaBuilder, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaBuilder::Representation
1138
+
1139
+ property :invocation, as: 'invocation', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaInvocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaInvocation::Representation
1140
+
1141
+ collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMaterial, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMaterial::Representation
1142
+
1143
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMetadata, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMetadata::Representation
1144
+
1145
+ end
1146
+ end
1147
+
997
1148
  class SlsaRecipe
998
1149
  # @private
999
1150
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.21.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ondemandscanning_v1
63
63
  post_install_message:
64
64
  rdoc_options: []