google-cloud-datastream-v1 0.9.0 → 0.9.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: 0db8ffb45715d431f468dc95ecf5fb556229c6ccd7f050259d2950c59fcee749
4
- data.tar.gz: 44d29349974b2e3d5527688462cf6827cda1e5e2afc3f3a398d8b048c5db6e8e
3
+ metadata.gz: c4030dac01fba6c467c4ba1a3aaea2beb4ef8ee4e06bd1e8f74a2a0ad7bc1795
4
+ data.tar.gz: cb243cba2a32bb29519bddf3a43351af7a6a276583736b24de55df84948fab3a
5
5
  SHA512:
6
- metadata.gz: 42ae4961fcefb573738376943b186e2c3dea484f5bb31ce879dfeacd8c27ad2257acaf1fd103c12d30c459ccc82289884e078c64278553b62533719895052376
7
- data.tar.gz: 6caa4e41e2361aa1f0e3eb87a7ea6bc2e623523e3274904e4beb5846881dca69b5a298a97d8b4ce22f2c3e8d8728e640dad1eed9b0bfd7d6fd0460e6c69c2de9
6
+ metadata.gz: 117ff58196463820f31ed86f93e09fe3eaeaac1f68dc308372bd366808dc5efde3ea94f4863080745cb6c4393ab37021e01a43935100e46df1ba3d1e69d6ce95
7
+ data.tar.gz: d70c2d8105828ed04ca20c07cf2bf39879e8bcba9091020603a9209bc1537e5337b00140b500b0bc670a6258cabdd906257ae254bba7be9eaddf27299eadf53a
@@ -180,20 +180,6 @@ module Google
180
180
  config.universe_domain = @config.universe_domain
181
181
  end
182
182
 
183
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
184
- config.credentials = credentials
185
- config.quota_project = @quota_project_id
186
- config.endpoint = @config.endpoint
187
- config.universe_domain = @config.universe_domain
188
- end
189
-
190
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
191
- config.credentials = credentials
192
- config.quota_project = @quota_project_id
193
- config.endpoint = @config.endpoint
194
- config.universe_domain = @config.universe_domain
195
- end
196
-
197
183
  @datastream_stub = ::Gapic::ServiceStub.new(
198
184
  ::Google::Cloud::Datastream::V1::Datastream::Stub,
199
185
  credentials: credentials,
@@ -204,6 +190,20 @@ module Google
204
190
  interceptors: @config.interceptors,
205
191
  channel_pool_config: @config.channel_pool
206
192
  )
193
+
194
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
195
+ config.credentials = credentials
196
+ config.quota_project = @quota_project_id
197
+ config.endpoint = @datastream_stub.endpoint
198
+ config.universe_domain = @datastream_stub.universe_domain
199
+ end
200
+
201
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
202
+ config.credentials = credentials
203
+ config.quota_project = @quota_project_id
204
+ config.endpoint = @datastream_stub.endpoint
205
+ config.universe_domain = @datastream_stub.universe_domain
206
+ end
207
207
  end
208
208
 
209
209
  ##
@@ -177,27 +177,27 @@ module Google
177
177
  config.universe_domain = @config.universe_domain
178
178
  end
179
179
 
180
+ @datastream_stub = ::Google::Cloud::Datastream::V1::Datastream::Rest::ServiceStub.new(
181
+ endpoint: @config.endpoint,
182
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
183
+ universe_domain: @config.universe_domain,
184
+ credentials: credentials
185
+ )
186
+
180
187
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
181
188
  config.credentials = credentials
182
189
  config.quota_project = @quota_project_id
183
- config.endpoint = @config.endpoint
184
- config.universe_domain = @config.universe_domain
190
+ config.endpoint = @datastream_stub.endpoint
191
+ config.universe_domain = @datastream_stub.universe_domain
185
192
  config.bindings_override = @config.bindings_override
186
193
  end
187
194
 
188
195
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
189
196
  config.credentials = credentials
190
197
  config.quota_project = @quota_project_id
191
- config.endpoint = @config.endpoint
192
- config.universe_domain = @config.universe_domain
198
+ config.endpoint = @datastream_stub.endpoint
199
+ config.universe_domain = @datastream_stub.universe_domain
193
200
  end
194
-
195
- @datastream_stub = ::Google::Cloud::Datastream::V1::Datastream::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 list_connection_profiles REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Datastream
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.9.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-datastream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.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