google-apis-containeranalysis_v1 0.31.0 → 0.32.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: a838e9834eedab72763f2b01217b4603b7db11111bda95122a49cbe84e15edda
4
- data.tar.gz: aec950c53390610accbc3ef7989a69ad6a5e769b6735d985ad5c478eca2654b0
3
+ metadata.gz: 58246475a8729e12cac96f1740cc5c09af1b92f9796fe34ec41dae46d82d48a2
4
+ data.tar.gz: 0b7f520ef609ac0f9d322a91240340efc1e73221c0b409bd44c5d76959e9afb4
5
5
  SHA512:
6
- metadata.gz: 9cb51ffcc5589fdbc63be2adc93faca90b1fffe71b7fd3a45d3eff7cb4c306aef15083f47f8e711b38fd9668922ed3e496db8813a212f6cb78a275f088613b50
7
- data.tar.gz: 4cb0e07eb99fadb6f4e8b00c48b96dba422977592a68ade450b9fa937637d34241104c5df88912aa4abf3d1cd54f17fd17238ac8dd90d7a378083f9caa83db34
6
+ metadata.gz: b7713410cbf9399f3fe2b8209772a60ea4ae9620983c7a239f07340461473b288f17fcb6c3f66146b029612c454e3baf6e65d433786f4e1080571fe2af018b6f
7
+ data.tar.gz: a9e3400879f369ad3b9043d541c597b96b0d45a28e243dcccc9020606a36abeff51b70757478e15871c8049c23a963bf0dc7db0e3ab2ec0cd3a75da9a580bbf7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.32.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
3
7
  ### v0.31.0 (2023-03-26)
4
8
 
5
9
  * 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
@@ -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.32.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 = "20230414"
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
 
@@ -1221,6 +1239,8 @@ module Google
1221
1239
  collection :images, as: 'images'
1222
1240
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1223
1241
 
1242
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage::Representation
1243
+
1224
1244
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1225
1245
 
1226
1246
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
@@ -1249,6 +1269,14 @@ module Google
1249
1269
  end
1250
1270
  end
1251
1271
 
1272
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1273
+ # @private
1274
+ class Representation < Google::Apis::Core::JsonRepresentation
1275
+ property :package_path, as: 'packagePath'
1276
+ property :repository, as: 'repository'
1277
+ end
1278
+ end
1279
+
1252
1280
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1253
1281
  # @private
1254
1282
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1404,6 +1432,15 @@ module Google
1404
1432
  end
1405
1433
  end
1406
1434
 
1435
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
1436
+ # @private
1437
+ class Representation < Google::Apis::Core::JsonRepresentation
1438
+ property :dir, as: 'dir'
1439
+ property :revision, as: 'revision'
1440
+ property :url, as: 'url'
1441
+ end
1442
+ end
1443
+
1407
1444
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1408
1445
  # @private
1409
1446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1446,6 +1483,8 @@ module Google
1446
1483
 
1447
1484
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1448
1485
 
1486
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage::Representation
1487
+
1449
1488
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1450
1489
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1451
1490
 
@@ -1481,6 +1520,8 @@ module Google
1481
1520
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
1482
1521
  # @private
1483
1522
  class Representation < Google::Apis::Core::JsonRepresentation
1523
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1524
+
1484
1525
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
1485
1526
 
1486
1527
  property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource::Representation
@@ -1541,6 +1582,17 @@ module Google
1541
1582
  end
1542
1583
  end
1543
1584
 
1585
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
1586
+ # @private
1587
+ class Representation < Google::Apis::Core::JsonRepresentation
1588
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1589
+
1590
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1591
+
1592
+ property :uri, as: 'uri'
1593
+ end
1594
+ end
1595
+
1544
1596
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1545
1597
  # @private
1546
1598
  class Representation < Google::Apis::Core::JsonRepresentation
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.32.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-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-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.32.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: []