google-apis-ondemandscanning_v1 0.20.0 → 0.21.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: 939337bc26736f0a965d37cfb27b33a3167934e4d0d20aafdc2ed4edc62bb5d9
4
- data.tar.gz: 199cf477d9fe6d0c15d65cbd9a68135f7d7323626fc7e2fd3a5a0b1f79d99992
3
+ metadata.gz: c6dbc2a25afea085509fac6f9846521345e8cc69feb50316194458fd847f2c31
4
+ data.tar.gz: 1ad11e9842f6b66566fef0476363b31084e65cfeca40737d14fe005251ab4c3a
5
5
  SHA512:
6
- metadata.gz: e2cd892ed5a8b8f6c4617fb0bc3bbac2bf59dea0ec1f5bed6112d38fc1679ed6ac37ffa3e331d8ecf9bde29d9b83af26eb8298da55177071dc6930a2f15e37f0
7
- data.tar.gz: c87f6b703164f39e7a707b143ae7fd8a02be86d5be2c28a16ed4f2eb643c997352ce924dee9eb09cb9ca4d9bb061073f4bfca2242dfb788aca1da630939b832a
6
+ metadata.gz: 293117b098052e49ea5079e683c8f4e9fb5b1a2fbdf15a8765eb025fc99bc9dec3f7fd255a54306dfe10a1a0573d65ac2f6d73312a62ebeaebdba72987f1c25b
7
+ data.tar.gz: 39c78986c2f0d64bbe6e1e443789bbc6d0f81dd181e8e7448d514e24042a0f0bec413450a88e836c489b3b65cbafc930931b520317153f652e843ff99010d17f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ondemandscanning_v1
2
2
 
3
+ ### v0.21.0 (2022-05-19)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
3
7
  ### v0.20.0 (2022-05-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20220509
@@ -1053,6 +1053,196 @@ module Google
1053
1053
  end
1054
1054
  end
1055
1055
 
