google-apis-ondemandscanning_v1beta1 0.21.0 → 0.24.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: 8b2ae2aaf33df3f4daeb1b348238272be509d5fe78f2d71bb95e9d5295c43f45
4
- data.tar.gz: c76e887740a926d30b7dab7820160abc1e0dbcbbb119c537e425775815db4869
3
+ metadata.gz: 3139a8245bd06e01ceb040d239f05e03bd3d349ea371bff0cc8dee17fb3c0737
4
+ data.tar.gz: cde16a3c2e08400c69e6e595e5eac19d854df4515eae3b11bae256038031a3e9
5
5
  SHA512:
6
- metadata.gz: 2afc16d58067e0bc4bf539679a4c059add225fccbb4b2b42b44d8bdc5c03eb0e8216e50f6414a7e0cb88f997dbff7c26b4cbcc96fec5472b8e26792f36fc81b6
7
- data.tar.gz: 98b55741c7dfa5f5e01169a7aa7e26de00f5520e3b8bced6e2ac58d0999c0be39434632b5b66400cf0df2234eb6252232869b848a351307a596de0d075dab831
6
+ metadata.gz: c2752738f2a4bd26564f1e87aeeb301eba5ba38dbe1e80003ccf60f7e0074f8b8da3258de0fefd961eb4f9e34e151d7ea92233890fc334422beda13788c512da
7
+ data.tar.gz: d447726d0914a3668ab9dfa02f2c707123d73a2d3f147f7389d2fa88753c2eb1fbe15933a55e4c4edb56691b633e111d6da7b26d800b8f63734276963acfe988
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.24.0 (2022-05-25)
4
+
5
+ * Regenerated from discovery document revision 20220522
6
+
7
+ ### v0.23.0 (2022-05-19)
8
+
9
+ * Regenerated from discovery document revision 20220513
10
+
11
+ ### v0.22.0 (2022-05-11)
12
+
13
+ * Regenerated from discovery document revision 20220509
14
+
3
15
  ### v0.21.0 (2022-05-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220430
@@ -1045,6 +1045,196 @@ module Google
1045
1045
  end
1046
1046
  end
1047
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 GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
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 GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
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 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
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 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
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::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]
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 GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
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 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
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::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]
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
+
1048
1238
  # Container message for hash values.
1049
1239
  class HashProp
1050
1240
  include Google::Apis::Core::Hashable
@@ -1204,6 +1394,11 @@ module Google
1204
1394
  # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance]
1205
1395
  attr_accessor :slsa_provenance
1206
1396
 
1397
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
1398
+ # Corresponds to the JSON property `slsaProvenanceZeroTwo`
1399
+ # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenanceZeroTwo]
1400
+ attr_accessor :slsa_provenance_zero_two
1401
+
1207
1402
  #
1208
1403
  # Corresponds to the JSON property `subject`
1209
1404
  # @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
@@ -1219,6 +1414,7 @@ module Google
1219
1414
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1220
1415
  @provenance = args[:provenance] if args.key?(:provenance)
1221
1416
  @slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
1417
+ @slsa_provenance_zero_two = args[:slsa_provenance_zero_two] if args.key?(:slsa_provenance_zero_two)
1222
1418
  @subject = args[:subject] if args.key?(:subject)
1223
1419
  end
1224
1420
  end
@@ -1270,6 +1466,34 @@ module Google
1270
1466
  end
1271
1467
  end
1272
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
+
1273
1497
  # The response message for Operations.ListOperations.
1274
1498
  class ListOperationsResponse
1275
1499
  include Google::Apis::Core::Hashable
@@ -1327,8 +1551,7 @@ module Google
1327
1551
  class Location
1328
1552
  include Google::Apis::Core::Hashable
1329
1553
 
1330
- # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
1331
- # denoting the package manager version distributing a package.
1554
+ # Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
1332
1555
  # Corresponds to the JSON property `cpeUri`
1333
1556
  # @return [String]
1334
1557
  attr_accessor :cpe_uri
@@ -1821,25 +2044,59 @@ module Google
1821
2044
  class PackageOccurrence
1822
2045
  include Google::Apis::Core::Hashable
1823
2046
 
1824
- # Required. All of the places within the filesystem versions of this package
1825
- # 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.
1826
2067
  # Corresponds to the JSON property `location`
1827
2068
  # @return [Array<Google::Apis::OndemandscanningV1beta1::Location>]
1828
2069
  attr_accessor :location
1829
2070
 
1830
- # Output only. The name of the installed package.
2071
+ # Required. Output only. The name of the installed package.
1831
2072
  # Corresponds to the JSON property `name`
1832
2073
  # @return [String]
1833
2074
  attr_accessor :name
1834
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
+
1835
2087
  def initialize(**args)
1836
2088
  update!(**args)
1837
2089
  end
1838
2090
 
1839
2091
  # Update properties of this object
1840
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)
1841
2096
  @location = args[:location] if args.key?(:location)
1842
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)
1843
2100
  end
1844
2101
  end
1845
2102
 
@@ -2181,6 +2438,56 @@ module Google
2181
2438
  end
2182
2439
  end
2183
2440
 
2441
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
2442
+ class SlsaProvenanceZeroTwo
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::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]
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::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]
2464
+ attr_accessor :invocation
2465
+
2466
+ #
2467
+ # Corresponds to the JSON property `materials`
2468
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial>]
2469
+ attr_accessor :materials
2470
+
2471
+ # Other properties of the build.
2472
+ # Corresponds to the JSON property `metadata`
2473
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]
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
+
2184
2491
  # Steps taken to build the artifact. For a TaskRun, typically each container
2185
2492
  # corresponds to one step in the recipe.
2186
2493
  class SlsaRecipe
@@ -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.21.0"
19
+ GEM_VERSION = "0.24.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 = "20220430"
25
+ REVISION = "20220522"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,42 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
199
235
  class HashProp
200
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
237
 
@@ -238,6 +274,12 @@ module Google
238
274
  include Google::Apis::Core::JsonObjectSupport
239
275
  end
240
276
 
277
+ class License
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
241
283
  class ListOperationsResponse
242
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
285
 
@@ -358,6 +400,12 @@ module Google
358
400
  include Google::Apis::Core::JsonObjectSupport
359
401
  end
360
402
 
403
+ class SlsaProvenanceZeroTwo
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
361
409
  class SlsaRecipe
362
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
411
 
@@ -704,6 +752,61 @@ module Google
704
752
  end
705
753
  end
706
754
 
755
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :id, as: 'id'
759
+ end
760
+ end
761
+
762
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
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 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
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 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :config_source, as: 'configSource', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource::Representation
784
+
785
+ hash :environment, as: 'environment'
786
+ hash :parameters, as: 'parameters'
787
+ end
788
+ end
789
+
790
+ class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
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 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
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::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness::Representation
805
+
806
+ property :reproducible, as: 'reproducible'
807
+ end
808
+ end
809
+
707
810
  class HashProp
708
811
  # @private
709
812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -754,6 +857,8 @@ module Google
754
857
 
755
858
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance::Representation
756
859
 
860
+ property :slsa_provenance_zero_two, as: 'slsaProvenanceZeroTwo', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenanceZeroTwo, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenanceZeroTwo::Representation
861
+
757
862
  collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
758
863
 
759
864
  end
@@ -774,6 +879,14 @@ module Google
774
879
  end
775
880
  end
776
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
+
777
890
  class ListOperationsResponse
778
891
  # @private
779
892
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -916,9 +1029,16 @@ module Google
916
1029
  class PackageOccurrence
917
1030
  # @private
918
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
+
919
1036
  collection :location, as: 'location', class: Google::Apis::OndemandscanningV1beta1::Location, decorator: Google::Apis::OndemandscanningV1beta1::Location::Representation
920
1037
 
921
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
+
922
1042
  end
923
1043
  end
924
1044
 
@@ -1008,6 +1128,22 @@ module Google
1008
1128
  end
1009
1129
  end
1010
1130
 
1131
+ class SlsaProvenanceZeroTwo
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::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder::Representation
1137
+
1138
+ property :invocation, as: 'invocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation::Representation
1139
+
1140
+ collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial::Representation
1141
+
1142
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata::Representation
1143
+
1144
+ end
1145
+ end
1146
+
1011
1147
  class SlsaRecipe
1012
1148
  # @private
1013
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.21.0
4
+ version: 0.24.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-09 00:00:00.000000000 Z
11
+ date: 2022-05-30 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.24.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for On-Demand Scanning API V1beta1