google-cloud-workflows-v1 0.7.0 → 0.7.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: 9bcaa0c98007ccf77479d7a2a2602436ed5d71a25add701fa10efb8cbc830743
4
- data.tar.gz: f86008f163f748eab906237bc131470e362f645e4b2b167331cb48de157c2cbb
3
+ metadata.gz: 54bf6cfe3d24071a63feeb9e07aba240511427b9254d9e993cb9571a132ec938
4
+ data.tar.gz: 9fedd02ffb5058072d4cc421fa52505dd6ac25e0098578d9da5e211fc4c6ab25
5
5
  SHA512:
6
- metadata.gz: acea4ee3d71d070ce5dfd262c5e6067a33489021642c142182a87a5a11e97cfbf181609faeef645c23a54ee421a0e85b93a53bc15770681b7fe756067da8735d
7
- data.tar.gz: 9542c3fc41933037d6035d8f949ed144cbd56ffd28cf8f2e4169aefd601073bc7866a19ca6a1e693810a43f65ac09585d34d6feab95f73f0454c9c6796766616
6
+ metadata.gz: c94f3602e3aba4da025cfa908796084005ab5d2081d78bb1cc06d58f001ecea9b77e0a12c4abcee8776dd41df9ddacad13dd8009c21d6ed24b15e32a613bf445
7
+ data.tar.gz: 1b42a529f11edf96aeecdc1f38ffb44947c8fbc1f337ffa98c8b2628f5a693c151e5e0903c21d162819e9f2f950a47e8be84964e042a0c7267f0d1304ab02a31
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workflows
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.1"
25
25
  end
26
26
  end
27
27
  end
@@ -156,13 +156,6 @@ module Google
156
156
  config.universe_domain = @config.universe_domain
157
157
  end
158
158
 
159
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
160
- config.credentials = credentials
161
- config.quota_project = @quota_project_id
162
- config.endpoint = @config.endpoint
163
- config.universe_domain = @config.universe_domain
164
- end
165
-
166
159
  @workflows_stub = ::Gapic::ServiceStub.new(
167
160
  ::Google::Cloud::Workflows::V1::Workflows::Stub,
168
161
  credentials: credentials,
@@ -173,6 +166,13 @@ module Google
173
166
  interceptors: @config.interceptors,
174
167
  channel_pool_config: @config.channel_pool
175
168
  )
169
+
170
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
171
+ config.credentials = credentials
172
+ config.quota_project = @quota_project_id
173
+ config.endpoint = @workflows_stub.endpoint
174
+ config.universe_domain = @workflows_stub.universe_domain
175
+ end
176
176
  end
177
177
 
178
178
  ##
@@ -153,20 +153,20 @@ module Google
153
153
  config.universe_domain = @config.universe_domain
154
154
  end
155
155
 
156
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
157
- config.credentials = credentials
158
- config.quota_project = @quota_project_id
159
- config.endpoint = @config.endpoint
160
- config.universe_domain = @config.universe_domain
161
- config.bindings_override = @config.bindings_override
162
- end
163
-
164
156
  @workflows_stub = ::Google::Cloud::Workflows::V1::Workflows::Rest::ServiceStub.new(
165
157
  endpoint: @config.endpoint,
166
158
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
167
159
  universe_domain: @config.universe_domain,
168
160
  credentials: credentials
169
161
  )
162
+
163
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
164
+ config.credentials = credentials
165
+ config.quota_project = @quota_project_id
166
+ config.endpoint = @workflows_stub.endpoint
167
+ config.universe_domain = @workflows_stub.universe_domain
168
+ config.bindings_override = @config.bindings_override
169
+ end
170
170
  end
171
171
 
172
172
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the list_workflows REST call
57
66
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.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: 2024-01-11 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common