google-cloud-dataplex-v1 0.18.0 → 0.18.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: 468ab22b28a7398caa85a638be3d9f153ae79b82e131636ce3d7d32686d1fa7c
4
- data.tar.gz: 7734d38122617430a3fe8e60864ca42b23d29414d7dca1fe2e187da8434d427a
3
+ metadata.gz: c343d9dee42d8e0314b39c6aebf38e4692f9d9498909aa0d99b15e29223c9d0b
4
+ data.tar.gz: '08d91dde5d42c495fd2860257a05eaa16188c356776980623f5173316f805f8f'
5
5
  SHA512:
6
- metadata.gz: 7273db1539298bac732bcbd94cc90d6470cc03dd438477e23a487570a55922b519ccdf3b500cc570b48221c73d590ec242086fa3bc0b92c82ddedad20d92aa0b
7
- data.tar.gz: cff4831b3e4ac7193768794d22a0b698277782c11373c4a3f0de90ace9b61e3ecd1d052bfe1a0a1b701ff72248d2557860e8342f9679937c876c5876c2caf044
6
+ metadata.gz: b938ac0f2a3e85dbdf09d4a1a2cf747d706b58514e0965b1e3f37d2ccc95b646a73b580e91ff48f761abd47d504b82c0973244a9a41d6e51fa2bbc95183bfac2
7
+ data.tar.gz: c90f9a2ab4391bfffb3003406cb80e1216faeeb22a5c3e92ed50151b497752a5f460f59bccdd23b3b2647874a7a8d3a81966560f64aa505aeef38ed87004d2ef
@@ -176,20 +176,6 @@ module Google
176
176
  @quota_project_id = @config.quota_project
177
177
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
178
178
 
179
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
180
- config.credentials = credentials
181
- config.quota_project = @quota_project_id
182
- config.endpoint = @config.endpoint
183
- config.universe_domain = @config.universe_domain
184
- end
185
-
186
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
187
- config.credentials = credentials
188
- config.quota_project = @quota_project_id
189
- config.endpoint = @config.endpoint
190
- config.universe_domain = @config.universe_domain
191
- end
192
-
193
179
  @content_service_stub = ::Gapic::ServiceStub.new(
194
180
  ::Google::Cloud::Dataplex::V1::ContentService::Stub,
195
181
  credentials: credentials,
@@ -200,6 +186,20 @@ module Google
200
186
  interceptors: @config.interceptors,
201
187
  channel_pool_config: @config.channel_pool
202
188
  )
189
+
190
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
191
+ config.credentials = credentials
192
+ config.quota_project = @quota_project_id
193
+ config.endpoint = @content_service_stub.endpoint
194
+ config.universe_domain = @content_service_stub.universe_domain
195
+ end
196
+
197
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
198
+ config.credentials = credentials
199
+ config.quota_project = @quota_project_id
200
+ config.endpoint = @content_service_stub.endpoint
201
+ config.universe_domain = @content_service_stub.universe_domain
202
+ end
203
203
  end
204
204
 
205
205
  ##
@@ -173,28 +173,28 @@ module Google
173
173
  @quota_project_id = @config.quota_project
174
174
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
175
175
 
176
+ @content_service_stub = ::Google::Cloud::Dataplex::V1::ContentService::Rest::ServiceStub.new(
177
+ endpoint: @config.endpoint,
178
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
179
+ universe_domain: @config.universe_domain,
180
+ credentials: credentials
181
+ )
182
+
176
183
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
177
184
  config.credentials = credentials
178
185
  config.quota_project = @quota_project_id
179
- config.endpoint = @config.endpoint
180
- config.universe_domain = @config.universe_domain
186
+ config.endpoint = @content_service_stub.endpoint
187
+ config.universe_domain = @content_service_stub.universe_domain
181
188
  config.bindings_override = @config.bindings_override
182
189
  end
183
190
 
184
191
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
185
192
  config.credentials = credentials
186
193
  config.quota_project = @quota_project_id
187
- config.endpoint = @config.endpoint
188
- config.universe_domain = @config.universe_domain
194
+ config.endpoint = @content_service_stub.endpoint
195
+ config.universe_domain = @content_service_stub.universe_domain
189
196
  config.bindings_override = @config.bindings_override
190
197
  end
191
-
192
- @content_service_stub = ::Google::Cloud::Dataplex::V1::ContentService::Rest::ServiceStub.new(
193
- endpoint: @config.endpoint,
194
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
195
- universe_domain: @config.universe_domain,
196
- credentials: credentials
197
- )
198
198
  end
199
199
 
200
200
  ##
@@ -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 create_content REST call
57
66
  #
@@ -157,20 +157,6 @@ module Google
157
157
  config.universe_domain = @config.universe_domain
158
158
  end
159
159
 
