google-cloud-dialogflow 0.7.0 → 0.8.0
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/dialogflow/v2/agents_client.rb +2 -26
- data/lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb +3 -38
- data/lib/google/cloud/dialogflow/v2/session_pb.rb +0 -1
- data/lib/google/cloud/dialogflow/v2/sessions_client_config.json +2 -2
- data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c427f79f39ef7612a433df5f484e204aea939a010091a1c6a303ee521462110
|
4
|
+
data.tar.gz: 2dcffd50c608bd6a48c949b22da0812f4cece2ac2588d781f281a46361d3a9d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db9459a191028182e61393b16831a4d47dc48252520c9c0cd4e67d8532d0af97fa61bff717bd7c0842c1d391d5c099ba541a06d66406b32c5b241ec0a0cf15b9
|
7
|
+
data.tar.gz: 062e20d5b441eca838a8327aa7e1db3df5bcb097cccd195511de277a6fb732c65c020ac0428f619fb3dd05a146381a38c2d995dca24ded9ac552df990b9f995f
|
@@ -618,19 +618,7 @@ module Google
|
|
618
618
|
# The URI to a Google Cloud Storage file containing the agent to import.
|
619
619
|
# Note: The URI must start with "gs://".
|
620
620
|
# @param agent_content [String]
|
621
|
-
#
|
622
|
-
#
|
623
|
-
# Example for how to import an agent via the command line:
|
624
|
-
# <pre>curl \
|
625
|
-
# 'https://dialogflow.googleapis.com/v2/projects/<project_id>/agent:import'\
|
626
|
-
# -X POST \
|
627
|
-
# -H 'Authorization: Bearer'\
|
628
|
-
# $(gcloud auth application-default print-access-token) \
|
629
|
-
# -H 'Accept: application/json' \
|
630
|
-
# -H 'Content-Type: application/json' \
|
631
|
-
# --data-binary "{
|
632
|
-
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
633
|
-
# }"</pre>
|
621
|
+
# Zip compressed raw byte content for agent.
|
634
622
|
# @param options [Google::Gax::CallOptions]
|
635
623
|
# Overrides the default settings for this call, e.g, timeout,
|
636
624
|
# retries, etc.
|
@@ -705,19 +693,7 @@ module Google
|
|
705
693
|
# The URI to a Google Cloud Storage file containing the agent to restore.
|
706
694
|
# Note: The URI must start with "gs://".
|
707
695
|
# @param agent_content [String]
|
708
|
-
#
|
709
|
-
#
|
710
|
-
# Example for how to restore an agent via the command line:
|
711
|
-
# <pre>curl \
|
712
|
-
# 'https://dialogflow.googleapis.com/v2/projects/<project_id>/agent:restore'\
|
713
|
-
# -X POST \
|
714
|
-
# -H 'Authorization: Bearer' \
|
715
|
-
# $(gcloud auth application-default print-access-token) \
|
716
|
-
# -H 'Accept: application/json' \
|
717
|
-
# -H 'Content-Type: application/json' \
|
718
|
-
# --data-binary "{
|
719
|
-
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
720
|
-
# }"</pre>
|
696
|
+
# Zip compressed raw byte content for agent.
|
721
697
|
# @param options [Google::Gax::CallOptions]
|
722
698
|
# Overrides the default settings for this call, e.g, timeout,
|
723
699
|
# retries, etc.
|
@@ -197,18 +197,7 @@ module Google
|
|
197
197
|
# only if `agent_uri` is specified in `ExportAgentRequest`.
|
198
198
|
# @!attribute [rw] agent_content
|
199
199
|
# @return [String]
|
200
|
-
#
|
201
|
-
#
|
202
|
-
# Example for how to export an agent to a zip file via a command line:
|
203
|
-
# <pre>curl \
|
204
|
-
# 'https://dialogflow.googleapis.com/v2/projects/<project_id>/agent:export'\
|
205
|
-
# -X POST \
|
206
|
-
# -H 'Authorization: Bearer' \
|
207
|
-
# $(gcloud auth application-default print-access-token) \
|
208
|
-
# -H 'Accept: application/json'
|
209
|
-
# --compressed \
|
210
|
-
# | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
|
211
|
-
# | base64 --decode > <agent zip file></pre>
|
200
|
+
# Zip compressed raw byte content for agent.
|
212
201
|
class ExportAgentResponse; end
|
213
202
|
|
214
203
|
# The request message for {Google::Cloud::Dialogflow::V2::Agents::ImportAgent Agents::ImportAgent}.
|
@@ -222,19 +211,7 @@ module Google
|
|
222
211
|
# Note: The URI must start with "gs://".
|
223
212
|
# @!attribute [rw] agent_content
|
224
213
|
# @return [String]
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# Example for how to import an agent via the command line:
|
228
|
-
# <pre>curl \
|
229
|
-
# 'https://dialogflow.googleapis.com/v2/projects/<project_id>/agent:import'\
|
230
|
-
# -X POST \
|
231
|
-
# -H 'Authorization: Bearer'\
|
232
|
-
# $(gcloud auth application-default print-access-token) \
|
233
|
-
# -H 'Accept: application/json' \
|
234
|
-
# -H 'Content-Type: application/json' \
|
235
|
-
# --data-binary "{
|
236
|
-
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
237
|
-
# }"</pre>
|
214
|
+
# Zip compressed raw byte content for agent.
|
238
215
|
class ImportAgentRequest; end
|
239
216
|
|
240
217
|
# The request message for {Google::Cloud::Dialogflow::V2::Agents::RestoreAgent Agents::RestoreAgent}.
|
@@ -248,19 +225,7 @@ module Google
|
|
248
225
|
# Note: The URI must start with "gs://".
|
249
226
|
# @!attribute [rw] agent_content
|
250
227
|
# @return [String]
|
251
|
-
#
|
252
|
-
#
|
253
|
-
# Example for how to restore an agent via the command line:
|
254
|
-
# <pre>curl \
|
255
|
-
# 'https://dialogflow.googleapis.com/v2/projects/<project_id>/agent:restore'\
|
256
|
-
# -X POST \
|
257
|
-
# -H 'Authorization: Bearer' \
|
258
|
-
# $(gcloud auth application-default print-access-token) \
|
259
|
-
# -H 'Accept: application/json' \
|
260
|
-
# -H 'Content-Type: application/json' \
|
261
|
-
# --data-binary "{
|
262
|
-
# 'agentContent': '$(cat <agent zip file> | base64 -w 0)'
|
263
|
-
# }"</pre>
|
228
|
+
# Zip compressed raw byte content for agent.
|
264
229
|
class RestoreAgentRequest; end
|
265
230
|
end
|
266
231
|
end
|
@@ -7,7 +7,6 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
8
|
require 'google/api/client_pb'
|
9
9
|
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
10
|
require 'google/cloud/dialogflow/v2/audio_config_pb'
|
12
11
|
require 'google/cloud/dialogflow/v2/context_pb'
|
13
12
|
require 'google/cloud/dialogflow/v2/intent_pb'
|
@@ -21,12 +21,12 @@
|
|
21
21
|
},
|
22
22
|
"methods": {
|
23
23
|
"DetectIntent": {
|
24
|
-
"timeout_millis":
|
24
|
+
"timeout_millis": 220000,
|
25
25
|
"retry_codes_name": "non_idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
28
|
"StreamingDetectIntent": {
|
29
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 220000,
|
30
30
|
"retry_codes_name": "non_idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
}
|
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
optional :payload, :message, 4, "google.protobuf.Struct"
|
25
25
|
repeated :output_contexts, :message, 5, "google.cloud.dialogflow.v2.Context"
|
26
26
|
optional :followup_event_input, :message, 6, "google.cloud.dialogflow.v2.EventInput"
|
27
|
+
repeated :session_entity_types, :message, 10, "google.cloud.dialogflow.v2.SessionEntityType"
|
27
28
|
end
|
28
29
|
add_message "google.cloud.dialogflow.v2.OriginalDetectIntentRequest" do
|
29
30
|
optional :source, :string, 1
|
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.8.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: 2019-10-
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
187
|
- !ruby/object:Gem::Version
|
188
188
|
version: '0'
|
189
189
|
requirements: []
|
190
|
-
rubygems_version: 3.0.
|
190
|
+
rubygems_version: 3.0.6
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
193
|
summary: API Client library for Dialogflow API
|