google-apis-cloudbuild_v1 0.49.0 → 0.50.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: ad89ff5ba18b964c2b8c2a13503f8e15bf07a193a2cdc511f34577ad29b89481
4
- data.tar.gz: 4fb2af94777daac12a06b6fa1c211f04bc0ab1a4ba72c7f561a9b6df0b9ce67b
3
+ metadata.gz: 216f59353dd1fd6051c6b500937d888451c20dcc3f94c27610e4b3950393a60e
4
+ data.tar.gz: fae11fe44df97db8061aea720cd41f7af158437a1527e8c21b4744dbf16418f3
5
5
  SHA512:
6
- metadata.gz: 53eb01279746c63c927b6480fdbc09f4731621f0758364870db1e9f1d2078f70989ef4c864268f057d540decd3d66bb33014c1619c6b7fdb9c4249e1c6d08bfe
7
- data.tar.gz: e4d507b58f80c44af63fd65afec80a1a3c966fa1a0790e5429f9577b69a2677d5a82c182acc1991e18fcfcf184f7b811fc016994fd70f5e7e8f81836d38b267d
6
+ metadata.gz: 587c576b0f59cb4eb5cad584293d7c06fb178fbcb43a754366e1d844c6ccb66aa2d77fea050534d3e4a8d619ee6e92c373934ce80e45cfa34a33014661d7250a
7
+ data.tar.gz: e4cd28ac278f81ac804642b7e36d9b44733a31321c9cb6987a5b39d2589dbdaf887d653306f093a63a010df26c8e7ee648b81937e1edbfe3716fbb75252f97dc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.50.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230417
6
+
3
7
  ### v0.49.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230406
@@ -196,6 +196,15 @@ module Google
196
196
  # @return [Array<Google::Apis::CloudbuildV1::MavenArtifact>]
197
197
  attr_accessor :maven_artifacts
198
198
 
199
+ # A list of npm packages to be uploaded to Artifact Registry upon successful
200
+ # completion of all build steps. Npm packages in the specified paths will be
201
+ # uploaded to the specified Artifact Registry repository using the builder
202
+ # service account's credentials. If any packages fail to be pushed, the build is
203
+ # marked FAILURE.
204
+ # Corresponds to the JSON property `npmPackages`
205
+ # @return [Array<Google::Apis::CloudbuildV1::NpmPackage>]
206
+ attr_accessor :npm_packages
207
+
199
208
  # Files in the workspace to upload to Cloud Storage upon successful completion
200
209
  # of all build steps.
201
210
  # Corresponds to the JSON property `objects`
@@ -218,6 +227,7 @@ module Google
218
227
  def update!(**args)
219
228
  @images = args[:images] if args.key?(:images)
220
229
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
230
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
221
231
  @objects = args[:objects] if args.key?(:objects)
222
232
  @python_packages = args[:python_packages] if args.key?(:python_packages)
223
233
  end
@@ -2921,6 +2931,34 @@ module Google
2921
2931
  end
2922
2932
  end
2923
2933
 
2934
+ # Npm package to upload to Artifact Registry upon successful completion of all
2935
+ # build steps.
2936
+ class NpmPackage
2937
+ include Google::Apis::Core::Hashable
2938
+
2939
+ # Path to the package.json. e.g. workspace/path/to/package
2940
+ # Corresponds to the JSON property `packagePath`
2941
+ # @return [String]
2942
+ attr_accessor :package_path
2943
+
2944
+ # Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$
2945
+ # PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be
2946
+ # zipped and uploaded to Artifact Registry with this location as a prefix.
2947
+ # Corresponds to the JSON property `repository`
2948
+ # @return [String]
2949
+ attr_accessor :repository
2950
+
2951
+ def initialize(**args)
2952
+ update!(**args)
2953
+ end
2954
+
2955
+ # Update properties of this object
2956
+ def update!(**args)
2957
+ @package_path = args[:package_path] if args.key?(:package_path)
2958
+ @repository = args[:repository] if args.key?(:repository)
2959
+ end
2960
+ end
2961
+
2924
2962
  # This resource represents a long-running operation that is the result of a
2925
2963
  # network API call.
2926
2964
  class Operation
@@ -3466,6 +3504,11 @@ module Google
3466
3504
  # @return [Array<Google::Apis::CloudbuildV1::UploadedMavenArtifact>]
3467
3505
  attr_accessor :maven_artifacts
3468
3506
 
3507
+ # Npm packages uploaded to Artifact Registry at the end of the build.
3508
+ # Corresponds to the JSON property `npmPackages`
3509
+ # @return [Array<Google::Apis::CloudbuildV1::UploadedNpmPackage>]
3510
+ attr_accessor :npm_packages
3511
+
3469
3512
  # Number of non-container artifacts uploaded to Cloud Storage. Only populated
3470
3513
  # when artifacts are uploaded to Cloud Storage.
3471
3514
  # Corresponds to the JSON property `numArtifacts`
@@ -3489,6 +3532,7 @@ module Google
3489
3532
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
3490
3533
  @images = args[:images] if args.key?(:images)
3491
3534
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
3535
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3492
3536
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3493
3537
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3494
3538
  end
@@ -4043,6 +4087,38 @@ module Google
4043
4087
  end
4044
4088
  end
4045
4089
 
4090
+ # An npm package uploaded to Artifact Registry using the NpmPackage directive.
4091
+ class UploadedNpmPackage
4092
+ include Google::Apis::Core::Hashable
4093
+
4094
+ # Container message for hashes of byte content of files, used in
4095
+ # SourceProvenance messages to verify integrity of source input to the build.
4096
+ # Corresponds to the JSON property `fileHashes`
4097
+ # @return [Google::Apis::CloudbuildV1::FileHashes]
4098
+ attr_accessor :file_hashes
4099
+
4100
+ # Start and end times for a build execution phase.
4101
+ # Corresponds to the JSON property `pushTiming`
4102
+ # @return [Google::Apis::CloudbuildV1::TimeSpan]
4103
+ attr_accessor :push_timing
4104
+
4105
+ # URI of the uploaded npm package.
4106
+ # Corresponds to the JSON property `uri`
4107
+ # @return [String]
4108
+ attr_accessor :uri
4109
+
4110
+ def initialize(**args)
4111
+ update!(**args)
4112
+ end
4113
+
4114
+ # Update properties of this object
4115
+ def update!(**args)
4116
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
4117
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
4118
+ @uri = args[:uri] if args.key?(:uri)
4119
+ end
4120
+ end
4121
+
4046
4122
  # Artifact uploaded using the PythonPackage directive.
4047
4123
  class UploadedPythonPackage
4048
4124
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.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 = "20230406"
25
+ REVISION = "20230417"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class NpmPackage
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class Operation
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -610,6 +616,12 @@ module Google
610
616
  include Google::Apis::Core::JsonObjectSupport
611
617
  end
612
618
 
619
+ class UploadedNpmPackage
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
613
625
  class UploadedPythonPackage
614
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
627
 
@@ -697,6 +709,8 @@ module Google
697
709
  collection :images, as: 'images'
698
710
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::MavenArtifact, decorator: Google::Apis::CloudbuildV1::MavenArtifact::Representation
699
711
 
712
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::CloudbuildV1::NpmPackage, decorator: Google::Apis::CloudbuildV1::NpmPackage::Representation
713
+
700
714
  property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
701
715
 
702
716
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::PythonPackage, decorator: Google::Apis::CloudbuildV1::PythonPackage::Representation
@@ -1396,6 +1410,14 @@ module Google
1396
1410
  end
1397
1411
  end
1398
1412
 
1413
+ class NpmPackage
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ property :package_path, as: 'packagePath'
1417
+ property :repository, as: 'repository'
1418
+ end
1419
+ end
1420
+
1399
1421
  class Operation
1400
1422
  # @private
1401
1423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1543,6 +1565,8 @@ module Google
1543
1565
 
1544
1566
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1::UploadedMavenArtifact::Representation
1545
1567
 
1568
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::CloudbuildV1::UploadedNpmPackage, decorator: Google::Apis::CloudbuildV1::UploadedNpmPackage::Representation
1569
+
1546
1570
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1547
1571
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1::UploadedPythonPackage::Representation
1548
1572
 
@@ -1711,6 +1735,17 @@ module Google
1711
1735
  end
1712
1736
  end
1713
1737
 
1738
+ class UploadedNpmPackage
1739
+ # @private
1740
+ class Representation < Google::Apis::Core::JsonRepresentation
1741
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
1742
+
1743
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
1744
+
1745
+ property :uri, as: 'uri'
1746
+ end
1747
+ end
1748
+
1714
1749
  class UploadedPythonPackage
1715
1750
  # @private
1716
1751
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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-16 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-cloudbuild_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
63
63
  post_install_message:
64
64
  rdoc_options: []