google-cloud-dialogflow-v2 0.14.0 → 0.15.2

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/v2/agents/client.rb +18 -0
  4. data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +0 -1
  5. data/lib/google/cloud/dialogflow/v2/audio_config_pb.rb +0 -2
  6. data/lib/google/cloud/dialogflow/v2/conversation_dataset_pb.rb +92 -0
  7. data/lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb +81 -0
  8. data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +849 -0
  9. data/lib/google/cloud/dialogflow/v2/conversation_datasets/credentials.rb +52 -0
  10. data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +767 -0
  11. data/lib/google/cloud/dialogflow/v2/conversation_datasets/paths.rb +69 -0
  12. data/lib/google/cloud/dialogflow/v2/conversation_datasets.rb +53 -0
  13. data/lib/google/cloud/dialogflow/v2/conversation_event_pb.rb +0 -1
  14. data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +205 -0
  15. data/lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb +98 -0
  16. data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +1257 -0
  17. data/lib/google/cloud/dialogflow/v2/conversation_models/credentials.rb +52 -0
  18. data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +767 -0
  19. data/lib/google/cloud/dialogflow/v2/conversation_models/paths.rb +179 -0
  20. data/lib/google/cloud/dialogflow/v2/conversation_models.rb +50 -0
  21. data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +0 -3
  22. data/lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb +26 -1
  23. data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +27 -0
  24. data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +250 -0
  25. data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +767 -0
  26. data/lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb +31 -9
  27. data/lib/google/cloud/dialogflow/v2/conversation_profiles.rb +1 -0
  28. data/lib/google/cloud/dialogflow/v2/document_pb.rb +18 -0
  29. data/lib/google/cloud/dialogflow/v2/gcs_pb.rb +0 -1
  30. data/lib/google/cloud/dialogflow/v2/human_agent_assistant_event_pb.rb +0 -1
  31. data/lib/google/cloud/dialogflow/v2/intent_pb.rb +0 -2
  32. data/lib/google/cloud/dialogflow/v2/participant_pb.rb +0 -3
  33. data/lib/google/cloud/dialogflow/v2/session_pb.rb +0 -1
  34. data/lib/google/cloud/dialogflow/v2/validation_result_pb.rb +0 -1
  35. data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
  36. data/lib/google/cloud/dialogflow/v2/webhook_pb.rb +0 -1
  37. data/lib/google/cloud/dialogflow/v2.rb +5 -1
  38. data/proto_docs/google/cloud/dialogflow/v2/agent.rb +18 -0
  39. data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +211 -0
  40. data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +522 -0
  41. data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +87 -2
  42. data/proto_docs/google/cloud/dialogflow/v2/document.rb +39 -0
  43. data/proto_docs/google/cloud/dialogflow/v2/participant.rb +10 -0
  44. data/proto_docs/google/cloud/dialogflow/v2/session.rb +5 -0
  45. metadata +19 -2
@@ -88,6 +88,9 @@ module Google
88
88
  # key-value pairs. Suggested use cases include storing a document's title,
89
89
  # an external URL distinct from the document's content_uri, etc.
90
90
  # The max size of a `key` or a `value` of the metadata is 1024 bytes.
91
+ # @!attribute [r] state
92
+ # @return [::Google::Cloud::Dialogflow::V2::Document::State]
93
+ # Output only. The current state of the document.
91
94
  class Document
92
95
  include ::Google::Protobuf::MessageExts
93
96
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -136,6 +139,30 @@ module Google
136
139
  # The entire document content as a whole can be used for query results.
137
140
  # Only for Contact Center Solutions on Dialogflow.
138
141
  ARTICLE_SUGGESTION = 3
142
+
143
+ # The document contains agent-facing Smart Reply entries.
144
+ AGENT_FACING_SMART_REPLY = 4
145
+ end
146
+
147
+ # Possible states of the document
148
+ module State
149
+ # The document state is unspecified.
150
+ STATE_UNSPECIFIED = 0
151
+
152
+ # The document creation is in progress.
153
+ CREATING = 1
154
+
155
+ # The document is active and ready to use.
156
+ ACTIVE = 2
157
+
158
+ # The document updation is in progress.
159
+ UPDATING = 3
160
+
161
+ # The document is reloading.
162
+ RELOADING = 4
163
+
164
+ # The document deletion is in progress.
165
+ DELETING = 5
139
166
  end
140
167
  end
141
168
 
@@ -353,6 +380,15 @@ module Google
353
380
  extend ::Google::Protobuf::MessageExts::ClassMethods
354
381
  end
355
382
 
383
+ # Metadata related to the Export Data Operations (e.g. ExportDocument).
384
+ # @!attribute [rw] exported_gcs_destination
385
+ # @return [::Google::Cloud::Dialogflow::V2::GcsDestination]
386
+ # Cloud Storage file path of the exported data.
387
+ class ExportOperationMetadata
388
+ include ::Google::Protobuf::MessageExts
389
+ extend ::Google::Protobuf::MessageExts::ClassMethods
390
+ end
391
+
356
392
  # Metadata in google::longrunning::Operation for Knowledge operations.
357
393
  # @!attribute [r] state
358
394
  # @return [::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata::State]
@@ -360,6 +396,9 @@ module Google
360
396
  # @!attribute [rw] knowledge_base
361
397
  # @return [::String]
