google-cloud-rapid_migration_assessment-v1 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/client.rb +7 -7
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client.rb +8 -8
- data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/service_stub.rb +9 -0
- data/lib/google/cloud/rapid_migration_assessment/v1/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc412658ea6d8a9a96c33386ce37d4d93fdd36348d7371b0ab9a0a2ea0c1adc9
|
4
|
+
data.tar.gz: f3ea2bd950034e681427f20b14a534628296c3aa2f1bc471069336028ab89132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
##
|
data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/client.rb
CHANGED
@@ -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
|
##
|
data/lib/google/cloud/rapid_migration_assessment/v1/rapid_migration_assessment/rest/service_stub.rb
CHANGED
@@ -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
|
#
|
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.
|
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
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|