1056
+ # Identifies the entity that executed the recipe, which is trusted to have
1057
+ # correctly performed the operation and populated this provenance.
1058
+ class GrafeasV1SlsaProvenance02SlsaBuilder
1059
+ include Google::Apis::Core::Hashable
1060
+
1061
+ #
1062
+ # Corresponds to the JSON property `id`
1063
+ # @return [String]
1064
+ attr_accessor :id
1065
+
1066
+ def initialize(**args)
1067
+ update!(**args)
1068
+ end
1069
+
1070
+ # Update properties of this object
1071
+ def update!(**args)
1072
+ @id = args[:id] if args.key?(:id)
1073
+ end
1074
+ end
1075
+
1076
+ # Indicates that the builder claims certain fields in this message to be
1077
+ # complete.
1078
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
1079
+ include Google::Apis::Core::Hashable
1080
+
1081
+ #
1082
+ # Corresponds to the JSON property `environment`
1083
+ # @return [Boolean]
1084
+ attr_accessor :environment
1085
+ alias_method :environment?, :environment
1086
+
1087
+ #
1088
+ # Corresponds to the JSON property `materials`
1089
+ # @return [Boolean]
1090
+ attr_accessor :materials
1091
+ alias_method :materials?, :materials
1092
+
1093
+ #
1094
+ # Corresponds to the JSON property `parameters`
1095
+ # @return [Boolean]
1096
+ attr_accessor :parameters
1097
+ alias_method :parameters?, :parameters
1098
+
1099
+ def initialize(**args)
1100
+ update!(**args)
1101
+ end
1102
+
1103
+ # Update properties of this object
1104
+ def update!(**args)
1105
+ @environment = args[:environment] if args.key?(:environment)
1106
+ @materials = args[:materials] if args.key?(:materials)
1107
+ @parameters = args[:parameters] if args.key?(:parameters)
1108
+ end
1109
+ end
1110
+
1111
+ # Describes where the config file that kicked off the build came from. This is
1112
+ # effectively a pointer to the source where buildConfig came from.
1113
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
1114
+ include Google::Apis::Core::Hashable
1115
+
1116
+ #
1117
+ # Corresponds to the JSON property `digest`
1118
+ # @return [Hash<String,String>]
1119
+ attr_accessor :digest
1120
+
1121
+ #
1122
+ # Corresponds to the JSON property `entryPoint`
1123
+ # @return [String]
1124
+ attr_accessor :entry_point
1125
+
1126
+ #
1127
+ # Corresponds to the JSON property `uri`
1128
+ # @return [String]
1129
+ attr_accessor :uri
1130
+
1131
+ def initialize(**args)
1132
+ update!(**args)
1133
+ end
1134
+
1135
+ # Update properties of this object
1136
+ def update!(**args)
1137
+ @digest = args[:digest] if args.key?(:digest)
1138
+ @entry_point = args[:entry_point] if args.key?(:entry_point)
1139
+ @uri = args[:uri] if args.key?(:uri)
1140
+ end
1141
+ end
1142
+
1143
+ # Identifies the event that kicked off the build.
1144
+ class GrafeasV1SlsaProvenance02SlsaInvocation
1145
+ include Google::Apis::Core::Hashable
1146
+
1147
+ # Describes where the config file that kicked off the build came from. This is
1148
+ # effectively a pointer to the source where buildConfig came from.
1149
+ # Corresponds to the JSON property `configSource`
1150
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaConfigSource]
1151
+ attr_accessor :config_source
1152
+
1153
+ #
1154
+ # Corresponds to the JSON property `environment`
1155
+ # @return [Hash<String,Object>]
1156
+ attr_accessor :environment
1157
+
1158
+ #
1159
+ # Corresponds to the JSON property `parameters`
1160
+ # @return [Hash<String,Object>]
1161
+ attr_accessor :parameters
1162
+
1163
+ def initialize(**args)
1164
+ update!(**args)
1165
+ end
1166
+
1167
+ # Update properties of this object
1168
+ def update!(**args)
1169
+ @config_source = args[:config_source] if args.key?(:config_source)
1170
+ @environment = args[:environment] if args.key?(:environment)
1171
+ @parameters = args[:parameters] if args.key?(:parameters)
1172
+ end
1173
+ end
1174
+
1175
+ # The collection of artifacts that influenced the build including sources,
1176
+ # dependencies, build tools, base images, and so on.
1177
+ class GrafeasV1SlsaProvenance02SlsaMaterial
1178
+ include Google::Apis::Core::Hashable
1179
+
1180
+ #
1181
+ # Corresponds to the JSON property `digest`
1182
+ # @return [Hash<String,String>]
1183
+ attr_accessor :digest
1184
+
1185
+ #
1186
+ # Corresponds to the JSON property `uri`
1187
+ # @return [String]
1188
+ attr_accessor :uri
1189
+
1190
+ def initialize(**args)
1191
+ update!(**args)
1192
+ end
1193
+
1194
+ # Update properties of this object
1195
+ def update!(**args)
1196
+ @digest = args[:digest] if args.key?(:digest)
1197
+ @uri = args[:uri] if args.key?(:uri)
1198
+ end
1199
+ end
1200
+
1201
+ # Other properties of the build.
1202
+ class GrafeasV1SlsaProvenance02SlsaMetadata
1203
+ include Google::Apis::Core::Hashable
1204
+
1205
+ #
1206
+ # Corresponds to the JSON property `buildFinishedOn`
1207
+ # @return [String]
1208
+ attr_accessor :build_finished_on
1209
+
1210
+ #
1211
+ # Corresponds to the JSON property `buildInvocationId`
1212
+ # @return [String]
1213
+ attr_accessor :build_invocation_id
1214
+
1215
+ #
1216
+ # Corresponds to the JSON property `buildStartedOn`
1217
+ # @return [String]
1218
+ attr_accessor :build_started_on
1219
+
1220
+ # Indicates that the builder claims certain fields in this message to be
1221
+ # complete.
1222
+ # Corresponds to the JSON property `completeness`
1223
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaCompleteness]
1224
+ attr_accessor :completeness
1225
+
1226
+ #
1227
+ # Corresponds to the JSON property `reproducible`
1228
+ # @return [Boolean]
1229
+ attr_accessor :reproducible
1230
+ alias_method :reproducible?, :reproducible
1231
+
1232
+ def initialize(**args)
1233
+ update!(**args)
1234
+ end
1235
+
1236
+ # Update properties of this object
1237
+ def update!(**args)
1238
+ @build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
1239
+ @build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
1240
+ @build_started_on = args[:build_started_on] if args.key?(:build_started_on)
1241
+ @completeness = args[:completeness] if args.key?(:completeness)
1242
+ @reproducible = args[:reproducible] if args.key?(:reproducible)
1243
+ end
1244
+ end
1245
+
1056
1246
  # Container message for hash values.
