google-apis-ondemandscanning_v1 0.4.0 → 0.8.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: fdf23e2a110d8f2a0c87f9eeb02bfe9da5bbcf757b3e8ce6986d543e8a0d3de6
4
- data.tar.gz: 0f5a4d07c85b54f30d1a5653ceb5717256149b564c12c021a47cfada8ed38db5
3
+ metadata.gz: e4c96d2269729b21f009800c4aef8bc0497d309e7de22e90c7693a4073248b28
4
+ data.tar.gz: bd386ca026a341af1269184db84128069038226bf793fcb3cdf7add804fd98b2
5
5
  SHA512:
6
- metadata.gz: 0125d50a0ac7c595f0aa8b5c34e173b2e67e5665eaedfc7a5cf9b4ef242ba0b42c98e145e8fe9c373e8f79afa6970fbc70f794d0f8b68c14f27d50a44c2ea04f
7
- data.tar.gz: 4a0c24f8d722563fc91f39921543d10f28869f68103445421d6e11573e5fd78609e184a1888f120fb489beb295aa6bcaa7f1eb7012d7482e7010ccc4a00341f4
6
+ metadata.gz: 7c2ffad6f0b9bea816428cfcf345f4c6850a038917a81da0e6359cae1964277f9e3687a8ee6a4a0fac67e03451520000920b1ea32cbada18e51a614320f7e56e
7
+ data.tar.gz: 475d59e609b85951642263b3a1cbcecc130a850173f67aea5b4ca8a61251ab37396b414537320428753d39e0754641e68aadd020ce058564e89ac8de045e8d18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.8.0 (2021-08-05)
4
+
5
+ * Regenerated from discovery document revision 20210731
6
+
7
+ ### v0.7.0 (2021-06-29)
8
+
9
+ * Regenerated using generator version 0.4.0
10
+
11
+ ### v0.6.0 (2021-06-24)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.5.0 (2021-06-19)
16
+
17
+ * Regenerated from discovery document revision 20210613
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.4.0 (2021-05-27)
4
21
 
5
22
  * Regenerated from discovery document revision 20210524
@@ -253,6 +253,11 @@ module Google
253
253
  class BuildOccurrence
254
254
  include Google::Apis::Core::Hashable
255
255
 
256
+ # In-toto Provenance representation as defined in spec.
257
+ # Corresponds to the JSON property `intotoProvenance`
258
+ # @return [Google::Apis::OndemandscanningV1::InTotoProvenance]
259
+ attr_accessor :intoto_provenance
260
+
256
261
  # Provenance of a build. Contains all information needed to verify the full
257
262
  # details about the build from source to completion.
258
263
  # Corresponds to the JSON property `provenance`
@@ -277,6 +282,7 @@ module Google
277
282
 
278
283
  # Update properties of this object
279
284
  def update!(**args)
285
+ @intoto_provenance = args[:intoto_provenance] if args.key?(:intoto_provenance)
280
286
  @provenance = args[:provenance] if args.key?(:provenance)
281
287
  @provenance_bytes = args[:provenance_bytes] if args.key?(:provenance_bytes)
282
288
  end
@@ -377,6 +383,25 @@ module Google
377
383
  end
378
384
  end
379
385
 
386
+ #
387
+ class BuilderConfig
388
+ include Google::Apis::Core::Hashable
389
+
390
+ #
391
+ # Corresponds to the JSON property `id`
392
+ # @return [String]
393
+ attr_accessor :id
394
+
395
+ def initialize(**args)
396
+ update!(**args)
397
+ end
398
+
399
+ # Update properties of this object
400
+ def update!(**args)
401
+ @id = args[:id] if args.key?(:id)
402
+ end
403
+ end
404
+
380
405
  # The category to which the update belongs.
381
406
  class Category
382
407
  include Google::Apis::Core::Hashable
@@ -486,6 +511,43 @@ module Google
486
511
  end
487
512
  end
488
513
 
