google-apis-ondemandscanning_v1beta1 0.22.0 → 0.23.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: 3714a33d13b823cf1c93622b211b4c2b54b84f74997a7529c2252c0578d6f9a1
4
- data.tar.gz: 8cc921cacd8ccea2cda634d84eb0123d834903cfc3580748549d2f57600770a8
3
+ metadata.gz: 4e965a9da1137351ee702e097683901f113c5d777c998939f3a5c89f5dbb7dfd
4
+ data.tar.gz: d94214ee51b511ce97994513a8a3024b4dd15dbaf47b66d84be8edbf0311c04c
5
5
  SHA512:
6
- metadata.gz: b9660df4268dff06920c94efc0a3c593e059cfde9070cb4ab7e286f233a2180fc6270a88193efd3ca7eb3c14a4352c65e314f7757209dcd499769d7a71d55297
7
- data.tar.gz: 556ce38e5a30802794dc30cd714a64ed26eb2f210a5db73dfa501171886e004221cb028316fa85bcd601440cbe9a398da3f6bef1a30fd39a3f6d62c52b6b5f5f
6
+ metadata.gz: d89e34e15c04b889ecbab21386bbbb1da20b5995217dd2858c81e5f53b6d36c6bb883717d467121b8bba23785233cb6480c1fb946194ed747ef28bf2c21cb589
7
+ data.tar.gz: b49eefa89d41de6562e8994a80297e7440027a9fdcdf3290953457e6fa5da13f9d396b4879de5ab322385b6f25bd3bf67a5907414738c6c28f11bf349bd1326d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1beta1
2
2
 
3
+ ### v0.23.0 (2022-05-19)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
3
7
  ### v0.22.0 (2022-05-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20220509
@@ -1045,6 +1045,196 @@ module Google
1045
1045
  end
1046
1046
  end
1047
1047
 
