google-cloud-dialogflow-v2 0.20.0 → 0.21.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/agent_services_pb.rb +12 -8
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +16 -12
- data/lib/google/cloud/dialogflow/v2/agents.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/answer_record_pb.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/answer_record_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/answer_records.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/contexts.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_dataset_services_pb.rb +10 -5
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +12 -7
- data/lib/google/cloud/dialogflow/v2/conversation_datasets.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_model_pb.rb +1 -0
- data/lib/google/cloud/dialogflow/v2/conversation_model_services_pb.rb +10 -5
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +10 -5
- data/lib/google/cloud/dialogflow/v2/conversation_models.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +18 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +14 -7
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +14 -7
- data/lib/google/cloud/dialogflow/v2/conversation_profiles.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +14 -6
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +119 -8
- data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +45 -0
- data/lib/google/cloud/dialogflow/v2/conversations.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/document_services_pb.rb +16 -8
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +20 -12
- data/lib/google/cloud/dialogflow/v2/documents.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/entity_type_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/entity_types.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +4 -4
- data/lib/google/cloud/dialogflow/v2/environments.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/fulfillments.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/intent_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/intents.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_base_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/participants.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_type_services_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types.rb +3 -2
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +8 -6
- data/lib/google/cloud/dialogflow/v2/sessions.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/versions.rb +1 -1
- data/lib/google/cloud/dialogflow/v2.rb +2 -2
- data/proto_docs/google/cloud/dialogflow/v2/agent.rb +26 -15
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +34 -9
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +28 -18
- data/proto_docs/google/cloud/dialogflow/v2/context.rb +14 -7
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +99 -14
- data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +15 -10
- data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +41 -14
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +28 -15
- data/proto_docs/google/cloud/dialogflow/v2/document.rb +26 -15
- data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +30 -15
- data/proto_docs/google/cloud/dialogflow/v2/environment.rb +37 -29
- data/proto_docs/google/cloud/dialogflow/v2/fulfillment.rb +12 -7
- data/proto_docs/google/cloud/dialogflow/v2/intent.rb +33 -17
- data/proto_docs/google/cloud/dialogflow/v2/knowledge_base.rb +12 -6
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +105 -59
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +60 -45
- data/proto_docs/google/cloud/dialogflow/v2/session_entity_type.rb +15 -8
- data/proto_docs/google/cloud/dialogflow/v2/version.rb +20 -14
- data/proto_docs/google/cloud/dialogflow/v2/webhook.rb +20 -13
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +5 -5
@@ -24,9 +24,9 @@ module Google
|
|
24
24
|
# Represents metadata of a conversation.
|
25
25
|
# @!attribute [rw] language_code
|
26
26
|
# @return [::String]
|
27
|
-
# Optional. The language code of the conversation data within this dataset.
|
28
|
-
# https://cloud.google.com/apis/design/standard_fields for more
|
29
|
-
# Supports all UTF-8 languages.
|
27
|
+
# Optional. The language code of the conversation data within this dataset.
|
28
|
+
# See https://cloud.google.com/apis/design/standard_fields for more
|
29
|
+
# information. Supports all UTF-8 languages.
|
30
30
|
class ConversationInfo
|
31
31
|
include ::Google::Protobuf::MessageExts
|
32
32
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -70,7 +70,8 @@ module Google
|
|
70
70
|
# Output only. Metadata set during conversation data import.
|
71
71
|
# @!attribute [r] conversation_count
|
72
72
|
# @return [::Integer]
|
73
|
-
# Output only. The number of conversations this conversation dataset
|
73
|
+
# Output only. The number of conversations this conversation dataset
|
74
|
+
# contains.
|
74
75
|
class ConversationDataset
|
75
76
|
include ::Google::Protobuf::MessageExts
|
76
77
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -106,8 +107,8 @@ module Google
|
|
106
107
|
# {::Google::Cloud::Dialogflow::V2::ConversationDatasets::Client#list_conversation_datasets ConversationDatasets.ListConversationDatasets}.
|
107
108
|
# @!attribute [rw] parent
|
108
109
|
# @return [::String]
|
109
|
-
# Required. The project and location name to list all conversation datasets
|
110
|
-
# Format: `projects/<Project ID>/locations/<Location ID>`
|
110
|
+
# Required. The project and location name to list all conversation datasets
|
111
|
+
# for. Format: `projects/<Project ID>/locations/<Location ID>`
|
111
112
|
# @!attribute [rw] page_size
|
112
113
|
# @return [::Integer]
|
113
114
|
# Optional. Maximum number of conversation datasets to return in a single
|
@@ -146,7 +147,8 @@ module Google
|
|
146
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
148
|
end
|
148
149
|
|
149
|
-
# The request message for
|
150
|
+
# The request message for
|
151
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationDatasets::Client#import_conversation_data ConversationDatasets.ImportConversationData}.
|
150
152
|
# @!attribute [rw] name
|
151
153
|
# @return [::String]
|
152
154
|
# Required. Dataset resource name. Format:
|
@@ -160,7 +162,9 @@ module Google
|
|
160
162
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
163
|
end
|
162
164
|
|
163
|
-
# Metadata for a
|
165
|
+
# Metadata for a
|
166
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationDatasets::Client#import_conversation_data ConversationDatasets.ImportConversationData}
|
167
|
+
# operation.
|
164
168
|
# @!attribute [rw] conversation_dataset
|
165
169
|
# @return [::String]
|
166
170
|
# The resource name of the imported conversation dataset. Format:
|
@@ -179,8 +183,9 @@ module Google
|
|
179
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
184
|
end
|
181
185
|
|
182
|
-
# Response used for
|
183
|
-
#
|
186
|
+
# Response used for
|
187
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationDatasets::Client#import_conversation_data ConversationDatasets.ImportConversationData}
|
188
|
+
# long running operation.
|
184
189
|
# @!attribute [rw] conversation_dataset
|
185
190
|
# @return [::String]
|
186
191
|
# The resource name of the imported conversation dataset. Format:
|
@@ -119,6 +119,23 @@ module Google
|
|
119
119
|
# @!attribute [r] smart_reply_metrics
|
120
120
|
# @return [::Google::Cloud::Dialogflow::V2::SmartReplyMetrics]
|
121
121
|
# Output only. Only available when model is for smart reply.
|
122
|
+
# @!attribute [r] raw_human_eval_template_csv
|
123
|
+
# @return [::String]
|
124
|
+
# Output only. Human eval template in csv format.
|
125
|
+
# It tooks real-world conversations provided through input dataset, generates
|
126
|
+
# example suggestions for customer to verify quality of the model.
|
127
|
+
# For Smart Reply, the generated csv file contains columns of
|
128
|
+
# Context, (Suggestions,Q1,Q2)*3, Actual reply.
|
129
|
+
# Context contains at most 10 latest messages in the conversation prior to
|
130
|
+
# the current suggestion.
|
131
|
+
# Q1: "Would you send it as the next message of agent?"
|
132
|
+
# Evaluated based on whether the suggest is appropriate to be sent by
|
133
|
+
# agent in current context.
|
134
|
+
# Q2: "Does the suggestion move the conversation closer to resolution?"
|
135
|
+
# Evaluated based on whether the suggestion provide solutions, or answers
|
136
|
+
# customer's question or collect information from customer to resolve the
|
137
|
+
# customer's issue.
|
138
|
+
# Actual reply column contains the actual agent reply sent in the context.
|
122
139
|
class ConversationModelEvaluation
|
123
140
|
include ::Google::Protobuf::MessageExts
|
124
141
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -146,10 +163,10 @@ module Google
|
|
146
163
|
# ID>/documents/<Document ID>`. Only used for smart reply model.
|
147
164
|
# @!attribute [rw] max_result_count
|
148
165
|
# @return [::Integer]
|
149
|
-
# Required. The model to be evaluated can return multiple results with
|
150
|
-
# score on each query. These results will be sorted by the
|
151
|
-
# of the scores and we only keep the first
|
152
|
-
# final results to evaluate.
|
166
|
+
# Required. The model to be evaluated can return multiple results with
|
167
|
+
# confidence score on each query. These results will be sorted by the
|
168
|
+
# descending order of the scores and we only keep the first
|
169
|
+
# max_result_count results as the final results to evaluate.
|
153
170
|
class SmartReplyConfig
|
154
171
|
include ::Google::Protobuf::MessageExts
|
155
172
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -163,10 +180,10 @@ module Google
|
|
163
180
|
# ID>/documents/<Document ID>`. Only used for smart compose model.
|
164
181
|
# @!attribute [rw] max_result_count
|
165
182
|
# @return [::Integer]
|
166
|
-
# Required. The model to be evaluated can return multiple results with
|
167
|
-
# score on each query. These results will be sorted by the
|
168
|
-
# of the scores and we only keep the first
|
169
|
-
# final results to evaluate.
|
183
|
+
# Required. The model to be evaluated can return multiple results with
|
184
|
+
# confidence score on each query. These results will be sorted by the
|
185
|
+
# descending order of the scores and we only keep the first
|
186
|
+
# max_result_count results as the final results to evaluate.
|
170
187
|
class SmartComposeConfig
|
171
188
|
include ::Google::Protobuf::MessageExts
|
172
189
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -188,7 +205,8 @@ module Google
|
|
188
205
|
# Metadata for article suggestion models.
|
189
206
|
# @!attribute [rw] training_model_type
|
190
207
|
# @return [::Google::Cloud::Dialogflow::V2::ConversationModel::ModelType]
|
191
|
-
# Optional. Type of the article suggestion model. If not provided, model_type
|
208
|
+
# Optional. Type of the article suggestion model. If not provided, model_type
|
209
|
+
# is used.
|
192
210
|
class ArticleSuggestionModelMetadata
|
193
211
|
include ::Google::Protobuf::MessageExts
|
194
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -197,7 +215,8 @@ module Google
|
|
197
215
|
# Metadata for smart reply models.
|
198
216
|
# @!attribute [rw] training_model_type
|
199
217
|
# @return [::Google::Cloud::Dialogflow::V2::ConversationModel::ModelType]
|
200
|
-
# Optional. Type of the smart reply model. If not provided, model_type is
|
218
|
+
# Optional. Type of the smart reply model. If not provided, model_type is
|
219
|
+
# used.
|
201
220
|
class SmartReplyModelMetadata
|
202
221
|
include ::Google::Protobuf::MessageExts
|
203
222
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -386,7 +405,9 @@ module Google
|
|
386
405
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
387
406
|
end
|
388
407
|
|
389
|
-
# Metadata for a
|
408
|
+
# Metadata for a
|
409
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#create_conversation_model ConversationModels.CreateConversationModel}
|
410
|
+
# operation.
|
390
411
|
# @!attribute [rw] conversation_model
|
391
412
|
# @return [::String]
|
392
413
|
# The resource name of the conversation model. Format:
|
@@ -429,7 +450,9 @@ module Google
|
|
429
450
|
end
|
430
451
|
end
|
431
452
|
|
432
|
-
# Metadata for a
|
453
|
+
# Metadata for a
|
454
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#deploy_conversation_model ConversationModels.DeployConversationModel}
|
455
|
+
# operation.
|
433
456
|
# @!attribute [rw] conversation_model
|
434
457
|
# @return [::String]
|
435
458
|
# The resource name of the conversation model. Format:
|
@@ -443,7 +466,9 @@ module Google
|
|
443
466
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
444
467
|
end
|
445
468
|
|
446
|
-
# Metadata for a
|
469
|
+
# Metadata for a
|
470
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#undeploy_conversation_model ConversationModels.UndeployConversationModel}
|
471
|
+
# operation.
|
447
472
|
# @!attribute [rw] conversation_model
|
448
473
|
# @return [::String]
|
449
474
|
# The resource name of the conversation model. Format:
|
@@ -457,7 +482,9 @@ module Google
|
|
457
482
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
458
483
|
end
|
459
484
|
|
460
|
-
# Metadata for a
|
485
|
+
# Metadata for a
|
486
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationModels::Client#delete_conversation_model ConversationModels.DeleteConversationModel}
|
487
|
+
# operation.
|
461
488
|
# @!attribute [rw] conversation_model
|
462
489
|
# @return [::String]
|
463
490
|
# The resource name of the conversation model. Format:
|
@@ -83,7 +83,8 @@ module Google
|
|
83
83
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
84
|
end
|
85
85
|
|
86
|
-
# The request message for
|
86
|
+
# The request message for
|
87
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#list_conversation_profiles ConversationProfiles.ListConversationProfiles}.
|
87
88
|
# @!attribute [rw] parent
|
88
89
|
# @return [::String]
|
89
90
|
# Required. The project to list all conversation profiles from.
|
@@ -100,7 +101,8 @@ module Google
|
|
100
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
101
102
|
end
|
102
103
|
|
103
|
-
# The response message for
|
104
|
+
# The response message for
|
105
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#list_conversation_profiles ConversationProfiles.ListConversationProfiles}.
|
104
106
|
# @!attribute [rw] conversation_profiles
|
105
107
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::ConversationProfile>]
|
106
108
|
# The list of project conversation profiles. There is a maximum number
|
@@ -114,7 +116,8 @@ module Google
|
|
114
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
117
|
end
|
116
118
|
|
117
|
-
# The request message for
|
119
|
+
# The request message for
|
120
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#get_conversation_profile ConversationProfiles.GetConversationProfile}.
|
118
121
|
# @!attribute [rw] name
|
119
122
|
# @return [::String]
|
120
123
|
# Required. The resource name of the conversation profile.
|
@@ -125,7 +128,8 @@ module Google
|
|
125
128
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
129
|
end
|
127
130
|
|
128
|
-
# The request message for
|
131
|
+
# The request message for
|
132
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#create_conversation_profile ConversationProfiles.CreateConversationProfile}.
|
129
133
|
# @!attribute [rw] parent
|
130
134
|
# @return [::String]
|
131
135
|
# Required. The project to create a conversation profile for.
|
@@ -138,7 +142,8 @@ module Google
|
|
138
142
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
143
|
end
|
140
144
|
|
141
|
-
# The request message for
|
145
|
+
# The request message for
|
146
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#update_conversation_profile ConversationProfiles.UpdateConversationProfile}.
|
142
147
|
# @!attribute [rw] conversation_profile
|
143
148
|
# @return [::Google::Cloud::Dialogflow::V2::ConversationProfile]
|
144
149
|
# Required. The conversation profile to update.
|
@@ -150,7 +155,8 @@ module Google
|
|
150
155
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
151
156
|
end
|
152
157
|
|
153
|
-
# The request message for
|
158
|
+
# The request message for
|
159
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#delete_conversation_profile ConversationProfiles.DeleteConversationProfile}.
|
154
160
|
#
|
155
161
|
# This operation fails if the conversation profile is still referenced from
|
156
162
|
# a phone number.
|
@@ -351,8 +357,8 @@ module Google
|
|
351
357
|
# Supported feature: DIALOGFLOW_ASSIST.
|
352
358
|
# @!attribute [rw] agent
|
353
359
|
# @return [::String]
|
354
|
-
# Required. The name of a Dialogflow virtual agent used for end user side
|
355
|
-
# detection and suggestion. Format: `projects/<Project Number/
|
360
|
+
# Required. The name of a Dialogflow virtual agent used for end user side
|
361
|
+
# intent detection and suggestion. Format: `projects/<Project Number/
|
356
362
|
# ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
|
357
363
|
# the same Dialogflow project.
|
358
364
|
class DialogflowQuerySource
|
@@ -418,11 +424,17 @@ module Google
|
|
418
424
|
# and identifies the prevailing subjective opinion, especially to determine
|
419
425
|
# a user's attitude as positive, negative, or neutral:
|
420
426
|
# https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
|
421
|
-
# For
|
427
|
+
# For
|
428
|
+
# {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_analyze_content Participants.StreamingAnalyzeContent}
|
429
|
+
# method, result will be in
|
422
430
|
# {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse#message StreamingAnalyzeContentResponse.message.SentimentAnalysisResult}.
|
423
|
-
# For
|
431
|
+
# For
|
432
|
+
# {::Google::Cloud::Dialogflow::V2::Participants::Client#analyze_content Participants.AnalyzeContent}
|
433
|
+
# method, result will be in
|
424
434
|
# {::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse#message AnalyzeContentResponse.message.SentimentAnalysisResult}
|
425
|
-
# For
|
435
|
+
# For
|
436
|
+
# {::Google::Cloud::Dialogflow::V2::Conversations::Client#list_messages Conversations.ListMessages}
|
437
|
+
# method, result will be in
|
426
438
|
# {::Google::Cloud::Dialogflow::V2::ListMessagesResponse#messages ListMessagesResponse.messages.SentimentAnalysisResult}
|
427
439
|
# If Pub/Sub notification is configured, result will be in
|
428
440
|
# {::Google::Cloud::Dialogflow::V2::ConversationEvent#new_message_payload ConversationEvent.new_message_payload.SentimentAnalysisResult}.
|
@@ -484,8 +496,9 @@ module Google
|
|
484
496
|
# @return [::String]
|
485
497
|
# Name of the Pub/Sub topic to publish conversation
|
486
498
|
# events like
|
487
|
-
# {::Google::Cloud::Dialogflow::V2::ConversationEvent::Type::CONVERSATION_STARTED CONVERSATION_STARTED}
|
488
|
-
# serialized
|
499
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationEvent::Type::CONVERSATION_STARTED CONVERSATION_STARTED}
|
500
|
+
# as serialized
|
501
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationEvent ConversationEvent} protos.
|
489
502
|
#
|
490
503
|
# For telephony integration to receive notification, make sure either this
|
491
504
|
# topic is in the same project as the conversation or you grant
|
@@ -521,8 +534,8 @@ module Google
|
|
521
534
|
# @!attribute [rw] enable_stackdriver_logging
|
522
535
|
# @return [::Boolean]
|
523
536
|
# Whether to log conversation events like
|
524
|
-
# {::Google::Cloud::Dialogflow::V2::ConversationEvent::Type::CONVERSATION_STARTED CONVERSATION_STARTED}
|
525
|
-
# Stackdriver in the conversation project as JSON format
|
537
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationEvent::Type::CONVERSATION_STARTED CONVERSATION_STARTED}
|
538
|
+
# to Stackdriver in the conversation project as JSON format
|
526
539
|
# {::Google::Cloud::Dialogflow::V2::ConversationEvent ConversationEvent} protos.
|
527
540
|
class LoggingConfig
|
528
541
|
include ::Google::Protobuf::MessageExts
|
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module Dialogflow
|
23
23
|
module V2
|
24
|
-
# A knowledge document to be used by a
|
24
|
+
# A knowledge document to be used by a
|
25
|
+
# {::Google::Cloud::Dialogflow::V2::KnowledgeBase KnowledgeBase}.
|
25
26
|
#
|
26
27
|
# For more information, see the [knowledge base
|
27
28
|
# guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
|
@@ -166,7 +167,8 @@ module Google
|
|
166
167
|
end
|
167
168
|
end
|
168
169
|
|
169
|
-
# Request message for
|
170
|
+
# Request message for
|
171
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#get_document Documents.GetDocument}.
|
170
172
|
# @!attribute [rw] name
|
171
173
|
# @return [::String]
|
172
174
|
# Required. The name of the document to retrieve.
|
@@ -177,7 +179,8 @@ module Google
|
|
177
179
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
180
|
end
|
179
181
|
|
180
|
-
# Request message for
|
182
|
+
# Request message for
|
183
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#list_documents Documents.ListDocuments}.
|
181
184
|
# @!attribute [rw] parent
|
182
185
|
# @return [::String]
|
183
186
|
# Required. The knowledge base to list all documents for.
|
@@ -218,7 +221,8 @@ module Google
|
|
218
221
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
222
|
end
|
220
223
|
|
221
|
-
# Response message for
|
224
|
+
# Response message for
|
225
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#list_documents Documents.ListDocuments}.
|
222
226
|
# @!attribute [rw] documents
|
223
227
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::Document>]
|
224
228
|
# The list of documents.
|
@@ -231,7 +235,8 @@ module Google
|
|
231
235
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
232
236
|
end
|
233
237
|
|
234
|
-
# Request message for
|
238
|
+
# Request message for
|
239
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#create_document Documents.CreateDocument}.
|
235
240
|
# @!attribute [rw] parent
|
236
241
|
# @return [::String]
|
237
242
|
# Required. The knowledge base to create a document for.
|
@@ -245,7 +250,8 @@ module Google
|
|
245
250
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
246
251
|
end
|
247
252
|
|
248
|
-
# Request message for
|
253
|
+
# Request message for
|
254
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#import_documents Documents.ImportDocuments}.
|
249
255
|
# @!attribute [rw] parent
|
250
256
|
# @return [::String]
|
251
257
|
# Required. The knowledge base to import documents into.
|
@@ -298,7 +304,8 @@ module Google
|
|
298
304
|
end
|
299
305
|
end
|
300
306
|
|
301
|
-
# Response message for
|
307
|
+
# Response message for
|
308
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#import_documents Documents.ImportDocuments}.
|
302
309
|
# @!attribute [rw] warnings
|
303
310
|
# @return [::Array<::Google::Rpc::Status>]
|
304
311
|
# Includes details about skipped documents or any other warnings.
|
@@ -307,7 +314,8 @@ module Google
|
|
307
314
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
308
315
|
end
|
309
316
|
|
310
|
-
# Request message for
|
317
|
+
# Request message for
|
318
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#delete_document Documents.DeleteDocument}.
|
311
319
|
# @!attribute [rw] name
|
312
320
|
# @return [::String]
|
313
321
|
# Required. The name of the document to delete.
|
@@ -318,7 +326,8 @@ module Google
|
|
318
326
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
319
327
|
end
|
320
328
|
|
321
|
-
# Request message for
|
329
|
+
# Request message for
|
330
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#update_document Documents.UpdateDocument}.
|
322
331
|
# @!attribute [rw] document
|
323
332
|
# @return [::Google::Cloud::Dialogflow::V2::Document]
|
324
333
|
# Required. The document to update.
|
@@ -332,7 +341,8 @@ module Google
|
|
332
341
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
333
342
|
end
|
334
343
|
|
335
|
-
# Request message for
|
344
|
+
# Request message for
|
345
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#reload_document Documents.ReloadDocument}.
|
336
346
|
# @!attribute [rw] name
|
337
347
|
# @return [::String]
|
338
348
|
# Required. The name of the document to reload.
|
@@ -340,8 +350,8 @@ module Google
|
|
340
350
|
# ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`
|
341
351
|
# @!attribute [rw] content_uri
|
342
352
|
# @return [::String]
|
343
|
-
# Optional. The path of gcs source file for reloading document content. For
|
344
|
-
# only gcs uri is supported.
|
353
|
+
# Optional. The path of gcs source file for reloading document content. For
|
354
|
+
# now, only gcs uri is supported.
|
345
355
|
#
|
346
356
|
# For documents stored in Google Cloud Storage, these URIs must have
|
347
357
|
# the form `gs://<bucket-name>/<object-name>`.
|
@@ -351,14 +361,15 @@ module Google
|
|
351
361
|
# Only valid when the document source is Google Cloud Storage URI.
|
352
362
|
# @!attribute [rw] smart_messaging_partial_update
|
353
363
|
# @return [::Boolean]
|
354
|
-
# Optional. When enabled, the reload request is to apply partial update to
|
355
|
-
# messaging allowlist.
|
364
|
+
# Optional. When enabled, the reload request is to apply partial update to
|
365
|
+
# the smart messaging allowlist.
|
356
366
|
class ReloadDocumentRequest
|
357
367
|
include ::Google::Protobuf::MessageExts
|
358
368
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
359
369
|
end
|
360
370
|
|
361
|
-
# Request message for
|
371
|
+
# Request message for
|
372
|
+
# {::Google::Cloud::Dialogflow::V2::Documents::Client#export_document Documents.ExportDocument}.
|
362
373
|
# @!attribute [rw] name
|
363
374
|
# @return [::String]
|
364
375
|
# Required. The name of the document to export.
|
@@ -36,9 +36,12 @@ module Google
|
|
36
36
|
# @!attribute [rw] name
|
37
37
|
# @return [::String]
|
38
38
|
# The unique identifier of the entity type.
|
39
|
-
# Required for
|
40
|
-
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#
|
41
|
-
#
|
39
|
+
# Required for
|
40
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#update_entity_type EntityTypes.UpdateEntityType}
|
41
|
+
# and
|
42
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}
|
43
|
+
# methods. Format: `projects/<Project ID>/agent/entityTypes/<Entity Type
|
44
|
+
# ID>`.
|
42
45
|
# @!attribute [rw] display_name
|
43
46
|
# @return [::String]
|
44
47
|
# Required. The name of the entity type.
|
@@ -120,7 +123,8 @@ module Google
|
|
120
123
|
end
|
121
124
|
end
|
122
125
|
|
123
|
-
# The request message for
|
126
|
+
# The request message for
|
127
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
|
124
128
|
# @!attribute [rw] parent
|
125
129
|
# @return [::String]
|
126
130
|
# Required. The agent to list all entity types from.
|
@@ -144,7 +148,8 @@ module Google
|
|
144
148
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
145
149
|
end
|
146
150
|
|
147
|
-
# The response message for
|
151
|
+
# The response message for
|
152
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#list_entity_types EntityTypes.ListEntityTypes}.
|
148
153
|
# @!attribute [rw] entity_types
|
149
154
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::EntityType>]
|
150
155
|
# The list of agent entity types. There will be a maximum number of items
|
@@ -158,7 +163,8 @@ module Google
|
|
158
163
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
164
|
end
|
160
165
|
|
161
|
-
# The request message for
|
166
|
+
# The request message for
|
167
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#get_entity_type EntityTypes.GetEntityType}.
|
162
168
|
# @!attribute [rw] name
|
163
169
|
# @return [::String]
|
164
170
|
# Required. The name of the entity type.
|
@@ -175,7 +181,8 @@ module Google
|
|
175
181
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
176
182
|
end
|
177
183
|
|
178
|
-
# The request message for
|
184
|
+
# The request message for
|
185
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#create_entity_type EntityTypes.CreateEntityType}.
|
179
186
|
# @!attribute [rw] parent
|
180
187
|
# @return [::String]
|
181
188
|
# Required. The agent to create a entity type for.
|
@@ -195,7 +202,8 @@ module Google
|
|
195
202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
196
203
|
end
|
197
204
|
|
198
|
-
# The request message for
|
205
|
+
# The request message for
|
206
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#update_entity_type EntityTypes.UpdateEntityType}.
|
199
207
|
# @!attribute [rw] entity_type
|
200
208
|
# @return [::Google::Cloud::Dialogflow::V2::EntityType]
|
201
209
|
# Required. The entity type to update.
|
@@ -214,7 +222,8 @@ module Google
|
|
214
222
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
215
223
|
end
|
216
224
|
|
217
|
-
# The request message for
|
225
|
+
# The request message for
|
226
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#delete_entity_type EntityTypes.DeleteEntityType}.
|
218
227
|
# @!attribute [rw] name
|
219
228
|
# @return [::String]
|
220
229
|
# Required. The name of the entity type to delete.
|
@@ -224,7 +233,8 @@ module Google
|
|
224
233
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
234
|
end
|
226
235
|
|
227
|
-
# The request message for
|
236
|
+
# The request message for
|
237
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}.
|
228
238
|
# @!attribute [rw] parent
|
229
239
|
# @return [::String]
|
230
240
|
# Required. The name of the agent to update or create entity types in.
|
@@ -253,7 +263,8 @@ module Google
|
|
253
263
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
254
264
|
end
|
255
265
|
|
256
|
-
# The response message for
|
266
|
+
# The response message for
|
267
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entity_types EntityTypes.BatchUpdateEntityTypes}.
|
257
268
|
# @!attribute [rw] entity_types
|
258
269
|
# @return [::Array<::Google::Cloud::Dialogflow::V2::EntityType>]
|
259
270
|
# The collection of updated or created entity types.
|
@@ -262,7 +273,8 @@ module Google
|
|
262
273
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
263
274
|
end
|
264
275
|
|
265
|
-
# The request message for
|
276
|
+
# The request message for
|
277
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_delete_entity_types EntityTypes.BatchDeleteEntityTypes}.
|
266
278
|
# @!attribute [rw] parent
|
267
279
|
# @return [::String]
|
268
280
|
# Required. The name of the agent to delete all entities types for. Format:
|
@@ -276,7 +288,8 @@ module Google
|
|
276
288
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
277
289
|
end
|
278
290
|
|
279
|
-
# The request message for
|
291
|
+
# The request message for
|
292
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_create_entities EntityTypes.BatchCreateEntities}.
|
280
293
|
# @!attribute [rw] parent
|
281
294
|
# @return [::String]
|
282
295
|
# Required. The name of the entity type to create entities in. Format:
|
@@ -296,7 +309,8 @@ module Google
|
|
296
309
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
297
310
|
end
|
298
311
|
|
299
|
-
# The request message for
|
312
|
+
# The request message for
|
313
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_update_entities EntityTypes.BatchUpdateEntities}.
|
300
314
|
# @!attribute [rw] parent
|
301
315
|
# @return [::String]
|
302
316
|
# Required. The name of the entity type to update or create entities in.
|
@@ -319,7 +333,8 @@ module Google
|
|
319
333
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
320
334
|
end
|
321
335
|
|
322
|
-
# The request message for
|
336
|
+
# The request message for
|
337
|
+
# {::Google::Cloud::Dialogflow::V2::EntityTypes::Client#batch_delete_entities EntityTypes.BatchDeleteEntities}.
|
323
338
|
# @!attribute [rw] parent
|
324
339
|
# @return [::String]
|
325
340
|
# Required. The name of the entity type to delete entries for. Format:
|