1057
1247
  class HashProp
1058
1248
  include Google::Apis::Core::Hashable
@@ -1212,6 +1402,11 @@ module Google
1212
1402
  # @return [Google::Apis::OndemandscanningV1::SlsaProvenance]
1213
1403
  attr_accessor :slsa_provenance
1214
1404
 
1405
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
1406
+ # Corresponds to the JSON property `slsaProvenance02`
1407
+ # @return [Google::Apis::OndemandscanningV1::SlsaProvenance02]
1408
+ attr_accessor :slsa_provenance02
1409
+
1215
1410
  #
1216
1411
  # Corresponds to the JSON property `subject`
1217
1412
  # @return [Array<Google::Apis::OndemandscanningV1::Subject>]
@@ -1227,6 +1422,7 @@ module Google
1227
1422
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
1228
1423
  @provenance = args[:provenance] if args.key?(:provenance)
1229
1424
  @slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
1425
+ @slsa_provenance02 = args[:slsa_provenance02] if args.key?(:slsa_provenance02)
1230
1426
  @subject = args[:subject] if args.key?(:subject)
1231
1427
  end
1232
1428
  end
@@ -2250,6 +2446,56 @@ module Google
2250
2446
  end
2251
2447
  end
2252
2448
 
2449
+ # See full explanation of fields at slsa.dev/provenance/v0.2.
2450
+ class SlsaProvenance02
2451
+ include Google::Apis::Core::Hashable
2452
+
2453
+ #
2454
+ # Corresponds to the JSON property `buildConfig`
2455
+ # @return [Hash<String,Object>]
2456
+ attr_accessor :build_config
2457
+
2458
+ #
2459
+ # Corresponds to the JSON property `buildType`
2460
+ # @return [String]
2461
+ attr_accessor :build_type
2462
+
2463
+ # Identifies the entity that executed the recipe, which is trusted to have
2464
+ # correctly performed the operation and populated this provenance.
2465
+ # Corresponds to the JSON property `builder`
2466
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaBuilder]
2467
+ attr_accessor :builder
2468
+
2469
+ # Identifies the event that kicked off the build.
2470
+ # Corresponds to the JSON property `invocation`
2471
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaInvocation]
2472
+ attr_accessor :invocation
2473
+
2474
+ #
2475
+ # Corresponds to the JSON property `materials`
2476
+ # @return [Array<Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMaterial>]
2477
+ attr_accessor :materials
2478
+
2479
+ # Other properties of the build.
2480
+ # Corresponds to the JSON property `metadata`
2481
+ # @return [Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMetadata]
2482
+ attr_accessor :metadata
2483
+
2484
+ def initialize(**args)
2485
+ update!(**args)
2486
+ end
2487
+
2488
+ # Update properties of this object
2489
+ def update!(**args)
2490
+ @build_config = args[:build_config] if args.key?(:build_config)
2491
+ @build_type = args[:build_type] if args.key?(:build_type)
2492
+ @builder = args[:builder] if args.key?(:builder)
2493
+ @invocation = args[:invocation] if args.key?(:invocation)
2494
+ @materials = args[:materials] if args.key?(:materials)
2495
+ @metadata = args[:metadata] if args.key?(:metadata)
2496
+ end
2497
+ end
2498
+
2253
2499
  # Steps taken to build the artifact. For a TaskRun, typically each container
