google-cloud-migration_center-v1 0.2.0 → 0.2.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: 143ad319cfa357451e6fe3a7b13d743860e1f66fe260f63e722deded0533c1a1
4
- data.tar.gz: 557cfc6a8e1ae8d4e2bf4f6343d04172d8e2ceff3195d48d4a6332b69ac2d5be
3
+ metadata.gz: cee9f98c5aff02a740e01ff259b8489daa23b7faea1b064956be5362eb55aa97
4
+ data.tar.gz: 9678c00c52c01c2bb0f0f9317c69689902a47d636132c0de6f908a945994e671
5
5
  SHA512:
6
- metadata.gz: 5c85b0e69ed6e5f543b75519430b7626b859526d233dad512929281308e48ebef8774305c4de2ce72b2cb261513d400cc9fb0b1a15920e72c58ee259ccb5380a
7
- data.tar.gz: f45acaab37331651619493f6613155b709fc79c0078a13875450cdf21d64772f32d2c2f72d00511b33915ef87a5126ca3a3bbd70d48cbf9b3f13d58eead6484c
6
+ metadata.gz: 8e6251ec04e9312ec544c8e104c6f69bcf30b0cff2cc2740cf1886053eb49f98a849c31a391cd1a1447c8def391956517a06284724a4e9dd01425d732b3db4bd
7
+ data.tar.gz: 84306e84fde40548b8bd3ee024717ae4c881811c5e41dcaaad7c2896240a43e5c332474b6caab1b89711936b03ae3c4ad4c607bf33e2a6a1c1647454619743b8
@@ -158,13 +158,6 @@ module Google
158
158
  config.universe_domain = @config.universe_domain
159
159
  end
160
160
 
161
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
162
- config.credentials = credentials
163
- config.quota_project = @quota_project_id
164
- config.endpoint = @config.endpoint
165
- config.universe_domain = @config.universe_domain
166
- end
167
-
168
161
  @migration_center_stub = ::Gapic::ServiceStub.new(
169
162
  ::Google::Cloud::MigrationCenter::V1::MigrationCenter::Stub,
170
163
  credentials: credentials,
@@ -175,6 +168,13 @@ module Google
175
168
  interceptors: @config.interceptors,
176
169
  channel_pool_config: @config.channel_pool
177
170
  )
171
+
172
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
173
+ config.credentials = credentials
174
+ config.quota_project = @quota_project_id
175
+ config.endpoint = @migration_center_stub.endpoint
176
+ config.universe_domain = @migration_center_stub.universe_domain
177
+ end
178
178
  end
179
179
 
180
180
  ##
@@ -155,20 +155,20 @@ module Google
155
155
  config.universe_domain = @config.universe_domain
156
156
  end
157
157
 
158
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
159
- config.credentials = credentials
160
- config.quota_project = @quota_project_id
161
- config.endpoint = @config.endpoint
162
- config.universe_domain = @config.universe_domain
163
- config.bindings_override = @config.bindings_override
164
- end
165
-
166
158
  @migration_center_stub = ::Google::Cloud::MigrationCenter::V1::MigrationCenter::Rest::ServiceStub.new(
167
159
  endpoint: @config.endpoint,
168
160
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
169
161
  universe_domain: @config.universe_domain,
170
162
  credentials: credentials
171
163
  )
164
+
165
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
166
+ config.credentials = credentials
167
+ config.quota_project = @quota_project_id
168
+ config.endpoint = @migration_center_stub.endpoint
169
+ config.universe_domain = @migration_center_stub.universe_domain
170
+ config.bindings_override = @config.bindings_override
171
+ end
172
172
  end
173
173
 
174
174
  ##
@@ -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_assets REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module MigrationCenter
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.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-migration_center-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.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