google-cloud-workflows-executions-v1beta 0.3.2 → 0.3.6
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/AUTHENTICATION.md +7 -25
- data/README.md +3 -3
- data/lib/google/cloud/workflows/executions/v1beta/executions/client.rb +127 -52
- data/lib/google/cloud/workflows/executions/v1beta/executions_pb.rb +2 -2
- data/lib/google/cloud/workflows/executions/v1beta/executions_services_pb.rb +1 -1
- data/lib/google/cloud/workflows/executions/v1beta/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 851d8a1a2d8cc780acb2d8fe3f4aedbacb99790d88e376bcd06420f6b4f847fe
|
4
|
+
data.tar.gz: 4778eba48a2b9635c37a761d1da2e8c80e103e66b6104c12862fc3f0da5cc0b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de7226544e7c9e22b500c9a9bb73fc032e4f421c5ec4d84043bf3fc844de73ec89a49ec0735737868a82337b1ab6c5cdd69a79897caf6ab5868f3aa1b660f52a
|
7
|
+
data.tar.gz: 27e4262065c4ba6d815399a1759c07e74602f3e14281eaa65982c3c1ee72bb3fb8c2acdbfd30c3298b597e14ac0bd45896c8613747edb3789d8ca6a3edee85f6
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ https://github.com/googleapis/google-cloud-ruby
|
|
9
9
|
This gem is a _versioned_ client. It provides basic client classes for a
|
10
10
|
specific version of the Workflows Executions V1beta API. Most users should consider using
|
11
11
|
the main client gem,
|
12
|
-
[google-cloud-workflows
|
12
|
+
[google-cloud-workflows](https://rubygems.org/gems/google-cloud-workflows).
|
13
13
|
See the section below titled *Which client should I use?* for more information.
|
14
14
|
|
15
15
|
## Installation
|
@@ -83,7 +83,7 @@ about the Ruby support schedule.
|
|
83
83
|
## Which client should I use?
|
84
84
|
|
85
85
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
86
|
-
client library with a name such as `google-cloud-workflows
|
86
|
+
client library with a name such as `google-cloud-workflows`,
|
87
87
|
and lower-level _versioned_ client libraries with names such as
|
88
88
|
`google-cloud-workflows-executions-v1beta`.
|
89
89
|
_In most cases, you should install the main client._
|
@@ -110,7 +110,7 @@ service version.
|
|
110
110
|
|
111
111
|
We recommend that most users install the main client gem for a service. You can
|
112
112
|
identify this gem as the one _without_ a version in its name, e.g.
|
113
|
-
`google-cloud-workflows
|
113
|
+
`google-cloud-workflows`.
|
114
114
|
The main client is recommended because it will embody the best practices for
|
115
115
|
accessing the service, and may also provide more convenient interfaces or
|
116
116
|
tighter integration into frameworks and third-party libraries. In addition, the
|
@@ -43,13 +43,12 @@ module Google
|
|
43
43
|
# See {::Google::Cloud::Workflows::Executions::V1beta::Executions::Client::Configuration}
|
44
44
|
# for a description of the configuration fields.
|
45
45
|
#
|
46
|
-
#
|
46
|
+
# @example
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# end
|
48
|
+
# # Modify the configuration for all Executions clients
|
49
|
+
# ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.configure do |config|
|
50
|
+
# config.timeout = 10.0
|
51
|
+
# end
|
53
52
|
#
|
54
53
|
# @yield [config] Configure the Client client.
|
55
54
|
# @yieldparam config [Client::Configuration]
|
@@ -96,19 +95,15 @@ module Google
|
|
96
95
|
##
|
97
96
|
# Create a new Executions client object.
|
98
97
|
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
# To create a new Executions client with the default
|
102
|
-
# configuration:
|
103
|
-
#
|
104
|
-
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
98
|
+
# @example
|
105
99
|
#
|
106
|
-
#
|
107
|
-
#
|
100
|
+
# # Create a client using the default configuration
|
101
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
108
102
|
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
103
|
+
# # Create a client using a custom configuration
|
104
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
|
105
|
+
# config.timeout = 10.0
|
106
|
+
# end
|
112
107
|
#
|
113
108
|
# @yield [config] Configure the Executions client.
|
114
109
|
# @yieldparam config [Client::Configuration]
|
@@ -128,10 +123,9 @@ module Google
|
|
128
123
|
|
129
124
|
# Create credentials
|
130
125
|
credentials = @config.credentials
|
131
|
-
# Use self-signed JWT if the
|
126
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
132
127
|
# but only if the default endpoint does not have a region prefix.
|
133
|
-
enable_self_signed_jwt = @config.
|
134
|
-
@config.endpoint == Client.configure.endpoint &&
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
135
129
|
!@config.endpoint.split(".").first.include?("-")
|
136
130
|
credentials ||= Credentials.default scope: @config.scope,
|
137
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -200,6 +194,27 @@ module Google
|
|
200
194
|
#
|
201
195
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
202
196
|
#
|
197
|
+
# @example Basic example
|
198
|
+
# require "google/cloud/workflows/executions/v1beta"
|
199
|
+
#
|
200
|
+
# # Create a client object. The client can be reused for multiple calls.
|
201
|
+
# client = Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
202
|
+
#
|
203
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
204
|
+
# request = Google::Cloud::Workflows::Executions::V1beta::ListExecutionsRequest.new
|
205
|
+
#
|
206
|
+
# # Call the list_executions method.
|
207
|
+
# result = client.list_executions request
|
208
|
+
#
|
209
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
210
|
+
# # iterate over all elements by calling #each, and the enumerable
|
211
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
212
|
+
# # methods are also available for managing paging directly.
|
213
|
+
# result.each do |response|
|
214
|
+
# # Each element is of type ::Google::Cloud::Workflows::Executions::V1beta::Execution.
|
215
|
+
# p response
|
216
|
+
# end
|
217
|
+
#
|
203
218
|
def list_executions request, options = nil
|
204
219
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
205
220
|
|
@@ -217,16 +232,20 @@ module Google
|
|
217
232
|
gapic_version: ::Google::Cloud::Workflows::Executions::V1beta::VERSION
|
218
233
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
219
234
|
|
220
|
-
header_params = {
|
221
|
-
|
222
|
-
|
235
|
+
header_params = {}
|
236
|
+
if request.parent
|
237
|
+
header_params["parent"] = request.parent
|
238
|
+
end
|
239
|
+
|
223
240
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
224
241
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
225
242
|
|
226
243
|
options.apply_defaults timeout: @config.rpcs.list_executions.timeout,
|
227
244
|
metadata: metadata,
|
228
245
|
retry_policy: @config.rpcs.list_executions.retry_policy
|
229
|
-
|
246
|
+
|
247
|
+
options.apply_defaults timeout: @config.timeout,
|
248
|
+
metadata: @config.metadata,
|
230
249
|
retry_policy: @config.retry_policy
|
231
250
|
|
232
251
|
@executions_stub.call_rpc :list_executions, request, options: options do |response, operation|
|
@@ -271,6 +290,21 @@ module Google
|
|
271
290
|
#
|
272
291
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
273
292
|
#
|
293
|
+
# @example Basic example
|
294
|
+
# require "google/cloud/workflows/executions/v1beta"
|
295
|
+
#
|
296
|
+
# # Create a client object. The client can be reused for multiple calls.
|
297
|
+
# client = Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
298
|
+
#
|
299
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
300
|
+
# request = Google::Cloud::Workflows::Executions::V1beta::CreateExecutionRequest.new
|
301
|
+
#
|
302
|
+
# # Call the create_execution method.
|
303
|
+
# result = client.create_execution request
|
304
|
+
#
|
305
|
+
# # The returned object is of type Google::Cloud::Workflows::Executions::V1beta::Execution.
|
306
|
+
# p result
|
307
|
+
#
|
274
308
|
def create_execution request, options = nil
|
275
309
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
276
310
|
|
@@ -288,16 +322,20 @@ module Google
|
|
288
322
|
gapic_version: ::Google::Cloud::Workflows::Executions::V1beta::VERSION
|
289
323
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
290
324
|
|
291
|
-
header_params = {
|
292
|
-
|
293
|
-
|
325
|
+
header_params = {}
|
326
|
+
if request.parent
|
327
|
+
header_params["parent"] = request.parent
|
328
|
+
end
|
329
|
+
|
294
330
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
295
331
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
296
332
|
|
297
333
|
options.apply_defaults timeout: @config.rpcs.create_execution.timeout,
|
298
334
|
metadata: metadata,
|
299
335
|
retry_policy: @config.rpcs.create_execution.retry_policy
|
300
|
-
|
336
|
+
|
337
|
+
options.apply_defaults timeout: @config.timeout,
|
338
|
+
metadata: @config.metadata,
|
301
339
|
retry_policy: @config.retry_policy
|
302
340
|
|
303
341
|
@executions_stub.call_rpc :create_execution, request, options: options do |response, operation|
|
@@ -342,6 +380,21 @@ module Google
|
|
342
380
|
#
|
343
381
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
344
382
|
#
|
383
|
+
# @example Basic example
|
384
|
+
# require "google/cloud/workflows/executions/v1beta"
|
385
|
+
#
|
386
|
+
# # Create a client object. The client can be reused for multiple calls.
|
387
|
+
# client = Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
388
|
+
#
|
389
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
390
|
+
# request = Google::Cloud::Workflows::Executions::V1beta::GetExecutionRequest.new
|
391
|
+
#
|
392
|
+
# # Call the get_execution method.
|
393
|
+
# result = client.get_execution request
|
394
|
+
#
|
395
|
+
# # The returned object is of type Google::Cloud::Workflows::Executions::V1beta::Execution.
|
396
|
+
# p result
|
397
|
+
#
|
345
398
|
def get_execution request, options = nil
|
346
399
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
347
400
|
|
@@ -359,16 +412,20 @@ module Google
|
|
359
412
|
gapic_version: ::Google::Cloud::Workflows::Executions::V1beta::VERSION
|
360
413
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
414
|
|
362
|
-
header_params = {
|
363
|
-
|
364
|
-
|
415
|
+
header_params = {}
|
416
|
+
if request.name
|
417
|
+
header_params["name"] = request.name
|
418
|
+
end
|
419
|
+
|
365
420
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
366
421
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
367
422
|
|
368
423
|
options.apply_defaults timeout: @config.rpcs.get_execution.timeout,
|
369
424
|
metadata: metadata,
|
370
425
|
retry_policy: @config.rpcs.get_execution.retry_policy
|
371
|
-
|
426
|
+
|
427
|
+
options.apply_defaults timeout: @config.timeout,
|
428
|
+
metadata: @config.metadata,
|
372
429
|
retry_policy: @config.retry_policy
|
373
430
|
|
374
431
|
@executions_stub.call_rpc :get_execution, request, options: options do |response, operation|
|
@@ -410,6 +467,21 @@ module Google
|
|
410
467
|
#
|
411
468
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
412
469
|
#
|
470
|
+
# @example Basic example
|
471
|
+
# require "google/cloud/workflows/executions/v1beta"
|
472
|
+
#
|
473
|
+
# # Create a client object. The client can be reused for multiple calls.
|
474
|
+
# client = Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new
|
475
|
+
#
|
476
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
477
|
+
# request = Google::Cloud::Workflows::Executions::V1beta::CancelExecutionRequest.new
|
478
|
+
#
|
479
|
+
# # Call the cancel_execution method.
|
480
|
+
# result = client.cancel_execution request
|
481
|
+
#
|
482
|
+
# # The returned object is of type Google::Cloud::Workflows::Executions::V1beta::Execution.
|
483
|
+
# p result
|
484
|
+
#
|
413
485
|
def cancel_execution request, options = nil
|
414
486
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
415
487
|
|
@@ -427,16 +499,20 @@ module Google
|
|
427
499
|
gapic_version: ::Google::Cloud::Workflows::Executions::V1beta::VERSION
|
428
500
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
429
501
|
|
430
|
-
header_params = {
|
431
|
-
|
432
|
-
|
502
|
+
header_params = {}
|
503
|
+
if request.name
|
504
|
+
header_params["name"] = request.name
|
505
|
+
end
|
506
|
+
|
433
507
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
434
508
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
435
509
|
|
436
510
|
options.apply_defaults timeout: @config.rpcs.cancel_execution.timeout,
|
437
511
|
metadata: metadata,
|
438
512
|
retry_policy: @config.rpcs.cancel_execution.retry_policy
|
439
|
-
|
513
|
+
|
514
|
+
options.apply_defaults timeout: @config.timeout,
|
515
|
+
metadata: @config.metadata,
|
440
516
|
retry_policy: @config.retry_policy
|
441
517
|
|
442
518
|
@executions_stub.call_rpc :cancel_execution, request, options: options do |response, operation|
|
@@ -460,22 +536,21 @@ module Google
|
|
460
536
|
# Configuration can be applied globally to all clients, or to a single client
|
461
537
|
# on construction.
|
462
538
|
#
|
463
|
-
#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# to 20 seconds,
|
467
|
-
#
|
468
|
-
#
|
469
|
-
#
|
470
|
-
#
|
471
|
-
#
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
# end
|
539
|
+
# @example
|
540
|
+
#
|
541
|
+
# # Modify the global config, setting the timeout for
|
542
|
+
# # list_executions to 20 seconds,
|
543
|
+
# # and all remaining timeouts to 10 seconds.
|
544
|
+
# ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.configure do |config|
|
545
|
+
# config.timeout = 10.0
|
546
|
+
# config.rpcs.list_executions.timeout = 20.0
|
547
|
+
# end
|
548
|
+
#
|
549
|
+
# # Apply the above configuration only to a new client.
|
550
|
+
# client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
|
551
|
+
# config.timeout = 10.0
|
552
|
+
# config.rpcs.list_executions.timeout = 20.0
|
553
|
+
# end
|
479
554
|
#
|
480
555
|
# @!attribute [rw] endpoint
|
481
556
|
# The hostname or hostname:port of the service endpoint.
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/workflows/executions/v1beta/executions.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
9
7
|
require 'google/api/resource_pb'
|
10
8
|
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/workflows/executions/v1beta/executions.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.cloud.workflows.executions.v1beta.Execution" do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-workflows-executions-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
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.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -162,8 +162,7 @@ description: Workflows link series of serverless tasks together in an order you
|
|
162
162
|
Workflows requires no infrastructure management and scales seamlessly with demand,
|
163
163
|
including scaling down to zero.. Note that google-cloud-workflows-executions-v1beta
|
164
164
|
is a version-specific client library. For most uses, we recommend installing the
|
165
|
-
main client library google-cloud-workflows
|
166
|
-
more details.
|
165
|
+
main client library google-cloud-workflows instead. See the readme for more details.
|
167
166
|
email: googleapis-packages@google.com
|
168
167
|
executables: []
|
169
168
|
extensions: []
|
@@ -206,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
205
|
- !ruby/object:Gem::Version
|
207
206
|
version: '0'
|
208
207
|
requirements: []
|
209
|
-
rubygems_version: 3.
|
208
|
+
rubygems_version: 3.3.4
|
210
209
|
signing_key:
|
211
210
|
specification_version: 4
|
212
211
|
summary: API Client library for the Workflows Executions V1beta API
|