362
398
  # The name of the knowledge base interacted with during the operation.
399
+ # @!attribute [rw] export_operation_metadata
400
+ # @return [::Google::Cloud::Dialogflow::V2::ExportOperationMetadata]
401
+ # Metadata for the Export Data Operation such as the destination of export.
363
402
  class KnowledgeOperationMetadata
364
403
  include ::Google::Protobuf::MessageExts
365
404
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -267,11 +267,21 @@ module Google
267
267
  # The suggestions for most recent human agent. The order is the same as
268
268
  # {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionConfig#feature_configs HumanAgentAssistantConfig.SuggestionConfig.feature_configs} of
269
269
  # {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig#human_agent_suggestion_config HumanAgentAssistantConfig.human_agent_suggestion_config}.
270
+ #
271
+ # Note that any failure of Agent Assist features will not lead to the overall
272
+ # failure of an AnalyzeContent API call. Instead, the features will
273
+ # fail silently with the error field set in the corresponding
274
+ # SuggestionResult.
270
275
  # @!attribute [rw] end_user_suggestion_results
271
276
  # @return [::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>]
272
277
  # The suggestions for end user. The order is the same as
273
278
  # {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionConfig#feature_configs HumanAgentAssistantConfig.SuggestionConfig.feature_configs} of
274
279
  # {::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig#end_user_suggestion_config HumanAgentAssistantConfig.end_user_suggestion_config}.
280
+ #
281
+ # Same as human_agent_suggestion_results, any failure of Agent Assist
282
+ # features will not lead to the overall failure of an AnalyzeContent API
283
+ # call. Instead, the features will fail silently with the error field set in
284
+ # the corresponding SuggestionResult.
275
285
  # @!attribute [rw] dtmf_parameters
276
286
  # @return [::Google::Cloud::Dialogflow::V2::DtmfParameters]
277
287
  # Indicates the parameters of DTMF.
@@ -589,6 +589,11 @@ module Google
589
589
  # Support](https://cloud.google.com/dialogflow/docs/reference/language)
590
590
  # for a list of the currently supported language codes. Note that queries in
591
591
  # the same session do not necessarily need to specify the same language.
592
+ #
593
+ # This field is ignored when used in the context of a
594
+ # {::Google::Cloud::Dialogflow::V2::WebhookResponse#followup_event_input WebhookResponse.followup_event_input} field,
595
+ # because the language was already defined in the originating detect
596
+ # intent request.
592
597
  class EventInput
593
598
  include ::Google::Protobuf::MessageExts
594
599
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-21 00:00:00.000000000 Z
11
+ date: 2022-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -195,13 +195,28 @@ files:
195
195
  - lib/google/cloud/dialogflow/v2/contexts/client.rb
196
196
  - lib/google/cloud/dialogflow/v2/contexts/credentials.rb
197
197
  - lib/google/cloud/dialogflow/v2/contexts/paths.rb
198
+ - lib/google/cloud/dialogflow/v2/conversation_dataset_pb.rb
199
+ - lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb
200
+ - lib/google/cloud/dialogflow/v2/conversation_datasets.rb
201
+ - lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb
202
+ - lib/google/cloud/dialogflow/v2/conversation_datasets/credentials.rb
203
+ - lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb
204
+ - lib/google/cloud/dialogflow/v2/conversation_datasets/paths.rb
198
205
  - lib/google/cloud/dialogflow/v2/conversation_event_pb.rb
206
+ - lib/google/cloud/dialogflow/v2/conversation_model_pb.rb
207
+ - lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb
208
+ - lib/google/cloud/dialogflow/v2/conversation_models.rb
209
+ - lib/google/cloud/dialogflow/v2/conversation_models/client.rb
210
+ - lib/google/cloud/dialogflow/v2/conversation_models/credentials.rb
211
+ - lib/google/cloud/dialogflow/v2/conversation_models/operations.rb
212
+ - lib/google/cloud/dialogflow/v2/conversation_models/paths.rb
199
213
  - lib/google/cloud/dialogflow/v2/conversation_pb.rb
200
214
  - lib/google/cloud/dialogflow/v2/conversation_profile_pb.rb
201
215
  - lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb
202
216
  - lib/google/cloud/dialogflow/v2/conversation_profiles.rb
203
217
  - lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb
204
218
  - lib/google/cloud/dialogflow/v2/conversation_profiles/credentials.rb
219
+ - lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb
205
220
  - lib/google/cloud/dialogflow/v2/conversation_profiles/paths.rb
206
221
  - lib/google/cloud/dialogflow/v2/conversation_services_pb.rb
207
222
  - lib/google/cloud/dialogflow/v2/conversations.rb
@@ -284,7 +299,9 @@ files:
284
299
  - proto_docs/google/cloud/dialogflow/v2/audio_config.rb
285
300
  - proto_docs/google/cloud/dialogflow/v2/context.rb
286
301
  - proto_docs/google/cloud/dialogflow/v2/conversation.rb
302
+ - proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb
287
303
  - proto_docs/google/cloud/dialogflow/v2/conversation_event.rb
304
+ - proto_docs/google/cloud/dialogflow/v2/conversation_model.rb
288
305
  - proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb
289
306
  - proto_docs/google/cloud/dialogflow/v2/document.rb
290
307
  - proto_docs/google/cloud/dialogflow/v2/entity_type.rb