google-apis-ondemandscanning_v1beta1 0.13.0 → 0.14.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: 15b67f782f5ba2490b1c8e503b632eb1225c01d665c7939194e1d989e77bc697
|
4
|
+
data.tar.gz: 92ca0a09c8c4bb4982acced543cb25432cdb7d165369dfdd33ef7475b620ab74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 806717a4122076c3550cc29679975b627548120ac9834a8a9495d24d3bc0843a27442bffdefa5be14387de371b10680a43a258fa65df1953425db1e3b02f6c16
|
7
|
+
data.tar.gz: ca118a54dc3db41f4f75ec010a9df5e1122272244a279fd27695640f146e1512e21c7abe963fda1215a197134dc86f4de540bc96b424efdc50e4df9d53bd5abc
|
data/CHANGELOG.md
CHANGED
@@ -253,11 +253,19 @@ module Google
|
|
253
253
|
class BuildOccurrence
|
254
254
|
include Google::Apis::Core::Hashable
|
255
255
|
|
256
|
-
#
|
256
|
+
# Deprecated. See InTotoStatement for the replacement. In-toto Provenance
|
257
|
+
# representation as defined in spec.
|
257
258
|
# Corresponds to the JSON property `intotoProvenance`
|
258
259
|
# @return [Google::Apis::OndemandscanningV1beta1::InTotoProvenance]
|
259
260
|
attr_accessor :intoto_provenance
|
260
261
|
|
262
|
+
# Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
|
263
|
+
# statement The serialized InTotoStatement will be stored as Envelope.payload.
|
264
|
+
# Envelope.payloadType is always "application/vnd.in-toto+json".
|
265
|
+
# Corresponds to the JSON property `intotoStatement`
|
266
|
+
# @return [Google::Apis::OndemandscanningV1beta1::InTotoStatement]
|
267
|
+
attr_accessor :intoto_statement
|
268
|
+
|
261
269
|
# Provenance of a build. Contains all information needed to verify the full
|
262
270
|
# details about the build from source to completion.
|
263
271
|
# Corresponds to the JSON property `provenance`
|
@@ -283,6 +291,7 @@ module Google
|
|
283
291
|
# Update properties of this object
|
284
292
|
def update!(**args)
|
285
293
|
@intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
|
294
|
+
@intoto_statement = args[:intoto_statement] if args.key?(:intoto_statement)
|
286
295
|
@provenance = args[:provenance] if args.key?(:provenance)
|
287
296
|
@provenance_bytes = args[:provenance_bytes] if args.key?(:provenance_bytes)
|
288
297
|
end
|
@@ -574,7 +583,8 @@ module Google
|
|
574
583
|
end
|
575
584
|
end
|
576
585
|
|
577
|
-
#
|
586
|
+
# Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at
|
587
|
+
# the top level of the Occurrence.
|
578
588
|
class DsseAttestationOccurrence
|
579
589
|
include Google::Apis::Core::Hashable
|
580
590
|
|
@@ -1039,7 +1049,12 @@ module Google
|
|
1039
1049
|
class InTotoStatement
|
1040
1050
|
include Google::Apis::Core::Hashable
|
1041
1051
|
|
1042
|
-
# "https://in-toto.io/
|
1052
|
+
# Always "https://in-toto.io/Statement/v0.1".
|
1053
|
+
# Corresponds to the JSON property `_type`
|
1054
|
+
# @return [String]
|
1055
|
+
attr_accessor :_type
|
1056
|
+
|
1057
|
+
# "https://slsa.dev/provenance/v0.1" for SlsaProvenance.
|
1043
1058
|
# Corresponds to the JSON property `predicateType`
|
1044
1059
|
# @return [String]
|
1045
1060
|
attr_accessor :predicate_type
|
@@ -1049,26 +1064,27 @@ module Google
|
|
1049
1064
|
# @return [Google::Apis::OndemandscanningV1beta1::InTotoProvenance]
|
1050
1065
|
attr_accessor :provenance
|
1051
1066
|
|
1067
|
+
#
|
1068
|
+
# Corresponds to the JSON property `slsaProvenance`
|
1069
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance]
|
1070
|
+
attr_accessor :slsa_provenance
|
1071
|
+
|
1052
1072
|
#
|
1053
1073
|
# Corresponds to the JSON property `subject`
|
1054
1074
|
# @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
|
1055
1075
|
attr_accessor :subject
|
1056
1076
|
|
1057
|
-
# Always "https://in-toto.io/Statement/v0.1".
|
1058
|
-
# Corresponds to the JSON property `type`
|
1059
|
-
# @return [String]
|
1060
|
-
attr_accessor :type
|
1061
|
-
|
1062
1077
|
def initialize(**args)
|
1063
1078
|
update!(**args)
|
1064
1079
|
end
|
1065
1080
|
|
1066
1081
|
# Update properties of this object
|
1067
1082
|
def update!(**args)
|
1083
|
+
@_type = args[:_type] if args.key?(:_type)
|
1068
1084
|
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
1069
1085
|
@provenance = args[:provenance] if args.key?(:provenance)
|
1086
|
+
@slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
|
1070
1087
|
@subject = args[:subject] if args.key?(:subject)
|
1071
|
-
@type = args[:type] if args.key?(:type)
|
1072
1088
|
end
|
1073
1089
|
end
|
1074
1090
|
|
@@ -1204,6 +1220,31 @@ module Google
|
|
1204
1220
|
end
|
1205
1221
|
end
|
1206
1222
|
|
1223
|
+
#
|
1224
|
+
class Material
|
1225
|
+
include Google::Apis::Core::Hashable
|
1226
|
+
|
1227
|
+
#
|
1228
|
+
# Corresponds to the JSON property `digest`
|
1229
|
+
# @return [Hash<String,String>]
|
1230
|
+
attr_accessor :digest
|
1231
|
+
|
1232
|
+
#
|
1233
|
+
# Corresponds to the JSON property `uri`
|
1234
|
+
# @return [String]
|
1235
|
+
attr_accessor :uri
|
1236
|
+
|
1237
|
+
def initialize(**args)
|
1238
|
+
update!(**args)
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# Update properties of this object
|
1242
|
+
def update!(**args)
|
1243
|
+
@digest = args[:digest] if args.key?(:digest)
|
1244
|
+
@uri = args[:uri] if args.key?(:uri)
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1207
1248
|
# Other properties of the build.
|
1208
1249
|
class Metadata
|
1209
1250
|
include Google::Apis::Core::Hashable
|
@@ -1326,7 +1367,8 @@ module Google
|
|
1326
1367
|
# @return [Google::Apis::OndemandscanningV1beta1::DiscoveryOccurrence]
|
1327
1368
|
attr_accessor :discovery
|
1328
1369
|
|
1329
|
-
#
|
1370
|
+
# Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at
|
1371
|
+
# the top level of the Occurrence.
|
1330
1372
|
# Corresponds to the JSON property `dsseAttestation`
|
1331
1373
|
# @return [Google::Apis::OndemandscanningV1beta1::DsseAttestationOccurrence]
|
1332
1374
|
attr_accessor :dsse_attestation
|
@@ -1839,6 +1881,210 @@ module Google
|
|
1839
1881
|
end
|
1840
1882
|
end
|
1841
1883
|
|
1884
|
+
#
|
1885
|
+
class SlsaBuilder
|
1886
|
+
include Google::Apis::Core::Hashable
|
1887
|
+
|
1888
|
+
#
|
1889
|
+
# Corresponds to the JSON property `id`
|
1890
|
+
# @return [String]
|
1891
|
+
attr_accessor :id
|
1892
|
+
|
1893
|
+
def initialize(**args)
|
1894
|
+
update!(**args)
|
1895
|
+
end
|
1896
|
+
|
1897
|
+
# Update properties of this object
|
1898
|
+
def update!(**args)
|
1899
|
+
@id = args[:id] if args.key?(:id)
|
1900
|
+
end
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
# Indicates that the builder claims certain fields in this message to be
|
1904
|
+
# complete.
|
1905
|
+
class SlsaCompleteness
|
1906
|
+
include Google::Apis::Core::Hashable
|
1907
|
+
|
1908
|
+
# If true, the builder claims that recipe.arguments is complete, meaning that
|
1909
|
+
# all external inputs are properly captured in the recipe.
|
1910
|
+
# Corresponds to the JSON property `arguments`
|
1911
|
+
# @return [Boolean]
|
1912
|
+
attr_accessor :arguments
|
1913
|
+
alias_method :arguments?, :arguments
|
1914
|
+
|
1915
|
+
# If true, the builder claims that recipe.environment is claimed to be complete.
|
1916
|
+
# Corresponds to the JSON property `environment`
|
1917
|
+
# @return [Boolean]
|
1918
|
+
attr_accessor :environment
|
1919
|
+
alias_method :environment?, :environment
|
1920
|
+
|
1921
|
+
# If true, the builder claims that materials are complete, usually through some
|
1922
|
+
# controls to prevent network access. Sometimes called "hermetic".
|
1923
|
+
# Corresponds to the JSON property `materials`
|
1924
|
+
# @return [Boolean]
|
1925
|
+
attr_accessor :materials
|
1926
|
+
alias_method :materials?, :materials
|
1927
|
+
|
1928
|
+
def initialize(**args)
|
1929
|
+
update!(**args)
|
1930
|
+
end
|
1931
|
+
|
1932
|
+
# Update properties of this object
|
1933
|
+
def update!(**args)
|
1934
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1935
|
+
@environment = args[:environment] if args.key?(:environment)
|
1936
|
+
@materials = args[:materials] if args.key?(:materials)
|
1937
|
+
end
|
1938
|
+
end
|
1939
|
+
|
1940
|
+
# Other properties of the build.
|
1941
|
+
class SlsaMetadata
|
1942
|
+
include Google::Apis::Core::Hashable
|
1943
|
+
|
1944
|
+
# The timestamp of when the build completed.
|
1945
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
1946
|
+
# @return [String]
|
1947
|
+
attr_accessor :build_finished_on
|
1948
|
+
|
1949
|
+
# Identifies the particular build invocation, which can be useful for finding
|
1950
|
+
# associated logs or other ad-hoc analysis. The value SHOULD be globally unique,
|
1951
|
+
# per in-toto Provenance spec.
|
1952
|
+
# Corresponds to the JSON property `buildInvocationId`
|
1953
|
+
# @return [String]
|
1954
|
+
attr_accessor :build_invocation_id
|
1955
|
+
|
1956
|
+
# The timestamp of when the build started.
|
1957
|
+
# Corresponds to the JSON property `buildStartedOn`
|
1958
|
+
# @return [String]
|
1959
|
+
attr_accessor :build_started_on
|
1960
|
+
|
1961
|
+
# Indicates that the builder claims certain fields in this message to be
|
1962
|
+
# complete.
|
1963
|
+
# Corresponds to the JSON property `completeness`
|
1964
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaCompleteness]
|
1965
|
+
attr_accessor :completeness
|
1966
|
+
|
1967
|
+
# If true, the builder claims that running the recipe on materials will produce
|
1968
|
+
# bit-for-bit identical output.
|
1969
|
+
# Corresponds to the JSON property `reproducible`
|
1970
|
+
# @return [Boolean]
|
1971
|
+
attr_accessor :reproducible
|
1972
|
+
alias_method :reproducible?, :reproducible
|
1973
|
+
|
1974
|
+
def initialize(**args)
|
1975
|
+
update!(**args)
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
# Update properties of this object
|
1979
|
+
def update!(**args)
|
1980
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
1981
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
1982
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
1983
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
1984
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
1985
|
+
end
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
#
|
1989
|
+
class SlsaProvenance
|
1990
|
+
include Google::Apis::Core::Hashable
|
1991
|
+
|
1992
|
+
# required
|
1993
|
+
# Corresponds to the JSON property `builder`
|
1994
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaBuilder]
|
1995
|
+
attr_accessor :builder
|
1996
|
+
|
1997
|
+
# The collection of artifacts that influenced the build including sources,
|
1998
|
+
# dependencies, build tools, base images, and so on. This is considered to be
|
1999
|
+
# incomplete unless metadata.completeness.materials is true. Unset or null is
|
2000
|
+
# equivalent to empty.
|
2001
|
+
# Corresponds to the JSON property `materials`
|
2002
|
+
# @return [Array<Google::Apis::OndemandscanningV1beta1::Material>]
|
2003
|
+
attr_accessor :materials
|
2004
|
+
|
2005
|
+
# Other properties of the build.
|
2006
|
+
# Corresponds to the JSON property `metadata`
|
2007
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaMetadata]
|
2008
|
+
attr_accessor :metadata
|
2009
|
+
|
2010
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2011
|
+
# corresponds to one step in the recipe.
|
2012
|
+
# Corresponds to the JSON property `recipe`
|
2013
|
+
# @return [Google::Apis::OndemandscanningV1beta1::SlsaRecipe]
|
2014
|
+
attr_accessor :recipe
|
2015
|
+
|
2016
|
+
def initialize(**args)
|
2017
|
+
update!(**args)
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
# Update properties of this object
|
2021
|
+
def update!(**args)
|
2022
|
+
@builder = args[:builder] if args.key?(:builder)
|
2023
|
+
@materials = args[:materials] if args.key?(:materials)
|
2024
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2025
|
+
@recipe = args[:recipe] if args.key?(:recipe)
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# Steps taken to build the artifact. For a TaskRun, typically each container
|
2030
|
+
# corresponds to one step in the recipe.
|
2031
|
+
class SlsaRecipe
|
2032
|
+
include Google::Apis::Core::Hashable
|
2033
|
+
|
2034
|
+
# Collection of all external inputs that influenced the build on top of recipe.
|
2035
|
+
# definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
|
2036
|
+
# make", then this might be the flags passed to make aside from the target,
|
2037
|
+
# which is captured in recipe.entryPoint. Depending on the recipe Type, the
|
2038
|
+
# structure may be different.
|
2039
|
+
# Corresponds to the JSON property `arguments`
|
2040
|
+
# @return [Hash<String,Object>]
|
2041
|
+
attr_accessor :arguments
|
2042
|
+
|
2043
|
+
# Index in materials containing the recipe steps that are not implied by recipe.
|
2044
|
+
# type. For example, if the recipe type were "make", then this would point to
|
2045
|
+
# the source containing the Makefile, not the make program itself. Set to -1 if
|
2046
|
+
# the recipe doesn't come from a material, as zero is default unset value for
|
2047
|
+
# int64.
|
2048
|
+
# Corresponds to the JSON property `definedInMaterial`
|
2049
|
+
# @return [Fixnum]
|
2050
|
+
attr_accessor :defined_in_material
|
2051
|
+
|
2052
|
+
# String identifying the entry point into the build. This is often a path to a
|
2053
|
+
# configuration file and/or a target label within that file. The syntax and
|
2054
|
+
# meaning are defined by recipe.type. For example, if the recipe type were "make"
|
2055
|
+
# , then this would reference the directory in which to run make as well as
|
2056
|
+
# which target to use.
|
2057
|
+
# Corresponds to the JSON property `entryPoint`
|
2058
|
+
# @return [String]
|
2059
|
+
attr_accessor :entry_point
|
2060
|
+
|
2061
|
+
# Any other builder-controlled inputs necessary for correctly evaluating the
|
2062
|
+
# recipe. Usually only needed for reproducing the build but not evaluated as
|
2063
|
+
# part of policy. Depending on the recipe Type, the structure may be different.
|
2064
|
+
# Corresponds to the JSON property `environment`
|
2065
|
+
# @return [Hash<String,Object>]
|
2066
|
+
attr_accessor :environment
|
2067
|
+
|
2068
|
+
# URI indicating what type of recipe was performed. It determines the meaning of
|
2069
|
+
# recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
|
2070
|
+
# Corresponds to the JSON property `type`
|
2071
|
+
# @return [String]
|
2072
|
+
attr_accessor :type
|
2073
|
+
|
2074
|
+
def initialize(**args)
|
2075
|
+
update!(**args)
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
# Update properties of this object
|
2079
|
+
def update!(**args)
|
2080
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
2081
|
+
@defined_in_material = args[:defined_in_material] if args.key?(:defined_in_material)
|
2082
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
2083
|
+
@environment = args[:environment] if args.key?(:environment)
|
2084
|
+
@type = args[:type] if args.key?(:type)
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
|
1842
2088
|
# Source describes the location of the source used for the build.
|
1843
2089
|
class Source
|
1844
2090
|
include Google::Apis::Core::Hashable
|
@@ -1967,7 +2213,8 @@ module Google
|
|
1967
2213
|
class Subject
|
1968
2214
|
include Google::Apis::Core::Hashable
|
1969
2215
|
|
1970
|
-
# "": ""
|
2216
|
+
# "": "" Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/
|
2217
|
+
# attestation/blob/main/spec/field_types.md#DigestSet
|
1971
2218
|
# Corresponds to the JSON property `digest`
|
1972
2219
|
# @return [Hash<String,String>]
|
1973
2220
|
attr_accessor :digest
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.14.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
|
|
@@ -436,6 +472,8 @@ module Google
|
|
436
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
437
473
|
property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
|
438
474
|
|
475
|
+
property :intoto_statement, as: 'intotoStatement', class: Google::Apis::OndemandscanningV1beta1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1beta1::InTotoStatement::Representation
|
476
|
+
|
439
477
|
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1beta1::BuildProvenance, decorator: Google::Apis::OndemandscanningV1beta1::BuildProvenance::Representation
|
440
478
|
|
441
479
|
property :provenance_bytes, as: 'provenanceBytes'
|
@@ -659,12 +697,14 @@ module Google
|
|
659
697
|
class InTotoStatement
|
660
698
|
# @private
|
661
699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
700
|
+
property :_type, as: '_type'
|
662
701
|
property :predicate_type, as: 'predicateType'
|
663
702
|
property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1beta1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1beta1::InTotoProvenance::Representation
|
664
703
|
|
704
|
+
property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance::Representation
|
705
|
+
|
665
706
|
collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
|
666
707
|
|
667
|
-
property :type, as: 'type'
|
668
708
|
end
|
669
709
|
end
|
670
710
|
|
@@ -711,6 +751,14 @@ module Google
|
|
711
751
|
end
|
712
752
|
end
|
713
753
|
|
754
|
+
class Material
|
755
|
+
# @private
|
756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
757
|
+
hash :digest, as: 'digest'
|
758
|
+
property :uri, as: 'uri'
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
714
762
|
class Metadata
|
715
763
|
# @private
|
716
764
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -862,6 +910,59 @@ module Google
|
|
862
910
|
end
|
863
911
|
end
|
864
912
|
|
913
|
+
class SlsaBuilder
|
914
|
+
# @private
|
915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
+
property :id, as: 'id'
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
920
|
+
class SlsaCompleteness
|
921
|
+
# @private
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
923
|
+
property :arguments, as: 'arguments'
|
924
|
+
property :environment, as: 'environment'
|
925
|
+
property :materials, as: 'materials'
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
class SlsaMetadata
|
930
|
+
# @private
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
933
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
934
|
+
property :build_started_on, as: 'buildStartedOn'
|
935
|
+
property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1beta1::SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1beta1::SlsaCompleteness::Representation
|
936
|
+
|
937
|
+
property :reproducible, as: 'reproducible'
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
class SlsaProvenance
|
942
|
+
# @private
|
943
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
944
|
+
property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1beta1::SlsaBuilder, decorator: Google::Apis::OndemandscanningV1beta1::SlsaBuilder::Representation
|
945
|
+
|
946
|
+
collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1beta1::Material, decorator: Google::Apis::OndemandscanningV1beta1::Material::Representation
|
947
|
+
|
948
|
+
property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::SlsaMetadata, decorator: Google::Apis::OndemandscanningV1beta1::SlsaMetadata::Representation
|
949
|
+
|
950
|
+
property :recipe, as: 'recipe', class: Google::Apis::OndemandscanningV1beta1::SlsaRecipe, decorator: Google::Apis::OndemandscanningV1beta1::SlsaRecipe::Representation
|
951
|
+
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
955
|
+
class SlsaRecipe
|
956
|
+
# @private
|
957
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
958
|
+
hash :arguments, as: 'arguments'
|
959
|
+
property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
|
960
|
+
property :entry_point, as: 'entryPoint'
|
961
|
+
hash :environment, as: 'environment'
|
962
|
+
property :type, as: 'type'
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
865
966
|
class Source
|
866
967
|
# @private
|
867
968
|
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.
|
4
|
+
version: 0.14.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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.14.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: []
|