google-cloud-metastore-v1beta 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: 5c7dfe508b4d04ee970dfb77de2988ed614f7bc3de6a254ea350af68e26bb90c
4
- data.tar.gz: 6f825d95486cef4ab41e433a6da855174c79de1325d531cf9766e14b157eb89c
3
+ metadata.gz: 40fef6eb192c488feaf6815ddb857e24eb29e9ce17e3b081924cd83be8be284e
4
+ data.tar.gz: 2dba5368442ae61fd958a84bf0a99d2c3e8ab01c5cbc3ccf5ee0dd0617b72f77
5
5
  SHA512:
6
- metadata.gz: '01138297ac7fcecbc01629a301be8fc26326c2b6d80dc550fe91dad6e73e3e0a2911bbe364d7286d80487e4a2e3ef01abe47a2a0a5a3021b1a8930609d76656b'
7
- data.tar.gz: 912dca96cb2b3245525b270ca83b498934f0dd09ef493f99bdafa049ade8af2993b7a555000682cbd827744a7c7bafd0e009bb659e847f678ac83193ccd8e1b4
6
+ metadata.gz: 1cd97fc1f85b78c5f9a68b000548ade5150010be1ce06324b6dfafcdbbdd3f504f8eea0aed40d86b9e306da258f1928e22aaa66a0ee936c1bffd304339a326d1
7
+ data.tar.gz: d1f9f3d8e24830060d8e14879f2e75fcaf0c0d347ee1bb278b105c20864271e27eba196d563f2abbc126efc4eb5ad46dbadf1ff7b4d2eaea900dc2f5c3b9177a
@@ -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::V1beta::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::V1beta::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::V1beta::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::V1beta::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::V1beta::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::V1beta::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 V1beta
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-v1beta
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