google-cloud-functions-v1 0.13.0 → 0.13.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/v1/cloud_functions_service/client.rb +14 -14
- data/lib/google/cloud/functions/v1/cloud_functions_service/rest/client.rb +11 -11
- data/lib/google/cloud/functions/v1/cloud_functions_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/functions/v1/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: 1ce227c34557943631cf07edc23e0997154bdb01c8aa1cc41e35c9d43c3d2cf7
|
|
4
|
+
data.tar.gz: 03a5bd6427ee2a7a77959fe64aa23ff3b93d2b9a56b4a601b5f6a2428de44049
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bce7fecce71ddceeed5282f8f8b1947ecc73bc43194098ee9d7c092a4180bfae81073292c0bb1d3f0fb6da7fc6a8a30535eaf9683d7fffe948cfb8de9a70942f
|
|
7
|
+
data.tar.gz: 7fd7e61df73771f1bb987c4d405d58a2eb2f7eeb88c2ecb46cee00771a192797073212c1420754fc008539c67a880199164f0b21dabe02e393fdafebe0c26eb9
|
|
@@ -179,20 +179,6 @@ module Google
|
|
|
179
179
|
config.universe_domain = @config.universe_domain
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
183
|
-
config.credentials = credentials
|
|
184
|
-
config.quota_project = @quota_project_id
|
|
185
|
-
config.endpoint = @config.endpoint
|
|
186
|
-
config.universe_domain = @config.universe_domain
|
|
187
|
-
end
|
|
188
|
-
|
|
189
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
190
|
-
config.credentials = credentials
|
|
191
|
-
config.quota_project = @quota_project_id
|
|
192
|
-
config.endpoint = @config.endpoint
|
|
193
|
-
config.universe_domain = @config.universe_domain
|
|
194
|
-
end
|
|
195
|
-
|
|
196
182
|
@cloud_functions_service_stub = ::Gapic::ServiceStub.new(
|
|
197
183
|
::Google::Cloud::Functions::V1::CloudFunctionsService::Stub,
|
|
198
184
|
credentials: credentials,
|
|
@@ -203,6 +189,20 @@ module Google
|
|
|
203
189
|
interceptors: @config.interceptors,
|
|
204
190
|
channel_pool_config: @config.channel_pool
|
|
205
191
|
)
|
|
192
|
+
|
|
193
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
194
|
+
config.credentials = credentials
|
|
195
|
+
config.quota_project = @quota_project_id
|
|
196
|
+
config.endpoint = @cloud_functions_service_stub.endpoint
|
|
197
|
+
config.universe_domain = @cloud_functions_service_stub.universe_domain
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
201
|
+
config.credentials = credentials
|
|
202
|
+
config.quota_project = @quota_project_id
|
|
203
|
+
config.endpoint = @cloud_functions_service_stub.endpoint
|
|
204
|
+
config.universe_domain = @cloud_functions_service_stub.universe_domain
|
|
205
|
+
end
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
##
|
|
@@ -176,27 +176,27 @@ module Google
|
|
|
176
176
|
config.universe_domain = @config.universe_domain
|
|
177
177
|
end
|
|
178
178
|
|
|
179
|
+
@cloud_functions_service_stub = ::Google::Cloud::Functions::V1::CloudFunctionsService::Rest::ServiceStub.new(
|
|
180
|
+
endpoint: @config.endpoint,
|
|
181
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
182
|
+
universe_domain: @config.universe_domain,
|
|
183
|
+
credentials: credentials
|
|
184
|
+
)
|
|
185
|
+
|
|
179
186
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
180
187
|
config.credentials = credentials
|
|
181
188
|
config.quota_project = @quota_project_id
|
|
182
|
-
config.endpoint = @
|
|
183
|
-
config.universe_domain = @
|
|
189
|
+
config.endpoint = @cloud_functions_service_stub.endpoint
|
|
190
|
+
config.universe_domain = @cloud_functions_service_stub.universe_domain
|
|
184
191
|
config.bindings_override = @config.bindings_override
|
|
185
192
|
end
|
|
186
193
|
|
|
187
194
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
|
188
195
|
config.credentials = credentials
|
|
189
196
|
config.quota_project = @quota_project_id
|
|
190
|
-
config.endpoint = @
|
|
191
|
-
config.universe_domain = @
|
|
197
|
+
config.endpoint = @cloud_functions_service_stub.endpoint
|
|
198
|
+
config.universe_domain = @cloud_functions_service_stub.universe_domain
|
|
192
199
|
end
|
|
193
|
-
|
|
194
|
-
@cloud_functions_service_stub = ::Google::Cloud::Functions::V1::CloudFunctionsService::Rest::ServiceStub.new(
|
|
195
|
-
endpoint: @config.endpoint,
|
|
196
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
197
|
-
universe_domain: @config.universe_domain,
|
|
198
|
-
credentials: credentials
|
|
199
|
-
)
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
##
|
|
@@ -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_functions REST call
|
|
57
66
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-functions-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.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
|