From 6c680b3551cb1e46c12a49f1fb524c3455a88d78 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 17 Dec 2020 02:38:03 -0800 Subject: [PATCH] feat: Automated regeneration of dialogflow v3 client (#1800) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-12-17 02:26:07,552 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-dialogflow-v3 nothing to commit, working tree clean 2020-12-17 02:26:07,587 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth dialogflow v3 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth dialogflow v3 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.9 Installing tzinfo 1.2.9 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.4.1 Installing json 2.4.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.52.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.1 Installing redcarpet 3.5.1 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=dialogflow.v3 --names-out=/workspace/api_names_out.yaml Loading dialogflow, version v3 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/dialogflow.v3.json conflict google/apis/dialogflow_v3.rb Wrote metadata to generated/google/apis/dialogflow_v3/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/dialogflow_v3/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/78e81ef5-7bf4-4f8f-a13c-d92e01900b82/targets - [ ] To automatically regenerate this PR, check this box. --- api_names_out.yaml | 383 +++ generated/google/apis/dialogflow_v3.rb | 2 +- .../google/apis/dialogflow_v3/classes.rb | 2809 +++++++++++++++++ .../apis/dialogflow_v3/representations.rb | 1385 ++++++++ .../google/apis/dialogflow_v3/service.rb | 408 +++ .../google/apis/dialogflow_v3/synth.metadata | 2 +- 6 files changed, 4987 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index bae2027f2..4b4d0322c 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -90811,8 +90811,49 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3AudioInput": google_cloud_dialogflow_cx_v3_audio_input "/dialogflow:v3/GoogleCloudDialogflowCxV3AudioInput/audio": audio "/dialogflow:v3/GoogleCloudDialogflowCxV3AudioInput/config": config +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest": google_cloud_dialogflow_cx_v3_batch_delete_test_cases_request +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest/names": names +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest/names/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": google_cloud_dialogflow_cx_v3_batch_run_test_cases_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata/errors": errors +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata/errors/error": error +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesRequest": google_cloud_dialogflow_cx_v3_batch_run_test_cases_request +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesRequest/environment": environment +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesRequest/testCases": test_cases +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesRequest/testCases/test_case": test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": google_cloud_dialogflow_cx_v3_batch_run_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesResponse/results": results +"/dialogflow:v3/GoogleCloudDialogflowCxV3BatchRunTestCasesResponse/results/result": result +"/dialogflow:v3/GoogleCloudDialogflowCxV3CalculateCoverageResponse": google_cloud_dialogflow_cx_v3_calculate_coverage_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3CalculateCoverageResponse/agent": agent +"/dialogflow:v3/GoogleCloudDialogflowCxV3CalculateCoverageResponse/intentCoverage": intent_coverage +"/dialogflow:v3/GoogleCloudDialogflowCxV3CalculateCoverageResponse/transitionCoverage": transition_coverage +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurn": google_cloud_dialogflow_cx_v3_conversation_turn +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurn/userInput": user_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurn/virtualAgentOutput": virtual_agent_output +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnUserInput": google_cloud_dialogflow_cx_v3_conversation_turn_user_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnUserInput/injectedParameters": injected_parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnUserInput/injectedParameters/injected_parameter": injected_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnUserInput/input": input +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnUserInput/isWebhookEnabled": is_webhook_enabled +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": google_cloud_dialogflow_cx_v3_conversation_turn_virtual_agent_output +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/currentPage": current_page +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/diagnosticInfo": diagnostic_info +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/diagnosticInfo/diagnostic_info": diagnostic_info +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/differences": differences +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/differences/difference": difference +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/sessionParameters": session_parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/sessionParameters/session_parameter": session_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/status": status +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/textResponses": text_responses +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/textResponses/text_response": text_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/triggeredIntent": triggered_intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_create_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": google_cloud_dialogflow_cx_v3_create_version_operation_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3CreateVersionOperationMetadata/version": version +"/dialogflow:v3/GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_delete_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3DetectIntentRequest": google_cloud_dialogflow_cx_v3_detect_intent_request "/dialogflow:v3/GoogleCloudDialogflowCxV3DetectIntentRequest/outputAudioConfig": output_audio_config "/dialogflow:v3/GoogleCloudDialogflowCxV3DetectIntentRequest/queryInput": query_input @@ -90863,6 +90904,14 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3ExportAgentResponse": google_cloud_dialogflow_cx_v3_export_agent_response "/dialogflow:v3/GoogleCloudDialogflowCxV3ExportAgentResponse/agentContent": agent_content "/dialogflow:v3/GoogleCloudDialogflowCxV3ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesMetadata": google_cloud_dialogflow_cx_v3_export_test_cases_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesRequest": google_cloud_dialogflow_cx_v3_export_test_cases_request +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesRequest/dataFormat": data_format +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesRequest/filter": filter +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesRequest/gcsUri": gcs_uri +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesResponse": google_cloud_dialogflow_cx_v3_export_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesResponse/content": content +"/dialogflow:v3/GoogleCloudDialogflowCxV3ExportTestCasesResponse/gcsUri": gcs_uri "/dialogflow:v3/GoogleCloudDialogflowCxV3Flow": google_cloud_dialogflow_cx_v3_flow "/dialogflow:v3/GoogleCloudDialogflowCxV3Flow/description": description "/dialogflow:v3/GoogleCloudDialogflowCxV3Flow/displayName": display_name @@ -90918,6 +90967,22 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": google_cloud_dialogflow_cx_v3_fulfillment_set_parameter_action "/dialogflow:v3/GoogleCloudDialogflowCxV3FulfillmentSetParameterAction/parameter": parameter "/dialogflow:v3/GoogleCloudDialogflowCxV3FulfillmentSetParameterAction/value": value +"/dialogflow:v3/GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": google_cloud_dialogflow_cx_v3_generic_knowledge_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata/state": state +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": google_cloud_dialogflow_cx_v3_import_documents_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsResponse": google_cloud_dialogflow_cx_v3_import_documents_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsResponse/warnings": warnings +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsResponse/warnings/warning": warning +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesMetadata": google_cloud_dialogflow_cx_v3_import_test_cases_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesMetadata/errors": errors +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesMetadata/errors/error": error +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesRequest": google_cloud_dialogflow_cx_v3_import_test_cases_request +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesRequest/content": content +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesRequest/gcsUri": gcs_uri +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesResponse": google_cloud_dialogflow_cx_v3_import_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesResponse/names": names +"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportTestCasesResponse/names/name": name "/dialogflow:v3/GoogleCloudDialogflowCxV3InputAudioConfig": google_cloud_dialogflow_cx_v3_input_audio_config "/dialogflow:v3/GoogleCloudDialogflowCxV3InputAudioConfig/audioEncoding": audio_encoding "/dialogflow:v3/GoogleCloudDialogflowCxV3InputAudioConfig/enableWordInfo": enable_word_info @@ -90939,6 +91004,13 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3Intent/priority": priority "/dialogflow:v3/GoogleCloudDialogflowCxV3Intent/trainingPhrases": training_phrases "/dialogflow:v3/GoogleCloudDialogflowCxV3Intent/trainingPhrases/training_phrase": training_phrase +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverage": google_cloud_dialogflow_cx_v3_intent_coverage +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverage/coverageScore": coverage_score +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverage/intents": intents +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverage/intents/intent": intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverageIntent": google_cloud_dialogflow_cx_v3_intent_coverage_intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverageIntent/covered": covered +"/dialogflow:v3/GoogleCloudDialogflowCxV3IntentCoverageIntent/intent": intent "/dialogflow:v3/GoogleCloudDialogflowCxV3IntentInput": google_cloud_dialogflow_cx_v3_intent_input "/dialogflow:v3/GoogleCloudDialogflowCxV3IntentInput/intent": intent "/dialogflow:v3/GoogleCloudDialogflowCxV3IntentParameter": google_cloud_dialogflow_cx_v3_intent_parameter @@ -90986,6 +91058,14 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse/nextPageToken": next_page_token "/dialogflow:v3/GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse/sessionEntityTypes": session_entity_types "/dialogflow:v3/GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse/sessionEntityTypes/session_entity_type": session_entity_type +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCaseResultsResponse": google_cloud_dialogflow_cx_v3_list_test_case_results_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCaseResultsResponse/nextPageToken": next_page_token +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCaseResultsResponse/testCaseResults": test_case_results +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCaseResultsResponse/testCaseResults/test_case_result": test_case_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse": google_cloud_dialogflow_cx_v3_list_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse/nextPageToken": next_page_token +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse/testCases": test_cases +"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse/testCases/test_case": test_case "/dialogflow:v3/GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse": google_cloud_dialogflow_cx_v3_list_transition_route_groups_response "/dialogflow:v3/GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse/nextPageToken": next_page_token "/dialogflow:v3/GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse/transitionRouteGroups": transition_route_groups @@ -91095,6 +91175,8 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3QueryResult/webhookPayloads/webhook_payload/webhook_payload": webhook_payload "/dialogflow:v3/GoogleCloudDialogflowCxV3QueryResult/webhookStatuses": webhook_statuses "/dialogflow:v3/GoogleCloudDialogflowCxV3QueryResult/webhookStatuses/webhook_status": webhook_status +"/dialogflow:v3/GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_reload_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3ResponseMessage": google_cloud_dialogflow_cx_v3_response_message "/dialogflow:v3/GoogleCloudDialogflowCxV3ResponseMessage/conversationSuccess": conversation_success "/dialogflow:v3/GoogleCloudDialogflowCxV3ResponseMessage/endInteraction": end_interaction @@ -91133,6 +91215,12 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3RestoreAgentRequest": google_cloud_dialogflow_cx_v3_restore_agent_request "/dialogflow:v3/GoogleCloudDialogflowCxV3RestoreAgentRequest/agentContent": agent_content "/dialogflow:v3/GoogleCloudDialogflowCxV3RestoreAgentRequest/agentUri": agent_uri +"/dialogflow:v3/GoogleCloudDialogflowCxV3RunTestCaseMetadata": google_cloud_dialogflow_cx_v3_run_test_case_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3RunTestCaseRequest": google_cloud_dialogflow_cx_v3_run_test_case_request +"/dialogflow:v3/GoogleCloudDialogflowCxV3RunTestCaseRequest/environment": environment +"/dialogflow:v3/GoogleCloudDialogflowCxV3RunTestCaseRequest/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3RunTestCaseResponse": google_cloud_dialogflow_cx_v3_run_test_case_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3RunTestCaseResponse/result": result "/dialogflow:v3/GoogleCloudDialogflowCxV3SecuritySettings": google_cloud_dialogflow_cx_v3_security_settings "/dialogflow:v3/GoogleCloudDialogflowCxV3SecuritySettings/displayName": display_name "/dialogflow:v3/GoogleCloudDialogflowCxV3SecuritySettings/inspectTemplate": inspect_template @@ -91163,9 +91251,55 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3SynthesizeSpeechConfig/speakingRate": speaking_rate "/dialogflow:v3/GoogleCloudDialogflowCxV3SynthesizeSpeechConfig/voice": voice "/dialogflow:v3/GoogleCloudDialogflowCxV3SynthesizeSpeechConfig/volumeGainDb": volume_gain_db +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase": google_cloud_dialogflow_cx_v3_test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/creationTime": creation_time +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/displayName": display_name +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/lastTestResult": last_test_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/notes": notes +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/tags": tags +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/tags/tag": tag +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/testCaseConversationTurns": test_case_conversation_turns +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/testCaseConversationTurns/test_case_conversation_turn": test_case_conversation_turn +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCase/testConfig": test_config +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseError": google_cloud_dialogflow_cx_v3_test_case_error +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseError/status": status +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseError/testCase": test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult": google_cloud_dialogflow_cx_v3_test_case_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult/conversationTurns": conversation_turns +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult/conversationTurns/conversation_turn": conversation_turn +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult/environment": environment +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult/testResult": test_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestCaseResult/testTime": test_time +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestConfig": google_cloud_dialogflow_cx_v3_test_config +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestConfig/flow": flow +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestConfig/trackingParameters": tracking_parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestConfig/trackingParameters/tracking_parameter": tracking_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestError": google_cloud_dialogflow_cx_v3_test_error +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestError/status": status +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestError/testCase": test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestError/testTime": test_time +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestRunDifference": google_cloud_dialogflow_cx_v3_test_run_difference +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestRunDifference/description": description +"/dialogflow:v3/GoogleCloudDialogflowCxV3TestRunDifference/type": type "/dialogflow:v3/GoogleCloudDialogflowCxV3TextInput": google_cloud_dialogflow_cx_v3_text_input "/dialogflow:v3/GoogleCloudDialogflowCxV3TextInput/text": text "/dialogflow:v3/GoogleCloudDialogflowCxV3TrainFlowRequest": google_cloud_dialogflow_cx_v3_train_flow_request +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverage": google_cloud_dialogflow_cx_v3_transition_coverage +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverage/coverageScore": coverage_score +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverage/transitions": transitions +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverage/transitions/transition": transition +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition": google_cloud_dialogflow_cx_v3_transition_coverage_transition +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition/covered": covered +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition/eventHandler": event_handler +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition/index": index +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition/source": source +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition/target": target +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransition/transitionRoute": transition_route +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode": google_cloud_dialogflow_cx_v3_transition_coverage_transition_node +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode/flow": flow +"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode/page": page "/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionRoute": google_cloud_dialogflow_cx_v3_transition_route "/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionRoute/condition": condition "/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionRoute/intent": intent @@ -91178,6 +91312,8 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionRouteGroup/name": name "/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionRouteGroup/transitionRoutes": transition_routes "/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionRouteGroup/transitionRoutes/transition_route": transition_route +"/dialogflow:v3/GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_update_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3Version": google_cloud_dialogflow_cx_v3_version "/dialogflow:v3/GoogleCloudDialogflowCxV3Version/createTime": create_time "/dialogflow:v3/GoogleCloudDialogflowCxV3Version/description": description @@ -91231,11 +91367,156 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/mergeBehavior": merge_behavior "/dialogflow:v3/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/messages": messages "/dialogflow:v3/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/messages/message": message +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AudioInput": google_cloud_dialogflow_cx_v3beta1_audio_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AudioInput/audio": audio +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1AudioInput/config": config +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata/errors": errors +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata/errors/error": error +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse/results": results +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse/results/result": result +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurn": google_cloud_dialogflow_cx_v3beta1_conversation_turn +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurn/userInput": user_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurn/virtualAgentOutput": virtual_agent_output +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": google_cloud_dialogflow_cx_v3beta1_conversation_turn_user_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/injectedParameters": injected_parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/injectedParameters/injected_parameter": injected_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/input": input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/isWebhookEnabled": is_webhook_enabled +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": google_cloud_dialogflow_cx_v3beta1_conversation_turn_virtual_agent_output +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/currentPage": current_page +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/diagnosticInfo": diagnostic_info +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/diagnosticInfo/diagnostic_info": diagnostic_info +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/differences": differences +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/differences/difference": difference +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/sessionParameters": session_parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/sessionParameters/session_parameter": session_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/status": status +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/textResponses": text_responses +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/textResponses/text_response": text_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/triggeredIntent": triggered_intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_create_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": google_cloud_dialogflow_cx_v3beta1_create_version_operation_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata/version": version +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_delete_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1DtmfInput": google_cloud_dialogflow_cx_v3beta1_dtmf_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1DtmfInput/digits": digits +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1DtmfInput/finishDigit": finish_digit +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventHandler": google_cloud_dialogflow_cx_v3beta1_event_handler +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventHandler/event": event +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventHandler/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventHandler/targetFlow": target_flow +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventHandler/targetPage": target_page +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventHandler/triggerFulfillment": trigger_fulfillment +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventInput": google_cloud_dialogflow_cx_v3beta1_event_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1EventInput/event": event "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentContent": agent_content "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": google_cloud_dialogflow_cx_v3beta1_export_test_cases_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": google_cloud_dialogflow_cx_v3beta1_export_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse/content": content +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse/gcsUri": gcs_uri +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Form": google_cloud_dialogflow_cx_v3beta1_form +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Form/parameters": parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Form/parameters/parameter": parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter": google_cloud_dialogflow_cx_v3beta1_form_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/defaultValue": default_value +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/displayName": display_name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/redact": redact +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameter/required": required +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/repromptEventHandlers": reprompt_event_handlers +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/repromptEventHandlers/reprompt_event_handler": reprompt_event_handler +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment": google_cloud_dialogflow_cx_v3beta1_fulfillment +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/conditionalCases": conditional_cases +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/conditionalCases/conditional_case": conditional_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/messages": messages +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/messages/message": message +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/setParameterActions": set_parameter_actions +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/setParameterActions/set_parameter_action": set_parameter_action +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/tag": tag +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Fulfillment/webhook": webhook +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases/cases": cases +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases/cases/case": case +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/caseContent": case_content +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/caseContent/case_content": case_content +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/condition": condition +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases_case_case_content +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent/additionalCases": additional_cases +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent/message": message +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": google_cloud_dialogflow_cx_v3beta1_fulfillment_set_parameter_action +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction/parameter": parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction/value": value +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": google_cloud_dialogflow_cx_v3beta1_generic_knowledge_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata/state": state +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata": google_cloud_dialogflow_cx_v3beta1_import_documents_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse": google_cloud_dialogflow_cx_v3beta1_import_documents_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse/warnings": warnings +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse/warnings/warning": warning +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": google_cloud_dialogflow_cx_v3beta1_import_test_cases_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata/errors": errors +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata/errors/error": error +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": google_cloud_dialogflow_cx_v3beta1_import_test_cases_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse/names": names +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse/names/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig": google_cloud_dialogflow_cx_v3beta1_input_audio_config +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/audioEncoding": audio_encoding +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/enableWordInfo": enable_word_info +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/model": model +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/modelVariant": model_variant +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/phraseHints": phrase_hints +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/phraseHints/phrase_hint": phrase_hint +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/sampleRateHertz": sample_rate_hertz +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1InputAudioConfig/singleUtterance": single_utterance +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent": google_cloud_dialogflow_cx_v3beta1_intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/description": description +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/displayName": display_name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/isFallback": is_fallback +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/labels": labels +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/labels/label": label +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/parameters": parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/parameters/parameter": parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/priority": priority +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/trainingPhrases": training_phrases +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Intent/trainingPhrases/training_phrase": training_phrase +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentInput": google_cloud_dialogflow_cx_v3beta1_intent_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentInput/intent": intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentParameter": google_cloud_dialogflow_cx_v3beta1_intent_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentParameter/isList": is_list +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentParameter/redact": redact +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts/part": part +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/repeatCount": repeat_count +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase_part +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart/parameterId": parameter_id +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart/text": text +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page": google_cloud_dialogflow_cx_v3beta1_page +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/displayName": display_name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/entryFulfillment": entry_fulfillment +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/eventHandlers": event_handlers +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/eventHandlers/event_handler": event_handler +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/form": form +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/transitionRouteGroups": transition_route_groups +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/transitionRouteGroups/transition_route_group": transition_route_group +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/transitionRoutes": transition_routes +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1Page/transitionRoutes/transition_route": transition_route "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1PageInfo": google_cloud_dialogflow_cx_v3beta1_page_info "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1PageInfo/currentPage": current_page "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1PageInfo/formInfo": form_info @@ -91248,6 +91529,15 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/required": required "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/state": state "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/value": value +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput": google_cloud_dialogflow_cx_v3beta1_query_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput/audio": audio +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput/dtmf": dtmf +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput/event": event +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput/intent": intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput/languageCode": language_code +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1QueryInput/text": text +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_reload_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ResponseMessage": google_cloud_dialogflow_cx_v3beta1_response_message "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ResponseMessage/conversationSuccess": conversation_success "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ResponseMessage/endInteraction": end_interaction @@ -91283,10 +91573,56 @@ "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ResponseMessageText/allowPlaybackInterruption": allow_playback_interruption "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ResponseMessageText/text": text "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1ResponseMessageText/text/text": text +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": google_cloud_dialogflow_cx_v3beta1_run_test_case_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": google_cloud_dialogflow_cx_v3beta1_run_test_case_response +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1RunTestCaseResponse/result": result "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1SessionInfo": google_cloud_dialogflow_cx_v3beta1_session_info "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1SessionInfo/parameters": parameters "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1SessionInfo/parameters/parameter": parameter "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1SessionInfo/session": session +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase": google_cloud_dialogflow_cx_v3beta1_test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/creationTime": creation_time +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/displayName": display_name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/lastTestResult": last_test_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/notes": notes +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/tags": tags +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/tags/tag": tag +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/testCaseConversationTurns": test_case_conversation_turns +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/testCaseConversationTurns/test_case_conversation_turn": test_case_conversation_turn +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCase/testConfig": test_config +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseError": google_cloud_dialogflow_cx_v3beta1_test_case_error +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseError/status": status +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseError/testCase": test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult": google_cloud_dialogflow_cx_v3beta1_test_case_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult/conversationTurns": conversation_turns +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult/conversationTurns/conversation_turn": conversation_turn +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult/environment": environment +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult/testResult": test_result +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestCaseResult/testTime": test_time +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestConfig": google_cloud_dialogflow_cx_v3beta1_test_config +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestConfig/flow": flow +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestConfig/trackingParameters": tracking_parameters +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestConfig/trackingParameters/tracking_parameter": tracking_parameter +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestError": google_cloud_dialogflow_cx_v3beta1_test_error +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestError/status": status +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestError/testCase": test_case +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestError/testTime": test_time +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestRunDifference": google_cloud_dialogflow_cx_v3beta1_test_run_difference +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestRunDifference/description": description +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TestRunDifference/type": type +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TextInput": google_cloud_dialogflow_cx_v3beta1_text_input +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TextInput/text": text +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute": google_cloud_dialogflow_cx_v3beta1_transition_route +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute/condition": condition +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute/intent": intent +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute/name": name +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute/targetFlow": target_flow +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute/targetPage": target_page +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1TransitionRoute/triggerFulfillment": trigger_fulfillment +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_update_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id "/dialogflow:v3/GoogleCloudDialogflowCxV3beta1WebhookRequest/fulfillmentInfo": fulfillment_info @@ -91932,6 +92268,21 @@ "/dialogflow:v3/GoogleCloudDialogflowV2beta1WebhookResponse/sessionEntityTypes": session_entity_types "/dialogflow:v3/GoogleCloudDialogflowV2beta1WebhookResponse/sessionEntityTypes/session_entity_type": session_entity_type "/dialogflow:v3/GoogleCloudDialogflowV2beta1WebhookResponse/source": source +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_create_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_delete_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata": google_cloud_dialogflow_v3alpha1_generic_knowledge_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata/state": state +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata": google_cloud_dialogflow_v3alpha1_import_documents_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ImportDocumentsResponse": google_cloud_dialogflow_v3alpha1_import_documents_response +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ImportDocumentsResponse/warnings": warnings +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ImportDocumentsResponse/warnings/warning": warning +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_reload_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_update_document_operation_metadata +"/dialogflow:v3/GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/dialogflow:v3/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token "/dialogflow:v3/GoogleLongrunningListOperationsResponse/operations": operations @@ -92133,6 +92484,38 @@ "/dialogflow:v3/dialogflow.projects.locations.agents.sessions.fulfillIntent/session": session "/dialogflow:v3/dialogflow.projects.locations.agents.sessions.matchIntent": match_project_location_agent_session_intent "/dialogflow:v3/dialogflow.projects.locations.agents.sessions.matchIntent/session": session +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.batchDelete": batch_project_location_agent_test_case_delete +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.batchDelete/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.batchRun": batch_project_location_agent_test_case_run +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.batchRun/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.calculateCoverage": calculate_project_location_agent_test_case_coverage +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.calculateCoverage/agent": agent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.calculateCoverage/type": type +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.create": create_project_location_agent_test_case +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.create/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.export": export_project_location_agent_test_case +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.export/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.get": get_project_location_agent_test_case +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.get/name": name +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.import": import_project_location_agent_test_case +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.import/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.list": list_project_location_agent_test_cases +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.list/pageSize": page_size +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.list/pageToken": page_token +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.list/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.list/view": view +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.patch": patch_project_location_agent_test_case +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.patch/name": name +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.patch/updateMask": update_mask +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.results.list": list_project_location_agent_test_case_results +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.results.list/filter": filter +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.results.list/pageSize": page_size +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.results.list/pageToken": page_token +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.results.list/parent": parent +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.run": run_project_location_agent_test_case +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.run/agentsId": agents_id +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.run/locationsId": locations_id +"/dialogflow:v3/dialogflow.projects.locations.agents.testCases.run/projectsId": projects_id "/dialogflow:v3/dialogflow.projects.locations.agents.webhooks.create": create_project_location_agent_webhook "/dialogflow:v3/dialogflow.projects.locations.agents.webhooks.create/parent": parent "/dialogflow:v3/dialogflow.projects.locations.agents.webhooks.delete": delete_project_location_agent_webhook diff --git a/generated/google/apis/dialogflow_v3.rb b/generated/google/apis/dialogflow_v3.rb index e1cb1f3d6..8a97d2b19 100644 --- a/generated/google/apis/dialogflow_v3.rb +++ b/generated/google/apis/dialogflow_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV3 VERSION = 'V3' - REVISION = '20201207' + REVISION = '20201213' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v3/classes.rb b/generated/google/apis/dialogflow_v3/classes.rb index 0999d648b..a27b6c736 100644 --- a/generated/google/apis/dialogflow_v3/classes.rb +++ b/generated/google/apis/dialogflow_v3/classes.rb @@ -143,6 +143,281 @@ module Google end end + # The request message for TestCases.BatchDeleteTestCases. + class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest + include Google::Apis::Core::Hashable + + # Required. Format of test case names: `projects//locations/ /agents//testCases/` + # . + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + + # Metadata returned for the TestCases.BatchRunTestCases long running operation. + class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata + include Google::Apis::Core::Hashable + + # The test errors. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + end + end + + # The request message for TestCases.BatchRunTestCases. + class GoogleCloudDialogflowCxV3BatchRunTestCasesRequest + include Google::Apis::Core::Hashable + + # Optional. If not set, draft environment is assumed. Format: `projects// + # locations//agents//environments/`. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # Required. Format: `projects//locations//agents//testCases/`. + # Corresponds to the JSON property `testCases` + # @return [Array] + attr_accessor :test_cases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + @test_cases = args[:test_cases] if args.key?(:test_cases) + end + end + + # The response message for TestCases.BatchRunTestCases. + class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse + include Google::Apis::Core::Hashable + + # The test case results. The detailed conversation turns are empty in this + # response. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # The response message for TestCases.CalculateCoverage. + class GoogleCloudDialogflowCxV3CalculateCoverageResponse + include Google::Apis::Core::Hashable + + # The agent to calculate coverage for. Format: `projects//locations//agents/`. + # Corresponds to the JSON property `agent` + # @return [String] + attr_accessor :agent + + # Intent coverage represents the percentage of all possible intents in the agent + # that are triggered in any of a parent's test cases. + # Corresponds to the JSON property `intentCoverage` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage] + attr_accessor :intent_coverage + + # Transition coverage represents the percentage of all possible transitions + # present within any of a parent's test cases. + # Corresponds to the JSON property `transitionCoverage` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage] + attr_accessor :transition_coverage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent = args[:agent] if args.key?(:agent) + @intent_coverage = args[:intent_coverage] if args.key?(:intent_coverage) + @transition_coverage = args[:transition_coverage] if args.key?(:transition_coverage) + end + end + + # One interaction between a human and virtual agent. The human provides some + # input and the virtual agent provides a response. + class GoogleCloudDialogflowCxV3ConversationTurn + include Google::Apis::Core::Hashable + + # The input from the human user. + # Corresponds to the JSON property `userInput` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnUserInput] + attr_accessor :user_input + + # The output from the virtual agent. + # Corresponds to the JSON property `virtualAgentOutput` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput] + attr_accessor :virtual_agent_output + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_input = args[:user_input] if args.key?(:user_input) + @virtual_agent_output = args[:virtual_agent_output] if args.key?(:virtual_agent_output) + end + end + + # The input from the human user. + class GoogleCloudDialogflowCxV3ConversationTurnUserInput + include Google::Apis::Core::Hashable + + # Parameters that need to be injected into the conversation during intent + # detection. + # Corresponds to the JSON property `injectedParameters` + # @return [Hash] + attr_accessor :injected_parameters + + # Represents the query input. It can contain one of: 1. A conversational query + # in the form of text. 2. An intent query that specifies which intent to trigger. + # 3. Natural language speech audio to be processed. 4. An event to be triggered. + # + # Corresponds to the JSON property `input` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput] + attr_accessor :input + + # If webhooks should be allowed to trigger in response to the user utterance. + # Often if parameters are injected, webhooks should not be enabled. + # Corresponds to the JSON property `isWebhookEnabled` + # @return [Boolean] + attr_accessor :is_webhook_enabled + alias_method :is_webhook_enabled?, :is_webhook_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters) + @input = args[:input] if args.key?(:input) + @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled) + end + end + + # The output from the virtual agent. + class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput + include Google::Apis::Core::Hashable + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + # Corresponds to the JSON property `currentPage` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page] + attr_accessor :current_page + + # Required. Input only. The diagnostic info output for the turn. + # Corresponds to the JSON property `diagnosticInfo` + # @return [Hash] + attr_accessor :diagnostic_info + + # Output only. If this is part of a result conversation turn, the list of + # differences between the original run and the replay for this output, if any. + # Corresponds to the JSON property `differences` + # @return [Array] + attr_accessor :differences + + # The session parameters available to the bot at this point. + # Corresponds to the JSON property `sessionParameters` + # @return [Hash] + attr_accessor :session_parameters + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::DialogflowV3::GoogleRpcStatus] + attr_accessor :status + + # The text responses from the agent for the turn. + # Corresponds to the JSON property `textResponses` + # @return [Array] + attr_accessor :text_responses + + # An intent represents a user's intent to interact with a conversational agent. + # You can provide information for the Dialogflow API to use to match user input + # to an intent by adding training phrases (i.e., examples of user input) to your + # intent. + # Corresponds to the JSON property `triggeredIntent` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent] + attr_accessor :triggered_intent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_page = args[:current_page] if args.key?(:current_page) + @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info) + @differences = args[:differences] if args.key?(:differences) + @session_parameters = args[:session_parameters] if args.key?(:session_parameters) + @status = args[:status] if args.key?(:status) + @text_responses = args[:text_responses] if args.key?(:text_responses) + @triggered_intent = args[:triggered_intent] if args.key?(:triggered_intent) + end + end + + # Metadata for CreateDocument operation. + class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # Metadata associated with the long running operation for Versions.CreateVersion. class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata include Google::Apis::Core::Hashable @@ -163,6 +438,25 @@ module Google end end + # Metadata for DeleteDocument operation. + class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # The request to detect user's intent. class GoogleCloudDialogflowCxV3DetectIntentRequest include Google::Apis::Core::Hashable @@ -593,6 +887,83 @@ module Google end end + # Metadata returned for the TestCases.ExportTestCases long running operation. + class GoogleCloudDialogflowCxV3ExportTestCasesMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The request message for TestCases.ExportTestCases. + class GoogleCloudDialogflowCxV3ExportTestCasesRequest + include Google::Apis::Core::Hashable + + # The data format of the exported test cases. If not specified, `BLOB` is + # assumed. + # Corresponds to the JSON property `dataFormat` + # @return [String] + attr_accessor :data_format + + # The filter expression used to filter exported test cases, see [API Filtering]( + # https://aip.dev/160). The expression is case insensitive and supports the + # following syntax: name = [OR name = ] ... For example: * "name = t1 OR name = + # t2" matches the test case with the exact resource name "t1" or "t2". + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to + # export the test cases to. The format of this URI must be `gs:///`. If + # unspecified, the serialized test cases is returned inline. + # Corresponds to the JSON property `gcsUri` + # @return [String] + attr_accessor :gcs_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_format = args[:data_format] if args.key?(:data_format) + @filter = args[:filter] if args.key?(:filter) + @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) + end + end + + # The response message for TestCases.ExportTestCases. + class GoogleCloudDialogflowCxV3ExportTestCasesResponse + include Google::Apis::Core::Hashable + + # Uncompressed raw byte content for test cases. + # Corresponds to the JSON property `content` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :content + + # The URI to a file containing the exported test cases. This field is populated + # only if `gcs_uri` is specified in ExportTestCasesRequest. + # Corresponds to the JSON property `gcsUri` + # @return [String] + attr_accessor :gcs_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) + end + end + # Flows represents the conversation flows when you build your chatbot agent. A # flow consists of many pages connected by the transition routes. Conversations # always start with the built-in Start Flow (with an all-0 ID). Transition @@ -1045,6 +1416,129 @@ module Google end end + # Metadata in google::longrunning::Operation for Knowledge operations. + class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata + include Google::Apis::Core::Hashable + + # Required. Output only. The current state of this operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + end + end + + # Metadata for ImportDocuments operation. + class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Response message for Documents.ImportDocuments. + class GoogleCloudDialogflowCxV3ImportDocumentsResponse + include Google::Apis::Core::Hashable + + # Includes details about skipped documents or any other warnings. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @warnings = args[:warnings] if args.key?(:warnings) + end + end + + # Metadata returned for the TestCases.ImportTestCases long running operation. + class GoogleCloudDialogflowCxV3ImportTestCasesMetadata + include Google::Apis::Core::Hashable + + # Errors for failed test cases. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + end + end + + # The request message for TestCases.ImportTestCases. + class GoogleCloudDialogflowCxV3ImportTestCasesRequest + include Google::Apis::Core::Hashable + + # Uncompressed raw byte content for test cases. + # Corresponds to the JSON property `content` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :content + + # The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to + # import test cases from. The format of this URI must be `gs:///`. + # Corresponds to the JSON property `gcsUri` + # @return [String] + attr_accessor :gcs_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) + end + end + + # The response message for TestCases.ImportTestCases. + class GoogleCloudDialogflowCxV3ImportTestCasesResponse + include Google::Apis::Core::Hashable + + # The unique identifiers of the new test cases. Format: `projects//locations// + # agents//testCases/`. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + # Instructs the speech recognizer on how to process the audio content. class GoogleCloudDialogflowCxV3InputAudioConfig include Google::Apis::Core::Hashable @@ -1206,6 +1700,58 @@ module Google end end + # Intent coverage represents the percentage of all possible intents in the agent + # that are triggered in any of a parent's test cases. + class GoogleCloudDialogflowCxV3IntentCoverage + include Google::Apis::Core::Hashable + + # The percent of intents in the agent that are covered. + # Corresponds to the JSON property `coverageScore` + # @return [Float] + attr_accessor :coverage_score + + # The list of Intents present in the agent + # Corresponds to the JSON property `intents` + # @return [Array] + attr_accessor :intents + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @coverage_score = args[:coverage_score] if args.key?(:coverage_score) + @intents = args[:intents] if args.key?(:intents) + end + end + + # The agent's intent. + class GoogleCloudDialogflowCxV3IntentCoverageIntent + include Google::Apis::Core::Hashable + + # Whether or not the intent is covered by at least one of the agent's test cases. + # Corresponds to the JSON property `covered` + # @return [Boolean] + attr_accessor :covered + alias_method :covered?, :covered + + # The intent full resource name + # Corresponds to the JSON property `intent` + # @return [String] + attr_accessor :intent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @covered = args[:covered] if args.key?(:covered) + @intent = args[:intent] if args.key?(:intent) + end + end + # Represents the intent to trigger programmatically rather than as a result of # natural language processing. class GoogleCloudDialogflowCxV3IntentInput @@ -1555,6 +2101,59 @@ module Google end end + # The response message for TestCases.ListTestCaseResults. + class GoogleCloudDialogflowCxV3ListTestCaseResultsResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of test case results. + # Corresponds to the JSON property `testCaseResults` + # @return [Array] + attr_accessor :test_case_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @test_case_results = args[:test_case_results] if args.key?(:test_case_results) + end + end + + # The response message for TestCases.ListTestCases. + class GoogleCloudDialogflowCxV3ListTestCasesResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of test cases. There will be a maximum number of items returned based + # on the page_size field in the request. + # Corresponds to the JSON property `testCases` + # @return [Array] + attr_accessor :test_cases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @test_cases = args[:test_cases] if args.key?(:test_cases) + end + end + # The response message for TransitionRouteGroups.ListTransitionRouteGroups. class GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse include Google::Apis::Core::Hashable @@ -2389,6 +2988,25 @@ module Google end end + # Metadata for ReloadDocument operation. + class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # Represents a response message that can be returned by a conversational agent. # Response messages are also used for output audio synthesis. The approach is as # follows: * If at least one OutputAudioText response is present, then all @@ -2722,6 +3340,65 @@ module Google end end + # Metadata returned for the TestCases.RunTestCase long running operation. + class GoogleCloudDialogflowCxV3RunTestCaseMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The request message for TestCases.RunTestCase. + class GoogleCloudDialogflowCxV3RunTestCaseRequest + include Google::Apis::Core::Hashable + + # Optional. Environment name. If not set, draft environment is assumed. Format: ` + # projects//locations//agents//environments/`. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # Required. Format of test case name to run: `projects//locations/ /agents// + # testCases/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + @name = args[:name] if args.key?(:name) + end + end + + # The response message for TestCases.RunTestCase. + class GoogleCloudDialogflowCxV3RunTestCaseResponse + include Google::Apis::Core::Hashable + + # Represents a result from running a test case in an agent environment. + # Corresponds to the JSON property `result` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult] + attr_accessor :result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @result = args[:result] if args.key?(:result) + end + end + # Represents the settings related to security issues, such as data redaction and # data retention. It may take hours for updates on the settings to propagate to # all the related components and take effect. @@ -2967,6 +3644,237 @@ module Google end end + # Represents a test case. + class GoogleCloudDialogflowCxV3TestCase + include Google::Apis::Core::Hashable + + # Output only. When the test was created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Required. The human-readable name of the test case, unique within the agent. + # Limit of 200 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Represents a result from running a test case in an agent environment. + # Corresponds to the JSON property `lastTestResult` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult] + attr_accessor :last_test_result + + # The unique identifier of the test case. TestCases.CreateTestCase will populate + # the name automatically. Otherwise use format: `projects//locations//agents/ / + # testCases/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Additional freeform notes about the test case. Limit of 400 characters. + # Corresponds to the JSON property `notes` + # @return [String] + attr_accessor :notes + + # Tags are short descriptions that users may apply to test cases for + # organizational and filtering purposes. Each tag should start with "#" and has + # a limit of 30 characters. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # The conversation turns uttered when the test case was created, in + # chronological order. These include the canonical set of agent utterances that + # should occur when the agent is working properly. + # Corresponds to the JSON property `testCaseConversationTurns` + # @return [Array] + attr_accessor :test_case_conversation_turns + + # Represents configurations for a test case. + # Corresponds to the JSON property `testConfig` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestConfig] + attr_accessor :test_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @display_name = args[:display_name] if args.key?(:display_name) + @last_test_result = args[:last_test_result] if args.key?(:last_test_result) + @name = args[:name] if args.key?(:name) + @notes = args[:notes] if args.key?(:notes) + @tags = args[:tags] if args.key?(:tags) + @test_case_conversation_turns = args[:test_case_conversation_turns] if args.key?(:test_case_conversation_turns) + @test_config = args[:test_config] if args.key?(:test_config) + end + end + + # Error info for importing a test. + class GoogleCloudDialogflowCxV3TestCaseError + include Google::Apis::Core::Hashable + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::DialogflowV3::GoogleRpcStatus] + attr_accessor :status + + # Represents a test case. + # Corresponds to the JSON property `testCase` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] + attr_accessor :test_case + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @test_case = args[:test_case] if args.key?(:test_case) + end + end + + # Represents a result from running a test case in an agent environment. + class GoogleCloudDialogflowCxV3TestCaseResult + include Google::Apis::Core::Hashable + + # The conversation turns uttered during the test case replay in chronological + # order. + # Corresponds to the JSON property `conversationTurns` + # @return [Array] + attr_accessor :conversation_turns + + # Optional. Environment where the test was run. If not set, it indicates the + # draft environment. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # The resource name for the test case result. Format: `projects//locations// + # agents//testCases/ /results/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether the test case passed in the agent environment. + # Corresponds to the JSON property `testResult` + # @return [String] + attr_accessor :test_result + + # The time that the test was run. + # Corresponds to the JSON property `testTime` + # @return [String] + attr_accessor :test_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conversation_turns = args[:conversation_turns] if args.key?(:conversation_turns) + @environment = args[:environment] if args.key?(:environment) + @name = args[:name] if args.key?(:name) + @test_result = args[:test_result] if args.key?(:test_result) + @test_time = args[:test_time] if args.key?(:test_time) + end + end + + # Represents configurations for a test case. + class GoogleCloudDialogflowCxV3TestConfig + include Google::Apis::Core::Hashable + + # Flow name. If not set, default start flow is assumed. Format: `projects// + # locations//agents//flows/`. + # Corresponds to the JSON property `flow` + # @return [String] + attr_accessor :flow + + # Session parameters to be compared when calculating differences. + # Corresponds to the JSON property `trackingParameters` + # @return [Array] + attr_accessor :tracking_parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @flow = args[:flow] if args.key?(:flow) + @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters) + end + end + + # Error info for running a test. + class GoogleCloudDialogflowCxV3TestError + include Google::Apis::Core::Hashable + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::DialogflowV3::GoogleRpcStatus] + attr_accessor :status + + # The test case resource name. + # Corresponds to the JSON property `testCase` + # @return [String] + attr_accessor :test_case + + # The timestamp when the test was completed. + # Corresponds to the JSON property `testTime` + # @return [String] + attr_accessor :test_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @test_case = args[:test_case] if args.key?(:test_case) + @test_time = args[:test_time] if args.key?(:test_time) + end + end + + # The description of differences between original and replayed agent output. + class GoogleCloudDialogflowCxV3TestRunDifference + include Google::Apis::Core::Hashable + + # A description of the diff, showing the actual output vs expected output. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The type of diff. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @type = args[:type] if args.key?(:type) + end + end + # Represents the natural language text to be processed. class GoogleCloudDialogflowCxV3TextInput include Google::Apis::Core::Hashable @@ -3000,6 +3908,140 @@ module Google end end + # Transition coverage represents the percentage of all possible transitions + # present within any of a parent's test cases. + class GoogleCloudDialogflowCxV3TransitionCoverage + include Google::Apis::Core::Hashable + + # The percent of transitions in the agent that are covered. + # Corresponds to the JSON property `coverageScore` + # @return [Float] + attr_accessor :coverage_score + + # The list of Transitions present in the agent. + # Corresponds to the JSON property `transitions` + # @return [Array] + attr_accessor :transitions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @coverage_score = args[:coverage_score] if args.key?(:coverage_score) + @transitions = args[:transitions] if args.key?(:transitions) + end + end + + # A transition in the agent's graph. + class GoogleCloudDialogflowCxV3TransitionCoverageTransition + include Google::Apis::Core::Hashable + + # Whether or not the transition is covered by at least one of the agent's test + # cases. + # Corresponds to the JSON property `covered` + # @return [Boolean] + attr_accessor :covered + alias_method :covered?, :covered + + # An event handler specifies an event that can be handled during a session. When + # the specified event happens, the following actions are taken in order: * If + # there is a `trigger_fulfillment` associated with the event, it will be called. + # * If there is a `target_page` associated with the event, the session will + # transition into the specified page. * If there is a `target_flow` associated + # with the event, the session will transition into the specified flow. + # Corresponds to the JSON property `eventHandler` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler] + attr_accessor :event_handler + + # The index of a transition in the transition list. Starting from 0. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The source or target of a transition. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode] + attr_accessor :source + + # The source or target of a transition. + # Corresponds to the JSON property `target` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode] + attr_accessor :target + + # A transition route specifies a intent that can be matched and/or a data + # condition that can be evaluated during a session. When a specified transition + # is matched, the following actions are taken in order: * If there is a ` + # trigger_fulfillment` associated with the transition, it will be called. * If + # there is a `target_page` associated with the transition, the session will + # transition into the specified page. * If there is a `target_flow` associated + # with the transition, the session will transition into the specified flow. + # Corresponds to the JSON property `transitionRoute` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute] + attr_accessor :transition_route + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @covered = args[:covered] if args.key?(:covered) + @event_handler = args[:event_handler] if args.key?(:event_handler) + @index = args[:index] if args.key?(:index) + @source = args[:source] if args.key?(:source) + @target = args[:target] if args.key?(:target) + @transition_route = args[:transition_route] if args.key?(:transition_route) + end + end + + # The source or target of a transition. + class GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode + include Google::Apis::Core::Hashable + + # Flows represents the conversation flows when you build your chatbot agent. A + # flow consists of many pages connected by the transition routes. Conversations + # always start with the built-in Start Flow (with an all-0 ID). Transition + # routes can direct the conversation session from the current flow (parent flow) + # to another flow (sub flow). When the sub flow is finished, Dialogflow will + # bring the session back to the parent flow, where the sub flow is started. + # Usually, when a transition route is followed by a matched intent, the intent + # will be "consumed". This means the intent won't activate more transition + # routes. However, when the followed transition route moves the conversation + # session into a different flow, the matched intent can be carried over and to + # be consumed in the target flow. + # Corresponds to the JSON property `flow` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow] + attr_accessor :flow + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + # Corresponds to the JSON property `page` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page] + attr_accessor :page + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @flow = args[:flow] if args.key?(:flow) + @page = args[:page] if args.key?(:page) + end + end + # A transition route specifies a intent that can be matched and/or a data # condition that can be evaluated during a session. When a specified transition # is matched, the following actions are taken in order: * If there is a ` @@ -3108,6 +4150,25 @@ module Google end end + # Metadata for UpdateDocument operation. + class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # Represents a version of a flow. class GoogleCloudDialogflowCxV3Version include Google::Apis::Core::Hashable @@ -3486,6 +4547,233 @@ module Google end end + # Represents the natural speech audio to be processed. + class GoogleCloudDialogflowCxV3beta1AudioInput + include Google::Apis::Core::Hashable + + # The natural language speech audio to be processed. A single request can + # contain up to 1 minute of speech audio data. The transcribed text cannot + # contain more than 256 bytes. For non-streaming audio detect intent, both ` + # config` and `audio` must be provided. For streaming audio detect intent, ` + # config` must be provided in the first request and `audio` must be provided in + # all following requests. + # Corresponds to the JSON property `audio` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :audio + + # Instructs the speech recognizer on how to process the audio content. + # Corresponds to the JSON property `config` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InputAudioConfig] + attr_accessor :config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio = args[:audio] if args.key?(:audio) + @config = args[:config] if args.key?(:config) + end + end + + # Metadata returned for the TestCases.BatchRunTestCases long running operation. + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata + include Google::Apis::Core::Hashable + + # The test errors. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + end + end + + # The response message for TestCases.BatchRunTestCases. + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse + include Google::Apis::Core::Hashable + + # The test case results. The detailed conversation turns are empty in this + # response. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # One interaction between a human and virtual agent. The human provides some + # input and the virtual agent provides a response. + class GoogleCloudDialogflowCxV3beta1ConversationTurn + include Google::Apis::Core::Hashable + + # The input from the human user. + # Corresponds to the JSON property `userInput` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput] + attr_accessor :user_input + + # The output from the virtual agent. + # Corresponds to the JSON property `virtualAgentOutput` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput] + attr_accessor :virtual_agent_output + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_input = args[:user_input] if args.key?(:user_input) + @virtual_agent_output = args[:virtual_agent_output] if args.key?(:virtual_agent_output) + end + end + + # The input from the human user. + class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput + include Google::Apis::Core::Hashable + + # Parameters that need to be injected into the conversation during intent + # detection. + # Corresponds to the JSON property `injectedParameters` + # @return [Hash] + attr_accessor :injected_parameters + + # Represents the query input. It can contain one of: 1. A conversational query + # in the form of text. 2. An intent query that specifies which intent to trigger. + # 3. Natural language speech audio to be processed. 4. An event to be triggered. + # + # Corresponds to the JSON property `input` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput] + attr_accessor :input + + # If webhooks should be allowed to trigger in response to the user utterance. + # Often if parameters are injected, webhooks should not be enabled. + # Corresponds to the JSON property `isWebhookEnabled` + # @return [Boolean] + attr_accessor :is_webhook_enabled + alias_method :is_webhook_enabled?, :is_webhook_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters) + @input = args[:input] if args.key?(:input) + @is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled) + end + end + + # The output from the virtual agent. + class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput + include Google::Apis::Core::Hashable + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + # Corresponds to the JSON property `currentPage` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Page] + attr_accessor :current_page + + # Required. Input only. The diagnostic info output for the turn. + # Corresponds to the JSON property `diagnosticInfo` + # @return [Hash] + attr_accessor :diagnostic_info + + # Output only. If this is part of a result conversation turn, the list of + # differences between the original run and the replay for this output, if any. + # Corresponds to the JSON property `differences` + # @return [Array] + attr_accessor :differences + + # The session parameters available to the bot at this point. + # Corresponds to the JSON property `sessionParameters` + # @return [Hash] + attr_accessor :session_parameters + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::DialogflowV3::GoogleRpcStatus] + attr_accessor :status + + # The text responses from the agent for the turn. + # Corresponds to the JSON property `textResponses` + # @return [Array] + attr_accessor :text_responses + + # An intent represents a user's intent to interact with a conversational agent. + # You can provide information for the Dialogflow API to use to match user input + # to an intent by adding training phrases (i.e., examples of user input) to your + # intent. + # Corresponds to the JSON property `triggeredIntent` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Intent] + attr_accessor :triggered_intent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @current_page = args[:current_page] if args.key?(:current_page) + @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info) + @differences = args[:differences] if args.key?(:differences) + @session_parameters = args[:session_parameters] if args.key?(:session_parameters) + @status = args[:status] if args.key?(:status) + @text_responses = args[:text_responses] if args.key?(:text_responses) + @triggered_intent = args[:triggered_intent] if args.key?(:triggered_intent) + end + end + + # Metadata for CreateDocument operation. + class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # Metadata associated with the long running operation for Versions.CreateVersion. class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata include Google::Apis::Core::Hashable @@ -3506,6 +4794,125 @@ module Google end end + # Metadata for DeleteDocument operation. + class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Represents the input for dtmf event. + class GoogleCloudDialogflowCxV3beta1DtmfInput + include Google::Apis::Core::Hashable + + # The dtmf digits. + # Corresponds to the JSON property `digits` + # @return [String] + attr_accessor :digits + + # The finish digit (if any). + # Corresponds to the JSON property `finishDigit` + # @return [String] + attr_accessor :finish_digit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @digits = args[:digits] if args.key?(:digits) + @finish_digit = args[:finish_digit] if args.key?(:finish_digit) + end + end + + # An event handler specifies an event that can be handled during a session. When + # the specified event happens, the following actions are taken in order: * If + # there is a `trigger_fulfillment` associated with the event, it will be called. + # * If there is a `target_page` associated with the event, the session will + # transition into the specified page. * If there is a `target_flow` associated + # with the event, the session will transition into the specified flow. + class GoogleCloudDialogflowCxV3beta1EventHandler + include Google::Apis::Core::Hashable + + # Required. The name of the event to handle. + # Corresponds to the JSON property `event` + # @return [String] + attr_accessor :event + + # Output only. The unique identifier of this event handler. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The target flow to transition to. Format: `projects//locations//agents//flows/` + # . + # Corresponds to the JSON property `targetFlow` + # @return [String] + attr_accessor :target_flow + + # The target page to transition to. Format: `projects//locations//agents//flows// + # pages/`. + # Corresponds to the JSON property `targetPage` + # @return [String] + attr_accessor :target_page + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `triggerFulfillment` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :trigger_fulfillment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event = args[:event] if args.key?(:event) + @name = args[:name] if args.key?(:name) + @target_flow = args[:target_flow] if args.key?(:target_flow) + @target_page = args[:target_page] if args.key?(:target_page) + @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) + end + end + + # Represents the event to trigger. + class GoogleCloudDialogflowCxV3beta1EventInput + include Google::Apis::Core::Hashable + + # Name of the event. + # Corresponds to the JSON property `event` + # @return [String] + attr_accessor :event + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event = args[:event] if args.key?(:event) + end + end + # The response message for Agents.ExportAgent. class GoogleCloudDialogflowCxV3beta1ExportAgentResponse include Google::Apis::Core::Hashable @@ -3533,6 +4940,827 @@ module Google end end + # Metadata returned for the TestCases.ExportTestCases long running operation. + class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The response message for TestCases.ExportTestCases. + class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse + include Google::Apis::Core::Hashable + + # Uncompressed raw byte content for test cases. + # Corresponds to the JSON property `content` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :content + + # The URI to a file containing the exported test cases. This field is populated + # only if `gcs_uri` is specified in ExportTestCasesRequest. + # Corresponds to the JSON property `gcsUri` + # @return [String] + attr_accessor :gcs_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri) + end + end + + # A form is a data model that groups related parameters that can be collected + # from the user. The process in which the agent prompts the user and collects + # parameter values from the user is called form filling. A form can be added to + # a page. When form filling is done, the filled parameters will be written to + # the session. + class GoogleCloudDialogflowCxV3beta1Form + include Google::Apis::Core::Hashable + + # Parameters to collect from the user. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Represents a form parameter. + class GoogleCloudDialogflowCxV3beta1FormParameter + include Google::Apis::Core::Hashable + + # The default value of an optional parameter. If the parameter is required, the + # default value will be ignored. + # Corresponds to the JSON property `defaultValue` + # @return [Object] + attr_accessor :default_value + + # Required. The human-readable name of the parameter, unique within the form. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. The entity type of the parameter. Format: `projects/-/locations/-/ + # agents/-/entityTypes/` for system entity types (for example, `projects/-/ + # locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents// + # entityTypes/` for developer entity types. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # Configuration for how the filling of a parameter should be handled. + # Corresponds to the JSON property `fillBehavior` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior] + attr_accessor :fill_behavior + + # Indicates whether the parameter represents a list of values. + # Corresponds to the JSON property `isList` + # @return [Boolean] + attr_accessor :is_list + alias_method :is_list?, :is_list + + # Indicates whether the parameter content is logged in text and audio. If it is + # set to true, the parameter content will be replaced to parameter name in both + # request and response. The default value is false. + # Corresponds to the JSON property `redact` + # @return [Boolean] + attr_accessor :redact + alias_method :redact?, :redact + + # Indicates whether the parameter is required. Optional parameters will not + # trigger prompts; however, they are filled if the user specifies them. Required + # parameters must be filled before form filling concludes. + # Corresponds to the JSON property `required` + # @return [Boolean] + attr_accessor :required + alias_method :required?, :required + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_value = args[:default_value] if args.key?(:default_value) + @display_name = args[:display_name] if args.key?(:display_name) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior) + @is_list = args[:is_list] if args.key?(:is_list) + @redact = args[:redact] if args.key?(:redact) + @required = args[:required] if args.key?(:required) + end + end + + # Configuration for how the filling of a parameter should be handled. + class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + include Google::Apis::Core::Hashable + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `initialPromptFulfillment` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :initial_prompt_fulfillment + + # The handlers for parameter-level events, used to provide reprompt for the + # parameter or transition to a different page/flow. The supported events are: * ` + # sys.no-match-`, where N can be from 1 to 6 * `sys.no-match-default` * `sys.no- + # input-`, where N can be from 1 to 6 * `sys.no-input-default` * `sys.invalid- + # parameter` `initial_prompt_fulfillment` provides the first prompt for the + # parameter. If the user's response does not fill the parameter, a no-match/no- + # input event will be triggered, and the fulfillment associated with the `sys.no- + # match-1`/`sys.no-input-1` handler (if defined) will be called to provide a + # prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined) will + # respond to the next no-match/no-input event, and so on. A `sys.no-match- + # default` or `sys.no-input-default` handler will be used to handle all + # following no-match/no-input events after all numbered no-match/no-input + # handlers for the parameter are consumed. A `sys.invalid-parameter` handler can + # be defined to handle the case where the parameter values have been ` + # invalidated` by webhook. For example, if the user's response fill the + # parameter, however the parameter was invalidated by webhook, the fulfillment + # associated with the `sys.invalid-parameter` handler (if defined) will be + # called to provide a prompt. If the event handler for the corresponding event + # can't be found on the parameter, `initial_prompt_fulfillment` will be re- + # prompted. + # Corresponds to the JSON property `repromptEventHandlers` + # @return [Array] + attr_accessor :reprompt_event_handlers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @initial_prompt_fulfillment = args[:initial_prompt_fulfillment] if args.key?(:initial_prompt_fulfillment) + @reprompt_event_handlers = args[:reprompt_event_handlers] if args.key?(:reprompt_event_handlers) + end + end + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + class GoogleCloudDialogflowCxV3beta1Fulfillment + include Google::Apis::Core::Hashable + + # Conditional cases for this fulfillment. + # Corresponds to the JSON property `conditionalCases` + # @return [Array] + attr_accessor :conditional_cases + + # The list of rich message responses to present to the user. + # Corresponds to the JSON property `messages` + # @return [Array] + attr_accessor :messages + + # Set parameter values before executing the webhook. + # Corresponds to the JSON property `setParameterActions` + # @return [Array] + attr_accessor :set_parameter_actions + + # The tag used by the webhook to identify which fulfillment is being called. + # This field is required if `webhook` is specified. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + # The webhook to call. Format: `projects//locations//agents//webhooks/`. + # Corresponds to the JSON property `webhook` + # @return [String] + attr_accessor :webhook + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases) + @messages = args[:messages] if args.key?(:messages) + @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions) + @tag = args[:tag] if args.key?(:tag) + @webhook = args[:webhook] if args.key?(:webhook) + end + end + + # A list of cascading if-else conditions. Cases are mutually exclusive. The + # first one with a matching condition is selected, all the rest ignored. + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + include Google::Apis::Core::Hashable + + # A list of cascading if-else conditions. + # Corresponds to the JSON property `cases` + # @return [Array] + attr_accessor :cases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cases = args[:cases] if args.key?(:cases) + end + end + + # Each case has a Boolean condition. When it is evaluated to be True, the + # corresponding messages will be selected and evaluated recursively. + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + include Google::Apis::Core::Hashable + + # A list of case content. + # Corresponds to the JSON property `caseContent` + # @return [Array] + attr_accessor :case_content + + # The condition to activate and select this case. Empty means the condition is + # always true. The condition is evaluated against form parameters or session + # parameters. See the [conditions reference](https://cloud.google.com/dialogflow/ + # cx/docs/reference/condition). + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @case_content = args[:case_content] if args.key?(:case_content) + @condition = args[:condition] if args.key?(:condition) + end + end + + # The list of messages or conditional cases to activate for this case. + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + include Google::Apis::Core::Hashable + + # A list of cascading if-else conditions. Cases are mutually exclusive. The + # first one with a matching condition is selected, all the rest ignored. + # Corresponds to the JSON property `additionalCases` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases] + attr_accessor :additional_cases + + # Represents a response message that can be returned by a conversational agent. + # Response messages are also used for output audio synthesis. The approach is as + # follows: * If at least one OutputAudioText response is present, then all + # OutputAudioText responses are linearly concatenated, and the result is used + # for output audio synthesis. * If the OutputAudioText responses are a mixture + # of text and SSML, then the concatenated result is treated as SSML; otherwise, + # the result is treated as either text or SSML as appropriate. The agent + # designer should ideally use either text or SSML consistently throughout the + # bot design. * Otherwise, all Text responses are linearly concatenated, and the + # result is used for output audio synthesis. This approach allows for more + # sophisticated user experience scenarios, where the text displayed to the user + # may differ from what is heard. + # Corresponds to the JSON property `message` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_cases = args[:additional_cases] if args.key?(:additional_cases) + @message = args[:message] if args.key?(:message) + end + end + + # Setting a parameter value. + class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + include Google::Apis::Core::Hashable + + # Display name of the parameter. + # Corresponds to the JSON property `parameter` + # @return [String] + attr_accessor :parameter + + # The new value of the parameter. A null value clears the parameter. + # Corresponds to the JSON property `value` + # @return [Object] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter = args[:parameter] if args.key?(:parameter) + @value = args[:value] if args.key?(:value) + end + end + + # Metadata in google::longrunning::Operation for Knowledge operations. + class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata + include Google::Apis::Core::Hashable + + # Required. Output only. The current state of this operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + end + end + + # Metadata for ImportDocuments operation. + class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Response message for Documents.ImportDocuments. + class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse + include Google::Apis::Core::Hashable + + # Includes details about skipped documents or any other warnings. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @warnings = args[:warnings] if args.key?(:warnings) + end + end + + # Metadata returned for the TestCases.ImportTestCases long running operation. + class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata + include Google::Apis::Core::Hashable + + # Errors for failed test cases. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + end + end + + # The response message for TestCases.ImportTestCases. + class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse + include Google::Apis::Core::Hashable + + # The unique identifiers of the new test cases. Format: `projects//locations// + # agents//testCases/`. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @names = args[:names] if args.key?(:names) + end + end + + # Instructs the speech recognizer on how to process the audio content. + class GoogleCloudDialogflowCxV3beta1InputAudioConfig + include Google::Apis::Core::Hashable + + # Required. Audio encoding of the audio content to process. + # Corresponds to the JSON property `audioEncoding` + # @return [String] + attr_accessor :audio_encoding + + # Optional. If `true`, Dialogflow returns SpeechWordInfo in + # StreamingRecognitionResult with information about the recognized speech words, + # e.g. start and end time offsets. If false or unspecified, Speech doesn't + # return any word-level information. + # Corresponds to the JSON property `enableWordInfo` + # @return [Boolean] + attr_accessor :enable_word_info + alias_method :enable_word_info?, :enable_word_info + + # Optional. Which Speech model to select for the given request. Select the model + # best suited to your domain to get best results. If a model is not explicitly + # specified, then we auto-select a model based on the parameters in the + # InputAudioConfig. If enhanced speech model is enabled for the agent and an + # enhanced version of the specified model for the language does not exist, then + # the speech is recognized using the standard version of the specified model. + # Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to- + # text/docs/basics#select-model) for more details. + # Corresponds to the JSON property `model` + # @return [String] + attr_accessor :model + + # Optional. Which variant of the Speech model to use. + # Corresponds to the JSON property `modelVariant` + # @return [String] + attr_accessor :model_variant + + # Optional. A list of strings containing words and phrases that the speech + # recognizer should recognize with higher likelihood. See [the Cloud Speech + # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase- + # hints) for more details. + # Corresponds to the JSON property `phraseHints` + # @return [Array] + attr_accessor :phrase_hints + + # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud + # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) + # for more details. + # Corresponds to the JSON property `sampleRateHertz` + # @return [Fixnum] + attr_accessor :sample_rate_hertz + + # Optional. If `false` (default), recognition does not cease until the client + # closes the stream. If `true`, the recognizer will detect a single spoken + # utterance in input audio. Recognition ceases when it detects the audio's voice + # has stopped or paused. In this case, once a detected intent is received, the + # client should close the stream and start a new request with a new stream as + # needed. Note: This setting is relevant only for streaming methods. + # Corresponds to the JSON property `singleUtterance` + # @return [Boolean] + attr_accessor :single_utterance + alias_method :single_utterance?, :single_utterance + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding) + @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info) + @model = args[:model] if args.key?(:model) + @model_variant = args[:model_variant] if args.key?(:model_variant) + @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints) + @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz) + @single_utterance = args[:single_utterance] if args.key?(:single_utterance) + end + end + + # An intent represents a user's intent to interact with a conversational agent. + # You can provide information for the Dialogflow API to use to match user input + # to an intent by adding training phrases (i.e., examples of user input) to your + # intent. + class GoogleCloudDialogflowCxV3beta1Intent + include Google::Apis::Core::Hashable + + # Optional. Human readable description for better understanding an intent like + # its scope, content, result etc. Maximum character limit: 140 characters. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The human-readable name of the intent, unique within the agent. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Indicates whether this is a fallback intent. Currently only default fallback + # intent is allowed in the agent, which is added upon agent creation. Adding + # training phrases to fallback intent is useful in the case of requests that are + # mistakenly matched, since training phrases assigned to fallback intents act as + # negative examples that triggers no-match event. + # Corresponds to the JSON property `isFallback` + # @return [Boolean] + attr_accessor :is_fallback + alias_method :is_fallback?, :is_fallback + + # Optional. The key/value metadata to label an intent. Labels can contain + # lowercase letters, digits and the symbols '-' and '_'. International + # characters are allowed, including letters from unicase alphabets. Keys must + # start with a letter. Keys and values can be no longer than 63 characters and + # no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined + # labels. Currently allowed Dialogflow defined labels include: * sys-head * sys- + # contextual The above labels do not require value. "sys-head" means the intent + # is a head intent. "sys-contextual" means the intent is a contextual intent. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The unique identifier of the intent. Required for the Intents.UpdateIntent + # method. Intents.CreateIntent populates the name automatically. Format: ` + # projects//locations//agents//intents/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The collection of parameters associated with the intent. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # The priority of this intent. Higher numbers represent higher priorities. - If + # the supplied value is unspecified or 0, the service translates the value to + # 500,000, which corresponds to the `Normal` priority in the console. - If the + # supplied value is negative, the intent is ignored in runtime detect intent + # requests. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + + # The collection of training phrases the agent is trained on to identify the + # intent. + # Corresponds to the JSON property `trainingPhrases` + # @return [Array] + attr_accessor :training_phrases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @is_fallback = args[:is_fallback] if args.key?(:is_fallback) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @parameters = args[:parameters] if args.key?(:parameters) + @priority = args[:priority] if args.key?(:priority) + @training_phrases = args[:training_phrases] if args.key?(:training_phrases) + end + end + + # Represents the intent to trigger programmatically rather than as a result of + # natural language processing. + class GoogleCloudDialogflowCxV3beta1IntentInput + include Google::Apis::Core::Hashable + + # Required. The unique identifier of the intent. Format: `projects//locations// + # agents//intents/`. + # Corresponds to the JSON property `intent` + # @return [String] + attr_accessor :intent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @intent = args[:intent] if args.key?(:intent) + end + end + + # Represents an intent parameter. + class GoogleCloudDialogflowCxV3beta1IntentParameter + include Google::Apis::Core::Hashable + + # Required. The entity type of the parameter. Format: `projects/-/locations/-/ + # agents/-/entityTypes/` for system entity types (for example, `projects/-/ + # locations/-/agents/-/entityTypes/sys.date`), or `projects//locations//agents// + # entityTypes/` for developer entity types. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # Required. The unique identifier of the parameter. This field is used by + # training phrases to annotate their parts. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Indicates whether the parameter represents a list of values. + # Corresponds to the JSON property `isList` + # @return [Boolean] + attr_accessor :is_list + alias_method :is_list?, :is_list + + # Indicates whether the parameter content is logged in text and audio. If it is + # set to true, the parameter content will be replaced to parameter id in both + # request and response. The default value is false. + # Corresponds to the JSON property `redact` + # @return [Boolean] + attr_accessor :redact + alias_method :redact?, :redact + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @id = args[:id] if args.key?(:id) + @is_list = args[:is_list] if args.key?(:is_list) + @redact = args[:redact] if args.key?(:redact) + end + end + + # Represents an example that the agent is trained on to identify the intent. + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + include Google::Apis::Core::Hashable + + # Output only. The unique identifier of the training phrase. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Required. The ordered list of training phrase parts. The parts are + # concatenated in order to form the training phrase. Note: The API does not + # automatically annotate training phrases like the Dialogflow Console does. Note: + # Do not forget to include whitespace at part boundaries, so the training + # phrase is well formatted when the parts are concatenated. If the training + # phrase does not need to be annotated with parameters, you just need a single + # part with only the Part.text field set. If you want to annotate the training + # phrase, you must create multiple parts, where the fields of each part are + # populated in one of two ways: - `Part.text` is set to a part of the phrase + # that has no parameters. - `Part.text` is set to a part of the phrase that you + # want to annotate, and the `parameter_id` field is set. + # Corresponds to the JSON property `parts` + # @return [Array] + attr_accessor :parts + + # Indicates how many times this example was added to the intent. + # Corresponds to the JSON property `repeatCount` + # @return [Fixnum] + attr_accessor :repeat_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @parts = args[:parts] if args.key?(:parts) + @repeat_count = args[:repeat_count] if args.key?(:repeat_count) + end + end + + # Represents a part of a training phrase. + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart + include Google::Apis::Core::Hashable + + # The parameter used to annotate this part of the training phrase. This field is + # required for annotated parts of the training phrase. + # Corresponds to the JSON property `parameterId` + # @return [String] + attr_accessor :parameter_id + + # Required. The text for this part. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameter_id = args[:parameter_id] if args.key?(:parameter_id) + @text = args[:text] if args.key?(:text) + end + end + + # A Dialogflow CX conversation (session) can be described and visualized as a + # state machine. The states of a CX session are represented by pages. For each + # flow, you define many pages, where your combined pages can handle a complete + # conversation on the topics the flow is designed for. At any given moment, + # exactly one page is the current page, the current page is considered active, + # and the flow associated with that page is considered active. Every flow has a + # special start page. When a flow initially becomes active, the start page page + # becomes the current page. For each conversational turn, the current page will + # either stay the same or transition to another page. You configure each page to + # collect information from the end-user that is relevant for the conversational + # state represented by the page. For more information, see the [Page guide]( + # https://cloud.google.com/dialogflow/cx/docs/concept/page). + class GoogleCloudDialogflowCxV3beta1Page + include Google::Apis::Core::Hashable + + # Required. The human-readable name of the page, unique within the agent. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `entryFulfillment` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :entry_fulfillment + + # Handlers associated with the page to handle events such as webhook errors, no + # match or no input. + # Corresponds to the JSON property `eventHandlers` + # @return [Array] + attr_accessor :event_handlers + + # A form is a data model that groups related parameters that can be collected + # from the user. The process in which the agent prompts the user and collects + # parameter values from the user is called form filling. A form can be added to + # a page. When form filling is done, the filled parameters will be written to + # the session. + # Corresponds to the JSON property `form` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Form] + attr_accessor :form + + # The unique identifier of the page. Required for the Pages.UpdatePage method. + # Pages.CreatePage populates the name automatically. Format: `projects// + # locations//agents//flows//pages/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Ordered list of `TransitionRouteGroups` associated with the page. Transition + # route groups must be unique within a page. * If multiple transition routes + # within a page scope refer to the same intent, then the precedence order is: + # page's transition route -> page's transition route group -> flow's transition + # routes. * If multiple transition route groups within a page contain the same + # intent, then the first group in the ordered list takes precedence. Format:` + # projects//locations//agents//flows//transitionRouteGroups/`. + # Corresponds to the JSON property `transitionRouteGroups` + # @return [Array] + attr_accessor :transition_route_groups + + # A list of transitions for the transition rules of this page. They route the + # conversation to another page in the same flow, or another flow. When we are in + # a certain page, the TransitionRoutes are evalauted in the following order: * + # TransitionRoutes defined in the page with intent specified. * TransitionRoutes + # defined in the transition route groups. * TransitionRoutes defined in flow + # with intent specified. * TransitionRoutes defined in the page with only + # condition specified. + # Corresponds to the JSON property `transitionRoutes` + # @return [Array] + attr_accessor :transition_routes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment) + @event_handlers = args[:event_handlers] if args.key?(:event_handlers) + @form = args[:form] if args.key?(:form) + @name = args[:name] if args.key?(:name) + @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups) + @transition_routes = args[:transition_routes] if args.key?(:transition_routes) + end + end + # Represents page information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1PageInfo include Google::Apis::Core::Hashable @@ -3634,6 +5862,81 @@ module Google end end + # Represents the query input. It can contain one of: 1. A conversational query + # in the form of text. 2. An intent query that specifies which intent to trigger. + # 3. Natural language speech audio to be processed. 4. An event to be triggered. + # + class GoogleCloudDialogflowCxV3beta1QueryInput + include Google::Apis::Core::Hashable + + # Represents the natural speech audio to be processed. + # Corresponds to the JSON property `audio` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AudioInput] + attr_accessor :audio + + # Represents the input for dtmf event. + # Corresponds to the JSON property `dtmf` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DtmfInput] + attr_accessor :dtmf + + # Represents the event to trigger. + # Corresponds to the JSON property `event` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventInput] + attr_accessor :event + + # Represents the intent to trigger programmatically rather than as a result of + # natural language processing. + # Corresponds to the JSON property `intent` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentInput] + attr_accessor :intent + + # Required. The language of the input. See [Language Support](https://cloud. + # google.com/dialogflow/docs/reference/language) for a list of the currently + # supported language codes. Note that queries in the same session do not + # necessarily need to specify the same language. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Represents the natural language text to be processed. + # Corresponds to the JSON property `text` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audio = args[:audio] if args.key?(:audio) + @dtmf = args[:dtmf] if args.key?(:dtmf) + @event = args[:event] if args.key?(:event) + @intent = args[:intent] if args.key?(:intent) + @language_code = args[:language_code] if args.key?(:language_code) + @text = args[:text] if args.key?(:text) + end + end + + # Metadata for ReloadDocument operation. + class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # Represents a response message that can be returned by a conversational agent. # Response messages are also used for output audio synthesis. The approach is as # follows: * If at least one OutputAudioText response is present, then all @@ -3940,6 +6243,38 @@ module Google end end + # Metadata returned for the TestCases.RunTestCase long running operation. + class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The response message for TestCases.RunTestCase. + class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse + include Google::Apis::Core::Hashable + + # Represents a result from running a test case in an agent environment. + # Corresponds to the JSON property `result` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult] + attr_accessor :result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @result = args[:result] if args.key?(:result) + end + end + # Represents session information communicated to and from the webhook. class GoogleCloudDialogflowCxV3beta1SessionInfo include Google::Apis::Core::Hashable @@ -3971,6 +6306,347 @@ module Google end end + # Represents a test case. + class GoogleCloudDialogflowCxV3beta1TestCase + include Google::Apis::Core::Hashable + + # Output only. When the test was created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Required. The human-readable name of the test case, unique within the agent. + # Limit of 200 characters. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Represents a result from running a test case in an agent environment. + # Corresponds to the JSON property `lastTestResult` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult] + attr_accessor :last_test_result + + # The unique identifier of the test case. TestCases.CreateTestCase will populate + # the name automatically. Otherwise use format: `projects//locations//agents/ / + # testCases/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Additional freeform notes about the test case. Limit of 400 characters. + # Corresponds to the JSON property `notes` + # @return [String] + attr_accessor :notes + + # Tags are short descriptions that users may apply to test cases for + # organizational and filtering purposes. Each tag should start with "#" and has + # a limit of 30 characters. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # The conversation turns uttered when the test case was created, in + # chronological order. These include the canonical set of agent utterances that + # should occur when the agent is working properly. + # Corresponds to the JSON property `testCaseConversationTurns` + # @return [Array] + attr_accessor :test_case_conversation_turns + + # Represents configurations for a test case. + # Corresponds to the JSON property `testConfig` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestConfig] + attr_accessor :test_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @display_name = args[:display_name] if args.key?(:display_name) + @last_test_result = args[:last_test_result] if args.key?(:last_test_result) + @name = args[:name] if args.key?(:name) + @notes = args[:notes] if args.key?(:notes) + @tags = args[:tags] if args.key?(:tags) + @test_case_conversation_turns = args[:test_case_conversation_turns] if args.key?(:test_case_conversation_turns) + @test_config = args[:test_config] if args.key?(:test_config) + end + end + + # Error info for importing a test. + class GoogleCloudDialogflowCxV3beta1TestCaseError + include Google::Apis::Core::Hashable + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::DialogflowV3::GoogleRpcStatus] + attr_accessor :status + + # Represents a test case. + # Corresponds to the JSON property `testCase` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCase] + attr_accessor :test_case + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @test_case = args[:test_case] if args.key?(:test_case) + end + end + + # Represents a result from running a test case in an agent environment. + class GoogleCloudDialogflowCxV3beta1TestCaseResult + include Google::Apis::Core::Hashable + + # The conversation turns uttered during the test case replay in chronological + # order. + # Corresponds to the JSON property `conversationTurns` + # @return [Array] + attr_accessor :conversation_turns + + # Optional. Environment where the test was run. If not set, it indicates the + # draft environment. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # The resource name for the test case result. Format: `projects//locations// + # agents//testCases/ /results/`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether the test case passed in the agent environment. + # Corresponds to the JSON property `testResult` + # @return [String] + attr_accessor :test_result + + # The time that the test was run. + # Corresponds to the JSON property `testTime` + # @return [String] + attr_accessor :test_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conversation_turns = args[:conversation_turns] if args.key?(:conversation_turns) + @environment = args[:environment] if args.key?(:environment) + @name = args[:name] if args.key?(:name) + @test_result = args[:test_result] if args.key?(:test_result) + @test_time = args[:test_time] if args.key?(:test_time) + end + end + + # Represents configurations for a test case. + class GoogleCloudDialogflowCxV3beta1TestConfig + include Google::Apis::Core::Hashable + + # Flow name. If not set, default start flow is assumed. Format: `projects// + # locations//agents//flows/`. + # Corresponds to the JSON property `flow` + # @return [String] + attr_accessor :flow + + # Session parameters to be compared when calculating differences. + # Corresponds to the JSON property `trackingParameters` + # @return [Array] + attr_accessor :tracking_parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @flow = args[:flow] if args.key?(:flow) + @tracking_parameters = args[:tracking_parameters] if args.key?(:tracking_parameters) + end + end + + # Error info for running a test. + class GoogleCloudDialogflowCxV3beta1TestError + include Google::Apis::Core::Hashable + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::DialogflowV3::GoogleRpcStatus] + attr_accessor :status + + # The test case resource name. + # Corresponds to the JSON property `testCase` + # @return [String] + attr_accessor :test_case + + # The timestamp when the test was completed. + # Corresponds to the JSON property `testTime` + # @return [String] + attr_accessor :test_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @test_case = args[:test_case] if args.key?(:test_case) + @test_time = args[:test_time] if args.key?(:test_time) + end + end + + # The description of differences between original and replayed agent output. + class GoogleCloudDialogflowCxV3beta1TestRunDifference + include Google::Apis::Core::Hashable + + # A description of the diff, showing the actual output vs expected output. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The type of diff. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @type = args[:type] if args.key?(:type) + end + end + + # Represents the natural language text to be processed. + class GoogleCloudDialogflowCxV3beta1TextInput + include Google::Apis::Core::Hashable + + # Required. The UTF-8 encoded natural language text to be processed. Text length + # must not exceed 256 characters. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + end + end + + # A transition route specifies a intent that can be matched and/or a data + # condition that can be evaluated during a session. When a specified transition + # is matched, the following actions are taken in order: * If there is a ` + # trigger_fulfillment` associated with the transition, it will be called. * If + # there is a `target_page` associated with the transition, the session will + # transition into the specified page. * If there is a `target_flow` associated + # with the transition, the session will transition into the specified flow. + class GoogleCloudDialogflowCxV3beta1TransitionRoute + include Google::Apis::Core::Hashable + + # The condition to evaluate against form parameters or session parameters. See + # the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/ + # reference/condition). At least one of `intent` or `condition` must be + # specified. When both `intent` and `condition` are specified, the transition + # can only happen when both are fulfilled. + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + + # The unique identifier of an Intent. Format: `projects//locations//agents// + # intents/`. Indicates that the transition can only happen when the given intent + # is matched. At least one of `intent` or `condition` must be specified. When + # both `intent` and `condition` are specified, the transition can only happen + # when both are fulfilled. + # Corresponds to the JSON property `intent` + # @return [String] + attr_accessor :intent + + # Output only. The unique identifier of this transition route. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The target flow to transition to. Format: `projects//locations//agents//flows/` + # . + # Corresponds to the JSON property `targetFlow` + # @return [String] + attr_accessor :target_flow + + # The target page to transition to. Format: `projects//locations//agents//flows// + # pages/`. + # Corresponds to the JSON property `targetPage` + # @return [String] + attr_accessor :target_page + + # A fulfillment can do one or more of the following actions at the same time: * + # Generate rich message responses. * Set parameter values. * Call the webhook. + # Fulfillments can be called at various stages in the Page or Form lifecycle. + # For example, when a DetectIntentRequest drives a session to enter a new page, + # the page's entry fulfillment can add a static response to the QueryResult in + # the returning DetectIntentResponse, call the webhook (for example, to load + # user data from a database), or both. + # Corresponds to the JSON property `triggerFulfillment` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment] + attr_accessor :trigger_fulfillment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @intent = args[:intent] if args.key?(:intent) + @name = args[:name] if args.key?(:name) + @target_flow = args[:target_flow] if args.key?(:target_flow) + @target_page = args[:target_page] if args.key?(:target_page) + @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment) + end + end + + # Metadata for UpdateDocument operation. + class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # The request message for a webhook call. class GoogleCloudDialogflowCxV3beta1WebhookRequest include Google::Apis::Core::Hashable @@ -8768,6 +11444,139 @@ module Google end end + # Metadata for CreateDocument operation. + class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Metadata for DeleteDocument operation. + class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Metadata in google::longrunning::Operation for Knowledge operations. + class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + include Google::Apis::Core::Hashable + + # Required. Output only. The current state of this operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + end + end + + # Metadata for ImportDocuments operation. + class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Response message for Documents.ImportDocuments. + class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + include Google::Apis::Core::Hashable + + # Includes details about skipped documents or any other warnings. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @warnings = args[:warnings] if args.key?(:warnings) + end + end + + # Metadata for ReloadDocument operation. + class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + + # Metadata for UpdateDocument operation. + class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata] + attr_accessor :generic_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata) + end + end + # The response message for Operations.ListOperations. class GoogleLongrunningListOperationsResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dialogflow_v3/representations.rb b/generated/google/apis/dialogflow_v3/representations.rb index 4c6336408..af15ef668 100644 --- a/generated/google/apis/dialogflow_v3/representations.rb +++ b/generated/google/apis/dialogflow_v3/representations.rb @@ -34,12 +34,72 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3CalculateCoverageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ConversationTurn + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ConversationTurnUserInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3DetectIntentRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,6 +172,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3ExportTestCasesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ExportTestCasesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ExportTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3Flow class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,6 +256,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ImportDocumentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ImportTestCasesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ImportTestCasesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ImportTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3InputAudioConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,6 +304,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3IntentCoverage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3IntentCoverageIntent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3IntentInput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -262,6 +388,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3ListTestCaseResultsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3ListTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -364,6 +502,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3ResponseMessage class Representation < Google::Apis::Core::JsonRepresentation; end @@ -424,6 +568,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3RunTestCaseMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3RunTestCaseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3RunTestCaseResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3SecuritySettings class Representation < Google::Apis::Core::JsonRepresentation; end @@ -460,6 +622,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3TestCase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TestCaseError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TestCaseResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TestConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TestError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TestRunDifference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3TextInput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -472,6 +670,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3TransitionCoverage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TransitionCoverageTransition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3TransitionRoute class Representation < Google::Apis::Core::JsonRepresentation; end @@ -484,6 +700,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3Version class Representation < Google::Apis::Core::JsonRepresentation; end @@ -544,18 +766,216 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1AudioInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurn + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1DtmfInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EventHandler + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1EventInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1ExportAgentResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Form + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FormParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Fulfillment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1InputAudioConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Intent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -574,6 +994,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1QueryInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1ResponseMessage class Representation < Google::Apis::Core::JsonRepresentation; end @@ -628,12 +1060,78 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1SessionInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1TestCase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TestCaseError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TestCaseResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TestConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TestError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TestRunDifference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TextInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1TransitionRoute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1360,6 +1858,48 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleLongrunningListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1416,6 +1956,94 @@ module Google end end + class GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :names, as: 'names' + end + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError::Representation + + end + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment' + collection :test_cases, as: 'testCases' + end + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + end + end + + class GoogleCloudDialogflowCxV3CalculateCoverageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent, as: 'agent' + property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage::Representation + + property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage::Representation + + end + end + + class GoogleCloudDialogflowCxV3ConversationTurn + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_input, as: 'userInput', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnUserInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnUserInput::Representation + + property :virtual_agent_output, as: 'virtualAgentOutput', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput::Representation + + end + end + + class GoogleCloudDialogflowCxV3ConversationTurnUserInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :injected_parameters, as: 'injectedParameters' + property :input, as: 'input', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput::Representation + + property :is_webhook_enabled, as: 'isWebhookEnabled' + end + end + + class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation + + hash :diagnostic_info, as: 'diagnosticInfo' + collection :differences, as: 'differences', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestRunDifference, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestRunDifference::Representation + + hash :session_parameters, as: 'sessionParameters' + property :status, as: 'status', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + collection :text_responses, as: 'textResponses', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageText::Representation + + property :triggered_intent, as: 'triggeredIntent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent::Representation + + end + end + + class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1423,6 +2051,14 @@ module Google end end + class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3DetectIntentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1538,6 +2174,29 @@ module Google end end + class GoogleCloudDialogflowCxV3ExportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3ExportTestCasesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_format, as: 'dataFormat' + property :filter, as: 'filter' + property :gcs_uri, as: 'gcsUri' + end + end + + class GoogleCloudDialogflowCxV3ExportTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :gcs_uri, as: 'gcsUri' + end + end + class GoogleCloudDialogflowCxV3Flow # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1658,6 +2317,52 @@ module Google end end + class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + end + end + + class GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowCxV3ImportDocumentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDialogflowCxV3ImportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseError::Representation + + end + end + + class GoogleCloudDialogflowCxV3ImportTestCasesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :gcs_uri, as: 'gcsUri' + end + end + + class GoogleCloudDialogflowCxV3ImportTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :names, as: 'names' + end + end + class GoogleCloudDialogflowCxV3InputAudioConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1687,6 +2392,23 @@ module Google end end + class GoogleCloudDialogflowCxV3IntentCoverage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :coverage_score, as: 'coverageScore' + collection :intents, as: 'intents', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverageIntent, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverageIntent::Representation + + end + end + + class GoogleCloudDialogflowCxV3IntentCoverageIntent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :covered, as: 'covered' + property :intent, as: 'intent' + end + end + class GoogleCloudDialogflowCxV3IntentInput # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1794,6 +2516,24 @@ module Google end end + class GoogleCloudDialogflowCxV3ListTestCaseResultsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :test_case_results, as: 'testCaseResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + end + end + + class GoogleCloudDialogflowCxV3ListTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :test_cases, as: 'testCases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + + end + end + class GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1997,6 +2737,14 @@ module Google end end + class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3ResponseMessage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2088,6 +2836,28 @@ module Google end end + class GoogleCloudDialogflowCxV3RunTestCaseMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3RunTestCaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment' + property :name, as: 'name' + end + end + + class GoogleCloudDialogflowCxV3RunTestCaseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result, as: 'result', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + end + end + class GoogleCloudDialogflowCxV3SecuritySettings # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2146,6 +2916,71 @@ module Google end end + class GoogleCloudDialogflowCxV3TestCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :display_name, as: 'displayName' + property :last_test_result, as: 'lastTestResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + property :name, as: 'name' + property :notes, as: 'notes' + collection :tags, as: 'tags' + collection :test_case_conversation_turns, as: 'testCaseConversationTurns', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn::Representation + + property :test_config, as: 'testConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3TestCaseError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + property :test_case, as: 'testCase', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3TestCaseResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversation_turns, as: 'conversationTurns', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ConversationTurn::Representation + + property :environment, as: 'environment' + property :name, as: 'name' + property :test_result, as: 'testResult' + property :test_time, as: 'testTime' + end + end + + class GoogleCloudDialogflowCxV3TestConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :flow, as: 'flow' + collection :tracking_parameters, as: 'trackingParameters' + end + end + + class GoogleCloudDialogflowCxV3TestError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + property :test_case, as: 'testCase' + property :test_time, as: 'testTime' + end + end + + class GoogleCloudDialogflowCxV3TestRunDifference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :type, as: 'type' + end + end + class GoogleCloudDialogflowCxV3TextInput # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2159,6 +2994,41 @@ module Google end end + class GoogleCloudDialogflowCxV3TransitionCoverage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :coverage_score, as: 'coverageScore' + collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransition, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransition::Representation + + end + end + + class GoogleCloudDialogflowCxV3TransitionCoverageTransition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :covered, as: 'covered' + property :event_handler, as: 'eventHandler', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EventHandler::Representation + + property :index, as: 'index' + property :source, as: 'source', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode::Representation + + property :target, as: 'target', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode::Representation + + property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation + + end + end + + class GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :flow, as: 'flow', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Flow::Representation + + property :page, as: 'page', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation + + end + end + class GoogleCloudDialogflowCxV3TransitionRoute # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2182,6 +3052,14 @@ module Google end end + class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3Version # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2291,6 +3169,77 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1AudioInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, :base64 => true, as: 'audio' + property :config, as: 'config', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InputAudioConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1InputAudioConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurn + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_input, as: 'userInput', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput::Representation + + property :virtual_agent_output, as: 'virtualAgentOutput', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :injected_parameters, as: 'injectedParameters' + property :input, as: 'input', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput::Representation + + property :is_webhook_enabled, as: 'isWebhookEnabled' + end + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Page::Representation + + hash :diagnostic_info, as: 'diagnosticInfo' + collection :differences, as: 'differences', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestRunDifference, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestRunDifference::Representation + + hash :session_parameters, as: 'sessionParameters' + property :status, as: 'status', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + collection :text_responses, as: 'textResponses', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation + + property :triggered_intent, as: 'triggeredIntent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Intent::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2298,6 +3247,41 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1DtmfInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :digits, as: 'digits' + property :finish_digit, as: 'finishDigit' + end + end + + class GoogleCloudDialogflowCxV3beta1EventHandler + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event, as: 'event' + property :name, as: 'name' + property :target_flow, as: 'targetFlow' + property :target_page, as: 'targetPage' + property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1EventInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event, as: 'event' + end + end + class GoogleCloudDialogflowCxV3beta1ExportAgentResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2306,6 +3290,220 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :gcs_uri, as: 'gcsUri' + end + end + + class GoogleCloudDialogflowCxV3beta1Form + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FormParameter, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FormParameter::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FormParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_value, as: 'defaultValue' + property :display_name, as: 'displayName' + property :entity_type, as: 'entityType' + property :fill_behavior, as: 'fillBehavior', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior::Representation + + property :is_list, as: 'isList' + property :redact, as: 'redact' + property :required, as: 'required' + end + end + + class GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :initial_prompt_fulfillment, as: 'initialPromptFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + collection :reprompt_event_handlers, as: 'repromptEventHandlers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1Fulfillment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation + + collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation + + collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation + + property :tag, as: 'tag' + property :webhook, as: 'webhook' + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cases, as: 'cases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :case_content, as: 'caseContent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent::Representation + + property :condition, as: 'condition' + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_cases, as: 'additionalCases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation + + property :message, as: 'message', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter, as: 'parameter' + property :value, as: 'value' + end + end + + class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + end + end + + class GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseError::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :names, as: 'names' + end + end + + class GoogleCloudDialogflowCxV3beta1InputAudioConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio_encoding, as: 'audioEncoding' + property :enable_word_info, as: 'enableWordInfo' + property :model, as: 'model' + property :model_variant, as: 'modelVariant' + collection :phrase_hints, as: 'phraseHints' + property :sample_rate_hertz, as: 'sampleRateHertz' + property :single_utterance, as: 'singleUtterance' + end + end + + class GoogleCloudDialogflowCxV3beta1Intent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :display_name, as: 'displayName' + property :is_fallback, as: 'isFallback' + hash :labels, as: 'labels' + property :name, as: 'name' + collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentParameter, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentParameter::Representation + + property :priority, as: 'priority' + collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1IntentInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :intent, as: 'intent' + end + end + + class GoogleCloudDialogflowCxV3beta1IntentParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_type, as: 'entityType' + property :id, as: 'id' + property :is_list, as: 'isList' + property :redact, as: 'redact' + end + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :parts, as: 'parts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart::Representation + + property :repeat_count, as: 'repeatCount' + end + end + + class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter_id, as: 'parameterId' + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3beta1Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + property :form, as: 'form', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Form::Representation + + property :name, as: 'name' + collection :transition_route_groups, as: 'transitionRouteGroups' + collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2334,6 +3532,31 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1QueryInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AudioInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AudioInput::Representation + + property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DtmfInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1DtmfInput::Representation + + property :event, as: 'event', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventInput::Representation + + property :intent, as: 'intent', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1IntentInput::Representation + + property :language_code, as: 'languageCode' + property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1ResponseMessage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2417,6 +3640,20 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3beta1RunTestCaseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result, as: 'result', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1SessionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2425,6 +3662,99 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1TestCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :display_name, as: 'displayName' + property :last_test_result, as: 'lastTestResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult::Representation + + property :name, as: 'name' + property :notes, as: 'notes' + collection :tags, as: 'tags' + collection :test_case_conversation_turns, as: 'testCaseConversationTurns', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn::Representation + + property :test_config, as: 'testConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1TestCaseError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + property :test_case, as: 'testCase', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCase, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1TestCaseResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversation_turns, as: 'conversationTurns', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn::Representation + + property :environment, as: 'environment' + property :name, as: 'name' + property :test_result, as: 'testResult' + property :test_time, as: 'testTime' + end + end + + class GoogleCloudDialogflowCxV3beta1TestConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :flow, as: 'flow' + collection :tracking_parameters, as: 'trackingParameters' + end + end + + class GoogleCloudDialogflowCxV3beta1TestError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + property :test_case, as: 'testCase' + property :test_time, as: 'testTime' + end + end + + class GoogleCloudDialogflowCxV3beta1TestRunDifference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :type, as: 'type' + end + end + + class GoogleCloudDialogflowCxV3beta1TextInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3beta1TransitionRoute + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :condition, as: 'condition' + property :intent, as: 'intent' + property :name, as: 'name' + property :target_flow, as: 'targetFlow' + property :target_page, as: 'targetPage' + property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3725,6 +5055,61 @@ module Google end end + class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + end + end + + class GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleLongrunningListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v3/service.rb b/generated/google/apis/dialogflow_v3/service.rb index cb596cec0..8b2b67c51 100644 --- a/generated/google/apis/dialogflow_v3/service.rb +++ b/generated/google/apis/dialogflow_v3/service.rb @@ -2412,6 +2412,414 @@ module Google execute_or_queue_command(command, &block) end + # Batch deletes test cases. + # @param [String] parent + # Required. The agent to delete test cases from. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest] google_cloud_dialogflow_cx_v3_batch_delete_test_cases_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_project_location_agent_test_case_delete(parent, google_cloud_dialogflow_cx_v3_batch_delete_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+parent}/testCases:batchDelete', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3_batch_delete_test_cases_request_object + command.response_representation = Google::Apis::DialogflowV3::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleProtobufEmpty + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Kicks off a batch run of test cases. + # @param [String] parent + # Required. Agent name. Format: `projects//locations//agents/ `. + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest] google_cloud_dialogflow_cx_v3_batch_run_test_cases_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_project_location_agent_test_case_run(parent, google_cloud_dialogflow_cx_v3_batch_run_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+parent}/testCases:batchRun', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BatchRunTestCasesRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3_batch_run_test_cases_request_object + command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Calculates the test coverage for an agent. + # @param [String] agent + # Required. The agent to calculate coverage for. Format: `projects//locations// + # agents/`. + # @param [String] type + # Required. The type of coverage requested. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def calculate_project_location_agent_test_case_coverage(agent, type: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+agent}/testCases:calculateCoverage', options) + command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CalculateCoverageResponse + command.params['agent'] = agent unless agent.nil? + command.query['type'] = type unless type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a test case for the given agent. + # @param [String] parent + # Required. The agent to create the test case for. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] google_cloud_dialogflow_cx_v3_test_case_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_agent_test_case(parent, google_cloud_dialogflow_cx_v3_test_case_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+parent}/testCases', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + command.request_object = google_cloud_dialogflow_cx_v3_test_case_object + command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Exports the test cases under the agent to a Cloud Storage bucket or a local + # file. Filter can be applied to export a subset of test cases. + # @param [String] parent + # Required. The agent where to export test cases from. Format: `projects// + # locations//agents/`. + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportTestCasesRequest] google_cloud_dialogflow_cx_v3_export_test_cases_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def export_project_location_agent_test_case(parent, google_cloud_dialogflow_cx_v3_export_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+parent}/testCases:export', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportTestCasesRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3_export_test_cases_request_object + command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a test case. + # @param [String] name + # Required. The name of the testcase. Format: `projects//locations//agents// + # testCases/`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_agent_test_case(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Imports the test cases from a Cloud Storage bucket or a local file. It always + # creates new test cases and won't overwite any existing ones. The provided ID + # in the imported test case is neglected. + # @param [String] parent + # Required. The agent to import test cases to. Format: `projects//locations// + # agents/`. + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportTestCasesRequest] google_cloud_dialogflow_cx_v3_import_test_cases_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_project_location_agent_test_case(parent, google_cloud_dialogflow_cx_v3_import_test_cases_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+parent}/testCases:import', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportTestCasesRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3_import_test_cases_request_object + command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Fetches a list of test cases for a given agent. + # @param [String] parent + # Required. The agent to list all pages for. Format: `projects//locations// + # agents/`. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 20. Note + # that when TestCaseView = FULL, the maximum page size allowed is 20. When + # TestCaseView = BASIC, the maximum page size allowed is 500. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] view + # Specifies whether response should include all fields or just the metadata. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCasesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCasesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_test_cases(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+parent}/testCases', options) + command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCasesResponse::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCasesResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified test case. + # @param [String] name + # The unique identifier of the test case. TestCases.CreateTestCase will populate + # the name automatically. Otherwise use format: `projects//locations//agents/ / + # testCases/`. + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] google_cloud_dialogflow_cx_v3_test_case_object + # @param [String] update_mask + # Required. The mask to specify which fields should be updated. Only a test case' + # s metadata and replayed_conversation_turns may be updated. The original + # test_case_conversation_turns may not be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_agent_test_case(name, google_cloud_dialogflow_cx_v3_test_case_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v3/{+name}', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + command.request_object = google_cloud_dialogflow_cx_v3_test_case_object + command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestCase + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Kicks off a test case run. + # @param [String] projects_id + # @param [String] locations_id + # @param [String] agents_id + # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest] google_cloud_dialogflow_cx_v3_run_test_case_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def run_project_location_agent_test_case(projects_id, locations_id, agents_id, google_cloud_dialogflow_cx_v3_run_test_case_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/testCases:run', options) + command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunTestCaseRequest::Representation + command.request_object = google_cloud_dialogflow_cx_v3_run_test_case_request_object + command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation + command.params['projectsId'] = projects_id unless projects_id.nil? + command.params['locationsId'] = locations_id unless locations_id.nil? + command.params['agentsId'] = agents_id unless agents_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Fetches a list of results for a given test case. + # @param [String] parent + # Required. The test case to list results for. Format: `projects//locations// + # agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list + # results across multiple test cases. + # @param [String] filter + # The filter expression used to filter test case results. See [API Filtering]( + # https://aip.dev/160). The expression is case insensitive. Only 'AND' is + # supported for logical operators. The supported syntax is listed below in + # detail: [AND ] ... [AND latest] The supported fields and operators are: field + # operator `environment` `=`, `IN` (Use value `draft` for draft environment) ` + # test_time` `>`, `<` `latest` only returns the latest test result in all + # results for each test case. Examples: * "environment=draft AND latest" matches + # the latest test result for each test case in the draft environment. * " + # environment IN (e1,e2)" matches any test case results with an environment + # resource name of either "e1" or "e2". * "test_time > 1602540713" matches any + # test case results with test time later than a unix timestamp in seconds + # 1602540713. + # @param [Fixnum] page_size + # The maximum number of items to return in a single page. By default 100 and at + # most 1000. + # @param [String] page_token + # The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCaseResultsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCaseResultsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_agent_test_case_results(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+parent}/results', options) + command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCaseResultsResponse::Representation + command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListTestCaseResultsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a webhook in the specified agent. # @param [String] parent # Required. The agent to create a webhook for. Format: `projects//locations// diff --git a/generated/google/apis/dialogflow_v3/synth.metadata b/generated/google/apis/dialogflow_v3/synth.metadata index 8d7933f02..d7906956c 100644 --- a/generated/google/apis/dialogflow_v3/synth.metadata +++ b/generated/google/apis/dialogflow_v3/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "fc2160a30e40b2374c6b1ed97416ed77bf9e63ee" + "sha": "57d2e95e7206fbcfd0c0e0b7c28c4fd86e0b0a63" } } ]