2254
2500
  # corresponds to one step in the recipe.
2255
2501
  class SlsaRecipe
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OndemandscanningV1
18
18
  # Version of the google-apis-ondemandscanning_v1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.21.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
 
@@ -711,6 +753,61 @@ module Google
711
753
  end
712
754
  end
713
755
 
756
+ class GrafeasV1SlsaProvenance02SlsaBuilder
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :id, as: 'id'
760
+ end
761
+ end
762
+
763
+ class GrafeasV1SlsaProvenance02SlsaCompleteness
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :environment, as: 'environment'
767
+ property :materials, as: 'materials'
768
+ property :parameters, as: 'parameters'
769
+ end
770
+ end
771
+
772
+ class GrafeasV1SlsaProvenance02SlsaConfigSource
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ hash :digest, as: 'digest'
776
+ property :entry_point, as: 'entryPoint'
777
+ property :uri, as: 'uri'
778
+ end
779
+ end
780
+
781
+ class GrafeasV1SlsaProvenance02SlsaInvocation
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :config_source, as: 'configSource', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaConfigSource, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaConfigSource::Representation
785
+
786
+ hash :environment, as: 'environment'
787
+ hash :parameters, as: 'parameters'
788
+ end
789
+ end
790
+
791
+ class GrafeasV1SlsaProvenance02SlsaMaterial
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ hash :digest, as: 'digest'
795
+ property :uri, as: 'uri'
796
+ end
797
+ end
798
+
799
+ class GrafeasV1SlsaProvenance02SlsaMetadata
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :build_finished_on, as: 'buildFinishedOn'
803
+ property :build_invocation_id, as: 'buildInvocationId'
804
+ property :build_started_on, as: 'buildStartedOn'
805
+ property :completeness, as: 'completeness', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaCompleteness, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaCompleteness::Representation
806
+
807
+ property :reproducible, as: 'reproducible'
808
+ end
809
+ end
810
+
714
811
  class HashProp
715
812
  # @private
716
813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -761,6 +858,8 @@ module Google
761
858
 
762
859
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::OndemandscanningV1::SlsaProvenance, decorator: Google::Apis::OndemandscanningV1::SlsaProvenance::Representation
763
860
 
861
+ property :slsa_provenance02, as: 'slsaProvenance02', class: Google::Apis::OndemandscanningV1::SlsaProvenance02, decorator: Google::Apis::OndemandscanningV1::SlsaProvenance02::Representation
862
+
764
863
  collection :subject, as: 'subject', class: Google::Apis::OndemandscanningV1::Subject, decorator: Google::Apis::OndemandscanningV1::Subject::Representation
765
864
 
766
865
  end
@@ -1030,6 +1129,22 @@ module Google
1030
1129
  end
1031
1130
  end
1032
1131
 
1132
+ class SlsaProvenance02
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ hash :build_config, as: 'buildConfig'
1136
+ property :build_type, as: 'buildType'
1137
+ property :builder, as: 'builder', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaBuilder, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaBuilder::Representation
1138
+
1139
+ property :invocation, as: 'invocation', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaInvocation, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaInvocation::Representation
1140
+
1141
+ collection :materials, as: 'materials', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMaterial, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMaterial::Representation
1142
+
1143
+ property :metadata, as: 'metadata', class: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMetadata, decorator: Google::Apis::OndemandscanningV1::GrafeasV1SlsaProvenance02SlsaMetadata::Representation
1144
+
1145
+ end
1146
+ end
1147
+
1033
1148
  class SlsaRecipe
1034
1149
  # @private
1035
1150
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ondemandscanning_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ondemandscanning_v1/v0.21.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: []