google-apis-cloudbuild_v1 0.48.0 → 0.50.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: 9ff9d52fe96347ab0d59568b33cdaa95a2d25e58c0480ab19580eba5cf798e2a
4
- data.tar.gz: bb7955bd40259a8e89b1f7ed9ad4c9b2a1959dee666f966bbb3bebebf3e35baf
3
+ metadata.gz: 216f59353dd1fd6051c6b500937d888451c20dcc3f94c27610e4b3950393a60e
4
+ data.tar.gz: fae11fe44df97db8061aea720cd41f7af158437a1527e8c21b4744dbf16418f3
5
5
  SHA512:
6
- metadata.gz: 3067c36efac30164ceece4ac61bb9deb2760f8a05ec4712692a2cb345c579e48d4e7337b7f1d8e370e1f0558f59e099eebb94524e597896a221c1122047255c4
7
- data.tar.gz: 41880b4f1b4110ea518e1740b909571e8410395b7ef41da1fa93042daaa9b9a05e27f19b8b7c79ac68da7684d48180cfd42a84740f42ad4c83e15f98ac1f6219
6
+ metadata.gz: 587c576b0f59cb4eb5cad584293d7c06fb178fbcb43a754366e1d844c6ccb66aa2d77fea050534d3e4a8d619ee6e92c373934ce80e45cfa34a33014661d7250a
7
+ data.tar.gz: e4cd28ac278f81ac804642b7e36d9b44733a31321c9cb6987a5b39d2589dbdaf887d653306f093a63a010df26c8e7ee648b81937e1edbfe3716fbb75252f97dc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.49.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230406
10
+
3
11
  ### v0.48.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230312
@@ -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
@@ -2485,6 +2495,46 @@ module Google
2485
2495
  end
2486
2496
  end
2487
2497
 
2498
+ # Location of the source in any accessible Git repository.
2499
+ class GitSource
2500
+ include Google::Apis::Core::Hashable
2501
+
2502
+ # Directory, relative to the source root, in which to run the build. This must
2503
+ # be a relative path. If a step's `dir` is specified and is an absolute path,
2504
+ # this value is ignored for that step's execution.
2505
+ # Corresponds to the JSON property `dir`
2506
+ # @return [String]
2507
+ attr_accessor :dir
2508
+
2509
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2510
+ # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2511
+ # from the Git repository; therefore make sure that the string you provide for `
2512
+ # revision` is parsable by the command. For information on string values
2513
+ # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2514
+ # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2515
+ # docs/git-fetch.
2516
+ # Corresponds to the JSON property `revision`
2517
+ # @return [String]
2518
+ attr_accessor :revision
2519
+
2520
+ # Location of the Git repo to build. This will be used as a `git remote`, see
2521
+ # https://git-scm.com/docs/git-remote.
2522
+ # Corresponds to the JSON property `url`
2523
+ # @return [String]
2524
+ attr_accessor :url
2525
+
2526
+ def initialize(**args)
2527
+ update!(**args)
2528
+ end
2529
+
2530
+ # Update properties of this object
2531
+ def update!(**args)
2532
+ @dir = args[:dir] if args.key?(:dir)
2533
+ @revision = args[:revision] if args.key?(:revision)
2534
+ @url = args[:url] if args.key?(:url)
2535
+ end
2536
+ end
2537
+
2488
2538
  # Container message for hash values.
2489
2539
  class HashProp
2490
2540
  include Google::Apis::Core::Hashable
@@ -2881,6 +2931,34 @@ module Google
2881
2931
  end
2882
2932
  end
2883
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
+
2884
2962
  # This resource represents a long-running operation that is the result of a
2885
2963
  # network API call.
2886
2964
  class Operation
@@ -3426,6 +3504,11 @@ module Google
3426
3504
  # @return [Array<Google::Apis::CloudbuildV1::UploadedMavenArtifact>]
3427
3505
  attr_accessor :maven_artifacts
3428
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
+
3429
3512
  # Number of non-container artifacts uploaded to Cloud Storage. Only populated
3430
3513
  # when artifacts are uploaded to Cloud Storage.
3431
3514
  # Corresponds to the JSON property `numArtifacts`
@@ -3449,6 +3532,7 @@ module Google
3449
3532
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
3450
3533
  @images = args[:images] if args.key?(:images)
3451
3534
  @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
3535
+ @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3452
3536
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3453
3537
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3454
3538
  end
@@ -3626,6 +3710,11 @@ module Google
3626
3710
  class Source
3627
3711
  include Google::Apis::Core::Hashable
3628
3712
 
3713
+ # Location of the source in any accessible Git repository.
3714
+ # Corresponds to the JSON property `gitSource`
3715
+ # @return [Google::Apis::CloudbuildV1::GitSource]
3716
+ attr_accessor :git_source
3717
+
3629
3718
  # Location of the source in a Google Cloud Source Repository.
3630
3719
  # Corresponds to the JSON property `repoSource`
3631
3720
  # @return [Google::Apis::CloudbuildV1::RepoSource]
@@ -3649,6 +3738,7 @@ module Google
3649
3738
 
3650
3739
  # Update properties of this object
3651
3740
  def update!(**args)
3741
+ @git_source = args[:git_source] if args.key?(:git_source)
3652
3742
  @repo_source = args[:repo_source] if args.key?(:repo_source)
3653
3743
  @storage_source = args[:storage_source] if args.key?(:storage_source)
3654
3744
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
@@ -3997,6 +4087,38 @@ module Google
3997
4087
  end
3998
4088
  end
3999
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
+
4000
4122
  # Artifact uploaded using the PythonPackage directive.
4001
4123
  class UploadedPythonPackage
4002
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.48.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 = "20230312"
25
+ REVISION = "20230417"
26
26
  end
27
27
  end
28
28
  end
@@ -334,6 +334,12 @@ module Google
334
334
  include Google::Apis::Core::JsonObjectSupport
335
335
  end
336
336
 
337
+ class GitSource
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
337
343
  class HashProp
338
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
345
 
@@ -412,6 +418,12 @@ module Google
412
418
  include Google::Apis::Core::JsonObjectSupport
413
419
  end
414
420
 
421
+ class NpmPackage
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
415
427
  class Operation
416
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
429
 
@@ -604,6 +616,12 @@ module Google
604
616
  include Google::Apis::Core::JsonObjectSupport
605
617
  end
606
618
 
619
+ class UploadedNpmPackage
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
607
625
  class UploadedPythonPackage
608
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
627
 
@@ -691,6 +709,8 @@ module Google
691
709
  collection :images, as: 'images'
692
710
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::MavenArtifact, decorator: Google::Apis::CloudbuildV1::MavenArtifact::Representation
693
711
 
712
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::CloudbuildV1::NpmPackage, decorator: Google::Apis::CloudbuildV1::NpmPackage::Representation
713
+
694
714
  property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
695
715
 
696
716
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::PythonPackage, decorator: Google::Apis::CloudbuildV1::PythonPackage::Representation
@@ -1265,6 +1285,15 @@ module Google
1265
1285
  end
1266
1286
  end
1267
1287
 
1288
+ class GitSource
1289
+ # @private
1290
+ class Representation < Google::Apis::Core::JsonRepresentation
1291
+ property :dir, as: 'dir'
1292
+ property :revision, as: 'revision'
1293
+ property :url, as: 'url'
1294
+ end
1295
+ end
1296
+
1268
1297
  class HashProp
1269
1298
  # @private
1270
1299
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1381,6 +1410,14 @@ module Google
1381
1410
  end
1382
1411
  end
1383
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
+
1384
1421
  class Operation
1385
1422
  # @private
1386
1423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1528,6 +1565,8 @@ module Google
1528
1565
 
1529
1566
  collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1::UploadedMavenArtifact::Representation
1530
1567
 
1568
+ collection :npm_packages, as: 'npmPackages', class: Google::Apis::CloudbuildV1::UploadedNpmPackage, decorator: Google::Apis::CloudbuildV1::UploadedNpmPackage::Representation
1569
+
1531
1570
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1532
1571
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1::UploadedPythonPackage::Representation
1533
1572
 
@@ -1589,6 +1628,8 @@ module Google
1589
1628
  class Source
1590
1629
  # @private
1591
1630
  class Representation < Google::Apis::Core::JsonRepresentation
1631
+ property :git_source, as: 'gitSource', class: Google::Apis::CloudbuildV1::GitSource, decorator: Google::Apis::CloudbuildV1::GitSource::Representation
1632
+
1592
1633
  property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
1593
1634
 
1594
1635
  property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
@@ -1694,6 +1735,17 @@ module Google
1694
1735
  end
1695
1736
  end
1696
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
+
1697
1749
  class UploadedPythonPackage
1698
1750
  # @private
1699
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.48.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-03-19 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.48.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: []