google-apis-containeranalysis_v1 0.31.0 → 0.33.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: a838e9834eedab72763f2b01217b4603b7db11111bda95122a49cbe84e15edda
4
- data.tar.gz: aec950c53390610accbc3ef7989a69ad6a5e769b6735d985ad5c478eca2654b0
3
+ metadata.gz: e89313dc2b89adf5c62898fe91faf169b4684dabcfee52d3e930021a783b5785
4
+ data.tar.gz: 897850d67046c9e893ba70f3504387fc32eddadbaab4cffe83cf1bf1ed973399
5
5
  SHA512:
6
- metadata.gz: 9cb51ffcc5589fdbc63be2adc93faca90b1fffe71b7fd3a45d3eff7cb4c306aef15083f47f8e711b38fd9668922ed3e496db8813a212f6cb78a275f088613b50
7
- data.tar.gz: 4cb0e07eb99fadb6f4e8b00c48b96dba422977592a68ade450b9fa937637d34241104c5df88912aa4abf3d1cd54f17fd17238ac8dd90d7a378083f9caa83db34
6
+ metadata.gz: a93643cabdca4e71dc1eb1ed4df67105327bd8e16b60020f24828f02186a93379953abd9937ab6c2b83b1b30f8f58bca37d94d6d5c688694e95a799751dd8d3d
7
+ data.tar.gz: 0a882caa64aa38ea85c7ce027a75c51f889d92210d20503c76127892696bef95ea74bf1990027e260ed9b479bbeb0f2ae8b80d212e67616f758a7c43fc90e60a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.33.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230421
6
+
7
+ ### v0.32.0 (2023-04-23)
8
+
9
+ * Regenerated from discovery document revision 20230414
10
+
3
11
  ### v0.31.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230317
@@ -1293,6 +1293,15 @@ module Google
1293
1293
  # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
1294
1294
  attr_accessor :maven_artifacts
1295
1295
 
1296
+ # A list of npm packages to be uploaded to Artifact Registry upon successful
1297
+ # completion of all build steps. Npm packages in the specified paths will be
1298
+ # uploaded to the specified Artifact Registry repository using the builder
1299
+ # service account's credentials. If any packages fail to be pushed, the build is
1300
+ # marked FAILURE.
1301
+ # Corresponds to the JSON property `npmPackages`
1302
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage>]
1303
+ attr_accessor :npm_packages
1304
+
1296
1305
  # Files in the workspace to upload to Cloud Storage upon successful completion
1297
1306
  # of all build steps.
1298
1307
  # Corresponds to the JSON property `objects`
@@ -1315,6 +1324,7 @@ module Google
1315
1324
  def update!(**args)
1316
1325
  @images = args[:images] if args.key?(:images)
1317
1326
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1327
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1318
1328
  @objects = args[:objects] if args.key?(:objects)
1319
1329
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1320
1330
  end
@@ -1404,6 +1414,34 @@ module Google
1404
1414
  end
1405
1415
  end
1406
1416
 
1417
+ # Npm package to upload to Artifact Registry upon successful completion of all
1418
+ # build steps.
1419
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1420
+ include Google::Apis::Core::Hashable
1421
+
1422
+ # Path to the package.json. e.g. workspace/path/to/package
1423
+ # Corresponds to the JSON property `packagePath`
1424
+ # @return [String]
1425
+ attr_accessor :package_path
1426
+
1427
+ # Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$
1428
+ # PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be
1429
+ # zipped and uploaded to Artifact Registry with this location as a prefix.
1430
+ # Corresponds to the JSON property `repository`
1431
+ # @return [String]
1432
+ attr_accessor :repository
1433
+
1434
+ def initialize(**args)
1435
+ update!(**args)
1436
+ end
1437
+
1438
+ # Update properties of this object
1439
+ def update!(**args)
1440
+ @package_path = args[:package_path] if args.key?(:package_path)
1441
+ @repository = args[:repository] if args.key?(:repository)
1442
+ end
1443
+ end
1444
+
1407
1445
  # Python package to upload to Artifact Registry upon successful completion of
1408
1446
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1409
1447
  # a single repository.
@@ -2096,6 +2134,46 @@ module Google
2096
2134
  end
2097
2135
  end
2098
2136
 
2137
+ # Location of the source in any accessible Git repository.
2138
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
2139
+ include Google::Apis::Core::Hashable
2140
+
2141
+ # Directory, relative to the source root, in which to run the build. This must
2142
+ # be a relative path. If a step's `dir` is specified and is an absolute path,
2143
+ # this value is ignored for that step's execution.
2144
+ # Corresponds to the JSON property `dir`
2145
+ # @return [String]
2146
+ attr_accessor :dir
2147
+
2148
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2149
+ # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2150
+ # from the Git repository; therefore make sure that the string you provide for `
2151
+ # revision` is parsable by the command. For information on string values
2152
+ # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2153
+ # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2154
+ # docs/git-fetch.
2155
+ # Corresponds to the JSON property `revision`
2156
+ # @return [String]
2157
+ attr_accessor :revision
2158
+
2159
+ # Location of the Git repo to build. This will be used as a `git remote`, see
2160
+ # https://git-scm.com/docs/git-remote.
2161
+ # Corresponds to the JSON property `url`
2162
+ # @return [String]
2163
+ attr_accessor :url
2164
+
2165
+ def initialize(**args)
2166
+ update!(**args)
2167
+ end
2168
+
2169
+ # Update properties of this object
2170
+ def update!(**args)
2171
+ @dir = args[:dir] if args.key?(:dir)
2172
+ @revision = args[:revision] if args.key?(:revision)
2173
+ @url = args[:url] if args.key?(:url)
2174
+ end
2175
+ end
2176
+
2099
2177
  # Container message for hash values.
2100
2178
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
2101
2179
  include Google::Apis::Core::Hashable
@@ -2260,6 +2338,11 @@ module Google
2260
2338
  # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
2261
2339
  attr_accessor :maven_artifacts
2262
2340
 
2341
+ # Npm packages uploaded to Artifact Registry at the end of the build.
2342
+ # Corresponds to the JSON property `npmPackages`
2343
+ # @return [Array<Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage>]
2344
+ attr_accessor :npm_packages
2345
+
2263
2346
  # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2264
2347
  # when artifacts are uploaded to Cloud Storage.
2265
2348
  # Corresponds to the JSON property `numArtifacts`
@@ -2283,6 +2366,7 @@ module Google
2283
2366
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2284
2367
  @images = args[:images] if args.key?(:images)
2285
2368
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2369
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
2286
2370
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2287
2371
  @python_packages = args[:python_packages] if args.key?(:python_packages)
2288
2372
  end
@@ -2376,6 +2460,11 @@ module Google
2376
2460
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
2377
2461
  include Google::Apis::Core::Hashable
2378
2462
 
2463
+ # Location of the source in any accessible Git repository.
2464
+ # Corresponds to the JSON property `gitSource`
2465
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
2466
+ attr_accessor :git_source
2467
+
2379
2468
  # Location of the source in a Google Cloud Source Repository.
2380
2469
  # Corresponds to the JSON property `repoSource`
2381
2470
  # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
@@ -2399,6 +2488,7 @@ module Google
2399
2488
 
2400
2489
  # Update properties of this object
2401
2490
  def update!(**args)
2491
+ @git_source = args[:git_source] if args.key?(:git_source)
2402
2492
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2403
2493
  @storage_source = args[:storage_source] if args.key?(:storage_source)
2404
2494
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
@@ -2580,6 +2670,38 @@ module Google
2580
2670
  end
2581
2671
  end
2582
2672
 
