google-apis-containeranalysis_v1 0.20.0 → 0.22.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: d558d7137beb7013c60bdb720bf90a6aab932dad88e00cf47c12722ce35f7ab5
4
- data.tar.gz: c18da444e8b5c3b9aadd666d5f0f93841916975cef6982e63b6a64adfc74e5d8
3
+ metadata.gz: a26ac992f036be8f75f155149140b11143c7c57c61eaafd8233eae67ecfba5e7
4
+ data.tar.gz: ef5253493948b37d286951b0fabe3884de8f4e94d795a60fdb2231197bda8883
5
5
  SHA512:
6
- metadata.gz: dd69f8b318ac7be65b52bd0531d3a2c4a215258c36915fa34367da62658ea7b4d301f645000cbfc79a867569418c1924b038226bc05074aafaa0bd483089a38f
7
- data.tar.gz: 1e08deb91e43325f3688e6982b33c229e1b8aba9bec9e0010b3ea0613e3935608d390df43ad9339c32e0f9e0a34df882e2e1451ed9eff9b6788ae25b95fd00c2
6
+ metadata.gz: dc7c42bd013dd88aac327c50bfc771a2d11556caf7c54272dedc5951af99c233556a9061c0789ed5d8d5e5f3ea1763e5790a2545c02558ccc0e11286f7b0777f
7
+ data.tar.gz: 98c2291b0f93046d6b2eef3e23ce904a7434477110d5447c9ea0cf48a57f4f2625379d79031c712bcd24813183a889779eef4dff2292472811a69eff0fae6544
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.22.0 (2022-10-08)
4
+
5
+ * Regenerated from discovery document revision 20221001
6
+
7
+ ### v0.21.0 (2022-09-28)
8
+
9
+ * Regenerated from discovery document revision 20220923
10
+
3
11
  ### v0.20.0 (2022-09-20)
4
12
 
5
13
  * Regenerated using generator version 0.10.0
@@ -1057,12 +1057,29 @@ module Google
1057
1057
  # @return [Array<String>]
1058
1058
  attr_accessor :images
1059
1059
 
1060
+ # A list of Maven artifacts to be uploaded to Artifact Registry upon successful
1061
+ # completion of all build steps. Artifacts in the workspace matching specified
1062
+ # paths globs will be uploaded to the specified Artifact Registry repository
1063
+ # using the builder service account's credentials. If any artifacts fail to be
1064
+ # pushed, the build is marked FAILURE.
1065
+ # Corresponds to the JSON property `mavenArtifacts`
1066
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
1067
+ attr_accessor :maven_artifacts
1068
+
1060
1069
  # Files in the workspace to upload to Cloud Storage upon successful completion
1061
1070
  # of all build steps.
1062
1071
  # Corresponds to the JSON property `objects`
1063
1072
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects]
1064
1073
  attr_accessor :objects
1065
1074
 
1075
+ # A list of Python packages to be uploaded to Artifact Registry upon successful
1076
+ # completion of all build steps. The build service account credentials will be
1077
+ # used to perform the upload. If any objects fail to be pushed, the build is
1078
+ # marked FAILURE.
1079
+ # Corresponds to the JSON property `pythonPackages`
1080
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage>]
1081
+ attr_accessor :python_packages
1082
+
1066
1083
  def initialize(**args)
1067
1084
  update!(**args)
1068
1085
  end
@@ -1070,7 +1087,9 @@ module Google
1070
1087
  # Update properties of this object
1071
1088
  def update!(**args)
1072
1089
  @images = args[:images] if args.key?(:images)
1090
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1073
1091
  @objects = args[:objects] if args.key?(:objects)
1092
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
1074
1093
  end
1075
1094
  end
1076
1095
 
@@ -1109,6 +1128,85 @@ module Google
1109
1128
  end
1110
1129
  end
1111
1130
 
