google-cloud-data_catalog-v1beta1 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2af6fcf5e374e46b9a95a089b4707a9b56a72bb31951972864d17feee37ae6f7
4
- data.tar.gz: 1d55622e1eb39823db7dd4ccb61ef8c59bd300dfb9259f624e46d17f6f9547d3
3
+ metadata.gz: a77a65326557bdabd1204d30b3096e0d0496f4d353980ef86e4704e05e4ae72f
4
+ data.tar.gz: 66f2dda85e0b284e2f281af8f5e87c13252615a83ae7ab21472f65f231fe4500
5
5
  SHA512:
6
- metadata.gz: 50b7420cede76e42e1ba2f97023bee1e9fff357532024c77e8a1eb7e5f63f0bfc639abccdb1b9749a84621e5833ca991c0b2b20f6b1b46fae13c61f69373c8d1
7
- data.tar.gz: aefa0ac8d9b734ec453fa4fa14540f3e1394d89c96c9c6a96cb9f48d770aca5fc34cb6ff9955f72402cae9a1cdee250bc2f89788a35fbfb0020e562cce0d1549
6
+ metadata.gz: 363aca42345cdf135abca87a227b4b474237f6204ad29730aedaf77f89242ba12c14e39a798dfb307eead21bd00d8068110383da53bf6e4b8afa9d82883dc168
7
+ data.tar.gz: 738ca20ae3b0fd8248617c16a920ee98b331929faf41e8901013c4b8038ab4e62ffaac5256516b52036f5e802ce3c8cc89f5a64efc7017f8051d111c26d60afb
@@ -153,13 +153,6 @@ module Google
153
153
  @quota_project_id = @config.quota_project
154
154
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
155
155
 
156
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
157
- config.credentials = credentials
158
- config.quota_project = @quota_project_id
159
- config.endpoint = @config.endpoint
160
- config.universe_domain = @config.universe_domain
161
- end
162
-
163
156
  @data_catalog_stub = ::Gapic::ServiceStub.new(
164
157
  ::Google::Cloud::DataCatalog::V1beta1::DataCatalog::Stub,
165
158
  credentials: credentials,
@@ -170,6 +163,13 @@ module Google
170
163
  interceptors: @config.interceptors,
171
164
  channel_pool_config: @config.channel_pool
172
165
  )
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 = @data_catalog_stub.endpoint
171
+ config.universe_domain = @data_catalog_stub.universe_domain
172
+ end
173
173
  end
174
174
 
175
175
  ##
@@ -150,19 +150,19 @@ module Google
150
150
  @quota_project_id = @config.quota_project
151
151
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
152
152
 
153
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
154
- config.credentials = credentials
155
- config.quota_project = @quota_project_id
156
- config.endpoint = @config.endpoint
157
- config.universe_domain = @config.universe_domain
158
- end
159
-
160
153
  @data_catalog_stub = ::Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::ServiceStub.new(
161
154
  endpoint: @config.endpoint,
162
155
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
163
156
  universe_domain: @config.universe_domain,
164
157
  credentials: credentials
165
158
  )
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 = @data_catalog_stub.endpoint
164
+ config.universe_domain = @data_catalog_stub.universe_domain
165
+ end
166
166
  end
167
167
 
168
168
  ##
@@ -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
  #
@@ -150,13 +150,6 @@ module Google
150
150
  @quota_project_id = @config.quota_project
151
151
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
152
152
 
153
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
154
- config.credentials = credentials
155
- config.quota_project = @quota_project_id
156
- config.endpoint = @config.endpoint
157
- config.universe_domain = @config.universe_domain
158
- end
159
-
160
153
  @policy_tag_manager_stub = ::Gapic::ServiceStub.new(
161
154
  ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Stub,
162
155
  credentials: credentials,
@@ -167,6 +160,13 @@ module Google
167
160
  interceptors: @config.interceptors,
168
161
  channel_pool_config: @config.channel_pool
169
162
  )
163
+
164
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
165
+ config.credentials = credentials
166
+ config.quota_project = @quota_project_id
167
+ config.endpoint = @policy_tag_manager_stub.endpoint
168
+ config.universe_domain = @policy_tag_manager_stub.universe_domain
169
+ end
170
170
  end
171
171
 
172
172
  ##
@@ -147,19 +147,19 @@ module Google
147
147
  @quota_project_id = @config.quota_project
148
148
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
149
149
 
150
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
151
- config.credentials = credentials
152
- config.quota_project = @quota_project_id
153
- config.endpoint = @config.endpoint
154
- config.universe_domain = @config.universe_domain
155
- end
156
-
157
150
  @policy_tag_manager_stub = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::ServiceStub.new(
158
151
  endpoint: @config.endpoint,
159
152
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
160
153
  universe_domain: @config.universe_domain,
161
154
  credentials: credentials
162
155
  )
156
+
157
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
158
+ config.credentials = credentials
159
+ config.quota_project = @quota_project_id
160
+ config.endpoint = @policy_tag_manager_stub.endpoint
161
+ config.universe_domain = @policy_tag_manager_stub.universe_domain
162
+ end
163
163
  end
164
164
 
165
165
  ##
@@ -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
  #
@@ -150,13 +150,6 @@ module Google
150
150
  @quota_project_id = @config.quota_project
151
151
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
152
152
 
153
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
154
- config.credentials = credentials
155
- config.quota_project = @quota_project_id
156
- config.endpoint = @config.endpoint
157
- config.universe_domain = @config.universe_domain
158
- end
159
-
160
153
  @policy_tag_manager_serialization_stub = ::Gapic::ServiceStub.new(
161
154
  ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Stub,
162
155
  credentials: credentials,
@@ -167,6 +160,13 @@ module Google
167
160
  interceptors: @config.interceptors,
168
161
  channel_pool_config: @config.channel_pool
169
162
  )
163
+
164
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
165
+ config.credentials = credentials
166
+ config.quota_project = @quota_project_id
167
+ config.endpoint = @policy_tag_manager_serialization_stub.endpoint
168
+ config.universe_domain = @policy_tag_manager_serialization_stub.universe_domain
169
+ end
170
170
  end
171
171
 
172
172
  ##
@@ -147,19 +147,19 @@ module Google
147
147
  @quota_project_id = @config.quota_project
148
148
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
149
149
 
150
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
151
- config.credentials = credentials
152
- config.quota_project = @quota_project_id
153
- config.endpoint = @config.endpoint
154
- config.universe_domain = @config.universe_domain
155
- end
156
-
157
150
  @policy_tag_manager_serialization_stub = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Rest::ServiceStub.new(
158
151
  endpoint: @config.endpoint,
159
152
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
160
153
  universe_domain: @config.universe_domain,
161
154
  credentials: credentials
162
155
  )
156
+
157
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
158
+ config.credentials = credentials
159
+ config.quota_project = @quota_project_id
160
+ config.endpoint = @policy_tag_manager_serialization_stub.endpoint
161
+ config.universe_domain = @policy_tag_manager_serialization_stub.universe_domain
162
+ end
163
163
  end
164
164
 
165
165
  ##
@@ -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 import_taxonomies REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1beta1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.3.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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.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