2673
+ # An npm package uploaded to Artifact Registry using the NpmPackage directive.
2674
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
2675
+ include Google::Apis::Core::Hashable
2676
+
2677
+ # Container message for hashes of byte content of files, used in
2678
+ # SourceProvenance messages to verify integrity of source input to the build.
2679
+ # Corresponds to the JSON property `fileHashes`
2680
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2681
+ attr_accessor :file_hashes
2682
+
2683
+ # Start and end times for a build execution phase.
2684
+ # Corresponds to the JSON property `pushTiming`
2685
+ # @return [Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2686
+ attr_accessor :push_timing
2687
+
2688
+ # URI of the uploaded npm package.
2689
+ # Corresponds to the JSON property `uri`
2690
+ # @return [String]
2691
+ attr_accessor :uri
2692
+
2693
+ def initialize(**args)
2694
+ update!(**args)
2695
+ end
2696
+
2697
+ # Update properties of this object
2698
+ def update!(**args)
2699
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2700
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2701
+ @uri = args[:uri] if args.key?(:uri)
2702
+ end
2703
+ end
2704
+
2583
2705
  # Artifact uploaded using the PythonPackage directive.
2584
2706
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
2585
2707
  include Google::Apis::Core::Hashable
@@ -3292,21 +3414,6 @@ module Google
3292
3414
  end
3293
3415
  end
3294
3416
 
3295
- # GeneratePackagesSummaryRequest is the request body for the
3296
- # GeneratePackagesSummary API method. It just takes a single name argument,
3297
- # referring to the resource.
3298
- class GeneratePackagesSummaryRequest
3299
- include Google::Apis::Core::Hashable
3300
-
3301
- def initialize(**args)
3302
- update!(**args)
3303
- end
3304
-
3305
- # Update properties of this object
3306
- def update!(**args)
3307
- end
3308
- end
3309
-
3310
3417
  # A SourceContext referring to a Gerrit project.
3311
3418
  class GerritSourceContext
3312
3419
  include Google::Apis::Core::Hashable
@@ -4018,33 +4125,6 @@ module Google
4018
4125
  end
4019
4126
  end
4020
4127
 
4021
- # Per license count
4022
- class LicensesSummary
4023
- include Google::Apis::Core::Hashable
4024
-
4025
- # The number of fixable vulnerabilities associated with this resource.
4026
- # Corresponds to the JSON property `count`
4027
- # @return [Fixnum]
4028
- attr_accessor :count
4029
-
4030
- # The license of the package. Note that the format of this value is not
4031
- # guaranteed. It may be nil, an empty string, a boolean value (A | B), a
4032
- # differently formed boolean value (A OR B), etc...
4033
- # Corresponds to the JSON property `license`
4034
- # @return [String]
4035
- attr_accessor :license
4036
-
4037
- def initialize(**args)
4038
- update!(**args)
4039
- end
4040
-
4041
- # Update properties of this object
4042
- def update!(**args)
4043
- @count = args[:count] if args.key?(:count)
4044
- @license = args[:license] if args.key?(:license)
4045
- end
4046
- end
4047
-
4048
4128
  # Response for listing occurrences for a note.
4049
4129
  class ListNoteOccurrencesResponse
4050
4130
  include Google::Apis::Core::Hashable
@@ -4779,31 +4859,6 @@ module Google
4779
4859
  end
4780
4860
  end
4781
4861
 
4782
- # A summary of the packages found within the given resource.
4783
- class PackagesSummaryResponse
4784
- include Google::Apis::Core::Hashable
4785
-
4786
- # A listing by license name of each of the licenses and their counts.
4787
- # Corresponds to the JSON property `licensesSummary`
4788
- # @return [Array<Google::Apis::ContaineranalysisV1::LicensesSummary>]
4789
- attr_accessor :licenses_summary
4790
-
4791
- # The unique URL of the image or the container for which this summary applies.
4792
- # Corresponds to the JSON property `resourceUrl`
4793
- # @return [String]
4794
- attr_accessor :resource_url
4795
-
4796
- def initialize(**args)
4797
- update!(**args)
4798
- end
4799
-
4800
- # Update properties of this object
4801
- def update!(**args)
4802
- @licenses_summary = args[:licenses_summary] if args.key?(:licenses_summary)
4803
- @resource_url = args[:resource_url] if args.key?(:resource_url)
4804
- end
4805
- end
4806
-
4807
4862
  # An Identity and Access Management (IAM) policy, which specifies access
4808
4863
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4809
4864
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230317"
25
+ REVISION = "20230421"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -268,6 +274,12 @@ module Google
268
274
  include Google::Apis::Core::JsonObjectSupport
269
275
  end
270
276
 
277
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
271
283
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
272
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
285
 
@@ -346,6 +358,12 @@ module Google
346
358
  include Google::Apis::Core::JsonObjectSupport
347
359
  end
348
360
 
361
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
349
367
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
350
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
369
 
@@ -460,12 +478,6 @@ module Google
460
478
  include Google::Apis::Core::JsonObjectSupport
461
479
  end
462
480
 
463
- class GeneratePackagesSummaryRequest
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
481
  class GerritSourceContext
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -610,12 +622,6 @@ module Google
610
622
  include Google::Apis::Core::JsonObjectSupport
611
623
  end
612
624
 
613
- class LicensesSummary
614
- class Representation < Google::Apis::Core::JsonRepresentation; end
615
-
616
- include Google::Apis::Core::JsonObjectSupport
617
- end
618
-
619
625
  class ListNoteOccurrencesResponse
620
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
627
 
@@ -688,12 +694,6 @@ module Google
688
694
  include Google::Apis::Core::JsonObjectSupport
689
695
  end
690
696
 
691
- class PackagesSummaryResponse
692
- class Representation < Google::Apis::Core::JsonRepresentation; end
693
-
694
- include Google::Apis::Core::JsonObjectSupport
695
- end
696
-
697
697
  class Policy
698
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
699
 
@@ -1221,6 +1221,8 @@ module Google
1221
1221
  collection :images, as: 'images'
1222
1222
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1223
1223
 
1224
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage::Representation
1225
+
1224
1226
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1225
1227
 
1226
1228
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
@@ -1249,6 +1251,14 @@ module Google
1249
1251
  end
1250
1252
  end
1251
1253
 
1254
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1255
+ # @private
1256
+ class Representation < Google::Apis::Core::JsonRepresentation
1257
+ property :package_path, as: 'packagePath'
1258
+ property :repository, as: 'repository'
1259
+ end
1260
+ end
1261
+
1252
1262
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1253
1263
  # @private
1254
1264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1404,6 +1414,15 @@ module Google
1404
1414
  end
1405
1415
  end
1406
1416
 
1417
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
1418
+ # @private
1419
+ class Representation < Google::Apis::Core::JsonRepresentation
1420
+ property :dir, as: 'dir'
1421
+ property :revision, as: 'revision'
1422
+ property :url, as: 'url'
1423
+ end
1424
+ end
1425
+
1407
1426
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1408
1427
  # @private
1409
1428
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1446,6 +1465,8 @@ module Google
1446
1465
 
1447
1466
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1448
1467
 
1468
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage::Representation
1469
+
1449
1470
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1450
1471
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1451
1472
 
@@ -1481,6 +1502,8 @@ module Google
1481
1502
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
1482
1503
  # @private
1483
1504
  class Representation < Google::Apis::Core::JsonRepresentation
1505
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1506
+
1484
1507
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
1485
1508
 
1486
1509
  property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource::Representation
@@ -1541,6 +1564,17 @@ module Google
1541
1564
  end
1542
1565
  end
1543
1566
 
1567
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
1568
+ # @private
1569
+ class Representation < Google::Apis::Core::JsonRepresentation
1570
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1571
+
1572
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1573
+
1574
+ property :uri, as: 'uri'
1575
+ end
1576
+ end
1577
+
1544
1578
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1545
1579
  # @private
