google-cloud-dialogflow 0.6.0 → 0.7.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: 83c6053a76c0362244a43af4e4c2f89f7aa8a1b5bcbbdce6b1a859d5179fecde
4
- data.tar.gz: 25faa1f037f891155b4192f57ea17038e2fe04d4e82636c88e7c5ab733330903
3
+ metadata.gz: 90692d1a004f0273a937d3cd3715d5b8961e3e0aefd5c938eee361a87b64d364
4
+ data.tar.gz: 8c0807a26d1bf4f62e78c5037bd7cc5b05d975d0f43b28ef45af9daa534d3320
5
5
  SHA512:
6
- metadata.gz: b71e6b21a9c6c1700574f3662a532ceef5125cc732174d11f942079e2d806a88e982f304249762d6376c46f93690b247982c9a0ab7e7d2109462c163a649ecaa
7
- data.tar.gz: 3a66957d8c62e5100d57cfea6b07fa5c4f63f46402c3ee4d04945d3890e5d0614322a9313e5cf453bbfc35508c25721eaab1b39247d50aed2dea6a3c8a8bd29e
6
+ metadata.gz: 1a409f481e233641b7a93c5869be43376cc377381c46801753f36575f9a8e334850f8c0113899651c195d6950d2dacc2e0bf2bf83aeac282190ec17950f20712
7
+ data.tar.gz: 1e538dd2f770eca725e18cb020e250fca17d4a9c5fd733c04980a1589266f709cfdde78a41aebfa215a45bb4efe27f25c577f6262b681bd5a92b5f8bc1df433e
@@ -5,10 +5,12 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/longrunning/operations_pb'
9
12
  require 'google/protobuf/empty_pb'
10
13
  require 'google/protobuf/field_mask_pb'
11
- require 'google/api/client_pb'
12
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
15
  add_message "google.cloud.dialogflow.v2.Agent" do
14
16
  optional :parent, :string, 1
@@ -541,8 +541,7 @@ module Google
541
541
  # Required. The project that the agent to export is associated with.
542
542
  # Format: `projects/<Project ID>`.
543
543
  # @param agent_uri [String]
544
- # Optional. The
545
- # [Google Cloud Storage](https://cloud.google.com/storage/docs/)
544
+ # Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
546
545
  # URI to export the agent to.
547
546
  # The format of this URI must be `gs://<bucket-name>/<object-name>`.
548
547
  # If left unspecified, the serialized agent is returned inline.
@@ -623,13 +622,12 @@ module Google
623
622
  #
624
623
  # Example for how to import an agent via the command line:
625
624
  # <pre>curl \
626
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:import\
625
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/agent:import'\
627
626
  # -X POST \
628
- # -H 'Authorization: Bearer '$(gcloud auth application-default
629
- # print-access-token) \
627
+ # -H 'Authorization: Bearer'\
628
+ # $(gcloud auth application-default print-access-token) \
630
629
  # -H 'Accept: application/json' \
631
630
  # -H 'Content-Type: application/json' \
632
- # --compressed \
633
631
  # --data-binary "{
634
632
  # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
635
633
  # }"</pre>
@@ -711,13 +709,12 @@ module Google
711
709
  #
712
710
  # Example for how to restore an agent via the command line:
713
711
  # <pre>curl \
714
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:restore\
712
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/agent:restore'\
715
713
  # -X POST \
716
- # -H 'Authorization: Bearer '$(gcloud auth application-default
717
- # print-access-token) \
714
+ # -H 'Authorization: Bearer' \
715
+ # $(gcloud auth application-default print-access-token) \
718
716
  # -H 'Accept: application/json' \
719
717
  # -H 'Content-Type: application/json' \
720
- # --compressed \
721
718
  # --data-binary "{
722
719
  # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
723
720
  # }"</pre>
@@ -5,10 +5,12 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/protobuf/empty_pb'
9
12
  require 'google/protobuf/field_mask_pb'
10
13
  require 'google/protobuf/struct_pb'
11
- require 'google/api/client_pb'
12
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
15
  add_message "google.cloud.dialogflow.v2.Context" do
14
16
  optional :name, :string, 1
@@ -156,7 +156,7 @@ module Google
156
156
  # default 100 and at most 1000.
157
157
  # @!attribute [rw] page_token
158
158
  # @return [String]
