google-apis-ondemandscanning_v1 0.11.0 → 0.12.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a132d8ccaf40e2686a9eceac80e444cca5ed42482a35e9d1bfbd1ed5e99a1f38
|
4
|
+
data.tar.gz: aa7e0d47312789c74461f3dc4d156a8df3ebf7d505ec9e2f3e4b43bd743fdcd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61e1a50809930ac19758db1f4769673cd133ed520af26226653f845300c23c4e7e1b5e6eb969615802f868701dfeb784ece5be8a1a40447a94bdbc677f5f88fd
|
7
|
+
data.tar.gz: e567da537359dbd7637646087e2d585e1fce255073a3d352534fbf1c27df662752bba11f19a686f05410fac061c41ece71759b01b0389ce6d3a1bc0a5fd44300
|
data/CHANGELOG.md
CHANGED
@@ -104,7 +104,8 @@ module Google
|
|
104
104
|
class AnalyzePackagesRequestV1
|
105
105
|
include Google::Apis::Core::Hashable
|
106
106
|
|
107
|
-
# Whether to include OSV data in the scan.
|
107
|
+
# [DEPRECATED] Whether to include OSV data in the scan. For backwards
|
108
|
+
# compatibility reasons, this field can be neither removed nor renamed.
|
108
109
|
# Corresponds to the JSON property `includeOsvData`
|
109
110
|
# @return [Boolean]
|
110
111
|
attr_accessor :include_osv_data
|
@@ -260,11 +261,19 @@ module Google
|
|
260
261
|
class BuildOccurrence
|
261
262
|
include Google::Apis::Core::Hashable
|
262
263
|
|
263
|
-
#
|
264
|
+
# Deprecated. See InTotoStatement for the replacement. In-toto Provenance
|
265
|
+
# representation as defined in spec.
|
264
266
|
# Corresponds to the JSON property `intotoProvenance`
|
265
267
|
# @return [Google::Apis::OndemandscanningV1::InTotoProvenance]
|
266
268
|
attr_accessor :intoto_provenance
|
267
269
|
|
270
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
271
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
272
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
273
|
+
# Corresponds to the JSON property `intotoStatement`
|
274
|
+
# @return [Google::Apis::OndemandscanningV1::InTotoStatement]
|
275
|
+
attr_accessor :intoto_statement
|
276
|
+
|
268
277
|
# Provenance of a build. Contains all information needed to verify the full
|
269
278
|
# details about the build from source to completion.
|
270
279
|
# Corresponds to the JSON property `provenance`
|
@@ -290,6 +299,7 @@ module Google
|
|
290
299
|
# Update properties of this object
|
291
300
|
def update!(**args)
|
292
301
|
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
302
|
+
@intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
|
293
303
|
@provenance = args[:provenance] if args.key?(:provenance)
|
294
304
|
@provenance_bytes = args[:provenance_bytes] if args.key?(:provenance_bytes)
|
295
305
|
end
|
@@ -581,7 +591,8 @@ module Google
|
|
581
591
|
end
|
582
592
|
end
|
583
593
|
|
584
|
-
#
|
594
|
+
# Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at
|
595
|
+
# the top level of the Occurrence.
|
585
596
|
class DsseAttestationOccurrence
|
586
597
|
include Google::Apis::Core::Hashable
|
587
598
|
|
@@ -1046,7 +1057,12 @@ module Google
|
|
1046
1057
|
class InTotoStatement
|
1047
1058
|
include Google::Apis::Core::Hashable
|
1048
1059
|
|
1049
|
-
# "https://in-toto.io/
|
1060
|
+
# Always "https://in-toto.io/Statement/v0.1".
|
1061
|
+
# Corresponds to the JSON property `_type`
|
1062
|
+
# @return [String]
|
1063
|
+
attr_accessor :_type
|
1064
|
+
|
1065
|
+
# "https://slsa.dev/provenance/v0.1" for SlsaProvenance.
|
1050
1066
|
# Corresponds to the JSON property `predicateType`
|
1051
1067
|
# @return [String]
|
1052
1068
|
attr_accessor :predicate_type
|
@@ -1056,26 +1072,27 @@ module Google
|
|
1056
1072
|
# @return [Google::Apis::OndemandscanningV1::InTotoProvenance]
|
1057
1073
|
attr_accessor :provenance
|
1058
1074
|
|
1075
|
+
#
|
1076
|
+
# Corresponds to the JSON property `slsaProvenance`
|
1077
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaProvenance]
|
1078
|
+
attr_accessor :slsa_provenance
|
1079
|
+
|
1059
1080
|
#
|
1060
1081
|
# Corresponds to the JSON property `subject`
|
1061
1082
|
# @return [Array<Google::Apis::OndemandscanningV1::Subject>]
|
1062
1083
|
attr_accessor :subject
|
1063
1084
|
|
1064
|
-
# Always "https://in-toto.io/Statement/v0.1".
|
1065
|
-
# Corresponds to the JSON property `type`
|
1066
|
-
# @return [String]
|
1067
|
-
attr_accessor :type
|
1068
|
-
|
1069
1085
|
def initialize(**args)
|
1070
1086
|
update!(**args)
|
1071
1087
|
end
|
1072
1088
|
|
1073
1089
|
# Update properties of this object
|
1074
1090
|
def update!(**args)
|
1091
|
+
@_type = args[:_type] if args.key?(:_type)
|
1075
1092
|
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
1076
1093
|
@provenance = args[:provenance] if args.key?(:provenance)
|
1094
|
+
@slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
|
1077
1095
|
@subject = args[:subject] if args.key?(:subject)
|
1078
|
-
@type = args[:type] if args.key?(:type)
|
1079
1096
|
end
|
1080
1097
|
end
|
1081
1098
|
|
@@ -1211,6 +1228,31 @@ module Google
|
|
1211
1228
|
end
|
1212
1229
|
end
|
1213
1230
|
|
1231
|
+
#
|
1232
|
+
class Material
|
1233
|
+
include Google::Apis::Core::Hashable
|
1234
|
+
|
1235
|
+
#
|
1236
|
+
# Corresponds to the JSON property `digest`
|
1237
|
+
# @return [Hash<String,String>]
|
1238
|
+
attr_accessor :digest
|
1239
|
+
|
1240
|
+
#
|
1241
|
+
# Corresponds to the JSON property `uri`
|
1242
|
+
# @return [String]
|
1243
|
+
attr_accessor :uri
|
1244
|
+
|
1245
|
+
def initialize(**args)
|
1246
|
+
update!(**args)
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# Update properties of this object
|
1250
|
+
def update!(**args)
|
1251
|
+
@digest = args[:digest] if args.key?(:digest)
|
1252
|
+
@uri = args[:uri] if args.key?(:uri)
|
1253
|
+
end
|
1254
|
+
end
|
1255
|
+
|
1214
1256
|
# Other properties of the build.
|
1215
1257
|
class Metadata
|
1216
1258
|
include Google::Apis::Core::Hashable
|
@@ -1333,7 +1375,8 @@ module Google
|
|
1333
1375
|
# @return [Google::Apis::OndemandscanningV1::DiscoveryOccurrence]
|
1334
1376
|
attr_accessor :discovery
|
1335
1377
|
|
1336
|
-
#
|
1378
|
+
# Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at
|
1379
|
+
# the top level of the Occurrence.
|
1337
1380
|
# Corresponds to the JSON property `dsseAttestation`
|
1338
1381
|
# @return [Google::Apis::OndemandscanningV1::DsseAttestationOccurrence]
|
1339
1382
|
attr_accessor :dsse_attestation
|
@@ -1846,6 +1889,210 @@ module Google
|
|
1846
1889
|
end
|
1847
1890
|
end
|
1848
1891
|
|
1892
|
+
#
|
1893
|
+
class SlsaBuilder
|
1894
|
+
include Google::Apis::Core::Hashable
|
1895
|
+
|
1896
|
+
#
|
1897
|
+
# Corresponds to the JSON property `id`
|
1898
|
+
# @return [String]
|
1899
|
+
attr_accessor :id
|
1900
|
+
|
1901
|
+
def initialize(**args)
|
1902
|
+
update!(**args)
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
# Update properties of this object
|
1906
|
+
def update!(**args)
|
1907
|
+
@id = args[:id] if args.key?(:id)
|
1908
|
+
end
|
1909
|
+
end
|
1910
|
+
|
1911
|
+
# Indicates that the builder claims certain fields in this message to be
|
1912
|
+
# complete.
|
1913
|
+
class SlsaCompleteness
|
1914
|
+
include Google::Apis::Core::Hashable
|
1915
|
+
|
1916
|
+
# If true, the builder claims that recipe.arguments is complete, meaning that
|
1917
|
+
# all external inputs are properly captured in the recipe.
|
1918
|
+
# Corresponds to the JSON property `arguments`
|
1919
|
+
# @return [Boolean]
|
1920
|
+
attr_accessor :arguments
|
1921
|
+
alias_method :arguments?, :arguments
|
1922
|
+
|
1923
|
+
# If true, the builder claims that recipe.environment is claimed to be complete.
|
1924
|
+
# Corresponds to the JSON property `environment`
|
1925
|
+
# @return [Boolean]
|
1926
|
+
attr_accessor :environment
|
1927
|
+
alias_method :environment?, :environment
|
1928
|
+
|
1929
|
+
# If true, the builder claims that materials are complete, usually through some
|
1930
|
+
# controls to prevent network access. Sometimes called "hermetic".
|
1931
|
+
# Corresponds to the JSON property `materials`
|
1932
|
+
# @return [Boolean]
|
1933
|
+
attr_accessor :materials
|
1934
|
+
alias_method :materials?, :materials
|
1935
|
+
|
1936
|
+
def initialize(**args)
|
1937
|
+
update!(**args)
|
1938
|
+
end
|
1939
|
+
|
1940
|
+
# Update properties of this object
|
1941
|
+
def update!(**args)
|
1942
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1943
|
+
@environment = args[:environment] if args.key?(:environment)
|
1944
|
+
@materials = args[:materials] if args.key?(:materials)
|
1945
|
+
end
|
1946
|
+
end
|
1947
|
+
|
1948
|
+
# Other properties of the build.
|
1949
|
+
class SlsaMetadata
|
1950
|
+
include Google::Apis::Core::Hashable
|
1951
|
+
|
1952
|
+
# The timestamp of when the build completed.
|
1953
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
1954
|
+
# @return [String]
|
1955
|
+
attr_accessor :build_finished_on
|
1956
|
+
|
1957
|
+
# Identifies the particular build invocation, which can be useful for finding
|
1958
|
+
# associated logs or other ad-hoc analysis. The value SHOULD be globally unique,
|
1959
|
+
# per in-toto Provenance spec.
|
1960
|
+
# Corresponds to the JSON property `buildInvocationId`
|
1961
|
+
# @return [String]
|
1962
|
+
attr_accessor :build_invocation_id
|
1963
|
+
|
1964
|
+
# The timestamp of when the build started.
|
1965
|
+
# Corresponds to the JSON property `buildStartedOn`
|
1966
|
+
# @return [String]
|
1967
|
+
attr_accessor :build_started_on
|
1968
|
+
|
1969
|
+
# Indicates that the builder claims certain fields in this message to be
|
1970
|
+
# complete.
|
1971
|
+
# Corresponds to the JSON property `completeness`
|
1972
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaCompleteness]
|
1973
|
+
attr_accessor :completeness
|
1974
|
+
|
1975
|
+
# If true, the builder claims that running the recipe on materials will produce
|
1976
|
+
# bit-for-bit identical output.
|
1977
|
+
# Corresponds to the JSON property `reproducible`
|
1978
|
+
# @return [Boolean]
|
1979
|
+
attr_accessor :reproducible
|
1980
|
+
alias_method :reproducible?, :reproducible
|
1981
|
+
|
1982
|
+
def initialize(**args)
|
1983
|
+
update!(**args)
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
# Update properties of this object
|
1987
|
+
def update!(**args)
|
1988
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
1989
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
1990
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
1991
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
1992
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
#
|
1997
|
+
class SlsaProvenance
|
1998
|
+
include Google::Apis::Core::Hashable
|
1999
|
+
|
2000
|
+
# required
|
2001
|
+
# Corresponds to the JSON property `builder`
|
2002
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaBuilder]
|
2003
|
+
attr_accessor :builder
|
2004
|
+
|
2005
|
+
# The collection of artifacts that influenced the build including sources,
|
2006
|
+
# dependencies, build tools, base images, and so on. This is considered to be
|
2007
|
+
# incomplete unless metadata.completeness.materials is true. Unset or null is
|
2008
|
+
# equivalent to empty.
|
2009
|
+
# Corresponds to the JSON property `materials`
|
2010
|
+
# @return [Array<Google::Apis::OndemandscanningV1::Material>]
|
2011
|
+
attr_accessor :materials
|
2012
|
+
|
2013
|
+
# Other properties of the build.
|
2014
|
+
# Corresponds to the JSON property `metadata`
|
2015
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaMetadata]
|
2016
|
+
attr_accessor :metadata
|
2017
|
+
|
2018
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2019
|
+
# corresponds to one step in the recipe.
|
2020
|
+
# Corresponds to the JSON property `recipe`
|
2021
|
+
# @return [Google::Apis::OndemandscanningV1::SlsaRecipe]
|
2022
|
+
attr_accessor :recipe
|
2023
|
+
|
2024
|
+
def initialize(**args)
|
2025
|
+
update!(**args)
|
2026
|
+
end
|
2027
|
+
|
2028
|
+
# Update properties of this object
|
2029
|
+
def update!(**args)
|
2030
|
+
@builder = args[:builder] if args.key?(:builder)
|
2031
|
+
@materials = args[:materials] if args.key?(:materials)
|
2032
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2033
|
+
@recipe = args[:recipe] if args.key?(:recipe)
|
2034
|
+
end
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2038
|
+
# corresponds to one step in the recipe.
|
2039
|
+
class SlsaRecipe
|
2040
|
+
include Google::Apis::Core::Hashable
|
2041
|
+
|
2042
|
+
# Collection of all external inputs that influenced the build on top of recipe.
|
2043
|
+
# definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
|
2044
|
+
# make", then this might be the flags passed to make aside from the target,
|
2045
|
+
# which is captured in recipe.entryPoint. Depending on the recipe Type, the
|
2046
|
+
# structure may be different.
|
2047
|
+
# Corresponds to the JSON property `arguments`
|
2048
|
+
# @return [Hash<String,Object>]
|
2049
|
+
attr_accessor :arguments
|
2050
|
+
|
2051
|
+
# Index in materials containing the recipe steps that are not implied by recipe.
|
2052
|
+
# type. For example, if the recipe type were "make", then this would point to
|
2053
|
+
# the source containing the Makefile, not the make program itself. Set to -1 if
|
2054
|
+
# the recipe doesn't come from a material, as zero is default unset value for
|
2055
|
+
# int64.
|
2056
|
+
# Corresponds to the JSON property `definedInMaterial`
|
2057
|
+
# @return [Fixnum]
|
2058
|
+
attr_accessor :defined_in_material
|
2059
|
+
|
2060
|
+
# String identifying the entry point into the build. This is often a path to a
|
2061
|
+
# configuration file and/or a target label within that file. The syntax and
|
2062
|
+
# meaning are defined by recipe.type. For example, if the recipe type were "make"
|
2063
|
+
# , then this would reference the directory in which to run make as well as
|
2064
|
+
# which target to use.
|
2065
|
+
# Corresponds to the JSON property `entryPoint`
|
2066
|
+
# @return [String]
|
2067
|
+
attr_accessor :entry_point
|
2068
|
+
|
2069
|
+
# Any other builder-controlled inputs necessary for correctly evaluating the
|
2070
|
+
# recipe. Usually only needed for reproducing the build but not evaluated as
|
2071
|
+
# part of policy. Depending on the recipe Type, the structure may be different.
|
2072
|
+
# Corresponds to the JSON property `environment`
|
2073
|
+
# @return [Hash<String,Object>]
|
2074
|
+
attr_accessor :environment
|
2075
|
+
|
2076
|
+
# URI indicating what type of recipe was performed. It determines the meaning of
|
2077
|
+
# recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
|
2078
|
+
# Corresponds to the JSON property `type`
|
2079
|
+
# @return [String]
|
2080
|
+
attr_accessor :type
|
2081
|
+
|
2082
|
+
def initialize(**args)
|
2083
|
+
update!(**args)
|
2084
|
+
end
|
2085
|
+
|
2086
|
+
# Update properties of this object
|
2087
|
+
def update!(**args)
|
2088
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
2089
|
+
@defined_in_material = args[:defined_in_material] if args.key?(:defined_in_material)
|
2090
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
2091
|
+
@environment = args[:environment] if args.key?(:environment)
|
2092
|
+
@type = args[:type] if args.key?(:type)
|
2093
|
+
end
|
2094
|
+
end
|
2095
|
+
|
1849
2096
|
# Source describes the location of the source used for the build.
|
1850
2097
|
class Source
|
1851
2098
|
include Google::Apis::Core::Hashable
|
@@ -1974,7 +2221,8 @@ module Google
|
|
1974
2221
|
class Subject
|
1975
2222
|
include Google::Apis::Core::Hashable
|
1976
2223
|
|
1977
|
-
# "": ""
|
2224
|
+
# "": "" Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/
|
2225
|
+
# attestation/blob/main/spec/field_types.md#DigestSet
|
1978
2226
|
# Corresponds to the JSON property `digest`
|
1979
2227
|
# @return [Hash<String,String>]
|
1980
2228
|
attr_accessor :digest
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -238,6 +238,12 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class Material
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
241
247
|
class Metadata
|
242
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
249
|
|
@@ -310,6 +316,36 @@ module Google
|
|
310
316
|
include Google::Apis::Core::JsonObjectSupport
|
311
317
|
end
|
312
318
|
|
319
|
+
class SlsaBuilder
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class SlsaCompleteness
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class SlsaMetadata
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class SlsaProvenance
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class SlsaRecipe
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
313
349
|
class Source
|
314
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
351
|
|
@@ -437,6 +473,8 @@ module Google
|
|
437
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
438
474
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1::InTotoProvenance::Representation
|
439
475
|
|
476
|
+
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::OndemandscanningV1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1::InTotoStatement::Representation
|
477
|
+
|
440
478
|
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1::BuildProvenance, decorator: Google::Apis::OndemandscanningV1::BuildProvenance::Representation
|
441
479
|
|
442
480
|
property :provenance_bytes, as: 'provenanceBytes'
|
@@ -660,12 +698,14 @@ module Google
|
|
660
698
|
class InTotoStatement
|
661
699
|
# @private
|
662
700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
701
|
+
property :_type, as: '_type'
|
663
702
|
property :predicate_type, as: 'predicateType'
|
664
703
|
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1::InTotoProvenance::Representation
|
665
704
|
|
705
|
+
property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1::SlsaProvenance::Representation
|
706
|
+
|
666
707
|
collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1::Subject, decorator: Google::Apis::OndemandscanningV1::Subject::Representation
|
667
708
|
|
668
|
-
property :type, as: 'type'
|
669
709
|
end
|
670
710
|
end
|
671
711
|
|
@@ -712,6 +752,14 @@ module Google
|
|
712
752
|
end
|
713
753
|
end
|
714
754
|
|
755
|
+
class Material
|
756
|
+
# @private
|
757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
758
|
+
hash :digest, as: 'digest'
|
759
|
+
property :uri, as: 'uri'
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
715
763
|
class Metadata
|
716
764
|
# @private
|
717
765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -863,6 +911,59 @@ module Google
|
|
863
911
|
end
|
864
912
|
end
|
865
913
|
|
914
|
+
class SlsaBuilder
|
915
|
+
# @private
|
916
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
917
|
+
property :id, as: 'id'
|
918
|
+
end
|
919
|
+
end
|
920
|
+
|
921
|
+
class SlsaCompleteness
|
922
|
+
# @private
|
923
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
924
|
+
property :arguments, as: 'arguments'
|
925
|
+
property :environment, as: 'environment'
|
926
|
+
property :materials, as: 'materials'
|
927
|
+
end
|
928
|
+
end
|
929
|
+
|
930
|
+
class SlsaMetadata
|
931
|
+
# @private
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
933
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
934
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
935
|
+
property :build_started_on, as: 'buildStartedOn'
|
936
|
+
property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1::SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1::SlsaCompleteness::Representation
|
937
|
+
|
938
|
+
property :reproducible, as: 'reproducible'
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
class SlsaProvenance
|
943
|
+
# @private
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
945
|
+
property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1::SlsaBuilder, decorator: Google::Apis::OndemandscanningV1::SlsaBuilder::Representation
|
946
|
+
|
947
|
+
collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1::Material, decorator: Google::Apis::OndemandscanningV1::Material::Representation
|
948
|
+
|
949
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1::SlsaMetadata, decorator: Google::Apis::OndemandscanningV1::SlsaMetadata::Representation
|
950
|
+
|
951
|
+
property :recipe, as: 'recipe', class: Google::Apis::OndemandscanningV1::SlsaRecipe, decorator: Google::Apis::OndemandscanningV1::SlsaRecipe::Representation
|
952
|
+
|
953
|
+
end
|
954
|
+
end
|
955
|
+
|
956
|
+
class SlsaRecipe
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
hash :arguments, as: 'arguments'
|
960
|
+
property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
|
961
|
+
property :entry_point, as: 'entryPoint'
|
962
|
+
hash :environment, as: 'environment'
|
963
|
+
property :type, as: 'type'
|
964
|
+
end
|
965
|
+
end
|
966
|
+
|
866
967
|
class Source
|
867
968
|
# @private
|
868
969
|
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.12.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: 2021-
|
11
|
+
date: 2021-11-08 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.12.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: []
|