google-cloud-workflows-executions-v1beta 0.14.1 → 0.14.2
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 +4 -4
- data/.yardopts +1 -1
- data/README.md +2 -6
- data/lib/google/cloud/workflows/executions/v1beta/executions/client.rb +1 -1
- data/lib/google/cloud/workflows/executions/v1beta/executions/credentials.rb +1 -1
- data/lib/google/cloud/workflows/executions/v1beta/executions/paths.rb +1 -1
- data/lib/google/cloud/workflows/executions/v1beta/executions/rest/client.rb +720 -0
- data/lib/google/cloud/workflows/executions/v1beta/executions/rest/service_stub.rb +329 -0
- data/lib/google/cloud/workflows/executions/v1beta/executions/rest.rb +55 -0
- data/lib/google/cloud/workflows/executions/v1beta/executions.rb +7 -1
- data/lib/google/cloud/workflows/executions/v1beta/executions_services_pb.rb +1 -1
- data/lib/google/cloud/workflows/executions/v1beta/rest.rb +39 -0
- data/lib/google/cloud/workflows/executions/v1beta/version.rb +1 -1
- data/lib/google/cloud/workflows/executions/v1beta.rb +6 -1
- data/lib/google-cloud-workflows-executions-v1beta.rb +1 -1
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/workflows/executions/v1beta/executions.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- metadata +6 -6
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "google/cloud/workflows/executions/v1beta/executions_pb"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Workflows
|
|
24
|
+
module Executions
|
|
25
|
+
module V1beta
|
|
26
|
+
module Executions
|
|
27
|
+
module Rest
|
|
28
|
+
##
|
|
29
|
+
# REST service stub for the Executions service.
|
|
30
|
+
# Service stub contains baseline method implementations
|
|
31
|
+
# including transcoding, making the REST call, and deserialing the response.
|
|
32
|
+
#
|
|
33
|
+
class ServiceStub
|
|
34
|
+
# @private
|
|
35
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
|
36
|
+
# These require statements are intentionally placed here to initialize
|
|
37
|
+
# the REST modules only when it's required.
|
|
38
|
+
require "gapic/rest"
|
|
39
|
+
|
|
40
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
|
41
|
+
endpoint_template: endpoint_template,
|
|
42
|
+
universe_domain: universe_domain,
|
|
43
|
+
credentials: credentials,
|
|
44
|
+
numeric_enums: false,
|
|
45
|
+
service_name: self.class,
|
|
46
|
+
raise_faraday_errors: false,
|
|
47
|
+
logger: logger
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
##
|
|
51
|
+
# The effective universe domain
|
|
52
|
+
#
|
|
53
|
+
# @return [String]
|
|
54
|
+
#
|
|
55
|
+
def universe_domain
|
|
56
|
+
@client_stub.universe_domain
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
##
|
|
60
|
+
# The effective endpoint
|
|
61
|
+
#
|
|
62
|
+
# @return [String]
|
|
63
|
+
#
|
|
64
|
+
def endpoint
|
|
65
|
+
@client_stub.endpoint
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
##
|
|
69
|
+
# The logger used for request/response debug logging.
|
|
70
|
+
#
|
|
71
|
+
# @return [Logger]
|
|
72
|
+
#
|
|
73
|
+
def logger stub: false
|
|
74
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
##
|
|
78
|
+
# Baseline implementation for the list_executions REST call
|
|
79
|
+
#
|
|
80
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::ListExecutionsRequest]
|
|
81
|
+
# A request object representing the call parameters. Required.
|
|
82
|
+
# @param options [::Gapic::CallOptions]
|
|
83
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
84
|
+
#
|
|
85
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
86
|
+
# @yieldparam result [::Google::Cloud::Workflows::Executions::V1beta::ListExecutionsResponse]
|
|
87
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
88
|
+
#
|
|
89
|
+
# @return [::Google::Cloud::Workflows::Executions::V1beta::ListExecutionsResponse]
|
|
90
|
+
# A result object deserialized from the server's reply
|
|
91
|
+
def list_executions request_pb, options = nil
|
|
92
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
93
|
+
|
|
94
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_list_executions_request request_pb
|
|
95
|
+
query_string_params = if query_string_params.any?
|
|
96
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
97
|
+
else
|
|
98
|
+
{}
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
response = @client_stub.make_http_request(
|
|
102
|
+
verb,
|
|
103
|
+
uri: uri,
|
|
104
|
+
body: body || "",
|
|
105
|
+
params: query_string_params,
|
|
106
|
+
method_name: "list_executions",
|
|
107
|
+
options: options
|
|
108
|
+
)
|
|
109
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
110
|
+
result = ::Google::Cloud::Workflows::Executions::V1beta::ListExecutionsResponse.decode_json response.body, ignore_unknown_fields: true
|
|
111
|
+
catch :response do
|
|
112
|
+
yield result, operation if block_given?
|
|
113
|
+
result
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
##
|
|
118
|
+
# Baseline implementation for the create_execution REST call
|
|
119
|
+
#
|
|
120
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::CreateExecutionRequest]
|
|
121
|
+
# A request object representing the call parameters. Required.
|
|
122
|
+
# @param options [::Gapic::CallOptions]
|
|
123
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
124
|
+
#
|
|
125
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
126
|
+
# @yieldparam result [::Google::Cloud::Workflows::Executions::V1beta::Execution]
|
|
127
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
128
|
+
#
|
|
129
|
+
# @return [::Google::Cloud::Workflows::Executions::V1beta::Execution]
|
|
130
|
+
# A result object deserialized from the server's reply
|
|
131
|
+
def create_execution request_pb, options = nil
|
|
132
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
133
|
+
|
|
134
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_create_execution_request request_pb
|
|
135
|
+
query_string_params = if query_string_params.any?
|
|
136
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
137
|
+
else
|
|
138
|
+
{}
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
response = @client_stub.make_http_request(
|
|
142
|
+
verb,
|
|
143
|
+
uri: uri,
|
|
144
|
+
body: body || "",
|
|
145
|
+
params: query_string_params,
|
|
146
|
+
method_name: "create_execution",
|
|
147
|
+
options: options
|
|
148
|
+
)
|
|
149
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
150
|
+
result = ::Google::Cloud::Workflows::Executions::V1beta::Execution.decode_json response.body, ignore_unknown_fields: true
|
|
151
|
+
catch :response do
|
|
152
|
+
yield result, operation if block_given?
|
|
153
|
+
result
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
##
|
|
158
|
+
# Baseline implementation for the get_execution REST call
|
|
159
|
+
#
|
|
160
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::GetExecutionRequest]
|
|
161
|
+
# A request object representing the call parameters. Required.
|
|
162
|
+
# @param options [::Gapic::CallOptions]
|
|
163
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
164
|
+
#
|
|
165
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
166
|
+
# @yieldparam result [::Google::Cloud::Workflows::Executions::V1beta::Execution]
|
|
167
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
168
|
+
#
|
|
169
|
+
# @return [::Google::Cloud::Workflows::Executions::V1beta::Execution]
|
|
170
|
+
# A result object deserialized from the server's reply
|
|
171
|
+
def get_execution request_pb, options = nil
|
|
172
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
173
|
+
|
|
174
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_get_execution_request request_pb
|
|
175
|
+
query_string_params = if query_string_params.any?
|
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
177
|
+
else
|
|
178
|
+
{}
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
response = @client_stub.make_http_request(
|
|
182
|
+
verb,
|
|
183
|
+
uri: uri,
|
|
184
|
+
body: body || "",
|
|
185
|
+
params: query_string_params,
|
|
186
|
+
method_name: "get_execution",
|
|
187
|
+
options: options
|
|
188
|
+
)
|
|
189
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
190
|
+
result = ::Google::Cloud::Workflows::Executions::V1beta::Execution.decode_json response.body, ignore_unknown_fields: true
|
|
191
|
+
catch :response do
|
|
192
|
+
yield result, operation if block_given?
|
|
193
|
+
result
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
##
|
|
198
|
+
# Baseline implementation for the cancel_execution REST call
|
|
199
|
+
#
|
|
200
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::CancelExecutionRequest]
|
|
201
|
+
# A request object representing the call parameters. Required.
|
|
202
|
+
# @param options [::Gapic::CallOptions]
|
|
203
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
204
|
+
#
|
|
205
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
206
|
+
# @yieldparam result [::Google::Cloud::Workflows::Executions::V1beta::Execution]
|
|
207
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
208
|
+
#
|
|
209
|
+
# @return [::Google::Cloud::Workflows::Executions::V1beta::Execution]
|
|
210
|
+
# A result object deserialized from the server's reply
|
|
211
|
+
def cancel_execution request_pb, options = nil
|
|
212
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
|
213
|
+
|
|
214
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_cancel_execution_request request_pb
|
|
215
|
+
query_string_params = if query_string_params.any?
|
|
216
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
217
|
+
else
|
|
218
|
+
{}
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
response = @client_stub.make_http_request(
|
|
222
|
+
verb,
|
|
223
|
+
uri: uri,
|
|
224
|
+
body: body || "",
|
|
225
|
+
params: query_string_params,
|
|
226
|
+
method_name: "cancel_execution",
|
|
227
|
+
options: options
|
|
228
|
+
)
|
|
229
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
|
230
|
+
result = ::Google::Cloud::Workflows::Executions::V1beta::Execution.decode_json response.body, ignore_unknown_fields: true
|
|
231
|
+
catch :response do
|
|
232
|
+
yield result, operation if block_given?
|
|
233
|
+
result
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
##
|
|
238
|
+
# @private
|
|
239
|
+
#
|
|
240
|
+
# GRPC transcoding helper method for the list_executions REST call
|
|
241
|
+
#
|
|
242
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::ListExecutionsRequest]
|
|
243
|
+
# A request object representing the call parameters. Required.
|
|
244
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
245
|
+
# Uri, Body, Query string parameters
|
|
246
|
+
def self.transcode_list_executions_request request_pb
|
|
247
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
248
|
+
.with_bindings(
|
|
249
|
+
uri_method: :get,
|
|
250
|
+
uri_template: "/v1beta/{parent}/executions",
|
|
251
|
+
matches: [
|
|
252
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/workflows/[^/]+/?$}, false]
|
|
253
|
+
]
|
|
254
|
+
)
|
|
255
|
+
transcoder.transcode request_pb
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
##
|
|
259
|
+
# @private
|
|
260
|
+
#
|
|
261
|
+
# GRPC transcoding helper method for the create_execution REST call
|
|
262
|
+
#
|
|
263
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::CreateExecutionRequest]
|
|
264
|
+
# A request object representing the call parameters. Required.
|
|
265
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
266
|
+
# Uri, Body, Query string parameters
|
|
267
|
+
def self.transcode_create_execution_request request_pb
|
|
268
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
269
|
+
.with_bindings(
|
|
270
|
+
uri_method: :post,
|
|
271
|
+
uri_template: "/v1beta/{parent}/executions",
|
|
272
|
+
body: "execution",
|
|
273
|
+
matches: [
|
|
274
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/workflows/[^/]+/?$}, false]
|
|
275
|
+
]
|
|
276
|
+
)
|
|
277
|
+
transcoder.transcode request_pb
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
##
|
|
281
|
+
# @private
|
|
282
|
+
#
|
|
283
|
+
# GRPC transcoding helper method for the get_execution REST call
|
|
284
|
+
#
|
|
285
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::GetExecutionRequest]
|
|
286
|
+
# A request object representing the call parameters. Required.
|
|
287
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
288
|
+
# Uri, Body, Query string parameters
|
|
289
|
+
def self.transcode_get_execution_request request_pb
|
|
290
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
291
|
+
.with_bindings(
|
|
292
|
+
uri_method: :get,
|
|
293
|
+
uri_template: "/v1beta/{name}",
|
|
294
|
+
matches: [
|
|
295
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+/?$}, false]
|
|
296
|
+
]
|
|
297
|
+
)
|
|
298
|
+
transcoder.transcode request_pb
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
##
|
|
302
|
+
# @private
|
|
303
|
+
#
|
|
304
|
+
# GRPC transcoding helper method for the cancel_execution REST call
|
|
305
|
+
#
|
|
306
|
+
# @param request_pb [::Google::Cloud::Workflows::Executions::V1beta::CancelExecutionRequest]
|
|
307
|
+
# A request object representing the call parameters. Required.
|
|
308
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
|
309
|
+
# Uri, Body, Query string parameters
|
|
310
|
+
def self.transcode_cancel_execution_request request_pb
|
|
311
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
|
312
|
+
.with_bindings(
|
|
313
|
+
uri_method: :post,
|
|
314
|
+
uri_template: "/v1beta/{name}:cancel",
|
|
315
|
+
body: "*",
|
|
316
|
+
matches: [
|
|
317
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/workflows/[^/]+/executions/[^/]+/?$}, false]
|
|
318
|
+
]
|
|
319
|
+
)
|
|
320
|
+
transcoder.transcode request_pb
|
|
321
|
+
end
|
|
322
|
+
end
|
|
323
|
+
end
|
|
324
|
+
end
|
|
325
|
+
end
|
|
326
|
+
end
|
|
327
|
+
end
|
|
328
|
+
end
|
|
329
|
+
end
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "gapic/rest"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/workflows/executions/v1beta/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/workflows/executions/v1beta/executions/credentials"
|
|
26
|
+
require "google/cloud/workflows/executions/v1beta/executions/paths"
|
|
27
|
+
require "google/cloud/workflows/executions/v1beta/executions/rest/client"
|
|
28
|
+
|
|
29
|
+
module Google
|
|
30
|
+
module Cloud
|
|
31
|
+
module Workflows
|
|
32
|
+
module Executions
|
|
33
|
+
module V1beta
|
|
34
|
+
##
|
|
35
|
+
# Executions is used to start and manage running instances of
|
|
36
|
+
# [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
|
|
37
|
+
#
|
|
38
|
+
# To load this service and instantiate a REST client:
|
|
39
|
+
#
|
|
40
|
+
# require "google/cloud/workflows/executions/v1beta/executions/rest"
|
|
41
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Rest::Client.new
|
|
42
|
+
#
|
|
43
|
+
module Executions
|
|
44
|
+
# Client for the REST transport
|
|
45
|
+
module Rest
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
|
55
|
+
require "google/cloud/workflows/executions/v1beta/executions/rest/helpers" if ::File.file? helper_path
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -25,6 +25,7 @@ require "google/cloud/workflows/executions/v1beta/version"
|
|
|
25
25
|
require "google/cloud/workflows/executions/v1beta/executions/credentials"
|
|
26
26
|
require "google/cloud/workflows/executions/v1beta/executions/paths"
|
|
27
27
|
require "google/cloud/workflows/executions/v1beta/executions/client"
|
|
28
|
+
require "google/cloud/workflows/executions/v1beta/executions/rest"
|
|
28
29
|
|
|
29
30
|
module Google
|
|
30
31
|
module Cloud
|
|
@@ -40,6 +41,11 @@ module Google
|
|
|
40
41
|
# require "google/cloud/workflows/executions/v1beta/executions"
|
|
41
42
|
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
|
42
43
|
#
|
|
44
|
+
# @example Load this service and instantiate a REST client
|
|
45
|
+
#
|
|
46
|
+
# require "google/cloud/workflows/executions/v1beta/executions/rest"
|
|
47
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Rest::Client.new
|
|
48
|
+
#
|
|
43
49
|
module Executions
|
|
44
50
|
end
|
|
45
51
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/workflows/executions/v1beta/executions.proto for package 'google.cloud.workflows.executions.v1beta'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2025 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "google/cloud/workflows/executions/v1beta/executions/rest"
|
|
20
|
+
require "google/cloud/workflows/executions/v1beta/version"
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module Workflows
|
|
25
|
+
module Executions
|
|
26
|
+
##
|
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
|
28
|
+
#
|
|
29
|
+
# @example
|
|
30
|
+
#
|
|
31
|
+
# require "google/cloud/workflows/executions/v1beta/rest"
|
|
32
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Rest::Client.new
|
|
33
|
+
#
|
|
34
|
+
module V1beta
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -31,6 +31,11 @@ module Google
|
|
|
31
31
|
# require "google/cloud/workflows/executions/v1beta"
|
|
32
32
|
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
|
33
33
|
#
|
|
34
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
|
35
|
+
#
|
|
36
|
+
# require "google/cloud/workflows/executions/v1beta"
|
|
37
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Rest::Client.new
|
|
38
|
+
#
|
|
34
39
|
module V1beta
|
|
35
40
|
end
|
|
36
41
|
end
|
data/proto_docs/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-workflows-executions-v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -37,11 +37,7 @@ dependencies:
|
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '1.0'
|
|
40
|
-
description:
|
|
41
|
-
Combine the power of Google Cloud's APIs, serverless products like Cloud Functions
|
|
42
|
-
and Cloud Run, and calls to external APIs to create flexible serverless applications.
|
|
43
|
-
Workflows requires no infrastructure management and scales seamlessly with demand,
|
|
44
|
-
including scaling down to zero.. Note that google-cloud-workflows-executions-v1beta
|
|
40
|
+
description: Manages user-provided workflows. Note that google-cloud-workflows-executions-v1beta
|
|
45
41
|
is a version-specific client library. For most uses, we recommend installing the
|
|
46
42
|
main client library google-cloud-workflows instead. See the readme for more details.
|
|
47
43
|
email: googleapis-packages@google.com
|
|
@@ -59,8 +55,12 @@ files:
|
|
|
59
55
|
- lib/google/cloud/workflows/executions/v1beta/executions/client.rb
|
|
60
56
|
- lib/google/cloud/workflows/executions/v1beta/executions/credentials.rb
|
|
61
57
|
- lib/google/cloud/workflows/executions/v1beta/executions/paths.rb
|
|
58
|
+
- lib/google/cloud/workflows/executions/v1beta/executions/rest.rb
|
|
59
|
+
- lib/google/cloud/workflows/executions/v1beta/executions/rest/client.rb
|
|
60
|
+
- lib/google/cloud/workflows/executions/v1beta/executions/rest/service_stub.rb
|
|
62
61
|
- lib/google/cloud/workflows/executions/v1beta/executions_pb.rb
|
|
63
62
|
- lib/google/cloud/workflows/executions/v1beta/executions_services_pb.rb
|
|
63
|
+
- lib/google/cloud/workflows/executions/v1beta/rest.rb
|
|
64
64
|
- lib/google/cloud/workflows/executions/v1beta/version.rb
|
|
65
65
|
- proto_docs/README.md
|
|
66
66
|
- proto_docs/google/api/client.rb
|