514
+ # Indicates that the builder claims certain fields in this message to be
515
+ # complete.
516
+ class Completeness
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # If true, the builder claims that recipe.arguments is complete, meaning that
520
+ # all external inputs are properly captured in the recipe.
521
+ # Corresponds to the JSON property `arguments`
522
+ # @return [Boolean]
523
+ attr_accessor :arguments
524
+ alias_method :arguments?, :arguments
525
+
526
+ # If true, the builder claims that recipe.environment is claimed to be complete.
527
+ # Corresponds to the JSON property `environment`
528
+ # @return [Boolean]
529
+ attr_accessor :environment
530
+ alias_method :environment?, :environment
531
+
532
+ # If true, the builder claims that materials are complete, usually through some
533
+ # controls to prevent network access. Sometimes called "hermetic".
534
+ # Corresponds to the JSON property `materials`
535
+ # @return [Boolean]
536
+ attr_accessor :materials
537
+ alias_method :materials?, :materials
538
+
539
+ def initialize(**args)
540
+ update!(**args)
541
+ end
542
+
543
+ # Update properties of this object
544
+ def update!(**args)
545
+ @arguments = args[:arguments] if args.key?(:arguments)
546
+ @environment = args[:environment] if args.key?(:environment)
547
+ @materials = args[:materials] if args.key?(:materials)
548
+ end
549
+ end
550
+
489
551
  # An indication that the compliance checks in the associated ComplianceNote were
490
552
  # not satisfied for particular resources or a specified reason.
491
553
  class ComplianceOccurrence
@@ -512,6 +574,34 @@ module Google
512
574
  end
513
575
  end
514
576
 
577
+ #
578
+ class DsseAttestationOccurrence
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
582
+ # proto. An authenticated message of arbitrary type.
583
+ # Corresponds to the JSON property `envelope`
584
+ # @return [Google::Apis::OndemandscanningV1::Envelope]
585
+ attr_accessor :envelope
586
+
587
+ # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
588
+ # statement The serialized InTotoStatement will be stored as Envelope.payload.
589
+ # Envelope.payloadType is always "application/vnd.in-toto+json".
590
+ # Corresponds to the JSON property `statement`
591
+ # @return [Google::Apis::OndemandscanningV1::InTotoStatement]
592
+ attr_accessor :statement
593
+
594
+ def initialize(**args)
595
+ update!(**args)
596
+ end
597
+
598
+ # Update properties of this object
599
+ def update!(**args)
600
+ @envelope = args[:envelope] if args.key?(:envelope)
601
+ @statement = args[:statement] if args.key?(:statement)
602
+ end
603
+ end
604
+
515
605
  # The period during which some deployable was active in a runtime.
516
606
  class DeploymentOccurrence
517
607
  include Google::Apis::Core::Hashable
@@ -633,6 +723,65 @@ module Google
633
723
  end
634
724
  end
635
725
 
726
+ # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
727
+ # proto. An authenticated message of arbitrary type.
728
+ class Envelope
729
+ include Google::Apis::Core::Hashable
730
+
731
+ #
732
+ # Corresponds to the JSON property `payload`
733
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
734
+ # @return [String]
735
+ attr_accessor :payload
736
+
737
+ #
738
+ # Corresponds to the JSON property `payloadType`
739
+ # @return [String]
740
+ attr_accessor :payload_type
741
+
742
+ #
743
+ # Corresponds to the JSON property `signatures`
744
+ # @return [Array<Google::Apis::OndemandscanningV1::EnvelopeSignature>]
745
+ attr_accessor :signatures
746
+
747
+ def initialize(**args)
748
+ update!(**args)
749
+ end
750
+
751
+ # Update properties of this object
752
+ def update!(**args)
753
+ @payload = args[:payload] if args.key?(:payload)
754
+ @payload_type = args[:payload_type] if args.key?(:payload_type)
755
+ @signatures = args[:signatures] if args.key?(:signatures)
756
+ end
757
+ end
758
+
759
+ #
760
+ class EnvelopeSignature
761
+ include Google::Apis::Core::Hashable
762
+
763
+ #
764
+ # Corresponds to the JSON property `keyid`
765
+ # @return [String]
766
+ attr_accessor :keyid
767
+
768
+ #
769
+ # Corresponds to the JSON property `sig`
770
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
771
+ # @return [String]
772
+ attr_accessor :sig
773
+
774
+ def initialize(**args)
775
+ update!(**args)
776
+ end
777
+
778
+ # Update properties of this object
779
+ def update!(**args)
780
+ @keyid = args[:keyid] if args.key?(:keyid)
781
+ @sig = args[:sig] if args.key?(:sig)
782
+ end
783
+ end
784
+
636
785
  # Container message for hashes of byte content of files, used in source messages
