google-cloud-vm_migration-v1 0.8.0 → 0.8.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: ed3eefa829e40cbf3dab82ffb584a406092728e42e93d81bfb11160990d28b33
4
- data.tar.gz: c6216218748502ee0d73d1085256fa082a04f6d1f2b5a6357232d126d83442c5
3
+ metadata.gz: c97a5cdc8ebc530ac0cb6b4c93d8c98fe23a87e0cd87c3024f5a90a3156b8e0e
4
+ data.tar.gz: be35a5808fff14f182a8a1f275ee6eaf92526c700465d8a3fc77b87759ada390
5
5
  SHA512:
6
- metadata.gz: bcccc93572472031f047f78ca594ac76c731f7ea098c1d758f2e9c8fe0c8314f63db3776256cc596a9d2cb982b37a31efc0d73380eda1111c35677e73388153f
7
- data.tar.gz: b2f47bd5b31a244c08f31c35af2d152682d66459fb59c17fb9a727ca739fce122720ca94183486c3d282aef1a42292969a2032ff92a2bff66f7fc8b2c04e5781
6
+ metadata.gz: 67d3bb4fcb364c324336a2bb923a221c1e143005d3c80a70844aaa40e2954f0173805314d8e31e8b153b06d666695a23b9c437fb04e6511d6d88112575c7ce96
7
+ data.tar.gz: 1d3900fa19b9a2d9f81533a916130752b878e26f77d897d03885ac804ebe59caad364579ebc5f17ffbb6cffd8b4c2f075c0588e360fefe455f8eaed50411df1c
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VMMigration
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  end
@@ -163,20 +163,6 @@ module Google
163
163
  config.universe_domain = @config.universe_domain
164
164
  end
165
165
 
166
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
167
- config.credentials = credentials
168
- config.quota_project = @quota_project_id
169
- config.endpoint = @config.endpoint
170
- config.universe_domain = @config.universe_domain
171
- end
172
-
173
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
174
- config.credentials = credentials
175
- config.quota_project = @quota_project_id
176
- config.endpoint = @config.endpoint
177
- config.universe_domain = @config.universe_domain
178
- end
179
-
180
166
  @vm_migration_stub = ::Gapic::ServiceStub.new(
181
167
  ::Google::Cloud::VMMigration::V1::VmMigration::Stub,
182
168
  credentials: credentials,
@@ -187,6 +173,20 @@ module Google
187
173
  interceptors: @config.interceptors,
188
174
  channel_pool_config: @config.channel_pool
189
175
  )
176
+
177
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
178
+ config.credentials = credentials
179
+ config.quota_project = @quota_project_id
180
+ config.endpoint = @vm_migration_stub.endpoint
181
+ config.universe_domain = @vm_migration_stub.universe_domain
182
+ end
183
+
184
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
185
+ config.credentials = credentials
186
+ config.quota_project = @quota_project_id
187
+ config.endpoint = @vm_migration_stub.endpoint
188
+ config.universe_domain = @vm_migration_stub.universe_domain
189
+ end
190
190
  end
191
191
 
192
192
  ##
@@ -160,27 +160,27 @@ module Google
160
160
  config.universe_domain = @config.universe_domain
161
161
  end
162
162
 
163
+ @vm_migration_stub = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::ServiceStub.new(
164
+ endpoint: @config.endpoint,
165
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
166
+ universe_domain: @config.universe_domain,
167
+ credentials: credentials
168
+ )
169
+
163
170
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
164
171
  config.credentials = credentials
165
172
  config.quota_project = @quota_project_id
166
- config.endpoint = @config.endpoint
167
- config.universe_domain = @config.universe_domain
173
+ config.endpoint = @vm_migration_stub.endpoint
174
+ config.universe_domain = @vm_migration_stub.universe_domain
168
175
  config.bindings_override = @config.bindings_override
169
176
  end
170
177
 
171
178
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
172
179
  config.credentials = credentials
173
180
  config.quota_project = @quota_project_id
174
- config.endpoint = @config.endpoint
175
- config.universe_domain = @config.universe_domain
181
+ config.endpoint = @vm_migration_stub.endpoint
182
+ config.universe_domain = @vm_migration_stub.universe_domain
176
183
  end
177
-
178
- @vm_migration_stub = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::ServiceStub.new(
179
- endpoint: @config.endpoint,
180
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
181
- universe_domain: @config.universe_domain,
182
- credentials: credentials
183
- )
184
184
  end
185
185
 
186
186
  ##
@@ -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_sources REST call
57
66
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vm_migration-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.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