159
- # Optional. The next_page_token value returned from a previous list request.
159
+ # The next_page_token value returned from a previous list request.
160
160
  class SearchAgentsRequest; end
161
161
 
162
162
  # The response message for {Google::Cloud::Dialogflow::V2::Agents::SearchAgents Agents::SearchAgents}.
@@ -184,8 +184,7 @@ module Google
184
184
  # Format: `projects/<Project ID>`.
185
185
  # @!attribute [rw] agent_uri
186
186
  # @return [String]
187
- # Optional. The
188
- # [Google Cloud Storage](https://cloud.google.com/storage/docs/)
187
+ # Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
189
188
  # URI to export the agent to.
190
189
  # The format of this URI must be `gs://<bucket-name>/<object-name>`.
191
190
  # If left unspecified, the serialized agent is returned inline.
@@ -202,16 +201,14 @@ module Google
202
201
  #
203
202
  # Example for how to export an agent to a zip file via a command line:
204
203
  # <pre>curl \
205
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:export'\
204
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/agent:export'\
206
205
  # -X POST \
207
- # -H 'Authorization: Bearer '$(gcloud auth application-default
208
- # print-access-token) \
209
- # -H 'Accept: application/json' \
210
- # -H 'Content-Type: application/json' \
206
+ # -H 'Authorization: Bearer' \
207
+ # $(gcloud auth application-default print-access-token) \
208
+ # -H 'Accept: application/json'
211
209
  # --compressed \
212
- # --data-binary '{}' \
213
- # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
214
- # | base64 --decode > &lt;agent zip file&gt;</pre>
210
+ # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
211
+ # | base64 --decode > &lt;agent zip file&gt;</pre>
215
212
  class ExportAgentResponse; end
216
213
 
217
214
  # The request message for {Google::Cloud::Dialogflow::V2::Agents::ImportAgent Agents::ImportAgent}.
@@ -229,13 +226,12 @@ module Google
229
226
  #
230
227
  # Example for how to import an agent via the command line:
231
228
  # <pre>curl \
232
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:import\
229
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/agent:import'\
233
230
  # -X POST \
234
- # -H 'Authorization: Bearer '$(gcloud auth application-default
235
- # print-access-token) \
231
+ # -H 'Authorization: Bearer'\
232
+ # $(gcloud auth application-default print-access-token) \
236
233
  # -H 'Accept: application/json' \
237
234
  # -H 'Content-Type: application/json' \
238
- # --compressed \
239
235
  # --data-binary "{
240
236
  # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
241
237
  # }"</pre>
@@ -256,13 +252,12 @@ module Google
256
252
  #
257
253
  # Example for how to restore an agent via the command line:
258
254
  # <pre>curl \
259
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:restore\
255
+ # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_id&gt;/agent:restore'\
260
256
  # -X POST \
261
- # -H 'Authorization: Bearer '$(gcloud auth application-default
262
- # print-access-token) \
257
+ # -H 'Authorization: Bearer' \
258
+ # $(gcloud auth application-default print-access-token) \
263
259
  # -H 'Accept: application/json' \
264
260
  # -H 'Content-Type: application/json' \
265
- # --compressed \
266
261
  # --data-binary "{
267
262
  # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
268
263
  # }"</pre>
@@ -39,6 +39,9 @@ module Google
39
39
  # @!attribute [rw] entities
40
40
  # @return [Array<Google::Cloud::Dialogflow::V2::EntityType::Entity>]
41
41
  # Optional. The collection of entity entries associated with the entity type.
42
+ # @!attribute [rw] enable_fuzzy_extraction
43
+ # @return [true, false]
44
+ # Optional. Enables fuzzy entity extraction during classification.
42
45
  class EntityType
43
46
  # An **entity entry** for an associated entity type.
44
47
  # @!attribute [rw] value
@@ -91,6 +94,10 @@ module Google
91
94
  # values. However, list entity types can contain references to other entity
92
95
  # types (with or without aliases).
93
96
  KIND_LIST = 2
97
+
98
+ # Regexp entity types allow to specify regular expressions in entries
99
+ # values.
100
+ KIND_REGEXP = 3
94
101
  end
95
102
  end
96
103
 
@@ -302,7 +302,7 @@ module Google
302
302
  # @return [Array<Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>]
303
303
  # Optional. The collection of card buttons.
304
304
  class Card
