google-apis-cloudbuild_v1 0.35.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ba0326ff2746bd2f15fd6c711eb64a50672643b2feee4892c1967fd595437f8
|
4
|
+
data.tar.gz: 6425dfa75f2103a9e9b408c21f628f79db963bcdbc1991ac321f2c98c3d3a7ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4c771de63ee27bf5f39e750479c98e4557a6a7b49fde5bb6caacb764de4b410446f94a6ddb89a691edf25588d6f227c10e6d11c3fc03ee967d29d0d663598a9
|
7
|
+
data.tar.gz: 71a16512b7d8f97682c69b16dbd8f1bbe49e06b3bd25e4b25c1062f20c735125665015372aa5127e79f5abf4483e1b327e67668008075fd63fdf11139cac831a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2022-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220826
|
6
|
+
|
7
|
+
### v0.37.0 (2022-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220818
|
10
|
+
|
11
|
+
### v0.36.0 (2022-08-16)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220808
|
14
|
+
* Regenerated using generator version 0.9.0
|
15
|
+
|
3
16
|
### v0.35.0 (2022-06-30)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.8.0
|
@@ -976,6 +976,22 @@ module Google
|
|
976
976
|
class BuildStep
|
977
977
|
include Google::Apis::Core::Hashable
|
978
978
|
|
979
|
+
# Allow this build step to fail without failing the entire build if and only if
|
980
|
+
# the exit code is one of the specified codes. If allow_failure is also
|
981
|
+
# specified, this field will take precedence.
|
982
|
+
# Corresponds to the JSON property `allowExitCodes`
|
983
|
+
# @return [Array<Fixnum>]
|
984
|
+
attr_accessor :allow_exit_codes
|
985
|
+
|
986
|
+
# Allow this build step to fail without failing the entire build. If false, the
|
987
|
+
# entire build will fail if this step fails. Otherwise, the build will succeed,
|
988
|
+
# but this step will still have a failure status. Error information will be
|
989
|
+
# reported in the failure_detail field.
|
990
|
+
# Corresponds to the JSON property `allowFailure`
|
991
|
+
# @return [Boolean]
|
992
|
+
attr_accessor :allow_failure
|
993
|
+
alias_method :allow_failure?, :allow_failure
|
994
|
+
|
979
995
|
# A list of arguments that will be presented to the step when it is started. If
|
980
996
|
# the image used to run the step's container has an entrypoint, the `args` are
|
981
997
|
# used as arguments to that entrypoint. If the image does not define an
|
@@ -1009,6 +1025,11 @@ module Google
|
|
1009
1025
|
# @return [Array<String>]
|
1010
1026
|
attr_accessor :env
|
1011
1027
|
|
1028
|
+
# Output only. Return code from running the step.
|
1029
|
+
# Corresponds to the JSON property `exitCode`
|
1030
|
+
# @return [Fixnum]
|
1031
|
+
attr_accessor :exit_code
|
1032
|
+
|
1012
1033
|
# Unique identifier for this build step, used in `wait_for` to reference this
|
1013
1034
|
# build step as a dependency.
|
1014
1035
|
# Corresponds to the JSON property `id`
|
@@ -1090,10 +1111,13 @@ module Google
|
|
1090
1111
|
|
1091
1112
|
# Update properties of this object
|
1092
1113
|
def update!(**args)
|
1114
|
+
@allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
|
1115
|
+
@allow_failure = args[:allow_failure] if args.key?(:allow_failure)
|
1093
1116
|
@args = args[:args] if args.key?(:args)
|
1094
1117
|
@dir = args[:dir] if args.key?(:dir)
|
1095
1118
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
1096
1119
|
@env = args[:env] if args.key?(:env)
|
1120
|
+
@exit_code = args[:exit_code] if args.key?(:exit_code)
|
1097
1121
|
@id = args[:id] if args.key?(:id)
|
1098
1122
|
@name = args[:name] if args.key?(:name)
|
1099
1123
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
@@ -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.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220826"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -811,10 +811,13 @@ module Google
|
|
811
811
|
class BuildStep
|
812
812
|
# @private
|
813
813
|
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
collection :allow_exit_codes, as: 'allowExitCodes'
|
815
|
+
property :allow_failure, as: 'allowFailure'
|
814
816
|
collection :args, as: 'args'
|
815
817
|
property :dir, as: 'dir'
|
816
818
|
property :entrypoint, as: 'entrypoint'
|
817
819
|
collection :env, as: 'env'
|
820
|
+
property :exit_code, as: 'exitCode'
|
818
821
|
property :id, as: 'id'
|
819
822
|
property :name, as: 'name'
|
820
823
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
|
@@ -49,6 +49,41 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# ReceiveGitHubDotComWebhook is called when the API receives a github.com
|
53
|
+
# webhook.
|
54
|
+
# @param [Google::Apis::CloudbuildV1::HttpBody] http_body_object
|
55
|
+
# @param [String] webhook_key
|
56
|
+
# For GitHub Enterprise webhooks, this key is used to associate the webhook
|
57
|
+
# request with the GitHubEnterpriseConfig to use for validation.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::CloudbuildV1::Empty]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def receive_github_dot_com_webhook(http_body_object = nil, webhook_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v1/githubDotComWebhook:receive', options)
|
77
|
+
command.request_representation = Google::Apis::CloudbuildV1::HttpBody::Representation
|
78
|
+
command.request_object = http_body_object
|
79
|
+
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
80
|
+
command.response_class = Google::Apis::CloudbuildV1::Empty
|
81
|
+
command.query['webhookKey'] = webhook_key unless webhook_key.nil?
|
82
|
+
command.query['fields'] = fields unless fields.nil?
|
83
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
84
|
+
execute_or_queue_command(command, &block)
|
85
|
+
end
|
86
|
+
|
52
87
|
# ReceiveRegionalWebhook is called when the API receives a regional GitHub
|
53
88
|
# webhook.
|
54
89
|
# @param [String] location
|
@@ -855,8 +890,8 @@ module Google
|
|
855
890
|
# Required. Name of the parent resource.
|
856
891
|
# @param [Fixnum] page_size
|
857
892
|
# The maximum number of configs to return. The service may return fewer than
|
858
|
-
# this value.
|
859
|
-
#
|
893
|
+
# this value. The maximum value is 1000; values above 1000 will be coerced to
|
894
|
+
# 1000.
|
860
895
|
# @param [String] page_token
|
861
896
|
# A page token, received from a previous `ListBitbucketServerRepositoriesRequest`
|
862
897
|
# call. Provide this to retrieve the subsequent page. When paginating, all
|
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.38.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-
|
11
|
+
date: 2022-09-05 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.38.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: []
|