google-cloud-run-v2 0.13.0 → 0.13.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/run/v2/executions/client.rb +7 -7
- data/lib/google/cloud/run/v2/executions/rest/client.rb +7 -7
- data/lib/google/cloud/run/v2/executions/rest/service_stub.rb +9 -0
- data/lib/google/cloud/run/v2/jobs/client.rb +7 -7
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +7 -7
- data/lib/google/cloud/run/v2/jobs/rest/service_stub.rb +9 -0
- data/lib/google/cloud/run/v2/revisions/client.rb +7 -7
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +7 -7
- data/lib/google/cloud/run/v2/revisions/rest/service_stub.rb +9 -0
- data/lib/google/cloud/run/v2/services/client.rb +7 -7
- data/lib/google/cloud/run/v2/services/rest/client.rb +7 -7
- data/lib/google/cloud/run/v2/services/rest/service_stub.rb +9 -0
- data/lib/google/cloud/run/v2/tasks/client.rb +7 -7
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +7 -7
- data/lib/google/cloud/run/v2/tasks/rest/service_stub.rb +9 -0
- data/lib/google/cloud/run/v2/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: '08a8ca820ec103fe206c3536eadfb10f15927054418b73b3ca11189520181f24'
|
|
4
|
+
data.tar.gz: 88a491b6e7be9fcec9ae8452725e95ee9c31d31a7601e07ab1e28c810d4e330f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9447658b3aac615ada3b7bc3dbf8c69f8124fdaf46bade4d0850c34854917705d012927055929ccb94bb985658b19aabbeed2bce35ec2de80adc8c6775b90392
|
|
7
|
+
data.tar.gz: c1a55956ebf24b96fa77db2910960236fa8ca49d517819a751c89a8e2600c7af2a0f79c488b687e62b4733df1532f6ad35896dffc9622fa2c29590a02859c3b7
|
|
@@ -154,13 +154,6 @@ module Google
|
|
|
154
154
|
config.universe_domain = @config.universe_domain
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
158
|
-
config.credentials = credentials
|
|
159
|
-
config.quota_project = @quota_project_id
|
|
160
|
-
config.endpoint = @config.endpoint
|
|
161
|
-
config.universe_domain = @config.universe_domain
|
|
162
|
-
end
|
|
163
|
-
|
|
164
157
|
@executions_stub = ::Gapic::ServiceStub.new(
|
|
165
158
|
::Google::Cloud::Run::V2::Executions::Stub,
|
|
166
159
|
credentials: credentials,
|
|
@@ -171,6 +164,13 @@ module Google
|
|
|
171
164
|
interceptors: @config.interceptors,
|
|
172
165
|
channel_pool_config: @config.channel_pool
|
|
173
166
|
)
|
|
167
|
+
|
|
168
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
169
|
+
config.credentials = credentials
|
|
170
|
+
config.quota_project = @quota_project_id
|
|
171
|
+
config.endpoint = @executions_stub.endpoint
|
|
172
|
+
config.universe_domain = @executions_stub.universe_domain
|
|
173
|
+
end
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
##
|
|
@@ -151,19 +151,19 @@ module Google
|
|
|
151
151
|
config.universe_domain = @config.universe_domain
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
155
|
-
config.credentials = credentials
|
|
156
|
-
config.quota_project = @quota_project_id
|
|
157
|
-
config.endpoint = @config.endpoint
|
|
158
|
-
config.universe_domain = @config.universe_domain
|
|
159
|
-
end
|
|
160
|
-
|
|
161
154
|
@executions_stub = ::Google::Cloud::Run::V2::Executions::Rest::ServiceStub.new(
|
|
162
155
|
endpoint: @config.endpoint,
|
|
163
156
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
164
157
|
universe_domain: @config.universe_domain,
|
|
165
158
|
credentials: credentials
|
|
166
159
|
)
|
|
160
|
+
|
|
161
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
162
|
+
config.credentials = credentials
|
|
163
|
+
config.quota_project = @quota_project_id
|
|
164
|
+
config.endpoint = @executions_stub.endpoint
|
|
165
|
+
config.universe_domain = @executions_stub.universe_domain
|
|
166
|
+
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
##
|
|
@@ -154,13 +154,6 @@ module Google
|
|
|
154
154
|
config.universe_domain = @config.universe_domain
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
158
|
-
config.credentials = credentials
|
|
159
|
-
config.quota_project = @quota_project_id
|
|
160
|
-
config.endpoint = @config.endpoint
|
|
161
|
-
config.universe_domain = @config.universe_domain
|
|
162
|
-
end
|
|
163
|
-
|
|
164
157
|
@jobs_stub = ::Gapic::ServiceStub.new(
|
|
165
158
|
::Google::Cloud::Run::V2::Jobs::Stub,
|
|
166
159
|
credentials: credentials,
|
|
@@ -171,6 +164,13 @@ module Google
|
|
|
171
164
|
interceptors: @config.interceptors,
|
|
172
165
|
channel_pool_config: @config.channel_pool
|
|
173
166
|
)
|
|
167
|
+
|
|
168
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
169
|
+
config.credentials = credentials
|
|
170
|
+
config.quota_project = @quota_project_id
|
|
171
|
+
config.endpoint = @jobs_stub.endpoint
|
|
172
|
+
config.universe_domain = @jobs_stub.universe_domain
|
|
173
|
+
end
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
##
|
|
@@ -151,19 +151,19 @@ module Google
|
|
|
151
151
|
config.universe_domain = @config.universe_domain
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
155
|
-
config.credentials = credentials
|
|
156
|
-
config.quota_project = @quota_project_id
|
|
157
|
-
config.endpoint = @config.endpoint
|
|
158
|
-
config.universe_domain = @config.universe_domain
|
|
159
|
-
end
|
|
160
|
-
|
|
161
154
|
@jobs_stub = ::Google::Cloud::Run::V2::Jobs::Rest::ServiceStub.new(
|
|
162
155
|
endpoint: @config.endpoint,
|
|
163
156
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
164
157
|
universe_domain: @config.universe_domain,
|
|
165
158
|
credentials: credentials
|
|
166
159
|
)
|
|
160
|
+
|
|
161
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
162
|
+
config.credentials = credentials
|
|
163
|
+
config.quota_project = @quota_project_id
|
|
164
|
+
config.endpoint = @jobs_stub.endpoint
|
|
165
|
+
config.universe_domain = @jobs_stub.universe_domain
|
|
166
|
+
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
##
|
|
@@ -154,13 +154,6 @@ module Google
|
|
|
154
154
|
config.universe_domain = @config.universe_domain
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
158
|
-
config.credentials = credentials
|
|
159
|
-
config.quota_project = @quota_project_id
|
|
160
|
-
config.endpoint = @config.endpoint
|
|
161
|
-
config.universe_domain = @config.universe_domain
|
|
162
|
-
end
|
|
163
|
-
|
|
164
157
|
@revisions_stub = ::Gapic::ServiceStub.new(
|
|
165
158
|
::Google::Cloud::Run::V2::Revisions::Stub,
|
|
166
159
|
credentials: credentials,
|
|
@@ -171,6 +164,13 @@ module Google
|
|
|
171
164
|
interceptors: @config.interceptors,
|
|
172
165
|
channel_pool_config: @config.channel_pool
|
|
173
166
|
)
|
|
167
|
+
|
|
168
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
169
|
+
config.credentials = credentials
|
|
170
|
+
config.quota_project = @quota_project_id
|
|
171
|
+
config.endpoint = @revisions_stub.endpoint
|
|
172
|
+
config.universe_domain = @revisions_stub.universe_domain
|
|
173
|
+
end
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
##
|
|
@@ -151,19 +151,19 @@ module Google
|
|
|
151
151
|
config.universe_domain = @config.universe_domain
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
155
|
-
config.credentials = credentials
|
|
156
|
-
config.quota_project = @quota_project_id
|
|
157
|
-
config.endpoint = @config.endpoint
|
|
158
|
-
config.universe_domain = @config.universe_domain
|
|
159
|
-
end
|
|
160
|
-
|
|
161
154
|
@revisions_stub = ::Google::Cloud::Run::V2::Revisions::Rest::ServiceStub.new(
|
|
162
155
|
endpoint: @config.endpoint,
|
|
163
156
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
164
157
|
universe_domain: @config.universe_domain,
|
|
165
158
|
credentials: credentials
|
|
166
159
|
)
|
|
160
|
+
|
|
161
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
162
|
+
config.credentials = credentials
|
|
163
|
+
config.quota_project = @quota_project_id
|
|
164
|
+
config.endpoint = @revisions_stub.endpoint
|
|
165
|
+
config.universe_domain = @revisions_stub.universe_domain
|
|
166
|
+
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
##
|
|
@@ -170,13 +170,6 @@ module Google
|
|
|
170
170
|
config.universe_domain = @config.universe_domain
|
|
171
171
|
end
|
|
172
172
|
|
|
173
|
-
@location_client = Google::Cloud::Location::Locations::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
173
|
@services_stub = ::Gapic::ServiceStub.new(
|
|
181
174
|
::Google::Cloud::Run::V2::Services::Stub,
|
|
182
175
|
credentials: credentials,
|
|
@@ -187,6 +180,13 @@ module Google
|
|
|
187
180
|
interceptors: @config.interceptors,
|
|
188
181
|
channel_pool_config: @config.channel_pool
|
|
189
182
|
)
|
|
183
|
+
|
|
184
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
185
|
+
config.credentials = credentials
|
|
186
|
+
config.quota_project = @quota_project_id
|
|
187
|
+
config.endpoint = @services_stub.endpoint
|
|
188
|
+
config.universe_domain = @services_stub.universe_domain
|
|
189
|
+
end
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
##
|
|
@@ -167,19 +167,19 @@ module Google
|
|
|
167
167
|
config.universe_domain = @config.universe_domain
|
|
168
168
|
end
|
|
169
169
|
|
|
170
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
171
|
-
config.credentials = credentials
|
|
172
|
-
config.quota_project = @quota_project_id
|
|
173
|
-
config.endpoint = @config.endpoint
|
|
174
|
-
config.universe_domain = @config.universe_domain
|
|
175
|
-
end
|
|
176
|
-
|
|
177
170
|
@services_stub = ::Google::Cloud::Run::V2::Services::Rest::ServiceStub.new(
|
|
178
171
|
endpoint: @config.endpoint,
|
|
179
172
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
180
173
|
universe_domain: @config.universe_domain,
|
|
181
174
|
credentials: credentials
|
|
182
175
|
)
|
|
176
|
+
|
|
177
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
178
|
+
config.credentials = credentials
|
|
179
|
+
config.quota_project = @quota_project_id
|
|
180
|
+
config.endpoint = @services_stub.endpoint
|
|
181
|
+
config.universe_domain = @services_stub.universe_domain
|
|
182
|
+
end
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
##
|
|
@@ -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_service REST call
|
|
57
66
|
#
|
|
@@ -147,13 +147,6 @@ module Google
|
|
|
147
147
|
@quota_project_id = @config.quota_project
|
|
148
148
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
149
149
|
|
|
150
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
151
|
-
config.credentials = credentials
|
|
152
|
-
config.quota_project = @quota_project_id
|
|
153
|
-
config.endpoint = @config.endpoint
|
|
154
|
-
config.universe_domain = @config.universe_domain
|
|
155
|
-
end
|
|
156
|
-
|
|
157
150
|
@tasks_stub = ::Gapic::ServiceStub.new(
|
|
158
151
|
::Google::Cloud::Run::V2::Tasks::Stub,
|
|
159
152
|
credentials: credentials,
|
|
@@ -164,6 +157,13 @@ module Google
|
|
|
164
157
|
interceptors: @config.interceptors,
|
|
165
158
|
channel_pool_config: @config.channel_pool
|
|
166
159
|
)
|
|
160
|
+
|
|
161
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
|
162
|
+
config.credentials = credentials
|
|
163
|
+
config.quota_project = @quota_project_id
|
|
164
|
+
config.endpoint = @tasks_stub.endpoint
|
|
165
|
+
config.universe_domain = @tasks_stub.universe_domain
|
|
166
|
+
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
##
|
|
@@ -144,19 +144,19 @@ module Google
|
|
|
144
144
|
@quota_project_id = @config.quota_project
|
|
145
145
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
|
146
146
|
|
|
147
|
-
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
148
|
-
config.credentials = credentials
|
|
149
|
-
config.quota_project = @quota_project_id
|
|
150
|
-
config.endpoint = @config.endpoint
|
|
151
|
-
config.universe_domain = @config.universe_domain
|
|
152
|
-
end
|
|
153
|
-
|
|
154
147
|
@tasks_stub = ::Google::Cloud::Run::V2::Tasks::Rest::ServiceStub.new(
|
|
155
148
|
endpoint: @config.endpoint,
|
|
156
149
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
|
157
150
|
universe_domain: @config.universe_domain,
|
|
158
151
|
credentials: credentials
|
|
159
152
|
)
|
|
153
|
+
|
|
154
|
+
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
|
155
|
+
config.credentials = credentials
|
|
156
|
+
config.quota_project = @quota_project_id
|
|
157
|
+
config.endpoint = @tasks_stub.endpoint
|
|
158
|
+
config.universe_domain = @tasks_stub.universe_domain
|
|
159
|
+
end
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
##
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-run-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.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
|