1131
+ # A Maven artifact to upload to Artifact Registry upon successful completion of
1132
+ # all build steps.
1133
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
1134
+ include Google::Apis::Core::Hashable
1135
+
1136
+ # Maven `artifactId` value used when uploading the artifact to Artifact Registry.
1137
+ # Corresponds to the JSON property `artifactId`
1138
+ # @return [String]
1139
+ attr_accessor :artifact_id
1140
+
1141
+ # Maven `groupId` value used when uploading the artifact to Artifact Registry.
1142
+ # Corresponds to the JSON property `groupId`
1143
+ # @return [String]
1144
+ attr_accessor :group_id
1145
+
1146
+ # Path to an artifact in the build's workspace to be uploaded to Artifact
1147
+ # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
1148
+ # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
1149
+ # my-app-1.0.SNAPSHOT.jar.
1150
+ # Corresponds to the JSON property `path`
1151
+ # @return [String]
1152
+ attr_accessor :path
1153
+
1154
+ # Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
1155
+ # PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
1156
+ # uploaded to Artifact Registry with this location as a prefix.
1157
+ # Corresponds to the JSON property `repository`
1158
+ # @return [String]
1159
+ attr_accessor :repository
1160
+
1161
+ # Maven `version` value used when uploading the artifact to Artifact Registry.
1162
+ # Corresponds to the JSON property `version`
1163
+ # @return [String]
1164
+ attr_accessor :version
1165
+
1166
+ def initialize(**args)
1167
+ update!(**args)
1168
+ end
1169
+
1170
+ # Update properties of this object
1171
+ def update!(**args)
1172
+ @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
1173
+ @group_id = args[:group_id] if args.key?(:group_id)
1174
+ @path = args[:path] if args.key?(:path)
1175
+ @repository = args[:repository] if args.key?(:repository)
1176
+ @version = args[:version] if args.key?(:version)
1177
+ end
1178
+ end
1179
+
1180
+ # Python package to upload to Artifact Registry upon successful completion of
1181
+ # all build steps. A package can encapsulate multiple objects to be uploaded to
1182
+ # a single repository.
1183
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1184
+ include Google::Apis::Core::Hashable
1185
+
1186
+ # Path globs used to match files in the build's workspace. For Python/ Twine,
1187
+ # this is usually `dist/*`, and sometimes additionally an `.asc` file.
1188
+ # Corresponds to the JSON property `paths`
1189
+ # @return [Array<String>]
1190
+ attr_accessor :paths
1191
+
1192
+ # Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
1193
+ # PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
1194
+ # uploaded to Artifact Registry with this location as a prefix.
1195
+ # Corresponds to the JSON property `repository`
1196
+ # @return [String]
1197
+ attr_accessor :repository
1198
+
1199
+ def initialize(**args)
1200
+ update!(**args)
1201
+ end
1202
+
1203
+ # Update properties of this object
1204
+ def update!(**args)
1205
+ @paths = args[:paths] if args.key?(:paths)
1206
+ @repository = args[:repository] if args.key?(:repository)
1207
+ end
1208
+ end
1209
+
1112
1210
  # A build resource in the Cloud Build API. At a high level, a `Build` describes
1113
1211
  # where to find source code, how to build it (for example, the builder image to
1114
1212
  # run on the source), and where to store the built artifacts. Fields can include
@@ -1283,10 +1381,10 @@ module Google
1283
1381
  attr_accessor :timeout
1284
1382
 
1285
1383
  # Output only. Stores timing information for phases of the build. Valid keys are:
1286
- # * BUILD: time to execute all build steps. * PUSH: time to push all specified
1287
- # images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
1288
- # build. If the build does not specify source or images, these keys will not be
1289
- # included.
1384
+ # * BUILD: time to execute all build steps. * PUSH: time to push all artifacts
1385
+ # including docker images and non docker artifacts. * FETCHSOURCE: time to fetch
1386
+ # source. * SETUPBUILD: time to set up build. If the build does not specify
1387
+ # source or images, these keys will not be included.
1290
1388
  # Corresponds to the JSON property `timing`
1291
1389
  # @return [Hash<String,Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan>]
1292
1390
  attr_accessor :timing
@@ -1895,7 +1993,8 @@ module Google
1895
1993
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Results
1896
1994
  include Google::Apis::Core::Hashable
1897
1995
 
1898
- # Path to the artifact manifest. Only populated when artifacts are uploaded.
1996
+ # Path to the artifact manifest for non-container artifacts uploaded to Cloud
1997
+ # Storage. Only populated when artifacts are uploaded to Cloud Storage.
1899
1998
  # Corresponds to the JSON property `artifactManifest`
1900
1999
  # @return [String]
1901
2000
  attr_accessor :artifact_manifest
@@ -1923,11 +2022,22 @@ module Google
1923
2022
  # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage>]
1924
2023
  attr_accessor :images
1925
2024
 