1048
+ # Identifies the entity that executed the recipe, which is trusted to have
1049
+ # correctly performed the operation and populated this provenance.
1050
+ class GrafeasV1SlsaProvenance02SlsaBuilder
1051
+ include Google::Apis::Core::Hashable
1052
+
1053
+ #
1054
+ # Corresponds to the JSON property `id`
1055
+ # @return [String]
1056
+ attr_accessor :id
1057
+
1058
+ def initialize(**args)
1059
+ update!(**args)
1060
+ end
1061
+
1062
+ # Update properties of this object
1063
+ def update!(**args)
1064
+ @id = args[:id] if args.key?(:id)
1065
+ end
1066
+ end
1067
+
1068
+ # Indicates that the builder claims certain fields in this message to be
1069
+ # complete.
1070
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
1071
+ include Google::Apis::Core::Hashable
1072
+
1073
+ #
1074
+ # Corresponds to the JSON property `environment`
1075
+ # @return [Boolean]
1076
+ attr_accessor :environment
1077
+ alias_method :environment?, :environment
1078
+
1079
+ #
1080
+ # Corresponds to the JSON property `materials`
1081
+ # @return [Boolean]
1082
+ attr_accessor :materials
1083
+ alias_method :materials?, :materials
1084
+
1085
+ #
1086
+ # Corresponds to the JSON property `parameters`
1087
+ # @return [Boolean]
1088
+ attr_accessor :parameters
1089
+ alias_method :parameters?, :parameters
1090
+
1091
+ def initialize(**args)
1092
+ update!(**args)
1093
+ end
1094
+
1095
+ # Update properties of this object
1096
+ def update!(**args)
1097
+ @environment = args[:environment] if args.key?(:environment)
1098
+ @materials = args[:materials] if args.key?(:materials)
1099
+ @parameters = args[:parameters] if args.key?(:parameters)
1100
+ end
1101
+ end
1102
+
1103
+ # Describes where the config file that kicked off the build came from. This is
1104
+ # effectively a pointer to the source where buildConfig came from.
1105
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ #
1109
+ # Corresponds to the JSON property `digest`
1110
+ # @return [Hash<String,String>]
1111
+ attr_accessor :digest
1112
+
1113
+ #
1114
+ # Corresponds to the JSON property `entryPoint`
1115
+ # @return [String]
1116
+ attr_accessor :entry_point
1117
+
1118
+ #
1119
+ # Corresponds to the JSON property `uri`
1120
+ # @return [String]
1121
+ attr_accessor :uri
1122
+
1123
+ def initialize(**args)
1124
+ update!(**args)
1125
+ end
1126
+
1127
+ # Update properties of this object
1128
+ def update!(**args)
1129
+ @digest = args[:digest] if args.key?(:digest)
1130
+ @entry_point = args[:entry_point] if args.key?(:entry_point)
1131
+ @uri = args[:uri] if args.key?(:uri)
1132
+ end
1133
+ end
1134
+
1135
+ # Identifies the event that kicked off the build.
1136
+ class GrafeasV1SlsaProvenance02SlsaInvocation
1137
+ include Google::Apis::Core::Hashable
1138
+
1139
+ # Describes where the config file that kicked off the build came from. This is
1140
+ # effectively a pointer to the source where buildConfig came from.
1141
+ # Corresponds to the JSON property `configSource`
1142
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaConfigSource]
1143
+ attr_accessor :config_source
1144
+
1145
+ #
1146
+ # Corresponds to the JSON property `environment`
1147
+ # @return [Hash<String,Object>]
1148
+ attr_accessor :environment
1149
+
1150
+ #
1151
+ # Corresponds to the JSON property `parameters`
1152
+ # @return [Hash<String,Object>]
1153
+ attr_accessor :parameters
1154
+
1155
+ def initialize(**args)
1156
+ update!(**args)
1157
+ end
1158
+
1159
+ # Update properties of this object
1160
+ def update!(**args)
1161
+ @config_source = args[:config_source] if args.key?(:config_source)
1162
+ @environment = args[:environment] if args.key?(:environment)
1163
+ @parameters = args[:parameters] if args.key?(:parameters)
1164
+ end
1165
+ end
1166
+
1167
+ # The collection of artifacts that influenced the build including sources,
1168
+ # dependencies, build tools, base images, and so on.
1169
+ class GrafeasV1SlsaProvenance02SlsaMaterial
1170
+ include Google::Apis::Core::Hashable
1171
+
1172
+ #
1173
+ # Corresponds to the JSON property `digest`
1174
+ # @return [Hash<String,String>]
1175
+ attr_accessor :digest
1176
+
1177
+ #
1178
+ # Corresponds to the JSON property `uri`
1179
+ # @return [String]
1180
+ attr_accessor :uri
1181
+
1182
+ def initialize(**args)
1183
+ update!(**args)
1184
+ end
1185
+
1186
+ # Update properties of this object
1187
+ def update!(**args)
1188
+ @digest = args[:digest] if args.key?(:digest)
1189
+ @uri = args[:uri] if args.key?(:uri)
1190
+ end
1191
+ end
1192
+
1193
+ # Other properties of the build.
1194
+ class GrafeasV1SlsaProvenance02SlsaMetadata
1195
+ include Google::Apis::Core::Hashable
1196
+
1197
+ #
1198
+ # Corresponds to the JSON property `buildFinishedOn`
1199
+ # @return [String]
1200
+ attr_accessor :build_finished_on
1201
+
1202
+ #
1203
+ # Corresponds to the JSON property `buildInvocationId`
1204
+ # @return [String]
1205
+ attr_accessor :build_invocation_id
1206
+
1207
+ #
1208
+ # Corresponds to the JSON property `buildStartedOn`
1209
+ # @return [String]
1210
+ attr_accessor :build_started_on
1211
+
1212
+ # Indicates that the builder claims certain fields in this message to be
1213
+ # complete.
1214
+ # Corresponds to the JSON property `completeness`
1215
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaCompleteness]
1216
+ attr_accessor :completeness
1217
+
1218
+ #
1219
+ # Corresponds to the JSON property `reproducible`
1220
+ # @return [Boolean]
1221
+ attr_accessor :reproducible
1222
+ alias_method :reproducible?, :reproducible
1223
+
1224
+ def initialize(**args)
1225
+ update!(**args)
1226
+ end
1227
+
1228
+ # Update properties of this object
1229
+ def update!(**args)
1230
+ @build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
1231
+ @build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
1232
+ @build_started_on = args[:build_started_on] if args.key?(:build_started_on)
1233
+ @completeness = args[:completeness] if args.key?(:completeness)
1234
+ @reproducible = args[:reproducible] if args.key?(:reproducible)
1235
+ end
1236
+ end
1237
+
1048
1238
  # Container message for hash values.
