google-apis-cloudbuild_v1 0.50.0 → 0.52.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 336fe55b0d4ea744e03a1909e9b996b0110126b2744acc335ff15a98b91bfa13
|
4
|
+
data.tar.gz: 13d4b1a1c9a2f06687c613396e54a1385b545e267c287767ec834b913039c1eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e02a7e4e96255e2144f7cf677dbd23c53fbc558007efa256c8c1e03ec436850398fc061c4547ea25cc1b00d2f42ab0de342ba29698951df3450700f44baa9358
|
7
|
+
data.tar.gz: 9c902d1f704b738047f0a077fdc121ca1b23e7f579400c60aa32b9c0c2c65b727897955e2c39f71c28065ea9fc2e7a32d015462be259ac5b31c824cd4c1e2265
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.52.0 (2023-05-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230522
|
6
|
+
|
7
|
+
### v0.51.0 (2023-05-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230505
|
10
|
+
|
3
11
|
### v0.50.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230417
|
@@ -156,8 +156,8 @@ module Google
|
|
156
156
|
# @return [Array<Google::Apis::CloudbuildV1::FileHashes>]
|
157
157
|
attr_accessor :file_hash
|
158
158
|
|
159
|
-
# The path of an artifact in a
|
160
|
-
#
|
159
|
+
# The path of an artifact in a Cloud Storage bucket, with the generation number.
|
160
|
+
# For example, `gs://mybucket/path/to/output.jar#generation`.
|
161
161
|
# Corresponds to the JSON property `location`
|
162
162
|
# @return [String]
|
163
163
|
attr_accessor :location
|
@@ -742,7 +742,7 @@ module Google
|
|
742
742
|
# @return [String]
|
743
743
|
attr_accessor :log_url
|
744
744
|
|
745
|
-
#
|
745
|
+
# Cloud Storage bucket where logs should be written (see [Bucket Name
|
746
746
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
747
747
|
# ). Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
|
748
748
|
# Corresponds to the JSON property `logsBucket`
|
@@ -993,7 +993,7 @@ module Google
|
|
993
993
|
# @return [Array<String>]
|
994
994
|
attr_accessor :env
|
995
995
|
|
996
|
-
# Option to define build log streaming behavior to
|
996
|
+
# Option to define build log streaming behavior to Cloud Storage.
|
997
997
|
# Corresponds to the JSON property `logStreamingOption`
|
998
998
|
# @return [String]
|
999
999
|
attr_accessor :log_streaming_option
|
@@ -1935,6 +1935,14 @@ module Google
|
|
1935
1935
|
# @return [String]
|
1936
1936
|
attr_accessor :repo_type
|
1937
1937
|
|
1938
|
+
# The fully qualified resource name of the Repos API repository. Either URI or
|
1939
|
+
# repository can be specified. If unspecified, the repo from which the trigger
|
1940
|
+
# invocation originated is assumed to be the repo from which to read the
|
1941
|
+
# specified path.
|
1942
|
+
# Corresponds to the JSON property `repository`
|
1943
|
+
# @return [String]
|
1944
|
+
attr_accessor :repository
|
1945
|
+
|
1938
1946
|
# The branch, tag, arbitrary ref, or SHA version of the repo to use when
|
1939
1947
|
# resolving the filename (optional). This field respects the same syntax/
|
1940
1948
|
# resolution as described here: https://git-scm.com/docs/gitrevisions If
|
@@ -1961,6 +1969,7 @@ module Google
|
|
1961
1969
|
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
1962
1970
|
@path = args[:path] if args.key?(:path)
|
1963
1971
|
@repo_type = args[:repo_type] if args.key?(:repo_type)
|
1972
|
+
@repository = args[:repository] if args.key?(:repository)
|
1964
1973
|
@revision = args[:revision] if args.key?(:revision)
|
1965
1974
|
@uri = args[:uri] if args.key?(:uri)
|
1966
1975
|
end
|
@@ -2476,7 +2485,15 @@ module Google
|
|
2476
2485
|
# @return [String]
|
2477
2486
|
attr_accessor :repo_type
|
2478
2487
|
|
2479
|
-
# The
|
2488
|
+
# The connected repository resource name, in the format `projects/*/locations/*/
|
2489
|
+
# connections/*/repositories/*`. Either `uri` or `repository` can be specified
|
2490
|
+
# and is required.
|
2491
|
+
# Corresponds to the JSON property `repository`
|
2492
|
+
# @return [String]
|
2493
|
+
attr_accessor :repository
|
2494
|
+
|
2495
|
+
# The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `
|
2496
|
+
# repository` can be specified and is required.
|
2480
2497
|
# Corresponds to the JSON property `uri`
|
2481
2498
|
# @return [String]
|
2482
2499
|
attr_accessor :uri
|
@@ -2491,6 +2508,7 @@ module Google
|
|
2491
2508
|
@github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
|
2492
2509
|
@ref = args[:ref] if args.key?(:ref)
|
2493
2510
|
@repo_type = args[:repo_type] if args.key?(:repo_type)
|
2511
|
+
@repository = args[:repository] if args.key?(:repository)
|
2494
2512
|
@uri = args[:uri] if args.key?(:uri)
|
2495
2513
|
end
|
2496
2514
|
end
|
@@ -3720,14 +3738,14 @@ module Google
|
|
3720
3738
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
3721
3739
|
attr_accessor :repo_source
|
3722
3740
|
|
3723
|
-
# Location of the source in an archive file in
|
3741
|
+
# Location of the source in an archive file in Cloud Storage.
|
3724
3742
|
# Corresponds to the JSON property `storageSource`
|
3725
3743
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
3726
3744
|
attr_accessor :storage_source
|
3727
3745
|
|
3728
|
-
# Location of the source manifest in
|
3729
|
-
#
|
3730
|
-
#
|
3746
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
3747
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
3748
|
+
# tree/master/gcs-fetcher).
|
3731
3749
|
# Corresponds to the JSON property `storageSourceManifest`
|
3732
3750
|
# @return [Google::Apis::CloudbuildV1::StorageSourceManifest]
|
3733
3751
|
attr_accessor :storage_source_manifest
|
@@ -3766,14 +3784,14 @@ module Google
|
|
3766
3784
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
3767
3785
|
attr_accessor :resolved_repo_source
|
3768
3786
|
|
3769
|
-
# Location of the source in an archive file in
|
3787
|
+
# Location of the source in an archive file in Cloud Storage.
|
3770
3788
|
# Corresponds to the JSON property `resolvedStorageSource`
|
3771
3789
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
3772
3790
|
attr_accessor :resolved_storage_source
|
3773
3791
|
|
3774
|
-
# Location of the source manifest in
|
3775
|
-
#
|
3776
|
-
#
|
3792
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
3793
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
3794
|
+
# tree/master/gcs-fetcher).
|
3777
3795
|
# Corresponds to the JSON property `resolvedStorageSourceManifest`
|
3778
3796
|
# @return [Google::Apis::CloudbuildV1::StorageSourceManifest]
|
3779
3797
|
attr_accessor :resolved_storage_source_manifest
|
@@ -3830,25 +3848,24 @@ module Google
|
|
3830
3848
|
end
|
3831
3849
|
end
|
3832
3850
|
|
3833
|
-
# Location of the source in an archive file in
|
3851
|
+
# Location of the source in an archive file in Cloud Storage.
|
3834
3852
|
class StorageSource
|
3835
3853
|
include Google::Apis::Core::Hashable
|
3836
3854
|
|
3837
|
-
#
|
3838
|
-
#
|
3839
|
-
# ).
|
3855
|
+
# Cloud Storage bucket containing the source (see [Bucket Name Requirements](
|
3856
|
+
# https://cloud.google.com/storage/docs/bucket-naming#requirements)).
|
3840
3857
|
# Corresponds to the JSON property `bucket`
|
3841
3858
|
# @return [String]
|
3842
3859
|
attr_accessor :bucket
|
3843
3860
|
|
3844
|
-
#
|
3845
|
-
#
|
3861
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
3862
|
+
# latest generation will be used.
|
3846
3863
|
# Corresponds to the JSON property `generation`
|
3847
3864
|
# @return [Fixnum]
|
3848
3865
|
attr_accessor :generation
|
3849
3866
|
|
3850
|
-
#
|
3851
|
-
#
|
3867
|
+
# Cloud Storage object containing the source. This object must be a zipped (`.
|
3868
|
+
# zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
3852
3869
|
# Corresponds to the JSON property `object`
|
3853
3870
|
# @return [String]
|
3854
3871
|
attr_accessor :object
|
@@ -3865,27 +3882,27 @@ module Google
|
|
3865
3882
|
end
|
3866
3883
|
end
|
3867
3884
|
|
3868
|
-
# Location of the source manifest in
|
3869
|
-
#
|
3870
|
-
#
|
3885
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
3886
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
3887
|
+
# tree/master/gcs-fetcher).
|
3871
3888
|
class StorageSourceManifest
|
3872
3889
|
include Google::Apis::Core::Hashable
|
3873
3890
|
|
3874
|
-
#
|
3891
|
+
# Cloud Storage bucket containing the source manifest (see [Bucket Name
|
3875
3892
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
3876
3893
|
# ).
|
3877
3894
|
# Corresponds to the JSON property `bucket`
|
3878
3895
|
# @return [String]
|
3879
3896
|
attr_accessor :bucket
|
3880
3897
|
|
3881
|
-
#
|
3882
|
-
#
|
3898
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
3899
|
+
# latest generation will be used.
|
3883
3900
|
# Corresponds to the JSON property `generation`
|
3884
3901
|
# @return [Fixnum]
|
3885
3902
|
attr_accessor :generation
|
3886
3903
|
|
3887
|
-
#
|
3888
|
-
#
|
3904
|
+
# Cloud Storage object containing the source manifest. This object must be a
|
3905
|
+
# JSON file.
|
3889
3906
|
# Corresponds to the JSON property `object`
|
3890
3907
|
# @return [String]
|
3891
3908
|
attr_accessor :object
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.52.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 = "
|
25
|
+
REVISION = "20230522"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1144,6 +1144,7 @@ module Google
|
|
1144
1144
|
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
1145
1145
|
property :path, as: 'path'
|
1146
1146
|
property :repo_type, as: 'repoType'
|
1147
|
+
property :repository, as: 'repository'
|
1147
1148
|
property :revision, as: 'revision'
|
1148
1149
|
property :uri, as: 'uri'
|
1149
1150
|
end
|
@@ -1281,6 +1282,7 @@ module Google
|
|
1281
1282
|
property :github_enterprise_config, as: 'githubEnterpriseConfig'
|
1282
1283
|
property :ref, as: 'ref'
|
1283
1284
|
property :repo_type, as: 'repoType'
|
1285
|
+
property :repository, as: 'repository'
|
1284
1286
|
property :uri, as: 'uri'
|
1285
1287
|
end
|
1286
1288
|
end
|
@@ -400,10 +400,10 @@ module Google
|
|
400
400
|
# build from the tip of that branch, which may not be the same revision as the
|
401
401
|
# original build. * If the original build specified a commit sha or revision ID,
|
402
402
|
# the retried build will use the identical source. For builds that specify `
|
403
|
-
# StorageSource`: * If the original build pulled source from
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
403
|
+
# StorageSource`: * If the original build pulled source from Cloud Storage
|
404
|
+
# without specifying the generation of the object, the new build will use the
|
405
|
+
# current object, which may be different from the original build source. * If
|
406
|
+
# the original build pulled source from Cloud Storage and specified the
|
407
407
|
# generation of the object, the new build will attempt to use the same object,
|
408
408
|
# which may or may not be available depending on the bucket's lifecycle
|
409
409
|
# management settings.
|
@@ -1134,10 +1134,10 @@ module Google
|
|
1134
1134
|
# build from the tip of that branch, which may not be the same revision as the
|
1135
1135
|
# original build. * If the original build specified a commit sha or revision ID,
|
1136
1136
|
# the retried build will use the identical source. For builds that specify `
|
1137
|
-
# StorageSource`: * If the original build pulled source from
|
1138
|
-
#
|
1139
|
-
#
|
1140
|
-
#
|
1137
|
+
# StorageSource`: * If the original build pulled source from Cloud Storage
|
1138
|
+
# without specifying the generation of the object, the new build will use the
|
1139
|
+
# current object, which may be different from the original build source. * If
|
1140
|
+
# the original build pulled source from Cloud Storage and specified the
|
1141
1141
|
# generation of the object, the new build will attempt to use the same object,
|
1142
1142
|
# which may or may not be available depending on the bucket's lifecycle
|
1143
1143
|
# management settings.
|
@@ -1890,6 +1890,10 @@ module Google
|
|
1890
1890
|
# Required. ID of the project that owns the trigger.
|
1891
1891
|
# @param [String] trigger_id
|
1892
1892
|
# Required. ID of the `BuildTrigger` to update.
|
1893
|
+
# @param [String] update_mask
|
1894
|
+
# Update mask for the resource. If this is set, the server will only update the
|
1895
|
+
# fields specified in the field mask. Otherwise, a full update of the mutable
|
1896
|
+
# resource fields will be performed.
|
1893
1897
|
# @param [String] fields
|
1894
1898
|
# Selector specifying which fields to include in a partial response.
|
1895
1899
|
# @param [String] quota_user
|
@@ -1907,7 +1911,7 @@ module Google
|
|
1907
1911
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1908
1912
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1909
1913
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1910
|
-
def patch_project_location_trigger(resource_name, build_trigger_object = nil, project_id: nil, trigger_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1914
|
+
def patch_project_location_trigger(resource_name, build_trigger_object = nil, project_id: nil, trigger_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1911
1915
|
command = make_simple_command(:patch, 'v1/{+resourceName}', options)
|
1912
1916
|
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
1913
1917
|
command.request_object = build_trigger_object
|
@@ -1916,6 +1920,7 @@ module Google
|
|
1916
1920
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
1917
1921
|
command.query['projectId'] = project_id unless project_id.nil?
|
1918
1922
|
command.query['triggerId'] = trigger_id unless trigger_id.nil?
|
1923
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1919
1924
|
command.query['fields'] = fields unless fields.nil?
|
1920
1925
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1921
1926
|
execute_or_queue_command(command, &block)
|
@@ -2361,6 +2366,10 @@ module Google
|
|
2361
2366
|
# @param [String] trigger_id
|
2362
2367
|
# Required. ID of the `BuildTrigger` to update.
|
2363
2368
|
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
2369
|
+
# @param [String] update_mask
|
2370
|
+
# Update mask for the resource. If this is set, the server will only update the
|
2371
|
+
# fields specified in the field mask. Otherwise, a full update of the mutable
|
2372
|
+
# resource fields will be performed.
|
2364
2373
|
# @param [String] fields
|
2365
2374
|
# Selector specifying which fields to include in a partial response.
|
2366
2375
|
# @param [String] quota_user
|
@@ -2378,7 +2387,7 @@ module Google
|
|
2378
2387
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2379
2388
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2380
2389
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2381
|
-
def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2390
|
+
def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2382
2391
|
command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
|
2383
2392
|
command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
|
2384
2393
|
command.request_object = build_trigger_object
|
@@ -2386,6 +2395,7 @@ module Google
|
|
2386
2395
|
command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
|
2387
2396
|
command.params['projectId'] = project_id unless project_id.nil?
|
2388
2397
|
command.params['triggerId'] = trigger_id unless trigger_id.nil?
|
2398
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2389
2399
|
command.query['fields'] = fields unless fields.nil?
|
2390
2400
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2391
2401
|
execute_or_queue_command(command, &block)
|
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.
|
4
|
+
version: 0.52.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-
|
11
|
+
date: 2023-05-28 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.52.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: []
|