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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90692d1a004f0273a937d3cd3715d5b8961e3e0aefd5c938eee361a87b64d364
4
- data.tar.gz: 8c0807a26d1bf4f62e78c5037bd7cc5b05d975d0f43b28ef45af9daa534d3320
3
+ metadata.gz: 9c427f79f39ef7612a433df5f484e204aea939a010091a1c6a303ee521462110
4
+ data.tar.gz: 2dcffd50c608bd6a48c949b22da0812f4cece2ac2588d781f281a46361d3a9d3
5
5
  SHA512:
6
- metadata.gz: 1a409f481e233641b7a93c5869be43376cc377381c46801753f36575f9a8e334850f8c0113899651c195d6950d2dacc2e0bf2bf83aeac282190ec17950f20712
7
- data.tar.gz: 1e538dd2f770eca725e18cb020e250fca17d4a9c5fd733c04980a1589266f709cfdde78a41aebfa215a45bb4efe27f25c577f6262b681bd5a92b5f8bc1df433e
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
- # The agent to import.
622
- #
623
- # Example for how to import an agent via the command line:
624
- # <pre>curl \
625
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/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 &lt;agent zip file&gt; | 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
- # The agent to restore.
709
- #
710
- # Example for how to restore an agent via the command line:
711
- # <pre>curl \
712
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/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 &lt;agent zip file&gt; | 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
- # The exported agent.
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/&lt;project_id&gt;/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 > &lt;agent zip file&gt;</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
- # The agent to import.
226
- #
227
- # Example for how to import an agent via the command line:
228
- # <pre>curl \
229
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/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 &lt;agent zip file&gt; | 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
- # The agent to restore.
252
- #
253
- # Example for how to restore an agent via the command line:
254
- # <pre>curl \
255
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/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 &lt;agent zip file&gt; | 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": 230000,
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": 230000,
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
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dialogflow
19
- VERSION = "0.7.0".freeze
19
+ VERSION = "0.8.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.7.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-02 00:00:00.000000000 Z
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.4
190
+ rubygems_version: 3.0.6
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: API Client library for Dialogflow API