637
786
  # to verify integrity of source input to the build.
638
787
  class FileHashes
@@ -843,6 +992,86 @@ module Google
843
992
  end
844
993
  end
845
994
 
995
+ #
996
+ class InTotoProvenance
997
+ include Google::Apis::Core::Hashable
998
+
999
+ # required
1000
+ # Corresponds to the JSON property `builderConfig`
1001
+ # @return [Google::Apis::OndemandscanningV1::BuilderConfig]
1002
+ attr_accessor :builder_config
1003
+
1004
+ # The collection of artifacts that influenced the build including sources,
1005
+ # dependencies, build tools, base images, and so on. This is considered to be
1006
+ # incomplete unless metadata.completeness.materials is true. Unset or null is
1007
+ # equivalent to empty.
1008
+ # Corresponds to the JSON property `materials`
1009
+ # @return [Array<String>]
1010
+ attr_accessor :materials
1011
+
1012
+ # Other properties of the build.
1013
+ # Corresponds to the JSON property `metadata`
1014
+ # @return [Google::Apis::OndemandscanningV1::Metadata]
1015
+ attr_accessor :metadata
1016
+
1017
+ # Steps taken to build the artifact. For a TaskRun, typically each container
1018
+ # corresponds to one step in the recipe.
1019
+ # Corresponds to the JSON property `recipe`
1020
+ # @return [Google::Apis::OndemandscanningV1::Recipe]
1021
+ attr_accessor :recipe
1022
+
1023
+ def initialize(**args)
1024
+ update!(**args)
1025
+ end
1026
+
1027
+ # Update properties of this object
1028
+ def update!(**args)
1029
+ @builder_config = args[:builder_config] if args.key?(:builder_config)
1030
+ @materials = args[:materials] if args.key?(:materials)
1031
+ @metadata = args[:metadata] if args.key?(:metadata)
1032
+ @recipe = args[:recipe] if args.key?(:recipe)
1033
+ end
1034
+ end
1035
+
1036
+ # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#
1037
+ # statement The serialized InTotoStatement will be stored as Envelope.payload.
1038
+ # Envelope.payloadType is always "application/vnd.in-toto+json".
1039
+ class InTotoStatement
1040
+ include Google::Apis::Core::Hashable
1041
+
1042
+ # "https://in-toto.io/Provenance/v0.1" for InTotoProvenance.
1043
+ # Corresponds to the JSON property `predicateType`
1044
+ # @return [String]
1045
+ attr_accessor :predicate_type
1046
+
1047
+ #
1048
+ # Corresponds to the JSON property `provenance`
1049
+ # @return [Google::Apis::OndemandscanningV1::InTotoProvenance]
1050
+ attr_accessor :provenance
1051
+
1052
+ #
1053
+ # Corresponds to the JSON property `subject`
1054
+ # @return [Array<Google::Apis::OndemandscanningV1::Subject>]
1055
+ attr_accessor :subject
1056
+
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
+ def initialize(**args)
1063
+ update!(**args)
1064
+ end
1065
+
1066
+ # Update properties of this object
1067
+ def update!(**args)
1068
+ @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1069
+ @provenance = args[:provenance] if args.key?(:provenance)
1070
+ @subject = args[:subject] if args.key?(:subject)
1071
+ @type = args[:type] if args.key?(:type)
1072
+ end
1073
+ end
1074
+
846
1075
  #
847
1076
  class Jwt
848
1077
  include Google::Apis::Core::Hashable
@@ -975,6 +1204,54 @@ module Google
975
1204
  end
976
1205
  end
977
1206
 
