google-cloud-metastore-v1 0.12.0 → 0.12.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: 9e4105c006b40ed222cdda09368d79e1f358d169d239be7d4958285a0ce4965d
4
- data.tar.gz: 7968cffc74ad4122610bfce845c0cfbcb3052f0a85c6c51fb0728a6a97ec472d
3
+ metadata.gz: 129151ff2977c4720f2b81d2314303cd47c1675dab2003358cedc7bf1e339af9
4
+ data.tar.gz: 9b566c429ae624f88b45c81ef501344eea43990eb681c8836bc8678f0d7ee073
5
5
  SHA512:
6
- metadata.gz: 484acd3be11608eecd25733bf7a5664703e318307a5d43f24df44d3e9bd79930e2767e74b6dda61279cf11a532599b9dbbc090198fdc9c4d00dc4eedbc69b40a
7
- data.tar.gz: a121caab8d71193edbef4d8b23abf3adae3b0065617637c6ca001fb6e8d5de88adf9b737d3ad1433cd3342c02db2922184c664fc7299865c1a170cf0a713369a
6
+ metadata.gz: 6d28af01af21bb6071e83a8b5fd36bc449ef2d796627ec28586923f96fb033d41a0f370575bd89b7c9e472e8efdd9c70ece1d438375ea15918ae3cdd2e1ad421
7
+ data.tar.gz: 23a78368c4c573cdcbdec6338ead3c328ea16eb7138ac35c884201e9a7b06b7b563f3ad1a3474d198bdce61ec4adef73e2866f1dbefc0162c11beaa3c967f39d
@@ -194,20 +194,6 @@ module Google
194
194
  config.universe_domain = @config.universe_domain
195
195
  end
196
196
 
197
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
198
- config.credentials = credentials
199
- config.quota_project = @quota_project_id
200
- config.endpoint = @config.endpoint
201
- config.universe_domain = @config.universe_domain
202
- end
203
-
204
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
205
- config.credentials = credentials
206
- config.quota_project = @quota_project_id
207
- config.endpoint = @config.endpoint
208
- config.universe_domain = @config.universe_domain
209
- end
210
-
211
197
  @dataproc_metastore_stub = ::Gapic::ServiceStub.new(
212
198
  ::Google::Cloud::Metastore::V1::DataprocMetastore::Stub,
213
199
  credentials: credentials,
@@ -218,6 +204,20 @@ module Google
218
204
  interceptors: @config.interceptors,
219
205
  channel_pool_config: @config.channel_pool
220
206
  )
207
+
208
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
209
+ config.credentials = credentials
210
+ config.quota_project = @quota_project_id
211
+ config.endpoint = @dataproc_metastore_stub.endpoint
212
+ config.universe_domain = @dataproc_metastore_stub.universe_domain
213
+ end
214
+
215
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
216
+ config.credentials = credentials
217
+ config.quota_project = @quota_project_id
218
+ config.endpoint = @dataproc_metastore_stub.endpoint
219
+ config.universe_domain = @dataproc_metastore_stub.universe_domain
220
+ end
221
221
  end
222
222
 
223
223
  ##
@@ -191,28 +191,28 @@ module Google
191
191
  config.universe_domain = @config.universe_domain
192
192
  end
193
193
 
194
+ @dataproc_metastore_stub = ::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::ServiceStub.new(
195
+ endpoint: @config.endpoint,
196
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
197
+ universe_domain: @config.universe_domain,
198
+ credentials: credentials
199
+ )
200
+
194
201
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
195
202
  config.credentials = credentials
196
203
  config.quota_project = @quota_project_id
197
- config.endpoint = @config.endpoint
198
- config.universe_domain = @config.universe_domain
204
+ config.endpoint = @dataproc_metastore_stub.endpoint
205
+ config.universe_domain = @dataproc_metastore_stub.universe_domain
199
206
  config.bindings_override = @config.bindings_override