1049
1239
  class HashProp
1050
1240
  include Google::Apis::Core::Hashable
@@ -1204,6 +1394,11 @@ module Google
1204
1394
  # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance]
1205
1395
  attr_accessor :slsa_provenance
1206
1396
 
1397
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
1398
+ # Corresponds to the JSON property `slsaProvenance02`
1399
+ # @return [Google::Apis::OndemandscanningV1beta1::SlsaProvenance02]
1400
+ attr_accessor :slsa_provenance02
1401
+
1207
1402
  #
1208
1403
  # Corresponds to the JSON property `subject`
1209
1404
  # @return [Array<Google::Apis::OndemandscanningV1beta1::Subject>]
@@ -1219,6 +1414,7 @@ module Google
1219
1414
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1220
1415
  @provenance = args[:provenance] if args.key?(:provenance)
1221
1416
  @slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
1417
+ @slsa_provenance02 = args[:slsa_provenance02] if args.key?(:slsa_provenance02)
1222
1418
  @subject = args[:subject] if args.key?(:subject)
1223
1419
  end
1224
1420
  end
@@ -2242,6 +2438,56 @@ module Google
2242
2438
  end
2243
2439
  end
2244
2440
 
2441
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
2442
+ class SlsaProvenance02
2443
+ include Google::Apis::Core::Hashable
2444
+
2445
+ #
2446
+ # Corresponds to the JSON property `buildConfig`
2447
+ # @return [Hash<String,Object>]
2448
+ attr_accessor :build_config
2449
+
2450
+ #
2451
+ # Corresponds to the JSON property `buildType`
2452
+ # @return [String]
2453
+ attr_accessor :build_type
2454
+
2455
+ # Identifies the entity that executed the recipe, which is trusted to have
2456
+ # correctly performed the operation and populated this provenance.
2457
+ # Corresponds to the JSON property `builder`
2458
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaBuilder]
2459
+ attr_accessor :builder
2460
+
2461
+ # Identifies the event that kicked off the build.
2462
+ # Corresponds to the JSON property `invocation`
2463
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaInvocation]
2464
+ attr_accessor :invocation
2465
+
2466
+ #
2467
+ # Corresponds to the JSON property `materials`
2468
+ # @return [Array<Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMaterial>]
2469
+ attr_accessor :materials
2470
+
2471
+ # Other properties of the build.
2472
+ # Corresponds to the JSON property `metadata`
2473
+ # @return [Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMetadata]
2474
+ attr_accessor :metadata
2475
+
2476
+ def initialize(**args)
2477
+ update!(**args)
2478
+ end
2479
+
2480
+ # Update properties of this object
2481
+ def update!(**args)
2482
+ @build_config = args[:build_config] if args.key?(:build_config)
2483
+ @build_type = args[:build_type] if args.key?(:build_type)
2484
+ @builder = args[:builder] if args.key?(:builder)
2485
+ @invocation = args[:invocation] if args.key?(:invocation)
2486
+ @materials = args[:materials] if args.key?(:materials)
2487
+ @metadata = args[:metadata] if args.key?(:metadata)
2488
+ end
2489
+ end
2490
+
2245
2491
  # Steps taken to build the artifact. For a TaskRun, typically each container
2246
2492
  # corresponds to one step in the recipe.
