google-apis-containeranalysis_v1alpha1 0.46.0 → 0.47.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: 5abe474b081377e44a45e4779d84d60fbdbcb2d82cb5450352076809c4ea676e
4
- data.tar.gz: 51c5a4fb76b07f40a86e098e6422620456c875b9e8b0ab17f281881603165357
3
+ metadata.gz: 07ec6e3938a44a3c19f0a94aee8336f58659399b2cd7dc10c6384fda15ae65e5
4
+ data.tar.gz: 9da2278630c4906c55b25caca11bb5219d6b8dc95be9d43dda41db3372372a7e
5
5
  SHA512:
6
- metadata.gz: c3cc8bacf3a22c4954ae5df5b8cc4f23d140550b7edb011b0ec730c2bbf7c9532507e69fd831cd065c38d469a9e24c89a0dc884383648a0e211a1baf20706d39
7
- data.tar.gz: e41bd808d51c4ce59da0f09a0a7b08fd6f08d7596298c828a0823701870619075caf3957c33b8d729def07a8c571d463d1e0f43bbc6525b77977ac96ddc892bd
6
+ metadata.gz: e051baf03d38eb0465ffc19adc1b776e7342d9f3e904d35a74710b383ce5ebe00f8103bca0856e584012f0e3cbe9422652ea66864b2392b9d0e596e6e48403bc
7
+ data.tar.gz: 7adcdb5392abbb8642120383da63943eada47b3711c2c4b3fbe909917411b166d5f0bd8049af2b2b6c4dfff80bb8ff3eedba7180ec3465e3a0ed5e838ff446c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.47.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
3
7
  ### v0.46.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230324
@@ -1158,6 +1158,15 @@ module Google
1158
1158
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
1159
1159
  attr_accessor :maven_artifacts
1160
1160
 
1161
+ # A list of npm packages to be uploaded to Artifact Registry upon successful
1162
+ # completion of all build steps. Npm packages in the specified paths will be
1163
+ # uploaded to the specified Artifact Registry repository using the builder
1164
+ # service account's credentials. If any packages fail to be pushed, the build is
1165
+ # marked FAILURE.
1166
+ # Corresponds to the JSON property `npmPackages`
1167
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage>]
1168
+ attr_accessor :npm_packages
1169
+
1161
1170
  # Files in the workspace to upload to Cloud Storage upon successful completion
1162
1171
  # of all build steps.
1163
1172
  # Corresponds to the JSON property `objects`
@@ -1180,6 +1189,7 @@ module Google
1180
1189
  def update!(**args)
1181
1190
  @images = args[:images] if args.key?(:images)
1182
1191
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1192
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1183
1193
  @objects = args[:objects] if args.key?(:objects)
1184
1194
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1185
1195
  end
@@ -1269,6 +1279,34 @@ module Google
1269
1279
  end
1270
1280
  end
1271
1281
 
1282
+ # Npm package to upload to Artifact Registry upon successful completion of all
1283
+ # build steps.
1284
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1285
+ include Google::Apis::Core::Hashable
1286
+
1287
+ # Path to the package.json. e.g. workspace/path/to/package
1288
+ # Corresponds to the JSON property `packagePath`
1289
+ # @return [String]
1290
+ attr_accessor :package_path
1291
+
1292
+ # Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$
1293
+ # PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be
1294
+ # zipped and uploaded to Artifact Registry with this location as a prefix.
1295
+ # Corresponds to the JSON property `repository`
1296
+ # @return [String]
1297
+ attr_accessor :repository
1298
+
1299
+ def initialize(**args)
1300
+ update!(**args)
1301
+ end
1302
+
1303
+ # Update properties of this object
1304
+ def update!(**args)
1305
+ @package_path = args[:package_path] if args.key?(:package_path)
1306
+ @repository = args[:repository] if args.key?(:repository)
1307
+ end
1308
+ end
1309
+
1272
1310
  # Python package to upload to Artifact Registry upon successful completion of
1273
1311
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1274
1312
  # a single repository.
@@ -1961,6 +1999,46 @@ module Google
1961
1999
  end
1962
2000
  end
1963
2001
 
2002
+ # Location of the source in any accessible Git repository.
2003
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
2004
+ include Google::Apis::Core::Hashable
2005
+
2006
+ # Directory, relative to the source root, in which to run the build. This must
2007
+ # be a relative path. If a step's `dir` is specified and is an absolute path,
2008
+ # this value is ignored for that step's execution.
2009
+ # Corresponds to the JSON property `dir`
2010
+ # @return [String]
2011
+ attr_accessor :dir
2012
+
2013
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2014
+ # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2015
+ # from the Git repository; therefore make sure that the string you provide for `
2016
+ # revision` is parsable by the command. For information on string values
2017
+ # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2018
+ # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2019
+ # docs/git-fetch.
2020
+ # Corresponds to the JSON property `revision`
2021
+ # @return [String]
2022
+ attr_accessor :revision
2023
+
2024
+ # Location of the Git repo to build. This will be used as a `git remote`, see
2025
+ # https://git-scm.com/docs/git-remote.
2026
+ # Corresponds to the JSON property `url`
2027
+ # @return [String]
2028
+ attr_accessor :url
2029
+
2030
+ def initialize(**args)
2031
+ update!(**args)
2032
+ end
2033
+
2034
+ # Update properties of this object
2035
+ def update!(**args)
2036
+ @dir = args[:dir] if args.key?(:dir)
2037
+ @revision = args[:revision] if args.key?(:revision)
2038
+ @url = args[:url] if args.key?(:url)
2039
+ end
2040
+ end
2041
+
1964
2042
  # Container message for hash values.