200
207
  end
201
208
 
202
209
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
203
210
  config.credentials = credentials
204
211
  config.quota_project = @quota_project_id
205
- config.endpoint = @config.endpoint
206
- config.universe_domain = @config.universe_domain
212
+ config.endpoint = @dataproc_metastore_stub.endpoint
213
+ config.universe_domain = @dataproc_metastore_stub.universe_domain
207
214
  config.bindings_override = @config.bindings_override
208
215
  end
209
-
210
- @dataproc_metastore_stub = ::Google::Cloud::Metastore::V1::DataprocMetastore::Rest::ServiceStub.new(
211
- endpoint: @config.endpoint,
212
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
213
- universe_domain: @config.universe_domain,
214
- credentials: credentials
215
- )
216
216
  end
217
217
 
218
218
  ##
@@ -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_services REST call
57
66
  #
@@ -167,20 +167,6 @@ module Google
167
167
  config.universe_domain = @config.universe_domain
168
168
  end
169
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 = @config.endpoint
174
- config.universe_domain = @config.universe_domain
175
- end
176
-
177
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
178
- config.credentials = credentials
179
- config.quota_project = @quota_project_id
180
- config.endpoint = @config.endpoint
181
- config.universe_domain = @config.universe_domain
182
- end
183
-
184
170
  @dataproc_metastore_federation_stub = ::Gapic::ServiceStub.new(
185
171
  ::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Stub,
186
172
  credentials: credentials,
@@ -191,6 +177,20 @@ module Google
191
177
  interceptors: @config.interceptors,
192
178
  channel_pool_config: @config.channel_pool
193
179
  )
180
+
181
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
182
+ config.credentials = credentials
183
+ config.quota_project = @quota_project_id
184
+ config.endpoint = @dataproc_metastore_federation_stub.endpoint
185
+ config.universe_domain = @dataproc_metastore_federation_stub.universe_domain
186
+ end
187
+
188
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
189
+ config.credentials = credentials
190
+ config.quota_project = @quota_project_id
191
+ config.endpoint = @dataproc_metastore_federation_stub.endpoint
192
+ config.universe_domain = @dataproc_metastore_federation_stub.universe_domain
193
+ end
194
194
  end
195
195
 
196
196
  ##
@@ -164,28 +164,28 @@ module Google
164
164
  config.universe_domain = @config.universe_domain
165
165
  end
166
166
 
167
+ @dataproc_metastore_federation_stub = ::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Rest::ServiceStub.new(
168
+ endpoint: @config.endpoint,
169
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
170
+ universe_domain: @config.universe_domain,
171
+ credentials: credentials
172
+ )
173
+
167
174
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
168
175
  config.credentials = credentials
169
176
  config.quota_project = @quota_project_id
170
- config.endpoint = @config.endpoint
171
- config.universe_domain = @config.universe_domain
177
+ config.endpoint = @dataproc_metastore_federation_stub.endpoint
178
+ config.universe_domain = @dataproc_metastore_federation_stub.universe_domain
172
179
  config.bindings_override = @config.bindings_override
173
180
  end
174
181
 
175
182
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
176
183
  config.credentials = credentials
177
184
  config.quota_project = @quota_project_id
178
- config.endpoint = @config.endpoint
179
- config.universe_domain = @config.universe_domain
185
+ config.endpoint = @dataproc_metastore_federation_stub.endpoint
186
+ config.universe_domain = @dataproc_metastore_federation_stub.universe_domain
180
187
  config.bindings_override = @config.bindings_override
181
188
  end
182
-
183
- @dataproc_metastore_federation_stub = ::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Rest::ServiceStub.new(
184
- endpoint: @config.endpoint,
185
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
186
- universe_domain: @config.universe_domain,
187
- credentials: credentials
188
- )
189
189
  end
190
190
 
191
191
  ##
@@ -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_federations REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Metastore
23
23
  module V1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.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-metastore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.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