google-apis-cloudbuild_v1beta1 0.26.0 → 0.28.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: b86ddf4823c9fddc3e3a5fb567dd07f11f1b9428c14536d28d3a5c39bd6c592f
4
- data.tar.gz: eab5b0123cc31c31afd35aa5a826d8f71cc3442aed33dc11d9d8404ea0ccca88
3
+ metadata.gz: 59cf49240dce1a8358adcd6482cf9a18585ee82380cc7754cef2cbea8e3cfa7f
4
+ data.tar.gz: 1033451a06c27eaf993d620f49276b903e3fe2c556901b06bb75982c8362d4e4
5
5
  SHA512:
6
- metadata.gz: 3f440191322f0a2be6a0110813e3e6a39519265cea33cd313a0fa3173b1e50713715af5b13e11d9b3b8069f6f548c180a4ca653b80d8ae7859a0230466919b4b
7
- data.tar.gz: 864dd097f12e28eeb3fa752c6ff3c3c78cde46b6c7901ed382cab4505d1f9d7783dfc313ebe518ac336830fe76f09b5e0fee75d9278f8092a6a95e68eaa9c864
6
+ metadata.gz: ef0cfb564dd1bd5e66b841a761facc14bae9ab6e4e00e4b3190c109e3aac4df3e598f46c9ed809b0c54bd787f1e9ccfc8f9ddbdd64124977371061a58f062f24
7
+ data.tar.gz: e13c3fd41231ec617da3efcd95a3992aba27283ce912a40cb07d85c5d57ac64d8895c59a5ae6fad0eacd8752f18ceab7455aa001c9f868b0e18c0c5227c3d6b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1beta1
2
2
 
3
+ ### v0.28.0 (2022-10-19)
4
+
5
+ * Regenerated from discovery document revision 20221015
6
+ * Regenerated using generator version 0.11.0
7
+
8
+ ### v0.27.0 (2022-10-11)
9
+
10
+ * Regenerated from discovery document revision 20220928
11
+
3
12
  ### v0.26.0 (2022-09-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20220916
@@ -167,12 +167,29 @@ module Google
167
167
  # @return [Array<String>]
168
168
  attr_accessor :images
169
169
 
170
+ # A list of Maven artifacts to be uploaded to Artifact Registry upon successful
171
+ # completion of all build steps. Artifacts in the workspace matching specified
172
+ # paths globs will be uploaded to the specified Artifact Registry repository
173
+ # using the builder service account's credentials. If any artifacts fail to be
174
+ # pushed, the build is marked FAILURE.
175
+ # Corresponds to the JSON property `mavenArtifacts`
176
+ # @return [Array<Google::Apis::CloudbuildV1beta1::MavenArtifact>]
177
+ attr_accessor :maven_artifacts
178
+
170
179
  # Files in the workspace to upload to Cloud Storage upon successful completion
171
180
  # of all build steps.
172
181
  # Corresponds to the JSON property `objects`
173
182
  # @return [Google::Apis::CloudbuildV1beta1::ArtifactObjects]
174
183
  attr_accessor :objects
175
184
 
185
+ # A list of Python packages to be uploaded to Artifact Registry upon successful
186
+ # completion of all build steps. The build service account credentials will be
187
+ # used to perform the upload. If any objects fail to be pushed, the build is
188
+ # marked FAILURE.
189
+ # Corresponds to the JSON property `pythonPackages`
190
+ # @return [Array<Google::Apis::CloudbuildV1beta1::PythonPackage>]
191
+ attr_accessor :python_packages
192
+
176
193
  def initialize(**args)
177
194
  update!(**args)
178
195
  end
@@ -180,7 +197,9 @@ module Google
180
197
  # Update properties of this object
181
198
  def update!(**args)
182
199
  @images = args[:images] if args.key?(:images)
200
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
183
201
  @objects = args[:objects] if args.key?(:objects)
202
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
184
203
  end
185
204
  end
186
205
 
@@ -535,10 +554,10 @@ module Google
535
554
  attr_accessor :timeout
536
555
 
537
556
  # Output only. Stores timing information for phases of the build. Valid keys are:
