google-cloud-workflows 2.0.0 → 2.1.1

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: 75dc46a8bb3b118494a2fccbe4551ef05c9319f2995edae648693e5e625e8da7
4
- data.tar.gz: ca51ada6bc0607324b73d9422b9242637b91e323cc8bb4941b3db2dab8fdd55a
3
+ metadata.gz: 1dfa359fb7950225deac08478f6f9cf175bcb5ffdaf3c6c4b6fc207e469a89f3
4
+ data.tar.gz: df0b13184af8e0ae9eeaffd07cda9aceb6e698101dfa437a451b69032213a4dd
5
5
  SHA512:
6
- metadata.gz: 10a56995e6d3aa8cef61dbf4393b4af7eed3ae6e5b83c72f8d32898f1fe079408bbfef0a711dce35f0b173c294046e40538ea681ec395eeccf4467e3ba15a5f0
7
- data.tar.gz: 4500d5e655a31e4050a668b53a5ac38a009e579b8e82c85740b8c7a87f52afb7c90c6bcec3c11d2031041e4f586223696973a00411d02098ea96b1701bc28438
6
+ metadata.gz: 302afdd802aa719a46b356f85a3cf69db7da3eecabb5b42676d1f619886f4a762f3484fed224b4c9cfca1ecb1aaa4123c24bf1c7361203f7eb68a8fc87901ac6
7
+ data.tar.gz: af30186df5633e2af2bd74330efad4303c7ac49a4ab199a9b603dc16490bf9926a6976f30547f896da3c736ee88d921a702e4fc351c44a3e13e6050bb5e2d015
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Workflows API
2
+ --title="Workflows API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
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"
@@ -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 Developers Console][dev-console].
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 slide-out navigation tray and select **API Manager**. From
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
- You should see a screen like one of the following.
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, and click "Generate
164
- new JSON key":
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  API Client library for the Workflows API
4
4
 
5
- Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..
5
+ Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero.
6
6
 
7
7
  Actual client classes for the various versions of this API are defined in
8
8
  _versioned_ client gems, with names of the form `google-cloud-workflows-v*`.
@@ -19,7 +19,7 @@ client gems:
19
19
  [google-cloud-workflows-v1](https://googleapis.dev/ruby/google-cloud-workflows-v1/latest),
20
20
  [google-cloud-workflows-v1beta](https://googleapis.dev/ruby/google-cloud-workflows-v1beta/latest).
21
21
 
22
- See also the [Product Documentation](https://cloud.google.com/workflows)
22
+ See also the [Product Documentation](https://cloud.google.com/workflows/)
23
23
  for more usage information.
24
24
 
25
25
  ## Quick Start
@@ -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 = "2.0.0"
23
+ VERSION = "2.1.1"
24
24
  end
25
25
  end
26
26
  end
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: 2.0.0
4
+ version: 2.1.1
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-06-22 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -16,56 +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
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-workflows-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: 2.a
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '0.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: 2.a
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: google-cloud-workflows-v1beta
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - "~>"
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0.0'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.a
48
57
  type: :runtime
49
58
  prerelease: false
50
59
  version_requirements: !ruby/object:Gem::Requirement
51
60
  requirements:
52
- - - "~>"
61
+ - - ">="
53
62
  - !ruby/object:Gem::Version
54
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
+ - - ">="
72
+ - !ruby/object:Gem::Version
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
55
87
  - !ruby/object:Gem::Dependency
56
88
  name: google-cloud-workflows-executions-v1beta
57
89
  requirement: !ruby/object:Gem::Requirement
58
90
  requirements:
59
- - - "~>"
91
+ - - ">="
60
92
  - !ruby/object:Gem::Version
61
93
  version: '0.0'
94
+ - - "<"
95
+ - !ruby/object:Gem::Version
96
+ version: 2.a
62
97
  type: :runtime
63
98
  prerelease: false
64
99
  version_requirements: !ruby/object:Gem::Requirement
65
100
  requirements:
66
- - - "~>"
101
+ - - ">="
67
102
  - !ruby/object:Gem::Version
68
103
  version: '0.0'
104
+ - - "<"
105
+ - !ruby/object:Gem::Version
106
+ version: 2.a
69
107
  - !ruby/object:Gem::Dependency
70
108
  name: google-style
71
109
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +220,7 @@ description: Workflows link series of serverless tasks together in an order you
182
220
  Combine the power of Google Cloud's APIs, serverless products like Cloud Functions
183
221
  and Cloud Run, and calls to external APIs to create flexible serverless applications.
184
222
  Workflows requires no infrastructure management and scales seamlessly with demand,
185
- including scaling down to zero..
223
+ including scaling down to zero.
186
224
  email: googleapis-packages@google.com
187
225
  executables: []
188
226
  extensions: []
@@ -216,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
254
  - !ruby/object:Gem::Version
217
255
  version: '0'
218
256
  requirements: []
219
- rubygems_version: 3.2.17
257
+ rubygems_version: 3.3.4
220
258
  signing_key:
221
259
  specification_version: 4
222
260
  summary: API Client library for the Workflows API