google-cloud-rapid_migration_assessment-v1 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: 7c5b0d01183bacb050c34342d6771851090882c2bbe957a6bf0222839132cbf3
4
- data.tar.gz: bdcd904e5fef281a8d9ce87ec1b3bc71aa680ec5906e2523776d07732d5c1565
3
+ metadata.gz: dc412658ea6d8a9a96c33386ce37d4d93fdd36348d7371b0ab9a0a2ea0c1adc9
4
+ data.tar.gz: f3ea2bd950034e681427f20b14a534628296c3aa2f1bc471069336028ab89132
5
5
  SHA512:
6
- metadata.gz: f6f64d868ea0f55f4a985c403ad3261e2f133d6c316c02754015eb47b0d04a761cacf89935630e0334b8272f74458ef0d8aa903a2d4237a22a981c65fa687955
7
- data.tar.gz: c014f48692e45bf877626f0b20e572c6c253841f95f6b564afca455e4afb0153608c67b8319e5a3befb194cdbb123043a2b0a9c304e2ef8a79b95c0f9e177e74
6
+ metadata.gz: fd42ed643af5f96ee6109d1e6735e9cbbbfe1370d714b2c07192f4bd531eb1738b6d8672a8a292c6d60b60a2f357e4fea49985b3d6a8d16eae01dfdc63ee80c8
7
+ data.tar.gz: f184a306308a45e4dcd966585c459ecaecdefa6c81b72ad83428254c43b2b0b10ab13d9d72089cd9afe0c999b71b0e0029f1978b497341b0a8316189afa4871a
@@ -183,13 +183,6 @@ module Google
183
183
  config.universe_domain = @config.universe_domain
184
184
  end
185
185
 
186
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
187
- config.credentials = credentials
188
- config.quota_project = @quota_project_id
189
- config.endpoint = @config.endpoint
190
- config.universe_domain = @config.universe_domain
191
- end
192
-
193
186
  @rapid_migration_assessment_stub = ::Gapic::ServiceStub.new(
194
187
  ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Stub,
195
188
  credentials: credentials,
@@ -200,6 +193,13 @@ module Google
200
193
  interceptors: @config.interceptors,
201
194
  channel_pool_config: @config.channel_pool
202
195
  )
196
+
197
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
198
+ config.credentials = credentials
199
+ config.quota_project = @quota_project_id
200
+ config.endpoint = @rapid_migration_assessment_stub.endpoint
201
+ config.universe_domain = @rapid_migration_assessment_stub.universe_domain
202
+ end
203
203
  end
204
204
 
205
205
  ##
@@ -180,20 +180,20 @@ module Google
180
180
  config.universe_domain = @config.universe_domain
181
181
  end
182
182
 
183
- @location_client = Google::Cloud::Location::Locations::Rest::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
- config.bindings_override = @config.bindings_override
189
- end
190
-
191
183
  @rapid_migration_assessment_stub = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Rest::ServiceStub.new(
192
184
  endpoint: @config.endpoint,
193
185
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
194
186
  universe_domain: @config.universe_domain,
195
187
  credentials: credentials
196
188
  )
189
+
190
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
191
+ config.credentials = credentials
192
+ config.quota_project = @quota_project_id
193
+ config.endpoint = @rapid_migration_assessment_stub.endpoint
194
+ config.universe_domain = @rapid_migration_assessment_stub.universe_domain
195
+ config.bindings_override = @config.bindings_override
196
+ end
197
197
  end
198
198
 
199
199
  ##
@@ -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_collector REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module RapidMigrationAssessment
23
23
  module V1
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-rapid_migration_assessment-v1
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