1207
+ # Other properties of the build.
1208
+ class Metadata
1209
+ include Google::Apis::Core::Hashable
1210
+
1211
+ # The timestamp of when the build completed.
1212
+ # Corresponds to the JSON property `buildFinishedOn`
1213
+ # @return [String]
1214
+ attr_accessor :build_finished_on
1215
+
1216
+ # Identifies the particular build invocation, which can be useful for finding
1217
+ # associated logs or other ad-hoc analysis. The value SHOULD be globally unique,
1218
+ # per in-toto Provenance spec.
1219
+ # Corresponds to the JSON property `buildInvocationId`
1220
+ # @return [String]
1221
+ attr_accessor :build_invocation_id
1222
+
1223
+ # The timestamp of when the build started.
1224
+ # Corresponds to the JSON property `buildStartedOn`
1225
+ # @return [String]
1226
+ attr_accessor :build_started_on
1227
+
1228
+ # Indicates that the builder claims certain fields in this message to be
1229
+ # complete.
1230
+ # Corresponds to the JSON property `completeness`
1231
+ # @return [Google::Apis::OndemandscanningV1::Completeness]
1232
+ attr_accessor :completeness
1233
+
1234
+ # If true, the builder claims that running the recipe on materials will produce
1235
+ # bit-for-bit identical output.
1236
+ # Corresponds to the JSON property `reproducible`
1237
+ # @return [Boolean]
1238
+ attr_accessor :reproducible
1239
+ alias_method :reproducible?, :reproducible
1240
+
1241
+ def initialize(**args)
1242
+ update!(**args)
1243
+ end
1244
+
1245
+ # Update properties of this object
1246
+ def update!(**args)
1247
+ @build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
1248
+ @build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
1249
+ @build_started_on = args[:build_started_on] if args.key?(:build_started_on)
1250
+ @completeness = args[:completeness] if args.key?(:completeness)
1251
+ @reproducible = args[:reproducible] if args.key?(:reproducible)
1252
+ end
1253
+ end
1254
+
978
1255
  # Details about files that caused a compliance check to fail.
979
1256
  class NonCompliantFile
980
1257
  include Google::Apis::Core::Hashable
@@ -1049,6 +1326,17 @@ module Google
1049
1326
  # @return [Google::Apis::OndemandscanningV1::DiscoveryOccurrence]
1050
1327
  attr_accessor :discovery
1051
1328
 
1329
+ # Describes an attestation of an artifact using dsse.
1330
+ # Corresponds to the JSON property `dsseAttestation`
1331
+ # @return [Google::Apis::OndemandscanningV1::DsseAttestationOccurrence]
1332
+ attr_accessor :dsse_attestation
1333
+
1334
+ # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.
1335
+ # proto. An authenticated message of arbitrary type.
1336
+ # Corresponds to the JSON property `envelope`
1337
+ # @return [Google::Apis::OndemandscanningV1::Envelope]
1338
+ attr_accessor :envelope
1339
+
1052
1340
  # Details of the derived image portion of the DockerImage relationship. This
1053
1341
  # image would be produced from a Dockerfile with FROM .
1054
1342
  # Corresponds to the JSON property `image`
@@ -1122,6 +1410,8 @@ module Google
1122
1410
  @create_time = args[:create_time] if args.key?(:create_time)
1123
1411
  @deployment = args[:deployment] if args.key?(:deployment)
1124
1412
  @discovery = args[:discovery] if args.key?(:discovery)
1413
+ @dsse_attestation = args[:dsse_attestation] if args.key?(:dsse_attestation)
1414
+ @envelope = args[:envelope] if args.key?(:envelope)
1125
1415
  @image = args[:image] if args.key?(:image)
1126
1416
  @kind = args[:kind] if args.key?(:kind)
1127
1417
  @name = args[:name] if args.key?(:name)
@@ -1225,6 +1515,11 @@ module Google
1225
1515
  # @return [String]
1226
1516
  attr_accessor :package
1227
1517
 
1518
+ # The type of package: os, maven, go, etc.
1519
+ # Corresponds to the JSON property `packageType`
1520
+ # @return [String]
1521
+ attr_accessor :package_type
1522
+
1228
1523
  #
1229
1524
  # Corresponds to the JSON property `unused`
1230
1525
  # @return [String]
@@ -1245,6 +1540,7 @@ module Google
1245
1540
  @os = args[:os] if args.key?(:os)
1246
1541
  @os_version = args[:os_version] if args.key?(:os_version)
1247
1542
  @package = args[:package] if args.key?(:package)
1543
+ @package_type = args[:package_type] if args.key?(:package_type)
1248
1544
  @unused = args[:unused] if args.key?(:unused)
1249
1545
  @version = args[:version] if args.key?(:version)
1250
1546
  end
@@ -1362,6 +1658,64 @@ module Google
1362
1658
  end
1363
1659
  end
1364
1660
 
1661
+ # Steps taken to build the artifact. For a TaskRun, typically each container
1662
+ # corresponds to one step in the recipe.
1663
+ class Recipe
1664
+ include Google::Apis::Core::Hashable
1665
+
1666
+ # Collection of all external inputs that influenced the build on top of recipe.
1667
+ # definedInMaterial and recipe.entryPoint. For example, if the recipe type were "
1668
+ # make", then this might be the flags passed to make aside from the target,
1669
+ # which is captured in recipe.entryPoint.
1670
+ # Corresponds to the JSON property `arguments`
1671
+ # @return [Array<String>]
1672
+ attr_accessor :arguments
1673
+
1674
+ # Index in materials containing the recipe steps that are not implied by recipe.
1675
+ # type. For example, if the recipe type were "make", then this would point to
1676
+ # the source containing the Makefile, not the make program itself. Set to -1 if
1677
+ # the recipe doesn't come from a material, as zero is default unset value for
1678
+ # int64.
1679
+ # Corresponds to the JSON property `definedInMaterial`
1680
+ # @return [Fixnum]
1681
+ attr_accessor :defined_in_material
1682
+
1683
+ # String identifying the entry point into the build. This is often a path to a
1684
+ # configuration file and/or a target label within that file. The syntax and
1685
+ # meaning are defined by recipe.type. For example, if the recipe type were "make"
1686
+ # , then this would reference the directory in which to run make as well as
1687
+ # which target to use.
1688
+ # Corresponds to the JSON property `entryPoint`
1689
+ # @return [String]
1690
+ attr_accessor :entry_point
1691
+
1692
+ # Any other builder-controlled inputs necessary for correctly evaluating the
1693
+ # recipe. Usually only needed for reproducing the build but not evaluated as
1694
+ # part of policy.
1695
+ # Corresponds to the JSON property `environment`
1696
+ # @return [Hash<String,String>]
1697
+ attr_accessor :environment
1698
+
1699
+ # URI indicating what type of recipe was performed. It determines the meaning of
1700
+ # recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
1701
+ # Corresponds to the JSON property `type`
1702
+ # @return [String]
1703
+ attr_accessor :type
1704
+
1705
+ def initialize(**args)
1706
+ update!(**args)
1707
+ end
1708
+
1709
+ # Update properties of this object
1710
+ def update!(**args)
1711
+ @arguments = args[:arguments] if args.key?(:arguments)
1712
+ @defined_in_material = args[:defined_in_material] if args.key?(:defined_in_material)
1713
+ @entry_point = args[:entry_point] if args.key?(:entry_point)
1714
+ @environment = args[:environment] if args.key?(:environment)
1715
+ @type = args[:type] if args.key?(:type)
1716
+ end
1717
+ end
1718
+
1365
1719
  # Metadata for any related URL information.
1366
1720
  class RelatedUrl
1367
1721
  include Google::Apis::Core::Hashable
@@ -1592,6 +1946,31 @@ module Google
1592
1946
  end
1593
1947
  end
1594
1948
 
1949
+ #
1950
+ class Subject
1951
+ include Google::Apis::Core::Hashable
1952
+
1953
+ # "": ""
1954
+ # Corresponds to the JSON property `digest`
1955
+ # @return [Hash<String,String>]
1956
+ attr_accessor :digest
1957
+
1958
+ #
1959
+ # Corresponds to the JSON property `name`
1960
+ # @return [String]
1961
+ attr_accessor :name
1962
+
1963
+ def initialize(**args)
1964
+ update!(**args)
1965
+ end
1966
+
1967
+ # Update properties of this object
1968
+ def update!(**args)
1969
+ @digest = args[:digest] if args.key?(:digest)
1970
+ @name = args[:name] if args.key?(:name)
1971
+ end
1972
+ end
1973
+
1595
1974
  # The Upgrade Distribution represents metadata about the Upgrade for each
