google-cloud-workflows 1.1.0 → 2.1.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: 818f86f724c1c69ed251b63cb229059174b9a859e63e147ce2dc9f22bc99d1be
4
- data.tar.gz: d50c5c543b61240ab4ca428d1481b567b372557c353bf20a1bbf874f3c3e8282
3
+ metadata.gz: 66fbcc5dabaeb887f4ee2a76ff6f56aca0f13a64f3f5f89a794a5ba0c4812dbd
4
+ data.tar.gz: e8b590e896d04c75e2562f8cf9bea03e0eda4ab0f6dbaff40ab0b65b8952c623
5
5
  SHA512:
6
- metadata.gz: bf9b78fdbf758e9f39cc4179e52f86d784623fe82071f2516847cbb134f5efa1ae0810abaca280a3bb05b4e53ce9bd15e2eec4abd3a947fa29acab43bb2507bb
7
- data.tar.gz: dfe36d6766882fe13224d53670ec5bc90358df1b88e584f8a5b915d7301251fdce8477e9cd348049b15c42cdf7c5d562ee555e0063109c5e6fd9347f1aec9782
6
+ metadata.gz: e09a0c20fe01a32853984f1868efca15d05ad3e270ed1a9140e6d87fd9a70212e19aff2fb60749eca194c27079cd136e62b262bf2f28be3d821de4de2363b3bc
7
+ data.tar.gz: 83ed93ad538b5f2e24e010adc624078234b47403897883fa3a8b3ec0699411ab2c1912f6b9be3a740ce428ee548ce16e8cd9f38956b1f5c535871c2395542661
data/AUTHENTICATION.md CHANGED
@@ -64,13 +64,13 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-workflows
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- `::Google::Cloud::Workflows::V1beta::Workflows::Credentials`):
67
+ `::Google::Cloud::Workflows::V1::Workflows::Credentials`):
68
68
 
69
- 1. `WORKFLOWS_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `WORKFLOWS_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `WORKFLOWS_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `WORKFLOWS_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/workflows"
@@ -82,8 +82,8 @@ client = Google::Cloud::Workflows.workflows
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/workflows"
@@ -93,7 +93,7 @@ client = Google::Cloud::Workflows.workflows do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/workflows"
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-v1beta`.
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-v1beta`.
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
 
@@ -49,8 +49,8 @@ module Google
49
49
  # Create a new client object for Executions.
50
50
  #
51
51
  # By default, this returns an instance of
52
- # [Google::Cloud::Workflows::Executions::V1beta::Executions::Client](https://googleapis.dev/ruby/google-cloud-workflows-executions-v1beta/latest/Google/Cloud/Workflows/Executions/V1beta/Executions/Client.html)
53
- # for version V1beta of the API.
52
+ # [Google::Cloud::Workflows::Executions::V1::Executions::Client](https://googleapis.dev/ruby/google-cloud-workflows-executions-v1/latest/Google/Cloud/Workflows/Executions/V1/Executions/Client.html)
53
+ # for version V1 of the API.
54
54
  # However, you can specify specify a different API version by passing it in the
55
55
  # `version` parameter. If the Executions service is
56
56
  # supported by that API version, and the corresponding gem is available, the
@@ -59,13 +59,13 @@ module Google
59
59
  # ## About Executions
60
60
  #
61
61
  # Executions is used to start and manage running instances of
62
- # [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
62
+ # [Workflows][google.cloud.workflows.v1.Workflow] called executions.
63
63
  #
64
64
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
65
- # Defaults to `:v1beta`.
65
+ # Defaults to `:v1`.
66
66
  # @return [Executions::Client] A client object for the specified version.
67
67
  #
68
- def self.executions version: :v1beta, &block
68
+ def self.executions version: :v1, &block
69
69
  require "google/cloud/workflows/executions/#{version.to_s.downcase}"
70
70
 
71
71
  package_name = Google::Cloud::Workflows::Executions
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Workflows
23
- VERSION = "1.1.0"
23
+ VERSION = "2.1.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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::V1beta::Workflows::Client](https://googleapis.dev/ruby/google-cloud-workflows-v1beta/latest/Google/Cloud/Workflows/V1beta/Workflows/Client.html)
52
- # for version V1beta of the API.
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 `:v1beta`.
65
+ # Defaults to `:v1`.
66
66
  # @return [Workflows::Client] A client object for the specified version.
67
67
  #
68
- def self.workflows version: :v1beta, &block
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: 1.1.0
4
+ version: 2.1.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-03-09 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -16,42 +16,94 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '1.6'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '1.6'
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
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 2.a
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 2.a
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: google-cloud-workflows-v1beta
29
49
  requirement: !ruby/object:Gem::Requirement
30
50
  requirements:
31
- - - "~>"
51
+ - - ">="
32
52
  - !ruby/object:Gem::Version
33
53
  version: '0.0'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.a
34
57
  type: :runtime
35
58
  prerelease: false
36
59
  version_requirements: !ruby/object:Gem::Requirement
37
60
  requirements:
38
- - - "~>"
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0.0'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: 2.a
67
+ - !ruby/object:Gem::Dependency
68
+ name: google-cloud-workflows-executions-v1
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
39
72
  - !ruby/object:Gem::Version
40
73
  version: '0.0'
74
+ - - "<"
75
+ - !ruby/object:Gem::Version
76
+ version: 2.a
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0.0'
84
+ - - "<"
85
+ - !ruby/object:Gem::Version
86
+ version: 2.a
41
87
  - !ruby/object:Gem::Dependency
42
88
  name: google-cloud-workflows-executions-v1beta
43
89
  requirement: !ruby/object:Gem::Requirement
44
90
  requirements:
45
- - - "~>"
91
+ - - ">="
46
92
  - !ruby/object:Gem::Version
47
93
  version: '0.0'
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.a
48
97
  type: :runtime
49
98
  prerelease: false
50
99
  version_requirements: !ruby/object:Gem::Requirement
51
100
  requirements:
52
- - - "~>"
101
+ - - ">="
53
102
  - !ruby/object:Gem::Version
54
103
  version: '0.0'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: 2.a
55
107
  - !ruby/object:Gem::Dependency
56
108
  name: google-style
57
109
  requirement: !ruby/object:Gem::Requirement
@@ -202,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
254
  - !ruby/object:Gem::Version
203
255
  version: '0'
204
256
  requirements: []
205
- rubygems_version: 3.2.13
257
+ rubygems_version: 3.2.17
206
258
  signing_key:
207
259
  specification_version: 4
208
260
  summary: API Client library for the Workflows API