1965
2043
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1966
2044
  include Google::Apis::Core::Hashable
@@ -2125,6 +2203,11 @@ module Google
2125
2203
  # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
2126
2204
  attr_accessor :maven_artifacts
2127
2205
 
2206
+ # Npm packages uploaded to Artifact Registry at the end of the build.
2207
+ # Corresponds to the JSON property `npmPackages`
2208
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage>]
2209
+ attr_accessor :npm_packages
2210
+
2128
2211
  # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2129
2212
  # when artifacts are uploaded to Cloud Storage.
2130
2213
  # Corresponds to the JSON property `numArtifacts`
@@ -2148,6 +2231,7 @@ module Google
2148
2231
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2149
2232
  @images = args[:images] if args.key?(:images)
2150
2233
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2234
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
2151
2235
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2152
2236
  @python_packages = args[:python_packages] if args.key?(:python_packages)
2153
2237
  end
@@ -2241,6 +2325,11 @@ module Google
2241
2325
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
2242
2326
  include Google::Apis::Core::Hashable
2243
2327
 
2328
+ # Location of the source in any accessible Git repository.
2329
+ # Corresponds to the JSON property `gitSource`
2330
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
2331
+ attr_accessor :git_source
2332
+
2244
2333
  # Location of the source in a Google Cloud Source Repository.
2245
2334
  # Corresponds to the JSON property `repoSource`
2246
2335
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
@@ -2264,6 +2353,7 @@ module Google
2264
2353
 
2265
2354
  # Update properties of this object
2266
2355
  def update!(**args)
2356
+ @git_source = args[:git_source] if args.key?(:git_source)
2267
2357
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2268
2358
  @storage_source = args[:storage_source] if args.key?(:storage_source)
2269
2359
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
@@ -2445,6 +2535,38 @@ module Google
2445
2535
  end
2446
2536
  end
2447
2537
 
2538
+ # An npm package uploaded to Artifact Registry using the NpmPackage directive.
2539
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
2540
+ include Google::Apis::Core::Hashable
2541
+
2542
+ # Container message for hashes of byte content of files, used in
2543
+ # SourceProvenance messages to verify integrity of source input to the build.
2544
+ # Corresponds to the JSON property `fileHashes`
2545
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2546
+ attr_accessor :file_hashes
2547
+
2548
+ # Start and end times for a build execution phase.
2549
+ # Corresponds to the JSON property `pushTiming`
2550
+ # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2551
+ attr_accessor :push_timing
2552
+
2553
+ # URI of the uploaded npm package.
2554
+ # Corresponds to the JSON property `uri`
2555
+ # @return [String]
2556
+ attr_accessor :uri
2557
+
2558
+ def initialize(**args)
2559
+ update!(**args)
2560
+ end
2561
+
2562
+ # Update properties of this object
2563
+ def update!(**args)
2564
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2565
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2566
+ @uri = args[:uri] if args.key?(:uri)
2567
+ end
2568
+ end
2569
+
2448
2570
  # Artifact uploaded using the PythonPackage directive.
2449
2571
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
2450
2572
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.46.0"
19
+ GEM_VERSION = "0.47.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 = "20230324"
25
+ REVISION = "20230414"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -238,6 +244,12 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
241
253
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
242
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
255
 
@@ -316,6 +328,12 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
319
337
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
320
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
339
 
@@ -1237,6 +1255,8 @@ module Google
1237
1255
  collection :images, as: 'images'
1238
1256
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1239
1257
 
1258
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage::Representation
1259
+
1240
1260
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1241
1261
 
1242
1262
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
@@ -1265,6 +1285,14 @@ module Google
1265
1285
  end
1266
1286
  end
1267
1287
 
1288
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1289
+ # @private
1290
+ class Representation < Google::Apis::Core::JsonRepresentation
1291
+ property :package_path, as: 'packagePath'
1292
+ property :repository, as: 'repository'
1293
+ end
1294
+ end
1295
+
1268
1296
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1269
1297
  # @private
1270
1298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1420,6 +1448,15 @@ module Google
1420
1448
  end
1421
1449
  end
1422
1450
 
1451
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
1452
+ # @private
1453
+ class Representation < Google::Apis::Core::JsonRepresentation
1454
+ property :dir, as: 'dir'
1455
+ property :revision, as: 'revision'
1456
+ property :url, as: 'url'
1457
+ end
1458
+ end
1459
+
1423
1460
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1424
1461
  # @private
1425
1462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1462,6 +1499,8 @@ module Google
1462
1499
 
1463
1500
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1464
1501
 
1502
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage::Representation
1503
+
1465
1504
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1466
1505
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1467
1506
 
@@ -1497,6 +1536,8 @@ module Google
1497
1536
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
1498
1537
  # @private
1499
1538
  class Representation < Google::Apis::Core::JsonRepresentation
1539
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1540
+
1500
1541
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
1501
1542
 
1502
1543
  property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource::Representation
@@ -1557,6 +1598,17 @@ module Google
1557
1598
  end
1558
1599
  end
1559
1600
 
1601
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
1602
+ # @private
1603
+ class Representation < Google::Apis::Core::JsonRepresentation
1604
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1605
+
1606
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1607
+
1608
+ property :uri, as: 'uri'
1609
+ end
1610
+ end
1611
+
1560
1612
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1561
1613
  # @private
1562
1614
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.47.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-04-02 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.46.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.47.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []