google-cloud-batch-v1 0.15.0 → 0.15.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 +4 -4
- data/lib/google/cloud/batch/v1/batch_service/client.rb +7 -7
- data/lib/google/cloud/batch/v1/batch_service/rest/client.rb +8 -8
- data/lib/google/cloud/batch/v1/batch_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/batch/v1/version.rb +1 -1
- data/lib/google/iam/v1/iam_policy/client.rb +7 -7
- data/lib/google/iam/v1/iam_policy/rest/client.rb +8 -8
- data/lib/google/iam/v1/iam_policy/rest/service_stub.rb +9 -0
- 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: fca7fa454ac7be834394cc6b886f9134adfff36fb019e6fb2e1784f011234560
|
|
4
|
+
data.tar.gz: 158a9d8b4190f9b766a38bb5119574f63fc6bbd90e787ba875803981868f4cc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bf006f2e3f0761bdd805acd682b3e5f01fa149c461f31c63d915527434a2b9f73de7bb473494685a053a61c91c1d19f9eaa245182fd0902fc9e716c4a75845d
|
|
7
|
+
data.tar.gz: ceba5aee8086d380abfa7f31cabaff4cf22884a9845028df439bfa802a8e5d17a236fddf71340662a591a34d8860e06295cc97d0bc64f317a2f81f27a17e8732
|
|
@@ -180,13 +180,6 @@ module Google
|
|
|
180
180
|
config.universe_domain = @config.universe_domain
|
|
181
181
|
end
|
|
182
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 = @config.endpoint
|
|
187
|
-
config.universe_domain = @config.universe_domain
|
|
188
|
-
end
|
|
189
|
-
|
|
190
183
|
@batch_service_stub = ::Gapic::ServiceStub.new(
|
|
191
184
|
::Google::Cloud::Batch::V1::BatchService::Stub,
|
|
192
185
|
credentials: credentials,
|
|
@@ -197,6 +190,13 @@ module Google
|
|
|
197
190
|
interceptors: @config.interceptors,
|
|
198
191
|
channel_pool_config: @config.channel_pool
|
|
199
192
|
)
|
|
193
|
+
|
|
194
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
195
|
+
config.credentials = credentials
|
|
196
|
+
config.quota_project = @quota_project_id
|
|
197
|
+
config.endpoint = @batch_service_stub.endpoint
|
|
198
|
+
config.universe_domain = @batch_service_stub.universe_domain
|
|
199
|
+
end
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
##
|
|
@@ -177,20 +177,20 @@ module Google
|
|
|
177
177
|
config.universe_domain = @config.universe_domain
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
181
|
-
config.credentials = credentials
|
|
182
|
-
config.quota_project = @quota_project_id
|
|
183
|
-
config.endpoint = @config.endpoint
|
|
184
|
-
config.universe_domain = @config.universe_domain
|
|
185
|
-
config.bindings_override = @config.bindings_override
|
|
186
|
-
end
|
|
187
|
-
|
|
188
180
|
@batch_service_stub = ::Google::Cloud::Batch::V1::BatchService::Rest::ServiceStub.new(
|
|
189
181
|
endpoint: @config.endpoint,
|
|
190
182
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
191
183
|
universe_domain: @config.universe_domain,
|
|
192
184
|
credentials: credentials
|
|
193
185
|
)
|
|
186
|
+
|
|
187
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
188
|
+
config.credentials = credentials
|
|
189
|
+
config.quota_project = @quota_project_id
|
|
190
|
+
config.endpoint = @batch_service_stub.endpoint
|
|
191
|
+
config.universe_domain = @batch_service_stub.universe_domain
|
|
192
|
+
config.bindings_override = @config.bindings_override
|
|
193
|
+
end
|
|
194
194
|
end
|
|
195
195
|
|
|
196
196
|
##
|
|
@@ -169,13 +169,6 @@ module Google
|
|
|
169
169
|
@quota_project_id = @config.quota_project
|
|
170
170
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
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
172
|
@iam_policy_stub = ::Gapic::ServiceStub.new(
|
|
180
173
|
::Google::Iam::V1::IAMPolicy::Stub,
|
|
181
174
|
credentials: credentials,
|
|
@@ -186,6 +179,13 @@ module Google
|
|
|
186
179
|
interceptors: @config.interceptors,
|
|
187
180
|
channel_pool_config: @config.channel_pool
|
|
188
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 = @iam_policy_stub.endpoint
|
|
187
|
+
config.universe_domain = @iam_policy_stub.universe_domain
|
|
188
|
+
end
|
|
189
189
|
end
|
|
190
190
|
|
|
191
191
|
##
|
|
@@ -166,20 +166,20 @@ module Google
|
|
|
166
166
|
@quota_project_id = @config.quota_project
|
|
167
167
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
168
168
|
|
|
169
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
170
|
-
config.credentials = credentials
|
|
171
|
-
config.quota_project = @quota_project_id
|
|
172
|
-
config.endpoint = @config.endpoint
|
|
173
|
-
config.universe_domain = @config.universe_domain
|
|
174
|
-
config.bindings_override = @config.bindings_override
|
|
175
|
-
end
|
|
176
|
-
|
|
177
169
|
@iam_policy_stub = ::Google::Iam::V1::IAMPolicy::Rest::ServiceStub.new(
|
|
178
170
|
endpoint: @config.endpoint,
|
|
179
171
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
180
172
|
universe_domain: @config.universe_domain,
|
|
181
173
|
credentials: credentials
|
|
182
174
|
)
|
|
175
|
+
|
|
176
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
177
|
+
config.credentials = credentials
|
|
178
|
+
config.quota_project = @quota_project_id
|
|
179
|
+
config.endpoint = @iam_policy_stub.endpoint
|
|
180
|
+
config.universe_domain = @iam_policy_stub.universe_domain
|
|
181
|
+
config.bindings_override = @config.bindings_override
|
|
182
|
+
end
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
##
|
|
@@ -51,6 +51,15 @@ module Google
|
|
|
51
51
|
@client_stub.universe_domain
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
##
|
|
55
|
+
# The effective endpoint
|
|
56
|
+
#
|
|
57
|
+
# @return [String]
|
|
58
|
+
#
|
|
59
|
+
def endpoint
|
|
60
|
+
@client_stub.endpoint
|
|
61
|
+
end
|
|
62
|
+
|
|
54
63
|
##
|
|
55
64
|
# Baseline implementation for the set_iam_policy REST call
|
|
56
65
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-batch-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.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
|