feat: Automated regeneration of dialogflow v3beta1 client (#2236)

This commit is contained in:
Yoshi Automation Bot 2021-01-07 10:14:54 -08:00 committed by GitHub
parent 430d50c1bc
commit 613dbbca8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 1350 additions and 37 deletions

View File

@ -93922,6 +93922,10 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/speechToTextSettings": speech_to_text_settings "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/speechToTextSettings": speech_to_text_settings
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/startFlow": start_flow "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/startFlow": start_flow
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/timeZone": time_zone "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Agent/timeZone": time_zone
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AgentValidationResult": google_cloud_dialogflow_cx_v3beta1_agent_validation_result
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AgentValidationResult/flowValidationResults": flow_validation_results
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AgentValidationResult/flowValidationResults/flow_validation_result": flow_validation_result
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AgentValidationResult/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput": google_cloud_dialogflow_cx_v3beta1_audio_input "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput": google_cloud_dialogflow_cx_v3beta1_audio_input
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput/audio": audio "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput/audio": audio
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput/config": config "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1AudioInput/config": config
@ -94013,6 +94017,41 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/triggerFulfillment": trigger_fulfillment "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventHandler/triggerFulfillment": trigger_fulfillment
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventInput": google_cloud_dialogflow_cx_v3beta1_event_input "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventInput": google_cloud_dialogflow_cx_v3beta1_event_input
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventInput/event": event "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1EventInput/event": event
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment": google_cloud_dialogflow_cx_v3beta1_experiment
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/createTime": create_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/definition": definition
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/description": description
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/displayName": display_name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/endTime": end_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/experimentLength": experiment_length
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/lastUpdateTime": last_update_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/result": result
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/startTime": start_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/state": state
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/variantsHistory": variants_history
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Experiment/variantsHistory/variants_history": variants_history
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentDefinition": google_cloud_dialogflow_cx_v3beta1_experiment_definition
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentDefinition/condition": condition
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentDefinition/versionVariants": version_variants
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResult": google_cloud_dialogflow_cx_v3beta1_experiment_result
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResult/lastUpdateTime": last_update_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResult/versionMetrics": version_metrics
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResult/versionMetrics/version_metric": version_metric
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval": google_cloud_dialogflow_cx_v3beta1_experiment_result_confidence_interval
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval/confidenceLevel": confidence_level
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval/lowerBound": lower_bound
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval/ratio": ratio
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval/upperBound": upper_bound
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultMetric": google_cloud_dialogflow_cx_v3beta1_experiment_result_metric
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultMetric/confidenceInterval": confidence_interval
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultMetric/ratio": ratio
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultMetric/type": type
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics": google_cloud_dialogflow_cx_v3beta1_experiment_result_version_metrics
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics/metrics": metrics
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics/metrics/metric": metric
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics/sessionCount": session_count
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics/version": version
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentRequest": google_cloud_dialogflow_cx_v3beta1_export_agent_request "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentRequest": google_cloud_dialogflow_cx_v3beta1_export_agent_request
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentRequest/agentUri": agent_uri "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentRequest/agentUri": agent_uri
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ExportAgentResponse": google_cloud_dialogflow_cx_v3beta1_export_agent_response
@ -94035,6 +94074,11 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/nluSettings": nlu_settings "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/nluSettings": nlu_settings
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/transitionRoutes": transition_routes "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/transitionRoutes": transition_routes
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/transitionRoutes/transition_route": transition_route "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Flow/transitionRoutes/transition_route": transition_route
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FlowValidationResult": google_cloud_dialogflow_cx_v3beta1_flow_validation_result
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FlowValidationResult/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FlowValidationResult/updateTime": update_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FlowValidationResult/validationMessages": validation_messages
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1FlowValidationResult/validationMessages/validation_message": validation_message
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form": google_cloud_dialogflow_cx_v3beta1_form "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form": google_cloud_dialogflow_cx_v3beta1_form
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form/parameters": parameters "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form/parameters": parameters
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form/parameters/parameter": parameter "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Form/parameters/parameter": parameter
@ -94154,6 +94198,10 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/environments": environments "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/environments": environments
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/environments/environment": environment "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/environments/environment": environment
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/nextPageToken": next_page_token "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse/nextPageToken": next_page_token
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListExperimentsResponse": google_cloud_dialogflow_cx_v3beta1_list_experiments_response
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListExperimentsResponse/experiments": experiments
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListExperimentsResponse/experiments/experiment": experiment
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListExperimentsResponse/nextPageToken": next_page_token
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse": google_cloud_dialogflow_cx_v3beta1_list_flows_response "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse": google_cloud_dialogflow_cx_v3beta1_list_flows_response
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/flows": flows "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/flows": flows
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/flows/flow": flow "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ListFlowsResponse/flows/flow": flow
@ -94294,6 +94342,9 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookStatuses/webhook_status": webhook_status "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1QueryResult/webhookStatuses/webhook_status": webhook_status
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_reload_document_operation_metadata "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_reload_document_operation_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata/genericMetadata": generic_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResourceName": google_cloud_dialogflow_cx_v3beta1_resource_name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResourceName/displayName": display_name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResourceName/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage": google_cloud_dialogflow_cx_v3beta1_response_message "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage": google_cloud_dialogflow_cx_v3beta1_response_message
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/conversationSuccess": conversation_success "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/conversationSuccess": conversation_success
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/endInteraction": end_interaction "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ResponseMessage/endInteraction": end_interaction
@ -94365,6 +94416,8 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionInfo/session": session "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SessionInfo/session": session
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SpeechToTextSettings": google_cloud_dialogflow_cx_v3beta1_speech_to_text_settings "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SpeechToTextSettings": google_cloud_dialogflow_cx_v3beta1_speech_to_text_settings
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SpeechToTextSettings/enableSpeechAdaptation": enable_speech_adaptation "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SpeechToTextSettings/enableSpeechAdaptation": enable_speech_adaptation
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1StartExperimentRequest": google_cloud_dialogflow_cx_v3beta1_start_experiment_request
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1StopExperimentRequest": google_cloud_dialogflow_cx_v3beta1_stop_experiment_request
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig": google_cloud_dialogflow_cx_v3beta1_synthesize_speech_config "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig": google_cloud_dialogflow_cx_v3beta1_synthesize_speech_config
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/effectsProfileId": effects_profile_id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/effectsProfileId": effects_profile_id
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/effectsProfileId/effects_profile_id": effects_profile_id "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig/effectsProfileId/effects_profile_id": effects_profile_id
@ -94435,6 +94488,21 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup/transitionRoutes/transition_route": transition_route "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1TransitionRouteGroup/transitionRoutes/transition_route": transition_route
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_update_document_operation_metadata "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata": google_cloud_dialogflow_cx_v3beta1_update_document_operation_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata/genericMetadata": generic_metadata "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata/genericMetadata": generic_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidateAgentRequest": google_cloud_dialogflow_cx_v3beta1_validate_agent_request
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidateAgentRequest/languageCode": language_code
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidateFlowRequest": google_cloud_dialogflow_cx_v3beta1_validate_flow_request
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidateFlowRequest/languageCode": language_code
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage": google_cloud_dialogflow_cx_v3beta1_validation_message
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/detail": detail
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/resourceNames": resource_names
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/resourceNames/resource_name": resource_name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/resourceType": resource_type
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/resources": resources
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/resources/resource": resource
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1ValidationMessage/severity": severity
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VariantsHistory": google_cloud_dialogflow_cx_v3beta1_variants_history
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VariantsHistory/updateTime": update_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VariantsHistory/versionVariants": version_variants
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version": google_cloud_dialogflow_cx_v3beta1_version "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version": google_cloud_dialogflow_cx_v3beta1_version
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/createTime": create_time "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/createTime": create_time
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/description": description "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/description": description
@ -94442,6 +94510,13 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/name": name "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/nluSettings": nlu_settings "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/nluSettings": nlu_settings
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/state": state "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Version/state": state
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariants": google_cloud_dialogflow_cx_v3beta1_version_variants
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariants/variants": variants
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariants/variants/variant": variant
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariantsVariant": google_cloud_dialogflow_cx_v3beta1_version_variants_variant
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariantsVariant/isControlGroup": is_control_group
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariantsVariant/trafficAllocation": traffic_allocation
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VersionVariantsVariant/version": version
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams": google_cloud_dialogflow_cx_v3beta1_voice_selection_params "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams": google_cloud_dialogflow_cx_v3beta1_voice_selection_params
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams/name": name "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams/ssmlGender": ssml_gender "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1VoiceSelectionParams/ssmlGender": ssml_gender
@ -95219,6 +95294,23 @@
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.create/parent": parent "/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.create/parent": parent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.delete": delete_project_location_agent_environment "/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.delete": delete_project_location_agent_environment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.delete/name": name "/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.delete/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.create": create_project_location_agent_environment_experiment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.create/parent": parent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.delete": delete_project_location_agent_environment_experiment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.delete/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.get": get_project_location_agent_environment_experiment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.get/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.list": list_project_location_agent_environment_experiments
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.list/pageSize": page_size
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.list/pageToken": page_token
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.list/parent": parent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.patch": patch_project_location_agent_environment_experiment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.patch/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.patch/updateMask": update_mask
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.start": start_project_location_agent_environment_experiment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.start/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.stop": stop_project_location_agent_environment_experiment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.experiments.stop/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.get": get_project_location_agent_environment "/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.get": get_project_location_agent_environment
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.get/name": name "/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.get/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.list": list_project_location_agent_environments "/dialogflow:v3beta1/dialogflow.projects.locations.agents.environments.list": list_project_location_agent_environments
@ -95262,6 +95354,9 @@
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get": get_project_location_agent_flow "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get": get_project_location_agent_flow
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get/languageCode": language_code "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get/languageCode": language_code
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get/name": name "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.get/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.getValidationResult": get_project_location_agent_flow_validation_result
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.getValidationResult/languageCode": language_code
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.getValidationResult/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list": list_project_location_agent_flows "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list": list_project_location_agent_flows
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/languageCode": language_code "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/languageCode": language_code
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/pageSize": page_size "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.list/pageSize": page_size
@ -95309,6 +95404,8 @@
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/languageCode": language_code "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/languageCode": language_code
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/name": name "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/updateMask": update_mask "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch/updateMask": update_mask
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.validate": validate_project_location_agent_flow
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.validate/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.create": create_project_location_agent_flow_version "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.create": create_project_location_agent_flow_version
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.create/parent": parent "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.create/parent": parent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.delete": delete_project_location_agent_flow_version "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.delete": delete_project_location_agent_flow_version
@ -95326,6 +95423,9 @@
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.patch/updateMask": update_mask "/dialogflow:v3beta1/dialogflow.projects.locations.agents.flows.versions.patch/updateMask": update_mask
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.get": get_project_location_agent "/dialogflow:v3beta1/dialogflow.projects.locations.agents.get": get_project_location_agent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.get/name": name "/dialogflow:v3beta1/dialogflow.projects.locations.agents.get/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.getValidationResult": get_project_location_agent_validation_result
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.getValidationResult/languageCode": language_code
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.getValidationResult/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create": create_project_location_agent_intent "/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create": create_project_location_agent_intent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create/languageCode": language_code "/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create/languageCode": language_code
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create/parent": parent "/dialogflow:v3beta1/dialogflow.projects.locations.agents.intents.create/parent": parent
@ -95404,6 +95504,8 @@
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.testCases.run/agentsId": agents_id "/dialogflow:v3beta1/dialogflow.projects.locations.agents.testCases.run/agentsId": agents_id
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.testCases.run/locationsId": locations_id "/dialogflow:v3beta1/dialogflow.projects.locations.agents.testCases.run/locationsId": locations_id
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.testCases.run/projectsId": projects_id "/dialogflow:v3beta1/dialogflow.projects.locations.agents.testCases.run/projectsId": projects_id
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.validate": validate_project_location_agent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.validate/name": name
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.create": create_project_location_agent_webhook "/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.create": create_project_location_agent_webhook
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.create/parent": parent "/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.create/parent": parent
"/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.delete": delete_project_location_agent_webhook "/dialogflow:v3beta1/dialogflow.projects.locations.agents.webhooks.delete": delete_project_location_agent_webhook

View File

@ -1,7 +1,7 @@
# Release history for google-apis-dialogflow_v3beta1 # Release history for google-apis-dialogflow_v3beta1
### v0.1.0 (2021-01-01) ### v0.1.0 (2021-01-07)
* Regenerated from discovery document revision 20201213 * Regenerated from discovery document revision 20201231
* Regenerated using generator version 0.1.0 * Regenerated using generator version 0.1.1

View File

@ -2419,6 +2419,32 @@ module Google
end end
end end
# The response message for Agents.GetAgentValidationResult.
class GoogleCloudDialogflowCxV3beta1AgentValidationResult
include Google::Apis::Core::Hashable
# Contains all flow validation results.
# Corresponds to the JSON property `flowValidationResults`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult>]
attr_accessor :flow_validation_results
# The unique identifier of the agent validation result. Format: `projects//
# locations//agents//validationResult`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@flow_validation_results = args[:flow_validation_results] if args.key?(:flow_validation_results)
@name = args[:name] if args.key?(:name)
end
end
# Represents the natural speech audio to be processed. # Represents the natural speech audio to be processed.
class GoogleCloudDialogflowCxV3beta1AudioInput class GoogleCloudDialogflowCxV3beta1AudioInput
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3146,6 +3172,255 @@ module Google
end end
end end
# Represents an experiment in an environment. Next ID: 13
class GoogleCloudDialogflowCxV3beta1Experiment
include Google::Apis::Core::Hashable
# Creation time of this experiment.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# Definition of the experiment. Next ID: 3
# Corresponds to the JSON property `definition`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition]
attr_accessor :definition
# The human-readable description of the experiment.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Required. The human-readable name of the experiment (unique in an environment).
# Limit of 64 characters.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# End time of this experiment.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Maximum number of days to run the experiment.
# Corresponds to the JSON property `experimentLength`
# @return [String]
attr_accessor :experiment_length
# Last update time of this experiment.
# Corresponds to the JSON property `lastUpdateTime`
# @return [String]
attr_accessor :last_update_time
# The name of the experiment. Format: projects//locations//agents//environments//
# experiments/..
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The inference result which includes an objective metric to optimize and the
# confidence interval.
# Corresponds to the JSON property `result`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult]
attr_accessor :result
# Start time of this experiment.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
# The current state of the experiment. Transition triggered by Expriments.
# StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.
# CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# The history of updates to the experiment variants.
# Corresponds to the JSON property `variantsHistory`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory>]
attr_accessor :variants_history
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@definition = args[:definition] if args.key?(:definition)
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@end_time = args[:end_time] if args.key?(:end_time)
@experiment_length = args[:experiment_length] if args.key?(:experiment_length)
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
@name = args[:name] if args.key?(:name)
@result = args[:result] if args.key?(:result)
@start_time = args[:start_time] if args.key?(:start_time)
@state = args[:state] if args.key?(:state)
@variants_history = args[:variants_history] if args.key?(:variants_history)
end
end
# Definition of the experiment. Next ID: 3
class GoogleCloudDialogflowCxV3beta1ExperimentDefinition
include Google::Apis::Core::Hashable
# The condition defines which subset of sessions are selected for this
# experiment. If not specified, all sessions are eligible. E.g. "query_input.
# language_code=en" See the [conditions reference](https://cloud.google.com/
# dialogflow/cx/docs/reference/condition).
# Corresponds to the JSON property `condition`
# @return [String]
attr_accessor :condition
# A list of flow version variants.
# Corresponds to the JSON property `versionVariants`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants]
attr_accessor :version_variants
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@condition = args[:condition] if args.key?(:condition)
@version_variants = args[:version_variants] if args.key?(:version_variants)
end
end
# The inference result which includes an objective metric to optimize and the
# confidence interval.
class GoogleCloudDialogflowCxV3beta1ExperimentResult
include Google::Apis::Core::Hashable
# The last time the experiment's stats data was updated. Will have default value
# if stats have never been computed for this experiment.
# Corresponds to the JSON property `lastUpdateTime`
# @return [String]
attr_accessor :last_update_time
# Version variants and metrics.
# Corresponds to the JSON property `versionMetrics`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics>]
attr_accessor :version_metrics
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
@version_metrics = args[:version_metrics] if args.key?(:version_metrics)
end
end
# A confidence interval is a range of possible values for the experiment
# objective you are trying to measure.
class GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval
include Google::Apis::Core::Hashable
# The confidence level used to construct the interval, i.e. there is X% chance
# that the true value is within this interval.
# Corresponds to the JSON property `confidenceLevel`
# @return [Float]
attr_accessor :confidence_level
# Lower bound of the interval.
# Corresponds to the JSON property `lowerBound`
# @return [Float]
attr_accessor :lower_bound
# The percent change between an experiment metric's value and the value for its
# control.
# Corresponds to the JSON property `ratio`
# @return [Float]
attr_accessor :ratio
# Upper bound of the interval.
# Corresponds to the JSON property `upperBound`
# @return [Float]
attr_accessor :upper_bound
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@confidence_level = args[:confidence_level] if args.key?(:confidence_level)
@lower_bound = args[:lower_bound] if args.key?(:lower_bound)
@ratio = args[:ratio] if args.key?(:ratio)
@upper_bound = args[:upper_bound] if args.key?(:upper_bound)
end
end
# Metric and corresponding confidence intervals.
class GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
include Google::Apis::Core::Hashable
# A confidence interval is a range of possible values for the experiment
# objective you are trying to measure.
# Corresponds to the JSON property `confidenceInterval`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval]
attr_accessor :confidence_interval
# Ratio value of a metric.
# Corresponds to the JSON property `ratio`
# @return [Float]
attr_accessor :ratio
# The type of the metric.
# 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)
@confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval)
@ratio = args[:ratio] if args.key?(:ratio)
@type = args[:type] if args.key?(:type)
end
end
# Version variant and associated metrics.
class GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics
include Google::Apis::Core::Hashable
# The metrics and corresponding confidence intervals in the inference result.
# Corresponds to the JSON property `metrics`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric>]
attr_accessor :metrics
# Number of sessions that were allocated to this version.
# Corresponds to the JSON property `sessionCount`
# @return [Fixnum]
attr_accessor :session_count
# The name of the flow Version. Format: `projects//locations//agents//flows//
# versions/`.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@metrics = args[:metrics] if args.key?(:metrics)
@session_count = args[:session_count] if args.key?(:session_count)
@version = args[:version] if args.key?(:version)
end
end
# The request message for Agents.ExportAgent. # The request message for Agents.ExportAgent.
class GoogleCloudDialogflowCxV3beta1ExportAgentRequest class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3346,6 +3621,38 @@ module Google
end end
end end
# The response message for Flows.GetFlowValidationResult.
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
include Google::Apis::Core::Hashable
# The unique identifier of the flow validation result. Format: `projects//
# locations//agents//flows//validationResult`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Last time the flow was validated.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
# Contains all validation messages.
# Corresponds to the JSON property `validationMessages`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidationMessage>]
attr_accessor :validation_messages
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@update_time = args[:update_time] if args.key?(:update_time)
@validation_messages = args[:validation_messages] if args.key?(:validation_messages)
end
end
# A form is a data model that groups related parameters that can be collected # 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 # 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 # parameter values from the user is called form filling. A form can be added to
@ -4274,6 +4581,34 @@ module Google
end end
end end
# The response message for Experiments.ListExperiments.
class GoogleCloudDialogflowCxV3beta1ListExperimentsResponse
include Google::Apis::Core::Hashable
# The list of experiments. There will be a maximum number of items returned
# based on the page_size field in the request. The list may in some cases be
# empty or contain fewer entries than page_size even if this isn't the last page.
# Corresponds to the JSON property `experiments`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment>]
attr_accessor :experiments
# Token to retrieve the next page of results, or empty if there are no more
# results in the list.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@experiments = args[:experiments] if args.key?(:experiments)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# The response message for Flows.ListFlows. # The response message for Flows.ListFlows.
class GoogleCloudDialogflowCxV3beta1ListFlowsResponse class GoogleCloudDialogflowCxV3beta1ListFlowsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -4631,9 +4966,10 @@ module Google
# table, dictionary, or JSON object composed of a collection of (MapKey, # table, dictionary, or JSON object composed of a collection of (MapKey,
# MapValue) pairs: - MapKey type: string - MapKey value: parameter name - # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
# MapValue type: - If parameter's entity type is a composite entity: map - Else: # MapValue type: - If parameter's entity type is a composite entity: map - Else:
# string or number, depending on parameter value type - MapValue value: - If # depending on parameter value type, could be one of string, number, boolean,
# parameter's entity type is a composite entity: map from composite entity # null, list or map - MapValue value: - If parameter's entity type is a
# property names to property values - Else: parameter value # composite entity: map from composite entity property names to property values -
# Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -5097,9 +5433,10 @@ module Google
# associative array, symbol table, dictionary, or JSON object composed of a # associative array, symbol table, dictionary, or JSON object composed of a
# collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: # collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value:
# parameter name - MapValue type: - If parameter's entity type is a composite # parameter name - MapValue type: - If parameter's entity type is a composite
# entity: map - Else: string or number, depending on parameter value type - # entity: map - Else: depending on parameter value type, could be one of string,
# MapValue value: - If parameter's entity type is a composite entity: map from # number, boolean, null, list or map - MapValue value: - If parameter's entity
# composite entity property names to property values - Else: parameter value # type is a composite entity: map from composite entity property names to
# property values - Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -5213,10 +5550,10 @@ module Google
# language, this is a map, associative array, symbol table, dictionary, or JSON # language, this is a map, associative array, symbol table, dictionary, or JSON
# object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: # object composed of a collection of (MapKey, MapValue) pairs: - MapKey type:
# string - MapKey value: parameter name - MapValue type: - If parameter's entity # string - MapKey value: parameter name - MapValue type: - If parameter's entity
# type is a composite entity: map - Else: string or number, depending on # type is a composite entity: map - Else: depending on parameter value type,
# parameter value type - MapValue value: - If parameter's entity type is a # could be one of string, number, boolean, null, list or map - MapValue value: -
# composite entity: map from composite entity property names to property values - # If parameter's entity type is a composite entity: map from composite entity
# Else: parameter value # property names to property values - Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -5314,6 +5651,31 @@ module Google
end end
end end
# Resource name and display name.
class GoogleCloudDialogflowCxV3beta1ResourceName
include Google::Apis::Core::Hashable
# Display name.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
# Name.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@name = args[:name] if args.key?(:name)
end
end
# Represents a response message that can be returned by a conversational agent. # 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 # Response messages are also used for output audio synthesis. The approach is as
# follows: * If at least one OutputAudioText response is present, then all # follows: * If at least one OutputAudioText response is present, then all
@ -5894,6 +6256,32 @@ module Google
end end
end end
# The request message for Experiments.StartExperiment.
class GoogleCloudDialogflowCxV3beta1StartExperimentRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The request message for Experiments.StopExperiment.
class GoogleCloudDialogflowCxV3beta1StopExperimentRequest
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Configuration of how speech should be synthesized. # Configuration of how speech should be synthesized.
class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -6476,6 +6864,112 @@ module Google
end end
end end
# The request message for Agents.ValidateAgent.
class GoogleCloudDialogflowCxV3beta1ValidateAgentRequest
include Google::Apis::Core::Hashable
# If not specified, the agent's default language is used.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@language_code = args[:language_code] if args.key?(:language_code)
end
end
# The request message for Flows.ValidateFlow.
class GoogleCloudDialogflowCxV3beta1ValidateFlowRequest
include Google::Apis::Core::Hashable
# If not specified, the agent's default language is used.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@language_code = args[:language_code] if args.key?(:language_code)
end
end
# Agent/flow validation message.
class GoogleCloudDialogflowCxV3beta1ValidationMessage
include Google::Apis::Core::Hashable
# The message detail.
# Corresponds to the JSON property `detail`
# @return [String]
attr_accessor :detail
# The resource names of the resources where the message is found.
# Corresponds to the JSON property `resourceNames`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResourceName>]
attr_accessor :resource_names
# The type of the resources where the message is found.
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type
# The names of the resources where the message is found.
# Corresponds to the JSON property `resources`
# @return [Array<String>]
attr_accessor :resources
# Indicates the severity of the message.
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@detail = args[:detail] if args.key?(:detail)
@resource_names = args[:resource_names] if args.key?(:resource_names)
@resource_type = args[:resource_type] if args.key?(:resource_type)
@resources = args[:resources] if args.key?(:resources)
@severity = args[:severity] if args.key?(:severity)
end
end
# The history of variants update.
class GoogleCloudDialogflowCxV3beta1VariantsHistory
include Google::Apis::Core::Hashable
# Update time of the variants.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
# A list of flow version variants.
# Corresponds to the JSON property `versionVariants`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants]
attr_accessor :version_variants
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@update_time = args[:update_time] if args.key?(:update_time)
@version_variants = args[:version_variants] if args.key?(:version_variants)
end
end
# Represents a version of a flow. # Represents a version of a flow.
class GoogleCloudDialogflowCxV3beta1Version class GoogleCloudDialogflowCxV3beta1Version
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -6528,12 +7022,67 @@ module Google
end end
end end
# A list of flow version variants.
class GoogleCloudDialogflowCxV3beta1VersionVariants
include Google::Apis::Core::Hashable
# A list of flow version variants.
# Corresponds to the JSON property `variants`
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariantsVariant>]
attr_accessor :variants
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@variants = args[:variants] if args.key?(:variants)
end
end
# A single flow version with specified traffic allocation.
class GoogleCloudDialogflowCxV3beta1VersionVariantsVariant
include Google::Apis::Core::Hashable
# Whether the variant is for the control group.
# Corresponds to the JSON property `isControlGroup`
# @return [Boolean]
attr_accessor :is_control_group
alias_method :is_control_group?, :is_control_group
# Percentage of the traffic which should be routed to this version of flow.
# Traffic allocation for a single flow must sum up to 1.0.
# Corresponds to the JSON property `trafficAllocation`
# @return [Float]
attr_accessor :traffic_allocation
# The name of the flow version. Format: `projects//locations//agents//flows//
# versions/`.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@is_control_group = args[:is_control_group] if args.key?(:is_control_group)
@traffic_allocation = args[:traffic_allocation] if args.key?(:traffic_allocation)
@version = args[:version] if args.key?(:version)
end
end
# Description of which voice to use for speech synthesis. # Description of which voice to use for speech synthesis.
class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The name of the voice. If not set, the service will choose a voice # Optional. The name of the voice. If not set, the service will choose a voice
# based on the other parameters such as language_code and ssml_gender. # based on the other parameters such as language_code and ssml_gender. For the
# list of available voices, please refer to [Supported voices and languages](
# https://cloud.google.com/text-to-speech/docs/voices).
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -6971,9 +7520,10 @@ module Google
# symbol table, dictionary, or JSON object composed of a collection of (MapKey, # symbol table, dictionary, or JSON object composed of a collection of (MapKey,
# MapValue) pairs: - MapKey type: string - MapKey value: parameter name - # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
# MapValue type: - If parameter's entity type is a composite entity: map - Else: # MapValue type: - If parameter's entity type is a composite entity: map - Else:
# string or number, depending on parameter value type - MapValue value: - If # depending on parameter value type, could be one of string, number, boolean,
# parameter's entity type is a composite entity: map from composite entity # null, list or map - MapValue value: - If parameter's entity type is a
# property names to property values - Else: parameter value # composite entity: map from composite entity property names to property values -
# Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -7151,9 +7701,10 @@ module Google
# table, dictionary, or JSON object composed of a collection of (MapKey, # table, dictionary, or JSON object composed of a collection of (MapKey,
# MapValue) pairs: - MapKey type: string - MapKey value: parameter name - # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
# MapValue type: - If parameter's entity type is a composite entity: map - Else: # MapValue type: - If parameter's entity type is a composite entity: map - Else:
# string or number, depending on parameter value type - MapValue value: - If # depending on parameter value type, could be one of string, number, boolean,
# parameter's entity type is a composite entity: map from composite entity # null, list or map - MapValue value: - If parameter's entity type is a
# property names to property values - Else: parameter value # composite entity: map from composite entity property names to property values -
# Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -8630,10 +9181,10 @@ module Google
# library language, this is a map, associative array, symbol table, dictionary, # library language, this is a map, associative array, symbol table, dictionary,
# or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
# type: string - MapKey value: parameter name - MapValue type: - If parameter's # type: string - MapKey value: parameter name - MapValue type: - If parameter's
# entity type is a composite entity: map - Else: string or number, depending on # entity type is a composite entity: map - Else: depending on parameter value
# parameter value type - MapValue value: - If parameter's entity type is a # type, could be one of string, number, boolean, null, list or map - MapValue
# composite entity: map from composite entity property names to property values - # value: - If parameter's entity type is a composite entity: map from composite
# Else: parameter value # entity property names to property values - Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -9010,9 +9561,10 @@ module Google
# symbol table, dictionary, or JSON object composed of a collection of (MapKey, # symbol table, dictionary, or JSON object composed of a collection of (MapKey,
# MapValue) pairs: - MapKey type: string - MapKey value: parameter name - # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
# MapValue type: - If parameter's entity type is a composite entity: map - Else: # MapValue type: - If parameter's entity type is a composite entity: map - Else:
# string or number, depending on parameter value type - MapValue value: - If # depending on parameter value type, could be one of string, number, boolean,
# parameter's entity type is a composite entity: map from composite entity # null, list or map - MapValue value: - If parameter's entity type is a
# property names to property values - Else: parameter value # composite entity: map from composite entity property names to property values -
# Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -9147,9 +9699,10 @@ module Google
# table, dictionary, or JSON object composed of a collection of (MapKey, # table, dictionary, or JSON object composed of a collection of (MapKey,
# MapValue) pairs: - MapKey type: string - MapKey value: parameter name - # MapValue) pairs: - MapKey type: string - MapKey value: parameter name -
# MapValue type: - If parameter's entity type is a composite entity: map - Else: # MapValue type: - If parameter's entity type is a composite entity: map - Else:
# string or number, depending on parameter value type - MapValue value: - If # depending on parameter value type, could be one of string, number, boolean,
# parameter's entity type is a composite entity: map from composite entity # null, list or map - MapValue value: - If parameter's entity type is a
# property names to property values - Else: parameter value # composite entity: map from composite entity property names to property values -
# Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters
@ -11123,10 +11676,10 @@ module Google
# library language, this is a map, associative array, symbol table, dictionary, # library language, this is a map, associative array, symbol table, dictionary,
# or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey # or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
# type: string - MapKey value: parameter name - MapValue type: - If parameter's # type: string - MapKey value: parameter name - MapValue type: - If parameter's
# entity type is a composite entity: map - Else: string or number, depending on # entity type is a composite entity: map - Else: depending on parameter value
# parameter value type - MapValue value: - If parameter's entity type is a # type, could be one of string, number, boolean, null, list or map - MapValue
# composite entity: map from composite entity property names to property values - # value: - If parameter's entity type is a composite entity: map from composite
# Else: parameter value # entity property names to property values - Else: parameter value
# Corresponds to the JSON property `parameters` # Corresponds to the JSON property `parameters`
# @return [Hash<String,Object>] # @return [Hash<String,Object>]
attr_accessor :parameters attr_accessor :parameters

View File

@ -19,10 +19,10 @@ module Google
GEM_VERSION = "0.1.0" GEM_VERSION = "0.1.0"
# Version of the code generator used to generate this client # Version of the code generator used to generate this client
GENERATOR_VERSION = "0.1.0" GENERATOR_VERSION = "0.1.1"
# Revision of the discovery document this client was generated from # Revision of the discovery document this client was generated from
REVISION = "20201213" REVISION = "20201231"
end end
end end
end end

View File

@ -430,6 +430,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1AgentValidationResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1AudioInput class GoogleCloudDialogflowCxV3beta1AudioInput
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -562,6 +568,42 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1Experiment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExperimentDefinition
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExperimentResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ExportAgentRequest class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -598,6 +640,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1Form class GoogleCloudDialogflowCxV3beta1Form
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -760,6 +808,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1ListExperimentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ListFlowsResponse class GoogleCloudDialogflowCxV3beta1ListFlowsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -910,6 +964,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1ResourceName
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ResponseMessage class GoogleCloudDialogflowCxV3beta1ResponseMessage
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1018,6 +1078,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1StartExperimentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1StopExperimentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1108,12 +1180,48 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1ValidateAgentRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ValidateFlowRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1ValidationMessage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1VariantsHistory
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1Version class GoogleCloudDialogflowCxV3beta1Version
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowCxV3beta1VersionVariants
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1VersionVariantsVariant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -2599,6 +2707,15 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1AgentValidationResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :flow_validation_results, as: 'flowValidationResults', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult::Representation
property :name, as: 'name'
end
end
class GoogleCloudDialogflowCxV3beta1AudioInput class GoogleCloudDialogflowCxV3beta1AudioInput
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2811,6 +2928,75 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1Experiment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :definition, as: 'definition', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentDefinition::Representation
property :description, as: 'description'
property :display_name, as: 'displayName'
property :end_time, as: 'endTime'
property :experiment_length, as: 'experimentLength'
property :last_update_time, as: 'lastUpdateTime'
property :name, as: 'name'
property :result, as: 'result', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult::Representation
property :start_time, as: 'startTime'
property :state, as: 'state'
collection :variants_history, as: 'variantsHistory', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory::Representation
end
end
class GoogleCloudDialogflowCxV3beta1ExperimentDefinition
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :condition, as: 'condition'
property :version_variants, as: 'versionVariants', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants::Representation
end
end
class GoogleCloudDialogflowCxV3beta1ExperimentResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :last_update_time, as: 'lastUpdateTime'
collection :version_metrics, as: 'versionMetrics', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics::Representation
end
end
class GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence_level, as: 'confidenceLevel'
property :lower_bound, as: 'lowerBound'
property :ratio, as: 'ratio'
property :upper_bound, as: 'upperBound'
end
end
class GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :confidence_interval, as: 'confidenceInterval', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval::Representation
property :ratio, as: 'ratio'
property :type, as: 'type'
end
end
class GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :metrics, as: 'metrics', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric::Representation
property :session_count, as: 'sessionCount'
property :version, as: 'version'
end
end
class GoogleCloudDialogflowCxV3beta1ExportAgentRequest class GoogleCloudDialogflowCxV3beta1ExportAgentRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -2864,6 +3050,16 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1FlowValidationResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :update_time, as: 'updateTime'
collection :validation_messages, as: 'validationMessages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidationMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidationMessage::Representation
end
end
class GoogleCloudDialogflowCxV3beta1Form class GoogleCloudDialogflowCxV3beta1Form
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3123,6 +3319,15 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1ListExperimentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :experiments, as: 'experiments', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDialogflowCxV3beta1ListFlowsResponse class GoogleCloudDialogflowCxV3beta1ListFlowsResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3397,6 +3602,14 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1ResourceName
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :name, as: 'name'
end
end
class GoogleCloudDialogflowCxV3beta1ResponseMessage class GoogleCloudDialogflowCxV3beta1ResponseMessage
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3556,6 +3769,18 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1StartExperimentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowCxV3beta1StopExperimentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig class GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3712,6 +3937,41 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1ValidateAgentRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
end
end
class GoogleCloudDialogflowCxV3beta1ValidateFlowRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
end
end
class GoogleCloudDialogflowCxV3beta1ValidationMessage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detail, as: 'detail'
collection :resource_names, as: 'resourceNames', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResourceName, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResourceName::Representation
property :resource_type, as: 'resourceType'
collection :resources, as: 'resources'
property :severity, as: 'severity'
end
end
class GoogleCloudDialogflowCxV3beta1VariantsHistory
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :update_time, as: 'updateTime'
property :version_variants, as: 'versionVariants', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants::Representation
end
end
class GoogleCloudDialogflowCxV3beta1Version class GoogleCloudDialogflowCxV3beta1Version
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -3725,6 +3985,23 @@ module Google
end end
end end
class GoogleCloudDialogflowCxV3beta1VersionVariants
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :variants, as: 'variants', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariantsVariant, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariantsVariant::Representation
end
end
class GoogleCloudDialogflowCxV3beta1VersionVariantsVariant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_control_group, as: 'isControlGroup'
property :traffic_allocation, as: 'trafficAllocation'
property :version, as: 'version'
end
end
class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams class GoogleCloudDialogflowCxV3beta1VoiceSelectionParams
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -178,6 +178,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the latest agent validation result. Agent validation is performed when
# ValidateAgent is called.
# @param [String] name
# Required. The agent name. Format: `projects//locations//agents//
# validationResult`.
# @param [String] language_code
# If not specified, the agent's default language is used.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_agent_validation_result(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3beta1/{+name}', options)
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult
command.params['name'] = name unless name.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the list of all agents in the specified location. # Returns the list of all agents in the specified location.
# @param [String] parent # @param [String] parent
# Required. The location to list all agents for. Format: `projects//locations/`. # Required. The location to list all agents for. Format: `projects//locations/`.
@ -290,6 +325,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Validates the specified agent and creates or updates validation results. The
# agent in draft version is validated. Please call this API after the training
# is completed to get the complete validation results.
# @param [String] name
# Required. The agent to validate. Format: `projects//locations//agents/`.
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidateAgentRequest] google_cloud_dialogflow_cx_v3beta1_validate_agent_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_project_location_agent(name, google_cloud_dialogflow_cx_v3beta1_validate_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3beta1/{+name}:validate', options)
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidateAgentRequest::Representation
command.request_object = google_cloud_dialogflow_cx_v3beta1_validate_agent_request_object
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentValidationResult
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates an entity type in the specified agent. # Creates an entity type in the specified agent.
# @param [String] parent # @param [String] parent
# Required. The agent to create a entity type for. Format: `projects//locations// # Required. The agent to create a entity type for. Format: `projects//locations//
@ -708,6 +778,247 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an Experiment in the specified Environment.
# @param [String] parent
# Required. The Agent to create an Environment for. Format: `projects//locations/
# /agents//environments/`.
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] google_cloud_dialogflow_cx_v3beta1_experiment_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_location_agent_environment_experiment(parent, google_cloud_dialogflow_cx_v3beta1_experiment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3beta1/{+parent}/experiments', options)
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.request_object = google_cloud_dialogflow_cx_v3beta1_experiment_object
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
command.params['parent'] = parent unless parent.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes the specified Experiment.
# @param [String] name
# Required. The name of the Environment to delete. Format: `projects//locations//
# agents//environments//experiments/`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_location_agent_environment_experiment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v3beta1/{+name}', options)
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleProtobufEmpty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Retrieves the specified Experiment.
# @param [String] name
# Required. The name of the Environment. Format: `projects//locations//agents//
# environments//experiments/`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_agent_environment_experiment(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3beta1/{+name}', options)
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the list of all experiments in the specified Environment.
# @param [String] parent
# Required. The Environment to list all environments for. Format: `projects//
# locations//agents//environments/`.
# @param [Fixnum] page_size
# The maximum number of items to return in a single page. By default 20 and at
# most 100.
# @param [String] page_token
# The next_page_token value returned from a previous list request.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListExperimentsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListExperimentsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_agent_environment_experiments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3beta1/{+parent}/experiments', options)
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListExperimentsResponse::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListExperimentsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates the specified Experiment.
# @param [String] name
# The name of the experiment. Format: projects//locations//agents//environments//
# experiments/..
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] google_cloud_dialogflow_cx_v3beta1_experiment_object
# @param [String] update_mask
# Required. The mask to control which fields get updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_location_agent_environment_experiment(name, google_cloud_dialogflow_cx_v3beta1_experiment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v3beta1/{+name}', options)
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.request_object = google_cloud_dialogflow_cx_v3beta1_experiment_object
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
command.params['name'] = name unless name.nil?
command.query['updateMask'] = update_mask unless update_mask.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Starts the specified Experiment. This rpc only changes the state of experiment
# from PENDING to RUNNING.
# @param [String] name
# Required. Resource name of the experiment to start. Format: `projects//
# locations//agents//environments//experiments/`.
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1StartExperimentRequest] google_cloud_dialogflow_cx_v3beta1_start_experiment_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def start_project_location_agent_environment_experiment(name, google_cloud_dialogflow_cx_v3beta1_start_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3beta1/{+name}:start', options)
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1StartExperimentRequest::Representation
command.request_object = google_cloud_dialogflow_cx_v3beta1_start_experiment_request_object
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Stops the specified Experiment. This rpc only changes the state of experiment
# from RUNNING to DONE.
# @param [String] name
# Required. Resource name of the experiment to stop. Format: `projects//
# locations//agents//environments//experiments/`.
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1StopExperimentRequest] google_cloud_dialogflow_cx_v3beta1_stop_experiment_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def stop_project_location_agent_environment_experiment(name, google_cloud_dialogflow_cx_v3beta1_stop_experiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3beta1/{+name}:stop', options)
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1StopExperimentRequest::Representation
command.request_object = google_cloud_dialogflow_cx_v3beta1_stop_experiment_request_object
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Experiment
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Processes a natural language query and returns structured, actionable data as # Processes a natural language query and returns structured, actionable data as
# a result. This method is not idempotent, because it may cause session entity # a result. This method is not idempotent, because it may cause session entity
# types to be updated, which in turn might affect results of future queries. # types to be updated, which in turn might affect results of future queries.
@ -1138,6 +1449,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the latest flow validation result. Flow validation is performed when
# ValidateFlow is called.
# @param [String] name
# Required. The flow name. Format: `projects//locations//agents//flows//
# validationResult`.
# @param [String] language_code
# If not specified, the agent's default language is used.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_location_agent_flow_validation_result(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3beta1/{+name}', options)
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult
command.params['name'] = name unless name.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the list of all flows in the specified agent. # Returns the list of all flows in the specified agent.
# @param [String] parent # @param [String] parent
# Required. The agent containing the flows. Format: `projects//locations//agents/ # Required. The agent containing the flows. Format: `projects//locations//agents/
@ -1264,6 +1610,41 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Validates the specified flow and creates or updates validation results. Please
# call this API after the training is completed to get the complete validation
# results.
# @param [String] name
# Required. The flow to validate. Format: `projects//locations//agents//flows/`.
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidateFlowRequest] google_cloud_dialogflow_cx_v3beta1_validate_flow_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def validate_project_location_agent_flow(name, google_cloud_dialogflow_cx_v3beta1_validate_flow_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v3beta1/{+name}:validate', options)
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ValidateFlowRequest::Representation
command.request_object = google_cloud_dialogflow_cx_v3beta1_validate_flow_request_object
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult::Representation
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowValidationResult
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates a page in the specified flow. # Creates a page in the specified flow.
# @param [String] parent # @param [String] parent
# Required. The flow to create a page for. Format: `projects//locations//agents// # Required. The flow to create a page for. Format: `projects//locations//agents//

View File

@ -4,7 +4,7 @@
"git": { "git": {
"name": ".", "name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git", "remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "57d2e95e7206fbcfd0c0e0b7c28c4fd86e0b0a63" "sha": "6de8b4ee653db67c0e789203767a89b32fcf8a51"
} }
} }
] ]