google-cloud-dialogflow 0.14.0 → 0.15.0

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: 562bf0c58ba96993d8b2b29bb2c94bbea240d568ce1539c9eb3382e0b595e230
4
- data.tar.gz: '0450876f78d7d2f2fcbdef564b922521fd3edb35993df07f07b63b95a504defa'
3
+ metadata.gz: 4e848f7867066dbdc6d7df3cdf17c98cb19602db7356f8c7530d71107b214ef2
4
+ data.tar.gz: 7c6412d132f0901f22ce84ffe1a16b3031102407d1d08dd715148d161ce97e3c
5
5
  SHA512:
6
- metadata.gz: a36da11e15a5712e44d69745eff52d173195767042a1d4adb020e490b19b7827203dfe1c94d317cc95b30aae938a8bc6f58dad76af43f4d2ef89f655ae7c69e7
7
- data.tar.gz: 3653fa1206867b9733a86cc0823cf9abb11951d43b8cf6bc2a2074f86e966a684a397c598685b49c4e1d50955a2634aa8663c19eba5906bc0020cb97af409e78
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"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dialogflow
19
- VERSION = "0.14.0".freeze
19
+ VERSION = "0.15.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.14.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-02 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax