google-apis-ondemandscanning_v1 0.19.0 → 0.22.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3036df429b6f93f653ac46e71ef2c8d82ef95e64867604a3edbd78e96cdcd895
|
4
|
+
data.tar.gz: 5e5a12e5dfed7b7f189283e01c6401924ff1de0344b3bd36f0d15c066afde700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 560c8fdc7fe0fd788f3b0643b1df700be354a681416ffa84bd3a41db24ce3a5f55ed0be04ae00990ba57cd377cc8e2b0c3bb23f2af82556edb44d1a8f6a64342
|
7
|
+
data.tar.gz: 9b3a69e04794af1f0ba727c5c7b971b4b0e438aece1af5d69060e1583ded680ab609c6b84b6106391cc4a870a90803401a05f9b0891901d4d8346b0c6f9313e7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-ondemandscanning_v1
|
2
2
|
|
3
|
+
### v0.22.0 (2022-05-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220522
|
6
|
+
|
7
|
+
### v0.21.0 (2022-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220513
|
10
|
+
|
11
|
+
### v0.20.0 (2022-05-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220509
|
14
|
+
|
3
15
|
### v0.19.0 (2022-05-05)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220430
|
@@ -1053,6 +1053,196 @@ module Google
|
|
1053
1053
|
end
|
1054
1054
|
end
|
1055
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 GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
|
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::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
|
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::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]
|
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
|
+
|
1056
1246
|
# Container message for hash values.
|
1057
1247
|
class HashProp
|
1058
1248
|
include Google::Apis::Core::Hashable
|
@@ -1212,6 +1402,11 @@ module Google
|
|
1212
1402
|
# @return [Google::Apis::OndemandscanningV1::SlsaProvenance]
|
1213
1403
|
attr_accessor :slsa_provenance
|
1214
1404
|
|
1405
|
+
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
1406
|
+
# Corresponds to the JSON property `slsaProvenanceZeroTwo`
|
1407
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaProvenanceZeroTwo]
|
1408
|
+
attr_accessor :slsa_provenance_zero_two
|
1409
|
+
|
1215
1410
|
#
|
1216
1411
|
# Corresponds to the JSON property `subject`
|
1217
1412
|
# @return [Array<Google::Apis::OndemandscanningV1::Subject>]
|
@@ -1227,6 +1422,7 @@ module Google
|
|
1227
1422
|
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
1228
1423
|
@provenance = args[:provenance] if args.key?(:provenance)
|
1229
1424
|
@slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
|
1425
|
+
@slsa_provenance_zero_two = args[:slsa_provenance_zero_two] if args.key?(:slsa_provenance_zero_two)
|
1230
1426
|
@subject = args[:subject] if args.key?(:subject)
|
1231
1427
|
end
|
1232
1428
|
end
|
@@ -1278,6 +1474,34 @@ module Google
|
|
1278
1474
|
end
|
1279
1475
|
end
|
1280
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
|
+
|
1281
1505
|
# The response message for Operations.ListOperations.
|
1282
1506
|
class ListOperationsResponse
|
1283
1507
|
include Google::Apis::Core::Hashable
|
@@ -1335,8 +1559,7 @@ module Google
|
|
1335
1559
|
class Location
|
1336
1560
|
include Google::Apis::Core::Hashable
|
1337
1561
|
|
1338
|
-
#
|
1339
|
-
# denoting the package manager version distributing a package.
|
1562
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
1340
1563
|
# Corresponds to the JSON property `cpeUri`
|
1341
1564
|
# @return [String]
|
1342
1565
|
attr_accessor :cpe_uri
|
@@ -1829,25 +2052,59 @@ module Google
|
|
1829
2052
|
class PackageOccurrence
|
1830
2053
|
include Google::Apis::Core::Hashable
|
1831
2054
|
|
1832
|
-
#
|
1833
|
-
#
|
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.
|
1834
2075
|
# Corresponds to the JSON property `location`
|
1835
2076
|
# @return [Array<Google::Apis::OndemandscanningV1::Location>]
|
1836
2077
|
attr_accessor :location
|
1837
2078
|
|
1838
|
-
# Output only. The name of the installed package.
|
2079
|
+
# Required. Output only. The name of the installed package.
|
1839
2080
|
# Corresponds to the JSON property `name`
|
1840
2081
|
# @return [String]
|
1841
2082
|
attr_accessor :name
|
1842
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
|
+
|
1843
2095
|
def initialize(**args)
|
1844
2096
|
update!(**args)
|
1845
2097
|
end
|
1846
2098
|
|
1847
2099
|
# Update properties of this object
|
1848
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)
|
1849
2104
|
@location = args[:location] if args.key?(:location)
|
1850
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)
|
1851
2108
|
end
|
1852
2109
|
end
|
1853
2110
|
|
@@ -2189,6 +2446,56 @@ module Google
|
|
2189
2446
|
end
|
2190
2447
|
end
|
2191
2448
|
|
2449
|
+
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
2450
|
+
class SlsaProvenanceZeroTwo
|
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::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]
|
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::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]
|
2472
|
+
attr_accessor :invocation
|
2473
|
+
|
2474
|
+
#
|
2475
|
+
# Corresponds to the JSON property `materials`
|
2476
|
+
# @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial>]
|
2477
|
+
attr_accessor :materials
|
2478
|
+
|
2479
|
+
# Other properties of the build.
|
2480
|
+
# Corresponds to the JSON property `metadata`
|
2481
|
+
# @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]
|
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
|
+
|
2192
2499
|
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2193
2500
|
# corresponds to one step in the recipe.
|
2194
2501
|
class SlsaRecipe
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.22.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 = "
|
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
|
|
@@ -705,6 +753,61 @@ module Google
|
|
705
753
|
end
|
706
754
|
end
|
707
755
|
|
756
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
|
757
|
+
# @private
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
759
|
+
property :id, as: 'id'
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
|
782
|
+
# @private
|
783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
784
|
+
property :config_source, as: 'configSource', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource::Representation
|
785
|
+
|
786
|
+
hash :environment, as: 'environment'
|
787
|
+
hash :parameters, as: 'parameters'
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
|
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 GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
|
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::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness::Representation
|
806
|
+
|
807
|
+
property :reproducible, as: 'reproducible'
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
708
811
|
class HashProp
|
709
812
|
# @private
|
710
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -755,6 +858,8 @@ module Google
|
|
755
858
|
|
756
859
|
property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1::SlsaProvenance::Representation
|
757
860
|
|
861
|
+
property :slsa_provenance_zero_two, as: 'slsaProvenanceZeroTwo', class: Google::Apis::OndemandscanningV1::SlsaProvenanceZeroTwo, decorator: Google::Apis::OndemandscanningV1::SlsaProvenanceZeroTwo::Representation
|
862
|
+
|
758
863
|
collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1::Subject, decorator: Google::Apis::OndemandscanningV1::Subject::Representation
|
759
864
|
|
760
865
|
end
|
@@ -775,6 +880,14 @@ module Google
|
|
775
880
|
end
|
776
881
|
end
|
777
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
|
+
|
778
891
|
class ListOperationsResponse
|
779
892
|
# @private
|
780
893
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -917,9 +1030,16 @@ module Google
|
|
917
1030
|
class PackageOccurrence
|
918
1031
|
# @private
|
919
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
|
+
|
920
1037
|
collection :location, as: 'location', class: Google::Apis::OndemandscanningV1::Location, decorator: Google::Apis::OndemandscanningV1::Location::Representation
|
921
1038
|
|
922
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
|
+
|
923
1043
|
end
|
924
1044
|
end
|
925
1045
|
|
@@ -1009,6 +1129,22 @@ module Google
|
|
1009
1129
|
end
|
1010
1130
|
end
|
1011
1131
|
|
1132
|
+
class SlsaProvenanceZeroTwo
|
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::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder::Representation
|
1138
|
+
|
1139
|
+
property :invocation, as: 'invocation', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation::Representation
|
1140
|
+
|
1141
|
+
collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial::Representation
|
1142
|
+
|
1143
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata::Representation
|
1144
|
+
|
1145
|
+
end
|
1146
|
+
end
|
1147
|
+
|
1012
1148
|
class SlsaRecipe
|
1013
1149
|
# @private
|
1014
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.
|
4
|
+
version: 0.22.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.22.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: []
|
@@ -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.
|
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 V1
|