538
- # * BUILD: time to execute all build steps. * PUSH: time to push all specified
539
- # images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
540
- # build. If the build does not specify source or images, these keys will not be
541
- # included.
557
+ # * BUILD: time to execute all build steps. * PUSH: time to push all artifacts
558
+ # including docker images and non docker artifacts. * FETCHSOURCE: time to fetch
559
+ # source. * SETUPBUILD: time to set up build. If the build does not specify
560
+ # source or images, these keys will not be included.
542
561
  # Corresponds to the JSON property `timing`
543
562
  # @return [Hash<String,Google::Apis::CloudbuildV1beta1::TimeSpan>]
544
563
  attr_accessor :timing
@@ -1504,6 +1523,55 @@ module Google
1504
1523
  end
1505
1524
  end
1506
1525
 
1526
+ # A Maven artifact to upload to Artifact Registry upon successful completion of
1527
+ # all build steps.
1528
+ class MavenArtifact
1529
+ include Google::Apis::Core::Hashable
1530
+
1531
+ # Maven `artifactId` value used when uploading the artifact to Artifact Registry.
1532
+ # Corresponds to the JSON property `artifactId`
1533
+ # @return [String]
1534
+ attr_accessor :artifact_id
1535
+
1536
+ # Maven `groupId` value used when uploading the artifact to Artifact Registry.
1537
+ # Corresponds to the JSON property `groupId`
1538
+ # @return [String]
1539
+ attr_accessor :group_id
1540
+
1541
+ # Path to an artifact in the build's workspace to be uploaded to Artifact
1542
+ # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
1543
+ # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
1544
+ # my-app-1.0.SNAPSHOT.jar.
1545
+ # Corresponds to the JSON property `path`
1546
+ # @return [String]
1547
+ attr_accessor :path
1548
+
1549
+ # Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
1550
+ # PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
1551
+ # uploaded to Artifact Registry with this location as a prefix.
1552
+ # Corresponds to the JSON property `repository`
1553
+ # @return [String]
1554
+ attr_accessor :repository
1555
+
1556
+ # Maven `version` value used when uploading the artifact to Artifact Registry.
1557
+ # Corresponds to the JSON property `version`
1558
+ # @return [String]
1559
+ attr_accessor :version
1560
+
1561
+ def initialize(**args)
1562
+ update!(**args)
1563
+ end
1564
+
1565
+ # Update properties of this object
1566
+ def update!(**args)
1567
+ @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
1568
+ @group_id = args[:group_id] if args.key?(:group_id)
1569
+ @path = args[:path] if args.key?(:path)
1570
+ @repository = args[:repository] if args.key?(:repository)
1571
+ @version = args[:version] if args.key?(:version)
1572
+ end
1573
+ end
1574
+
1507
1575
  # Network describes the network configuration for a `WorkerPool`.
1508
1576
  class NetworkConfig
1509
1577
  include Google::Apis::Core::Hashable
@@ -1898,6 +1966,36 @@ module Google
1898
1966
  end
1899
1967
  end
1900
1968
 
1969
+ # Python package to upload to Artifact Registry upon successful completion of
1970
+ # all build steps. A package can encapsulate multiple objects to be uploaded to
1971
+ # a single repository.
1972
+ class PythonPackage
1973
+ include Google::Apis::Core::Hashable
1974
+
1975
+ # Path globs used to match files in the build's workspace. For Python/ Twine,
1976
+ # this is usually `dist/*`, and sometimes additionally an `.asc` file.
1977
+ # Corresponds to the JSON property `paths`
1978
+ # @return [Array<String>]
1979
+ attr_accessor :paths
1980
+
1981
+ # Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
1982
+ # PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
1983
+ # uploaded to Artifact Registry with this location as a prefix.
1984
+ # Corresponds to the JSON property `repository`
1985
+ # @return [String]
1986
+ attr_accessor :repository
1987
+
1988
+ def initialize(**args)
1989
+ update!(**args)
1990
+ end
1991
+
1992
+ # Update properties of this object
1993
+ def update!(**args)
1994
+ @paths = args[:paths] if args.key?(:paths)
1995
+ @repository = args[:repository] if args.key?(:repository)
1996
+ end
1997
+ end
1998
+
1901
1999
  # Location of the source in a Google Cloud Source Repository.
1902
2000
  class RepoSource