1926
- # Number of artifacts uploaded. Only populated when artifacts are uploaded.
2025
+ # Maven artifacts uploaded to Artifact Registry at the end of the build.
2026
+ # Corresponds to the JSON property `mavenArtifacts`
2027
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
2028
+ attr_accessor :maven_artifacts
2029
+
2030
+ # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2031
+ # when artifacts are uploaded to Cloud Storage.
1927
2032
  # Corresponds to the JSON property `numArtifacts`
1928
2033
  # @return [Fixnum]
1929
2034
  attr_accessor :num_artifacts
1930
2035
 
2036
+ # Python artifacts uploaded to Artifact Registry at the end of the build.
2037
+ # Corresponds to the JSON property `pythonPackages`
2038
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
2039
+ attr_accessor :python_packages
2040
+
1931
2041
  def initialize(**args)
1932
2042
  update!(**args)
1933
2043
  end
@@ -1939,7 +2049,9 @@ module Google
1939
2049
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
1940
2050
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
1941
2051
  @images = args[:images] if args.key?(:images)
2052
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1942
2053
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2054
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
1943
2055
  end
1944
2056
  end
1945
2057
 
@@ -2203,6 +2315,70 @@ module Google
2203
2315
  end
2204
2316
  end
2205
2317
 
2318
+ # A Maven artifact uploaded using the MavenArtifact directive.
2319
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
2320
+ include Google::Apis::Core::Hashable
2321
+
2322
+ # Container message for hashes of byte content of files, used in
2323
+ # SourceProvenance messages to verify integrity of source input to the build.
2324
+ # Corresponds to the JSON property `fileHashes`
2325
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2326
+ attr_accessor :file_hashes
2327
+
2328
+ # Start and end times for a build execution phase.
2329
+ # Corresponds to the JSON property `pushTiming`
2330
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2331
+ attr_accessor :push_timing
2332
+
2333
+ # URI of the uploaded artifact.
2334
+ # Corresponds to the JSON property `uri`
2335
+ # @return [String]
2336
+ attr_accessor :uri
2337
+
2338
+ def initialize(**args)
2339
+ update!(**args)
2340
+ end
2341
+
2342
+ # Update properties of this object
2343
+ def update!(**args)
2344
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2345
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2346
+ @uri = args[:uri] if args.key?(:uri)
2347
+ end
2348
+ end
2349
+
2350
+ # Artifact uploaded using the PythonPackage directive.
2351
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
2352
+ include Google::Apis::Core::Hashable
2353
+
2354
+ # Container message for hashes of byte content of files, used in
2355
+ # SourceProvenance messages to verify integrity of source input to the build.
2356
+ # Corresponds to the JSON property `fileHashes`
2357
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2358
+ attr_accessor :file_hashes
2359
+
2360
+ # Start and end times for a build execution phase.
2361
+ # Corresponds to the JSON property `pushTiming`
2362
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2363
+ attr_accessor :push_timing
2364
+
2365
+ # URI of the uploaded artifact.
2366
+ # Corresponds to the JSON property `uri`
2367
+ # @return [String]
2368
+ attr_accessor :uri
2369
+
2370
+ def initialize(**args)
2371
+ update!(**args)
2372
+ end
2373
+
2374
+ # Update properties of this object
2375
+ def update!(**args)
2376
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2377
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2378
+ @uri = args[:uri] if args.key?(:uri)
2379
+ end
2380
+ end
2381
+
2206
2382
  # Volume describes a Docker container volume which is mounted into build steps
2207
2383
  # in order to persist files across build step execution.
2208
2384
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume
@@ -5270,6 +5446,11 @@ module Google
5270
5446
  # @return [Google::Apis::ContaineranalysisV1::CvsSv3]
5271
5447
  attr_accessor :cvss_v3
5272
5448
 
5449
+ # CVSS version used to populate cvss_score and severity.
5450
+ # Corresponds to the JSON property `cvssVersion`
5451
+ # @return [String]
5452
+ attr_accessor :cvss_version
5453
+
5273
5454
  # Details of all known distros and packages affected by this vulnerability.
5274
5455
  # Corresponds to the JSON property `details`
5275
5456
  # @return [Array<Google::Apis::ContaineranalysisV1::Detail>]
@@ -5303,6 +5484,7 @@ module Google
5303
5484
  def update!(**args)
5304
5485
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
5305
5486
  @cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
5487
+ @cvss_version = args[:cvss_version] if args.key?(:cvss_version)
5306
5488
  @details = args[:details] if args.key?(:details)
5307
5489
  @severity = args[:severity] if args.key?(:severity)
5308
5490
  @source_update_time = args[:source_update_time] if args.key?(:source_update_time)
