google-apis-cloudbuild_v1 0.51.0 → 0.53.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: a52b722c06e3c6b3d635fe497bdbfe48978129867af22cd7236dff8cdf504dc6
|
4
|
+
data.tar.gz: 4243cee2bac819d1688c643a05ea145fa689888411b7021fecfae41bfbb4ee36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f320b140b543c97f95e15b61bb646feb4a240a369bdd2086b9cf92740cf4121b54fbbb49aec965ad94caedd822a4c9be32694273bf3cae44659eeef2320b398f
|
7
|
+
data.tar.gz: 8e4d853dbc4b89c20e70a714519f3f64ca2f74b95453b81aae4417ba7f8334620acfa991992f681b7ca34c1b8bc6d20ff98e380e9061d1eea4fc7e04ee5140b7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.53.0 (2023-08-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230801
|
6
|
+
|
7
|
+
### v0.52.0 (2023-05-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230522
|
10
|
+
|
3
11
|
### v0.51.0 (2023-05-14)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230505
|
@@ -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`
|
@@ -961,6 +961,13 @@ module Google
|
|
961
961
|
class BuildOptions
|
962
962
|
include Google::Apis::Core::Hashable
|
963
963
|
|
964
|
+
# Option to include built-in and custom substitutions as env variables for all
|
965
|
+
# build steps.
|
966
|
+
# Corresponds to the JSON property `automapSubstitutions`
|
967
|
+
# @return [Boolean]
|
968
|
+
attr_accessor :automap_substitutions
|
969
|
+
alias_method :automap_substitutions?, :automap_substitutions
|
970
|
+
|
964
971
|
# Optional. Option to specify how default logs buckets are setup.
|
965
972
|
# Corresponds to the JSON property `defaultLogsBucketBehavior`
|
966
973
|
# @return [String]
|
@@ -993,7 +1000,7 @@ module Google
|
|
993
1000
|
# @return [Array<String>]
|
994
1001
|
attr_accessor :env
|
995
1002
|
|
996
|
-
# Option to define build log streaming behavior to
|
1003
|
+
# Option to define build log streaming behavior to Cloud Storage.
|
997
1004
|
# Corresponds to the JSON property `logStreamingOption`
|
998
1005
|
# @return [String]
|
999
1006
|
attr_accessor :log_streaming_option
|
@@ -1061,6 +1068,7 @@ module Google
|
|
1061
1068
|
|
1062
1069
|
# Update properties of this object
|
1063
1070
|
def update!(**args)
|
1071
|
+
@automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
|
1064
1072
|
@default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
|
1065
1073
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1066
1074
|
@dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
|
@@ -1107,6 +1115,13 @@ module Google
|
|
1107
1115
|
# @return [Array<String>]
|
1108
1116
|
attr_accessor :args
|
1109
1117
|
|
1118
|
+
# Option to include built-in and custom substitutions as env variables for this
|
1119
|
+
# build step. This option will override the global option in BuildOption.
|
1120
|
+
# Corresponds to the JSON property `automapSubstitutions`
|
1121
|
+
# @return [Boolean]
|
1122
|
+
attr_accessor :automap_substitutions
|
1123
|
+
alias_method :automap_substitutions?, :automap_substitutions
|
1124
|
+
|
1110
1125
|
# Working directory to use when running this step's container. If this value is
|
1111
1126
|
# a relative path, it is relative to the build's working directory. If this
|
1112
1127
|
# value is absolute, it may be outside the build's working directory, in which
|
@@ -1220,6 +1235,7 @@ module Google
|
|
1220
1235
|
@allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
|
1221
1236
|
@allow_failure = args[:allow_failure] if args.key?(:allow_failure)
|
1222
1237
|
@args = args[:args] if args.key?(:args)
|
1238
|
+
@automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
|
1223
1239
|
@dir = args[:dir] if args.key?(:dir)
|
1224
1240
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
1225
1241
|
@env = args[:env] if args.key?(:env)
|
@@ -1935,7 +1951,7 @@ module Google
|
|
1935
1951
|
# @return [String]
|
1936
1952
|
attr_accessor :repo_type
|
1937
1953
|
|
1938
|
-
# The fully qualified resource name of the
|
1954
|
+
# The fully qualified resource name of the Repos API repository. Either URI or
|
1939
1955
|
# repository can be specified. If unspecified, the repo from which the trigger
|
1940
1956
|
# invocation originated is assumed to be the repo from which to read the
|
1941
1957
|
# specified path.
|
@@ -2485,13 +2501,15 @@ module Google
|
|
2485
2501
|
# @return [String]
|
2486
2502
|
attr_accessor :repo_type
|
2487
2503
|
|
2488
|
-
# The
|
2489
|
-
# repository can be specified
|
2504
|
+
# The connected repository resource name, in the format `projects/*/locations/*/
|
2505
|
+
# connections/*/repositories/*`. Either `uri` or `repository` can be specified
|
2506
|
+
# and is required.
|
2490
2507
|
# Corresponds to the JSON property `repository`
|
2491
2508
|
# @return [String]
|
2492
2509
|
attr_accessor :repository
|
2493
2510
|
|
2494
|
-
# The URI of the repo. Either uri or
|
2511
|
+
# The URI of the repo (e.g. https://github.com/user/repo.git). Either `uri` or `
|
2512
|
+
# repository` can be specified and is required.
|
2495
2513
|
# Corresponds to the JSON property `uri`
|
2496
2514
|
# @return [String]
|
2497
2515
|
attr_accessor :uri
|
@@ -3012,13 +3030,13 @@ module Google
|
|
3012
3030
|
# @return [String]
|
3013
3031
|
attr_accessor :name
|
3014
3032
|
|
3015
|
-
# The normal response of the operation
|
3016
|
-
#
|
3017
|
-
#
|
3018
|
-
#
|
3019
|
-
#
|
3020
|
-
#
|
3021
|
-
#
|
3033
|
+
# The normal, successful response of the operation. If the original method
|
3034
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
3035
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
3036
|
+
# response should be the resource. For other methods, the response should have
|
3037
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
3038
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
3039
|
+
# `TakeSnapshotResponse`.
|
3022
3040
|
# Corresponds to the JSON property `response`
|
3023
3041
|
# @return [Hash<String,Object>]
|
3024
3042
|
attr_accessor :response
|
@@ -3736,14 +3754,14 @@ module Google
|
|
3736
3754
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
3737
3755
|
attr_accessor :repo_source
|
3738
3756
|
|
3739
|
-
# Location of the source in an archive file in
|
3757
|
+
# Location of the source in an archive file in Cloud Storage.
|
3740
3758
|
# Corresponds to the JSON property `storageSource`
|
3741
3759
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
3742
3760
|
attr_accessor :storage_source
|
3743
3761
|
|
3744
|
-
# Location of the source manifest in
|
3745
|
-
#
|
3746
|
-
#
|
3762
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
3763
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
3764
|
+
# tree/master/gcs-fetcher).
|
3747
3765
|
# Corresponds to the JSON property `storageSourceManifest`
|
3748
3766
|
# @return [Google::Apis::CloudbuildV1::StorageSourceManifest]
|
3749
3767
|
attr_accessor :storage_source_manifest
|
@@ -3782,14 +3800,14 @@ module Google
|
|
3782
3800
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
3783
3801
|
attr_accessor :resolved_repo_source
|
3784
3802
|
|
3785
|
-
# Location of the source in an archive file in
|
3803
|
+
# Location of the source in an archive file in Cloud Storage.
|
3786
3804
|
# Corresponds to the JSON property `resolvedStorageSource`
|
3787
3805
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
3788
3806
|
attr_accessor :resolved_storage_source
|
3789
3807
|
|
3790
|
-
# Location of the source manifest in
|
3791
|
-
#
|
3792
|
-
#
|
3808
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
3809
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
3810
|
+
# tree/master/gcs-fetcher).
|
3793
3811
|
# Corresponds to the JSON property `resolvedStorageSourceManifest`
|
3794
3812
|
# @return [Google::Apis::CloudbuildV1::StorageSourceManifest]
|
3795
3813
|
attr_accessor :resolved_storage_source_manifest
|
@@ -3846,25 +3864,24 @@ module Google
|
|
3846
3864
|
end
|
3847
3865
|
end
|
3848
3866
|
|
3849
|
-
# Location of the source in an archive file in
|
3867
|
+
# Location of the source in an archive file in Cloud Storage.
|
3850
3868
|
class StorageSource
|
3851
3869
|
include Google::Apis::Core::Hashable
|
3852
3870
|
|
3853
|
-
#
|
3854
|
-
#
|
3855
|
-
# ).
|
3871
|
+
# Cloud Storage bucket containing the source (see [Bucket Name Requirements](
|
3872
|
+
# https://cloud.google.com/storage/docs/bucket-naming#requirements)).
|
3856
3873
|
# Corresponds to the JSON property `bucket`
|
3857
3874
|
# @return [String]
|
3858
3875
|
attr_accessor :bucket
|
3859
3876
|
|
3860
|
-
#
|
3861
|
-
#
|
3877
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
3878
|
+
# latest generation will be used.
|
3862
3879
|
# Corresponds to the JSON property `generation`
|
3863
3880
|
# @return [Fixnum]
|
3864
3881
|
attr_accessor :generation
|
3865
3882
|
|
3866
|
-
#
|
3867
|
-
#
|
3883
|
+
# Cloud Storage object containing the source. This object must be a zipped (`.
|
3884
|
+
# zip`) or gzipped archive file (`.tar.gz`) containing source to build.
|
3868
3885
|
# Corresponds to the JSON property `object`
|
3869
3886
|
# @return [String]
|
3870
3887
|
attr_accessor :object
|
@@ -3881,27 +3898,27 @@ module Google
|
|
3881
3898
|
end
|
3882
3899
|
end
|
3883
3900
|
|
3884
|
-
# Location of the source manifest in
|
3885
|
-
#
|
3886
|
-
#
|
3901
|
+
# Location of the source manifest in Cloud Storage. This feature is in Preview;
|
3902
|
+
# see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
|
3903
|
+
# tree/master/gcs-fetcher).
|
3887
3904
|
class StorageSourceManifest
|
3888
3905
|
include Google::Apis::Core::Hashable
|
3889
3906
|
|
3890
|
-
#
|
3907
|
+
# Cloud Storage bucket containing the source manifest (see [Bucket Name
|
3891
3908
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
3892
3909
|
# ).
|
3893
3910
|
# Corresponds to the JSON property `bucket`
|
3894
3911
|
# @return [String]
|
3895
3912
|
attr_accessor :bucket
|
3896
3913
|
|
3897
|
-
#
|
3898
|
-
#
|
3914
|
+
# Cloud Storage generation for the object. If the generation is omitted, the
|
3915
|
+
# latest generation will be used.
|
3899
3916
|
# Corresponds to the JSON property `generation`
|
3900
3917
|
# @return [Fixnum]
|
3901
3918
|
attr_accessor :generation
|
3902
3919
|
|
3903
|
-
#
|
3904
|
-
#
|
3920
|
+
# Cloud Storage object containing the source manifest. This object must be a
|
3921
|
+
# JSON file.
|
3905
3922
|
# Corresponds to the JSON property `object`
|
3906
3923
|
# @return [String]
|
3907
3924
|
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.53.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 = "20230801"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -911,6 +911,7 @@ module Google
|
|
911
911
|
class BuildOptions
|
912
912
|
# @private
|
913
913
|
class Representation < Google::Apis::Core::JsonRepresentation
|
914
|
+
property :automap_substitutions, as: 'automapSubstitutions'
|
914
915
|
property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
|
915
916
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
916
917
|
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
@@ -936,6 +937,7 @@ module Google
|
|
936
937
|
collection :allow_exit_codes, as: 'allowExitCodes'
|
937
938
|
property :allow_failure, as: 'allowFailure'
|
938
939
|
collection :args, as: 'args'
|
940
|
+
property :automap_substitutions, as: 'automapSubstitutions'
|
939
941
|
property :dir, as: 'dir'
|
940
942
|
property :entrypoint, as: 'entrypoint'
|
941
943
|
collection :env, as: 'env'
|
@@ -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.
|
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.53.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-08-06 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.53.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: []
|