google-cloud-service_management-v1 0.10.0 → 0.10.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: 53c6b8ecb17b02d85a08bfdce7c7b97a6d7befe9373275793b6186460e91c845
4
- data.tar.gz: 283f53162c0de54ac05d5cb1cdb042e81e1776d9ffdcd9ace7162285195e8a30
3
+ metadata.gz: 1c45adbcdb72f13f4006bdf6a2b78ed9c16d671c6f11ae59666b402de1e8dd9f
4
+ data.tar.gz: f206467c2c6da58747e6c57897136326696a11960d31daba2a1e2510976009b9
5
5
  SHA512:
6
- metadata.gz: bf386de05a5297580908f0f093290d639a7d5e2df0d083a1c86c570a7764dd3679f263955b34a49b8fc1a357c623aa9a97097287b8da33669a45616aea0847c3
7
- data.tar.gz: ad93aa2d3cf7bea4e9923441048214682646ef436feefb05b15ffb33cda1b32d060474735a582a9a2229db1637acdd5937a7374ada30ee09bfb34768b7be5ddf
6
+ metadata.gz: e028048f7deedac566d04854e71031718e05b3d9a65b0996eda9c19567d167612a7bb503c30ee084d94c6acfd6f52e9a8686b0f8b5b4c6f5a40e57f0aa30553f
7
+ data.tar.gz: e626c5b6188aa4ea9abdd97b40a1cd00baef5169addaac13750584305274b833d437ac655c52eb0d8fc148623813d8db23f3ae404246a2c2c81bc56e8eace25e
@@ -155,13 +155,6 @@ module Google
155
155
  config.universe_domain = @config.universe_domain
156
156
  end
157
157
 
158
- @iam_policy_client = Google::Iam::V1::IAMPolicy::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
- end
164
-
165
158
  @service_manager_stub = ::Gapic::ServiceStub.new(
166
159
  ::Google::Cloud::ServiceManagement::V1::ServiceManager::Stub,
167
160
  credentials: credentials,
@@ -172,6 +165,13 @@ module Google
172
165
  interceptors: @config.interceptors,
173
166
  channel_pool_config: @config.channel_pool
174
167
  )
168
+
169
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
170
+ config.credentials = credentials
171
+ config.quota_project = @quota_project_id
172
+ config.endpoint = @service_manager_stub.endpoint
173
+ config.universe_domain = @service_manager_stub.universe_domain
174
+ end
175
175
  end
176
176
 
177
177
  ##
@@ -152,20 +152,20 @@ module Google
152
152
  config.universe_domain = @config.universe_domain
153
153
  end
154
154
 
155
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
156
- config.credentials = credentials
157
- config.quota_project = @quota_project_id
158
- config.endpoint = @config.endpoint
159
- config.universe_domain = @config.universe_domain
160
- config.bindings_override = @config.bindings_override
161
- end
162
-
163
155
  @service_manager_stub = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Rest::ServiceStub.new(
164
156
  endpoint: @config.endpoint,
165
157
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
166
158
  universe_domain: @config.universe_domain,
167
159
  credentials: credentials
168
160
  )
161
+
162
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
163
+ config.credentials = credentials
164
+ config.quota_project = @quota_project_id
165
+ config.endpoint = @service_manager_stub.endpoint
166
+ config.universe_domain = @service_manager_stub.universe_domain
167
+ config.bindings_override = @config.bindings_override
168
+ end
169
169
  end
170
170
 
171
171
  ##
@@ -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_services REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceManagement
23
23
  module V1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.10.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-service_management-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.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