google-cloud-functions-v2 0.6.0 → 0.6.1
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/lib/google/cloud/functions/v2/function_service/client.rb +14 -14
- data/lib/google/cloud/functions/v2/function_service/rest/client.rb +11 -11
- data/lib/google/cloud/functions/v2/function_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/functions/v2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c95b991c8c7b8773c5f6c272d7c96a6dd22d4cd308d23aed115588426265519
|
|
4
|
+
data.tar.gz: 576a35428763d99b3c722b2ec227dec04f065710b38623fdf0a3b7b4e5950a50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9495b3745800ddf8628443e575b9e05fbebdf70f04648809f86d0caba12357fc2cfca0d7fa08035411e71f95d12f7454b997998b091537cfc54ad0e5b129c75
|
|
7
|
+
data.tar.gz: f32a261cb7569ce037f91bbf23e0a90b4c00e1983a2b28bc9a72324f568bfc5957350bd80f03c1ee78377b079d0f92028da3568c34e6eb209d1e2ec1cfee5693
|
|
@@ -160,20 +160,6 @@ module Google
|
|
|
160
160
|
config.universe_domain = @config.universe_domain
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
164
|
-
config.credentials = credentials
|
|
165
|
-
config.quota_project = @quota_project_id
|
|
166
|
-
config.endpoint = @config.endpoint
|
|
167
|
-
config.universe_domain = @config.universe_domain
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
171
|
-
config.credentials = credentials
|
|
172
|
-
config.quota_project = @quota_project_id
|
|
173
|
-
config.endpoint = @config.endpoint
|
|
174
|
-
config.universe_domain = @config.universe_domain
|
|
175
|
-
end
|
|
176
|
-
|
|
177
163
|
@function_service_stub = ::Gapic::ServiceStub.new(
|
|
178
164
|
::Google::Cloud::Functions::V2::FunctionService::Stub,
|
|
179
165
|
credentials: credentials,
|
|
@@ -184,6 +170,20 @@ module Google
|
|
|
184
170
|
interceptors: @config.interceptors,
|
|
185
171
|
channel_pool_config: @config.channel_pool
|
|
186
172
|
)
|
|
173
|
+
|
|
174
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
175
|
+
config.credentials = credentials
|
|
176
|
+
config.quota_project = @quota_project_id
|
|
177
|
+
config.endpoint = @function_service_stub.endpoint
|
|
178
|
+
config.universe_domain = @function_service_stub.universe_domain
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
182
|
+
config.credentials = credentials
|
|
183
|
+
config.quota_project = @quota_project_id
|
|
184
|
+
config.endpoint = @function_service_stub.endpoint
|
|
185
|
+
config.universe_domain = @function_service_stub.universe_domain
|
|
186
|
+
end
|
|
187
187
|
end
|
|
188
188
|
|
|
189
189
|
##
|
|
@@ -157,28 +157,28 @@ module Google
|
|
|
157
157
|
config.universe_domain = @config.universe_domain
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
+
@function_service_stub = ::Google::Cloud::Functions::V2::FunctionService::Rest::ServiceStub.new(
|
|
161
|
+
endpoint: @config.endpoint,
|
|
162
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
163
|
+
universe_domain: @config.universe_domain,
|
|
164
|
+
credentials: credentials
|
|
165
|
+
)
|
|
166
|
+
|
|
160
167
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
161
168
|
config.credentials = credentials
|
|
162
169
|
config.quota_project = @quota_project_id
|
|
163
|
-
config.endpoint = @
|
|
164
|
-
config.universe_domain = @
|
|
170
|
+
config.endpoint = @function_service_stub.endpoint
|
|
171
|
+
config.universe_domain = @function_service_stub.universe_domain
|
|
165
172
|
config.bindings_override = @config.bindings_override
|
|
166
173
|
end
|
|
167
174
|
|
|
168
175
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
|
169
176
|
config.credentials = credentials
|
|
170
177
|
config.quota_project = @quota_project_id
|
|
171
|
-
config.endpoint = @
|
|
172
|
-
config.universe_domain = @
|
|
178
|
+
config.endpoint = @function_service_stub.endpoint
|
|
179
|
+
config.universe_domain = @function_service_stub.universe_domain
|
|
173
180
|
config.bindings_override = @config.bindings_override
|
|
174
181
|
end
|
|
175
|
-
|
|
176
|
-
@function_service_stub = ::Google::Cloud::Functions::V2::FunctionService::Rest::ServiceStub.new(
|
|
177
|
-
endpoint: @config.endpoint,
|
|
178
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
179
|
-
universe_domain: @config.universe_domain,
|
|
180
|
-
credentials: credentials
|
|
181
|
-
)
|
|
182
182
|
end
|
|
183
183
|
|
|
184
184
|
##
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-functions-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.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
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|