google-cloud-dataform-v1beta1 0.6.0 → 0.6.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: 82fff7d75592915618d7f6f9f1c47493c4ceb15674c3d9bc3532b19a46b9a49d
4
- data.tar.gz: 7b0f6bb658db05a66a3c0174556fa19c13bd3244ca1d0772d52ac1f5e996a553
3
+ metadata.gz: f33530c03e98fa4cda81d78edc1ed6cb3320431c4ee51005c226c89d1d51d444
4
+ data.tar.gz: f6e43eeba166b3713e2c5905c4cef0b5f1ccc2c11fb341249c14ee07302a1f41
5
5
  SHA512:
6
- metadata.gz: 192207be0a2c50d9cb237d57fc3f28ff1b8e0968562e1c9e4c14193367aa1c0ad5707ea65c1941a3bc29dd8d94d8be86871d66915d6c024fb54b0d7d103b9651
7
- data.tar.gz: 483f87eb9debcabd7b1b6b2a145506c4778756ee2ce1fbd8ce485eb9954fc48e2f3ca1992a53224de2d08ad291d5cba58854e60317af1b7a9caac965fe01e4d7
6
+ metadata.gz: 88e7841ebe509b3dfee7004c2442d4de83180d2287f0485a10f9b00735ef411768e50bca3a508dcbc1efded07bf65ecff93610bea584e728e68fa408240f4c3e
7
+ data.tar.gz: 2904c97d882a1825c72eccda3a8496169266d388a9d909647ce66eb9cd14fae8befa5ffb7068ab40c43f751eef8febd4d0069e2cd2c83965dd2bafa177d8535a
@@ -149,20 +149,6 @@ 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
- @location_client = Google::Cloud::Location::Locations::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
- @iam_policy_client = Google::Iam::V1::IAMPolicy::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
152
  @dataform_stub = ::Gapic::ServiceStub.new(
167
153
  ::Google::Cloud::Dataform::V1beta1::Dataform::Stub,
168
154
  credentials: credentials,
@@ -173,6 +159,20 @@ module Google
173
159
  interceptors: @config.interceptors,
174
160
  channel_pool_config: @config.channel_pool
175
161
  )
162
+
163
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
164
+ config.credentials = credentials
165
+ config.quota_project = @quota_project_id
166
+ config.endpoint = @dataform_stub.endpoint
167
+ config.universe_domain = @dataform_stub.universe_domain
168
+ end
169
+
170
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
171
+ config.credentials = credentials
172
+ config.quota_project = @quota_project_id
173
+ config.endpoint = @dataform_stub.endpoint
174
+ config.universe_domain = @dataform_stub.universe_domain
175
+ end
176
176
  end
177
177
 
178
178
  ##
@@ -146,28 +146,28 @@ module Google
146
146
  @quota_project_id = @config.quota_project
147
147
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
148
148
 
149
+ @dataform_stub = ::Google::Cloud::Dataform::V1beta1::Dataform::Rest::ServiceStub.new(
150
+ endpoint: @config.endpoint,
151
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
152
+ universe_domain: @config.universe_domain,
153
+ credentials: credentials
154
+ )
155
+
149
156
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
150
157
  config.credentials = credentials
151
158
  config.quota_project = @quota_project_id
152
- config.endpoint = @config.endpoint
153
- config.universe_domain = @config.universe_domain
159
+ config.endpoint = @dataform_stub.endpoint
160
+ config.universe_domain = @dataform_stub.universe_domain
154
161
  config.bindings_override = @config.bindings_override
155
162
  end
156
163
 
157
164
  @iam_policy_client = Google::Iam::V1::IAMPolicy::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 = @dataform_stub.endpoint
168
+ config.universe_domain = @dataform_stub.universe_domain
162
169
  config.bindings_override = @config.bindings_override
163
170
  end
164
-
165
- @dataform_stub = ::Google::Cloud::Dataform::V1beta1::Dataform::Rest::ServiceStub.new(
166
- endpoint: @config.endpoint,
167
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
168
- universe_domain: @config.universe_domain,
169
- credentials: credentials
170
- )
171
171
  end
172
172
 
173
173
  ##
@@ -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_repositories REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataform
23
23
  module V1beta1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.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-dataform-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.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