1546
1580
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1734,12 +1768,6 @@ module Google
1734
1768
  end
1735
1769
  end
1736
1770
 
1737
- class GeneratePackagesSummaryRequest
1738
- # @private
1739
- class Representation < Google::Apis::Core::JsonRepresentation
1740
- end
1741
- end
1742
-
1743
1771
  class GerritSourceContext
1744
1772
  # @private
1745
1773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1956,14 +1984,6 @@ module Google
1956
1984
  end
1957
1985
  end
1958
1986
 
1959
- class LicensesSummary
1960
- # @private
1961
- class Representation < Google::Apis::Core::JsonRepresentation
1962
- property :count, :numeric_string => true, as: 'count'
1963
- property :license, as: 'license'
1964
- end
1965
- end
1966
-
1967
1987
  class ListNoteOccurrencesResponse
1968
1988
  # @private
1969
1989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2159,15 +2179,6 @@ module Google
2159
2179
  end
2160
2180
  end
2161
2181
 
2162
- class PackagesSummaryResponse
2163
- # @private
2164
- class Representation < Google::Apis::Core::JsonRepresentation
2165
- collection :licenses_summary, as: 'licensesSummary', class: Google::Apis::ContaineranalysisV1::LicensesSummary, decorator: Google::Apis::ContaineranalysisV1::LicensesSummary::Representation
2166
-
2167
- property :resource_url, as: 'resourceUrl'
2168
- end
2169
- end
2170
-
2171
2182
  class Policy
2172
2183
  # @private
2173
2184
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -813,40 +813,6 @@ module Google
813
813
  command.query['quotaUser'] = quota_user unless quota_user.nil?
814
814
  execute_or_queue_command(command, &block)
815
815
  end
816
-
817
- # Gets a summary of the packages within a given resource.
818
- # @param [String] name
819
- # Required. The name of the resource to get a packages summary for in the form
820
- # of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
821
- # @param [Google::Apis::ContaineranalysisV1::GeneratePackagesSummaryRequest] generate_packages_summary_request_object
822
- # @param [String] fields
823
- # Selector specifying which fields to include in a partial response.
824
- # @param [String] quota_user
825
- # Available to use for quota purposes for server-side applications. Can be any
826
- # arbitrary string assigned to a user, but should not exceed 40 characters.
827
- # @param [Google::Apis::RequestOptions] options
828
- # Request-specific options
829
- #
830
- # @yield [result, err] Result & error if block supplied
831
- # @yieldparam result [Google::Apis::ContaineranalysisV1::PackagesSummaryResponse] parsed result object
832
- # @yieldparam err [StandardError] error object if request failed
833
- #
834
- # @return [Google::Apis::ContaineranalysisV1::PackagesSummaryResponse]
835
- #
836
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
- # @raise [Google::Apis::AuthorizationError] Authorization is required
839
- def generate_resource_packages_summary(name, generate_packages_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
840
- command = make_simple_command(:post, 'v1/{+name}:generatePackagesSummary', options)
841
- command.request_representation = Google::Apis::ContaineranalysisV1::GeneratePackagesSummaryRequest::Representation
842
- command.request_object = generate_packages_summary_request_object
843
- command.response_representation = Google::Apis::ContaineranalysisV1::PackagesSummaryResponse::Representation
844
- command.response_class = Google::Apis::ContaineranalysisV1::PackagesSummaryResponse
845
- command.params['name'] = name unless name.nil?
846
- command.query['fields'] = fields unless fields.nil?
847
- command.query['quotaUser'] = quota_user unless quota_user.nil?
848
- execute_or_queue_command(command, &block)
849
- end
850
816
 
851
817
  protected
852
818
 
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.31.0
4
+ version: 0.33.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: 2023-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-30 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.33.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: []