2247
2493
  class SlsaRecipe
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1beta1
18
18
  # Version of the google-apis-ondemandscanning_v1beta1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.23.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 = "20220509"
25
+ REVISION = "20220513"
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 GrafeasV1SlsaProvenance02SlsaBuilder
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GrafeasV1SlsaProvenance02SlsaInvocation
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GrafeasV1SlsaProvenance02SlsaMaterial
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GrafeasV1SlsaProvenance02SlsaMetadata
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
 
@@ -364,6 +400,12 @@ module Google
364
400
  include Google::Apis::Core::JsonObjectSupport
365
401
  end
366
402
 
403
+ class SlsaProvenance02
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
367
409
  class SlsaRecipe
368
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
411
 
@@ -710,6 +752,61 @@ module Google
710
752
  end
711
753
  end
712
754
 
755
+ class GrafeasV1SlsaProvenance02SlsaBuilder
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :id, as: 'id'
759
+ end
760
+ end
761
+
762
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
763
+ # @private
764
+ class Representation < Google::Apis::Core::JsonRepresentation
765
+ property :environment, as: 'environment'
766
+ property :materials, as: 'materials'
767
+ property :parameters, as: 'parameters'
768
+ end
769
+ end
770
+
771
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ hash :digest, as: 'digest'
775
+ property :entry_point, as: 'entryPoint'
776
+ property :uri, as: 'uri'
777
+ end
778
+ end
779
+
780
+ class GrafeasV1SlsaProvenance02SlsaInvocation
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :config_source, as: 'configSource', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaConfigSource, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaConfigSource::Representation
784
+
785
+ hash :environment, as: 'environment'
786
+ hash :parameters, as: 'parameters'
787
+ end
788
+ end
789
+
790
+ class GrafeasV1SlsaProvenance02SlsaMaterial
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ hash :digest, as: 'digest'
794
+ property :uri, as: 'uri'
795
+ end
796
+ end
797
+
798
+ class GrafeasV1SlsaProvenance02SlsaMetadata
799
+ # @private
800
+ class Representation < Google::Apis::Core::JsonRepresentation
801
+ property :build_finished_on, as: 'buildFinishedOn'
802
+ property :build_invocation_id, as: 'buildInvocationId'
803
+ property :build_started_on, as: 'buildStartedOn'
804
+ property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaCompleteness::Representation
805
+
806
+ property :reproducible, as: 'reproducible'
807
+ end
808
+ end
809
+
713
810
  class HashProp
714
811
  # @private
715
812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -760,6 +857,8 @@ module Google
760
857
 
761
858
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance::Representation
762
859
 
860
+ property :slsa_provenance02, as: 'slsaProvenance02', class: Google::Apis::OndemandscanningV1beta1::SlsaProvenance02, decorator: Google::Apis::OndemandscanningV1beta1::SlsaProvenance02::Representation
861
+
763
862
  collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1beta1::Subject, decorator: Google::Apis::OndemandscanningV1beta1::Subject::Representation
764
863
 
765
864
  end
@@ -1029,6 +1128,22 @@ module Google
1029
1128
  end
1030
1129
  end
1031
1130
 
1131
+ class SlsaProvenance02
1132
+ # @private
1133
+ class Representation < Google::Apis::Core::JsonRepresentation
1134
+ hash :build_config, as: 'buildConfig'
1135
+ property :build_type, as: 'buildType'
1136
+ property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaBuilder, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaBuilder::Representation
1137
+
1138
+ property :invocation, as: 'invocation', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaInvocation, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaInvocation::Representation
1139
+
1140
+ collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMaterial, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMaterial::Representation
1141
+
1142
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMetadata, decorator: Google::Apis::OndemandscanningV1beta1::GrafeasV1SlsaProvenance02SlsaMetadata::Representation
1143
+
1144
+ end
1145
+ end
1146
+
1032
1147
  class SlsaRecipe
1033
1148
  # @private
1034
1149
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.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-16 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1beta1/v0.23.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: []