1596
1975
  # operating system (CPE). Some distributions have additional metadata around
1597
1976
  # updates, classifying them into various categories and severities.
@@ -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.4.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210524"
25
+ REVISION = "20210731"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class BuilderConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class Category
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -100,12 +106,24 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class Completeness
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class ComplianceOccurrence
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
106
118
  include Google::Apis::Core::JsonObjectSupport
107
119
  end
108
120
 
121
+ class DsseAttestationOccurrence
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
109
127
  class DeploymentOccurrence
110
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
129
 
@@ -124,6 +142,18 @@ module Google
124
142
  include Google::Apis::Core::JsonObjectSupport
125
143
  end
126
144
 
145
+ class Envelope
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class EnvelopeSignature
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
127
157
  class FileHashes
128
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
159
 
@@ -166,6 +196,18 @@ module Google
166
196
  include Google::Apis::Core::JsonObjectSupport
167
197
  end
168
198
 
199
+ class InTotoProvenance
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class InTotoStatement
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
169
211
  class Jwt
170
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
213
 
@@ -196,6 +238,12 @@ module Google
196
238
  include Google::Apis::Core::JsonObjectSupport
197
239
  end
198
240
 
241
+ class Metadata
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
199
247
  class NonCompliantFile
200
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
249
 
@@ -238,6 +286,12 @@ module Google
238
286
  include Google::Apis::Core::JsonObjectSupport
239
287
  end
240
288
 
289
+ class Recipe
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
241
295
  class RelatedUrl
242
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
297
 
@@ -274,6 +328,12 @@ module Google
274
328
  include Google::Apis::Core::JsonObjectSupport
275
329
  end
276
330
 
331
+ class Subject
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
277
337
  class UpgradeDistribution
278
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
339
 
@@ -374,6 +434,8 @@ module Google
374
434
  class BuildOccurrence
375
435
  # @private
376
436
  class Representation < Google::Apis::Core::JsonRepresentation
437
+ property :intoto_provenance, as: 'intotoProvenance', class: Google::Apis::OndemandscanningV1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1::InTotoProvenance::Representation
438
+
377
439
  property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1::BuildProvenance, decorator: Google::Apis::OndemandscanningV1::BuildProvenance::Representation
378
440
 
379
441
  property :provenance_bytes, as: 'provenanceBytes'
@@ -402,6 +464,13 @@ module Google
402
464
  end
403
465
  end
404
466
 
467
+ class BuilderConfig
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :id, as: 'id'
471
+ end
472
+ end
473
+
405
474
  class Category
406
475
  # @private
407
476
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -433,6 +502,15 @@ module Google
433
502
  end
434
503
  end
435
504
 
505
+ class Completeness
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :arguments, as: 'arguments'
509
+ property :environment, as: 'environment'
510
+ property :materials, as: 'materials'
511
+ end
512
+ end
513
+
436
514
  class ComplianceOccurrence
437
515
  # @private
438
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -442,6 +520,16 @@ module Google
442
520
  end
443
521
  end
444
522
 
523
+ class DsseAttestationOccurrence
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :envelope, as: 'envelope', class: Google::Apis::OndemandscanningV1::Envelope, decorator: Google::Apis::OndemandscanningV1::Envelope::Representation
527
+
528
+ property :statement, as: 'statement', class: Google::Apis::OndemandscanningV1::InTotoStatement, decorator: Google::Apis::OndemandscanningV1::InTotoStatement::Representation
529
+
530
+ end
531
+ end
532
+
445
533
  class DeploymentOccurrence
446
534
  # @private
447
535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -473,6 +561,24 @@ module Google
473
561
  end
474
562
  end
475
563
 
564
+ class Envelope
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :payload, :base64 => true, as: 'payload'
568
+ property :payload_type, as: 'payloadType'
569
+ collection :signatures, as: 'signatures', class: Google::Apis::OndemandscanningV1::EnvelopeSignature, decorator: Google::Apis::OndemandscanningV1::EnvelopeSignature::Representation
570
+
571
+ end
572
+ end
573
+
574
+ class EnvelopeSignature
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :keyid, as: 'keyid'
578
+ property :sig, :base64 => true, as: 'sig'
579
+ end
580
+ end
581
+
476
582
  class FileHashes