160
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
161
- config.credentials = credentials
162
- config.quota_project = @quota_project_id
163
- config.endpoint = @config.endpoint
164
- config.universe_domain = @config.universe_domain
165
- end
166
-
167
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
168
- config.credentials = credentials
169
- config.quota_project = @quota_project_id
170
- config.endpoint = @config.endpoint
171
- config.universe_domain = @config.universe_domain
172
- end
173
-
174
160
  @data_scan_service_stub = ::Gapic::ServiceStub.new(
175
161
  ::Google::Cloud::Dataplex::V1::DataScanService::Stub,
176
162
  credentials: credentials,
@@ -181,6 +167,20 @@ module Google
181
167
  interceptors: @config.interceptors,
182
168
  channel_pool_config: @config.channel_pool
183
169
  )
170
+
171
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
172
+ config.credentials = credentials
173
+ config.quota_project = @quota_project_id
174
+ config.endpoint = @data_scan_service_stub.endpoint
175
+ config.universe_domain = @data_scan_service_stub.universe_domain
176
+ end
177
+
178
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
179
+ config.credentials = credentials
180
+ config.quota_project = @quota_project_id
181
+ config.endpoint = @data_scan_service_stub.endpoint
182
+ config.universe_domain = @data_scan_service_stub.universe_domain
183
+ end
184
184
  end
185
185
 
186
186
  ##
@@ -154,28 +154,28 @@ module Google
154
154
  config.universe_domain = @config.universe_domain
155
155
  end
156
156
 
157
+ @data_scan_service_stub = ::Google::Cloud::Dataplex::V1::DataScanService::Rest::ServiceStub.new(
158
+ endpoint: @config.endpoint,
159
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
160
+ universe_domain: @config.universe_domain,
161
+ credentials: credentials
162
+ )
163
+
157
164
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
158
165
  config.credentials = credentials
159
166
  config.quota_project = @quota_project_id
160
- config.endpoint = @config.endpoint
161
- config.universe_domain = @config.universe_domain
167
+ config.endpoint = @data_scan_service_stub.endpoint
168
+ config.universe_domain = @data_scan_service_stub.universe_domain
162
169
  config.bindings_override = @config.bindings_override
163
170
  end
164
171
 
165
172
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
166
173
  config.credentials = credentials
167
174
  config.quota_project = @quota_project_id
168
- config.endpoint = @config.endpoint
169
- config.universe_domain = @config.universe_domain
175
+ config.endpoint = @data_scan_service_stub.endpoint
176
+ config.universe_domain = @data_scan_service_stub.universe_domain
170
177
  config.bindings_override = @config.bindings_override
171
178
  end
172
-
173
- @data_scan_service_stub = ::Google::Cloud::Dataplex::V1::DataScanService::Rest::ServiceStub.new(
174
- endpoint: @config.endpoint,
175
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
176
- universe_domain: @config.universe_domain,
177
- credentials: credentials
178
- )
179
179
  end
180
180
 
181
181
  ##
@@ -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 create_data_scan REST call
57
66
  #
@@ -156,20 +156,6 @@ module Google
156
156
  config.universe_domain = @config.universe_domain
157
157
  end
158
158
 
159
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
160
- config.credentials = credentials
161
- config.quota_project = @quota_project_id
162
- config.endpoint = @config.endpoint
163
- config.universe_domain = @config.universe_domain
164
- end
165
-
166
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
167
- config.credentials = credentials
168
- config.quota_project = @quota_project_id
169
- config.endpoint = @config.endpoint
170
- config.universe_domain = @config.universe_domain
171
- end
172
-
173
159
  @data_taxonomy_service_stub = ::Gapic::ServiceStub.new(
174
160
  ::Google::Cloud::Dataplex::V1::DataTaxonomyService::Stub,
175
161
  credentials: credentials,
@@ -180,6 +166,20 @@ module Google
180
166
  interceptors: @config.interceptors,
181
167
  channel_pool_config: @config.channel_pool
182
168
  )
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 = @data_taxonomy_service_stub.endpoint
174
+ config.universe_domain = @data_taxonomy_service_stub.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 = @data_taxonomy_service_stub.endpoint
181
+ config.universe_domain = @data_taxonomy_service_stub.universe_domain
182
+ end
183
183
  end
184
184
 
185
185
  ##
@@ -153,28 +153,28 @@ module Google
153
153
  config.universe_domain = @config.universe_domain
154
154
  end
155
155
 
156
+ @data_taxonomy_service_stub = ::Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::ServiceStub.new(
157
+ endpoint: @config.endpoint,
158
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
159
+ universe_domain: @config.universe_domain,
160
+ credentials: credentials
161
+ )
162
+
156
163
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
157
164
  config.credentials = credentials
158
165
  config.quota_project = @quota_project_id
159
- config.endpoint = @config.endpoint
160
- config.universe_domain = @config.universe_domain
166
+ config.endpoint = @data_taxonomy_service_stub.endpoint
167
+ config.universe_domain = @data_taxonomy_service_stub.universe_domain
161
168
  config.bindings_override = @config.bindings_override
162
169
  end
163
170
 
164
171
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
165
172
  config.credentials = credentials
166
173
  config.quota_project = @quota_project_id
167
- config.endpoint = @config.endpoint
168
- config.universe_domain = @config.universe_domain
174
+ config.endpoint = @data_taxonomy_service_stub.endpoint
175
+ config.universe_domain = @data_taxonomy_service_stub.universe_domain
169
176
  config.bindings_override = @config.bindings_override
170
177
  end
171
-
172
- @data_taxonomy_service_stub = ::Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::ServiceStub.new(
173
- endpoint: @config.endpoint,
174
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
175
- universe_domain: @config.universe_domain,
176
- credentials: credentials
177
- )
178
178
  end
179
179
 
180
180
  ##
@@ -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 create_data_taxonomy REST call
57
66
  #
@@ -266,20 +266,6 @@ module Google
266
266
  config.universe_domain = @config.universe_domain
267
267
  end
268
268
 
269
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
270
- config.credentials = credentials
271
- config.quota_project = @quota_project_id
272
- config.endpoint = @config.endpoint
273
- config.universe_domain = @config.universe_domain
274
- end
275
-
276
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
277
- config.credentials = credentials
278
- config.quota_project = @quota_project_id
279
- config.endpoint = @config.endpoint
280
- config.universe_domain = @config.universe_domain
281
- end
282
-
283
269
  @dataplex_service_stub = ::Gapic::ServiceStub.new(
284
270
  ::Google::Cloud::Dataplex::V1::DataplexService::Stub,
285
271
  credentials: credentials,
@@ -290,6 +276,20 @@ module Google
290
276
  interceptors: @config.interceptors,
291
277
  channel_pool_config: @config.channel_pool
292
278
  )
279
+
280
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
281
+ config.credentials = credentials
282
+ config.quota_project = @quota_project_id
283
+ config.endpoint = @dataplex_service_stub.endpoint
284
+ config.universe_domain = @dataplex_service_stub.universe_domain
285
+ end
286
+
287
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
288
+ config.credentials = credentials
289
+ config.quota_project = @quota_project_id
290
+ config.endpoint = @dataplex_service_stub.endpoint
291
+ config.universe_domain = @dataplex_service_stub.universe_domain
292
+ end
293
293
  end
294
294
 
295
295
  ##
@@ -263,28 +263,28 @@ module Google
263
263
  config.universe_domain = @config.universe_domain
264
264
  end
265
265
 
266
+ @dataplex_service_stub = ::Google::Cloud::Dataplex::V1::DataplexService::Rest::ServiceStub.new(
267
+ endpoint: @config.endpoint,
268
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
269
+ universe_domain: @config.universe_domain,
270
+ credentials: credentials
271
+ )
272
+
266
273
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
267
274
  config.credentials = credentials
268
275
  config.quota_project = @quota_project_id
269
- config.endpoint = @config.endpoint
270
- config.universe_domain = @config.universe_domain
276
+ config.endpoint = @dataplex_service_stub.endpoint
277
+ config.universe_domain = @dataplex_service_stub.universe_domain
271
278
  config.bindings_override = @config.bindings_override
272
279
  end
273
280
 
274
281
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
275
282
  config.credentials = credentials
276
283
  config.quota_project = @quota_project_id
277
- config.endpoint = @config.endpoint
278
- config.universe_domain = @config.universe_domain
284
+ config.endpoint = @dataplex_service_stub.endpoint
285
+ config.universe_domain = @dataplex_service_stub.universe_domain
279
286
  config.bindings_override = @config.bindings_override
280
287
  end
281
-
282
- @dataplex_service_stub = ::Google::Cloud::Dataplex::V1::DataplexService::Rest::ServiceStub.new(
283
- endpoint: @config.endpoint,
284
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
285
- universe_domain: @config.universe_domain,
286
- credentials: credentials
287
- )
288
288
  end
289
289
 
290
290
  ##
@@ -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 create_lake REST call
57
66
  #
@@ -179,20 +179,6 @@ module Google
179
179
  @quota_project_id = @config.quota_project
180
180
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
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
  @metadata_service_stub = ::Gapic::ServiceStub.new(
197
183
  ::Google::Cloud::Dataplex::V1::MetadataService::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 = @metadata_service_stub.endpoint
197
+ config.universe_domain = @metadata_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 = @metadata_service_stub.endpoint
204
+ config.universe_domain = @metadata_service_stub.universe_domain
205
+ end
206
206
  end
207
207
 
208
208
  ##
@@ -176,28 +176,28 @@ module Google
176
176
  @quota_project_id = @config.quota_project
177
177
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
178
178
 
179
+ @metadata_service_stub = ::Google::Cloud::Dataplex::V1::MetadataService::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 = @metadata_service_stub.endpoint
190
+ config.universe_domain = @metadata_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 = @metadata_service_stub.endpoint
198
+ config.universe_domain = @metadata_service_stub.universe_domain
192
199
  config.bindings_override = @config.bindings_override
193
200
  end
194
-
195
- @metadata_service_stub = ::Google::Cloud::Dataplex::V1::MetadataService::Rest::ServiceStub.new(
196
- endpoint: @config.endpoint,
197
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
198
- universe_domain: @config.universe_domain,
199
- credentials: credentials
200
- )
201
201
  end
202
202
 
203
203
  ##
@@ -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 create_entity REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataplex
23
23
  module V1
24
- VERSION = "0.18.0"
24
+ VERSION = "0.18.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-dataplex-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.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