google-cloud-functions-v1 0.13.0 → 0.13.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: aafbf0da70385e7e918d3e419cab8b0d5afd18d08312ab6052cc3d586ff8ee8b
4
- data.tar.gz: b7ac8c2b9205c7c9d9d9a5c476691e63d47db181dff4bf9d0274a2296fb30e32
3
+ metadata.gz: 1ce227c34557943631cf07edc23e0997154bdb01c8aa1cc41e35c9d43c3d2cf7
4
+ data.tar.gz: 03a5bd6427ee2a7a77959fe64aa23ff3b93d2b9a56b4a601b5f6a2428de44049
5
5
  SHA512:
6
- metadata.gz: 947c35e3f87158a0e80231f741c52b7f9a32be98b7c7458b85c6b9b1958362de3035fe054e056e45f81c34732c85ab5d2c1bb6f89cfb144222622ee47f342cde
7
- data.tar.gz: 88e0b86990dad6ae38df05536acbf71e35eeaf793e6d31d3bf737533e90a474847ba54cb16c21c7999d1ac21d9c89f0d72222c20efc20fc29554101a346b97f8
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 = @config.endpoint
183
- config.universe_domain = @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 = @config.endpoint
191
- config.universe_domain = @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
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Functions
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.1"
25
25
  end
26
26
  end
27
27
  end
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.0
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 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