305
- # Optional. Contains information about a button.
305
+ # Contains information about a button.
306
306
  # @!attribute [rw] text
307
307
  # @return [String]
308
308
  # Optional. The text to show on the button.
@@ -267,8 +267,8 @@ module Google
267
267
  # 3. an event that specifies which intent to trigger.
268
268
  # @!attribute [rw] single_utterance
269
269
  # @return [true, false]
270
- # DEPRECATED. Please use {Google::Cloud::Dialogflow::V2::InputAudioConfig#single_utterance InputAudioConfig#single_utterance} instead.
271
- # Optional. If `false` (default), recognition does not cease until
270
+ # Optional. Please use {Google::Cloud::Dialogflow::V2::InputAudioConfig#single_utterance InputAudioConfig#single_utterance} instead.
271
+ # If `false` (default), recognition does not cease until
272
272
  # the client closes the stream. If `true`, the recognizer will detect a
273
273
  # single spoken utterance in input audio. Recognition ceases when it detects
274
274
  # the audio's voice has stopped or paused. In this case, once a detected
@@ -5,10 +5,12 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/longrunning/operations_pb'
9
12
  require 'google/protobuf/empty_pb'
10
13
  require 'google/protobuf/field_mask_pb'
11
- require 'google/api/client_pb'
12
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
15
  add_message "google.cloud.dialogflow.v2.EntityType" do
14
16
  optional :name, :string, 1
@@ -16,6 +18,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
18
  optional :kind, :enum, 3, "google.cloud.dialogflow.v2.EntityType.Kind"
17
19
  optional :auto_expansion_mode, :enum, 4, "google.cloud.dialogflow.v2.EntityType.AutoExpansionMode"
18
20
  repeated :entities, :message, 6, "google.cloud.dialogflow.v2.EntityType.Entity"
21
+ optional :enable_fuzzy_extraction, :bool, 7
19
22
  end
20
23
  add_message "google.cloud.dialogflow.v2.EntityType.Entity" do
21
24
  optional :value, :string, 1
@@ -25,6 +28,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
25
28
  value :KIND_UNSPECIFIED, 0
26
29
  value :KIND_MAP, 1
27
30
  value :KIND_LIST, 2
31
+ value :KIND_REGEXP, 3
28
32
  end
29
33
  add_enum "google.cloud.dialogflow.v2.EntityType.AutoExpansionMode" do
30
34
  value :AUTO_EXPANSION_MODE_UNSPECIFIED, 0
@@ -5,6 +5,9 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/cloud/dialogflow/v2/audio_config_pb'
9
12
  require 'google/cloud/dialogflow/v2/context_pb'
10
13
  require 'google/longrunning/operations_pb'
@@ -12,7 +15,6 @@ require 'google/protobuf/duration_pb'
12
15
  require 'google/protobuf/empty_pb'
13
16
  require 'google/protobuf/field_mask_pb'
14
17
  require 'google/protobuf/struct_pb'
15
- require 'google/api/client_pb'
16
18
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
19
  add_message "google.cloud.dialogflow.v2.Intent" do
18
20
  optional :name, :string, 1
@@ -5,10 +5,12 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/cloud/dialogflow/v2/entity_type_pb'
9
12
  require 'google/protobuf/empty_pb'
10
13
  require 'google/protobuf/field_mask_pb'
11
- require 'google/api/client_pb'
12
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
15
  add_message "google.cloud.dialogflow.v2.SessionEntityType" do
14
16
  optional :name, :string, 1
@@ -5,6 +5,9 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
8
11
  require 'google/cloud/dialogflow/v2/audio_config_pb'
9
12
  require 'google/cloud/dialogflow/v2/context_pb'
10
13
  require 'google/cloud/dialogflow/v2/intent_pb'
@@ -13,7 +16,6 @@ require 'google/protobuf/duration_pb'
13
16
  require 'google/protobuf/struct_pb'
14
17
  require 'google/rpc/status_pb'
15
18
  require 'google/type/latlng_pb'
16
- require 'google/api/client_pb'
17
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
18
20
  add_message "google.cloud.dialogflow.v2.DetectIntentRequest" do
19
21
  optional :session, :string, 1
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dialogflow
19
- VERSION = "0.6.0".freeze
19
+ VERSION = "0.7.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.6.0
4
+ version: 0.7.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-08-23 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax