google-cloud-dialogflow 0.14.0 → 0.15.0
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/dialogflow/v2/agents_client.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/contexts_client.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/entity_types_client.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/intents_client.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types_client.rb +3 -0
- data/lib/google/cloud/dialogflow/v2/sessions_client.rb +3 -0
- data/lib/google/cloud/dialogflow/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: 4e848f7867066dbdc6d7df3cdf17c98cb19602db7356f8c7530d71107b214ef2
|
|
4
|
+
data.tar.gz: 7c6412d132f0901f22ce84ffe1a16b3031102407d1d08dd715148d161ce97e3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1cd4f2ade5011cc4dedd84cf6901311b1e7de7bc3326549d2f0289480fefc45ab41cad0b0937638198d6c0fa6bb83e6773a10c4e783cf655c8ca52c17f6e7b20
|
|
7
|
+
data.tar.gz: 8138a16a28e32186dd28eadf5745f8ce1bd88325d60ad3f00802dea23b37e2c894d9cc66bea4b5f3e5a93c9962966e0b4b42e61edf2402fcb90472d7c495831d
|
|
@@ -207,6 +207,9 @@ module Google
|
|
|
207
207
|
google_api_client.freeze
|
|
208
208
|
|
|
209
209
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
210
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
211
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
212
|
+
end
|
|
210
213
|
headers.merge!(metadata) unless metadata.nil?
|
|
211
214
|
client_config_file = Pathname.new(__dir__).join(
|
|
212
215
|
"agents_client_config.json"
|
|
@@ -199,6 +199,9 @@ module Google
|
|
|
199
199
|
google_api_client.freeze
|
|
200
200
|
|
|
201
201
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
202
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
203
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
204
|
+
end
|
|
202
205
|
headers.merge!(metadata) unless metadata.nil?
|
|
203
206
|
client_config_file = Pathname.new(__dir__).join(
|
|
204
207
|
"contexts_client_config.json"
|
|
@@ -224,6 +224,9 @@ module Google
|
|
|
224
224
|
google_api_client.freeze
|
|
225
225
|
|
|
226
226
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
227
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
228
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
229
|
+
end
|
|
227
230
|
headers.merge!(metadata) unless metadata.nil?
|
|
228
231
|
client_config_file = Pathname.new(__dir__).join(
|
|
229
232
|
"entity_types_client_config.json"
|
|
@@ -245,6 +245,9 @@ module Google
|
|
|
245
245
|
google_api_client.freeze
|
|
246
246
|
|
|
247
247
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
248
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
249
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
250
|
+
end
|
|
248
251
|
headers.merge!(metadata) unless metadata.nil?
|
|
249
252
|
client_config_file = Pathname.new(__dir__).join(
|
|
250
253
|
"intents_client_config.json"
|
|
@@ -198,6 +198,9 @@ module Google
|
|
|
198
198
|
google_api_client.freeze
|
|
199
199
|
|
|
200
200
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
201
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
202
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
203
|
+
end
|
|
201
204
|
headers.merge!(metadata) unless metadata.nil?
|
|
202
205
|
client_config_file = Pathname.new(__dir__).join(
|
|
203
206
|
"session_entity_types_client_config.json"
|
|
@@ -157,6 +157,9 @@ module Google
|
|
|
157
157
|
google_api_client.freeze
|
|
158
158
|
|
|
159
159
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
160
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
161
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
162
|
+
end
|
|
160
163
|
headers.merge!(metadata) unless metadata.nil?
|
|
161
164
|
client_config_file = Pathname.new(__dir__).join(
|
|
162
165
|
"sessions_client_config.json"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-dialogflow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|