1903
2001
  include Google::Apis::Core::Hashable
@@ -1972,7 +2070,8 @@ module Google
1972
2070
  class Results
1973
2071
  include Google::Apis::Core::Hashable
1974
2072
 
1975
- # Path to the artifact manifest. Only populated when artifacts are uploaded.
2073
+ # Path to the artifact manifest for non-container artifacts uploaded to Cloud
2074
+ # Storage. Only populated when artifacts are uploaded to Cloud Storage.
1976
2075
  # Corresponds to the JSON property `artifactManifest`
1977
2076
  # @return [String]
1978
2077
  attr_accessor :artifact_manifest
@@ -2000,11 +2099,22 @@ module Google
2000
2099
  # @return [Array<Google::Apis::CloudbuildV1beta1::BuiltImage>]
2001
2100
  attr_accessor :images
2002
2101
 
2003
- # Number of artifacts uploaded. Only populated when artifacts are uploaded.
2102
+ # Maven artifacts uploaded to Artifact Registry at the end of the build.
2103
+ # Corresponds to the JSON property `mavenArtifacts`
2104
+ # @return [Array<Google::Apis::CloudbuildV1beta1::UploadedMavenArtifact>]
2105
+ attr_accessor :maven_artifacts
2106
+
2107
+ # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2108
+ # when artifacts are uploaded to Cloud Storage.
2004
2109
  # Corresponds to the JSON property `numArtifacts`
2005
2110
  # @return [Fixnum]
2006
2111
  attr_accessor :num_artifacts
2007
2112
 
2113
+ # Python artifacts uploaded to Artifact Registry at the end of the build.
2114
+ # Corresponds to the JSON property `pythonPackages`
2115
+ # @return [Array<Google::Apis::CloudbuildV1beta1::UploadedPythonPackage>]
2116
+ attr_accessor :python_packages
2117
+
2008
2118
  def initialize(**args)
2009
2119
  update!(**args)
2010
2120
  end
@@ -2016,7 +2126,9 @@ module Google
2016
2126
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
2017
2127
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
2018
2128
  @images = args[:images] if args.key?(:images)
2129
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
2019
2130
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2131
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
2020
2132
  end
2021
2133
  end
2022
2134
 
@@ -2580,6 +2692,70 @@ module Google
2580
2692
  end
2581
2693
  end
2582
2694
 
2695
+ # A Maven artifact uploaded using the MavenArtifact directive.
2696
+ class UploadedMavenArtifact
2697
+ include Google::Apis::Core::Hashable
2698
+
2699
+ # Container message for hashes of byte content of files, used in
2700
+ # SourceProvenance messages to verify integrity of source input to the build.
2701
+ # Corresponds to the JSON property `fileHashes`
2702
+ # @return [Google::Apis::CloudbuildV1beta1::FileHashes]
2703
+ attr_accessor :file_hashes
2704
+
2705
+ # Start and end times for a build execution phase.
2706
+ # Corresponds to the JSON property `pushTiming`
2707
+ # @return [Google::Apis::CloudbuildV1beta1::TimeSpan]
2708
+ attr_accessor :push_timing
2709
+
2710
+ # URI of the uploaded artifact.
2711
+ # Corresponds to the JSON property `uri`
2712
+ # @return [String]
2713
+ attr_accessor :uri
2714
+
2715
+ def initialize(**args)
2716
+ update!(**args)
2717
+ end
2718
+
2719
+ # Update properties of this object
2720
+ def update!(**args)
2721
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2722
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2723
+ @uri = args[:uri] if args.key?(:uri)
2724
+ end
2725
+ end
2726
+
2727
+ # Artifact uploaded using the PythonPackage directive.
2728
+ class UploadedPythonPackage
2729
+ include Google::Apis::Core::Hashable
2730
+
2731
+ # Container message for hashes of byte content of files, used in
2732
+ # SourceProvenance messages to verify integrity of source input to the build.
2733
+ # Corresponds to the JSON property `fileHashes`
2734
+ # @return [Google::Apis::CloudbuildV1beta1::FileHashes]
2735
+ attr_accessor :file_hashes
2736
+
2737
+ # Start and end times for a build execution phase.
2738
+ # Corresponds to the JSON property `pushTiming`
2739
+ # @return [Google::Apis::CloudbuildV1beta1::TimeSpan]
2740
+ attr_accessor :push_timing
2741
+
2742
+ # URI of the uploaded artifact.
2743
+ # Corresponds to the JSON property `uri`
2744
+ # @return [String]
2745
+ attr_accessor :uri
2746
+
2747
+ def initialize(**args)
2748
+ update!(**args)
2749
+ end
2750
+
2751
+ # Update properties of this object
2752
+ def update!(**args)
2753
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2754
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2755
+ @uri = args[:uri] if args.key?(:uri)
2756
+ end
2757
+ end
2758
+
2583
2759
  # Volume describes a Docker container volume which is mounted into build steps
