google-cloud-data_catalog-v1 0.21.0 → 0.21.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: 7ed6e86c73a297f916731890d1ad2d7fddd8c69d25efc2d356869cc2ceb06853
4
- data.tar.gz: a61dc1fb593ccc921f92444fbe1797dd36076c4a21dcb0211a25f5cdfeb36666
3
+ metadata.gz: 246b31bb5b7772687c3289db31dee8f5bd7220c7a47b7ab43084421d5330de01
4
+ data.tar.gz: 748fb15fbbae0d141036dfdca2a64a22b3f16807fc7152fc7d9bae4980198292
5
5
  SHA512:
6
- metadata.gz: ab2564cfd3920599e193caa314594b714452a9cd17db1c24be3db3eed2292e4011ef64d509c0e37d732f6baf1c4ea41314453bab448c135256a86e1630ed73cc
7
- data.tar.gz: 0b5230b42ba2ee51a76077a51cf5fd04c71a0b02f7a429a2dd0c43673d2ee9afb0526ad60e185cf4b0207a14224c8776dd5f0be3640a4f7e4a0e600659474eb6
6
+ metadata.gz: d0776c34816fe1a72632194ced8ca0c5d32cb9b282c01f4ddb4ef71aff1d6b3101c32607ea437ed9dab6a5b1e5a4c8c13252d24c3946feec164c423996c6d14d
7
+ data.tar.gz: 3176f892e07eed5f1639e143ee09e92e8d0d2154333acc9f3535f1301e4a359251d2ae412f1a2a993d9983f97a50bd9fc0f7083c70760ffeff057ceafbfc30e5
@@ -160,13 +160,6 @@ module Google
160
160
  config.universe_domain = @config.universe_domain
161
161
  end
162
162
 
163
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
164
- config.credentials = credentials
165
- config.quota_project = @quota_project_id
166
- config.endpoint = @config.endpoint
167
- config.universe_domain = @config.universe_domain
168
- end
169
-
170
163
  @data_catalog_stub = ::Gapic::ServiceStub.new(
171
164
  ::Google::Cloud::DataCatalog::V1::DataCatalog::Stub,
172
165
  credentials: credentials,
@@ -177,6 +170,13 @@ module Google
177
170
  interceptors: @config.interceptors,
178
171
  channel_pool_config: @config.channel_pool
179
172
  )
173
+
174
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
175
+ config.credentials = credentials
176
+ config.quota_project = @quota_project_id
177
+ config.endpoint = @data_catalog_stub.endpoint
178
+ config.universe_domain = @data_catalog_stub.universe_domain
179
+ end
180
180
  end
181
181
 
182
182
  ##
@@ -157,19 +157,19 @@ module Google
157
157
  config.universe_domain = @config.universe_domain
158
158
  end
159
159
 
160
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::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
160
  @data_catalog_stub = ::Google::Cloud::DataCatalog::V1::DataCatalog::Rest::ServiceStub.new(
168
161
  endpoint: @config.endpoint,
169
162
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
170
163
  universe_domain: @config.universe_domain,
171
164
  credentials: credentials
172
165
  )
166
+
167
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
168
+ config.credentials = credentials
169
+ config.quota_project = @quota_project_id
170
+ config.endpoint = @data_catalog_stub.endpoint
171
+ config.universe_domain = @data_catalog_stub.universe_domain
172
+ end
173
173
  end
174
174
 
175
175
  ##
@@ -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 search_catalog REST call
57
66
  #
@@ -154,13 +154,6 @@ module Google
154
154
  @quota_project_id = @config.quota_project
155
155
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
156
156
 
157
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
158
- config.credentials = credentials
159
- config.quota_project = @quota_project_id
160
- config.endpoint = @config.endpoint
161
- config.universe_domain = @config.universe_domain
162
- end
163
-
164
157
  @policy_tag_manager_stub = ::Gapic::ServiceStub.new(
165
158
  ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Stub,
166
159
  credentials: credentials,
@@ -171,6 +164,13 @@ module Google
171
164
  interceptors: @config.interceptors,
172
165
  channel_pool_config: @config.channel_pool
173
166
  )
167
+
168
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
169
+ config.credentials = credentials
170
+ config.quota_project = @quota_project_id
171
+ config.endpoint = @policy_tag_manager_stub.endpoint
172
+ config.universe_domain = @policy_tag_manager_stub.universe_domain
173
+ end
174
174
  end
175
175
 
176
176
  ##
@@ -151,19 +151,19 @@ module Google
151
151
  @quota_project_id = @config.quota_project
152
152
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
153
153
 
154
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
155
- config.credentials = credentials
156
- config.quota_project = @quota_project_id
157
- config.endpoint = @config.endpoint
158
- config.universe_domain = @config.universe_domain
159
- end
160
-
161
154
  @policy_tag_manager_stub = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::ServiceStub.new(
162
155
  endpoint: @config.endpoint,
163
156
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
164
157
  universe_domain: @config.universe_domain,
165
158
  credentials: credentials
166
159
  )
160
+
161
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
162
+ config.credentials = credentials
163
+ config.quota_project = @quota_project_id
164
+ config.endpoint = @policy_tag_manager_stub.endpoint
165
+ config.universe_domain = @policy_tag_manager_stub.universe_domain
166
+ end
167
167
  end
168
168
 
169
169
  ##
@@ -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_taxonomy REST call
57
66
  #
@@ -152,13 +152,6 @@ module Google
152
152
  @quota_project_id = @config.quota_project
153
153
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
154
154
 
155
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
156
- config.credentials = credentials
157
- config.quota_project = @quota_project_id
158
- config.endpoint = @config.endpoint
159
- config.universe_domain = @config.universe_domain
160
- end
161
-
162
155
  @policy_tag_manager_serialization_stub = ::Gapic::ServiceStub.new(
163
156
  ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Stub,
164
157
  credentials: credentials,
@@ -169,6 +162,13 @@ module Google
169
162
  interceptors: @config.interceptors,
170
163
  channel_pool_config: @config.channel_pool
171
164
  )
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 = @policy_tag_manager_serialization_stub.endpoint
170
+ config.universe_domain = @policy_tag_manager_serialization_stub.universe_domain
171
+ end
172
172
  end
173
173
 
174
174
  ##
@@ -149,19 +149,19 @@ module Google
149
149
  @quota_project_id = @config.quota_project
150
150
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
151
151
 
152
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
153
- config.credentials = credentials
154
- config.quota_project = @quota_project_id
155
- config.endpoint = @config.endpoint
156
- config.universe_domain = @config.universe_domain
157
- end
158
-
159
152
  @policy_tag_manager_serialization_stub = ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Rest::ServiceStub.new(
160
153
  endpoint: @config.endpoint,
161
154
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
162
155
  universe_domain: @config.universe_domain,
163
156
  credentials: credentials
164
157
  )
158
+
159
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
160
+ config.credentials = credentials
161
+ config.quota_project = @quota_project_id
162
+ config.endpoint = @policy_tag_manager_serialization_stub.endpoint
163
+ config.universe_domain = @policy_tag_manager_serialization_stub.universe_domain
164
+ end
165
165
  end
166
166
 
167
167
  ##
@@ -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 replace_taxonomy REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- VERSION = "0.21.0"
24
+ VERSION = "0.21.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-data_catalog-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.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