@@ -5320,6 +5502,11 @@ module Google
5320
5502
  # @return [Float]
5321
5503
  attr_accessor :cvss_score
5322
5504
 
5505
+ # Output only. CVSS version used to populate cvss_score and severity.
5506
+ # Corresponds to the JSON property `cvssVersion`
5507
+ # @return [String]
5508
+ attr_accessor :cvss_version
5509
+
5323
5510
  # Common Vulnerability Scoring System. For details, see https://www.first.org/
5324
5511
  # cvss/specification-document This is a message we will try to use for storing
5325
5512
  # various versions of CVSS rather than making a separate proto for storing a
@@ -5385,6 +5572,7 @@ module Google
5385
5572
  # Update properties of this object
5386
5573
  def update!(**args)
5387
5574
  @cvss_score = args[:cvss_score] if args.key?(:cvss_score)
5575
+ @cvss_version = args[:cvss_version] if args.key?(:cvss_version)
5388
5576
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
5389
5577
  @effective_severity = args[:effective_severity] if args.key?(:effective_severity)
5390
5578
  @fix_available = args[:fix_available] if args.key?(:fix_available)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220902"
25
+ REVISION = "20221001"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,18 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
193
205
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Build
194
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
207
 
@@ -316,6 +328,18 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -1074,8 +1098,12 @@ module Google
1074
1098
  # @private
1075
1099
  class Representation < Google::Apis::Core::JsonRepresentation
1076
1100
  collection :images, as: 'images'
1101
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1102
+
1077
1103
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1078
1104
 
1105
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
1106
+
1079
1107
  end
1080
1108
  end
1081
1109
 
@@ -1089,6 +1117,25 @@ module Google
1089
1117
  end
1090
1118
  end
1091
1119
 
1120
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :artifact_id, as: 'artifactId'
1124
+ property :group_id, as: 'groupId'
1125
+ property :path, as: 'path'
1126
+ property :repository, as: 'repository'
1127
+ property :version, as: 'version'
1128
+ end
1129
+ end
1130
+
1131
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1132
+ # @private
1133
+ class Representation < Google::Apis::Core::JsonRepresentation
1134
+ collection :paths, as: 'paths'
1135
+ property :repository, as: 'repository'
1136
+ end
1137
+ end
1138
+
1092
1139
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Build
1093
1140
  # @private
1094
1141
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1275,7 +1322,11 @@ module Google
1275
1322
  collection :build_step_outputs, as: 'buildStepOutputs'
1276
1323
  collection :images, as: 'images', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage::Representation
1277
1324
 
1325
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1326
+
1278
1327
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1328
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1329
+
1279
1330
  end
1280
1331
  end
1281
1332
 
@@ -1357,6 +1408,28 @@ module Google
1357
1408
  end
1358
1409
  end
1359
1410
 
1411
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
1412
+ # @private
1413
+ class Representation < Google::Apis::Core::JsonRepresentation
1414
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1415
+
1416
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1417
+
1418
+ property :uri, as: 'uri'
1419
+ end
1420
+ end
1421
+
1422
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1423
+ # @private
1424
+ class Representation < Google::Apis::Core::JsonRepresentation
1425
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1426
+
1427
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1428
+
1429
+ property :uri, as: 'uri'
1430
+ end
1431
+ end
1432
+
1360
1433
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume
1361
1434
  # @private
1362
1435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2182,6 +2255,7 @@ module Google
2182
2255
  property :cvss_score, as: 'cvssScore'
2183
2256
  property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1::CvsSv3, decorator: Google::Apis::ContaineranalysisV1::CvsSv3::Representation
2184
2257
 
2258
+ property :cvss_version, as: 'cvssVersion'
2185
2259
  collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1::Detail, decorator: Google::Apis::ContaineranalysisV1::Detail::Representation
2186
2260
 
2187
2261
  property :severity, as: 'severity'
@@ -2195,6 +2269,7 @@ module Google
2195
2269
  # @private
2196
2270
  class Representation < Google::Apis::Core::JsonRepresentation
2197
2271
  property :cvss_score, as: 'cvssScore'
2272
+ property :cvss_version, as: 'cvssVersion'
2198
2273
  property :cvssv3, as: 'cvssv3', class: Google::Apis::ContaineranalysisV1::Cvss, decorator: Google::Apis::ContaineranalysisV1::Cvss::Representation
2199
2274
 
2200
2275
  property :effective_severity, as: 'effectiveSeverity'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.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-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-17 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-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []