diff --git a/api_names_out.yaml b/api_names_out.yaml index f5dbaf36d..d969e02c3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -87410,11 +87410,156 @@ "/dfareporting:v3.4/key": key "/dfareporting:v3.4/quotaUser": quota_user "/dfareporting:v3.4/userIp": user_ip +"/dialogflow:v2/GoogleCloudDialogflowCxV3AudioInput": google_cloud_dialogflow_cx_v3_audio_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3AudioInput/audio": audio +"/dialogflow:v2/GoogleCloudDialogflowCxV3AudioInput/config": config +"/dialogflow:v2/GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata": google_cloud_dialogflow_cx_v3_batch_run_test_cases_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata/errors": errors +"/dialogflow:v2/GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata/errors/error": error +"/dialogflow:v2/GoogleCloudDialogflowCxV3BatchRunTestCasesResponse": google_cloud_dialogflow_cx_v3_batch_run_test_cases_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3BatchRunTestCasesResponse/results": results +"/dialogflow:v2/GoogleCloudDialogflowCxV3BatchRunTestCasesResponse/results/result": result +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurn": google_cloud_dialogflow_cx_v3_conversation_turn +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurn/userInput": user_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurn/virtualAgentOutput": virtual_agent_output +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnUserInput": google_cloud_dialogflow_cx_v3_conversation_turn_user_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnUserInput/injectedParameters": injected_parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnUserInput/injectedParameters/injected_parameter": injected_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnUserInput/input": input +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnUserInput/isWebhookEnabled": is_webhook_enabled +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput": google_cloud_dialogflow_cx_v3_conversation_turn_virtual_agent_output +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/currentPage": current_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/diagnosticInfo": diagnostic_info +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/diagnosticInfo/diagnostic_info": diagnostic_info +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/differences": differences +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/differences/difference": difference +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/sessionParameters": session_parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/sessionParameters/session_parameter": session_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/status": status +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/textResponses": text_responses +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/textResponses/text_response": text_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput/triggeredIntent": triggered_intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_create_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3CreateVersionOperationMetadata": google_cloud_dialogflow_cx_v3_create_version_operation_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3CreateVersionOperationMetadata/version": version +"/dialogflow:v2/GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_delete_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3DtmfInput": google_cloud_dialogflow_cx_v3_dtmf_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3DtmfInput/digits": digits +"/dialogflow:v2/GoogleCloudDialogflowCxV3DtmfInput/finishDigit": finish_digit +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventHandler": google_cloud_dialogflow_cx_v3_event_handler +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventHandler/event": event +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventHandler/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventHandler/targetFlow": target_flow +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventHandler/targetPage": target_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventHandler/triggerFulfillment": trigger_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventInput": google_cloud_dialogflow_cx_v3_event_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3EventInput/event": event "/dialogflow:v2/GoogleCloudDialogflowCxV3ExportAgentResponse": google_cloud_dialogflow_cx_v3_export_agent_response "/dialogflow:v2/GoogleCloudDialogflowCxV3ExportAgentResponse/agentContent": agent_content "/dialogflow:v2/GoogleCloudDialogflowCxV3ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2/GoogleCloudDialogflowCxV3ExportTestCasesMetadata": google_cloud_dialogflow_cx_v3_export_test_cases_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3ExportTestCasesResponse": google_cloud_dialogflow_cx_v3_export_test_cases_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3ExportTestCasesResponse/content": content +"/dialogflow:v2/GoogleCloudDialogflowCxV3ExportTestCasesResponse/gcsUri": gcs_uri +"/dialogflow:v2/GoogleCloudDialogflowCxV3Form": google_cloud_dialogflow_cx_v3_form +"/dialogflow:v2/GoogleCloudDialogflowCxV3Form/parameters": parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3Form/parameters/parameter": parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter": google_cloud_dialogflow_cx_v3_form_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/defaultValue": default_value +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/entityType": entity_type +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/fillBehavior": fill_behavior +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/isList": is_list +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/redact": redact +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameter/required": required +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameterFillBehavior": google_cloud_dialogflow_cx_v3_form_parameter_fill_behavior +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameterFillBehavior/repromptEventHandlers": reprompt_event_handlers +"/dialogflow:v2/GoogleCloudDialogflowCxV3FormParameterFillBehavior/repromptEventHandlers/reprompt_event_handler": reprompt_event_handler +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment": google_cloud_dialogflow_cx_v3_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/conditionalCases": conditional_cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/conditionalCases/conditional_case": conditional_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/messages": messages +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/messages/message": message +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/setParameterActions": set_parameter_actions +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/setParameterActions/set_parameter_action": set_parameter_action +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/tag": tag +"/dialogflow:v2/GoogleCloudDialogflowCxV3Fulfillment/webhook": webhook +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCases": google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCases/cases": cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCases/cases/case": case +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase": google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase/caseContent": case_content +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase/caseContent/case_content": case_content +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase/condition": condition +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent": google_cloud_dialogflow_cx_v3_fulfillment_conditional_cases_case_case_content +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent/additionalCases": additional_cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent/message": message +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentSetParameterAction": google_cloud_dialogflow_cx_v3_fulfillment_set_parameter_action +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentSetParameterAction/parameter": parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3FulfillmentSetParameterAction/value": value +"/dialogflow:v2/GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": google_cloud_dialogflow_cx_v3_generic_knowledge_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata/state": state +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": google_cloud_dialogflow_cx_v3_import_documents_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportDocumentsResponse": google_cloud_dialogflow_cx_v3_import_documents_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportDocumentsResponse/warnings": warnings +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportDocumentsResponse/warnings/warning": warning +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportTestCasesMetadata": google_cloud_dialogflow_cx_v3_import_test_cases_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportTestCasesMetadata/errors": errors +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportTestCasesMetadata/errors/error": error +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportTestCasesResponse": google_cloud_dialogflow_cx_v3_import_test_cases_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportTestCasesResponse/names": names +"/dialogflow:v2/GoogleCloudDialogflowCxV3ImportTestCasesResponse/names/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig": google_cloud_dialogflow_cx_v3_input_audio_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/audioEncoding": audio_encoding +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/enableWordInfo": enable_word_info +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/model": model +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/modelVariant": model_variant +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/phraseHints": phrase_hints +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/phraseHints/phrase_hint": phrase_hint +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/sampleRateHertz": sample_rate_hertz +"/dialogflow:v2/GoogleCloudDialogflowCxV3InputAudioConfig/singleUtterance": single_utterance +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent": google_cloud_dialogflow_cx_v3_intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/description": description +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/isFallback": is_fallback +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/labels": labels +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/labels/label": label +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/parameters": parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/parameters/parameter": parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/priority": priority +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/trainingPhrases": training_phrases +"/dialogflow:v2/GoogleCloudDialogflowCxV3Intent/trainingPhrases/training_phrase": training_phrase +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentInput": google_cloud_dialogflow_cx_v3_intent_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentInput/intent": intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentParameter": google_cloud_dialogflow_cx_v3_intent_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentParameter/entityType": entity_type +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentParameter/id": id +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentParameter/isList": is_list +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentParameter/redact": redact +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrase": google_cloud_dialogflow_cx_v3_intent_training_phrase +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrase/id": id +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrase/parts": parts +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrase/parts/part": part +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrase/repeatCount": repeat_count +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrasePart": google_cloud_dialogflow_cx_v3_intent_training_phrase_part +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrasePart/parameterId": parameter_id +"/dialogflow:v2/GoogleCloudDialogflowCxV3IntentTrainingPhrasePart/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page": google_cloud_dialogflow_cx_v3_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/entryFulfillment": entry_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/eventHandlers": event_handlers +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/eventHandlers/event_handler": event_handler +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/form": form +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/transitionRouteGroups": transition_route_groups +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/transitionRouteGroups/transition_route_group": transition_route_group +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/transitionRoutes": transition_routes +"/dialogflow:v2/GoogleCloudDialogflowCxV3Page/transitionRoutes/transition_route": transition_route "/dialogflow:v2/GoogleCloudDialogflowCxV3PageInfo": google_cloud_dialogflow_cx_v3_page_info "/dialogflow:v2/GoogleCloudDialogflowCxV3PageInfo/currentPage": current_page "/dialogflow:v2/GoogleCloudDialogflowCxV3PageInfo/formInfo": form_info @@ -87427,6 +87572,15 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/required": required "/dialogflow:v2/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/state": state "/dialogflow:v2/GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo/value": value +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput": google_cloud_dialogflow_cx_v3_query_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput/audio": audio +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput/dtmf": dtmf +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput/event": event +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput/intent": intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput/languageCode": language_code +"/dialogflow:v2/GoogleCloudDialogflowCxV3QueryInput/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_reload_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3ResponseMessage": google_cloud_dialogflow_cx_v3_response_message "/dialogflow:v2/GoogleCloudDialogflowCxV3ResponseMessage/conversationSuccess": conversation_success "/dialogflow:v2/GoogleCloudDialogflowCxV3ResponseMessage/endInteraction": end_interaction @@ -87462,10 +87616,56 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3ResponseMessageText/allowPlaybackInterruption": allow_playback_interruption "/dialogflow:v2/GoogleCloudDialogflowCxV3ResponseMessageText/text": text "/dialogflow:v2/GoogleCloudDialogflowCxV3ResponseMessageText/text/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3RunTestCaseMetadata": google_cloud_dialogflow_cx_v3_run_test_case_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3RunTestCaseResponse": google_cloud_dialogflow_cx_v3_run_test_case_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3RunTestCaseResponse/result": result "/dialogflow:v2/GoogleCloudDialogflowCxV3SessionInfo": google_cloud_dialogflow_cx_v3_session_info "/dialogflow:v2/GoogleCloudDialogflowCxV3SessionInfo/parameters": parameters "/dialogflow:v2/GoogleCloudDialogflowCxV3SessionInfo/parameters/parameter": parameter "/dialogflow:v2/GoogleCloudDialogflowCxV3SessionInfo/session": session +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase": google_cloud_dialogflow_cx_v3_test_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/creationTime": creation_time +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/lastTestResult": last_test_result +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/notes": notes +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/tags": tags +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/tags/tag": tag +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/testCaseConversationTurns": test_case_conversation_turns +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/testCaseConversationTurns/test_case_conversation_turn": test_case_conversation_turn +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCase/testConfig": test_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseError": google_cloud_dialogflow_cx_v3_test_case_error +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseError/status": status +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseError/testCase": test_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult": google_cloud_dialogflow_cx_v3_test_case_result +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult/conversationTurns": conversation_turns +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult/conversationTurns/conversation_turn": conversation_turn +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult/environment": environment +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult/testResult": test_result +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestCaseResult/testTime": test_time +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestConfig": google_cloud_dialogflow_cx_v3_test_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestConfig/flow": flow +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestConfig/trackingParameters": tracking_parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestConfig/trackingParameters/tracking_parameter": tracking_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestError": google_cloud_dialogflow_cx_v3_test_error +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestError/status": status +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestError/testCase": test_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestError/testTime": test_time +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestRunDifference": google_cloud_dialogflow_cx_v3_test_run_difference +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestRunDifference/description": description +"/dialogflow:v2/GoogleCloudDialogflowCxV3TestRunDifference/type": type +"/dialogflow:v2/GoogleCloudDialogflowCxV3TextInput": google_cloud_dialogflow_cx_v3_text_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3TextInput/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute": google_cloud_dialogflow_cx_v3_transition_route +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute/condition": condition +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute/intent": intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute/targetFlow": target_flow +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute/targetPage": target_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3TransitionRoute/triggerFulfillment": trigger_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3_update_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest": google_cloud_dialogflow_cx_v3_webhook_request "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/detectIntentResponseId": detect_intent_response_id "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/fulfillmentInfo": fulfillment_info @@ -87497,13 +87697,158 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/mergeBehavior": merge_behavior "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/messages": messages "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse/messages/message": message +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1AudioInput": google_cloud_dialogflow_cx_v3beta1_audio_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1AudioInput/audio": audio +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1AudioInput/config": config +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata": google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata/errors": errors +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata/errors/error": error +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse": google_cloud_dialogflow_cx_v3beta1_batch_run_test_cases_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse/results": results +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse/results/result": result +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurn": google_cloud_dialogflow_cx_v3beta1_conversation_turn +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurn/userInput": user_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurn/virtualAgentOutput": virtual_agent_output +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput": google_cloud_dialogflow_cx_v3beta1_conversation_turn_user_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/injectedParameters": injected_parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/injectedParameters/injected_parameter": injected_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/input": input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput/isWebhookEnabled": is_webhook_enabled +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput": google_cloud_dialogflow_cx_v3beta1_conversation_turn_virtual_agent_output +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/currentPage": current_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/diagnosticInfo": diagnostic_info +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/diagnosticInfo/diagnostic_info": diagnostic_info +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/differences": differences +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/differences/difference": difference +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/sessionParameters": session_parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/sessionParameters/session_parameter": session_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/status": status +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/textResponses": text_responses +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/textResponses/text_response": text_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput/triggeredIntent": triggered_intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_create_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata": google_cloud_dialogflow_cx_v3beta1_create_version_operation_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata/version": version +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_delete_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DtmfInput": google_cloud_dialogflow_cx_v3beta1_dtmf_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DtmfInput/digits": digits +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1DtmfInput/finishDigit": finish_digit +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventHandler": google_cloud_dialogflow_cx_v3beta1_event_handler +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventHandler/event": event +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventHandler/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventHandler/targetFlow": target_flow +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventHandler/targetPage": target_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventHandler/triggerFulfillment": trigger_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventInput": google_cloud_dialogflow_cx_v3beta1_event_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1EventInput/event": event "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentContent": agent_content "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportAgentResponse/agentUri": agent_uri +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata": google_cloud_dialogflow_cx_v3beta1_export_test_cases_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse": google_cloud_dialogflow_cx_v3beta1_export_test_cases_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse/content": content +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse/gcsUri": gcs_uri +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Form": google_cloud_dialogflow_cx_v3beta1_form +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Form/parameters": parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Form/parameters/parameter": parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter": google_cloud_dialogflow_cx_v3beta1_form_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/defaultValue": default_value +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/entityType": entity_type +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/fillBehavior": fill_behavior +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/isList": is_list +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/redact": redact +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameter/required": required +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior": google_cloud_dialogflow_cx_v3beta1_form_parameter_fill_behavior +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/initialPromptFulfillment": initial_prompt_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/repromptEventHandlers": reprompt_event_handlers +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior/repromptEventHandlers/reprompt_event_handler": reprompt_event_handler +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment": google_cloud_dialogflow_cx_v3beta1_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/conditionalCases": conditional_cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/conditionalCases/conditional_case": conditional_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/messages": messages +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/messages/message": message +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/setParameterActions": set_parameter_actions +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/setParameterActions/set_parameter_action": set_parameter_action +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/tag": tag +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Fulfillment/webhook": webhook +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases/cases": cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases/cases/case": case +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/caseContent": case_content +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/caseContent/case_content": case_content +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase/condition": condition +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent": google_cloud_dialogflow_cx_v3beta1_fulfillment_conditional_cases_case_case_content +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent/additionalCases": additional_cases +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent/message": message +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction": google_cloud_dialogflow_cx_v3beta1_fulfillment_set_parameter_action +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction/parameter": parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction/value": value +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata": google_cloud_dialogflow_cx_v3beta1_generic_knowledge_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata/state": state "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportAgentResponse": google_cloud_dialogflow_cx_v3beta1_import_agent_response "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportAgentResponse/agent": agent +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata": google_cloud_dialogflow_cx_v3beta1_import_documents_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse": google_cloud_dialogflow_cx_v3beta1_import_documents_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse/warnings": warnings +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse/warnings/warning": warning +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata": google_cloud_dialogflow_cx_v3beta1_import_test_cases_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata/errors": errors +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata/errors/error": error +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse": google_cloud_dialogflow_cx_v3beta1_import_test_cases_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse/names": names +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse/names/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig": google_cloud_dialogflow_cx_v3beta1_input_audio_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/audioEncoding": audio_encoding +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/enableWordInfo": enable_word_info +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/model": model +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/modelVariant": model_variant +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/phraseHints": phrase_hints +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/phraseHints/phrase_hint": phrase_hint +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/sampleRateHertz": sample_rate_hertz +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1InputAudioConfig/singleUtterance": single_utterance +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent": google_cloud_dialogflow_cx_v3beta1_intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/description": description +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/isFallback": is_fallback +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/labels": labels +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/labels/label": label +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/parameters": parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/parameters/parameter": parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/priority": priority +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/trainingPhrases": training_phrases +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Intent/trainingPhrases/training_phrase": training_phrase +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentInput": google_cloud_dialogflow_cx_v3beta1_intent_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentInput/intent": intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentParameter": google_cloud_dialogflow_cx_v3beta1_intent_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentParameter/entityType": entity_type +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentParameter/id": id +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentParameter/isList": is_list +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentParameter/redact": redact +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/id": id +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts": parts +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/parts/part": part +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase/repeatCount": repeat_count +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart": google_cloud_dialogflow_cx_v3beta1_intent_training_phrase_part +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart/parameterId": parameter_id +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page": google_cloud_dialogflow_cx_v3beta1_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/entryFulfillment": entry_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/eventHandlers": event_handlers +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/eventHandlers/event_handler": event_handler +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/form": form +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/transitionRouteGroups": transition_route_groups +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/transitionRouteGroups/transition_route_group": transition_route_group +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/transitionRoutes": transition_routes +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1Page/transitionRoutes/transition_route": transition_route "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfo": google_cloud_dialogflow_cx_v3beta1_page_info "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfo/currentPage": current_page "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfo/formInfo": form_info @@ -87516,6 +87861,15 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/required": required "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/state": state "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo/value": value +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput": google_cloud_dialogflow_cx_v3beta1_query_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput/audio": audio +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput/dtmf": dtmf +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput/event": event +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput/intent": intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput/languageCode": language_code +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1QueryInput/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_reload_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage": google_cloud_dialogflow_cx_v3beta1_response_message "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/conversationSuccess": conversation_success "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessage/endInteraction": end_interaction @@ -87555,10 +87909,56 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageText/allowPlaybackInterruption": allow_playback_interruption "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageText/text": text "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1ResponseMessageText/text/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata": google_cloud_dialogflow_cx_v3beta1_run_test_case_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1RunTestCaseResponse": google_cloud_dialogflow_cx_v3beta1_run_test_case_response +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1RunTestCaseResponse/result": result "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1SessionInfo": google_cloud_dialogflow_cx_v3beta1_session_info "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1SessionInfo/parameters": parameters "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1SessionInfo/parameters/parameter": parameter "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1SessionInfo/session": session +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase": google_cloud_dialogflow_cx_v3beta1_test_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/creationTime": creation_time +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/displayName": display_name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/lastTestResult": last_test_result +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/notes": notes +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/tags": tags +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/tags/tag": tag +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/testCaseConversationTurns": test_case_conversation_turns +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/testCaseConversationTurns/test_case_conversation_turn": test_case_conversation_turn +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCase/testConfig": test_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseError": google_cloud_dialogflow_cx_v3beta1_test_case_error +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseError/status": status +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseError/testCase": test_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult": google_cloud_dialogflow_cx_v3beta1_test_case_result +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult/conversationTurns": conversation_turns +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult/conversationTurns/conversation_turn": conversation_turn +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult/environment": environment +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult/testResult": test_result +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestCaseResult/testTime": test_time +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestConfig": google_cloud_dialogflow_cx_v3beta1_test_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestConfig/flow": flow +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestConfig/trackingParameters": tracking_parameters +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestConfig/trackingParameters/tracking_parameter": tracking_parameter +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestError": google_cloud_dialogflow_cx_v3beta1_test_error +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestError/status": status +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestError/testCase": test_case +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestError/testTime": test_time +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestRunDifference": google_cloud_dialogflow_cx_v3beta1_test_run_difference +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestRunDifference/description": description +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TestRunDifference/type": type +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TextInput": google_cloud_dialogflow_cx_v3beta1_text_input +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TextInput/text": text +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute": google_cloud_dialogflow_cx_v3beta1_transition_route +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute/condition": condition +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute/intent": intent +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute/name": name +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute/targetFlow": target_flow +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute/targetPage": target_page +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1TransitionRoute/triggerFulfillment": trigger_fulfillment +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_update_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/fulfillmentInfo": fulfillment_info @@ -88419,8 +88819,12 @@ "/dialogflow:v2/GoogleCloudDialogflowV2beta1WebhookResponse/sessionEntityTypes": session_entity_types "/dialogflow:v2/GoogleCloudDialogflowV2beta1WebhookResponse/sessionEntityTypes/session_entity_type": session_entity_type "/dialogflow:v2/GoogleCloudDialogflowV2beta1WebhookResponse/source": source +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_create_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata": google_cloud_dialogflow_v3alpha1_create_version_operation_metadata "/dialogflow:v2/GoogleCloudDialogflowV3alpha1CreateVersionOperationMetadata/version": version +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_delete_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportAgentResponse": google_cloud_dialogflow_v3alpha1_export_agent_response "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentContent": agent_content "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportAgentResponse/agentUri": agent_uri @@ -88428,13 +88832,24 @@ "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportTestCasesResponse": google_cloud_dialogflow_v3alpha1_export_test_cases_response "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportTestCasesResponse/content": content "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ExportTestCasesResponse/gcsUri": gcs_uri +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata": google_cloud_dialogflow_v3alpha1_generic_knowledge_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata/state": state "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportAgentResponse": google_cloud_dialogflow_v3alpha1_import_agent_response "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportAgentResponse/agent": agent +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata": google_cloud_dialogflow_v3alpha1_import_documents_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata/genericMetadata": generic_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportDocumentsResponse": google_cloud_dialogflow_v3alpha1_import_documents_response +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportDocumentsResponse/warnings": warnings +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportDocumentsResponse/warnings/warning": warning "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportTestCasesMetadata": google_cloud_dialogflow_v3alpha1_import_test_cases_metadata "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse": google_cloud_dialogflow_v3alpha1_import_test_cases_response "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse/names": names "/dialogflow:v2/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse/names/name": name +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_reload_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudDialogflowV3alpha1RunTestCaseMetadata": google_cloud_dialogflow_v3alpha1_run_test_case_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata": google_cloud_dialogflow_v3alpha1_update_document_operation_metadata +"/dialogflow:v2/GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v2/GoogleCloudKnowledgeV1alpha1OperationMetadata": google_cloud_knowledge_v1alpha1_operation_metadata "/dialogflow:v2/GoogleCloudKnowledgeV1alpha1OperationMetadata/errorCode": error_code "/dialogflow:v2/GoogleCloudKnowledgeV1alpha1OperationMetadata/errorCode/error_code": error_code diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 16238ccb9..8e4af59f5 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - 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_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index d4450cbef..d89034e42 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -22,6 +22,233 @@ module Google module Apis module DialogflowV2 + # Represents the natural speech audio to be processed. + class GoogleCloudDialogflowCxV3AudioInput + 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::DialogflowV2::GoogleCloudDialogflowCxV3InputAudioConfig] + 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 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 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 + + # 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::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurnUserInput] + attr_accessor :user_input + + # The output from the virtual agent. + # Corresponds to the JSON property `virtualAgentOutput` + # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 @@ -42,6 +269,125 @@ 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::DialogflowV2::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 the input for dtmf event. + class GoogleCloudDialogflowCxV3DtmfInput + 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 GoogleCloudDialogflowCxV3EventHandler + 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::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment] + 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 GoogleCloudDialogflowCxV3EventInput + 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 GoogleCloudDialogflowCxV3ExportAgentResponse include Google::Apis::Core::Hashable @@ -69,6 +415,827 @@ 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 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 + + # 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 GoogleCloudDialogflowCxV3Form + 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 GoogleCloudDialogflowCxV3FormParameter + 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::DialogflowV2::GoogleCloudDialogflowCxV3FormParameterFillBehavior] + 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 GoogleCloudDialogflowCxV3FormParameterFillBehavior + 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::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment] + 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 GoogleCloudDialogflowCxV3Fulfillment + 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 GoogleCloudDialogflowCxV3FulfillmentConditionalCases + 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 GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase + 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 GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent + 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::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases] + 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::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage] + 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 GoogleCloudDialogflowCxV3FulfillmentSetParameterAction + 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 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::DialogflowV2::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 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 + + # 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 GoogleCloudDialogflowCxV3Intent + 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 GoogleCloudDialogflowCxV3IntentInput + 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 GoogleCloudDialogflowCxV3IntentParameter + 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 GoogleCloudDialogflowCxV3IntentTrainingPhrase + 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 GoogleCloudDialogflowCxV3IntentTrainingPhrasePart + 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 GoogleCloudDialogflowCxV3Page + 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::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment] + 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::DialogflowV2::GoogleCloudDialogflowCxV3Form] + 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 GoogleCloudDialogflowCxV3PageInfo include Google::Apis::Core::Hashable @@ -170,6 +1337,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 GoogleCloudDialogflowCxV3QueryInput + include Google::Apis::Core::Hashable + + # Represents the natural speech audio to be processed. + # Corresponds to the JSON property `audio` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AudioInput] + attr_accessor :audio + + # Represents the input for dtmf event. + # Corresponds to the JSON property `dtmf` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3DtmfInput] + attr_accessor :dtmf + + # Represents the event to trigger. + # Corresponds to the JSON property `event` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventInput] + 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::DialogflowV2::GoogleCloudDialogflowCxV3IntentInput] + 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::DialogflowV2::GoogleCloudDialogflowCxV3TextInput] + 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 GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV2::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 @@ -476,6 +1718,38 @@ 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 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::DialogflowV2::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 session information communicated to and from the webhook. class GoogleCloudDialogflowCxV3SessionInfo include Google::Apis::Core::Hashable @@ -507,6 +1781,347 @@ 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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::GoogleRpcStatus] + attr_accessor :status + + # Represents a test case. + # Corresponds to the JSON property `testCase` + # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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 + + # 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 GoogleCloudDialogflowCxV3TransitionRoute + 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::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment] + 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 GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + include Google::Apis::Core::Hashable + + # Metadata in google::longrunning::Operation for Knowledge operations. + # Corresponds to the JSON property `genericMetadata` + # @return [Google::Apis::DialogflowV2::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 message for a webhook call. class GoogleCloudDialogflowCxV3WebhookRequest include Google::Apis::Core::Hashable @@ -714,6 +2329,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::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput] + attr_accessor :user_input + + # The output from the virtual agent. + # Corresponds to the JSON property `virtualAgentOutput` + # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 @@ -734,6 +2576,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::DialogflowV2::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::DialogflowV2::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 @@ -761,6 +2722,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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 @@ -862,6 +3644,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::DialogflowV2::GoogleCloudDialogflowCxV3beta1AudioInput] + attr_accessor :audio + + # Represents the input for dtmf event. + # Corresponds to the JSON property `dtmf` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DtmfInput] + attr_accessor :dtmf + + # Represents the event to trigger. + # Corresponds to the JSON property `event` + # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 @@ -1168,6 +4025,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::DialogflowV2::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 @@ -1199,6 +4088,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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::GoogleRpcStatus] + attr_accessor :status + + # Represents a test case. + # Corresponds to the JSON property `testCase` + # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 @@ -4178,8 +7408,8 @@ module Google # This field can be used to pass HTTP headers for a webhook call. These headers # will be sent to webhook along with the headers that have been configured - # through Dialogflow web console. The headers defined within this field will - # overwrite the headers configured through Dialogflow console if there is a + # through the Dialogflow web console. The headers defined within this field will + # overwrite the headers configured through the Dialogflow console if there is a # conflict. Header names are case-insensitive. Google's specified headers are # not allowed. Including: "Host", "Content-Length", "Connection", "From", "User- # Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded- @@ -7392,6 +10622,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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb index 74165bfbf..d0074052b 100644 --- a/generated/google/apis/dialogflow_v2/representations.rb +++ b/generated/google/apis/dialogflow_v2/representations.rb @@ -22,18 +22,216 @@ module Google module Apis module DialogflowV2 + class GoogleCloudDialogflowCxV3AudioInput + 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 GoogleCloudDialogflowCxV3BatchRunTestCasesResponse + 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 GoogleCloudDialogflowCxV3DtmfInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3EventHandler + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3EventInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3ExportAgentResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3ExportTestCasesMetadata + 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 GoogleCloudDialogflowCxV3Form + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3FormParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3FormParameterFillBehavior + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3Fulfillment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3FulfillmentConditionalCases + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + 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 GoogleCloudDialogflowCxV3ImportTestCasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3InputAudioConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3Intent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3IntentInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3IntentParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3IntentTrainingPhrase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,6 +250,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3QueryInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + 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 @@ -106,12 +316,78 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3RunTestCaseMetadata + 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 GoogleCloudDialogflowCxV3SessionInfo class Representation < Google::Apis::Core::JsonRepresentation; end 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 + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3TransitionRoute + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3WebhookRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,18 +424,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 @@ -178,6 +652,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 @@ -232,12 +718,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 @@ -1186,6 +1738,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 @@ -1216,6 +1810,77 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3AudioInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, :base64 => true, as: 'audio' + property :config, as: 'config', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3InputAudioConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3InputAudioConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError::Representation + + end + end + + class GoogleCloudDialogflowCxV3BatchRunTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + end + end + + class GoogleCloudDialogflowCxV3ConversationTurn + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_input, as: 'userInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurnUserInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurnUserInput::Representation + + property :virtual_agent_output, as: 'virtualAgentOutput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Page::Representation + + hash :diagnostic_info, as: 'diagnosticInfo' + collection :differences, as: 'differences', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestRunDifference, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestRunDifference::Representation + + hash :session_parameters, as: 'sessionParameters' + property :status, as: 'status', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + collection :text_responses, as: 'textResponses', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation + + property :triggered_intent, as: 'triggeredIntent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Intent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Intent::Representation + + end + end + + class GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3CreateVersionOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1223,6 +1888,41 @@ module Google end end + class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowCxV3DtmfInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :digits, as: 'digits' + property :finish_digit, as: 'finishDigit' + end + end + + class GoogleCloudDialogflowCxV3EventHandler + # @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::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3EventInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event, as: 'event' + end + end + class GoogleCloudDialogflowCxV3ExportAgentResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1231,6 +1931,220 @@ module Google end end + class GoogleCloudDialogflowCxV3ExportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + 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 GoogleCloudDialogflowCxV3Form + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FormParameter, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FormParameter::Representation + + end + end + + class GoogleCloudDialogflowCxV3FormParameter + # @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::DialogflowV2::GoogleCloudDialogflowCxV3FormParameterFillBehavior, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FormParameterFillBehavior::Representation + + property :is_list, as: 'isList' + property :redact, as: 'redact' + property :required, as: 'required' + end + end + + class GoogleCloudDialogflowCxV3FormParameterFillBehavior + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :initial_prompt_fulfillment, as: 'initialPromptFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation + + collection :reprompt_event_handlers, as: 'repromptEventHandlers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventHandler, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventHandler::Representation + + end + end + + class GoogleCloudDialogflowCxV3Fulfillment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation + + collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation + + collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation + + property :tag, as: 'tag' + property :webhook, as: 'webhook' + end + end + + class GoogleCloudDialogflowCxV3FulfillmentConditionalCases + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cases, as: 'cases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :case_content, as: 'caseContent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent::Representation + + property :condition, as: 'condition' + end + end + + class GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_cases, as: 'additionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation + + property :message, as: 'message', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation + + end + end + + class GoogleCloudDialogflowCxV3FulfillmentSetParameterAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter, as: 'parameter' + property :value, as: 'value' + 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::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowCxV3ImportDocumentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDialogflowCxV3ImportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseError::Representation + + 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 + 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 GoogleCloudDialogflowCxV3Intent + # @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::DialogflowV2::GoogleCloudDialogflowCxV3IntentParameter, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentParameter::Representation + + property :priority, as: 'priority' + collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentTrainingPhrase, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentTrainingPhrase::Representation + + end + end + + class GoogleCloudDialogflowCxV3IntentInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :intent, as: 'intent' + end + end + + class GoogleCloudDialogflowCxV3IntentParameter + # @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 GoogleCloudDialogflowCxV3IntentTrainingPhrase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :parts, as: 'parts', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentTrainingPhrasePart::Representation + + property :repeat_count, as: 'repeatCount' + end + end + + class GoogleCloudDialogflowCxV3IntentTrainingPhrasePart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parameter_id, as: 'parameterId' + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation + + collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventHandler, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventHandler::Representation + + property :form, as: 'form', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Form, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Form::Representation + + property :name, as: 'name' + collection :transition_route_groups, as: 'transitionRouteGroups' + collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TransitionRoute::Representation + + end + end + class GoogleCloudDialogflowCxV3PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1259,6 +2173,31 @@ module Google end end + class GoogleCloudDialogflowCxV3QueryInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AudioInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AudioInput::Representation + + property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3DtmfInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3DtmfInput::Representation + + property :event, as: 'event', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EventInput::Representation + + property :intent, as: 'intent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3IntentInput::Representation + + property :language_code, as: 'languageCode' + property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TextInput::Representation + + end + end + + class GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3ResponseMessage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1342,6 +2281,20 @@ module Google end end + class GoogleCloudDialogflowCxV3RunTestCaseMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GoogleCloudDialogflowCxV3RunTestCaseResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :result, as: 'result', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + end + end + class GoogleCloudDialogflowCxV3SessionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1350,6 +2303,99 @@ 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::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult::Representation + + property :name, as: 'name' + property :notes, as: 'notes' + collection :tags, as: 'tags' + collection :test_case_conversation_turns, as: 'testCaseConversationTurns', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurn, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurn::Representation + + property :test_config, as: 'testConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3TestCaseError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + property :test_case, as: 'testCase', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCase, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3TestCaseResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversation_turns, as: 'conversationTurns', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ConversationTurn, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::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 + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowCxV3TransitionRoute + # @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::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1416,6 +2462,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::DialogflowV2::GoogleCloudDialogflowCxV3beta1InputAudioConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1InputAudioConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseResult::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ConversationTurn + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_input, as: 'userInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput::Representation + + property :virtual_agent_output, as: 'virtualAgentOutput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Page::Representation + + hash :diagnostic_info, as: 'diagnosticInfo' + collection :differences, as: 'differences', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestRunDifference, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestRunDifference::Representation + + hash :session_parameters, as: 'sessionParameters' + property :status, as: 'status', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + collection :text_responses, as: 'textResponses', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation + + property :triggered_intent, as: 'triggeredIntent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Intent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Intent::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1423,6 +2540,41 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::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 @@ -1431,6 +2583,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::DialogflowV2::GoogleCloudDialogflowCxV3beta1FormParameter, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + collection :reprompt_event_handlers, as: 'repromptEventHandlers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1Fulfillment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation + + collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation + + collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :case_content, as: 'caseContent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation + + property :message, as: 'message', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseError, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentParameter, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentParameter::Representation + + property :priority, as: 'priority' + collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + collection :event_handlers, as: 'eventHandlers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EventHandler, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EventHandler::Representation + + property :form, as: 'form', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Form, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Form::Representation + + property :name, as: 'name' + collection :transition_route_groups, as: 'transitionRouteGroups' + collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1459,6 +2825,31 @@ module Google end end + class GoogleCloudDialogflowCxV3beta1QueryInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AudioInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AudioInput::Representation + + property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DtmfInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1DtmfInput::Representation + + property :event, as: 'event', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EventInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1EventInput::Representation + + property :intent, as: 'intent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1IntentInput::Representation + + property :language_code, as: 'languageCode' + property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TextInput::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1ResponseMessage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1542,6 +2933,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::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseResult::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1SessionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1550,6 +2955,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::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCaseResult::Representation + + property :name, as: 'name' + property :notes, as: 'notes' + collection :tags, as: 'tags' + collection :test_case_conversation_turns, as: 'testCaseConversationTurns', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurn, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurn::Representation + + property :test_config, as: 'testConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestConfig::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1TestCaseError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + property :test_case, as: 'testCase', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCase, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestCase::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1TestCaseResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversation_turns, as: 'conversationTurns', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ConversationTurn, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation + + end + end + + class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3218,6 +4716,61 @@ module Google end end + class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::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::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1ImportDocumentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + + class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generic_metadata, as: 'genericMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata::Representation + + end + end + class GoogleLongrunningListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2/synth.metadata b/generated/google/apis/dialogflow_v2/synth.metadata index 2dbcf5316..f695b0203 100644 --- a/generated/google/apis/dialogflow_v2/synth.metadata +++ b/generated/google/apis/dialogflow_v2/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "0492accc8a44d0f28a484a67f7940d74246ab88d" + "sha": "e698564f18ee833201743f56b739e0e7831d14dd" } } ]