477
583
  # @private
478
584
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -537,6 +643,31 @@ module Google
537
643
  end
538
644
  end
539
645
 
646
+ class InTotoProvenance
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :builder_config, as: 'builderConfig', class: Google::Apis::OndemandscanningV1::BuilderConfig, decorator: Google::Apis::OndemandscanningV1::BuilderConfig::Representation
650
+
651
+ collection :materials, as: 'materials'
652
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1::Metadata, decorator: Google::Apis::OndemandscanningV1::Metadata::Representation
653
+
654
+ property :recipe, as: 'recipe', class: Google::Apis::OndemandscanningV1::Recipe, decorator: Google::Apis::OndemandscanningV1::Recipe::Representation
655
+
656
+ end
657
+ end
658
+
659
+ class InTotoStatement
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :predicate_type, as: 'predicateType'
663
+ property :provenance, as: 'provenance', class: Google::Apis::OndemandscanningV1::InTotoProvenance, decorator: Google::Apis::OndemandscanningV1::InTotoProvenance::Representation
664
+
665
+ collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1::Subject, decorator: Google::Apis::OndemandscanningV1::Subject::Representation
666
+
667
+ property :type, as: 'type'
668
+ end
669
+ end
670
+
540
671
  class Jwt
541
672
  # @private
542
673
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -580,6 +711,18 @@ module Google
580
711
  end
581
712
  end
582
713
 
714
+ class Metadata
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :build_finished_on, as: 'buildFinishedOn'
718
+ property :build_invocation_id, as: 'buildInvocationId'
719
+ property :build_started_on, as: 'buildStartedOn'
720
+ property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1::Completeness, decorator: Google::Apis::OndemandscanningV1::Completeness::Representation
721
+
722
+ property :reproducible, as: 'reproducible'
723
+ end
724
+ end
725
+
583
726
  class NonCompliantFile
584
727
  # @private
585
728
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -603,6 +746,10 @@ module Google
603
746
 
604
747
  property :discovery, as: 'discovery', class: Google::Apis::OndemandscanningV1::DiscoveryOccurrence, decorator: Google::Apis::OndemandscanningV1::DiscoveryOccurrence::Representation
605
748
 
749
+ property :dsse_attestation, as: 'dsseAttestation', class: Google::Apis::OndemandscanningV1::DsseAttestationOccurrence, decorator: Google::Apis::OndemandscanningV1::DsseAttestationOccurrence::Representation
750
+
751
+ property :envelope, as: 'envelope', class: Google::Apis::OndemandscanningV1::Envelope, decorator: Google::Apis::OndemandscanningV1::Envelope::Representation
752
+
606
753
  property :image, as: 'image', class: Google::Apis::OndemandscanningV1::ImageOccurrence, decorator: Google::Apis::OndemandscanningV1::ImageOccurrence::Representation
607
754
 
608
755
  property :kind, as: 'kind'
@@ -639,6 +786,7 @@ module Google
639
786
  property :os, as: 'os'
640
787
  property :os_version, as: 'osVersion'
641
788
  property :package, as: 'package'
789
+ property :package_type, as: 'packageType'
642
790
  property :unused, as: 'unused'
643
791
  property :version, as: 'version'
644
792
  end
@@ -676,6 +824,17 @@ module Google
676
824
  end
677
825
  end
678
826
 
827
+ class Recipe
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ collection :arguments, as: 'arguments'
831
+ property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
832
+ property :entry_point, as: 'entryPoint'
833
+ hash :environment, as: 'environment'
834
+ property :type, as: 'type'
835
+ end
836
+ end
837
+
679
838
  class RelatedUrl
680
839
  # @private
681
840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -736,6 +895,14 @@ module Google
736
895
  end
737
896
  end
738
897
 
898
+ class Subject
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ hash :digest, as: 'digest'
902
+ property :name, as: 'name'
903
+ end
904
+ end
905
+
739
906
  class UpgradeDistribution
740
907
  # @private
741
908
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.8.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-05-31 00:00:00.000000000 Z
11
+ date: 2021-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for On-Demand Scanning API V1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.8.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ondemandscanning_v1
57
63
  post_install_message:
58
64
  rdoc_options: []