google-apis-containeranalysis_v1beta1 0.37.0 → 0.38.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: 1a97f9d95be1dbf71ad829e1bdcd0bec47c5d6180ef45384abcd8fdce35d0f01
4
- data.tar.gz: 4ed542eb24e46ff9e8261015805f74a5fe547253aa13e8a400b81f9bcb36191f
3
+ metadata.gz: d659bddc665f19219bf522b54e6b6afe2ad650242264f93da5b5b15e40883f7a
4
+ data.tar.gz: eaeba1b8a7464c622ecfb8b256a17e2f06d971543e7088f640c09ba7d38f3dc4
5
5
  SHA512:
6
- metadata.gz: 2c66311b07d48325e6066ccb5ec76fd7da354e1724faa512978c88837627204ef3175908d05b8fae96fa91084bf1b032e33ed408baa632bc5a98f116e22b93db
7
- data.tar.gz: d453ad38fa3faf53af880ce26caeda6c8f991f9d1c4c456eaed723dbdddd99d90693f0c668f83ece80fbd41d7124905023f181045f912556187e3eac1039ad0a
6
+ metadata.gz: 727719194b83c789c07ed277036ed1055833cb044a48a423ba25bc4a607cbb8629c8b0b2c3e6963bf5fa906bb04158fe9c6165f8dffba97bbff0b0e755e7871c
7
+ data.tar.gz: 5b70e85d2fd0067e2c3beca67cb75d681146a06e077fb6cf1c3f9129e5d5b9b98aa1a5b611c7012f0e48367accb99aa409941f4ea1ab8677ecf62d530a30243c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.38.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230414
6
+
3
7
  ### v0.37.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230324
@@ -1157,6 +1157,15 @@ module Google
1157
1157
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
1158
1158
  attr_accessor :maven_artifacts
1159
1159
 
1160
+ # A list of npm packages to be uploaded to Artifact Registry upon successful
1161
+ # completion of all build steps. Npm packages in the specified paths will be
1162
+ # uploaded to the specified Artifact Registry repository using the builder
1163
+ # service account's credentials. If any packages fail to be pushed, the build is
1164
+ # marked FAILURE.
1165
+ # Corresponds to the JSON property `npmPackages`
1166
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage>]
1167
+ attr_accessor :npm_packages
1168
+
1160
1169
  # Files in the workspace to upload to Cloud Storage upon successful completion
1161
1170
  # of all build steps.
1162
1171
  # Corresponds to the JSON property `objects`
@@ -1179,6 +1188,7 @@ module Google
1179
1188
  def update!(**args)
1180
1189
  @images = args[:images] if args.key?(:images)
1181
1190
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1191
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
1182
1192
  @objects = args[:objects] if args.key?(:objects)
1183
1193
  @python_packages = args[:python_packages] if args.key?(:python_packages)
1184
1194
  end
@@ -1268,6 +1278,34 @@ module Google
1268
1278
  end
1269
1279
  end
1270
1280
 
1281
+ # Npm package to upload to Artifact Registry upon successful completion of all
1282
+ # build steps.
1283
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1284
+ include Google::Apis::Core::Hashable
1285
+
1286
+ # Path to the package.json. e.g. workspace/path/to/package
1287
+ # Corresponds to the JSON property `packagePath`
1288
+ # @return [String]
1289
+ attr_accessor :package_path
1290
+
1291
+ # Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$
1292
+ # PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be
1293
+ # zipped and uploaded to Artifact Registry with this location as a prefix.
1294
+ # Corresponds to the JSON property `repository`
1295
+ # @return [String]
1296
+ attr_accessor :repository
1297
+
1298
+ def initialize(**args)
1299
+ update!(**args)
1300
+ end
1301
+
1302
+ # Update properties of this object
1303
+ def update!(**args)
1304
+ @package_path = args[:package_path] if args.key?(:package_path)
1305
+ @repository = args[:repository] if args.key?(:repository)
1306
+ end
1307
+ end
1308
+
1271
1309
  # Python package to upload to Artifact Registry upon successful completion of
1272
1310
  # all build steps. A package can encapsulate multiple objects to be uploaded to
1273
1311
  # a single repository.
@@ -1960,6 +1998,46 @@ module Google
1960
1998
  end
1961
1999
  end
1962
2000
 
2001
+ # Location of the source in any accessible Git repository.
2002
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
2003
+ include Google::Apis::Core::Hashable
2004
+
2005
+ # Directory, relative to the source root, in which to run the build. This must
2006
+ # be a relative path. If a step's `dir` is specified and is an absolute path,
2007
+ # this value is ignored for that step's execution.
2008
+ # Corresponds to the JSON property `dir`
2009
+ # @return [String]
2010
+ attr_accessor :dir
2011
+
2012
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2013
+ # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2014
+ # from the Git repository; therefore make sure that the string you provide for `
2015
+ # revision` is parsable by the command. For information on string values
2016
+ # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2017
+ # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2018
+ # docs/git-fetch.
2019
+ # Corresponds to the JSON property `revision`
2020
+ # @return [String]
2021
+ attr_accessor :revision
2022
+
2023
+ # Location of the Git repo to build. This will be used as a `git remote`, see
2024
+ # https://git-scm.com/docs/git-remote.
2025
+ # Corresponds to the JSON property `url`
2026
+ # @return [String]
2027
+ attr_accessor :url
2028
+
2029
+ def initialize(**args)
2030
+ update!(**args)
2031
+ end
2032
+
2033
+ # Update properties of this object
2034
+ def update!(**args)
2035
+ @dir = args[:dir] if args.key?(:dir)
2036
+ @revision = args[:revision] if args.key?(:revision)
2037
+ @url = args[:url] if args.key?(:url)
2038
+ end
2039
+ end
2040
+
1963
2041
  # Container message for hash values.
1964
2042
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1965
2043
  include Google::Apis::Core::Hashable
@@ -2124,6 +2202,11 @@ module Google
2124
2202
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
2125
2203
  attr_accessor :maven_artifacts
2126
2204
 
2205
+ # Npm packages uploaded to Artifact Registry at the end of the build.
2206
+ # Corresponds to the JSON property `npmPackages`
2207
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage>]
2208
+ attr_accessor :npm_packages
2209
+
2127
2210
  # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2128
2211
  # when artifacts are uploaded to Cloud Storage.
2129
2212
  # Corresponds to the JSON property `numArtifacts`
@@ -2147,6 +2230,7 @@ module Google
2147
2230
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2148
2231
  @images = args[:images] if args.key?(:images)
2149
2232
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2233
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
2150
2234
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2151
2235
  @python_packages = args[:python_packages] if args.key?(:python_packages)
2152
2236
  end
@@ -2240,6 +2324,11 @@ module Google
2240
2324
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
2241
2325
  include Google::Apis::Core::Hashable
2242
2326
 
2327
+ # Location of the source in any accessible Git repository.
2328
+ # Corresponds to the JSON property `gitSource`
2329
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
2330
+ attr_accessor :git_source
2331
+
2243
2332
  # Location of the source in a Google Cloud Source Repository.
2244
2333
  # Corresponds to the JSON property `repoSource`
2245
2334
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
@@ -2263,6 +2352,7 @@ module Google
2263
2352
 
2264
2353
  # Update properties of this object
2265
2354
  def update!(**args)
2355
+ @git_source = args[:git_source] if args.key?(:git_source)
2266
2356
  @repo_source = args[:repo_source] if args.key?(:repo_source)
2267
2357
  @storage_source = args[:storage_source] if args.key?(:storage_source)
2268
2358
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
@@ -2444,6 +2534,38 @@ module Google
2444
2534
  end
2445
2535
  end
2446
2536
 
2537
+ # An npm package uploaded to Artifact Registry using the NpmPackage directive.
2538
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
2539
+ include Google::Apis::Core::Hashable
2540
+
2541
+ # Container message for hashes of byte content of files, used in
2542
+ # SourceProvenance messages to verify integrity of source input to the build.
2543
+ # Corresponds to the JSON property `fileHashes`
2544
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2545
+ attr_accessor :file_hashes
2546
+
2547
+ # Start and end times for a build execution phase.
2548
+ # Corresponds to the JSON property `pushTiming`
2549
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2550
+ attr_accessor :push_timing
2551
+
2552
+ # URI of the uploaded npm package.
2553
+ # Corresponds to the JSON property `uri`
2554
+ # @return [String]
2555
+ attr_accessor :uri
2556
+
2557
+ def initialize(**args)
2558
+ update!(**args)
2559
+ end
2560
+
2561
+ # Update properties of this object
2562
+ def update!(**args)
2563
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2564
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2565
+ @uri = args[:uri] if args.key?(:uri)
2566
+ end
2567
+ end
2568
+
2447
2569
  # Artifact uploaded using the PythonPackage directive.
2448
2570
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
2449
2571
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.38.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
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -250,6 +256,12 @@ module Google
250
256
  include Google::Apis::Core::JsonObjectSupport
251
257
  end
252
258
 
259
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
253
265
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
254
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
267
 
@@ -328,6 +340,12 @@ module Google
328
340
  include Google::Apis::Core::JsonObjectSupport
329
341
  end
330
342
 
343
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
331
349
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
332
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
351
 
@@ -1154,6 +1172,8 @@ module Google
1154
1172
  collection :images, as: 'images'
1155
1173
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1156
1174
 
1175
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage::Representation
1176
+
1157
1177
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1158
1178
 
1159
1179
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
@@ -1182,6 +1202,14 @@ module Google
1182
1202
  end
1183
1203
  end
1184
1204
 
1205
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ property :package_path, as: 'packagePath'
1209
+ property :repository, as: 'repository'
1210
+ end
1211
+ end
1212
+
1185
1213
  class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1186
1214
  # @private
1187
1215
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1337,6 +1365,15 @@ module Google
1337
1365
  end
1338
1366
  end
1339
1367
 
1368
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
1369
+ # @private
1370
+ class Representation < Google::Apis::Core::JsonRepresentation
1371
+ property :dir, as: 'dir'
1372
+ property :revision, as: 'revision'
1373
+ property :url, as: 'url'
1374
+ end
1375
+ end
1376
+
1340
1377
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
1341
1378
  # @private
1342
1379
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1379,6 +1416,8 @@ module Google
1379
1416
 
1380
1417
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1381
1418
 
1419
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage::Representation
1420
+
1382
1421
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1383
1422
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1384
1423
 
@@ -1414,6 +1453,8 @@ module Google
1414
1453
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
1415
1454
  # @private
1416
1455
  class Representation < Google::Apis::Core::JsonRepresentation
1456
+ property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
1457
+
1417
1458
  property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
1418
1459
 
1419
1460
  property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource::Representation
@@ -1474,6 +1515,17 @@ module Google
1474
1515
  end
1475
1516
  end
1476
1517
 
1518
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
1519
+ # @private
1520
+ class Representation < Google::Apis::Core::JsonRepresentation
1521
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1522
+
1523
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1524
+
1525
+ property :uri, as: 'uri'
1526
+ end
1527
+ end
1528
+
1477
1529
  class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1478
1530
  # @private
1479
1531
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.38.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []