google-apis-cloudbuild_v1 0.39.0 → 0.41.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: 744a9a2fb5b060d983956af67ae1bc6290f95c2e12b601aa66022d2449b19688
4
- data.tar.gz: d4382a2bad1ed4931f627b14d4dd79a43b35852c25e5f765669624ad3d66b0dc
3
+ metadata.gz: 011343fe49f6aeb1f21f562f36b20f43d0dd6ff770f1111d9e8d44ab770ff7e3
4
+ data.tar.gz: 1c9a91aee9a16c310bd8f0255700a0cba7811d07728b6a7df5494ae7caa9b535
5
5
  SHA512:
6
- metadata.gz: dac74d4a6578553b2ed2933438edd6c6d98e4965e6048eb5c77c3d269e2e1bb958f4b49db6b370abd833b435bfaa5cd9f23ce6acedbd52e356ac579501fdf3e4
7
- data.tar.gz: 18a94d5431d0512e34ab8471c8d7ee7ee4ad431a48dd9a79e06e26ee4fadddd62c5918b72dfa141da7c14a952e2a8f79097c38efd25512161076a30fb10e30be
6
+ metadata.gz: 9e91aba37941b379c92f65d7df64185fc81706c8814864cac23d1fd06aeeaa3022b0ffce092c234bb509cbdcb14f8930c95b44e9c2a7c588e5c5e0c30239572b
7
+ data.tar.gz: 2474e10216da7476fcf571a048a01da2b0ba48de2779a48238c890495488f7dae89c608424b65bfd962ab212fdf0720de8fac9eb28059f738706a106d582378a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.41.0 (2022-10-20)
4
+
5
+ * Regenerated from discovery document revision 20221015
6
+ * Regenerated using generator version 0.11.0
7
+
8
+ ### v0.40.0 (2022-10-11)
9
+
10
+ * Regenerated from discovery document revision 20220928
11
+
3
12
  ### v0.39.0 (2022-09-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20220916
@@ -187,12 +187,29 @@ module Google
187
187
  # @return [Array<String>]
188
188
  attr_accessor :images
189
189
 
190
+ # A list of Maven artifacts to be uploaded to Artifact Registry upon successful
191
+ # completion of all build steps. Artifacts in the workspace matching specified
192
+ # paths globs will be uploaded to the specified Artifact Registry repository
193
+ # using the builder service account's credentials. If any artifacts fail to be
194
+ # pushed, the build is marked FAILURE.
195
+ # Corresponds to the JSON property `mavenArtifacts`
196
+ # @return [Array<Google::Apis::CloudbuildV1::MavenArtifact>]
197
+ attr_accessor :maven_artifacts
198
+
190
199
  # Files in the workspace to upload to Cloud Storage upon successful completion
191
200
  # of all build steps.
192
201
  # Corresponds to the JSON property `objects`
193
202
  # @return [Google::Apis::CloudbuildV1::ArtifactObjects]
194
203
  attr_accessor :objects
195
204
 
205
+ # A list of Python packages to be uploaded to Artifact Registry upon successful
206
+ # completion of all build steps. The build service account credentials will be
207
+ # used to perform the upload. If any objects fail to be pushed, the build is
208
+ # marked FAILURE.
209
+ # Corresponds to the JSON property `pythonPackages`
210
+ # @return [Array<Google::Apis::CloudbuildV1::PythonPackage>]
211
+ attr_accessor :python_packages
212
+
196
213
  def initialize(**args)
197
214
  update!(**args)
198
215
  end
@@ -200,7 +217,9 @@ module Google
200
217
  # Update properties of this object
201
218
  def update!(**args)
202
219
  @images = args[:images] if args.key?(:images)
220
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
203
221
  @objects = args[:objects] if args.key?(:objects)
222
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
204
223
  end
205
224
  end
206
225
 
@@ -815,10 +834,10 @@ module Google
815
834
  attr_accessor :timeout
816
835
 
817
836
  # Output only. Stores timing information for phases of the build. Valid keys are:
818
- # * BUILD: time to execute all build steps. * PUSH: time to push all specified
819
- # images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
820
- # build. If the build does not specify source or images, these keys will not be
821
- # included.
837
+ # * BUILD: time to execute all build steps. * PUSH: time to push all artifacts
838
+ # including docker images and non docker artifacts. * FETCHSOURCE: time to fetch
839
+ # source. * SETUPBUILD: time to set up build. If the build does not specify
840
+ # source or images, these keys will not be included.
822
841
  # Corresponds to the JSON property `timing`
823
842
  # @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
824
843
  attr_accessor :timing
@@ -2834,6 +2853,55 @@ module Google
2834
2853
  end
2835
2854
  end
2836
2855
 
2856
+ # A Maven artifact to upload to Artifact Registry upon successful completion of
2857
+ # all build steps.
2858
+ class MavenArtifact
2859
+ include Google::Apis::Core::Hashable
2860
+
2861
+ # Maven `artifactId` value used when uploading the artifact to Artifact Registry.
2862
+ # Corresponds to the JSON property `artifactId`
2863
+ # @return [String]
2864
+ attr_accessor :artifact_id
2865
+
2866
+ # Maven `groupId` value used when uploading the artifact to Artifact Registry.
2867
+ # Corresponds to the JSON property `groupId`
2868
+ # @return [String]
2869
+ attr_accessor :group_id
2870
+
2871
+ # Path to an artifact in the build's workspace to be uploaded to Artifact
2872
+ # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
2873
+ # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
2874
+ # my-app-1.0.SNAPSHOT.jar.
2875
+ # Corresponds to the JSON property `path`
2876
+ # @return [String]
2877
+ attr_accessor :path
2878
+
2879
+ # Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
2880
+ # PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
2881
+ # uploaded to Artifact Registry with this location as a prefix.
2882
+ # Corresponds to the JSON property `repository`
2883
+ # @return [String]
2884
+ attr_accessor :repository
2885
+
2886
+ # Maven `version` value used when uploading the artifact to Artifact Registry.
2887
+ # Corresponds to the JSON property `version`
2888
+ # @return [String]
2889
+ attr_accessor :version
2890
+
2891
+ def initialize(**args)
2892
+ update!(**args)
2893
+ end
2894
+
2895
+ # Update properties of this object
2896
+ def update!(**args)
2897
+ @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
2898
+ @group_id = args[:group_id] if args.key?(:group_id)
2899
+ @path = args[:path] if args.key?(:path)
2900
+ @repository = args[:repository] if args.key?(:repository)
2901
+ @version = args[:version] if args.key?(:version)
2902
+ end
2903
+ end
2904
+
2837
2905
  # Defines the network configuration for the pool.
2838
2906
  class NetworkConfig
2839
2907
  include Google::Apis::Core::Hashable
@@ -3371,6 +3439,36 @@ module Google
3371
3439
  end
3372
3440
  end
3373
3441
 
3442
+ # Python package to upload to Artifact Registry upon successful completion of
3443
+ # all build steps. A package can encapsulate multiple objects to be uploaded to
3444
+ # a single repository.
3445
+ class PythonPackage
3446
+ include Google::Apis::Core::Hashable
3447
+
3448
+ # Path globs used to match files in the build's workspace. For Python/ Twine,
3449
+ # this is usually `dist/*`, and sometimes additionally an `.asc` file.
3450
+ # Corresponds to the JSON property `paths`
3451
+ # @return [Array<String>]
3452
+ attr_accessor :paths
3453
+
3454
+ # Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
3455
+ # PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
3456
+ # uploaded to Artifact Registry with this location as a prefix.
3457
+ # Corresponds to the JSON property `repository`
3458
+ # @return [String]
3459
+ attr_accessor :repository
3460
+
3461
+ def initialize(**args)
3462
+ update!(**args)
3463
+ end
3464
+
3465
+ # Update properties of this object
3466
+ def update!(**args)
3467
+ @paths = args[:paths] if args.key?(:paths)
3468
+ @repository = args[:repository] if args.key?(:repository)
3469
+ end
3470
+ end
3471
+
3374
3472
  # ReceiveTriggerWebhookResponse [Experimental] is the response object for the
3375
3473
  # ReceiveTriggerWebhook method.
3376
3474
  class ReceiveTriggerWebhookResponse
@@ -3500,7 +3598,8 @@ module Google
3500
3598
  class Results
3501
3599
  include Google::Apis::Core::Hashable
3502
3600
 
3503
- # Path to the artifact manifest. Only populated when artifacts are uploaded.
3601
+ # Path to the artifact manifest for non-container artifacts uploaded to Cloud
3602
+ # Storage. Only populated when artifacts are uploaded to Cloud Storage.
3504
3603
  # Corresponds to the JSON property `artifactManifest`
3505
3604
  # @return [String]
3506
3605
  attr_accessor :artifact_manifest
@@ -3528,11 +3627,22 @@ module Google
3528
3627
  # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
3529
3628
  attr_accessor :images
3530
3629
 
3531
- # Number of artifacts uploaded. Only populated when artifacts are uploaded.
3630
+ # Maven artifacts uploaded to Artifact Registry at the end of the build.
3631
+ # Corresponds to the JSON property `mavenArtifacts`
3632
+ # @return [Array<Google::Apis::CloudbuildV1::UploadedMavenArtifact>]
3633
+ attr_accessor :maven_artifacts
3634
+
3635
+ # Number of non-container artifacts uploaded to Cloud Storage. Only populated
3636
+ # when artifacts are uploaded to Cloud Storage.
3532
3637
  # Corresponds to the JSON property `numArtifacts`
3533
3638
  # @return [Fixnum]
3534
3639
  attr_accessor :num_artifacts
3535
3640
 
3641
+ # Python artifacts uploaded to Artifact Registry at the end of the build.
3642
+ # Corresponds to the JSON property `pythonPackages`
3643
+ # @return [Array<Google::Apis::CloudbuildV1::UploadedPythonPackage>]
3644
+ attr_accessor :python_packages
3645
+
3536
3646
  def initialize(**args)
3537
3647
  update!(**args)
3538
3648
  end
@@ -3544,7 +3654,9 @@ module Google
3544
3654
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
3545
3655
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
3546
3656
  @images = args[:images] if args.key?(:images)
3657
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
3547
3658
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3659
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
3548
3660
  end
3549
3661
  end
3550
3662
 
@@ -4192,6 +4304,70 @@ module Google
4192
4304
  end
4193
4305
  end
4194
4306
 
4307
+ # A Maven artifact uploaded using the MavenArtifact directive.
4308
+ class UploadedMavenArtifact
4309
+ include Google::Apis::Core::Hashable
4310
+
4311
+ # Container message for hashes of byte content of files, used in
4312
+ # SourceProvenance messages to verify integrity of source input to the build.
4313
+ # Corresponds to the JSON property `fileHashes`
4314
+ # @return [Google::Apis::CloudbuildV1::FileHashes]
4315
+ attr_accessor :file_hashes
4316
+
4317
+ # Start and end times for a build execution phase.
4318
+ # Corresponds to the JSON property `pushTiming`
4319
+ # @return [Google::Apis::CloudbuildV1::TimeSpan]
4320
+ attr_accessor :push_timing
4321
+
4322
+ # URI of the uploaded artifact.
4323
+ # Corresponds to the JSON property `uri`
4324
+ # @return [String]
4325
+ attr_accessor :uri
4326
+
4327
+ def initialize(**args)
4328
+ update!(**args)
4329
+ end
4330
+
4331
+ # Update properties of this object
4332
+ def update!(**args)
4333
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
4334
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
4335
+ @uri = args[:uri] if args.key?(:uri)
4336
+ end
4337
+ end
4338
+
4339
+ # Artifact uploaded using the PythonPackage directive.
4340
+ class UploadedPythonPackage
4341
+ include Google::Apis::Core::Hashable
4342
+
4343
+ # Container message for hashes of byte content of files, used in
4344
+ # SourceProvenance messages to verify integrity of source input to the build.
4345
+ # Corresponds to the JSON property `fileHashes`
4346
+ # @return [Google::Apis::CloudbuildV1::FileHashes]
4347
+ attr_accessor :file_hashes
4348
+
4349
+ # Start and end times for a build execution phase.
4350
+ # Corresponds to the JSON property `pushTiming`
4351
+ # @return [Google::Apis::CloudbuildV1::TimeSpan]
4352
+ attr_accessor :push_timing
4353
+
4354
+ # URI of the uploaded artifact.
4355
+ # Corresponds to the JSON property `uri`
4356
+ # @return [String]
4357
+ attr_accessor :uri
4358
+
4359
+ def initialize(**args)
4360
+ update!(**args)
4361
+ end
4362
+
4363
+ # Update properties of this object
4364
+ def update!(**args)
4365
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
4366
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
4367
+ @uri = args[:uri] if args.key?(:uri)
4368
+ end
4369
+ end
4370
+
4195
4371
  # Volume describes a Docker container volume which is mounted into build steps
4196
4372
  # in order to persist files across build step execution.
4197
4373
  class Volume
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220916"
25
+ REVISION = "20221015"
26
26
  end
27
27
  end
28
28
  end
@@ -412,6 +412,12 @@ module Google
412
412
  include Google::Apis::Core::JsonObjectSupport
413
413
  end
414
414
 
415
+ class MavenArtifact
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
415
421
  class NetworkConfig
416
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
423
 
@@ -502,6 +508,12 @@ module Google
502
508
  include Google::Apis::Core::JsonObjectSupport
503
509
  end
504
510
 
511
+ class PythonPackage
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
505
517
  class ReceiveTriggerWebhookResponse
506
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
519
 
@@ -646,6 +658,18 @@ module Google
646
658
  include Google::Apis::Core::JsonObjectSupport
647
659
  end
648
660
 
661
+ class UploadedMavenArtifact
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class UploadedPythonPackage
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
649
673
  class Volume
650
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
675
 
@@ -725,8 +749,12 @@ module Google
725
749
  # @private
726
750
  class Representation < Google::Apis::Core::JsonRepresentation
727
751
  collection :images, as: 'images'
752
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::MavenArtifact, decorator: Google::Apis::CloudbuildV1::MavenArtifact::Representation
753
+
728
754
  property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
729
755
 
756
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::PythonPackage, decorator: Google::Apis::CloudbuildV1::PythonPackage::Representation
757
+
730
758
  end
731
759
  end
732
760
 
@@ -1410,6 +1438,17 @@ module Google
1410
1438
  end
1411
1439
  end
1412
1440
 
1441
+ class MavenArtifact
1442
+ # @private
1443
+ class Representation < Google::Apis::Core::JsonRepresentation
1444
+ property :artifact_id, as: 'artifactId'
1445
+ property :group_id, as: 'groupId'
1446
+ property :path, as: 'path'
1447
+ property :repository, as: 'repository'
1448
+ property :version, as: 'version'
1449
+ end
1450
+ end
1451
+
1413
1452
  class NetworkConfig
1414
1453
  # @private
1415
1454
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1556,6 +1595,14 @@ module Google
1556
1595
  end
1557
1596
  end
1558
1597
 
1598
+ class PythonPackage
1599
+ # @private
1600
+ class Representation < Google::Apis::Core::JsonRepresentation
1601
+ collection :paths, as: 'paths'
1602
+ property :repository, as: 'repository'
1603
+ end
1604
+ end
1605
+
1559
1606
  class ReceiveTriggerWebhookResponse
1560
1607
  # @private
1561
1608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1602,7 +1649,11 @@ module Google
1602
1649
  collection :build_step_outputs, as: 'buildStepOutputs'
1603
1650
  collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
1604
1651
 
1652
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1::UploadedMavenArtifact::Representation
1653
+
1605
1654
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1655
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1::UploadedPythonPackage::Representation
1656
+
1606
1657
  end
1607
1658
  end
1608
1659
 
@@ -1789,6 +1840,28 @@ module Google
1789
1840
  end
1790
1841
  end
1791
1842
 
1843
+ class UploadedMavenArtifact
1844
+ # @private
1845
+ class Representation < Google::Apis::Core::JsonRepresentation
1846
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
1847
+
1848
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
1849
+
1850
+ property :uri, as: 'uri'
1851
+ end
1852
+ end
1853
+
1854
+ class UploadedPythonPackage
1855
+ # @private
1856
+ class Representation < Google::Apis::Core::JsonRepresentation
1857
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
1858
+
1859
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
1860
+
1861
+ property :uri, as: 'uri'
1862
+ end
1863
+ end
1864
+
1792
1865
  class Volume
1793
1866
  # @private
1794
1867
  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.39.0
4
+ version: 0.41.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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
19
+ version: 0.9.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.0
29
+ version: 0.9.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.41.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: []