google-cloud-dialogflow-cx-v3 0.24.2 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +13 -1
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +4 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +273 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +803 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +259 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +917 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +120 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/generative_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/generator_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/inline_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/safety_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +6 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +122 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +116 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +63 -0
- data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +2 -1
- data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +10 -31
- data/proto_docs/google/cloud/dialogflow/cx/v3/changelog.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +190 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +3 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +24 -6
- metadata +6 -116
@@ -10,6 +10,7 @@ require 'google/api/field_behavior_pb'
|
|
10
10
|
require 'google/api/resource_pb'
|
11
11
|
require 'google/cloud/dialogflow/cx/v3/advanced_settings_pb'
|
12
12
|
require 'google/cloud/dialogflow/cx/v3/audio_config_pb'
|
13
|
+
require 'google/cloud/dialogflow/cx/v3/flow_pb'
|
13
14
|
require 'google/cloud/dialogflow/cx/v3/intent_pb'
|
14
15
|
require 'google/cloud/dialogflow/cx/v3/page_pb'
|
15
16
|
require 'google/cloud/dialogflow/cx/v3/response_message_pb'
|
@@ -21,7 +22,7 @@ require 'google/rpc/status_pb'
|
|
21
22
|
require 'google/type/latlng_pb'
|
22
23
|
|
23
24
|
|
24
|
-
descriptor_data = "\n+google/cloud/dialogflow/cx/v3/session.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x37google/cloud/dialogflow/cx/v3/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto\"\xd9\x02\n\x0e\x41nswerFeedback\x12J\n\x06rating\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingB\x04\xe2\x41\x01\x01\x12W\n\rrating_reason\x18\x02 \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReasonB\x04\xe2\x41\x01\x01\x12\x1b\n\rcustom_rating\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x1a\x43\n\x0cRatingReason\x12\x1b\n\rreason_labels\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"@\n\x06Rating\x12\x16\n\x12RATING_UNSPECIFIED\x10\x00\x12\r\n\tTHUMBS_UP\x10\x01\x12\x0f\n\x0bTHUMBS_DOWN\x10\x02\"\xfa\x01\n\x1bSubmitAnswerFeedbackRequest\x12;\n\x07session\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x19\n\x0bresponse_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12L\n\x0f\x61nswer_feedback\x18\x03 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.AnswerFeedbackB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"\xad\x02\n\x13\x44\x65tectIntentRequest\x12;\n\x07session\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x44\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x04\xe2\x41\x01\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\x8e\x03\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12M\n\x13output_audio_config\x18\x05 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12W\n\rresponse_type\x18\x06 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType\x12\x1a\n\x12\x61llow_cancellation\x18\x07 \x01(\x08\"E\n\x0cResponseType\x12\x1d\n\x19RESPONSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xf2\x02\n\x1cStreamingDetectIntentRequest\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x44\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x04\xe2\x41\x01\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12\x1f\n\x17\x65nable_partial_response\x18\x05 \x01(\x08\x12\x1d\n\x15\x65nable_debugging_info\x18\x08 \x01(\x08\"\xb0\x07\n\x1e\x43loudConversationDebuggingInfo\x12\x19\n\x11\x61udio_data_chunks\x18\x01 \x01(\x05\x12\x39\n\x16result_end_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14\x66irst_audio_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10single_utterance\x18\x05 \x01(\x08\x12\x43\n speech_partial_results_end_times\x18\x06 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1espeech_final_results_end_times\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11partial_responses\x18\x08 \x01(\x05\x12,\n$speaker_id_passive_latency_ms_offset\x18\t \x01(\x05\x12\x1f\n\x17\x62\x61rgein_event_triggered\x18\n \x01(\x08\x12\x1f\n\x17speech_single_utterance\x18\x0b \x01(\x08\x12=\n\x1a\x64tmf_partial_results_times\x18\x0c \x03(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18\x64tmf_final_results_times\x18\r \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n single_utterance_end_time_offset\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11no_speech_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13\x65ndpointing_timeout\x18\x13 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\ris_input_text\x18\x10 \x01(\x08\x12@\n\x1d\x63lient_half_close_time_offset\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\'client_half_close_streaming_time_offset\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb2\x02\n\x1dStreamingDetectIntentResponse\x12W\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.StreamingRecognitionResultH\x00\x12U\n\x16\x64\x65tect_intent_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponseH\x00\x12U\n\x0e\x64\x65\x62ugging_info\x18\x04 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfoB\n\n\x08response\"\xb6\x03\n\x1aStreamingRecognitionResult\x12[\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x11\n\tstability\x18\x06 \x01(\x02\x12G\n\x10speech_word_info\x18\x07 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.SpeechWordInfo\x12\x34\n\x11speech_end_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rlanguage_code\x18\n \x01(\t\"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02\"\x8e\x06\n\x0fQueryParameters\x12\x11\n\ttime_zone\x18\x01 \x01(\t\x12)\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLng\x12N\n\x14session_entity_types\x18\x03 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nparameters\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x17\n\x0f\x64isable_webhook\x18\x07 \x01(\x08\x12$\n\x1c\x61nalyze_query_text_sentiment\x18\x08 \x01(\x08\x12[\n\x0fwebhook_headers\x18\n \x03(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.QueryParameters.WebhookHeadersEntry\x12=\n\rflow_versions\x18\x0e \x03(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x0f\n\x07\x63hannel\x18\x0f \x01(\t\x12\x34\n\x0bsession_ttl\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x01\x12\x38\n\x11\x65nd_user_metadata\x18\x12 \x01(\x0b\x32\x17.google.protobuf.StructB\x04\xe2\x41\x01\x01\x12H\n\rsearch_config\x18\x14 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.SearchConfigB\x04\xe2\x41\x01\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x0cSearchConfig\x12\x44\n\x0b\x62oost_specs\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.cx.v3.BoostSpecsB\x04\xe2\x41\x01\x01\x12\x46\n\x0c\x66ilter_specs\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.FilterSpecsB\x04\xe2\x41\x01\x01\"\xb1\x01\n\tBoostSpec\x12`\n\x15\x63ondition_boost_specs\x18\x01 \x03(\x0b\x32;.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpecB\x04\xe2\x41\x01\x01\x1a\x42\n\x12\x43onditionBoostSpec\x12\x17\n\tcondition\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05\x62oost\x18\x02 \x01(\x02\x42\x04\xe2\x41\x01\x01\"\x92\x01\n\nBoostSpecs\x12\x46\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB1\xe2\x41\x01\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12<\n\x04spec\x18\x02 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.BoostSpecB\x04\xe2\x41\x01\x01\"k\n\x0b\x46ilterSpecs\x12\x46\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB1\xe2\x41\x01\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x14\n\x06\x66ilter\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xdc\x02\n\nQueryInput\x12\x38\n\x04text\x18\x02 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.TextInputH\x00\x12<\n\x06intent\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.IntentInputH\x00\x12:\n\x05\x61udio\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.AudioInputH\x00\x12:\n\x05\x65vent\x18\x06 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EventInputH\x00\x12\x38\n\x04\x64tmf\x18\x07 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x1b\n\rlanguage_code\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x42\x07\n\x05input\"\x8c\x07\n\x0bQueryResult\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x38\n\x04\x64tmf\x18\x17 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12+\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12I\n\x11response_messages\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12,\n\x10webhook_statuses\x18\r \x03(\x0b\x32\x12.google.rpc.Status\x12\x31\n\x10webhook_payloads\x18\x06 \x03(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x07 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12\x39\n\x06intent\x18\x08 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.IntentB\x02\x18\x01\x12\'\n\x1bintent_detection_confidence\x18\t \x01(\x02\x42\x02\x18\x01\x12\x33\n\x05match\x18\x0f \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x30\n\x0f\x64iagnostic_info\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12Y\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x36.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult\x12J\n\x11\x61\x64vanced_settings\x18\x15 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12\x1d\n\x15\x61llow_answer_feedback\x18 \x01(\x08\x42\x07\n\x05query\"\x1f\n\tTextInput\x12\x12\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"H\n\x0bIntentInput\x12\x39\n\x06intent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n dialogflow.googleapis.com/Intent\"b\n\nAudioInput\x12\x45\n\x06\x63onfig\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.InputAudioConfigB\x04\xe2\x41\x01\x02\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\x1b\n\nEventInput\x12\r\n\x05\x65vent\x18\x01 \x01(\t\"1\n\tDtmfInput\x12\x0e\n\x06\x64igits\x18\x01 \x01(\t\x12\x14\n\x0c\x66inish_digit\x18\x02 \x01(\t\"\xf1\x02\n\x05Match\x12\x35\n\x06intent\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\r\n\x05\x65vent\x18\x06 \x01(\t\x12+\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0eresolved_input\x18\x03 \x01(\t\x12\x42\n\nmatch_type\x18\x04 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.Match.MatchType\x12\x12\n\nconfidence\x18\x05 \x01(\x02\"\x84\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x11\n\rDIRECT_INTENT\x10\x02\x12\x15\n\x11PARAMETER_FILLING\x10\x03\x12\x0c\n\x08NO_MATCH\x10\x04\x12\x0c\n\x08NO_INPUT\x10\x05\x12\t\n\x05\x45VENT\x10\x06\"\x80\x02\n\x12MatchIntentRequest\x12;\n\x07session\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x44\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x04\xe2\x41\x01\x02\x12!\n\x19persist_parameter_changes\x18\x05 \x01(\x08\"\x90\x02\n\x13MatchIntentResponse\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x02 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x03 \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x06 \x01(\tH\x00\x12\x35\n\x07matches\x18\x04 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x39\n\x0c\x63urrent_page\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageB\x07\n\x05query\"\xeb\x01\n\x14\x46ulfillIntentRequest\x12O\n\x14match_intent_request\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x12\x33\n\x05match\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\xd3\x01\n\x15\x46ulfillIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x03 \x01(\x0c\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\";\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xa2\x0b\n\x08Sessions\x12\xa6\x02\n\x0c\x44\x65tectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"E/v3/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent:\x01*ZY\"T/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent:\x01*\x12\x98\x01\n\x15StreamingDetectIntent\x12;.google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest\x1a<.google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse\"\x00(\x01\x30\x01\x12\xa1\x02\n\x0bMatchIntent\x12\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x1a\x32.google.cloud.dialogflow.cx.v3.MatchIntentResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"D/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent:\x01*ZX\"S/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent:\x01*\x12\xd5\x02\n\rFulfillIntent\x12\x33.google.cloud.dialogflow.cx.v3.FulfillIntentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.FulfillIntentResponse\"\xd8\x01\x82\xd3\xe4\x93\x02\xd1\x01\"[/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent:\x01*Zo\"j/v3/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent:\x01*\x12\xdb\x01\n\x14SubmitAnswerFeedback\x12:.google.cloud.dialogflow.cx.v3.SubmitAnswerFeedbackRequest\x1a-.google.cloud.dialogflow.cx.v3.AnswerFeedback\"X\x82\xd3\xe4\x93\x02R\"M/v3/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xd3\x04\n!com.google.cloud.dialogflow.cx.v3B\x0cSessionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\xd4\x01\n!dialogflow.googleapis.com/Session\x12Iprojects/{project}/locations/{location}/agents/{agent}/sessions/{session}\x12\x64projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}b\x06proto3"
|
25
|
+
descriptor_data = "\n+google/cloud/dialogflow/cx/v3/session.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/dialogflow/cx/v3/advanced_settings.proto\x1a\x30google/cloud/dialogflow/cx/v3/audio_config.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a\x37google/cloud/dialogflow/cx/v3/session_entity_type.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a\x18google/type/latlng.proto\"\xd4\x02\n\x0e\x41nswerFeedback\x12I\n\x06rating\x18\x01 \x01(\x0e\x32\x34.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingB\x03\xe0\x41\x01\x12V\n\rrating_reason\x18\x02 \x01(\x0b\x32:.google.cloud.dialogflow.cx.v3.AnswerFeedback.RatingReasonB\x03\xe0\x41\x01\x12\x1a\n\rcustom_rating\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a\x41\n\x0cRatingReason\x12\x1a\n\rreason_labels\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x02 \x01(\tB\x03\xe0\x41\x01\"@\n\x06Rating\x12\x16\n\x12RATING_UNSPECIFIED\x10\x00\x12\r\n\tTHUMBS_UP\x10\x01\x12\x0f\n\x0bTHUMBS_DOWN\x10\x02\"\xf6\x01\n\x1bSubmitAnswerFeedbackRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x18\n\x0bresponse_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0f\x61nswer_feedback\x18\x03 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.AnswerFeedbackB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\xab\x02\n\x13\x44\x65tectIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\x8e\x03\n\x14\x44\x65tectIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x04 \x01(\x0c\x12M\n\x13output_audio_config\x18\x05 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12W\n\rresponse_type\x18\x06 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.DetectIntentResponse.ResponseType\x12\x1a\n\x12\x61llow_cancellation\x18\x07 \x01(\x08\"E\n\x0cResponseType\x12\x1d\n\x19RESPONSE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PARTIAL\x10\x01\x12\t\n\x05\x46INAL\x10\x02\"\xf1\x02\n\x1cStreamingDetectIntentRequest\x12\x37\n\x07session\x18\x01 \x01(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\x12\x1f\n\x17\x65nable_partial_response\x18\x05 \x01(\x08\x12\x1d\n\x15\x65nable_debugging_info\x18\x08 \x01(\x08\"\xb0\x07\n\x1e\x43loudConversationDebuggingInfo\x12\x19\n\x11\x61udio_data_chunks\x18\x01 \x01(\x05\x12\x39\n\x16result_end_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14\x66irst_audio_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10single_utterance\x18\x05 \x01(\x08\x12\x43\n speech_partial_results_end_times\x18\x06 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x41\n\x1espeech_final_results_end_times\x18\x07 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x19\n\x11partial_responses\x18\x08 \x01(\x05\x12,\n$speaker_id_passive_latency_ms_offset\x18\t \x01(\x05\x12\x1f\n\x17\x62\x61rgein_event_triggered\x18\n \x01(\x08\x12\x1f\n\x17speech_single_utterance\x18\x0b \x01(\x08\x12=\n\x1a\x64tmf_partial_results_times\x18\x0c \x03(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x18\x64tmf_final_results_times\x18\r \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x43\n single_utterance_end_time_offset\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11no_speech_timeout\x18\x0f \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x13\x65ndpointing_timeout\x18\x13 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\ris_input_text\x18\x10 \x01(\x08\x12@\n\x1d\x63lient_half_close_time_offset\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12J\n\'client_half_close_streaming_time_offset\x18\x12 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb2\x02\n\x1dStreamingDetectIntentResponse\x12W\n\x12recognition_result\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.StreamingRecognitionResultH\x00\x12U\n\x16\x64\x65tect_intent_response\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponseH\x00\x12U\n\x0e\x64\x65\x62ugging_info\x18\x04 \x01(\x0b\x32=.google.cloud.dialogflow.cx.v3.CloudConversationDebuggingInfoB\n\n\x08response\"\xb6\x03\n\x1aStreamingRecognitionResult\x12[\n\x0cmessage_type\x18\x01 \x01(\x0e\x32\x45.google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.MessageType\x12\x12\n\ntranscript\x18\x02 \x01(\t\x12\x10\n\x08is_final\x18\x03 \x01(\x08\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x11\n\tstability\x18\x06 \x01(\x02\x12G\n\x10speech_word_info\x18\x07 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.SpeechWordInfo\x12\x34\n\x11speech_end_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rlanguage_code\x18\n \x01(\t\"X\n\x0bMessageType\x12\x1c\n\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTRANSCRIPT\x10\x01\x12\x1b\n\x17\x45ND_OF_SINGLE_UTTERANCE\x10\x02\"\x8b\x06\n\x0fQueryParameters\x12\x11\n\ttime_zone\x18\x01 \x01(\t\x12)\n\x0cgeo_location\x18\x02 \x01(\x0b\x32\x13.google.type.LatLng\x12N\n\x14session_entity_types\x18\x03 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.SessionEntityType\x12(\n\x07payload\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12+\n\nparameters\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x06 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\x12\x17\n\x0f\x64isable_webhook\x18\x07 \x01(\x08\x12$\n\x1c\x61nalyze_query_text_sentiment\x18\x08 \x01(\x08\x12[\n\x0fwebhook_headers\x18\n \x03(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.QueryParameters.WebhookHeadersEntry\x12=\n\rflow_versions\x18\x0e \x03(\tB&\xfa\x41#\n!dialogflow.googleapis.com/Version\x12\x0f\n\x07\x63hannel\x18\x0f \x01(\t\x12\x33\n\x0bsession_ttl\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x11\x65nd_user_metadata\x18\x12 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12G\n\rsearch_config\x18\x14 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.SearchConfigB\x03\xe0\x41\x01\x1a\x35\n\x13WebhookHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9a\x01\n\x0cSearchConfig\x12\x43\n\x0b\x62oost_specs\x18\x01 \x03(\x0b\x32).google.cloud.dialogflow.cx.v3.BoostSpecsB\x03\xe0\x41\x01\x12\x45\n\x0c\x66ilter_specs\x18\x02 \x03(\x0b\x32*.google.cloud.dialogflow.cx.v3.FilterSpecsB\x03\xe0\x41\x01\"\xae\x01\n\tBoostSpec\x12_\n\x15\x63ondition_boost_specs\x18\x01 \x03(\x0b\x32;.google.cloud.dialogflow.cx.v3.BoostSpec.ConditionBoostSpecB\x03\xe0\x41\x01\x1a@\n\x12\x43onditionBoostSpec\x12\x16\n\tcondition\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x62oost\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\"\x90\x01\n\nBoostSpecs\x12\x45\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12;\n\x04spec\x18\x02 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.BoostSpecB\x03\xe0\x41\x01\"i\n\x0b\x46ilterSpecs\x12\x45\n\x0b\x64\x61ta_stores\x18\x01 \x03(\tB0\xe0\x41\x01\xfa\x41*\n(discoveryengine.googleapis.com/DataStore\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xdb\x02\n\nQueryInput\x12\x38\n\x04text\x18\x02 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.TextInputH\x00\x12<\n\x06intent\x18\x03 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.IntentInputH\x00\x12:\n\x05\x61udio\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.AudioInputH\x00\x12:\n\x05\x65vent\x18\x06 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.EventInputH\x00\x12\x38\n\x04\x64tmf\x18\x07 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x1a\n\rlanguage_code\x18\x04 \x01(\tB\x03\xe0\x41\x02\x42\x07\n\x05input\"\xc7\x08\n\x0bQueryResult\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x0b \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x0c \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x0e \x01(\tH\x00\x12\x38\n\x04\x64tmf\x18\x17 \x01(\x0b\x32(.google.cloud.dialogflow.cx.v3.DtmfInputH\x00\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12+\n\nparameters\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\x12I\n\x11response_messages\x18\x04 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.ResponseMessage\x12\x13\n\x0bwebhook_ids\x18\x19 \x03(\t\x12\x1d\n\x15webhook_display_names\x18\x1a \x03(\t\x12\x34\n\x11webhook_latencies\x18\x1b \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x14\n\x0cwebhook_tags\x18\x1d \x03(\t\x12,\n\x10webhook_statuses\x18\r \x03(\x0b\x32\x12.google.rpc.Status\x12\x31\n\x10webhook_payloads\x18\x06 \x03(\x0b\x32\x17.google.protobuf.Struct\x12\x39\n\x0c\x63urrent_page\x18\x07 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12\x39\n\x0c\x63urrent_flow\x18\x1f \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Flow\x12\x39\n\x06intent\x18\x08 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.IntentB\x02\x18\x01\x12\'\n\x1bintent_detection_confidence\x18\t \x01(\x02\x42\x02\x18\x01\x12\x33\n\x05match\x18\x0f \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x30\n\x0f\x64iagnostic_info\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\x12Y\n\x19sentiment_analysis_result\x18\x11 \x01(\x0b\x32\x36.google.cloud.dialogflow.cx.v3.SentimentAnalysisResult\x12J\n\x11\x61\x64vanced_settings\x18\x15 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.AdvancedSettings\x12\x1d\n\x15\x61llow_answer_feedback\x18 \x01(\x08\x42\x07\n\x05query\"\x1e\n\tTextInput\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x02\"G\n\x0bIntentInput\x12\x38\n\x06intent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n dialogflow.googleapis.com/Intent\"a\n\nAudioInput\x12\x44\n\x06\x63onfig\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.InputAudioConfigB\x03\xe0\x41\x02\x12\r\n\x05\x61udio\x18\x02 \x01(\x0c\"\x1b\n\nEventInput\x12\r\n\x05\x65vent\x18\x01 \x01(\t\"1\n\tDtmfInput\x12\x0e\n\x06\x64igits\x18\x01 \x01(\t\x12\x14\n\x0c\x66inish_digit\x18\x02 \x01(\t\"\xf1\x02\n\x05Match\x12\x35\n\x06intent\x18\x01 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\r\n\x05\x65vent\x18\x06 \x01(\t\x12+\n\nparameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x16\n\x0eresolved_input\x18\x03 \x01(\t\x12\x42\n\nmatch_type\x18\x04 \x01(\x0e\x32..google.cloud.dialogflow.cx.v3.Match.MatchType\x12\x12\n\nconfidence\x18\x05 \x01(\x02\"\x84\x01\n\tMatchType\x12\x1a\n\x16MATCH_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x11\n\rDIRECT_INTENT\x10\x02\x12\x15\n\x11PARAMETER_FILLING\x10\x03\x12\x0c\n\x08NO_MATCH\x10\x04\x12\x0c\n\x08NO_INPUT\x10\x05\x12\t\n\x05\x45VENT\x10\x06\"\xfe\x01\n\x12MatchIntentRequest\x12:\n\x07session\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dialogflow.googleapis.com/Session\x12\x44\n\x0cquery_params\x18\x02 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.QueryParameters\x12\x43\n\x0bquery_input\x18\x03 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInputB\x03\xe0\x41\x02\x12!\n\x19persist_parameter_changes\x18\x05 \x01(\x08\"\x90\x02\n\x13MatchIntentResponse\x12\x0e\n\x04text\x18\x01 \x01(\tH\x00\x12?\n\x0etrigger_intent\x18\x02 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/IntentH\x00\x12\x14\n\ntranscript\x18\x03 \x01(\tH\x00\x12\x17\n\rtrigger_event\x18\x06 \x01(\tH\x00\x12\x35\n\x07matches\x18\x04 \x03(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12\x39\n\x0c\x63urrent_page\x18\x05 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageB\x07\n\x05query\"\xeb\x01\n\x14\x46ulfillIntentRequest\x12O\n\x14match_intent_request\x18\x01 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x12\x33\n\x05match\x18\x02 \x01(\x0b\x32$.google.cloud.dialogflow.cx.v3.Match\x12M\n\x13output_audio_config\x18\x03 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\"\xd3\x01\n\x15\x46ulfillIntentResponse\x12\x13\n\x0bresponse_id\x18\x01 \x01(\t\x12@\n\x0cquery_result\x18\x02 \x01(\x0b\x32*.google.cloud.dialogflow.cx.v3.QueryResult\x12\x14\n\x0coutput_audio\x18\x03 \x01(\x0c\x12M\n\x13output_audio_config\x18\x04 \x01(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.OutputAudioConfig\";\n\x17SentimentAnalysisResult\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x11\n\tmagnitude\x18\x02 \x01(\x02\x32\xfa\r\n\x08Sessions\x12\xa6\x02\n\x0c\x44\x65tectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xac\x01\x82\xd3\xe4\x93\x02\xa5\x01\"E/v3/{session=projects/*/locations/*/agents/*/sessions/*}:detectIntent:\x01*ZY\"T/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:detectIntent:\x01*\x12\xd5\x02\n\x1bServerStreamingDetectIntent\x12\x32.google.cloud.dialogflow.cx.v3.DetectIntentRequest\x1a\x33.google.cloud.dialogflow.cx.v3.DetectIntentResponse\"\xca\x01\x82\xd3\xe4\x93\x02\xc3\x01\"T/v3/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent:\x01*Zh\"c/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent:\x01*0\x01\x12\x98\x01\n\x15StreamingDetectIntent\x12;.google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest\x1a<.google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse\"\x00(\x01\x30\x01\x12\xa1\x02\n\x0bMatchIntent\x12\x31.google.cloud.dialogflow.cx.v3.MatchIntentRequest\x1a\x32.google.cloud.dialogflow.cx.v3.MatchIntentResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"D/v3/{session=projects/*/locations/*/agents/*/sessions/*}:matchIntent:\x01*ZX\"S/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:matchIntent:\x01*\x12\xd5\x02\n\rFulfillIntent\x12\x33.google.cloud.dialogflow.cx.v3.FulfillIntentRequest\x1a\x34.google.cloud.dialogflow.cx.v3.FulfillIntentResponse\"\xd8\x01\x82\xd3\xe4\x93\x02\xd1\x01\"[/v3/{match_intent_request.session=projects/*/locations/*/agents/*/sessions/*}:fulfillIntent:\x01*Zo\"j/v3/{match_intent_request.session=projects/*/locations/*/agents/*/environments/*/sessions/*}:fulfillIntent:\x01*\x12\xdb\x01\n\x14SubmitAnswerFeedback\x12:.google.cloud.dialogflow.cx.v3.SubmitAnswerFeedbackRequest\x1a-.google.cloud.dialogflow.cx.v3.AnswerFeedback\"X\x82\xd3\xe4\x93\x02R\"M/v3/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback:\x01*\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xd3\x04\n!com.google.cloud.dialogflow.cx.v3B\x0cSessionProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\xd4\x01\n!dialogflow.googleapis.com/Session\x12Iprojects/{project}/locations/{location}/agents/{agent}/sessions/{session}\x12\x64projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}\xea\x41\xc5\x01\n(discoveryengine.googleapis.com/DataStore\x12?projects/{project}/locations/{location}/dataStores/{data_store}\x12Xprojects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}b\x06proto3"
|
25
26
|
|
26
27
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
27
28
|
|
@@ -45,6 +46,7 @@ rescue TypeError
|
|
45
46
|
["google.cloud.dialogflow.cx.v3.ResponseMessage", "google/cloud/dialogflow/cx/v3/response_message.proto"],
|
46
47
|
["google.rpc.Status", "google/rpc/status.proto"],
|
47
48
|
["google.cloud.dialogflow.cx.v3.Page", "google/cloud/dialogflow/cx/v3/page.proto"],
|
49
|
+
["google.cloud.dialogflow.cx.v3.Flow", "google/cloud/dialogflow/cx/v3/flow.proto"],
|
48
50
|
["google.cloud.dialogflow.cx.v3.Intent", "google/cloud/dialogflow/cx/v3/intent.proto"],
|
49
51
|
["google.cloud.dialogflow.cx.v3.AdvancedSettings", "google/cloud/dialogflow/cx/v3/advanced_settings.proto"],
|
50
52
|
]
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
# See [Versions and
|
47
47
|
# environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
|
48
48
|
rpc :DetectIntent, ::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest, ::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse
|
49
|
+
# Processes a natural language query and returns structured, actionable data
|
50
|
+
# as a result through server-side streaming. Server-side streaming allows
|
51
|
+
# Dialogflow to send [partial
|
52
|
+
# responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
|
53
|
+
# earlier in a single request.
|
54
|
+
rpc :ServerStreamingDetectIntent, ::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest, stream(::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse)
|
49
55
|
# Processes a natural language query in audio format in a streaming fashion
|
50
56
|
# and returns structured, actionable data as a result. This method is only
|
51
57
|
# available via the gRPC API (not REST).
|
@@ -82,6 +82,8 @@ module Google
|
|
82
82
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
83
83
|
}
|
84
84
|
|
85
|
+
default_config.rpcs.server_streaming_detect_intent.timeout = 220.0
|
86
|
+
|
85
87
|
default_config.rpcs.streaming_detect_intent.timeout = 220.0
|
86
88
|
|
87
89
|
default_config
|
@@ -304,6 +306,119 @@ module Google
|
|
304
306
|
raise ::Google::Cloud::Error.from_error(e)
|
305
307
|
end
|
306
308
|
|
309
|
+
##
|
310
|
+
# Processes a natural language query and returns structured, actionable data
|
311
|
+
# as a result through server-side streaming. Server-side streaming allows
|
312
|
+
# Dialogflow to send [partial
|
313
|
+
# responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
|
314
|
+
# earlier in a single request.
|
315
|
+
#
|
316
|
+
# @overload server_streaming_detect_intent(request, options = nil)
|
317
|
+
# Pass arguments to `server_streaming_detect_intent` via a request object, either of type
|
318
|
+
# {::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest} or an equivalent Hash.
|
319
|
+
#
|
320
|
+
# @param request [::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest, ::Hash]
|
321
|
+
# A request object representing the call parameters. Required. To specify no
|
322
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
323
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
324
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
325
|
+
#
|
326
|
+
# @overload server_streaming_detect_intent(session: nil, query_params: nil, query_input: nil, output_audio_config: nil)
|
327
|
+
# Pass arguments to `server_streaming_detect_intent` via keyword arguments. Note that at
|
328
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
329
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
330
|
+
#
|
331
|
+
# @param session [::String]
|
332
|
+
# Required. The name of the session this query is sent to.
|
333
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
334
|
+
# ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
|
335
|
+
# ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
|
336
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
337
|
+
# environment.
|
338
|
+
# It's up to the API caller to choose an appropriate `Session ID`. It can be
|
339
|
+
# a random number or some type of session identifiers (preferably hashed).
|
340
|
+
# The length of the `Session ID` must not exceed 36 characters.
|
341
|
+
#
|
342
|
+
# For more information, see the [sessions
|
343
|
+
# guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
|
344
|
+
#
|
345
|
+
# Note: Always use agent versions for production traffic.
|
346
|
+
# See [Versions and
|
347
|
+
# environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
|
348
|
+
# @param query_params [::Google::Cloud::Dialogflow::CX::V3::QueryParameters, ::Hash]
|
349
|
+
# The parameters of this query.
|
350
|
+
# @param query_input [::Google::Cloud::Dialogflow::CX::V3::QueryInput, ::Hash]
|
351
|
+
# Required. The input specification.
|
352
|
+
# @param output_audio_config [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig, ::Hash]
|
353
|
+
# Instructs the speech synthesizer how to generate the output audio.
|
354
|
+
#
|
355
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
356
|
+
# @yieldparam response [::Enumerable<::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse>]
|
357
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
358
|
+
#
|
359
|
+
# @return [::Enumerable<::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse>]
|
360
|
+
#
|
361
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
362
|
+
#
|
363
|
+
# @example Basic example
|
364
|
+
# require "google/cloud/dialogflow/cx/v3"
|
365
|
+
#
|
366
|
+
# # Create a client object. The client can be reused for multiple calls.
|
367
|
+
# client = Google::Cloud::Dialogflow::CX::V3::Sessions::Client.new
|
368
|
+
#
|
369
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
370
|
+
# request = Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest.new
|
371
|
+
#
|
372
|
+
# # Call the server_streaming_detect_intent method to start streaming.
|
373
|
+
# output = client.server_streaming_detect_intent request
|
374
|
+
#
|
375
|
+
# # The returned object is a streamed enumerable yielding elements of type
|
376
|
+
# # ::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse
|
377
|
+
# output.each do |current_response|
|
378
|
+
# p current_response
|
379
|
+
# end
|
380
|
+
#
|
381
|
+
def server_streaming_detect_intent request, options = nil
|
382
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
383
|
+
|
384
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest
|
385
|
+
|
386
|
+
# Converts hash and nil to an options object
|
387
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
388
|
+
|
389
|
+
# Customize the options with defaults
|
390
|
+
metadata = @config.rpcs.server_streaming_detect_intent.metadata.to_h
|
391
|
+
|
392
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
393
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
394
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
395
|
+
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
396
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
397
|
+
|
398
|
+
header_params = {}
|
399
|
+
if request.session
|
400
|
+
header_params["session"] = request.session
|
401
|
+
end
|
402
|
+
|
403
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
404
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
405
|
+
|
406
|
+
options.apply_defaults timeout: @config.rpcs.server_streaming_detect_intent.timeout,
|
407
|
+
metadata: metadata,
|
408
|
+
retry_policy: @config.rpcs.server_streaming_detect_intent.retry_policy
|
409
|
+
|
410
|
+
options.apply_defaults timeout: @config.timeout,
|
411
|
+
metadata: @config.metadata,
|
412
|
+
retry_policy: @config.retry_policy
|
413
|
+
|
414
|
+
@sessions_stub.call_rpc :server_streaming_detect_intent, request, options: options do |response, operation|
|
415
|
+
yield response, operation if block_given?
|
416
|
+
return response
|
417
|
+
end
|
418
|
+
rescue ::GRPC::BadStatus => e
|
419
|
+
raise ::Google::Cloud::Error.from_error(e)
|
420
|
+
end
|
421
|
+
|
307
422
|
##
|
308
423
|
# Processes a natural language query in audio format in a streaming fashion
|
309
424
|
# and returns structured, actionable data as a result. This method is only
|
@@ -840,6 +955,11 @@ module Google
|
|
840
955
|
#
|
841
956
|
attr_reader :detect_intent
|
842
957
|
##
|
958
|
+
# RPC-specific configuration for `server_streaming_detect_intent`
|
959
|
+
# @return [::Gapic::Config::Method]
|
960
|
+
#
|
961
|
+
attr_reader :server_streaming_detect_intent
|
962
|
+
##
|
843
963
|
# RPC-specific configuration for `streaming_detect_intent`
|
844
964
|
# @return [::Gapic::Config::Method]
|
845
965
|
#
|
@@ -864,6 +984,8 @@ module Google
|
|
864
984
|
def initialize parent_rpcs = nil
|
865
985
|
detect_intent_config = parent_rpcs.detect_intent if parent_rpcs.respond_to? :detect_intent
|
866
986
|
@detect_intent = ::Gapic::Config::Method.new detect_intent_config
|
987
|
+
server_streaming_detect_intent_config = parent_rpcs.server_streaming_detect_intent if parent_rpcs.respond_to? :server_streaming_detect_intent
|
988
|
+
@server_streaming_detect_intent = ::Gapic::Config::Method.new server_streaming_detect_intent_config
|
867
989
|
streaming_detect_intent_config = parent_rpcs.streaming_detect_intent if parent_rpcs.respond_to? :streaming_detect_intent
|
868
990
|
@streaming_detect_intent = ::Gapic::Config::Method.new streaming_detect_intent_config
|
869
991
|
match_intent_config = parent_rpcs.match_intent if parent_rpcs.respond_to? :match_intent
|
@@ -84,6 +84,8 @@ module Google
|
|
84
84
|
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
85
85
|
}
|
86
86
|
|
87
|
+
default_config.rpcs.server_streaming_detect_intent.timeout = 220.0
|
88
|
+
|
87
89
|
default_config
|
88
90
|
end
|
89
91
|
yield @configure if block_given?
|
@@ -289,6 +291,113 @@ module Google
|
|
289
291
|
raise ::Google::Cloud::Error.from_error(e)
|
290
292
|
end
|
291
293
|
|
294
|
+
##
|
295
|
+
# Processes a natural language query and returns structured, actionable data
|
296
|
+
# as a result through server-side streaming. Server-side streaming allows
|
297
|
+
# Dialogflow to send [partial
|
298
|
+
# responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
|
299
|
+
# earlier in a single request.
|
300
|
+
#
|
301
|
+
# @overload server_streaming_detect_intent(request, options = nil)
|
302
|
+
# Pass arguments to `server_streaming_detect_intent` via a request object, either of type
|
303
|
+
# {::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest} or an equivalent Hash.
|
304
|
+
#
|
305
|
+
# @param request [::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest, ::Hash]
|
306
|
+
# A request object representing the call parameters. Required. To specify no
|
307
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
308
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
309
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
310
|
+
#
|
311
|
+
# @overload server_streaming_detect_intent(session: nil, query_params: nil, query_input: nil, output_audio_config: nil)
|
312
|
+
# Pass arguments to `server_streaming_detect_intent` via keyword arguments. Note that at
|
313
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
314
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
315
|
+
#
|
316
|
+
# @param session [::String]
|
317
|
+
# Required. The name of the session this query is sent to.
|
318
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
319
|
+
# ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
|
320
|
+
# ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
|
321
|
+
# If `Environment ID` is not specified, we assume default 'draft'
|
322
|
+
# environment.
|
323
|
+
# It's up to the API caller to choose an appropriate `Session ID`. It can be
|
324
|
+
# a random number or some type of session identifiers (preferably hashed).
|
325
|
+
# The length of the `Session ID` must not exceed 36 characters.
|
326
|
+
#
|
327
|
+
# For more information, see the [sessions
|
328
|
+
# guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
|
329
|
+
#
|
330
|
+
# Note: Always use agent versions for production traffic.
|
331
|
+
# See [Versions and
|
332
|
+
# environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
|
333
|
+
# @param query_params [::Google::Cloud::Dialogflow::CX::V3::QueryParameters, ::Hash]
|
334
|
+
# The parameters of this query.
|
335
|
+
# @param query_input [::Google::Cloud::Dialogflow::CX::V3::QueryInput, ::Hash]
|
336
|
+
# Required. The input specification.
|
337
|
+
# @param output_audio_config [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig, ::Hash]
|
338
|
+
# Instructs the speech synthesizer how to generate the output audio.
|
339
|
+
# @return [::Enumerable<::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse>]
|
340
|
+
#
|
341
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
342
|
+
#
|
343
|
+
# @example Basic example
|
344
|
+
# require "google/cloud/dialogflow/cx/v3"
|
345
|
+
#
|
346
|
+
# # Create a client object. The client can be reused for multiple calls.
|
347
|
+
# client = Google::Cloud::Dialogflow::CX::V3::Sessions::Rest::Client.new
|
348
|
+
#
|
349
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
350
|
+
# request = Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest.new
|
351
|
+
#
|
352
|
+
# # Call the server_streaming_detect_intent method to start streaming.
|
353
|
+
# output = client.server_streaming_detect_intent request
|
354
|
+
#
|
355
|
+
# # The returned object is a streamed enumerable yielding elements of type
|
356
|
+
# # ::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse
|
357
|
+
# output.each do |current_response|
|
358
|
+
# p current_response
|
359
|
+
# end
|
360
|
+
#
|
361
|
+
def server_streaming_detect_intent request, options = nil
|
362
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
363
|
+
|
364
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest
|
365
|
+
|
366
|
+
# Converts hash and nil to an options object
|
367
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
368
|
+
|
369
|
+
# Customize the options with defaults
|
370
|
+
call_metadata = @config.rpcs.server_streaming_detect_intent.metadata.to_h
|
371
|
+
|
372
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
373
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
374
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
375
|
+
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
376
|
+
transports_version_send: [:rest]
|
377
|
+
|
378
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
379
|
+
|
380
|
+
options.apply_defaults timeout: @config.rpcs.server_streaming_detect_intent.timeout,
|
381
|
+
metadata: call_metadata,
|
382
|
+
retry_policy: @config.rpcs.server_streaming_detect_intent.retry_policy
|
383
|
+
|
384
|
+
options.apply_defaults timeout: @config.timeout,
|
385
|
+
metadata: @config.metadata,
|
386
|
+
retry_policy: @config.retry_policy
|
387
|
+
|
388
|
+
::Gapic::Rest::ServerStream.new(
|
389
|
+
::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse,
|
390
|
+
::Gapic::Rest::ThreadedEnumerator.new do |in_q, out_q|
|
391
|
+
@sessions_stub.server_streaming_detect_intent request, options do |chunk|
|
392
|
+
in_q.deq
|
393
|
+
out_q.enq chunk
|
394
|
+
end
|
395
|
+
end
|
396
|
+
)
|
397
|
+
rescue ::Gapic::Rest::Error => e
|
398
|
+
raise ::Google::Cloud::Error.from_error(e)
|
399
|
+
end
|
400
|
+
|
292
401
|
##
|
293
402
|
# Returns preliminary intent match results, doesn't change the session
|
294
403
|
# status.
|
@@ -707,6 +816,11 @@ module Google
|
|
707
816
|
#
|
708
817
|
attr_reader :detect_intent
|
709
818
|
##
|
819
|
+
# RPC-specific configuration for `server_streaming_detect_intent`
|
820
|
+
# @return [::Gapic::Config::Method]
|
821
|
+
#
|
822
|
+
attr_reader :server_streaming_detect_intent
|
823
|
+
##
|
710
824
|
# RPC-specific configuration for `match_intent`
|
711
825
|
# @return [::Gapic::Config::Method]
|
712
826
|
#
|
@@ -726,6 +840,8 @@ module Google
|
|
726
840
|
def initialize parent_rpcs = nil
|
727
841
|
detect_intent_config = parent_rpcs.detect_intent if parent_rpcs.respond_to? :detect_intent
|
728
842
|
@detect_intent = ::Gapic::Config::Method.new detect_intent_config
|
843
|
+
server_streaming_detect_intent_config = parent_rpcs.server_streaming_detect_intent if parent_rpcs.respond_to? :server_streaming_detect_intent
|
844
|
+
@server_streaming_detect_intent = ::Gapic::Config::Method.new server_streaming_detect_intent_config
|
729
845
|
match_intent_config = parent_rpcs.match_intent if parent_rpcs.respond_to? :match_intent
|
730
846
|
@match_intent = ::Gapic::Config::Method.new match_intent_config
|
731
847
|
fulfill_intent_config = parent_rpcs.fulfill_intent if parent_rpcs.respond_to? :fulfill_intent
|
@@ -100,6 +100,39 @@ module Google
|
|
100
100
|
result
|
101
101
|
end
|
102
102
|
|
103
|
+
##
|
104
|
+
# Baseline implementation for the server_streaming_detect_intent REST call
|
105
|
+
#
|
106
|
+
# @param request_pb [::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest]
|
107
|
+
# A request object representing the call parameters. Required.
|
108
|
+
# @param options [::Gapic::CallOptions]
|
109
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
110
|
+
#
|
111
|
+
# @yieldparam chunk [::String] The chunk of data received during server streaming.
|
112
|
+
#
|
113
|
+
# @return [::Gapic::Rest::TransportOperation]
|
114
|
+
def server_streaming_detect_intent request_pb, options = nil, &block
|
115
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
116
|
+
|
117
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_server_streaming_detect_intent_request request_pb
|
118
|
+
query_string_params = if query_string_params.any?
|
119
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
120
|
+
else
|
121
|
+
{}
|
122
|
+
end
|
123
|
+
|
124
|
+
response = @client_stub.make_http_request(
|
125
|
+
verb,
|
126
|
+
uri: uri,
|
127
|
+
body: body || "",
|
128
|
+
params: query_string_params,
|
129
|
+
options: options,
|
130
|
+
is_server_streaming: true,
|
131
|
+
&block
|
132
|
+
)
|
133
|
+
::Gapic::Rest::TransportOperation.new response
|
134
|
+
end
|
135
|
+
|
103
136
|
##
|
104
137
|
# Baseline implementation for the match_intent REST call
|
105
138
|
#
|
@@ -244,6 +277,36 @@ module Google
|
|
244
277
|
transcoder.transcode request_pb
|
245
278
|
end
|
246
279
|
|
280
|
+
##
|
281
|
+
# @private
|
282
|
+
#
|
283
|
+
# GRPC transcoding helper method for the server_streaming_detect_intent REST call
|
284
|
+
#
|
285
|
+
# @param request_pb [::Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest]
|
286
|
+
# A request object representing the call parameters. Required.
|
287
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
288
|
+
# Uri, Body, Query string parameters
|
289
|
+
def self.transcode_server_streaming_detect_intent_request request_pb
|
290
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
291
|
+
.with_bindings(
|
292
|
+
uri_method: :post,
|
293
|
+
uri_template: "/v3/{session}:serverStreamingDetectIntent",
|
294
|
+
body: "*",
|
295
|
+
matches: [
|
296
|
+
["session", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+/?$}, false]
|
297
|
+
]
|
298
|
+
)
|
299
|
+
.with_bindings(
|
300
|
+
uri_method: :post,
|
301
|
+
uri_template: "/v3/{session}:serverStreamingDetectIntent",
|
302
|
+
body: "*",
|
303
|
+
matches: [
|
304
|
+
["session", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+/?$}, false]
|
305
|
+
]
|
306
|
+
)
|
307
|
+
transcoder.transcode request_pb
|
308
|
+
end
|
309
|
+
|
247
310
|
##
|
248
311
|
# @private
|
249
312
|
#
|
@@ -22,7 +22,7 @@ require 'google/protobuf/timestamp_pb'
|
|
22
22
|
require 'google/rpc/status_pb'
|
23
23
|
|
24
24
|
|
25
|
-
descriptor_data = "\n-google/cloud/dialogflow/cx/v3/test_case.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a+google/cloud/dialogflow/cx/v3/session.proto\x1a:google/cloud/dialogflow/cx/v3/transition_route_group.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe1\x03\n\x08TestCase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x12\x1a\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\r\n\x05notes\x18\x04 \x01(\t\x12>\n\x0btest_config\x18\r \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.TestConfig\x12U\n\x1ctest_case_conversation_turns\x18\x05 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.ConversationTurn\x12\x37\n\rcreation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12G\n\x10last_test_result\x18\x0c \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult:u\xea\x41r\n\"dialogflow.googleapis.com/TestCase\x12Lprojects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}\"\xab\x03\n\x0eTestCaseResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0b\x65nvironment\x18\x02 \x01(\tB*\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12K\n\x12\x63onversation_turns\x18\x03 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.ConversationTurn\x12>\n\x0btest_result\x18\x04 \x01(\x0e\x32).google.cloud.dialogflow.cx.v3.TestResult\x12-\n\ttest_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x8d\x01\xea\x41\x89\x01\n(dialogflow.googleapis.com/TestCaseResult\x12]projects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}/results/{result}\"\x8f\x01\n\nTestConfig\x12\x1b\n\x13tracking_parameters\x18\x01 \x03(\t\x12\x31\n\x04\x66low\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x31\n\x04page\x18\x03 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\"\xbf\x06\n\x10\x43onversationTurn\x12M\n\nuser_input\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput\x12`\n\x14virtual_agent_output\x18\x02 \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput\x1a\xba\x01\n\tUserInput\x12\x38\n\x05input\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInput\x12\x34\n\x13injected_parameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1a\n\x12is_webhook_enabled\x18\x03 \x01(\x08\x12!\n\x19\x65nable_sentiment_analysis\x18\x07 \x01(\x08\x1a\xbc\x03\n\x12VirtualAgentOutput\x12\x33\n\x12session_parameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12K\n\x0b\x64ifferences\x18\x05 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.TestRunDifferenceB\x04\xe2\x41\x01\x03\x12\x37\n\x0f\x64iagnostic_info\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x05\xe2\x41\x02\x02\x04\x12?\n\x10triggered_intent\x18\x07 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\x39\n\x0c\x63urrent_page\x18\x08 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12K\n\x0etext_responses\x18\t \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ResponseMessage.Text\x12\"\n\x06status\x18\n \x01(\x0b\x32\x12.google.rpc.Status\"\xd7\x01\n\x11TestRunDifference\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"d\n\x08\x44iffType\x12\x19\n\x15\x44IFF_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x08\n\x04PAGE\x10\x02\x12\x0e\n\nPARAMETERS\x10\x03\x12\r\n\tUTTERANCE\x10\x04\x12\x08\n\x04\x46LOW\x10\x05\"\xf3\x04\n\x12TransitionCoverage\x12Q\n\x0btransitions\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1a\x82\x01\n\x0eTransitionNode\x12\x33\n\x04page\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageH\x00\x12\x33\n\x04\x66low\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowH\x00\x42\x06\n\x04kind\x1a\xec\x02\n\nTransition\x12P\n\x06source\x18\x01 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode\x12\r\n\x05index\x18\x04 \x01(\x05\x12P\n\x06target\x18\x02 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode\x12\x0f\n\x07\x63overed\x18\x03 \x01(\x08\x12J\n\x10transition_route\x18\x05 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRouteH\x00\x12\x44\n\revent_handler\x18\x06 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.EventHandlerH\x00\x42\x08\n\x06\x64\x65tail\"\xcd\x03\n\x1cTransitionRouteGroupCoverage\x12W\n\tcoverages\x18\x01 \x03(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1a\xbb\x02\n\x08\x43overage\x12H\n\x0broute_group\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\x12\x64\n\x0btransitions\x18\x02 \x03(\x0b\x32O.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition\x12\x16\n\x0e\x63overage_score\x18\x03 \x01(\x02\x1ag\n\nTransition\x12H\n\x10transition_route\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute\x12\x0f\n\x07\x63overed\x18\x02 \x01(\x08\"\xc1\x01\n\x0eIntentCoverage\x12\x45\n\x07intents\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.cx.v3.IntentCoverage.Intent\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1aP\n\x06Intent\x12\x35\n\x06intent\x18\x01 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/Intent\x12\x0f\n\x07\x63overed\x18\x02 \x01(\x08\"\x99\x02\n\x18\x43\x61lculateCoverageRequest\x12\x37\n\x05\x61gent\x18\x03 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12X\n\x04type\x18\x02 \x01(\x0e\x32\x44.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageTypeB\x04\xe2\x41\x01\x02\"j\n\x0c\x43overageType\x12\x1d\n\x19\x43OVERAGE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x13\n\x0fPAGE_TRANSITION\x10\x02\x12\x1a\n\x16TRANSITION_ROUTE_GROUP\x10\x03\"\xda\x02\n\x19\x43\x61lculateCoverageResponse\x12\x33\n\x05\x61gent\x18\x05 \x01(\tB$\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12H\n\x0fintent_coverage\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.IntentCoverageH\x00\x12P\n\x13transition_coverage\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.TransitionCoverageH\x00\x12[\n\x14route_group_coverage\x18\x06 \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverageH\x00\x42\x0f\n\rcoverage_type\"\x8f\x02\n\x14ListTestCasesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12N\n\x04view\x18\x04 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView\"C\n\x0cTestCaseView\x12\x1e\n\x1aTEST_CASE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\"m\n\x15ListTestCasesResponse\x12;\n\ntest_cases\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x96\x01\n\x1b\x42\x61tchDeleteTestCasesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12:\n\x05names\x18\x03 \x03(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"\x96\x01\n\x15\x43reateTestCaseRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12@\n\ttest_case\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCaseB\x04\xe2\x41\x01\x02\"\x90\x01\n\x15UpdateTestCaseRequest\x12@\n\ttest_case\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCaseB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\"O\n\x12GetTestCaseRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"\x94\x01\n\x12RunTestCaseRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\x43\n\x0b\x65nvironment\x18\x02 \x01(\tB.\xe2\x41\x01\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"T\n\x13RunTestCaseResponse\x12=\n\x06result\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\"\x15\n\x13RunTestCaseMetadata\"\xdd\x01\n\x18\x42\x61tchRunTestCasesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x43\n\x0b\x65nvironment\x18\x02 \x01(\tB.\xe2\x41\x01\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12?\n\ntest_cases\x18\x03 \x03(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"[\n\x19\x42\x61tchRunTestCasesResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\"U\n\x19\x42\x61tchRunTestCasesMetadata\x12\x38\n\x06\x65rrors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError\"\x9a\x01\n\tTestError\x12:\n\ttest_case\x18\x01 \x01(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12-\n\ttest_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x85\x01\n\x16ImportTestCasesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x11\n\x07\x63ontent\x18\x03 \x01(\x0cH\x00\x42\x08\n\x06source\"Q\n\x17ImportTestCasesResponse\x12\x36\n\x05names\x18\x01 \x03(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"W\n\x17ImportTestCasesMetadata\x12<\n\x06\x65rrors\x18\x01 \x03(\x0b\x32,.google.cloud.dialogflow.cx.v3.TestCaseError\"o\n\rTestCaseError\x12:\n\ttest_case\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCase\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"\x9d\x02\n\x16\x45xportTestCasesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12U\n\x0b\x64\x61ta_format\x18\x03 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"=\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x08\n\x04JSON\x10\x02\x42\r\n\x0b\x64\x65stination\"N\n\x17\x45xportTestCasesResponse\x12\x11\n\x07gcs_uri\x18\x01 \x01(\tH\x00\x12\x11\n\x07\x63ontent\x18\x02 \x01(\x0cH\x00\x42\r\n\x0b\x64\x65stination\"\x19\n\x17\x45xportTestCasesMetadata\"\x96\x01\n\x1aListTestCaseResultsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\x12(dialogflow.googleapis.com/TestCaseResult\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x80\x01\n\x1bListTestCaseResultsResponse\x12H\n\x11test_case_results\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"[\n\x18GetTestCaseResultRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe2\x41\x01\x02\xfa\x41*\n(dialogflow.googleapis.com/TestCaseResult*A\n\nTestResult\x12\x1b\n\x17TEST_RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x32\x99\x15\n\tTestCases\x12\xc3\x01\n\rListTestCases\x12\x33.google.cloud.dialogflow.cx.v3.ListTestCasesRequest\x1a\x34.google.cloud.dialogflow.cx.v3.ListTestCasesResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{parent=projects/*/locations/*/agents/*}/testCases\x12\xc2\x01\n\x14\x42\x61tchDeleteTestCases\x12:.google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest\x1a\x16.google.protobuf.Empty\"V\xda\x41\x06parent\x82\xd3\xe4\x93\x02G\"B/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchDelete:\x01*\x12\xb0\x01\n\x0bGetTestCase\x12\x31.google.cloud.dialogflow.cx.v3.GetTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{name=projects/*/locations/*/agents/*/testCases/*}\x12\xcd\x01\n\x0e\x43reateTestCase\x12\x34.google.cloud.dialogflow.cx.v3.CreateTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"\\\xda\x41\x10parent,test_case\x82\xd3\xe4\x93\x02\x43\"6/v3/{parent=projects/*/locations/*/agents/*}/testCases:\ttest_case\x12\xdc\x01\n\x0eUpdateTestCase\x12\x34.google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"k\xda\x41\x15test_case,update_mask\x82\xd3\xe4\x93\x02M2@/v3/{test_case.name=projects/*/locations/*/agents/*/testCases/*}:\ttest_case\x12\xd3\x01\n\x0bRunTestCase\x12\x31.google.cloud.dialogflow.cx.v3.RunTestCaseRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x13RunTestCaseResponse\x12\x13RunTestCaseMetadata\x82\xd3\xe4\x93\x02?\":/v3/{name=projects/*/locations/*/agents/*/testCases/*}:run:\x01*\x12\xf1\x01\n\x11\x42\x61tchRunTestCases\x12\x37.google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x36\n\x19\x42\x61tchRunTestCasesResponse\x12\x19\x42\x61tchRunTestCasesMetadata\x82\xd3\xe4\x93\x02\x44\"?/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchRun:\x01*\x12\xd7\x01\n\x11\x43\x61lculateCoverage\x12\x37.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest\x1a\x38.google.cloud.dialogflow.cx.v3.CalculateCoverageResponse\"O\x82\xd3\xe4\x93\x02I\x12G/v3/{agent=projects/*/locations/*/agents/*}/testCases:calculateCoverage\x12\xe6\x01\n\x0fImportTestCases\x12\x35.google.cloud.dialogflow.cx.v3.ImportTestCasesRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x32\n\x17ImportTestCasesResponse\x12\x17ImportTestCasesMetadata\x82\xd3\xe4\x93\x02\x42\"=/v3/{parent=projects/*/locations/*/agents/*}/testCases:import:\x01*\x12\xe6\x01\n\x0f\x45xportTestCases\x12\x35.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x32\n\x17\x45xportTestCasesResponse\x12\x17\x45xportTestCasesMetadata\x82\xd3\xe4\x93\x02\x42\"=/v3/{parent=projects/*/locations/*/agents/*}/testCases:export:\x01*\x12\xdf\x01\n\x13ListTestCaseResults\x12\x39.google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest\x1a:.google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results\x12\xcc\x01\n\x11GetTestCaseResult\x12\x37.google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest\x1a-.google.cloud.dialogflow.cx.v3.TestCaseResult\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v3/{name=projects/*/locations/*/agents/*/testCases/*/results/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb3\x01\n!com.google.cloud.dialogflow.cx.v3B\rTestCaseProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
25
|
+
descriptor_data = "\n-google/cloud/dialogflow/cx/v3/test_case.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/flow.proto\x1a*google/cloud/dialogflow/cx/v3/intent.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x34google/cloud/dialogflow/cx/v3/response_message.proto\x1a+google/cloud/dialogflow/cx/v3/session.proto\x1a:google/cloud/dialogflow/cx/v3/transition_route_group.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xdf\x03\n\x08TestCase\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\r\n\x05notes\x18\x04 \x01(\t\x12>\n\x0btest_config\x18\r \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.TestConfig\x12U\n\x1ctest_case_conversation_turns\x18\x05 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.ConversationTurn\x12\x36\n\rcreation_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12G\n\x10last_test_result\x18\x0c \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult:u\xea\x41r\n\"dialogflow.googleapis.com/TestCase\x12Lprojects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}\"\xab\x03\n\x0eTestCaseResult\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x0b\x65nvironment\x18\x02 \x01(\tB*\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12K\n\x12\x63onversation_turns\x18\x03 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.ConversationTurn\x12>\n\x0btest_result\x18\x04 \x01(\x0e\x32).google.cloud.dialogflow.cx.v3.TestResult\x12-\n\ttest_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x8d\x01\xea\x41\x89\x01\n(dialogflow.googleapis.com/TestCaseResult\x12]projects/{project}/locations/{location}/agents/{agent}/testCases/{test_case}/results/{result}\"\x8f\x01\n\nTestConfig\x12\x1b\n\x13tracking_parameters\x18\x01 \x03(\t\x12\x31\n\x04\x66low\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Flow\x12\x31\n\x04page\x18\x03 \x01(\tB#\xfa\x41 \n\x1e\x64ialogflow.googleapis.com/Page\"\xbf\x06\n\x10\x43onversationTurn\x12M\n\nuser_input\x18\x01 \x01(\x0b\x32\x39.google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput\x12`\n\x14virtual_agent_output\x18\x02 \x01(\x0b\x32\x42.google.cloud.dialogflow.cx.v3.ConversationTurn.VirtualAgentOutput\x1a\xba\x01\n\tUserInput\x12\x38\n\x05input\x18\x05 \x01(\x0b\x32).google.cloud.dialogflow.cx.v3.QueryInput\x12\x34\n\x13injected_parameters\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1a\n\x12is_webhook_enabled\x18\x03 \x01(\x08\x12!\n\x19\x65nable_sentiment_analysis\x18\x07 \x01(\x08\x1a\xbc\x03\n\x12VirtualAgentOutput\x12\x33\n\x12session_parameters\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12J\n\x0b\x64ifferences\x18\x05 \x03(\x0b\x32\x30.google.cloud.dialogflow.cx.v3.TestRunDifferenceB\x03\xe0\x41\x03\x12\x38\n\x0f\x64iagnostic_info\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xe0\x41\x02\xe0\x41\x04\x12?\n\x10triggered_intent\x18\x07 \x01(\x0b\x32%.google.cloud.dialogflow.cx.v3.Intent\x12\x39\n\x0c\x63urrent_page\x18\x08 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.Page\x12K\n\x0etext_responses\x18\t \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.ResponseMessage.Text\x12\"\n\x06status\x18\n \x01(\x0b\x32\x12.google.rpc.Status\"\xd7\x01\n\x11TestRunDifference\x12G\n\x04type\x18\x01 \x01(\x0e\x32\x39.google.cloud.dialogflow.cx.v3.TestRunDifference.DiffType\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"d\n\x08\x44iffType\x12\x19\n\x15\x44IFF_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x08\n\x04PAGE\x10\x02\x12\x0e\n\nPARAMETERS\x10\x03\x12\r\n\tUTTERANCE\x10\x04\x12\x08\n\x04\x46LOW\x10\x05\"\xf3\x04\n\x12TransitionCoverage\x12Q\n\x0btransitions\x18\x01 \x03(\x0b\x32<.google.cloud.dialogflow.cx.v3.TransitionCoverage.Transition\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1a\x82\x01\n\x0eTransitionNode\x12\x33\n\x04page\x18\x01 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.PageH\x00\x12\x33\n\x04\x66low\x18\x02 \x01(\x0b\x32#.google.cloud.dialogflow.cx.v3.FlowH\x00\x42\x06\n\x04kind\x1a\xec\x02\n\nTransition\x12P\n\x06source\x18\x01 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode\x12\r\n\x05index\x18\x04 \x01(\x05\x12P\n\x06target\x18\x02 \x01(\x0b\x32@.google.cloud.dialogflow.cx.v3.TransitionCoverage.TransitionNode\x12\x0f\n\x07\x63overed\x18\x03 \x01(\x08\x12J\n\x10transition_route\x18\x05 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRouteH\x00\x12\x44\n\revent_handler\x18\x06 \x01(\x0b\x32+.google.cloud.dialogflow.cx.v3.EventHandlerH\x00\x42\x08\n\x06\x64\x65tail\"\xcd\x03\n\x1cTransitionRouteGroupCoverage\x12W\n\tcoverages\x18\x01 \x03(\x0b\x32\x44.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1a\xbb\x02\n\x08\x43overage\x12H\n\x0broute_group\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\x12\x64\n\x0btransitions\x18\x02 \x03(\x0b\x32O.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition\x12\x16\n\x0e\x63overage_score\x18\x03 \x01(\x02\x1ag\n\nTransition\x12H\n\x10transition_route\x18\x01 \x01(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute\x12\x0f\n\x07\x63overed\x18\x02 \x01(\x08\"\xc1\x01\n\x0eIntentCoverage\x12\x45\n\x07intents\x18\x01 \x03(\x0b\x32\x34.google.cloud.dialogflow.cx.v3.IntentCoverage.Intent\x12\x16\n\x0e\x63overage_score\x18\x02 \x01(\x02\x1aP\n\x06Intent\x12\x35\n\x06intent\x18\x01 \x01(\tB%\xfa\x41\"\n dialogflow.googleapis.com/Intent\x12\x0f\n\x07\x63overed\x18\x02 \x01(\x08\"\x97\x02\n\x18\x43\x61lculateCoverageRequest\x12\x36\n\x05\x61gent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12W\n\x04type\x18\x02 \x01(\x0e\x32\x44.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageTypeB\x03\xe0\x41\x02\"j\n\x0c\x43overageType\x12\x1d\n\x19\x43OVERAGE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06INTENT\x10\x01\x12\x13\n\x0fPAGE_TRANSITION\x10\x02\x12\x1a\n\x16TRANSITION_ROUTE_GROUP\x10\x03\"\xda\x02\n\x19\x43\x61lculateCoverageResponse\x12\x33\n\x05\x61gent\x18\x05 \x01(\tB$\xfa\x41!\n\x1f\x64ialogflow.googleapis.com/Agent\x12H\n\x0fintent_coverage\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.IntentCoverageH\x00\x12P\n\x13transition_coverage\x18\x04 \x01(\x0b\x32\x31.google.cloud.dialogflow.cx.v3.TransitionCoverageH\x00\x12[\n\x14route_group_coverage\x18\x06 \x01(\x0b\x32;.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverageH\x00\x42\x0f\n\rcoverage_type\"\x8e\x02\n\x14ListTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12N\n\x04view\x18\x04 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView\"C\n\x0cTestCaseView\x12\x1e\n\x1aTEST_CASE_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\"m\n\x15ListTestCasesResponse\x12;\n\ntest_cases\x18\x01 \x03(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCase\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x1b\x42\x61tchDeleteTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x39\n\x05names\x18\x03 \x03(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"\x94\x01\n\x15\x43reateTestCaseRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12?\n\ttest_case\x18\x02 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCaseB\x03\xe0\x41\x02\"\x8e\x01\n\x15UpdateTestCaseRequest\x12?\n\ttest_case\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCaseB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"N\n\x12GetTestCaseRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"\x92\x01\n\x12RunTestCaseRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\x42\n\x0b\x65nvironment\x18\x02 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\"T\n\x13RunTestCaseResponse\x12=\n\x06result\x18\x02 \x01(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\"\x15\n\x13RunTestCaseMetadata\"\xda\x01\n\x18\x42\x61tchRunTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x42\n\x0b\x65nvironment\x18\x02 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%dialogflow.googleapis.com/Environment\x12>\n\ntest_cases\x18\x03 \x03(\tB*\xe0\x41\x02\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"[\n\x19\x42\x61tchRunTestCasesResponse\x12>\n\x07results\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\"U\n\x19\x42\x61tchRunTestCasesMetadata\x12\x38\n\x06\x65rrors\x18\x01 \x03(\x0b\x32(.google.cloud.dialogflow.cx.v3.TestError\"\x9a\x01\n\tTestError\x12:\n\ttest_case\x18\x01 \x01(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12-\n\ttest_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x84\x01\n\x16ImportTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12\x11\n\x07\x63ontent\x18\x03 \x01(\x0cH\x00\x42\x08\n\x06source\"Q\n\x17ImportTestCasesResponse\x12\x36\n\x05names\x18\x01 \x03(\tB\'\xfa\x41$\n\"dialogflow.googleapis.com/TestCase\"W\n\x17ImportTestCasesMetadata\x12<\n\x06\x65rrors\x18\x01 \x03(\x0b\x32,.google.cloud.dialogflow.cx.v3.TestCaseError\"o\n\rTestCaseError\x12:\n\ttest_case\x18\x01 \x01(\x0b\x32\'.google.cloud.dialogflow.cx.v3.TestCase\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"\x9c\x02\n\x16\x45xportTestCasesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"dialogflow.googleapis.com/TestCase\x12\x11\n\x07gcs_uri\x18\x02 \x01(\tH\x00\x12U\n\x0b\x64\x61ta_format\x18\x03 \x01(\x0e\x32@.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"=\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42LOB\x10\x01\x12\x08\n\x04JSON\x10\x02\x42\r\n\x0b\x64\x65stination\"N\n\x17\x45xportTestCasesResponse\x12\x11\n\x07gcs_uri\x18\x01 \x01(\tH\x00\x12\x11\n\x07\x63ontent\x18\x02 \x01(\x0cH\x00\x42\r\n\x0b\x64\x65stination\"\x19\n\x17\x45xportTestCasesMetadata\"\x95\x01\n\x1aListTestCaseResultsRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(dialogflow.googleapis.com/TestCaseResult\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"\x80\x01\n\x1bListTestCaseResultsResponse\x12H\n\x11test_case_results\x18\x01 \x03(\x0b\x32-.google.cloud.dialogflow.cx.v3.TestCaseResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\x18GetTestCaseResultRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(dialogflow.googleapis.com/TestCaseResult*A\n\nTestResult\x12\x1b\n\x17TEST_RESULT_UNSPECIFIED\x10\x00\x12\n\n\x06PASSED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x32\x99\x15\n\tTestCases\x12\xc3\x01\n\rListTestCases\x12\x33.google.cloud.dialogflow.cx.v3.ListTestCasesRequest\x1a\x34.google.cloud.dialogflow.cx.v3.ListTestCasesResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{parent=projects/*/locations/*/agents/*}/testCases\x12\xc2\x01\n\x14\x42\x61tchDeleteTestCases\x12:.google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest\x1a\x16.google.protobuf.Empty\"V\xda\x41\x06parent\x82\xd3\xe4\x93\x02G\"B/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchDelete:\x01*\x12\xb0\x01\n\x0bGetTestCase\x12\x31.google.cloud.dialogflow.cx.v3.GetTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v3/{name=projects/*/locations/*/agents/*/testCases/*}\x12\xcd\x01\n\x0e\x43reateTestCase\x12\x34.google.cloud.dialogflow.cx.v3.CreateTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"\\\xda\x41\x10parent,test_case\x82\xd3\xe4\x93\x02\x43\"6/v3/{parent=projects/*/locations/*/agents/*}/testCases:\ttest_case\x12\xdc\x01\n\x0eUpdateTestCase\x12\x34.google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest\x1a\'.google.cloud.dialogflow.cx.v3.TestCase\"k\xda\x41\x15test_case,update_mask\x82\xd3\xe4\x93\x02M2@/v3/{test_case.name=projects/*/locations/*/agents/*/testCases/*}:\ttest_case\x12\xd3\x01\n\x0bRunTestCase\x12\x31.google.cloud.dialogflow.cx.v3.RunTestCaseRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41*\n\x13RunTestCaseResponse\x12\x13RunTestCaseMetadata\x82\xd3\xe4\x93\x02?\":/v3/{name=projects/*/locations/*/agents/*/testCases/*}:run:\x01*\x12\xf1\x01\n\x11\x42\x61tchRunTestCases\x12\x37.google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x36\n\x19\x42\x61tchRunTestCasesResponse\x12\x19\x42\x61tchRunTestCasesMetadata\x82\xd3\xe4\x93\x02\x44\"?/v3/{parent=projects/*/locations/*/agents/*}/testCases:batchRun:\x01*\x12\xd7\x01\n\x11\x43\x61lculateCoverage\x12\x37.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest\x1a\x38.google.cloud.dialogflow.cx.v3.CalculateCoverageResponse\"O\x82\xd3\xe4\x93\x02I\x12G/v3/{agent=projects/*/locations/*/agents/*}/testCases:calculateCoverage\x12\xe6\x01\n\x0fImportTestCases\x12\x35.google.cloud.dialogflow.cx.v3.ImportTestCasesRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x32\n\x17ImportTestCasesResponse\x12\x17ImportTestCasesMetadata\x82\xd3\xe4\x93\x02\x42\"=/v3/{parent=projects/*/locations/*/agents/*}/testCases:import:\x01*\x12\xe6\x01\n\x0f\x45xportTestCases\x12\x35.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x32\n\x17\x45xportTestCasesResponse\x12\x17\x45xportTestCasesMetadata\x82\xd3\xe4\x93\x02\x42\"=/v3/{parent=projects/*/locations/*/agents/*}/testCases:export:\x01*\x12\xdf\x01\n\x13ListTestCaseResults\x12\x39.google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest\x1a:.google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse\"Q\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x42\x12@/v3/{parent=projects/*/locations/*/agents/*/testCases/*}/results\x12\xcc\x01\n\x11GetTestCaseResult\x12\x37.google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest\x1a-.google.cloud.dialogflow.cx.v3.TestCaseResult\"O\xda\x41\x04name\x82\xd3\xe4\x93\x02\x42\x12@/v3/{name=projects/*/locations/*/agents/*/testCases/*/results/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xb3\x01\n!com.google.cloud.dialogflow.cx.v3B\rTestCaseProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
26
26
|
|
27
27
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
28
28
|
|
@@ -13,7 +13,7 @@ require 'google/protobuf/empty_pb'
|
|
13
13
|
require 'google/protobuf/field_mask_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n:google/cloud/dialogflow/cx/v3/transition_route_group.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\
|
16
|
+
descriptor_data = "\n:google/cloud/dialogflow/cx/v3/transition_route_group.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/dialogflow/cx/v3/page.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xc9\x03\n\x14TransitionRouteGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x11transition_routes\x18\x05 \x03(\x0b\x32..google.cloud.dialogflow.cx.v3.TransitionRoute:\xbc\x02\xea\x41\xb8\x02\n.dialogflow.googleapis.com/TransitionRouteGroup\x12rprojects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}\x12\x65projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}*\x15transitionRouteGroups2\x14transitionRouteGroup\"\xa8\x01\n ListTransitionRouteGroupsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/TransitionRouteGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\"\x92\x01\n!ListTransitionRouteGroupsResponse\x12T\n\x17transition_route_groups\x18\x01 \x03(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"}\n\x1eGetTransitionRouteGroupRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\"\xdc\x01\n!CreateTransitionRouteGroupRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.dialogflow.googleapis.com/TransitionRouteGroup\x12X\n\x16transition_route_group\x18\x02 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroupB\x03\xe0\x41\x02\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"\xc5\x01\n!UpdateTransitionRouteGroupRequest\x12X\n\x16transition_route_group\x18\x01 \x01(\x0b\x32\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rlanguage_code\x18\x03 \x01(\t\"x\n!DeleteTransitionRouteGroupRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.dialogflow.googleapis.com/TransitionRouteGroup\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x32\xdd\x0e\n\x15TransitionRouteGroups\x12\xc3\x02\n\x19ListTransitionRouteGroups\x12?.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest\x1a@.google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse\"\xa2\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x92\x01\x12J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroupsZD\x12\x42/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups\x12\xb0\x02\n\x17GetTransitionRouteGroup\x12=.google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xa0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x92\x01\x12J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}ZD\x12\x42/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}\x12\xff\x02\n\x1a\x43reateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\xe9\x01\xda\x41\x1dparent,transition_route_group\x82\xd3\xe4\x93\x02\xc2\x01\"J/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups:\x16transition_route_groupZ\\\"B/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups:\x16transition_route_group\x12\xb2\x03\n\x1aUpdateTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest\x1a\x33.google.cloud.dialogflow.cx.v3.TransitionRouteGroup\"\x9c\x02\xda\x41\"transition_route_group,update_mask\x82\xd3\xe4\x93\x02\xf0\x01\x32\x61/v3/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}:\x16transition_route_groupZs2Y/v3/{transition_route_group.name=projects/*/locations/*/agents/*/transitionRouteGroups/*}:\x16transition_route_group\x12\x99\x02\n\x1a\x44\x65leteTransitionRouteGroup\x12@.google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest\x1a\x16.google.protobuf.Empty\"\xa0\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x92\x01*J/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}ZD*B/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xbf\x01\n!com.google.cloud.dialogflow.cx.v3B\x19TransitionRouteGroupProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|