google-cloud-workflows 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/google/cloud/workflows.rb +4 -4
- data/lib/google/cloud/workflows/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75dc46a8bb3b118494a2fccbe4551ef05c9319f2995edae648693e5e625e8da7
|
4
|
+
data.tar.gz: ca51ada6bc0607324b73d9422b9242637b91e323cc8bb4941b3db2dab8fdd55a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10a56995e6d3aa8cef61dbf4393b4af7eed3ae6e5b83c72f8d32898f1fe079408bbfef0a711dce35f0b173c294046e40538ea681ec395eeccf4467e3ba15a5f0
|
7
|
+
data.tar.gz: 4500d5e655a31e4050a668b53a5ac38a009e579b8e82c85740b8c7a87f52afb7c90c6bcec3c11d2031041e4f586223696973a00411d02098ea96b1701bc28438
|
data/README.md
CHANGED
@@ -16,6 +16,7 @@ for this library, google-cloud-workflows, to see the convenience methods for
|
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
18
18
|
client gems:
|
19
|
+
[google-cloud-workflows-v1](https://googleapis.dev/ruby/google-cloud-workflows-v1/latest),
|
19
20
|
[google-cloud-workflows-v1beta](https://googleapis.dev/ruby/google-cloud-workflows-v1beta/latest).
|
20
21
|
|
21
22
|
See also the [Product Documentation](https://cloud.google.com/workflows)
|
@@ -76,7 +77,7 @@ about the Ruby support schedule.
|
|
76
77
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
77
78
|
client library with a name such as `google-cloud-workflows`,
|
78
79
|
and lower-level _versioned_ client libraries with names such as
|
79
|
-
`google-cloud-workflows-
|
80
|
+
`google-cloud-workflows-v1`.
|
80
81
|
_In most cases, you should install the main client._
|
81
82
|
|
82
83
|
### What's the difference between the main client and a versioned client?
|
@@ -114,7 +115,7 @@ You can use a versioned client if you are content with a possibly lower-level
|
|
114
115
|
class interface, you explicitly want to avoid features provided by the main
|
115
116
|
client, or you want to access a specific service version not be covered by the
|
116
117
|
main client. You can identify versioned client gems because the service version
|
117
|
-
is part of the name, e.g. `google-cloud-workflows-
|
118
|
+
is part of the name, e.g. `google-cloud-workflows-v1`.
|
118
119
|
|
119
120
|
### What about the google-apis-<name> clients?
|
120
121
|
|
@@ -48,8 +48,8 @@ module Google
|
|
48
48
|
# Create a new client object for Workflows.
|
49
49
|
#
|
50
50
|
# By default, this returns an instance of
|
51
|
-
# [Google::Cloud::Workflows::
|
52
|
-
# for version
|
51
|
+
# [Google::Cloud::Workflows::V1::Workflows::Client](https://googleapis.dev/ruby/google-cloud-workflows-v1/latest/Google/Cloud/Workflows/V1/Workflows/Client.html)
|
52
|
+
# for version V1 of the API.
|
53
53
|
# However, you can specify specify a different API version by passing it in the
|
54
54
|
# `version` parameter. If the Workflows service is
|
55
55
|
# supported by that API version, and the corresponding gem is available, the
|
@@ -62,10 +62,10 @@ module Google
|
|
62
62
|
# networking interruptions.
|
63
63
|
#
|
64
64
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
65
|
-
# Defaults to `:
|
65
|
+
# Defaults to `:v1`.
|
66
66
|
# @return [Workflows::Client] A client object for the specified version.
|
67
67
|
#
|
68
|
-
def self.workflows version: :
|
68
|
+
def self.workflows version: :v1, &block
|
69
69
|
require "google/cloud/workflows/#{version.to_s.downcase}"
|
70
70
|
|
71
71
|
package_name = Google::Cloud::Workflows
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-workflows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.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: 2021-
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: google-cloud-workflows-v1
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0.0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: google-cloud-workflows-v1beta
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -202,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
216
|
- !ruby/object:Gem::Version
|
203
217
|
version: '0'
|
204
218
|
requirements: []
|
205
|
-
rubygems_version: 3.2.
|
219
|
+
rubygems_version: 3.2.17
|
206
220
|
signing_key:
|
207
221
|
specification_version: 4
|
208
222
|
summary: API Client library for the Workflows API
|