google-cloud-gke_hub-v1beta1 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 +4 -4
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/client.rb +14 -14
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/client.rb +11 -11
- data/lib/google/cloud/gke_hub/v1beta1/gke_hub_membership_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/gke_hub/v1beta1/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: 7fe508e47784409a682f739ca523a757b78c74de60f7664d3c4ceaa335840e4d
|
4
|
+
data.tar.gz: fb11772819b44641ecadac79cdbfe0f55d70a49d850f1fa49f3731a04603e675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44466ba256379135a3c0dae217867a121d89b0001206382e32adcdc49e326366f198dec1cb09cb7a96b640aa80c1c2488945e5cf678d0724d4ee7a49bdd51710
|
7
|
+
data.tar.gz: a7ac1ae9869feb101f0401f5ab21aa2d49288f9d14165cc2d38022ce8092273e61afa399751bae23152d70cf5046dd0a9ac8167313d1d3b99a8922c13dbc09fd
|
@@ -169,20 +169,6 @@ module Google
|
|
169
169
|
config.universe_domain = @config.universe_domain
|
170
170
|
end
|
171
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 = @config.endpoint
|
176
|
-
config.universe_domain = @config.universe_domain
|
177
|
-
end
|
178
|
-
|
179
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
180
|
-
config.credentials = credentials
|
181
|
-
config.quota_project = @quota_project_id
|
182
|
-
config.endpoint = @config.endpoint
|
183
|
-
config.universe_domain = @config.universe_domain
|
184
|
-
end
|
185
|
-
|
186
172
|
@gke_hub_membership_service_stub = ::Gapic::ServiceStub.new(
|
187
173
|
::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Stub,
|
188
174
|
credentials: credentials,
|
@@ -193,6 +179,20 @@ module Google
|
|
193
179
|
interceptors: @config.interceptors,
|
194
180
|
channel_pool_config: @config.channel_pool
|
195
181
|
)
|
182
|
+
|
183
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
184
|
+
config.credentials = credentials
|
185
|
+
config.quota_project = @quota_project_id
|
186
|
+
config.endpoint = @gke_hub_membership_service_stub.endpoint
|
187
|
+
config.universe_domain = @gke_hub_membership_service_stub.universe_domain
|
188
|
+
end
|
189
|
+
|
190
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
191
|
+
config.credentials = credentials
|
192
|
+
config.quota_project = @quota_project_id
|
193
|
+
config.endpoint = @gke_hub_membership_service_stub.endpoint
|
194
|
+
config.universe_domain = @gke_hub_membership_service_stub.universe_domain
|
195
|
+
end
|
196
196
|
end
|
197
197
|
|
198
198
|
##
|
@@ -166,28 +166,28 @@ module Google
|
|
166
166
|
config.universe_domain = @config.universe_domain
|
167
167
|
end
|
168
168
|
|
169
|
+
@gke_hub_membership_service_stub = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Rest::ServiceStub.new(
|
170
|
+
endpoint: @config.endpoint,
|
171
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
172
|
+
universe_domain: @config.universe_domain,
|
173
|
+
credentials: credentials
|
174
|
+
)
|
175
|
+
|
169
176
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
170
177
|
config.credentials = credentials
|
171
178
|
config.quota_project = @quota_project_id
|
172
|
-
config.endpoint = @
|
173
|
-
config.universe_domain = @
|
179
|
+
config.endpoint = @gke_hub_membership_service_stub.endpoint
|
180
|
+
config.universe_domain = @gke_hub_membership_service_stub.universe_domain
|
174
181
|
config.bindings_override = @config.bindings_override
|
175
182
|
end
|
176
183
|
|
177
184
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
178
185
|
config.credentials = credentials
|
179
186
|
config.quota_project = @quota_project_id
|
180
|
-
config.endpoint = @
|
181
|
-
config.universe_domain = @
|
187
|
+
config.endpoint = @gke_hub_membership_service_stub.endpoint
|
188
|
+
config.universe_domain = @gke_hub_membership_service_stub.universe_domain
|
182
189
|
config.bindings_override = @config.bindings_override
|
183
190
|
end
|
184
|
-
|
185
|
-
@gke_hub_membership_service_stub = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Rest::ServiceStub.new(
|
186
|
-
endpoint: @config.endpoint,
|
187
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
188
|
-
universe_domain: @config.universe_domain,
|
189
|
-
credentials: credentials
|
190
|
-
)
|
191
191
|
end
|
192
192
|
|
193
193
|
##
|
@@ -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_memberships REST call
|
57
66
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-gke_hub-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
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
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|