2584
2760
  # in order to persist files across build step execution.
2585
2761
  class Volume
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1beta1
18
18
  # Version of the google-apis-cloudbuild_v1beta1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.28.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
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class MavenArtifact
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class NetworkConfig
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class PythonPackage
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class RepoSource
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -412,6 +424,18 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class UploadedMavenArtifact
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class UploadedPythonPackage
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
415
439
  class Volume
416
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
441
 
@@ -477,8 +501,12 @@ module Google
477
501
  # @private
478
502
  class Representation < Google::Apis::Core::JsonRepresentation
479
503
  collection :images, as: 'images'
504
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1beta1::MavenArtifact, decorator: Google::Apis::CloudbuildV1beta1::MavenArtifact::Representation
505
+
480
506
  property :objects, as: 'objects', class: Google::Apis::CloudbuildV1beta1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1beta1::ArtifactObjects::Representation
481
507
 
508
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1beta1::PythonPackage, decorator: Google::Apis::CloudbuildV1beta1::PythonPackage::Representation
509
+
482
510
  end
483
511
  end
484
512
 
@@ -822,6 +850,17 @@ module Google
822
850
  end
823
851
  end
824
852
 
853
+ class MavenArtifact
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :artifact_id, as: 'artifactId'
857
+ property :group_id, as: 'groupId'
858
+ property :path, as: 'path'
859
+ property :repository, as: 'repository'
860
+ property :version, as: 'version'
861
+ end
862
+ end
863
+
825
864
  class NetworkConfig
826
865
  # @private
827
866
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -929,6 +968,14 @@ module Google
929
968
  end
930
969
  end
931
970
 
971
+ class PythonPackage
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ collection :paths, as: 'paths'
975
+ property :repository, as: 'repository'
976
+ end
977
+ end
978
+
932
979
  class RepoSource
933
980
  # @private
934
981
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -953,7 +1000,11 @@ module Google
953
1000
  collection :build_step_outputs, as: 'buildStepOutputs'
954
1001
  collection :images, as: 'images', class: Google::Apis::CloudbuildV1beta1::BuiltImage, decorator: Google::Apis::CloudbuildV1beta1::BuiltImage::Representation
955
1002
 
1003
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::CloudbuildV1beta1::UploadedMavenArtifact, decorator: Google::Apis::CloudbuildV1beta1::UploadedMavenArtifact::Representation
1004
+
956
1005
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1006
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1beta1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1beta1::UploadedPythonPackage::Representation
1007
+
957
1008
  end
958
1009
  end
959
1010
 
@@ -1114,6 +1165,28 @@ module Google
1114
1165
  end
1115
1166
  end
1116
1167
 
1168
+ class UploadedMavenArtifact
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1beta1::FileHashes, decorator: Google::Apis::CloudbuildV1beta1::FileHashes::Representation
1172
+
1173
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
1174
+
1175
+ property :uri, as: 'uri'
1176
+ end
1177
+ end
1178
+
1179
+ class UploadedPythonPackage
1180
+ # @private
1181
+ class Representation < Google::Apis::Core::JsonRepresentation
1182
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1beta1::FileHashes, decorator: Google::Apis::CloudbuildV1beta1::FileHashes::Representation
1183
+
1184
+ property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1beta1::TimeSpan, decorator: Google::Apis::CloudbuildV1beta1::TimeSpan::Representation
1185
+
1186
+ property :uri, as: 'uri'
1187
+ end
1188
+ end
1189
+
1117
1190
  class Volume
1118
1191
  # @private
1119
1192
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1beta1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []