- 1.62.0 (latest)
- 1.61.0
- 1.60.0
- 1.59.0
- 1.58.1
- 1.57.1
- 1.56.0
- 1.55.0
- 1.54.3
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.2
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.3
- 1.42.0
- 1.41.0
- 1.40.1
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.1
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.1
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.1.0
Variables
ExportAgentRequest_DataFormat_name, ExportAgentRequest_DataFormat_value
var (
ExportAgentRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
4: "JSON_PACKAGE",
}
ExportAgentRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON_PACKAGE": 4,
}
)
Enum value maps for ExportAgentRequest_DataFormat.
RestoreAgentRequest_RestoreOption_name, RestoreAgentRequest_RestoreOption_value
var (
RestoreAgentRequest_RestoreOption_name = map[int32]string{
0: "RESTORE_OPTION_UNSPECIFIED",
1: "KEEP",
2: "FALLBACK",
}
RestoreAgentRequest_RestoreOption_value = map[string]int32{
"RESTORE_OPTION_UNSPECIFIED": 0,
"KEEP": 1,
"FALLBACK": 2,
}
)
Enum value maps for RestoreAgentRequest_RestoreOption.
AudioEncoding_name, AudioEncoding_value
var (
AudioEncoding_name = map[int32]string{
0: "AUDIO_ENCODING_UNSPECIFIED",
1: "AUDIO_ENCODING_LINEAR_16",
2: "AUDIO_ENCODING_FLAC",
3: "AUDIO_ENCODING_MULAW",
4: "AUDIO_ENCODING_AMR",
5: "AUDIO_ENCODING_AMR_WB",
6: "AUDIO_ENCODING_OGG_OPUS",
7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE",
}
AudioEncoding_value = map[string]int32{
"AUDIO_ENCODING_UNSPECIFIED": 0,
"AUDIO_ENCODING_LINEAR_16": 1,
"AUDIO_ENCODING_FLAC": 2,
"AUDIO_ENCODING_MULAW": 3,
"AUDIO_ENCODING_AMR": 4,
"AUDIO_ENCODING_AMR_WB": 5,
"AUDIO_ENCODING_OGG_OPUS": 6,
"AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7,
}
)
Enum value maps for AudioEncoding.
SpeechModelVariant_name, SpeechModelVariant_value
var (
SpeechModelVariant_name = map[int32]string{
0: "SPEECH_MODEL_VARIANT_UNSPECIFIED",
1: "USE_BEST_AVAILABLE",
2: "USE_STANDARD",
3: "USE_ENHANCED",
}
SpeechModelVariant_value = map[string]int32{
"SPEECH_MODEL_VARIANT_UNSPECIFIED": 0,
"USE_BEST_AVAILABLE": 1,
"USE_STANDARD": 2,
"USE_ENHANCED": 3,
}
)
Enum value maps for SpeechModelVariant.
SsmlVoiceGender_name, SsmlVoiceGender_value
var (
SsmlVoiceGender_name = map[int32]string{
0: "SSML_VOICE_GENDER_UNSPECIFIED",
1: "SSML_VOICE_GENDER_MALE",
2: "SSML_VOICE_GENDER_FEMALE",
3: "SSML_VOICE_GENDER_NEUTRAL",
}
SsmlVoiceGender_value = map[string]int32{
"SSML_VOICE_GENDER_UNSPECIFIED": 0,
"SSML_VOICE_GENDER_MALE": 1,
"SSML_VOICE_GENDER_FEMALE": 2,
"SSML_VOICE_GENDER_NEUTRAL": 3,
}
)
Enum value maps for SsmlVoiceGender.
OutputAudioEncoding_name, OutputAudioEncoding_value
var (
OutputAudioEncoding_name = map[int32]string{
0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED",
1: "OUTPUT_AUDIO_ENCODING_LINEAR_16",
2: "OUTPUT_AUDIO_ENCODING_MP3",
4: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS",
3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS",
5: "OUTPUT_AUDIO_ENCODING_MULAW",
}
OutputAudioEncoding_value = map[string]int32{
"OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0,
"OUTPUT_AUDIO_ENCODING_LINEAR_16": 1,
"OUTPUT_AUDIO_ENCODING_MP3": 2,
"OUTPUT_AUDIO_ENCODING_MP3_64_KBPS": 4,
"OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3,
"OUTPUT_AUDIO_ENCODING_MULAW": 5,
}
)
Enum value maps for OutputAudioEncoding.
DataStoreType_name, DataStoreType_value
var (
DataStoreType_name = map[int32]string{
0: "DATA_STORE_TYPE_UNSPECIFIED",
1: "PUBLIC_WEB",
2: "UNSTRUCTURED",
3: "STRUCTURED",
}
DataStoreType_value = map[string]int32{
"DATA_STORE_TYPE_UNSPECIFIED": 0,
"PUBLIC_WEB": 1,
"UNSTRUCTURED": 2,
"STRUCTURED": 3,
}
)
Enum value maps for DataStoreType.
Deployment_State_name, Deployment_State_value
var (
Deployment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "RUNNING",
2: "SUCCEEDED",
3: "FAILED",
}
Deployment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"RUNNING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)
Enum value maps for Deployment_State.
EntityType_Kind_name, EntityType_Kind_value
var (
EntityType_Kind_name = map[int32]string{
0: "KIND_UNSPECIFIED",
1: "KIND_MAP",
2: "KIND_LIST",
3: "KIND_REGEXP",
}
EntityType_Kind_value = map[string]int32{
"KIND_UNSPECIFIED": 0,
"KIND_MAP": 1,
"KIND_LIST": 2,
"KIND_REGEXP": 3,
}
)
Enum value maps for EntityType_Kind.
EntityType_AutoExpansionMode_name, EntityType_AutoExpansionMode_value
var (
EntityType_AutoExpansionMode_name = map[int32]string{
0: "AUTO_EXPANSION_MODE_UNSPECIFIED",
1: "AUTO_EXPANSION_MODE_DEFAULT",
}
EntityType_AutoExpansionMode_value = map[string]int32{
"AUTO_EXPANSION_MODE_UNSPECIFIED": 0,
"AUTO_EXPANSION_MODE_DEFAULT": 1,
}
)
Enum value maps for EntityType_AutoExpansionMode.
ExportEntityTypesRequest_DataFormat_name, ExportEntityTypesRequest_DataFormat_value
var (
ExportEntityTypesRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
5: "JSON_PACKAGE",
}
ExportEntityTypesRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON_PACKAGE": 5,
}
)
Enum value maps for ExportEntityTypesRequest_DataFormat.
ImportEntityTypesRequest_MergeOption_name, ImportEntityTypesRequest_MergeOption_value
var (
ImportEntityTypesRequest_MergeOption_name = map[int32]string{
0: "MERGE_OPTION_UNSPECIFIED",
1: "REPLACE",
2: "MERGE",
3: "RENAME",
4: "REPORT_CONFLICT",
5: "KEEP",
}
ImportEntityTypesRequest_MergeOption_value = map[string]int32{
"MERGE_OPTION_UNSPECIFIED": 0,
"REPLACE": 1,
"MERGE": 2,
"RENAME": 3,
"REPORT_CONFLICT": 4,
"KEEP": 5,
}
)
Enum value maps for ImportEntityTypesRequest_MergeOption.
ContinuousTestResult_AggregatedTestResult_name, ContinuousTestResult_AggregatedTestResult_value
var (
ContinuousTestResult_AggregatedTestResult_name = map[int32]string{
0: "AGGREGATED_TEST_RESULT_UNSPECIFIED",
1: "PASSED",
2: "FAILED",
}
ContinuousTestResult_AggregatedTestResult_value = map[string]int32{
"AGGREGATED_TEST_RESULT_UNSPECIFIED": 0,
"PASSED": 1,
"FAILED": 2,
}
)
Enum value maps for ContinuousTestResult_AggregatedTestResult.
OutputState_name, OutputState_value
var (
OutputState_name = map[int32]string{
0: "OUTPUT_STATE_UNSPECIFIED",
1: "OUTPUT_STATE_OK",
2: "OUTPUT_STATE_CANCELLED",
3: "OUTPUT_STATE_FAILED",
4: "OUTPUT_STATE_ESCALATED",
5: "OUTPUT_STATE_PENDING",
}
OutputState_value = map[string]int32{
"OUTPUT_STATE_UNSPECIFIED": 0,
"OUTPUT_STATE_OK": 1,
"OUTPUT_STATE_CANCELLED": 2,
"OUTPUT_STATE_FAILED": 3,
"OUTPUT_STATE_ESCALATED": 4,
"OUTPUT_STATE_PENDING": 5,
}
)
Enum value maps for OutputState.
Experiment_State_name, Experiment_State_value
var (
Experiment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "DRAFT",
2: "RUNNING",
3: "DONE",
4: "ROLLOUT_FAILED",
}
Experiment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"DRAFT": 1,
"RUNNING": 2,
"DONE": 3,
"ROLLOUT_FAILED": 4,
}
)
Enum value maps for Experiment_State.
Experiment_Result_MetricType_name, Experiment_Result_MetricType_value
var (
Experiment_Result_MetricType_name = map[int32]string{
0: "METRIC_UNSPECIFIED",
1: "CONTAINED_SESSION_NO_CALLBACK_RATE",
2: "LIVE_AGENT_HANDOFF_RATE",
3: "CALLBACK_SESSION_RATE",
4: "ABANDONED_SESSION_RATE",
5: "SESSION_END_RATE",
}
Experiment_Result_MetricType_value = map[string]int32{
"METRIC_UNSPECIFIED": 0,
"CONTAINED_SESSION_NO_CALLBACK_RATE": 1,
"LIVE_AGENT_HANDOFF_RATE": 2,
"CALLBACK_SESSION_RATE": 3,
"ABANDONED_SESSION_RATE": 4,
"SESSION_END_RATE": 5,
}
)
Enum value maps for Experiment_Result_MetricType.
Experiment_Result_CountType_name, Experiment_Result_CountType_value
var (
Experiment_Result_CountType_name = map[int32]string{
0: "COUNT_TYPE_UNSPECIFIED",
1: "TOTAL_NO_MATCH_COUNT",
2: "TOTAL_TURN_COUNT",
3: "AVERAGE_TURN_COUNT",
}
Experiment_Result_CountType_value = map[string]int32{
"COUNT_TYPE_UNSPECIFIED": 0,
"TOTAL_NO_MATCH_COUNT": 1,
"TOTAL_TURN_COUNT": 2,
"AVERAGE_TURN_COUNT": 3,
}
)
Enum value maps for Experiment_Result_CountType.
NluSettings_ModelType_name, NluSettings_ModelType_value
var (
NluSettings_ModelType_name = map[int32]string{
0: "MODEL_TYPE_UNSPECIFIED",
1: "MODEL_TYPE_STANDARD",
3: "MODEL_TYPE_ADVANCED",
}
NluSettings_ModelType_value = map[string]int32{
"MODEL_TYPE_UNSPECIFIED": 0,
"MODEL_TYPE_STANDARD": 1,
"MODEL_TYPE_ADVANCED": 3,
}
)
Enum value maps for NluSettings_ModelType.
NluSettings_ModelTrainingMode_name, NluSettings_ModelTrainingMode_value
var (
NluSettings_ModelTrainingMode_name = map[int32]string{
0: "MODEL_TRAINING_MODE_UNSPECIFIED",
1: "MODEL_TRAINING_MODE_AUTOMATIC",
2: "MODEL_TRAINING_MODE_MANUAL",
}
NluSettings_ModelTrainingMode_value = map[string]int32{
"MODEL_TRAINING_MODE_UNSPECIFIED": 0,
"MODEL_TRAINING_MODE_AUTOMATIC": 1,
"MODEL_TRAINING_MODE_MANUAL": 2,
}
)
Enum value maps for NluSettings_ModelTrainingMode.
ImportFlowRequest_ImportOption_name, ImportFlowRequest_ImportOption_value
var (
ImportFlowRequest_ImportOption_name = map[int32]string{
0: "IMPORT_OPTION_UNSPECIFIED",
1: "KEEP",
2: "FALLBACK",
}
ImportFlowRequest_ImportOption_value = map[string]int32{
"IMPORT_OPTION_UNSPECIFIED": 0,
"KEEP": 1,
"FALLBACK": 2,
}
)
Enum value maps for ImportFlowRequest_ImportOption.
ImportStrategy_name, ImportStrategy_value
var (
ImportStrategy_name = map[int32]string{
0: "IMPORT_STRATEGY_UNSPECIFIED",
1: "IMPORT_STRATEGY_CREATE_NEW",
2: "IMPORT_STRATEGY_REPLACE",
3: "IMPORT_STRATEGY_KEEP",
4: "IMPORT_STRATEGY_MERGE",
5: "IMPORT_STRATEGY_THROW_ERROR",
}
ImportStrategy_value = map[string]int32{
"IMPORT_STRATEGY_UNSPECIFIED": 0,
"IMPORT_STRATEGY_CREATE_NEW": 1,
"IMPORT_STRATEGY_REPLACE": 2,
"IMPORT_STRATEGY_KEEP": 3,
"IMPORT_STRATEGY_MERGE": 4,
"IMPORT_STRATEGY_THROW_ERROR": 5,
}
)
Enum value maps for ImportStrategy.
IntentView_name, IntentView_value
var (
IntentView_name = map[int32]string{
0: "INTENT_VIEW_UNSPECIFIED",
1: "INTENT_VIEW_PARTIAL",
2: "INTENT_VIEW_FULL",
}
IntentView_value = map[string]int32{
"INTENT_VIEW_UNSPECIFIED": 0,
"INTENT_VIEW_PARTIAL": 1,
"INTENT_VIEW_FULL": 2,
}
)
Enum value maps for IntentView.
ImportIntentsRequest_MergeOption_name, ImportIntentsRequest_MergeOption_value
var (
ImportIntentsRequest_MergeOption_name = map[int32]string{
0: "MERGE_OPTION_UNSPECIFIED",
1: "REJECT",
2: "REPLACE",
3: "MERGE",
4: "RENAME",
5: "REPORT_CONFLICT",
6: "KEEP",
}
ImportIntentsRequest_MergeOption_value = map[string]int32{
"MERGE_OPTION_UNSPECIFIED": 0,
"REJECT": 1,
"REPLACE": 2,
"MERGE": 3,
"RENAME": 4,
"REPORT_CONFLICT": 5,
"KEEP": 6,
}
)
Enum value maps for ImportIntentsRequest_MergeOption.
ExportIntentsRequest_DataFormat_name, ExportIntentsRequest_DataFormat_value
var (
ExportIntentsRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
2: "JSON",
3: "CSV",
}
ExportIntentsRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON": 2,
"CSV": 3,
}
)
Enum value maps for ExportIntentsRequest_DataFormat.
ParameterDefinition_ParameterType_name, ParameterDefinition_ParameterType_value
var (
ParameterDefinition_ParameterType_name = map[int32]string{
0: "PARAMETER_TYPE_UNSPECIFIED",
1: "STRING",
2: "NUMBER",
3: "BOOLEAN",
4: "NULL",
5: "OBJECT",
6: "LIST",
}
ParameterDefinition_ParameterType_value = map[string]int32{
"PARAMETER_TYPE_UNSPECIFIED": 0,
"STRING": 1,
"NUMBER": 2,
"BOOLEAN": 3,
"NULL": 4,
"OBJECT": 5,
"LIST": 6,
}
)
Enum value maps for ParameterDefinition_ParameterType.
SecuritySettings_RedactionStrategy_name, SecuritySettings_RedactionStrategy_value
var (
SecuritySettings_RedactionStrategy_name = map[int32]string{
0: "REDACTION_STRATEGY_UNSPECIFIED",
1: "REDACT_WITH_SERVICE",
}
SecuritySettings_RedactionStrategy_value = map[string]int32{
"REDACTION_STRATEGY_UNSPECIFIED": 0,
"REDACT_WITH_SERVICE": 1,
}
)
Enum value maps for SecuritySettings_RedactionStrategy.
SecuritySettings_RedactionScope_name, SecuritySettings_RedactionScope_value
var (
SecuritySettings_RedactionScope_name = map[int32]string{
0: "REDACTION_SCOPE_UNSPECIFIED",
2: "REDACT_DISK_STORAGE",
}
SecuritySettings_RedactionScope_value = map[string]int32{
"REDACTION_SCOPE_UNSPECIFIED": 0,
"REDACT_DISK_STORAGE": 2,
}
)
Enum value maps for SecuritySettings_RedactionScope.
SecuritySettings_RetentionStrategy_name, SecuritySettings_RetentionStrategy_value
var (
SecuritySettings_RetentionStrategy_name = map[int32]string{
0: "RETENTION_STRATEGY_UNSPECIFIED",
1: "REMOVE_AFTER_CONVERSATION",
}
SecuritySettings_RetentionStrategy_value = map[string]int32{
"RETENTION_STRATEGY_UNSPECIFIED": 0,
"REMOVE_AFTER_CONVERSATION": 1,
}
)
Enum value maps for SecuritySettings_RetentionStrategy.
SecuritySettings_PurgeDataType_name, SecuritySettings_PurgeDataType_value
var (
SecuritySettings_PurgeDataType_name = map[int32]string{
0: "PURGE_DATA_TYPE_UNSPECIFIED",
1: "DIALOGFLOW_HISTORY",
}
SecuritySettings_PurgeDataType_value = map[string]int32{
"PURGE_DATA_TYPE_UNSPECIFIED": 0,
"DIALOGFLOW_HISTORY": 1,
}
)
Enum value maps for SecuritySettings_PurgeDataType.
SecuritySettings_AudioExportSettings_AudioFormat_name, SecuritySettings_AudioExportSettings_AudioFormat_value
var (
SecuritySettings_AudioExportSettings_AudioFormat_name = map[int32]string{
0: "AUDIO_FORMAT_UNSPECIFIED",
1: "MULAW",
2: "MP3",
3: "OGG",
}
SecuritySettings_AudioExportSettings_AudioFormat_value = map[string]int32{
"AUDIO_FORMAT_UNSPECIFIED": 0,
"MULAW": 1,
"MP3": 2,
"OGG": 3,
}
)
Enum value maps for SecuritySettings_AudioExportSettings_AudioFormat.
AnswerFeedback_Rating_name, AnswerFeedback_Rating_value
var (
AnswerFeedback_Rating_name = map[int32]string{
0: "RATING_UNSPECIFIED",
1: "THUMBS_UP",
2: "THUMBS_DOWN",
}
AnswerFeedback_Rating_value = map[string]int32{
"RATING_UNSPECIFIED": 0,
"THUMBS_UP": 1,
"THUMBS_DOWN": 2,
}
)
Enum value maps for AnswerFeedback_Rating.
DetectIntentResponse_ResponseType_name, DetectIntentResponse_ResponseType_value
var (
DetectIntentResponse_ResponseType_name = map[int32]string{
0: "RESPONSE_TYPE_UNSPECIFIED",
1: "PARTIAL",
2: "FINAL",
}
DetectIntentResponse_ResponseType_value = map[string]int32{
"RESPONSE_TYPE_UNSPECIFIED": 0,
"PARTIAL": 1,
"FINAL": 2,
}
)
Enum value maps for DetectIntentResponse_ResponseType.
StreamingRecognitionResult_MessageType_name, StreamingRecognitionResult_MessageType_value
var (
StreamingRecognitionResult_MessageType_name = map[int32]string{
0: "MESSAGE_TYPE_UNSPECIFIED",
1: "TRANSCRIPT",
2: "END_OF_SINGLE_UTTERANCE",
}
StreamingRecognitionResult_MessageType_value = map[string]int32{
"MESSAGE_TYPE_UNSPECIFIED": 0,
"TRANSCRIPT": 1,
"END_OF_SINGLE_UTTERANCE": 2,
}
)
Enum value maps for StreamingRecognitionResult_MessageType.
Match_MatchType_name, Match_MatchType_value
var (
Match_MatchType_name = map[int32]string{
0: "MATCH_TYPE_UNSPECIFIED",
1: "INTENT",
2: "DIRECT_INTENT",
3: "PARAMETER_FILLING",
4: "NO_MATCH",
5: "NO_INPUT",
6: "EVENT",
}
Match_MatchType_value = map[string]int32{
"MATCH_TYPE_UNSPECIFIED": 0,
"INTENT": 1,
"DIRECT_INTENT": 2,
"PARAMETER_FILLING": 3,
"NO_MATCH": 4,
"NO_INPUT": 5,
"EVENT": 6,
}
)
Enum value maps for Match_MatchType.
SessionEntityType_EntityOverrideMode_name, SessionEntityType_EntityOverrideMode_value
var (
SessionEntityType_EntityOverrideMode_name = map[int32]string{
0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED",
1: "ENTITY_OVERRIDE_MODE_OVERRIDE",
2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT",
}
SessionEntityType_EntityOverrideMode_value = map[string]int32{
"ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0,
"ENTITY_OVERRIDE_MODE_OVERRIDE": 1,
"ENTITY_OVERRIDE_MODE_SUPPLEMENT": 2,
}
)
Enum value maps for SessionEntityType_EntityOverrideMode.
TestResult_name, TestResult_value
var (
TestResult_name = map[int32]string{
0: "TEST_RESULT_UNSPECIFIED",
1: "PASSED",
2: "FAILED",
}
TestResult_value = map[string]int32{
"TEST_RESULT_UNSPECIFIED": 0,
"PASSED": 1,
"FAILED": 2,
}
)
Enum value maps for TestResult.
TestRunDifference_DiffType_name, TestRunDifference_DiffType_value
var (
TestRunDifference_DiffType_name = map[int32]string{
0: "DIFF_TYPE_UNSPECIFIED",
1: "INTENT",
2: "PAGE",
3: "PARAMETERS",
4: "UTTERANCE",
5: "FLOW",
}
TestRunDifference_DiffType_value = map[string]int32{
"DIFF_TYPE_UNSPECIFIED": 0,
"INTENT": 1,
"PAGE": 2,
"PARAMETERS": 3,
"UTTERANCE": 4,
"FLOW": 5,
}
)
Enum value maps for TestRunDifference_DiffType.
CalculateCoverageRequest_CoverageType_name, CalculateCoverageRequest_CoverageType_value
var (
CalculateCoverageRequest_CoverageType_name = map[int32]string{
0: "COVERAGE_TYPE_UNSPECIFIED",
1: "INTENT",
2: "PAGE_TRANSITION",
3: "TRANSITION_ROUTE_GROUP",
}
CalculateCoverageRequest_CoverageType_value = map[string]int32{
"COVERAGE_TYPE_UNSPECIFIED": 0,
"INTENT": 1,
"PAGE_TRANSITION": 2,
"TRANSITION_ROUTE_GROUP": 3,
}
)
Enum value maps for CalculateCoverageRequest_CoverageType.
ListTestCasesRequest_TestCaseView_name, ListTestCasesRequest_TestCaseView_value
var (
ListTestCasesRequest_TestCaseView_name = map[int32]string{
0: "TEST_CASE_VIEW_UNSPECIFIED",
1: "BASIC",
2: "FULL",
}
ListTestCasesRequest_TestCaseView_value = map[string]int32{
"TEST_CASE_VIEW_UNSPECIFIED": 0,
"BASIC": 1,
"FULL": 2,
}
)
Enum value maps for ListTestCasesRequest_TestCaseView.
ExportTestCasesRequest_DataFormat_name, ExportTestCasesRequest_DataFormat_value
var (
ExportTestCasesRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
2: "JSON",
}
ExportTestCasesRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON": 2,
}
)
Enum value maps for ExportTestCasesRequest_DataFormat.
ExportToolsRequest_DataFormat_name, ExportToolsRequest_DataFormat_value
var (
ExportToolsRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
2: "JSON",
}
ExportToolsRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON": 2,
}
)
Enum value maps for ExportToolsRequest_DataFormat.
Tool_ToolType_name, Tool_ToolType_value
var (
Tool_ToolType_name = map[int32]string{
0: "TOOL_TYPE_UNSPECIFIED",
1: "CUSTOMIZED_TOOL",
2: "BUILTIN_TOOL",
}
Tool_ToolType_value = map[string]int32{
"TOOL_TYPE_UNSPECIFIED": 0,
"CUSTOMIZED_TOOL": 1,
"BUILTIN_TOOL": 2,
}
)
Enum value maps for Tool_ToolType.
Tool_Authentication_RequestLocation_name, Tool_Authentication_RequestLocation_value
var (
Tool_Authentication_RequestLocation_name = map[int32]string{
0: "REQUEST_LOCATION_UNSPECIFIED",
1: "HEADER",
2: "QUERY_STRING",
}
Tool_Authentication_RequestLocation_value = map[string]int32{
"REQUEST_LOCATION_UNSPECIFIED": 0,
"HEADER": 1,
"QUERY_STRING": 2,
}
)
Enum value maps for Tool_Authentication_RequestLocation.
Tool_Authentication_OAuthConfig_OauthGrantType_name, Tool_Authentication_OAuthConfig_OauthGrantType_value
var (
Tool_Authentication_OAuthConfig_OauthGrantType_name = map[int32]string{
0: "OAUTH_GRANT_TYPE_UNSPECIFIED",
1: "CLIENT_CREDENTIAL",
}
Tool_Authentication_OAuthConfig_OauthGrantType_value = map[string]int32{
"OAUTH_GRANT_TYPE_UNSPECIFIED": 0,
"CLIENT_CREDENTIAL": 1,
}
)
Enum value maps for Tool_Authentication_OAuthConfig_OauthGrantType.
ValidationMessage_ResourceType_name, ValidationMessage_ResourceType_value
var (
ValidationMessage_ResourceType_name = map[int32]string{
0: "RESOURCE_TYPE_UNSPECIFIED",
1: "AGENT",
2: "INTENT",
8: "INTENT_TRAINING_PHRASE",
9: "INTENT_PARAMETER",
10: "INTENTS",
11: "INTENT_TRAINING_PHRASES",
3: "ENTITY_TYPE",
12: "ENTITY_TYPES",
4: "WEBHOOK",
5: "FLOW",
6: "PAGE",
13: "PAGES",
7: "TRANSITION_ROUTE_GROUP",
14: "AGENT_TRANSITION_ROUTE_GROUP",
}
ValidationMessage_ResourceType_value = map[string]int32{
"RESOURCE_TYPE_UNSPECIFIED": 0,
"AGENT": 1,
"INTENT": 2,
"INTENT_TRAINING_PHRASE": 8,
"INTENT_PARAMETER": 9,
"INTENTS": 10,
"INTENT_TRAINING_PHRASES": 11,
"ENTITY_TYPE": 3,
"ENTITY_TYPES": 12,
"WEBHOOK": 4,
"FLOW": 5,
"PAGE": 6,
"PAGES": 13,
"TRANSITION_ROUTE_GROUP": 7,
"AGENT_TRANSITION_ROUTE_GROUP": 14,
}
)
Enum value maps for ValidationMessage_ResourceType.
ValidationMessage_Severity_name, ValidationMessage_Severity_value
var (
ValidationMessage_Severity_name = map[int32]string{
0: "SEVERITY_UNSPECIFIED",
1: "INFO",
2: "WARNING",
3: "ERROR",
}
ValidationMessage_Severity_value = map[string]int32{
"SEVERITY_UNSPECIFIED": 0,
"INFO": 1,
"WARNING": 2,
"ERROR": 3,
}
)
Enum value maps for ValidationMessage_Severity.
Version_State_name, Version_State_value
var (
Version_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "RUNNING",
2: "SUCCEEDED",
3: "FAILED",
}
Version_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"RUNNING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)
Enum value maps for Version_State.
Webhook_GenericWebService_WebhookType_name, Webhook_GenericWebService_WebhookType_value
var (
Webhook_GenericWebService_WebhookType_name = map[int32]string{
0: "WEBHOOK_TYPE_UNSPECIFIED",
1: "STANDARD",
2: "FLEXIBLE",
}
Webhook_GenericWebService_WebhookType_value = map[string]int32{
"WEBHOOK_TYPE_UNSPECIFIED": 0,
"STANDARD": 1,
"FLEXIBLE": 2,
}
)
Enum value maps for Webhook_GenericWebService_WebhookType.
Webhook_GenericWebService_HttpMethod_name, Webhook_GenericWebService_HttpMethod_value
var (
Webhook_GenericWebService_HttpMethod_name = map[int32]string{
0: "HTTP_METHOD_UNSPECIFIED",
1: "POST",
2: "GET",
3: "HEAD",
4: "PUT",
5: "DELETE",
6: "PATCH",
7: "OPTIONS",
}
Webhook_GenericWebService_HttpMethod_value = map[string]int32{
"HTTP_METHOD_UNSPECIFIED": 0,
"POST": 1,
"GET": 2,
"HEAD": 3,
"PUT": 4,
"DELETE": 5,
"PATCH": 6,
"OPTIONS": 7,
}
)
Enum value maps for Webhook_GenericWebService_HttpMethod.
WebhookResponse_FulfillmentResponse_MergeBehavior_name, WebhookResponse_FulfillmentResponse_MergeBehavior_value
var (
WebhookResponse_FulfillmentResponse_MergeBehavior_name = map[int32]string{
0: "MERGE_BEHAVIOR_UNSPECIFIED",
1: "APPEND",
2: "REPLACE",
}
WebhookResponse_FulfillmentResponse_MergeBehavior_value = map[string]int32{
"MERGE_BEHAVIOR_UNSPECIFIED": 0,
"APPEND": 1,
"REPLACE": 2,
}
)
Enum value maps for WebhookResponse_FulfillmentResponse_MergeBehavior.
PageInfo_FormInfo_ParameterInfo_ParameterState_name, PageInfo_FormInfo_ParameterInfo_ParameterState_value
var (
PageInfo_FormInfo_ParameterInfo_ParameterState_name = map[int32]string{
0: "PARAMETER_STATE_UNSPECIFIED",
1: "EMPTY",
2: "INVALID",
3: "FILLED",
}
PageInfo_FormInfo_ParameterInfo_ParameterState_value = map[string]int32{
"PARAMETER_STATE_UNSPECIFIED": 0,
"EMPTY": 1,
"INVALID": 2,
"FILLED": 3,
}
)
Enum value maps for PageInfo_FormInfo_ParameterInfo_ParameterState.
File_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto
var File_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_agent_proto
var File_google_cloud_dialogflow_cx_v3beta1_agent_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto
var File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_changelog_proto
var File_google_cloud_dialogflow_cx_v3beta1_changelog_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_data_store_connection_proto
var File_google_cloud_dialogflow_cx_v3beta1_data_store_connection_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_deployment_proto
var File_google_cloud_dialogflow_cx_v3beta1_deployment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_entity_type_proto
var File_google_cloud_dialogflow_cx_v3beta1_entity_type_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_environment_proto
var File_google_cloud_dialogflow_cx_v3beta1_environment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_example_proto
var File_google_cloud_dialogflow_cx_v3beta1_example_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_experiment_proto
var File_google_cloud_dialogflow_cx_v3beta1_experiment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_flow_proto
var File_google_cloud_dialogflow_cx_v3beta1_flow_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_fulfillment_proto
var File_google_cloud_dialogflow_cx_v3beta1_fulfillment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_gcs_proto
var File_google_cloud_dialogflow_cx_v3beta1_gcs_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto
var File_google_cloud_dialogflow_cx_v3beta1_generative_settings_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_generator_proto
var File_google_cloud_dialogflow_cx_v3beta1_generator_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_import_strategy_proto
var File_google_cloud_dialogflow_cx_v3beta1_import_strategy_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_inline_proto
var File_google_cloud_dialogflow_cx_v3beta1_inline_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_intent_proto
var File_google_cloud_dialogflow_cx_v3beta1_intent_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_page_proto
var File_google_cloud_dialogflow_cx_v3beta1_page_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_parameter_definition_proto
var File_google_cloud_dialogflow_cx_v3beta1_parameter_definition_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_playbook_proto
var File_google_cloud_dialogflow_cx_v3beta1_playbook_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_response_message_proto
var File_google_cloud_dialogflow_cx_v3beta1_response_message_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_safety_settings_proto
var File_google_cloud_dialogflow_cx_v3beta1_safety_settings_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_security_settings_proto
var File_google_cloud_dialogflow_cx_v3beta1_security_settings_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_session_entity_type_proto
var File_google_cloud_dialogflow_cx_v3beta1_session_entity_type_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_session_proto
var File_google_cloud_dialogflow_cx_v3beta1_session_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_test_case_proto
var File_google_cloud_dialogflow_cx_v3beta1_test_case_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_tool_call_proto
var File_google_cloud_dialogflow_cx_v3beta1_tool_call_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_tool_proto
var File_google_cloud_dialogflow_cx_v3beta1_tool_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_transition_route_group_proto
var File_google_cloud_dialogflow_cx_v3beta1_transition_route_group_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_validation_message_proto
var File_google_cloud_dialogflow_cx_v3beta1_validation_message_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_version_proto
var File_google_cloud_dialogflow_cx_v3beta1_version_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3beta1_webhook_proto
var File_google_cloud_dialogflow_cx_v3beta1_webhook_proto protoreflect.FileDescriptor
Functions
func RegisterAgentsServer
func RegisterAgentsServer(s *grpc.Server, srv AgentsServer)
func RegisterChangelogsServer
func RegisterChangelogsServer(s *grpc.Server, srv ChangelogsServer)
func RegisterDeploymentsServer
func RegisterDeploymentsServer(s *grpc.Server, srv DeploymentsServer)
func RegisterEntityTypesServer
func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer)
func RegisterEnvironmentsServer
func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer)
func RegisterExamplesServer
func RegisterExamplesServer(s *grpc.Server, srv ExamplesServer)
func RegisterExperimentsServer
func RegisterExperimentsServer(s *grpc.Server, srv ExperimentsServer)
func RegisterFlowsServer
func RegisterFlowsServer(s *grpc.Server, srv FlowsServer)
func RegisterGeneratorsServer
func RegisterGeneratorsServer(s *grpc.Server, srv GeneratorsServer)
func RegisterIntentsServer
func RegisterIntentsServer(s *grpc.Server, srv IntentsServer)
func RegisterPagesServer
func RegisterPagesServer(s *grpc.Server, srv PagesServer)
func RegisterPlaybooksServer
func RegisterPlaybooksServer(s *grpc.Server, srv PlaybooksServer)
func RegisterSecuritySettingsServiceServer
func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer)
func RegisterSessionEntityTypesServer
func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer)
func RegisterSessionsServer
func RegisterSessionsServer(s *grpc.Server, srv SessionsServer)
func RegisterTestCasesServer
func RegisterTestCasesServer(s *grpc.Server, srv TestCasesServer)
func RegisterToolsServer
func RegisterToolsServer(s *grpc.Server, srv ToolsServer)
func RegisterTransitionRouteGroupsServer
func RegisterTransitionRouteGroupsServer(s *grpc.Server, srv TransitionRouteGroupsServer)
func RegisterVersionsServer
func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)
func RegisterWebhooksServer
func RegisterWebhooksServer(s *grpc.Server, srv WebhooksServer)
Action
type Action struct {
// Action details.
//
// Types that are assignable to Action:
//
// *Action_UserUtterance
// *Action_AgentUtterance
// *Action_ToolUse
// *Action_PlaybookInvocation
// *Action_FlowInvocation
Action isAction_Action `protobuf_oneof:"action"`
// contains filtered or unexported fields
}
Action performed by end user or Dialogflow agent in the conversation.
func (*Action) Descriptor
Deprecated: Use Action.ProtoReflect.Descriptor instead.
func (*Action) GetAction
func (m *Action) GetAction() isAction_Action
func (*Action) GetAgentUtterance
func (x *Action) GetAgentUtterance() *AgentUtterance
func (*Action) GetFlowInvocation
func (x *Action) GetFlowInvocation() *FlowInvocation
func (*Action) GetPlaybookInvocation
func (x *Action) GetPlaybookInvocation() *PlaybookInvocation
func (*Action) GetToolUse
func (*Action) GetUserUtterance
func (x *Action) GetUserUtterance() *UserUtterance
func (*Action) ProtoMessage
func (*Action) ProtoMessage()
func (*Action) ProtoReflect
func (x *Action) ProtoReflect() protoreflect.Message
func (*Action) Reset
func (x *Action) Reset()
func (*Action) String
ActionParameter
type ActionParameter struct {
// Required. Name of the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Value of the parameter.
Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
Parameter associated with action.
func (*ActionParameter) Descriptor
func (*ActionParameter) Descriptor() ([]byte, []int)
Deprecated: Use ActionParameter.ProtoReflect.Descriptor instead.
func (*ActionParameter) GetName
func (x *ActionParameter) GetName() string
func (*ActionParameter) GetValue
func (x *ActionParameter) GetValue() *structpb.Value
func (*ActionParameter) ProtoMessage
func (*ActionParameter) ProtoMessage()
func (*ActionParameter) ProtoReflect
func (x *ActionParameter) ProtoReflect() protoreflect.Message
func (*ActionParameter) Reset
func (x *ActionParameter) Reset()
func (*ActionParameter) String
func (x *ActionParameter) String() string
Action_AgentUtterance
type Action_AgentUtterance struct {
// Optional. Action performed by the agent as a message.
AgentUtterance *AgentUtterance `protobuf:"bytes,2,opt,name=agent_utterance,json=agentUtterance,proto3,oneof"`
}
Action_FlowInvocation
type Action_FlowInvocation struct {
// Optional. Action performed on behalf of the agent by invoking a CX flow.
FlowInvocation *FlowInvocation `protobuf:"bytes,5,opt,name=flow_invocation,json=flowInvocation,proto3,oneof"`
}
Action_PlaybookInvocation
type Action_PlaybookInvocation struct {
// Optional. Action performed on behalf of the agent by invoking a child
// playbook.
PlaybookInvocation *PlaybookInvocation `protobuf:"bytes,4,opt,name=playbook_invocation,json=playbookInvocation,proto3,oneof"`
}
Action_ToolUse
type Action_ToolUse struct {
// Optional. Action performed on behalf of the agent by calling a plugin
// tool.
ToolUse *ToolUse `protobuf:"bytes,3,opt,name=tool_use,json=toolUse,proto3,oneof"`
}
Action_UserUtterance
type Action_UserUtterance struct {
// Optional. Agent obtained a message from the customer.
UserUtterance *UserUtterance `protobuf:"bytes,1,opt,name=user_utterance,json=userUtterance,proto3,oneof"`
}
AdvancedSettings
type AdvancedSettings struct {
AudioExportGcsDestination *GcsDestination "" /* 140 byte string literal not displayed */
DtmfSettings *AdvancedSettings_DtmfSettings `protobuf:"bytes,5,opt,name=dtmf_settings,json=dtmfSettings,proto3" json:"dtmf_settings,omitempty"`
LoggingSettings *AdvancedSettings_LoggingSettings `protobuf:"bytes,6,opt,name=logging_settings,json=loggingSettings,proto3" json:"logging_settings,omitempty"`
}
Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged.
DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel.
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
func (*AdvancedSettings) Descriptor
func (*AdvancedSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings) GetAudioExportGcsDestination
func (x *AdvancedSettings) GetAudioExportGcsDestination() *GcsDestination
func (*AdvancedSettings) GetDtmfSettings
func (x *AdvancedSettings) GetDtmfSettings() *AdvancedSettings_DtmfSettings
func (*AdvancedSettings) GetLoggingSettings
func (x *AdvancedSettings) GetLoggingSettings() *AdvancedSettings_LoggingSettings
func (*AdvancedSettings) ProtoMessage
func (*AdvancedSettings) ProtoMessage()
func (*AdvancedSettings) ProtoReflect
func (x *AdvancedSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings) Reset
func (x *AdvancedSettings) Reset()
func (*AdvancedSettings) String
func (x *AdvancedSettings) String() string
AdvancedSettings_DtmfSettings
type AdvancedSettings_DtmfSettings struct {
// If true, incoming audio is processed for DTMF (dual tone multi frequency)
// events. For example, if the caller presses a button on their telephone
// keypad and DTMF processing is enabled, Dialogflow will detect the
// event (e.g. a "3" was pressed) in the incoming audio and pass the event
// to the bot to drive business logic (e.g. when 3 is pressed, return the
// account balance).
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Max length of DTMF digits.
MaxDigits int32 `protobuf:"varint,2,opt,name=max_digits,json=maxDigits,proto3" json:"max_digits,omitempty"`
// The digit that terminates a DTMF digit sequence.
FinishDigit string `protobuf:"bytes,3,opt,name=finish_digit,json=finishDigit,proto3" json:"finish_digit,omitempty"`
// contains filtered or unexported fields
}
Define behaviors for DTMF (dual tone multi frequency).
func (*AdvancedSettings_DtmfSettings) Descriptor
func (*AdvancedSettings_DtmfSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings_DtmfSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_DtmfSettings) GetEnabled
func (x *AdvancedSettings_DtmfSettings) GetEnabled() bool
func (*AdvancedSettings_DtmfSettings) GetFinishDigit
func (x *AdvancedSettings_DtmfSettings) GetFinishDigit() string
func (*AdvancedSettings_DtmfSettings) GetMaxDigits
func (x *AdvancedSettings_DtmfSettings) GetMaxDigits() int32
func (*AdvancedSettings_DtmfSettings) ProtoMessage
func (*AdvancedSettings_DtmfSettings) ProtoMessage()
func (*AdvancedSettings_DtmfSettings) ProtoReflect
func (x *AdvancedSettings_DtmfSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings_DtmfSettings) Reset
func (x *AdvancedSettings_DtmfSettings) Reset()
func (*AdvancedSettings_DtmfSettings) String
func (x *AdvancedSettings_DtmfSettings) String() string
AdvancedSettings_LoggingSettings
type AdvancedSettings_LoggingSettings struct {
EnableStackdriverLogging bool "" /* 136 byte string literal not displayed */
EnableInteractionLogging bool "" /* 136 byte string literal not displayed */
}
Define behaviors on logging.
func (*AdvancedSettings_LoggingSettings) Descriptor
func (*AdvancedSettings_LoggingSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings_LoggingSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_LoggingSettings) GetEnableInteractionLogging
func (x *AdvancedSettings_LoggingSettings) GetEnableInteractionLogging() bool
func (*AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging
func (x *AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging() bool
func (*AdvancedSettings_LoggingSettings) ProtoMessage
func (*AdvancedSettings_LoggingSettings) ProtoMessage()
func (*AdvancedSettings_LoggingSettings) ProtoReflect
func (x *AdvancedSettings_LoggingSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings_LoggingSettings) Reset
func (x *AdvancedSettings_LoggingSettings) Reset()
func (*AdvancedSettings_LoggingSettings) String
func (x *AdvancedSettings_LoggingSettings) String() string
Agent
type Agent struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"`
SupportedLanguageCodes []string "" /* 129 byte string literal not displayed */
TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"`
SpeechToTextSettings *SpeechToTextSettings `protobuf:"bytes,13,opt,name=speech_to_text_settings,json=speechToTextSettings,proto3" json:"speech_to_text_settings,omitempty"`
StartFlow string `protobuf:"bytes,16,opt,name=start_flow,json=startFlow,proto3" json:"start_flow,omitempty"`
StartPlaybook string `protobuf:"bytes,39,opt,name=start_playbook,json=startPlaybook,proto3" json:"start_playbook,omitempty"`
SecuritySettings string `protobuf:"bytes,17,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
EnableStackdriverLogging bool "" /* 137 byte string literal not displayed */
EnableSpellCorrection bool "" /* 128 byte string literal not displayed */
Locked bool `protobuf:"varint,27,opt,name=locked,proto3" json:"locked,omitempty"`
AdvancedSettings *AdvancedSettings `protobuf:"bytes,22,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"`
GitIntegrationSettings *Agent_GitIntegrationSettings "" /* 130 byte string literal not displayed */
TextToSpeechSettings *TextToSpeechSettings `protobuf:"bytes,31,opt,name=text_to_speech_settings,json=textToSpeechSettings,proto3" json:"text_to_speech_settings,omitempty"`
GenAppBuilderSettings *Agent_GenAppBuilderSettings "" /* 135 byte string literal not displayed */
AnswerFeedbackSettings *Agent_AnswerFeedbackSettings "" /* 130 byte string literal not displayed */
}
Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.
After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3beta1.Intent], [Entity Types][google.cloud.dialogflow.cx.v3beta1.EntityType], [Flows][google.cloud.dialogflow.cx.v3beta1.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3beta1.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3beta1.Webhook], [TransitionRouteGroups][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] and so on to manage the conversation flows.
func (*Agent) Descriptor
Deprecated: Use Agent.ProtoReflect.Descriptor instead.
func (*Agent) GetAdvancedSettings
func (x *Agent) GetAdvancedSettings() *AdvancedSettings
func (*Agent) GetAnswerFeedbackSettings
func (x *Agent) GetAnswerFeedbackSettings() *Agent_AnswerFeedbackSettings
func (*Agent) GetAvatarUri
func (*Agent) GetDefaultLanguageCode
func (*Agent) GetDescription
func (*Agent) GetDisplayName
func (*Agent) GetEnableSpellCorrection
func (*Agent) GetEnableStackdriverLogging
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3beta1/agent.proto.
func (*Agent) GetGenAppBuilderSettings
func (x *Agent) GetGenAppBuilderSettings() *Agent_GenAppBuilderSettings
func (*Agent) GetGitIntegrationSettings
func (x *Agent) GetGitIntegrationSettings() *Agent_GitIntegrationSettings
func (*Agent) GetLocked
func (*Agent) GetName
func (*Agent) GetSecuritySettings
func (*Agent) GetSpeechToTextSettings
func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings
func (*Agent) GetStartFlow
func (*Agent) GetStartPlaybook
func (*Agent) GetSupportedLanguageCodes
func (*Agent) GetTextToSpeechSettings
func (x *Agent) GetTextToSpeechSettings() *TextToSpeechSettings
func (*Agent) GetTimeZone
func (*Agent) ProtoMessage
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect
func (x *Agent) ProtoReflect() protoreflect.Message
func (*Agent) Reset
func (x *Agent) Reset()
func (*Agent) String
AgentUtterance
type AgentUtterance struct {
// Required. Message content in text.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
AgentUtterance represents one message sent by the agent.
func (*AgentUtterance) Descriptor
func (*AgentUtterance) Descriptor() ([]byte, []int)
Deprecated: Use AgentUtterance.ProtoReflect.Descriptor instead.
func (*AgentUtterance) GetText
func (x *AgentUtterance) GetText() string
func (*AgentUtterance) ProtoMessage
func (*AgentUtterance) ProtoMessage()
func (*AgentUtterance) ProtoReflect
func (x *AgentUtterance) ProtoReflect() protoreflect.Message
func (*AgentUtterance) Reset
func (x *AgentUtterance) Reset()
func (*AgentUtterance) String
func (x *AgentUtterance) String() string
AgentValidationResult
type AgentValidationResult struct {
// The unique identifier of the agent validation result.
// Format: `projects/
The response message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult].
func (*AgentValidationResult) Descriptor
func (*AgentValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use AgentValidationResult.ProtoReflect.Descriptor instead.
func (*AgentValidationResult) GetFlowValidationResults
func (x *AgentValidationResult) GetFlowValidationResults() []*FlowValidationResult
func (*AgentValidationResult) GetName
func (x *AgentValidationResult) GetName() string
func (*AgentValidationResult) ProtoMessage
func (*AgentValidationResult) ProtoMessage()
func (*AgentValidationResult) ProtoReflect
func (x *AgentValidationResult) ProtoReflect() protoreflect.Message
func (*AgentValidationResult) Reset
func (x *AgentValidationResult) Reset()
func (*AgentValidationResult) String
func (x *AgentValidationResult) String() string
Agent_AnswerFeedbackSettings
type Agent_AnswerFeedbackSettings struct {
// Optional. If enabled, end users will be able to provide
// [answer feedback][google.cloud.dialogflow.cx.v3beta1.AnswerFeedback] to
// Dialogflow responses. Feature works only if interaction logging is
// enabled in the Dialogflow agent.
EnableAnswerFeedback bool `protobuf:"varint,1,opt,name=enable_answer_feedback,json=enableAnswerFeedback,proto3" json:"enable_answer_feedback,omitempty"`
// contains filtered or unexported fields
}
Settings for answer feedback collection.
func (*Agent_AnswerFeedbackSettings) Descriptor
func (*Agent_AnswerFeedbackSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_AnswerFeedbackSettings.ProtoReflect.Descriptor instead.
func (*Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback
func (x *Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback() bool
func (*Agent_AnswerFeedbackSettings) ProtoMessage
func (*Agent_AnswerFeedbackSettings) ProtoMessage()
func (*Agent_AnswerFeedbackSettings) ProtoReflect
func (x *Agent_AnswerFeedbackSettings) ProtoReflect() protoreflect.Message
func (*Agent_AnswerFeedbackSettings) Reset
func (x *Agent_AnswerFeedbackSettings) Reset()
func (*Agent_AnswerFeedbackSettings) String
func (x *Agent_AnswerFeedbackSettings) String() string
Agent_GenAppBuilderSettings
type Agent_GenAppBuilderSettings struct {
// Required. The full name of the Gen App Builder engine related to this
// agent if there is one. Format: `projects/{Project ID}/locations/{Location
// ID}/collections/{Collection ID}/engines/{Engine ID}`
Engine string `protobuf:"bytes,1,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
Settings for Gen App Builder.
func (*Agent_GenAppBuilderSettings) Descriptor
func (*Agent_GenAppBuilderSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_GenAppBuilderSettings.ProtoReflect.Descriptor instead.
func (*Agent_GenAppBuilderSettings) GetEngine
func (x *Agent_GenAppBuilderSettings) GetEngine() string
func (*Agent_GenAppBuilderSettings) ProtoMessage
func (*Agent_GenAppBuilderSettings) ProtoMessage()
func (*Agent_GenAppBuilderSettings) ProtoReflect
func (x *Agent_GenAppBuilderSettings) ProtoReflect() protoreflect.Message
func (*Agent_GenAppBuilderSettings) Reset
func (x *Agent_GenAppBuilderSettings) Reset()
func (*Agent_GenAppBuilderSettings) String
func (x *Agent_GenAppBuilderSettings) String() string
Agent_GitIntegrationSettings
type Agent_GitIntegrationSettings struct {
// The git settings to specific systems.
//
// Types that are assignable to GitSettings:
//
// *Agent_GitIntegrationSettings_GithubSettings_
GitSettings isAgent_GitIntegrationSettings_GitSettings `protobuf_oneof:"git_settings"`
// contains filtered or unexported fields
}
Settings for connecting to Git repository for an agent.
func (*Agent_GitIntegrationSettings) Descriptor
func (*Agent_GitIntegrationSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_GitIntegrationSettings.ProtoReflect.Descriptor instead.
func (*Agent_GitIntegrationSettings) GetGitSettings
func (m *Agent_GitIntegrationSettings) GetGitSettings() isAgent_GitIntegrationSettings_GitSettings
func (*Agent_GitIntegrationSettings) GetGithubSettings
func (x *Agent_GitIntegrationSettings) GetGithubSettings() *Agent_GitIntegrationSettings_GithubSettings
func (*Agent_GitIntegrationSettings) ProtoMessage
func (*Agent_GitIntegrationSettings) ProtoMessage()
func (*Agent_GitIntegrationSettings) ProtoReflect
func (x *Agent_GitIntegrationSettings) ProtoReflect() protoreflect.Message
func (*Agent_GitIntegrationSettings) Reset
func (x *Agent_GitIntegrationSettings) Reset()
func (*Agent_GitIntegrationSettings) String
func (x *Agent_GitIntegrationSettings) String() string
Agent_GitIntegrationSettings_GithubSettings
type Agent_GitIntegrationSettings_GithubSettings struct {
// The unique repository display name for the GitHub repository.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The GitHub repository URI related to the agent.
RepositoryUri string `protobuf:"bytes,2,opt,name=repository_uri,json=repositoryUri,proto3" json:"repository_uri,omitempty"`
// The branch of the GitHub repository tracked for this agent.
TrackingBranch string `protobuf:"bytes,3,opt,name=tracking_branch,json=trackingBranch,proto3" json:"tracking_branch,omitempty"`
// The access token used to authenticate the access to the GitHub
// repository.
AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// A list of branches configured to be used from Dialogflow.
Branches []string `protobuf:"bytes,5,rep,name=branches,proto3" json:"branches,omitempty"`
// contains filtered or unexported fields
}
Settings of integration with GitHub.
func (*Agent_GitIntegrationSettings_GithubSettings) Descriptor
func (*Agent_GitIntegrationSettings_GithubSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_GitIntegrationSettings_GithubSettings.ProtoReflect.Descriptor instead.
func (*Agent_GitIntegrationSettings_GithubSettings) GetAccessToken
func (x *Agent_GitIntegrationSettings_GithubSettings) GetAccessToken() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetBranches
func (x *Agent_GitIntegrationSettings_GithubSettings) GetBranches() []string
func (*Agent_GitIntegrationSettings_GithubSettings) GetDisplayName
func (x *Agent_GitIntegrationSettings_GithubSettings) GetDisplayName() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri
func (x *Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch
func (x *Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch() string
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage()
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoReflect
func (x *Agent_GitIntegrationSettings_GithubSettings) ProtoReflect() protoreflect.Message
func (*Agent_GitIntegrationSettings_GithubSettings) Reset
func (x *Agent_GitIntegrationSettings_GithubSettings) Reset()
func (*Agent_GitIntegrationSettings_GithubSettings) String
func (x *Agent_GitIntegrationSettings_GithubSettings) String() string
Agent_GitIntegrationSettings_GithubSettings_
type Agent_GitIntegrationSettings_GithubSettings_ struct {
// GitHub settings.
GithubSettings *Agent_GitIntegrationSettings_GithubSettings `protobuf:"bytes,1,opt,name=github_settings,json=githubSettings,proto3,oneof"`
}
AgentsClient
type AgentsClient interface {
// Returns the list of all agents in the specified location.
ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
// Retrieves the specified agent.
GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Creates an agent in the specified location.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Updates the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Deletes the specified agent.
DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Exports the specified agent to a binary file.
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse]
ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Restores the specified agent from a binary file.
//
// Replaces the current agent with a new one. Note that all existing resources
// in agent (e.g. intents, entity types, flows) will be removed.
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: An [Empty
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// 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.
ValidateAgent(ctx context.Context, in *ValidateAgentRequest, opts ...grpc.CallOption) (*AgentValidationResult, error)
// Gets the latest agent validation result. Agent validation is performed
// when ValidateAgent is called.
GetAgentValidationResult(ctx context.Context, in *GetAgentValidationResultRequest, opts ...grpc.CallOption) (*AgentValidationResult, error)
// Gets the generative settings for the agent.
GetGenerativeSettings(ctx context.Context, in *GetGenerativeSettingsRequest, opts ...grpc.CallOption) (*GenerativeSettings, error)
// Updates the generative settings for the agent.
UpdateGenerativeSettings(ctx context.Context, in *UpdateGenerativeSettingsRequest, opts ...grpc.CallOption) (*GenerativeSettings, error)
}
AgentsClient is the client API for Agents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAgentsClient
func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient
AgentsServer
type AgentsServer interface {
// Returns the list of all agents in the specified location.
ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
// Retrieves the specified agent.
GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
// Creates an agent in the specified location.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error)
// Updates the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error)
// Deletes the specified agent.
DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
// Exports the specified agent to a binary file.
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse]
ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)
// Restores the specified agent from a binary file.
//
// Replaces the current agent with a new one. Note that all existing resources
// in agent (e.g. intents, entity types, flows) will be removed.
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: An [Empty
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)
// 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.
ValidateAgent(context.Context, *ValidateAgentRequest) (*AgentValidationResult, error)
// Gets the latest agent validation result. Agent validation is performed
// when ValidateAgent is called.
GetAgentValidationResult(context.Context, *GetAgentValidationResultRequest) (*AgentValidationResult, error)
// Gets the generative settings for the agent.
GetGenerativeSettings(context.Context, *GetGenerativeSettingsRequest) (*GenerativeSettings, error)
// Updates the generative settings for the agent.
UpdateGenerativeSettings(context.Context, *UpdateGenerativeSettingsRequest) (*GenerativeSettings, error)
}
AgentsServer is the server API for Agents service.
AnswerFeedback
type AnswerFeedback struct {
Rating AnswerFeedback_Rating "" /* 128 byte string literal not displayed */
RatingReason *AnswerFeedback_RatingReason `protobuf:"bytes,2,opt,name=rating_reason,json=ratingReason,proto3" json:"rating_reason,omitempty"`
CustomRating string `protobuf:"bytes,3,opt,name=custom_rating,json=customRating,proto3" json:"custom_rating,omitempty"`
}
Stores information about feedback provided by users about a response.
func (*AnswerFeedback) Descriptor
func (*AnswerFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.
func (*AnswerFeedback) GetCustomRating
func (x *AnswerFeedback) GetCustomRating() string
func (*AnswerFeedback) GetRating
func (x *AnswerFeedback) GetRating() AnswerFeedback_Rating
func (*AnswerFeedback) GetRatingReason
func (x *AnswerFeedback) GetRatingReason() *AnswerFeedback_RatingReason
func (*AnswerFeedback) ProtoMessage
func (*AnswerFeedback) ProtoMessage()
func (*AnswerFeedback) ProtoReflect
func (x *AnswerFeedback) ProtoReflect() protoreflect.Message
func (*AnswerFeedback) Reset
func (x *AnswerFeedback) Reset()
func (*AnswerFeedback) String
func (x *AnswerFeedback) String() string
AnswerFeedback_Rating
type AnswerFeedback_Rating int32
Represents thumbs up/down rating provided by user about a response.
AnswerFeedback_RATING_UNSPECIFIED, AnswerFeedback_THUMBS_UP, AnswerFeedback_THUMBS_DOWN
const (
// Rating not specified.
AnswerFeedback_RATING_UNSPECIFIED AnswerFeedback_Rating = 0
// Thumbs up feedback from user.
AnswerFeedback_THUMBS_UP AnswerFeedback_Rating = 1
// Thumbs down feedback from user.
AnswerFeedback_THUMBS_DOWN AnswerFeedback_Rating = 2
)
func (AnswerFeedback_Rating) Descriptor
func (AnswerFeedback_Rating) Descriptor() protoreflect.EnumDescriptor
func (AnswerFeedback_Rating) Enum
func (x AnswerFeedback_Rating) Enum() *AnswerFeedback_Rating
func (AnswerFeedback_Rating) EnumDescriptor
func (AnswerFeedback_Rating) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback_Rating.Descriptor instead.
func (AnswerFeedback_Rating) Number
func (x AnswerFeedback_Rating) Number() protoreflect.EnumNumber
func (AnswerFeedback_Rating) String
func (x AnswerFeedback_Rating) String() string
func (AnswerFeedback_Rating) Type
func (AnswerFeedback_Rating) Type() protoreflect.EnumType
AnswerFeedback_RatingReason
type AnswerFeedback_RatingReason struct {
// Optional. Custom reason labels for thumbs down rating provided by the
// user. The maximum number of labels allowed is 10 and the maximum length
// of a single label is 128 characters.
ReasonLabels []string `protobuf:"bytes,3,rep,name=reason_labels,json=reasonLabels,proto3" json:"reason_labels,omitempty"`
// Optional. Additional feedback about the rating.
// This field can be populated without choosing a predefined `reason`.
Feedback string `protobuf:"bytes,2,opt,name=feedback,proto3" json:"feedback,omitempty"`
// contains filtered or unexported fields
}
Stores extra information about why users provided thumbs down rating.
func (*AnswerFeedback_RatingReason) Descriptor
func (*AnswerFeedback_RatingReason) Descriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback_RatingReason.ProtoReflect.Descriptor instead.
func (*AnswerFeedback_RatingReason) GetFeedback
func (x *AnswerFeedback_RatingReason) GetFeedback() string
func (*AnswerFeedback_RatingReason) GetReasonLabels
func (x *AnswerFeedback_RatingReason) GetReasonLabels() []string
func (*AnswerFeedback_RatingReason) ProtoMessage
func (*AnswerFeedback_RatingReason) ProtoMessage()
func (*AnswerFeedback_RatingReason) ProtoReflect
func (x *AnswerFeedback_RatingReason) ProtoReflect() protoreflect.Message
func (*AnswerFeedback_RatingReason) Reset
func (x *AnswerFeedback_RatingReason) Reset()
func (*AnswerFeedback_RatingReason) String
func (x *AnswerFeedback_RatingReason) String() string
AudioEncoding
type AudioEncoding int32
Audio encoding of the audio content sent in the conversational query request. Refer to the Cloud Speech API documentation for more details.
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED, AudioEncoding_AUDIO_ENCODING_LINEAR_16, AudioEncoding_AUDIO_ENCODING_FLAC, AudioEncoding_AUDIO_ENCODING_MULAW, AudioEncoding_AUDIO_ENCODING_AMR, AudioEncoding_AUDIO_ENCODING_AMR_WB, AudioEncoding_AUDIO_ENCODING_OGG_OPUS, AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE
const (
// Not specified.
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1
// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
// Codec) is the recommended encoding because it is lossless (therefore
// recognition is not compromised) and requires only about half the
// bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
// 24-bit samples, however, not all fields in `STREAMINFO` are supported.
AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3
// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.
AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4
// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5
// Opus encoded audio frames in Ogg container
// ([OggOpus](https://wiki.xiph.org/OggOpus)).
// `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6
// Although the use of lossy encodings is not recommended, if a very low
// bitrate encoding is required, `OGG_OPUS` is highly preferred over
// Speex encoding. The [Speex](https://speex.org/) encoding supported by
// Dialogflow API has a header byte in each block, as in MIME type
// `audio/x-speex-with-header-byte`.
// It is a variant of the RTP Speex encoding defined in
// [RFC 5574](https://tools.ietf.org/html/rfc5574).
// The stream is a sequence of blocks, one block per RTP packet. Each block
// starts with a byte containing the length of the block, in bytes, followed
// by one or more frames of Speex data, padded to an integral number of
// bytes (octets) as specified in RFC 5574. In other words, each RTP header
// is replaced with a single byte containing the block length. Only Speex
// wideband is supported. `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7
)
func (AudioEncoding) Descriptor
func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (AudioEncoding) Enum
func (x AudioEncoding) Enum() *AudioEncoding
func (AudioEncoding) EnumDescriptor
func (AudioEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioEncoding.Descriptor instead.
func (AudioEncoding) Number
func (x AudioEncoding) Number() protoreflect.EnumNumber
func (AudioEncoding) String
func (x AudioEncoding) String() string
func (AudioEncoding) Type
func (AudioEncoding) Type() protoreflect.EnumType
AudioInput
type AudioInput struct {
// Required. Instructs the speech recognizer how to process the speech audio.
Config *InputAudioConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// The natural language speech audio to be processed.
// A single request can contain up to 2 minutes of speech audio data.
// The [transcribed
// text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot
// contain more than 256 bytes.
//
// For non-streaming audio detect intent, both `config` and `audio` must be
// provided.
// For streaming audio detect intent, `config` must be provided in
// the first request and `audio` must be provided in all following requests.
Audio []byte `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"`
// contains filtered or unexported fields
}
Represents the natural speech audio to be processed.
func (*AudioInput) Descriptor
func (*AudioInput) Descriptor() ([]byte, []int)
Deprecated: Use AudioInput.ProtoReflect.Descriptor instead.
func (*AudioInput) GetAudio
func (x *AudioInput) GetAudio() []byte
func (*AudioInput) GetConfig
func (x *AudioInput) GetConfig() *InputAudioConfig
func (*AudioInput) ProtoMessage
func (*AudioInput) ProtoMessage()
func (*AudioInput) ProtoReflect
func (x *AudioInput) ProtoReflect() protoreflect.Message
func (*AudioInput) Reset
func (x *AudioInput) Reset()
func (*AudioInput) String
func (x *AudioInput) String() string
BargeInConfig
type BargeInConfig struct {
// Duration that is not eligible for barge-in at the beginning of the input
// audio.
NoBargeInDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=no_barge_in_duration,json=noBargeInDuration,proto3" json:"no_barge_in_duration,omitempty"`
// Total duration for the playback at the beginning of the input audio.
TotalDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"`
// contains filtered or unexported fields
}
Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request.
The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases:
No barge-in phase: which goes first and during which speech detection should not be carried out.
Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase.
The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length from the the start of the input audio.
No-speech event is a response with END_OF_UTTERANCE without any transcript following up.
func (*BargeInConfig) Descriptor
func (*BargeInConfig) Descriptor() ([]byte, []int)
Deprecated: Use BargeInConfig.ProtoReflect.Descriptor instead.
func (*BargeInConfig) GetNoBargeInDuration
func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration
func (*BargeInConfig) GetTotalDuration
func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration
func (*BargeInConfig) ProtoMessage
func (*BargeInConfig) ProtoMessage()
func (*BargeInConfig) ProtoReflect
func (x *BargeInConfig) ProtoReflect() protoreflect.Message
func (*BargeInConfig) Reset
func (x *BargeInConfig) Reset()
func (*BargeInConfig) String
func (x *BargeInConfig) String() string
BatchDeleteTestCasesRequest
type BatchDeleteTestCasesRequest struct {
// Required. The agent to delete test cases from.
// Format: `projects/
The request message for [TestCases.BatchDeleteTestCases][google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases].
func (*BatchDeleteTestCasesRequest) Descriptor
func (*BatchDeleteTestCasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteTestCasesRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteTestCasesRequest) GetNames
func (x *BatchDeleteTestCasesRequest) GetNames() []string
func (*BatchDeleteTestCasesRequest) GetParent
func (x *BatchDeleteTestCasesRequest) GetParent() string
func (*BatchDeleteTestCasesRequest) ProtoMessage
func (*BatchDeleteTestCasesRequest) ProtoMessage()
func (*BatchDeleteTestCasesRequest) ProtoReflect
func (x *BatchDeleteTestCasesRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteTestCasesRequest) Reset
func (x *BatchDeleteTestCasesRequest) Reset()
func (*BatchDeleteTestCasesRequest) String
func (x *BatchDeleteTestCasesRequest) String() string
BatchRunTestCasesMetadata
type BatchRunTestCasesMetadata struct {
// The test errors.
Errors []*TestError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}
Metadata returned for the [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases] long running operation.
func (*BatchRunTestCasesMetadata) Descriptor
func (*BatchRunTestCasesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunTestCasesMetadata.ProtoReflect.Descriptor instead.
func (*BatchRunTestCasesMetadata) GetErrors
func (x *BatchRunTestCasesMetadata) GetErrors() []*TestError
func (*BatchRunTestCasesMetadata) ProtoMessage
func (*BatchRunTestCasesMetadata) ProtoMessage()
func (*BatchRunTestCasesMetadata) ProtoReflect
func (x *BatchRunTestCasesMetadata) ProtoReflect() protoreflect.Message
func (*BatchRunTestCasesMetadata) Reset
func (x *BatchRunTestCasesMetadata) Reset()
func (*BatchRunTestCasesMetadata) String
func (x *BatchRunTestCasesMetadata) String() string
BatchRunTestCasesRequest
type BatchRunTestCasesRequest struct {
// Required. Agent name. Format: `projects/
The request message for [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases].
func (*BatchRunTestCasesRequest) Descriptor
func (*BatchRunTestCasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunTestCasesRequest.ProtoReflect.Descriptor instead.
func (*BatchRunTestCasesRequest) GetEnvironment
func (x *BatchRunTestCasesRequest) GetEnvironment() string
func (*BatchRunTestCasesRequest) GetParent
func (x *BatchRunTestCasesRequest) GetParent() string
func (*BatchRunTestCasesRequest) GetTestCases
func (x *BatchRunTestCasesRequest) GetTestCases() []string
func (*BatchRunTestCasesRequest) ProtoMessage
func (*BatchRunTestCasesRequest) ProtoMessage()
func (*BatchRunTestCasesRequest) ProtoReflect
func (x *BatchRunTestCasesRequest) ProtoReflect() protoreflect.Message
func (*BatchRunTestCasesRequest) Reset
func (x *BatchRunTestCasesRequest) Reset()
func (*BatchRunTestCasesRequest) String
func (x *BatchRunTestCasesRequest) String() string
BatchRunTestCasesResponse
type BatchRunTestCasesResponse struct {
// The test case results. The detailed
// [conversation
// turns][google.cloud.dialogflow.cx.v3beta1.TestCaseResult.conversation_turns]
// are empty in this response.
Results []*TestCaseResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}
The response message for [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases].
func (*BatchRunTestCasesResponse) Descriptor
func (*BatchRunTestCasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchRunTestCasesResponse.ProtoReflect.Descriptor instead.
func (*BatchRunTestCasesResponse) GetResults
func (x *BatchRunTestCasesResponse) GetResults() []*TestCaseResult
func (*BatchRunTestCasesResponse) ProtoMessage
func (*BatchRunTestCasesResponse) ProtoMessage()
func (*BatchRunTestCasesResponse) ProtoReflect
func (x *BatchRunTestCasesResponse) ProtoReflect() protoreflect.Message
func (*BatchRunTestCasesResponse) Reset
func (x *BatchRunTestCasesResponse) Reset()
func (*BatchRunTestCasesResponse) String
func (x *BatchRunTestCasesResponse) String() string
BoostSpec
type BoostSpec struct {
// Optional. Condition boost specifications. If a document matches multiple
// conditions in the specifictions, boost scores from these specifications are
// all applied and combined in a non-linear way. Maximum number of
// specifications is 20.
ConditionBoostSpecs []*BoostSpec_ConditionBoostSpec `protobuf:"bytes,1,rep,name=condition_boost_specs,json=conditionBoostSpecs,proto3" json:"condition_boost_specs,omitempty"`
// contains filtered or unexported fields
}
Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
func (*BoostSpec) Descriptor
Deprecated: Use BoostSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec) GetConditionBoostSpecs
func (x *BoostSpec) GetConditionBoostSpecs() []*BoostSpec_ConditionBoostSpec
func (*BoostSpec) ProtoMessage
func (*BoostSpec) ProtoMessage()
func (*BoostSpec) ProtoReflect
func (x *BoostSpec) ProtoReflect() protoreflect.Message
func (*BoostSpec) Reset
func (x *BoostSpec) Reset()
func (*BoostSpec) String
BoostSpec_ConditionBoostSpec
type BoostSpec_ConditionBoostSpec struct {
// Optional. An expression which specifies a boost condition. The syntax and
// supported fields are the same as a filter expression.
// Examples:
//
// * To boost documents with document ID "doc_1" or "doc_2", and
// color
//
// "Red" or "Blue":
// * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
// Optional. Strength of the condition boost, which should be in [-1, 1].
// Negative boost means demotion. Default is 0.0.
//
// Setting to 1.0 gives the document a big promotion. However, it does not
// necessarily mean that the boosted document will be the top result at
// all times, nor that other documents will be excluded. Results could
// still be shown even when none of them matches the condition. And
// results that are significantly more relevant to the search query can
// still trump your heavily favored but irrelevant documents.
//
// Setting to -1.0 gives the document a big demotion. However, results
// that are deeply relevant might still be shown. The document will have
// an upstream battle to get a fairly high ranking, but it is not blocked
// out completely.
//
// Setting to 0.0 means no boost applied. The boosting condition is
// ignored.
Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"`
// contains filtered or unexported fields
}
Boost applies to documents which match a condition.
func (*BoostSpec_ConditionBoostSpec) Descriptor
func (*BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)
Deprecated: Use BoostSpec_ConditionBoostSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec) GetBoost
func (x *BoostSpec_ConditionBoostSpec) GetBoost() float32
func (*BoostSpec_ConditionBoostSpec) GetCondition
func (x *BoostSpec_ConditionBoostSpec) GetCondition() string
func (*BoostSpec_ConditionBoostSpec) ProtoMessage
func (*BoostSpec_ConditionBoostSpec) ProtoMessage()
func (*BoostSpec_ConditionBoostSpec) ProtoReflect
func (x *BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message
func (*BoostSpec_ConditionBoostSpec) Reset
func (x *BoostSpec_ConditionBoostSpec) Reset()
func (*BoostSpec_ConditionBoostSpec) String
func (x *BoostSpec_ConditionBoostSpec) String() string
BoostSpecs
type BoostSpecs struct {
// Optional. Data Stores where the boosting configuration is applied. The full
// names of the referenced data stores. Formats:
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
// `projects/{project}/locations/{location}/dataStores/{data_store}
DataStores []string `protobuf:"bytes,1,rep,name=data_stores,json=dataStores,proto3" json:"data_stores,omitempty"`
// Optional. A list of boosting specifications.
Spec []*BoostSpec `protobuf:"bytes,2,rep,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
Boost specifications for data stores.
func (*BoostSpecs) Descriptor
func (*BoostSpecs) Descriptor() ([]byte, []int)
Deprecated: Use BoostSpecs.ProtoReflect.Descriptor instead.
func (*BoostSpecs) GetDataStores
func (x *BoostSpecs) GetDataStores() []string
func (*BoostSpecs) GetSpec
func (x *BoostSpecs) GetSpec() []*BoostSpec
func (*BoostSpecs) ProtoMessage
func (*BoostSpecs) ProtoMessage()
func (*BoostSpecs) ProtoReflect
func (x *BoostSpecs) ProtoReflect() protoreflect.Message
func (*BoostSpecs) Reset
func (x *BoostSpecs) Reset()
func (*BoostSpecs) String
func (x *BoostSpecs) String() string
CalculateCoverageRequest
type CalculateCoverageRequest struct {
Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
Type CalculateCoverageRequest_CoverageType "" /* 140 byte string literal not displayed */
}
The request message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage].
func (*CalculateCoverageRequest) Descriptor
func (*CalculateCoverageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalculateCoverageRequest.ProtoReflect.Descriptor instead.
func (*CalculateCoverageRequest) GetAgent
func (x *CalculateCoverageRequest) GetAgent() string
func (*CalculateCoverageRequest) GetType
func (x *CalculateCoverageRequest) GetType() CalculateCoverageRequest_CoverageType
func (*CalculateCoverageRequest) ProtoMessage
func (*CalculateCoverageRequest) ProtoMessage()
func (*CalculateCoverageRequest) ProtoReflect
func (x *CalculateCoverageRequest) ProtoReflect() protoreflect.Message
func (*CalculateCoverageRequest) Reset
func (x *CalculateCoverageRequest) Reset()
func (*CalculateCoverageRequest) String
func (x *CalculateCoverageRequest) String() string
CalculateCoverageRequest_CoverageType
type CalculateCoverageRequest_CoverageType int32
The type of coverage score requested.
CalculateCoverageRequest_COVERAGE_TYPE_UNSPECIFIED, CalculateCoverageRequest_INTENT, CalculateCoverageRequest_PAGE_TRANSITION, CalculateCoverageRequest_TRANSITION_ROUTE_GROUP
const (
// Should never be used.
CalculateCoverageRequest_COVERAGE_TYPE_UNSPECIFIED CalculateCoverageRequest_CoverageType = 0
// Intent coverage.
CalculateCoverageRequest_INTENT CalculateCoverageRequest_CoverageType = 1
// Page transition coverage.
CalculateCoverageRequest_PAGE_TRANSITION CalculateCoverageRequest_CoverageType = 2
// Transition route group coverage.
CalculateCoverageRequest_TRANSITION_ROUTE_GROUP CalculateCoverageRequest_CoverageType = 3
)
func (CalculateCoverageRequest_CoverageType) Descriptor
func (CalculateCoverageRequest_CoverageType) Descriptor() protoreflect.EnumDescriptor
func (CalculateCoverageRequest_CoverageType) Enum
func (CalculateCoverageRequest_CoverageType) EnumDescriptor
func (CalculateCoverageRequest_CoverageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CalculateCoverageRequest_CoverageType.Descriptor instead.
func (CalculateCoverageRequest_CoverageType) Number
func (x CalculateCoverageRequest_CoverageType) Number() protoreflect.EnumNumber
func (CalculateCoverageRequest_CoverageType) String
func (x CalculateCoverageRequest_CoverageType) String() string
func (CalculateCoverageRequest_CoverageType) Type
func (CalculateCoverageRequest_CoverageType) Type() protoreflect.EnumType
CalculateCoverageResponse
type CalculateCoverageResponse struct {
// The agent to calculate coverage for.
// Format: `projects/
The response message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage].
func (*CalculateCoverageResponse) Descriptor
func (*CalculateCoverageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CalculateCoverageResponse.ProtoReflect.Descriptor instead.
func (*CalculateCoverageResponse) GetAgent
func (x *CalculateCoverageResponse) GetAgent() string
func (*CalculateCoverageResponse) GetCoverageType
func (m *CalculateCoverageResponse) GetCoverageType() isCalculateCoverageResponse_CoverageType
func (*CalculateCoverageResponse) GetIntentCoverage
func (x *CalculateCoverageResponse) GetIntentCoverage() *IntentCoverage
func (*CalculateCoverageResponse) GetRouteGroupCoverage
func (x *CalculateCoverageResponse) GetRouteGroupCoverage() *TransitionRouteGroupCoverage
func (*CalculateCoverageResponse) GetTransitionCoverage
func (x *CalculateCoverageResponse) GetTransitionCoverage() *TransitionCoverage
func (*CalculateCoverageResponse) ProtoMessage
func (*CalculateCoverageResponse) ProtoMessage()
func (*CalculateCoverageResponse) ProtoReflect
func (x *CalculateCoverageResponse) ProtoReflect() protoreflect.Message
func (*CalculateCoverageResponse) Reset
func (x *CalculateCoverageResponse) Reset()
func (*CalculateCoverageResponse) String
func (x *CalculateCoverageResponse) String() string
CalculateCoverageResponse_IntentCoverage
type CalculateCoverageResponse_IntentCoverage struct {
// Intent coverage.
IntentCoverage *IntentCoverage `protobuf:"bytes,2,opt,name=intent_coverage,json=intentCoverage,proto3,oneof"`
}
CalculateCoverageResponse_RouteGroupCoverage
type CalculateCoverageResponse_RouteGroupCoverage struct {
// Transition route group coverage.
RouteGroupCoverage *TransitionRouteGroupCoverage `protobuf:"bytes,6,opt,name=route_group_coverage,json=routeGroupCoverage,proto3,oneof"`
}
CalculateCoverageResponse_TransitionCoverage
type CalculateCoverageResponse_TransitionCoverage struct {
// Transition (excluding transition route groups) coverage.
TransitionCoverage *TransitionCoverage `protobuf:"bytes,4,opt,name=transition_coverage,json=transitionCoverage,proto3,oneof"`
}
Changelog
type Changelog struct {
// The unique identifier of the changelog.
// Format: `projects/
Changelogs represents a change made to a given agent.
func (*Changelog) Descriptor
Deprecated: Use Changelog.ProtoReflect.Descriptor instead.
func (*Changelog) GetAction
func (*Changelog) GetCreateTime
func (x *Changelog) GetCreateTime() *timestamppb.Timestamp
func (*Changelog) GetDisplayName
func (*Changelog) GetLanguageCode
func (*Changelog) GetName
func (*Changelog) GetResource
func (*Changelog) GetType
func (*Changelog) GetUserEmail
func (*Changelog) ProtoMessage
func (*Changelog) ProtoMessage()
func (*Changelog) ProtoReflect
func (x *Changelog) ProtoReflect() protoreflect.Message
func (*Changelog) Reset
func (x *Changelog) Reset()
func (*Changelog) String
ChangelogsClient
type ChangelogsClient interface {
// Returns the list of Changelogs.
ListChangelogs(ctx context.Context, in *ListChangelogsRequest, opts ...grpc.CallOption) (*ListChangelogsResponse, error)
// Retrieves the specified Changelog.
GetChangelog(ctx context.Context, in *GetChangelogRequest, opts ...grpc.CallOption) (*Changelog, error)
}
ChangelogsClient is the client API for Changelogs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChangelogsClient
func NewChangelogsClient(cc grpc.ClientConnInterface) ChangelogsClient
ChangelogsServer
type ChangelogsServer interface {
// Returns the list of Changelogs.
ListChangelogs(context.Context, *ListChangelogsRequest) (*ListChangelogsResponse, error)
// Retrieves the specified Changelog.
GetChangelog(context.Context, *GetChangelogRequest) (*Changelog, error)
}
ChangelogsServer is the server API for Changelogs service.
CloudConversationDebuggingInfo
type CloudConversationDebuggingInfo struct {
AudioDataChunks int32 `protobuf:"varint,1,opt,name=audio_data_chunks,json=audioDataChunks,proto3" json:"audio_data_chunks,omitempty"`
ResultEndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=result_end_time_offset,json=resultEndTimeOffset,proto3" json:"result_end_time_offset,omitempty"`
FirstAudioDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=first_audio_duration,json=firstAudioDuration,proto3" json:"first_audio_duration,omitempty"`
SingleUtterance bool `protobuf:"varint,5,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"`
SpeechPartialResultsEndTimes []*durationpb.Duration "" /* 151 byte string literal not displayed */
SpeechFinalResultsEndTimes []*durationpb.Duration "" /* 145 byte string literal not displayed */
PartialResponses int32 `protobuf:"varint,8,opt,name=partial_responses,json=partialResponses,proto3" json:"partial_responses,omitempty"`
SpeakerIdPassiveLatencyMsOffset int32 "" /* 163 byte string literal not displayed */
BargeinEventTriggered bool "" /* 128 byte string literal not displayed */
SpeechSingleUtterance bool "" /* 128 byte string literal not displayed */
DtmfPartialResultsTimes []*durationpb.Duration "" /* 135 byte string literal not displayed */
DtmfFinalResultsTimes []*durationpb.Duration "" /* 129 byte string literal not displayed */
SingleUtteranceEndTimeOffset *durationpb.Duration "" /* 152 byte string literal not displayed */
NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,15,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"`
EndpointingTimeout *durationpb.Duration `protobuf:"bytes,19,opt,name=endpointing_timeout,json=endpointingTimeout,proto3" json:"endpointing_timeout,omitempty"`
IsInputText bool `protobuf:"varint,16,opt,name=is_input_text,json=isInputText,proto3" json:"is_input_text,omitempty"`
ClientHalfCloseTimeOffset *durationpb.Duration "" /* 143 byte string literal not displayed */
ClientHalfCloseStreamingTimeOffset *durationpb.Duration "" /* 172 byte string literal not displayed */
}
Cloud conversation info for easier debugging.
It will get populated in StreamingDetectIntentResponse
or
StreamingAnalyzeContentResponse
when the flag enable_debugging_info
is
set to true in corresponding requests.
func (*CloudConversationDebuggingInfo) Descriptor
func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudConversationDebuggingInfo.ProtoReflect.Descriptor instead.
func (*CloudConversationDebuggingInfo) GetAudioDataChunks
func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32
func (*CloudConversationDebuggingInfo) GetBargeinEventTriggered
func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool
func (*CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes
func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes
func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetEndpointingTimeout
func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetFirstAudioDuration
func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetIsInputText
func (x *CloudConversationDebuggingInfo) GetIsInputText() bool
func (*CloudConversationDebuggingInfo) GetNoSpeechTimeout
func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetPartialResponses
func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32
func (*CloudConversationDebuggingInfo) GetResultEndTimeOffset
func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSingleUtterance
func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool
func (*CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset
func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset
func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32
func (*CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes
func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes
func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechSingleUtterance
func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool
func (*CloudConversationDebuggingInfo) ProtoMessage
func (*CloudConversationDebuggingInfo) ProtoMessage()
func (*CloudConversationDebuggingInfo) ProtoReflect
func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Message
func (*CloudConversationDebuggingInfo) Reset
func (x *CloudConversationDebuggingInfo) Reset()
func (*CloudConversationDebuggingInfo) String
func (x *CloudConversationDebuggingInfo) String() string
CompareVersionsRequest
type CompareVersionsRequest struct {
// Required. Name of the base flow version to compare with the target version.
// Use version ID `0` to indicate the draft version of the specified flow.
//
// Format: `projects/
The request message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions].
func (*CompareVersionsRequest) Descriptor
func (*CompareVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompareVersionsRequest.ProtoReflect.Descriptor instead.
func (*CompareVersionsRequest) GetBaseVersion
func (x *CompareVersionsRequest) GetBaseVersion() string
func (*CompareVersionsRequest) GetLanguageCode
func (x *CompareVersionsRequest) GetLanguageCode() string
func (*CompareVersionsRequest) GetTargetVersion
func (x *CompareVersionsRequest) GetTargetVersion() string
func (*CompareVersionsRequest) ProtoMessage
func (*CompareVersionsRequest) ProtoMessage()
func (*CompareVersionsRequest) ProtoReflect
func (x *CompareVersionsRequest) ProtoReflect() protoreflect.Message
func (*CompareVersionsRequest) Reset
func (x *CompareVersionsRequest) Reset()
func (*CompareVersionsRequest) String
func (x *CompareVersionsRequest) String() string
CompareVersionsResponse
type CompareVersionsResponse struct {
BaseVersionContentJson string "" /* 131 byte string literal not displayed */
TargetVersionContentJson string "" /* 137 byte string literal not displayed */
CompareTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"`
}
The response message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions].
func (*CompareVersionsResponse) Descriptor
func (*CompareVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompareVersionsResponse.ProtoReflect.Descriptor instead.
func (*CompareVersionsResponse) GetBaseVersionContentJson
func (x *CompareVersionsResponse) GetBaseVersionContentJson() string
func (*CompareVersionsResponse) GetCompareTime
func (x *CompareVersionsResponse) GetCompareTime() *timestamppb.Timestamp
func (*CompareVersionsResponse) GetTargetVersionContentJson
func (x *CompareVersionsResponse) GetTargetVersionContentJson() string
func (*CompareVersionsResponse) ProtoMessage
func (*CompareVersionsResponse) ProtoMessage()
func (*CompareVersionsResponse) ProtoReflect
func (x *CompareVersionsResponse) ProtoReflect() protoreflect.Message
func (*CompareVersionsResponse) Reset
func (x *CompareVersionsResponse) Reset()
func (*CompareVersionsResponse) String
func (x *CompareVersionsResponse) String() string
ContinuousTestResult
type ContinuousTestResult struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Result ContinuousTestResult_AggregatedTestResult "" /* 148 byte string literal not displayed */
TestCaseResults []string `protobuf:"bytes,3,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"`
RunTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
}
Represents a result from running a test case in an agent environment.
func (*ContinuousTestResult) Descriptor
func (*ContinuousTestResult) Descriptor() ([]byte, []int)
Deprecated: Use ContinuousTestResult.ProtoReflect.Descriptor instead.
func (*ContinuousTestResult) GetName
func (x *ContinuousTestResult) GetName() string
func (*ContinuousTestResult) GetResult
func (x *ContinuousTestResult) GetResult() ContinuousTestResult_AggregatedTestResult
func (*ContinuousTestResult) GetRunTime
func (x *ContinuousTestResult) GetRunTime() *timestamppb.Timestamp
func (*ContinuousTestResult) GetTestCaseResults
func (x *ContinuousTestResult) GetTestCaseResults() []string
func (*ContinuousTestResult) ProtoMessage
func (*ContinuousTestResult) ProtoMessage()
func (*ContinuousTestResult) ProtoReflect
func (x *ContinuousTestResult) ProtoReflect() protoreflect.Message
func (*ContinuousTestResult) Reset
func (x *ContinuousTestResult) Reset()
func (*ContinuousTestResult) String
func (x *ContinuousTestResult) String() string
ContinuousTestResult_AggregatedTestResult
type ContinuousTestResult_AggregatedTestResult int32
The overall result for a continuous test run in an agent environment.
ContinuousTestResult_AGGREGATED_TEST_RESULT_UNSPECIFIED, ContinuousTestResult_PASSED, ContinuousTestResult_FAILED
const (
// Not specified. Should never be used.
ContinuousTestResult_AGGREGATED_TEST_RESULT_UNSPECIFIED ContinuousTestResult_AggregatedTestResult = 0
// All the tests passed.
ContinuousTestResult_PASSED ContinuousTestResult_AggregatedTestResult = 1
// At least one test did not pass.
ContinuousTestResult_FAILED ContinuousTestResult_AggregatedTestResult = 2
)
func (ContinuousTestResult_AggregatedTestResult) Descriptor
func (ContinuousTestResult_AggregatedTestResult) Descriptor() protoreflect.EnumDescriptor
func (ContinuousTestResult_AggregatedTestResult) Enum
func (x ContinuousTestResult_AggregatedTestResult) Enum() *ContinuousTestResult_AggregatedTestResult
func (ContinuousTestResult_AggregatedTestResult) EnumDescriptor
func (ContinuousTestResult_AggregatedTestResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContinuousTestResult_AggregatedTestResult.Descriptor instead.
func (ContinuousTestResult_AggregatedTestResult) Number
func (x ContinuousTestResult_AggregatedTestResult) Number() protoreflect.EnumNumber
func (ContinuousTestResult_AggregatedTestResult) String
func (x ContinuousTestResult_AggregatedTestResult) String() string
func (ContinuousTestResult_AggregatedTestResult) Type
func (ContinuousTestResult_AggregatedTestResult) Type() protoreflect.EnumType
ConversationTurn
type ConversationTurn struct {
// The user input.
UserInput *ConversationTurn_UserInput `protobuf:"bytes,1,opt,name=user_input,json=userInput,proto3" json:"user_input,omitempty"`
// The virtual agent output.
VirtualAgentOutput *ConversationTurn_VirtualAgentOutput `protobuf:"bytes,2,opt,name=virtual_agent_output,json=virtualAgentOutput,proto3" json:"virtual_agent_output,omitempty"`
// contains filtered or unexported fields
}
One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
func (*ConversationTurn) Descriptor
func (*ConversationTurn) Descriptor() ([]byte, []int)
Deprecated: Use ConversationTurn.ProtoReflect.Descriptor instead.
func (*ConversationTurn) GetUserInput
func (x *ConversationTurn) GetUserInput() *ConversationTurn_UserInput
func (*ConversationTurn) GetVirtualAgentOutput
func (x *ConversationTurn) GetVirtualAgentOutput() *ConversationTurn_VirtualAgentOutput
func (*ConversationTurn) ProtoMessage
func (*ConversationTurn) ProtoMessage()
func (*ConversationTurn) ProtoReflect
func (x *ConversationTurn) ProtoReflect() protoreflect.Message
func (*ConversationTurn) Reset
func (x *ConversationTurn) Reset()
func (*ConversationTurn) String
func (x *ConversationTurn) String() string
ConversationTurn_UserInput
type ConversationTurn_UserInput struct {
Input *QueryInput `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
InjectedParameters *structpb.Struct `protobuf:"bytes,2,opt,name=injected_parameters,json=injectedParameters,proto3" json:"injected_parameters,omitempty"`
IsWebhookEnabled bool `protobuf:"varint,3,opt,name=is_webhook_enabled,json=isWebhookEnabled,proto3" json:"is_webhook_enabled,omitempty"`
EnableSentimentAnalysis bool "" /* 133 byte string literal not displayed */
}
The input from the human user.
func (*ConversationTurn_UserInput) Descriptor
func (*ConversationTurn_UserInput) Descriptor() ([]byte, []int)
Deprecated: Use ConversationTurn_UserInput.ProtoReflect.Descriptor instead.
func (*ConversationTurn_UserInput) GetEnableSentimentAnalysis
func (x *ConversationTurn_UserInput) GetEnableSentimentAnalysis() bool
func (*ConversationTurn_UserInput) GetInjectedParameters
func (x *ConversationTurn_UserInput) GetInjectedParameters() *structpb.Struct
func (*ConversationTurn_UserInput) GetInput
func (x *ConversationTurn_UserInput) GetInput() *QueryInput
func (*ConversationTurn_UserInput) GetIsWebhookEnabled
func (x *ConversationTurn_UserInput) GetIsWebhookEnabled() bool
func (*ConversationTurn_UserInput) ProtoMessage
func (*ConversationTurn_UserInput) ProtoMessage()
func (*ConversationTurn_UserInput) ProtoReflect
func (x *ConversationTurn_UserInput) ProtoReflect() protoreflect.Message
func (*ConversationTurn_UserInput) Reset
func (x *ConversationTurn_UserInput) Reset()
func (*ConversationTurn_UserInput) String
func (x *ConversationTurn_UserInput) String() string
ConversationTurn_VirtualAgentOutput
type ConversationTurn_VirtualAgentOutput struct {
// The session parameters available to the bot at this point.
SessionParameters *structpb.Struct `protobuf:"bytes,4,opt,name=session_parameters,json=sessionParameters,proto3" json:"session_parameters,omitempty"`
// Output only. If this is part of a [result conversation
// turn][TestCaseResult.conversation_turns], the list of differences
// between the original run and the replay for this output, if any.
Differences []*TestRunDifference `protobuf:"bytes,5,rep,name=differences,proto3" json:"differences,omitempty"`
// Required. Input only. The diagnostic
// [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
// output for the turn. Required to calculate the testing coverage.
DiagnosticInfo *structpb.Struct `protobuf:"bytes,6,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"`
// The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that triggered
// the response. Only name and displayName will be set.
TriggeredIntent *Intent `protobuf:"bytes,7,opt,name=triggered_intent,json=triggeredIntent,proto3" json:"triggered_intent,omitempty"`
// The [Page][google.cloud.dialogflow.cx.v3beta1.Page] on which the
// utterance was spoken. Only name and displayName will be set.
CurrentPage *Page `protobuf:"bytes,8,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
// The [text][google.cloud.dialogflow.cx.v3beta1.ResponseMessage.Text]
// responses from the agent for the turn.
TextResponses []*ResponseMessage_Text `protobuf:"bytes,9,rep,name=text_responses,json=textResponses,proto3" json:"text_responses,omitempty"`
// Response error from the agent in the test result. If set, other output
// is empty.
Status *status.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
The output from the virtual agent.
func (*ConversationTurn_VirtualAgentOutput) Descriptor
func (*ConversationTurn_VirtualAgentOutput) Descriptor() ([]byte, []int)
Deprecated: Use ConversationTurn_VirtualAgentOutput.ProtoReflect.Descriptor instead.
func (*ConversationTurn_VirtualAgentOutput) GetCurrentPage
func (x *ConversationTurn_VirtualAgentOutput) GetCurrentPage() *Page
func (*ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo
func (x *ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo() *structpb.Struct
func (*ConversationTurn_VirtualAgentOutput) GetDifferences
func (x *ConversationTurn_VirtualAgentOutput) GetDifferences() []*TestRunDifference
func (*ConversationTurn_VirtualAgentOutput) GetSessionParameters
func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *structpb.Struct
func (*ConversationTurn_VirtualAgentOutput) GetStatus
func (x *ConversationTurn_VirtualAgentOutput) GetStatus() *status.Status
func (*ConversationTurn_VirtualAgentOutput) GetTextResponses
func (x *ConversationTurn_VirtualAgentOutput) GetTextResponses() []*ResponseMessage_Text
func (*ConversationTurn_VirtualAgentOutput) GetTriggeredIntent
func (x *ConversationTurn_VirtualAgentOutput) GetTriggeredIntent() *Intent
func (*ConversationTurn_VirtualAgentOutput) ProtoMessage
func (*ConversationTurn_VirtualAgentOutput) ProtoMessage()
func (*ConversationTurn_VirtualAgentOutput) ProtoReflect
func (x *ConversationTurn_VirtualAgentOutput) ProtoReflect() protoreflect.Message
func (*ConversationTurn_VirtualAgentOutput) Reset
func (x *ConversationTurn_VirtualAgentOutput) Reset()
func (*ConversationTurn_VirtualAgentOutput) String
func (x *ConversationTurn_VirtualAgentOutput) String() string
CreateAgentRequest
type CreateAgentRequest struct {
// Required. The location to create a agent for.
// Format: `projects/
The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent].
func (*CreateAgentRequest) Descriptor
func (*CreateAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead.
func (*CreateAgentRequest) GetAgent
func (x *CreateAgentRequest) GetAgent() *Agent
func (*CreateAgentRequest) GetParent
func (x *CreateAgentRequest) GetParent() string
func (*CreateAgentRequest) ProtoMessage
func (*CreateAgentRequest) ProtoMessage()
func (*CreateAgentRequest) ProtoReflect
func (x *CreateAgentRequest) ProtoReflect() protoreflect.Message
func (*CreateAgentRequest) Reset
func (x *CreateAgentRequest) Reset()
func (*CreateAgentRequest) String
func (x *CreateAgentRequest) String() string
CreateEntityTypeRequest
type CreateEntityTypeRequest struct {
// Required. The agent to create a entity type for.
// Format: `projects/
The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType].
func (*CreateEntityTypeRequest) Descriptor
func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateEntityTypeRequest) GetEntityType
func (x *CreateEntityTypeRequest) GetEntityType() *EntityType
func (*CreateEntityTypeRequest) GetLanguageCode
func (x *CreateEntityTypeRequest) GetLanguageCode() string
func (*CreateEntityTypeRequest) GetParent
func (x *CreateEntityTypeRequest) GetParent() string
func (*CreateEntityTypeRequest) ProtoMessage
func (*CreateEntityTypeRequest) ProtoMessage()
func (*CreateEntityTypeRequest) ProtoReflect
func (x *CreateEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateEntityTypeRequest) Reset
func (x *CreateEntityTypeRequest) Reset()
func (*CreateEntityTypeRequest) String
func (x *CreateEntityTypeRequest) String() string
CreateEnvironmentRequest
type CreateEnvironmentRequest struct {
// Required. The [Agent][google.cloud.dialogflow.cx.v3beta1.Agent] to create
// an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] for.
// Format: `projects/
The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment].
func (*CreateEnvironmentRequest) Descriptor
func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*CreateEnvironmentRequest) GetEnvironment
func (x *CreateEnvironmentRequest) GetEnvironment() *Environment
func (*CreateEnvironmentRequest) GetParent
func (x *CreateEnvironmentRequest) GetParent() string
func (*CreateEnvironmentRequest) ProtoMessage
func (*CreateEnvironmentRequest) ProtoMessage()
func (*CreateEnvironmentRequest) ProtoReflect
func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*CreateEnvironmentRequest) Reset
func (x *CreateEnvironmentRequest) Reset()
func (*CreateEnvironmentRequest) String
func (x *CreateEnvironmentRequest) String() string
CreateExampleRequest
type CreateExampleRequest struct {
// Required. The playbook to create an example for.
// Format: `projects/
The request message for [Examples.CreateExample][google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample].
func (*CreateExampleRequest) Descriptor
func (*CreateExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateExampleRequest.ProtoReflect.Descriptor instead.
func (*CreateExampleRequest) GetExample
func (x *CreateExampleRequest) GetExample() *Example
func (*CreateExampleRequest) GetParent
func (x *CreateExampleRequest) GetParent() string
func (*CreateExampleRequest) ProtoMessage
func (*CreateExampleRequest) ProtoMessage()
func (*CreateExampleRequest) ProtoReflect
func (x *CreateExampleRequest) ProtoReflect() protoreflect.Message
func (*CreateExampleRequest) Reset
func (x *CreateExampleRequest) Reset()
func (*CreateExampleRequest) String
func (x *CreateExampleRequest) String() string
CreateExperimentRequest
type CreateExperimentRequest struct {
// Required. The [Agent][google.cloud.dialogflow.cx.v3beta1.Agent] to create
// an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] for.
// Format: `projects/
The request message for [Experiments.CreateExperiment][google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment].
func (*CreateExperimentRequest) Descriptor
func (*CreateExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.
func (*CreateExperimentRequest) GetExperiment
func (x *CreateExperimentRequest) GetExperiment() *Experiment
func (*CreateExperimentRequest) GetParent
func (x *CreateExperimentRequest) GetParent() string
func (*CreateExperimentRequest) ProtoMessage
func (*CreateExperimentRequest) ProtoMessage()
func (*CreateExperimentRequest) ProtoReflect
func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Message
func (*CreateExperimentRequest) Reset
func (x *CreateExperimentRequest) Reset()
func (*CreateExperimentRequest) String
func (x *CreateExperimentRequest) String() string
CreateFlowRequest
type CreateFlowRequest struct {
// Required. The agent to create a flow for.
// Format: `projects/
The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow].
func (*CreateFlowRequest) Descriptor
func (*CreateFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFlowRequest.ProtoReflect.Descriptor instead.
func (*CreateFlowRequest) GetFlow
func (x *CreateFlowRequest) GetFlow() *Flow
func (*CreateFlowRequest) GetLanguageCode
func (x *CreateFlowRequest) GetLanguageCode() string
func (*CreateFlowRequest) GetParent
func (x *CreateFlowRequest) GetParent() string
func (*CreateFlowRequest) ProtoMessage
func (*CreateFlowRequest) ProtoMessage()
func (*CreateFlowRequest) ProtoReflect
func (x *CreateFlowRequest) ProtoReflect() protoreflect.Message
func (*CreateFlowRequest) Reset
func (x *CreateFlowRequest) Reset()
func (*CreateFlowRequest) String
func (x *CreateFlowRequest) String() string
CreateGeneratorRequest
type CreateGeneratorRequest struct {
// Required. The agent to create a generator for.
// Format: `projects/
The request message for [Generators.CreateGenerator][google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator].
func (*CreateGeneratorRequest) Descriptor
func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*CreateGeneratorRequest) GetGenerator
func (x *CreateGeneratorRequest) GetGenerator() *Generator
func (*CreateGeneratorRequest) GetLanguageCode
func (x *CreateGeneratorRequest) GetLanguageCode() string
func (*CreateGeneratorRequest) GetParent
func (x *CreateGeneratorRequest) GetParent() string
func (*CreateGeneratorRequest) ProtoMessage
func (*CreateGeneratorRequest) ProtoMessage()
func (*CreateGeneratorRequest) ProtoReflect
func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Message
func (*CreateGeneratorRequest) Reset
func (x *CreateGeneratorRequest) Reset()
func (*CreateGeneratorRequest) String
func (x *CreateGeneratorRequest) String() string
CreateIntentRequest
type CreateIntentRequest struct {
// Required. The agent to create an intent for.
// Format: `projects/
The request message for [Intents.CreateIntent][google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent].
func (*CreateIntentRequest) Descriptor
func (*CreateIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.
func (*CreateIntentRequest) GetIntent
func (x *CreateIntentRequest) GetIntent() *Intent
func (*CreateIntentRequest) GetLanguageCode
func (x *CreateIntentRequest) GetLanguageCode() string
func (*CreateIntentRequest) GetParent
func (x *CreateIntentRequest) GetParent() string
func (*CreateIntentRequest) ProtoMessage
func (*CreateIntentRequest) ProtoMessage()
func (*CreateIntentRequest) ProtoReflect
func (x *CreateIntentRequest) ProtoReflect() protoreflect.Message
func (*CreateIntentRequest) Reset
func (x *CreateIntentRequest) Reset()
func (*CreateIntentRequest) String
func (x *CreateIntentRequest) String() string
CreatePageRequest
type CreatePageRequest struct {
// Required. The flow to create a page for.
// Format: `projects/
The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].
func (*CreatePageRequest) Descriptor
func (*CreatePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePageRequest.ProtoReflect.Descriptor instead.
func (*CreatePageRequest) GetLanguageCode
func (x *CreatePageRequest) GetLanguageCode() string
func (*CreatePageRequest) GetPage
func (x *CreatePageRequest) GetPage() *Page
func (*CreatePageRequest) GetParent
func (x *CreatePageRequest) GetParent() string
func (*CreatePageRequest) ProtoMessage
func (*CreatePageRequest) ProtoMessage()
func (*CreatePageRequest) ProtoReflect
func (x *CreatePageRequest) ProtoReflect() protoreflect.Message
func (*CreatePageRequest) Reset
func (x *CreatePageRequest) Reset()
func (*CreatePageRequest) String
func (x *CreatePageRequest) String() string
CreatePlaybookRequest
type CreatePlaybookRequest struct {
// Required. The agent to create a playbook for.
// Format: `projects/
The request message for [Playbooks.CreatePlaybook][google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook].
func (*CreatePlaybookRequest) Descriptor
func (*CreatePlaybookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlaybookRequest.ProtoReflect.Descriptor instead.
func (*CreatePlaybookRequest) GetParent
func (x *CreatePlaybookRequest) GetParent() string
func (*CreatePlaybookRequest) GetPlaybook
func (x *CreatePlaybookRequest) GetPlaybook() *Playbook
func (*CreatePlaybookRequest) ProtoMessage
func (*CreatePlaybookRequest) ProtoMessage()
func (*CreatePlaybookRequest) ProtoReflect
func (x *CreatePlaybookRequest) ProtoReflect() protoreflect.Message
func (*CreatePlaybookRequest) Reset
func (x *CreatePlaybookRequest) Reset()
func (*CreatePlaybookRequest) String
func (x *CreatePlaybookRequest) String() string
CreatePlaybookVersionRequest
type CreatePlaybookVersionRequest struct {
// Required. The playbook to create a version for.
// Format: `projects/
The request message for [Playbooks.CreatePlaybookVersion][google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion].
func (*CreatePlaybookVersionRequest) Descriptor
func (*CreatePlaybookVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlaybookVersionRequest.ProtoReflect.Descriptor instead.
func (*CreatePlaybookVersionRequest) GetParent
func (x *CreatePlaybookVersionRequest) GetParent() string
func (*CreatePlaybookVersionRequest) GetPlaybookVersion
func (x *CreatePlaybookVersionRequest) GetPlaybookVersion() *PlaybookVersion
func (*CreatePlaybookVersionRequest) ProtoMessage
func (*CreatePlaybookVersionRequest) ProtoMessage()
func (*CreatePlaybookVersionRequest) ProtoReflect
func (x *CreatePlaybookVersionRequest) ProtoReflect() protoreflect.Message
func (*CreatePlaybookVersionRequest) Reset
func (x *CreatePlaybookVersionRequest) Reset()
func (*CreatePlaybookVersionRequest) String
func (x *CreatePlaybookVersionRequest) String() string
CreateSecuritySettingsRequest
type CreateSecuritySettingsRequest struct {
// Required. The location to create an
// [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]
// for. Format: `projects/
The request message for [SecuritySettings.CreateSecuritySettings][].
func (*CreateSecuritySettingsRequest) Descriptor
func (*CreateSecuritySettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*CreateSecuritySettingsRequest) GetParent
func (x *CreateSecuritySettingsRequest) GetParent() string
func (*CreateSecuritySettingsRequest) GetSecuritySettings
func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings
func (*CreateSecuritySettingsRequest) ProtoMessage
func (*CreateSecuritySettingsRequest) ProtoMessage()
func (*CreateSecuritySettingsRequest) ProtoReflect
func (x *CreateSecuritySettingsRequest) ProtoReflect() protoreflect.Message
func (*CreateSecuritySettingsRequest) Reset
func (x *CreateSecuritySettingsRequest) Reset()
func (*CreateSecuritySettingsRequest) String
func (x *CreateSecuritySettingsRequest) String() string
CreateSessionEntityTypeRequest
type CreateSessionEntityTypeRequest struct {
// Required. The session to create a session entity type for.
// Format: `projects/
The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType].
func (*CreateSessionEntityTypeRequest) Descriptor
func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionEntityTypeRequest) GetParent
func (x *CreateSessionEntityTypeRequest) GetParent() string
func (*CreateSessionEntityTypeRequest) GetSessionEntityType
func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
func (*CreateSessionEntityTypeRequest) ProtoMessage
func (*CreateSessionEntityTypeRequest) ProtoMessage()
func (*CreateSessionEntityTypeRequest) ProtoReflect
func (x *CreateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionEntityTypeRequest) Reset
func (x *CreateSessionEntityTypeRequest) Reset()
func (*CreateSessionEntityTypeRequest) String
func (x *CreateSessionEntityTypeRequest) String() string
CreateTestCaseRequest
type CreateTestCaseRequest struct {
// Required. The agent to create the test case for.
// Format: `projects/
The request message for [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase].
func (*CreateTestCaseRequest) Descriptor
func (*CreateTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTestCaseRequest.ProtoReflect.Descriptor instead.
func (*CreateTestCaseRequest) GetParent
func (x *CreateTestCaseRequest) GetParent() string
func (*CreateTestCaseRequest) GetTestCase
func (x *CreateTestCaseRequest) GetTestCase() *TestCase
func (*CreateTestCaseRequest) ProtoMessage
func (*CreateTestCaseRequest) ProtoMessage()
func (*CreateTestCaseRequest) ProtoReflect
func (x *CreateTestCaseRequest) ProtoReflect() protoreflect.Message
func (*CreateTestCaseRequest) Reset
func (x *CreateTestCaseRequest) Reset()
func (*CreateTestCaseRequest) String
func (x *CreateTestCaseRequest) String() string
CreateToolRequest
type CreateToolRequest struct {
// Required. The agent to create a Tool for.
// Format: `projects/
The request message for [Tools.CreateTool][google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool].
func (*CreateToolRequest) Descriptor
func (*CreateToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateToolRequest.ProtoReflect.Descriptor instead.
func (*CreateToolRequest) GetParent
func (x *CreateToolRequest) GetParent() string
func (*CreateToolRequest) GetTool
func (x *CreateToolRequest) GetTool() *Tool
func (*CreateToolRequest) ProtoMessage
func (*CreateToolRequest) ProtoMessage()
func (*CreateToolRequest) ProtoReflect
func (x *CreateToolRequest) ProtoReflect() protoreflect.Message
func (*CreateToolRequest) Reset
func (x *CreateToolRequest) Reset()
func (*CreateToolRequest) String
func (x *CreateToolRequest) String() string
CreateTransitionRouteGroupRequest
type CreateTransitionRouteGroupRequest struct {
// Required. The flow to create an
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
// for. Format: `projects/
The request message for [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup].
func (*CreateTransitionRouteGroupRequest) Descriptor
func (*CreateTransitionRouteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateTransitionRouteGroupRequest) GetLanguageCode
func (x *CreateTransitionRouteGroupRequest) GetLanguageCode() string
func (*CreateTransitionRouteGroupRequest) GetParent
func (x *CreateTransitionRouteGroupRequest) GetParent() string
func (*CreateTransitionRouteGroupRequest) GetTransitionRouteGroup
func (x *CreateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup
func (*CreateTransitionRouteGroupRequest) ProtoMessage
func (*CreateTransitionRouteGroupRequest) ProtoMessage()
func (*CreateTransitionRouteGroupRequest) ProtoReflect
func (x *CreateTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateTransitionRouteGroupRequest) Reset
func (x *CreateTransitionRouteGroupRequest) Reset()
func (*CreateTransitionRouteGroupRequest) String
func (x *CreateTransitionRouteGroupRequest) String() string
CreateVersionOperationMetadata
type CreateVersionOperationMetadata struct {
// Name of the created version.
// Format: `projects/
Metadata associated with the long running operation for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion].
func (*CreateVersionOperationMetadata) Descriptor
func (*CreateVersionOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionOperationMetadata.ProtoReflect.Descriptor instead.
func (*CreateVersionOperationMetadata) GetVersion
func (x *CreateVersionOperationMetadata) GetVersion() string
func (*CreateVersionOperationMetadata) ProtoMessage
func (*CreateVersionOperationMetadata) ProtoMessage()
func (*CreateVersionOperationMetadata) ProtoReflect
func (x *CreateVersionOperationMetadata) ProtoReflect() protoreflect.Message
func (*CreateVersionOperationMetadata) Reset
func (x *CreateVersionOperationMetadata) Reset()
func (*CreateVersionOperationMetadata) String
func (x *CreateVersionOperationMetadata) String() string
CreateVersionRequest
type CreateVersionRequest struct {
// Required. The [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] to create an
// [Version][google.cloud.dialogflow.cx.v3beta1.Version] for. Format:
// `projects/
The request message for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion].
func (*CreateVersionRequest) Descriptor
func (*CreateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) GetParent
func (x *CreateVersionRequest) GetParent() string
func (*CreateVersionRequest) GetVersion
func (x *CreateVersionRequest) GetVersion() *Version
func (*CreateVersionRequest) ProtoMessage
func (*CreateVersionRequest) ProtoMessage()
func (*CreateVersionRequest) ProtoReflect
func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateVersionRequest) Reset
func (x *CreateVersionRequest) Reset()
func (*CreateVersionRequest) String
func (x *CreateVersionRequest) String() string
CreateWebhookRequest
type CreateWebhookRequest struct {
// Required. The agent to create a webhook for.
// Format: `projects/
The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook].
func (*CreateWebhookRequest) Descriptor
func (*CreateWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.
func (*CreateWebhookRequest) GetParent
func (x *CreateWebhookRequest) GetParent() string
func (*CreateWebhookRequest) GetWebhook
func (x *CreateWebhookRequest) GetWebhook() *Webhook
func (*CreateWebhookRequest) ProtoMessage
func (*CreateWebhookRequest) ProtoMessage()
func (*CreateWebhookRequest) ProtoReflect
func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message
func (*CreateWebhookRequest) Reset
func (x *CreateWebhookRequest) Reset()
func (*CreateWebhookRequest) String
func (x *CreateWebhookRequest) String() string
DataStoreConnection
type DataStoreConnection struct {
DataStoreType DataStoreType "" /* 157 byte string literal not displayed */
DataStore string `protobuf:"bytes,2,opt,name=data_store,json=dataStore,proto3" json:"data_store,omitempty"`
}
A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
func (*DataStoreConnection) Descriptor
func (*DataStoreConnection) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnection.ProtoReflect.Descriptor instead.
func (*DataStoreConnection) GetDataStore
func (x *DataStoreConnection) GetDataStore() string
func (*DataStoreConnection) GetDataStoreType
func (x *DataStoreConnection) GetDataStoreType() DataStoreType
func (*DataStoreConnection) ProtoMessage
func (*DataStoreConnection) ProtoMessage()
func (*DataStoreConnection) ProtoReflect
func (x *DataStoreConnection) ProtoReflect() protoreflect.Message
func (*DataStoreConnection) Reset
func (x *DataStoreConnection) Reset()
func (*DataStoreConnection) String
func (x *DataStoreConnection) String() string
DataStoreType
type DataStoreType int32
Type of a data store. Determines how search is performed in the data store.
DataStoreType_DATA_STORE_TYPE_UNSPECIFIED, DataStoreType_PUBLIC_WEB, DataStoreType_UNSTRUCTURED, DataStoreType_STRUCTURED
const (
// Not specified. This value indicates that the data store type is not
// specified, so it will not be used during search.
DataStoreType_DATA_STORE_TYPE_UNSPECIFIED DataStoreType = 0
// A data store that contains public web content.
DataStoreType_PUBLIC_WEB DataStoreType = 1
// A data store that contains unstructured private data.
DataStoreType_UNSTRUCTURED DataStoreType = 2
// A data store that contains structured data (for example FAQ).
DataStoreType_STRUCTURED DataStoreType = 3
)
func (DataStoreType) Descriptor
func (DataStoreType) Descriptor() protoreflect.EnumDescriptor
func (DataStoreType) Enum
func (x DataStoreType) Enum() *DataStoreType
func (DataStoreType) EnumDescriptor
func (DataStoreType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataStoreType.Descriptor instead.
func (DataStoreType) Number
func (x DataStoreType) Number() protoreflect.EnumNumber
func (DataStoreType) String
func (x DataStoreType) String() string
func (DataStoreType) Type
func (DataStoreType) Type() protoreflect.EnumType
DeleteAgentRequest
type DeleteAgentRequest struct {
// Required. The name of the agent to delete.
// Format: `projects/
The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent].
func (*DeleteAgentRequest) Descriptor
func (*DeleteAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAgentRequest) GetName
func (x *DeleteAgentRequest) GetName() string
func (*DeleteAgentRequest) ProtoMessage
func (*DeleteAgentRequest) ProtoMessage()
func (*DeleteAgentRequest) ProtoReflect
func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAgentRequest) Reset
func (x *DeleteAgentRequest) Reset()
func (*DeleteAgentRequest) String
func (x *DeleteAgentRequest) String() string
DeleteEntityTypeRequest
type DeleteEntityTypeRequest struct {
// Required. The name of the entity type to delete.
// Format: `projects/
The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].
func (*DeleteEntityTypeRequest) Descriptor
func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteEntityTypeRequest) GetForce
func (x *DeleteEntityTypeRequest) GetForce() bool
func (*DeleteEntityTypeRequest) GetName
func (x *DeleteEntityTypeRequest) GetName() string
func (*DeleteEntityTypeRequest) ProtoMessage
func (*DeleteEntityTypeRequest) ProtoMessage()
func (*DeleteEntityTypeRequest) ProtoReflect
func (x *DeleteEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteEntityTypeRequest) Reset
func (x *DeleteEntityTypeRequest) Reset()
func (*DeleteEntityTypeRequest) String
func (x *DeleteEntityTypeRequest) String() string
DeleteEnvironmentRequest
type DeleteEnvironmentRequest struct {
// Required. The name of the
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] to delete.
// Format: `projects/
The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment].
func (*DeleteEnvironmentRequest) Descriptor
func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteEnvironmentRequest) GetName
func (x *DeleteEnvironmentRequest) GetName() string
func (*DeleteEnvironmentRequest) ProtoMessage
func (*DeleteEnvironmentRequest) ProtoMessage()
func (*DeleteEnvironmentRequest) ProtoReflect
func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteEnvironmentRequest) Reset
func (x *DeleteEnvironmentRequest) Reset()
func (*DeleteEnvironmentRequest) String
func (x *DeleteEnvironmentRequest) String() string
DeleteExampleRequest
type DeleteExampleRequest struct {
// Required. The name of the example to delete.
// Format: `projects/
The request message for [Examples.DeleteExample][google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample].
func (*DeleteExampleRequest) Descriptor
func (*DeleteExampleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExampleRequest.ProtoReflect.Descriptor instead.
func (*DeleteExampleRequest) GetName
func (x *DeleteExampleRequest) GetName() string
func (*DeleteExampleRequest) ProtoMessage
func (*DeleteExampleRequest) ProtoMessage()
func (*DeleteExampleRequest) ProtoReflect
func (x *DeleteExampleRequest) ProtoReflect() protoreflect.Message
func (*DeleteExampleRequest) Reset
func (x *DeleteExampleRequest) Reset()
func (*DeleteExampleRequest) String
func (x *DeleteExampleRequest) String() string
DeleteExperimentRequest
type DeleteExperimentRequest struct {
// Required. The name of the
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] to delete.
// Format: `projects/
The request message for [Experiments.DeleteExperiment][google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment].
func (*DeleteExperimentRequest) Descriptor
func (*DeleteExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExperimentRequest.ProtoReflect.Descriptor instead.
func (*DeleteExperimentRequest) GetName
func (x *DeleteExperimentRequest) GetName() string
func (*DeleteExperimentRequest) ProtoMessage
func (*DeleteExperimentRequest) ProtoMessage()
func (*DeleteExperimentRequest) ProtoReflect
func (x *DeleteExperimentRequest) ProtoReflect() protoreflect.Message
func (*DeleteExperimentRequest) Reset
func (x *DeleteExperimentRequest) Reset()
func (*DeleteExperimentRequest) String
func (x *DeleteExperimentRequest) String() string
DeleteFlowRequest
type DeleteFlowRequest struct {
// Required. The name of the flow to delete.
// Format: `projects/
The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].
func (*DeleteFlowRequest) Descriptor
func (*DeleteFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFlowRequest.ProtoReflect.Descriptor instead.
func (*DeleteFlowRequest) GetForce
func (x *DeleteFlowRequest) GetForce() bool
func (*DeleteFlowRequest) GetName
func (x *DeleteFlowRequest) GetName() string
func (*DeleteFlowRequest) ProtoMessage
func (*DeleteFlowRequest) ProtoMessage()
func (*DeleteFlowRequest) ProtoReflect
func (x *DeleteFlowRequest) ProtoReflect() protoreflect.Message
func (*DeleteFlowRequest) Reset
func (x *DeleteFlowRequest) Reset()
func (*DeleteFlowRequest) String
func (x *DeleteFlowRequest) String() string
DeleteGeneratorRequest
type DeleteGeneratorRequest struct {
// Required. The name of the generator to delete.
// Format: `projects/
The request message for [Generators.DeleteGenerator][google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator].
func (*DeleteGeneratorRequest) Descriptor
func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGeneratorRequest.ProtoReflect.Descriptor instead.
func (*DeleteGeneratorRequest) GetForce
func (x *DeleteGeneratorRequest) GetForce() bool
func (*DeleteGeneratorRequest) GetName
func (x *DeleteGeneratorRequest) GetName() string
func (*DeleteGeneratorRequest) ProtoMessage
func (*DeleteGeneratorRequest) ProtoMessage()
func (*DeleteGeneratorRequest) ProtoReflect
func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Message
func (*DeleteGeneratorRequest) Reset
func (x *DeleteGeneratorRequest) Reset()
func (*DeleteGeneratorRequest) String
func (x *DeleteGeneratorRequest) String() string
DeleteIntentRequest
type DeleteIntentRequest struct {
// Required. The name of the intent to delete.
// Format: `projects/
The request message for [Intents.DeleteIntent][google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent].
func (*DeleteIntentRequest) Descriptor
func (*DeleteIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.
func (*DeleteIntentRequest) GetName
func (x *DeleteIntentRequest) GetName() string
func (*DeleteIntentRequest) ProtoMessage
func (*DeleteIntentRequest) ProtoMessage()
func (*DeleteIntentRequest) ProtoReflect
func (x *DeleteIntentRequest) ProtoReflect() protoreflect.Message
func (*DeleteIntentRequest) Reset
func (x *DeleteIntentRequest) Reset()
func (*DeleteIntentRequest) String
func (x *DeleteIntentRequest) String() string
DeletePageRequest
type DeletePageRequest struct {
// Required. The name of the page to delete.
// Format: `projects/
The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage].
func (*DeletePageRequest) Descriptor
func (*DeletePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePageRequest.ProtoReflect.Descriptor instead.
func (*DeletePageRequest) GetForce
func (x *DeletePageRequest) GetForce() bool
func (*DeletePageRequest) GetName
func (x *DeletePageRequest) GetName() string
func (*DeletePageRequest) ProtoMessage
func (*DeletePageRequest) ProtoMessage()
func (*DeletePageRequest) ProtoReflect
func (x *DeletePageRequest) ProtoReflect() protoreflect.Message
func (*DeletePageRequest) Reset
func (x *DeletePageRequest) Reset()
func (*DeletePageRequest) String
func (x *DeletePageRequest) String() string
DeletePlaybookRequest
type DeletePlaybookRequest struct {
// Required. The name of the playbook to delete.
// Format: `projects/
The request message for [Playbooks.DeletePlaybook][google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook].
func (*DeletePlaybookRequest) Descriptor
func (*DeletePlaybookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePlaybookRequest.ProtoReflect.Descriptor instead.
func (*DeletePlaybookRequest) GetName
func (x *DeletePlaybookRequest) GetName() string
func (*DeletePlaybookRequest) ProtoMessage
func (*DeletePlaybookRequest) ProtoMessage()
func (*DeletePlaybookRequest) ProtoReflect
func (x *DeletePlaybookRequest) ProtoReflect() protoreflect.Message
func (*DeletePlaybookRequest) Reset
func (x *DeletePlaybookRequest) Reset()
func (*DeletePlaybookRequest) String
func (x *DeletePlaybookRequest) String() string
DeletePlaybookVersionRequest
type DeletePlaybookVersionRequest struct {
// Required. The name of the playbook version to delete.
// Format: `projects/
The request message for [Playbooks.DeletePlaybookVersion][google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion].
func (*DeletePlaybookVersionRequest) Descriptor
func (*DeletePlaybookVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePlaybookVersionRequest.ProtoReflect.Descriptor instead.
func (*DeletePlaybookVersionRequest) GetName
func (x *DeletePlaybookVersionRequest) GetName() string
func (*DeletePlaybookVersionRequest) ProtoMessage
func (*DeletePlaybookVersionRequest) ProtoMessage()
func (*DeletePlaybookVersionRequest) ProtoReflect
func (x *DeletePlaybookVersionRequest) ProtoReflect() protoreflect.Message
func (*DeletePlaybookVersionRequest) Reset
func (x *DeletePlaybookVersionRequest) Reset()
func (*DeletePlaybookVersionRequest) String
func (x *DeletePlaybookVersionRequest) String() string
DeleteSecuritySettingsRequest
type DeleteSecuritySettingsRequest struct {
// Required. The name of the
// [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings] to
// delete. Format: `projects/
The request message for [SecuritySettings.DeleteSecuritySettings][].
func (*DeleteSecuritySettingsRequest) Descriptor
func (*DeleteSecuritySettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecuritySettingsRequest) GetName
func (x *DeleteSecuritySettingsRequest) GetName() string
func (*DeleteSecuritySettingsRequest) ProtoMessage
func (*DeleteSecuritySettingsRequest) ProtoMessage()
func (*DeleteSecuritySettingsRequest) ProtoReflect
func (x *DeleteSecuritySettingsRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecuritySettingsRequest) Reset
func (x *DeleteSecuritySettingsRequest) Reset()
func (*DeleteSecuritySettingsRequest) String
func (x *DeleteSecuritySettingsRequest) String() string
DeleteSessionEntityTypeRequest
type DeleteSessionEntityTypeRequest struct {
// Required. The name of the session entity type to delete.
// Format: `projects/
The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType].
func (*DeleteSessionEntityTypeRequest) Descriptor
func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteSessionEntityTypeRequest) GetName
func (x *DeleteSessionEntityTypeRequest) GetName() string
func (*DeleteSessionEntityTypeRequest) ProtoMessage
func (*DeleteSessionEntityTypeRequest) ProtoMessage()
func (*DeleteSessionEntityTypeRequest) ProtoReflect
func (x *DeleteSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteSessionEntityTypeRequest) Reset
func (x *DeleteSessionEntityTypeRequest) Reset()
func (*DeleteSessionEntityTypeRequest) String
func (x *DeleteSessionEntityTypeRequest) String() string
DeleteToolRequest
type DeleteToolRequest struct {
// Required. The name of the Tool to be deleted.
// Format: `projects/
The request message for [Tools.DeleteTool][google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool].
func (*DeleteToolRequest) Descriptor
func (*DeleteToolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteToolRequest.ProtoReflect.Descriptor instead.
func (*DeleteToolRequest) GetForce
func (x *DeleteToolRequest) GetForce() bool
func (*DeleteToolRequest) GetName
func (x *DeleteToolRequest) GetName() string
func (*DeleteToolRequest) ProtoMessage
func (*DeleteToolRequest) ProtoMessage()
func (*DeleteToolRequest) ProtoReflect
func (x *DeleteToolRequest) ProtoReflect() protoreflect.Message
func (*DeleteToolRequest) Reset
func (x *DeleteToolRequest) Reset()
func (*DeleteToolRequest) String
func (x *DeleteToolRequest) String() string
DeleteTransitionRouteGroupRequest
type DeleteTransitionRouteGroupRequest struct {
// Required. The name of the
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]
// to delete. Format: `projects/
The request message for [TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup].
func (*DeleteTransitionRouteGroupRequest) Descriptor
func (*DeleteTransitionRouteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteTransitionRouteGroupRequest) GetForce
func (x *DeleteTransitionRouteGroupRequest) GetForce() bool
func (*DeleteTransitionRouteGroupRequest) GetName
func (x *DeleteTransitionRouteGroupRequest) GetName() string
func (*DeleteTransitionRouteGroupRequest) ProtoMessage
func (*DeleteTransitionRouteGroupRequest) ProtoMessage()
func (*DeleteTransitionRouteGroupRequest) ProtoReflect
func (x *DeleteTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteTransitionRouteGroupRequest) Reset
func (x *DeleteTransitionRouteGroupRequest) Reset()
func (*DeleteTransitionRouteGroupRequest) String
func (x *DeleteTransitionRouteGroupRequest) String() string
DeleteVersionRequest
type DeleteVersionRequest struct {
// Required. The name of the
// [Version][google.cloud.dialogflow.cx.v3beta1.Version] to delete. Format:
// `projects/
The request message for [Versions.DeleteVersion][google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion].
func (*DeleteVersionRequest) Descriptor
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) GetName
func (x *DeleteVersionRequest) GetName() string
func (*DeleteVersionRequest) ProtoMessage
func (*DeleteVersionRequest) ProtoMessage()
func (*DeleteVersionRequest) ProtoReflect
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
func (*DeleteVersionRequest) Reset
func (x *DeleteVersionRequest) Reset()
func (*DeleteVersionRequest) String
func (x *DeleteVersionRequest) String() string
DeleteWebhookRequest
type DeleteWebhookRequest struct {
// Required. The name of the webhook to delete.
// Format: `projects/
The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook].
func (*DeleteWebhookRequest) Descriptor
func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.
func (*DeleteWebhookRequest) GetForce
func (x *DeleteWebhookRequest) GetForce() bool
func (*DeleteWebhookRequest) GetName
func (x *DeleteWebhookRequest) GetName() string
func (*DeleteWebhookRequest) ProtoMessage
func (*DeleteWebhookRequest) ProtoMessage()
func (*DeleteWebhookRequest) ProtoReflect
func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message
func (*DeleteWebhookRequest) Reset
func (x *DeleteWebhookRequest) Reset()
func (*DeleteWebhookRequest) String
func (x *DeleteWebhookRequest) String() string
DeployFlowMetadata
type DeployFlowMetadata struct {
// Errors of running deployment tests.
TestErrors []*TestError `protobuf:"bytes,1,rep,name=test_errors,json=testErrors,proto3" json:"test_errors,omitempty"`
// contains filtered or unexported fields
}
Metadata returned for the [Environments.DeployFlow][google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow] long running operation.
func (*DeployFlowMetadata) Descriptor
func (*DeployFlowMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeployFlowMetadata.ProtoReflect.Descriptor instead.
func (*DeployFlowMetadata) GetTestErrors
func (x *DeployFlowMetadata) GetTestErrors() []*TestError
func (*DeployFlowMetadata) ProtoMessage
func (*DeployFlowMetadata) ProtoMessage()
func (*DeployFlowMetadata) ProtoReflect
func (x *DeployFlowMetadata) ProtoReflect() protoreflect.Message
func (*DeployFlowMetadata) Reset
func (x *DeployFlowMetadata) Reset()
func (*DeployFlowMetadata) String
func (x *DeployFlowMetadata) String() string
DeployFlowRequest
type DeployFlowRequest struct {
// Required. The environment to deploy the flow to.
// Format: `projects/
The request message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow].
func (*DeployFlowRequest) Descriptor
func (*DeployFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployFlowRequest.ProtoReflect.Descriptor instead.
func (*DeployFlowRequest) GetEnvironment
func (x *DeployFlowRequest) GetEnvironment() string
func (*DeployFlowRequest) GetFlowVersion
func (x *DeployFlowRequest) GetFlowVersion() string
func (*DeployFlowRequest) ProtoMessage
func (*DeployFlowRequest) ProtoMessage()
func (*DeployFlowRequest) ProtoReflect
func (x *DeployFlowRequest) ProtoReflect() protoreflect.Message
func (*DeployFlowRequest) Reset
func (x *DeployFlowRequest) Reset()
func (*DeployFlowRequest) String
func (x *DeployFlowRequest) String() string
DeployFlowResponse
type DeployFlowResponse struct {
// The updated environment where the flow is deployed.
Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
// The name of the flow version deployment.
// Format: `projects/
The response message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow].
func (*DeployFlowResponse) Descriptor
func (*DeployFlowResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployFlowResponse.ProtoReflect.Descriptor instead.
func (*DeployFlowResponse) GetDeployment
func (x *DeployFlowResponse) GetDeployment() string
func (*DeployFlowResponse) GetEnvironment
func (x *DeployFlowResponse) GetEnvironment() *Environment
func (*DeployFlowResponse) ProtoMessage
func (*DeployFlowResponse) ProtoMessage()
func (*DeployFlowResponse) ProtoReflect
func (x *DeployFlowResponse) ProtoReflect() protoreflect.Message
func (*DeployFlowResponse) Reset
func (x *DeployFlowResponse) Reset()
func (*DeployFlowResponse) String
func (x *DeployFlowResponse) String() string
Deployment
type Deployment struct {
// The name of the deployment.
// Format: projects/
Represents a deployment in an environment. A deployment happens when a flow version configured to be active in the environment. You can configure running pre-deployment steps, e.g. running validation test cases, experiment auto-rollout, etc.
func (*Deployment) Descriptor
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetEndTime
func (x *Deployment) GetEndTime() *timestamppb.Timestamp
func (*Deployment) GetFlowVersion
func (x *Deployment) GetFlowVersion() string
func (*Deployment) GetName
func (x *Deployment) GetName() string
func (*Deployment) GetResult
func (x *Deployment) GetResult() *Deployment_Result
func (*Deployment) GetStartTime
func (x *Deployment) GetStartTime() *timestamppb.Timestamp
func (*Deployment) GetState
func (x *Deployment) GetState() Deployment_State
func (*Deployment) ProtoMessage
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset
func (x *Deployment) Reset()
func (*Deployment) String
func (x *Deployment) String() string
Deployment_Result
type Deployment_Result struct {
// Results of test cases running before the deployment.
// Format: `projects/
Result of the deployment.
func (*Deployment_Result) Descriptor
func (*Deployment_Result) Descriptor() ([]byte, []int)
Deprecated: Use Deployment_Result.ProtoReflect.Descriptor instead.
func (*Deployment_Result) GetDeploymentTestResults
func (x *Deployment_Result) GetDeploymentTestResults() []string
func (*Deployment_Result) GetExperiment
func (x *Deployment_Result) GetExperiment() string
func (*Deployment_Result) ProtoMessage
func (*Deployment_Result) ProtoMessage()
func (*Deployment_Result) ProtoReflect
func (x *Deployment_Result) ProtoReflect() protoreflect.Message
func (*Deployment_Result) Reset
func (x *Deployment_Result) Reset()
func (*Deployment_Result) String
func (x *Deployment_Result) String() string
Deployment_State
type Deployment_State int32
The state of the deployment.
Deployment_STATE_UNSPECIFIED, Deployment_RUNNING, Deployment_SUCCEEDED, Deployment_FAILED
const (
// State unspecified.
Deployment_STATE_UNSPECIFIED Deployment_State = 0
// The deployment is running.
Deployment_RUNNING Deployment_State = 1
// The deployment succeeded.
Deployment_SUCCEEDED Deployment_State = 2
// The deployment failed.
Deployment_FAILED Deployment_State = 3
)
func (Deployment_State) Descriptor
func (Deployment_State) Descriptor() protoreflect.EnumDescriptor
func (Deployment_State) Enum
func (x Deployment_State) Enum() *Deployment_State
func (Deployment_State) EnumDescriptor
func (Deployment_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Deployment_State.Descriptor instead.
func (Deployment_State) Number
func (x Deployment_State) Number() protoreflect.EnumNumber
func (Deployment_State) String
func (x Deployment_State) String() string
func (Deployment_State) Type
func (Deployment_State) Type() protoreflect.EnumType
DeploymentsClient
type DeploymentsClient interface {
// Returns the list of all deployments in the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
// Retrieves the specified
// [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].
GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
}
DeploymentsClient is the client API for Deployments service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDeploymentsClient
func NewDeploymentsClient(cc grpc.ClientConnInterface) DeploymentsClient
DeploymentsServer
type DeploymentsServer interface {
// Returns the list of all deployments in the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
// Retrieves the specified
// [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].
GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
}
DeploymentsServer is the server API for Deployments service.
DetectIntentRequest
type DetectIntentRequest struct {
// Required. The name of the session this query is sent to.
// Format: `projects/
The request to detect user's intent.
func (*DetectIntentRequest) Descriptor
func (*DetectIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetectIntentRequest.ProtoReflect.Descriptor instead.
func (*DetectIntentRequest) GetOutputAudioConfig
func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
func (*DetectIntentRequest) GetQueryInput
func (x *DetectIntentRequest) GetQueryInput() *QueryInput
func (*DetectIntentRequest) GetQueryParams
func (x *DetectIntentRequest) GetQueryParams() *QueryParameters
func (*DetectIntentRequest) GetSession
func (x *DetectIntentRequest) GetSession() string
func (*DetectIntentRequest) ProtoMessage
func (*DetectIntentRequest) ProtoMessage()
func (*DetectIntentRequest) ProtoReflect
func (x *DetectIntentRequest) ProtoReflect() protoreflect.Message
func (*DetectIntentRequest) Reset
func (x *DetectIntentRequest) Reset()
func (*DetectIntentRequest) String
func (x *DetectIntentRequest) String() string
DetectIntentResponse
type DetectIntentResponse struct {
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"`
OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
ResponseType DetectIntentResponse_ResponseType "" /* 172 byte string literal not displayed */
AllowCancellation bool `protobuf:"varint,7,opt,name=allow_cancellation,json=allowCancellation,proto3" json:"allow_cancellation,omitempty"`
}
The message returned from the DetectIntent method.
func (*DetectIntentResponse) Descriptor
func (*DetectIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectIntentResponse.ProtoReflect.Descriptor instead.
func (*DetectIntentResponse) GetAllowCancellation
func (x *DetectIntentResponse) GetAllowCancellation() bool
func (*DetectIntentResponse) GetOutputAudio
func (x *DetectIntentResponse) GetOutputAudio() []byte
func (*DetectIntentResponse) GetOutputAudioConfig
func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
func (*DetectIntentResponse) GetQueryResult
func (x *DetectIntentResponse) GetQueryResult() *QueryResult
func (*DetectIntentResponse) GetResponseId
func (x *DetectIntentResponse) GetResponseId() string
func (*DetectIntentResponse) GetResponseType
func (x *DetectIntentResponse) GetResponseType() DetectIntentResponse_ResponseType
func (*DetectIntentResponse) ProtoMessage
func (*DetectIntentResponse) ProtoMessage()
func (*DetectIntentResponse) ProtoReflect
func (x *DetectIntentResponse) ProtoReflect() protoreflect.Message
func (*DetectIntentResponse) Reset
func (x *DetectIntentResponse) Reset()
func (*DetectIntentResponse) String
func (x *DetectIntentResponse) String() string
DetectIntentResponse_ResponseType
type DetectIntentResponse_ResponseType int32
Represents different DetectIntentResponse types.
DetectIntentResponse_RESPONSE_TYPE_UNSPECIFIED, DetectIntentResponse_PARTIAL, DetectIntentResponse_FINAL
const (
// Not specified. This should never happen.
DetectIntentResponse_RESPONSE_TYPE_UNSPECIFIED DetectIntentResponse_ResponseType = 0
// Partial response. e.g. Aggregated responses in a Fulfillment that enables
// `return_partial_response` can be returned as partial response.
// WARNING: partial response is not eligible for barge-in.
DetectIntentResponse_PARTIAL DetectIntentResponse_ResponseType = 1
// Final response.
DetectIntentResponse_FINAL DetectIntentResponse_ResponseType = 2
)
func (DetectIntentResponse_ResponseType) Descriptor
func (DetectIntentResponse_ResponseType) Descriptor() protoreflect.EnumDescriptor
func (DetectIntentResponse_ResponseType) Enum
func (x DetectIntentResponse_ResponseType) Enum() *DetectIntentResponse_ResponseType
func (DetectIntentResponse_ResponseType) EnumDescriptor
func (DetectIntentResponse_ResponseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DetectIntentResponse_ResponseType.Descriptor instead.
func (DetectIntentResponse_ResponseType) Number
func (x DetectIntentResponse_ResponseType) Number() protoreflect.EnumNumber
func (DetectIntentResponse_ResponseType) String
func (x DetectIntentResponse_ResponseType) String() string
func (DetectIntentResponse_ResponseType) Type
func (DetectIntentResponse_ResponseType) Type() protoreflect.EnumType
DtmfInput
type DtmfInput struct {
// The dtmf digits.
Digits string `protobuf:"bytes,1,opt,name=digits,proto3" json:"digits,omitempty"`
// The finish digit (if any).
FinishDigit string `protobuf:"bytes,2,opt,name=finish_digit,json=finishDigit,proto3" json:"finish_digit,omitempty"`
// contains filtered or unexported fields
}
Represents the input for dtmf event.
func (*DtmfInput) Descriptor
Deprecated: Use DtmfInput.ProtoReflect.Descriptor instead.
func (*DtmfInput) GetDigits
func (*DtmfInput) GetFinishDigit
func (*DtmfInput) ProtoMessage
func (*DtmfInput) ProtoMessage()
func (*DtmfInput) ProtoReflect
func (x *DtmfInput) ProtoReflect() protoreflect.Message
func (*DtmfInput) Reset
func (x *DtmfInput) Reset()
func (*DtmfInput) String
EntityType
type EntityType struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.cx.v3beta1.EntityType_Kind" json:"kind,omitempty"`
AutoExpansionMode EntityType_AutoExpansionMode "" /* 184 byte string literal not displayed */
Entities []*EntityType_Entity `protobuf:"bytes,5,rep,name=entities,proto3" json:"entities,omitempty"`
ExcludedPhrases []*EntityType_ExcludedPhrase `protobuf:"bytes,6,rep,name=excluded_phrases,json=excludedPhrases,proto3" json:"excluded_phrases,omitempty"`
EnableFuzzyExtraction bool "" /* 127 byte string literal not displayed */
Redact bool `protobuf:"varint,9,opt,name=redact,proto3" json:"redact,omitempty"`
}
Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application.
When you define an entity, you can also include synonyms that all map to that entity. For example, "soft drink", "soda", "pop", and so on.
There are three types of entities:
System - entities that are defined by the Dialogflow API for common data types such as date, time, currency, and so on. A system entity is represented by the
EntityType
type.Custom - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a
pizza.sauce
entity for red or white pizza sauce, apizza.cheese
entity for the different types of cheese on a pizza, apizza.topping
entity for different toppings, and so on. A custom entity is represented by theEntityType
type.User - entities that are built for an individual user such as favorites, preferences, playlists, and so on. A user entity is represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3beta1.SessionEntityType] type.
For more information about entity types, see the Dialogflow documentation.
func (*EntityType) Descriptor
func (*EntityType) Descriptor() ([]byte, []int)
Deprecated: Use EntityType.ProtoReflect.Descriptor instead.
func (*EntityType) GetAutoExpansionMode
func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode
func (*EntityType) GetDisplayName
func (x *EntityType) GetDisplayName() string
func (*EntityType) GetEnableFuzzyExtraction
func (x *EntityType) GetEnableFuzzyExtraction() bool
func (*EntityType) GetEntities
func (x *EntityType) GetEntities() []*EntityType_Entity
func (*EntityType) GetExcludedPhrases
func (x *EntityType) GetExcludedPhrases() []*EntityType_ExcludedPhrase
func (*EntityType) GetKind
func (x *EntityType) GetKind() EntityType_Kind
func (*EntityType) GetName
func (x *EntityType) GetName() string
func (*EntityType) GetRedact
func (x *EntityType) GetRedact() bool
func (*EntityType) ProtoMessage
func (*EntityType) ProtoMessage()
func (*EntityType) ProtoReflect
func (x *EntityType) ProtoReflect() protoreflect.Message
func (*EntityType) Reset
func (x *EntityType) Reset()
func (*EntityType) String
func (x *EntityType) String() string
EntityType_AutoExpansionMode
type EntityType_AutoExpansionMode int32
Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).
EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED, EntityType_AUTO_EXPANSION_MODE_DEFAULT
const (
// Auto expansion disabled for the entity.
EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0
// Allows an agent to recognize values that have not been explicitly
// listed in the entity.
EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1
)
func (EntityType_AutoExpansionMode) Descriptor
func (EntityType_AutoExpansionMode) Descriptor() protoreflect.EnumDescriptor
func (EntityType_AutoExpansionMode) Enum
func (x EntityType_AutoExpansionMode) Enum() *EntityType_AutoExpansionMode
func (EntityType_AutoExpansionMode) EnumDescriptor
func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.
func (EntityType_AutoExpansionMode) Number
func (x EntityType_AutoExpansionMode) Number() protoreflect.EnumNumber
func (EntityType_AutoExpansionMode) String
func (x EntityType_AutoExpansionMode) String() string
func (EntityType_AutoExpansionMode) Type
func (EntityType_AutoExpansionMode) Type() protoreflect.EnumType
EntityType_Entity
type EntityType_Entity struct {
// Required. The primary value associated with this entity entry.
// For example, if the entity type is *vegetable*, the value could be
// *scallions*.
//
// For `KIND_MAP` entity types:
//
// * A canonical value to be used in place of synonyms.
//
// For `KIND_LIST` entity types:
//
// - A string that can contain references to other entity types (with or
// without aliases).
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// Required. A collection of value synonyms. For example, if the entity type
// is *vegetable*, and `value` is *scallions*, a synonym could be *green
// onions*.
//
// For `KIND_LIST` entity types:
//
// * This collection must contain exactly one synonym equal to `value`.
Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
// contains filtered or unexported fields
}
An entity entry for an associated entity type.
func (*EntityType_Entity) Descriptor
func (*EntityType_Entity) Descriptor() ([]byte, []int)
Deprecated: Use EntityType_Entity.ProtoReflect.Descriptor instead.
func (*EntityType_Entity) GetSynonyms
func (x *EntityType_Entity) GetSynonyms() []string
func (*EntityType_Entity) GetValue
func (x *EntityType_Entity) GetValue() string
func (*EntityType_Entity) ProtoMessage
func (*EntityType_Entity) ProtoMessage()
func (*EntityType_Entity) ProtoReflect
func (x *EntityType_Entity) ProtoReflect() protoreflect.Message
func (*EntityType_Entity) Reset
func (x *EntityType_Entity) Reset()
func (*EntityType_Entity) String
func (x *EntityType_Entity) String() string
EntityType_ExcludedPhrase
type EntityType_ExcludedPhrase struct {
// Required. The word or phrase to be excluded.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An excluded entity phrase that should not be matched.
func (*EntityType_ExcludedPhrase) Descriptor
func (*EntityType_ExcludedPhrase) Descriptor() ([]byte, []int)
Deprecated: Use EntityType_ExcludedPhrase.ProtoReflect.Descriptor instead.
func (*EntityType_ExcludedPhrase) GetValue
func (x *EntityType_ExcludedPhrase) GetValue() string
func (*EntityType_ExcludedPhrase) ProtoMessage
func (*EntityType_ExcludedPhrase) ProtoMessage()
func (*EntityType_ExcludedPhrase) ProtoReflect
func (x *EntityType_ExcludedPhrase) ProtoReflect() protoreflect.Message
func (*EntityType_ExcludedPhrase) Reset
func (x *EntityType_ExcludedPhrase) Reset()
func (*EntityType_ExcludedPhrase) String
func (x *EntityType_ExcludedPhrase) String() string
EntityType_Kind
type EntityType_Kind int32
Represents kinds of entities.
EntityType_KIND_UNSPECIFIED, EntityType_KIND_MAP, EntityType_KIND_LIST, EntityType_KIND_REGEXP
const (
// Not specified. This value should be never used.
EntityType_KIND_UNSPECIFIED EntityType_Kind = 0
// Map entity types allow mapping of a group of synonyms to a canonical
// value.
EntityType_KIND_MAP EntityType_Kind = 1
// List entity types contain a set of entries that do not map to canonical
// values. However, list entity types can contain references to other entity
// types (with or without aliases).
EntityType_KIND_LIST EntityType_Kind = 2
// Regexp entity types allow to specify regular expressions in entries
// values.
EntityType_KIND_REGEXP EntityType_Kind = 3
)
func (EntityType_Kind) Descriptor
func (EntityType_Kind) Descriptor() protoreflect.EnumDescriptor
func (EntityType_Kind) Enum
func (x EntityType_Kind) Enum() *EntityType_Kind
func (EntityType_Kind) EnumDescriptor
func (EntityType_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityType_Kind.Descriptor instead.
func (EntityType_Kind) Number
func (x EntityType_Kind) Number() protoreflect.EnumNumber
func (EntityType_Kind) String
func (x EntityType_Kind) String() string
func (EntityType_Kind) Type
func (EntityType_Kind) Type() protoreflect.EnumType
EntityTypesClient
type EntityTypesClient interface {
// Retrieves the specified entity type.
GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
// Creates an entity type in the specified agent.
CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
// Updates the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
// Deletes the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns the list of all entity types in the specified agent.
ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error)
// Exports the selected entity types.
ExportEntityTypes(ctx context.Context, in *ExportEntityTypesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports the specified entitytypes into the agent.
ImportEntityTypes(ctx context.Context, in *ImportEntityTypesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
EntityTypesClient is the client API for EntityTypes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEntityTypesClient
func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClient
EntityTypesServer
type EntityTypesServer interface {
// Retrieves the specified entity type.
GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
// Creates an entity type in the specified agent.
CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
// Updates the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
// Deletes the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
// Returns the list of all entity types in the specified agent.
ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
// Exports the selected entity types.
ExportEntityTypes(context.Context, *ExportEntityTypesRequest) (*longrunningpb.Operation, error)
// Imports the specified entitytypes into the agent.
ImportEntityTypes(context.Context, *ImportEntityTypesRequest) (*longrunningpb.Operation, error)
}
EntityTypesServer is the server API for EntityTypes service.
Environment
type Environment struct {
// The name of the environment.
// Format: `projects/
Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.
func (*Environment) Descriptor
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetDescription
func (x *Environment) GetDescription() string
func (*Environment) GetDisplayName
func (x *Environment) GetDisplayName() string
func (*Environment) GetName
func (x *Environment) GetName() string
func (*Environment) GetTestCasesConfig
func (x *Environment) GetTestCasesConfig() *Environment_TestCasesConfig
func (*Environment) GetUpdateTime
func (x *Environment) GetUpdateTime() *timestamppb.Timestamp
func (*Environment) GetVersionConfigs
func (x *Environment) GetVersionConfigs() []*Environment_VersionConfig
func (*Environment) GetWebhookConfig
func (x *Environment) GetWebhookConfig() *Environment_WebhookConfig
func (*Environment) ProtoMessage
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset
func (x *Environment) Reset()
func (*Environment) String
func (x *Environment) String() string
Environment_TestCasesConfig
type Environment_TestCasesConfig struct {
TestCases []string `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
EnableContinuousRun bool `protobuf:"varint,2,opt,name=enable_continuous_run,json=enableContinuousRun,proto3" json:"enable_continuous_run,omitempty"`
EnablePredeploymentRun bool "" /* 130 byte string literal not displayed */
}
The configuration for continuous tests.
func (*Environment_TestCasesConfig) Descriptor
func (*Environment_TestCasesConfig) Descriptor() ([]byte, []int)
Deprecated: Use Environment_TestCasesConfig.ProtoReflect.Descriptor instead.
func (*Environment_TestCasesConfig) GetEnableContinuousRun
func (x *Environment_TestCasesConfig) GetEnableContinuousRun() bool
func (*Environment_TestCasesConfig) GetEnablePredeploymentRun
func (x *Environment_TestCasesConfig) GetEnablePredeploymentRun() bool
func (*Environment_TestCasesConfig) GetTestCases
func (x *Environment_TestCasesConfig) GetTestCases() []string
func (*Environment_TestCasesConfig) ProtoMessage
func (*Environment_TestCasesConfig) ProtoMessage()
func (*Environment_TestCasesConfig) ProtoReflect
func (x *Environment_TestCasesConfig) ProtoReflect() protoreflect.Message
func (*Environment_TestCasesConfig) Reset
func (x *Environment_TestCasesConfig) Reset()
func (*Environment_TestCasesConfig) String
func (x *Environment_TestCasesConfig) String() string
Environment_VersionConfig
type Environment_VersionConfig struct {
// Required. Format: projects/
Configuration for the version.
func (*Environment_VersionConfig) Descriptor
func (*Environment_VersionConfig) Descriptor() ([]byte, []int)
Deprecated: Use Environment_VersionConfig.ProtoReflect.Descriptor instead.
func (*Environment_VersionConfig) GetVersion
func (x *Environment_VersionConfig) GetVersion() string
func (*Environment_VersionConfig) ProtoMessage
func (*Environment_VersionConfig) ProtoMessage()
func (*Environment_VersionConfig) ProtoReflect
func (x *Environment_VersionConfig) ProtoReflect() protoreflect.Message
func (*Environment_VersionConfig) Reset
func (x *Environment_VersionConfig) Reset()
func (*Environment_VersionConfig) String
func (x *Environment_VersionConfig) String() string
Environment_WebhookConfig
type Environment_WebhookConfig struct {
// The list of webhooks to override for the agent environment. The webhook
// must exist in the agent. You can override fields in
// [`generic_web_service`][google.cloud.dialogflow.cx.v3beta1.Webhook.generic_web_service]
// and
// [`service_directory`][google.cloud.dialogflow.cx.v3beta1.Webhook.service_directory].
WebhookOverrides []*Webhook `protobuf:"bytes,1,rep,name=webhook_overrides,json=webhookOverrides,proto3" json:"webhook_overrides,omitempty"`
// contains filtered or unexported fields
}
Configuration for webhooks.
func (*Environment_WebhookConfig) Descriptor
func (*Environment_WebhookConfig) Descriptor() ([]byte, []int)
Deprecated: Use Environment_WebhookConfig.ProtoReflect.Descriptor instead.
func (*Environment_WebhookConfig) GetWebhookOverrides
func (x *Environment_WebhookConfig) GetWebhookOverrides() []*Webhook
func (*Environment_WebhookConfig) ProtoMessage
func (*Environment_WebhookConfig) ProtoMessage()
func (*Environment_WebhookConfig) ProtoReflect
func (x *Environment_WebhookConfig) ProtoReflect() protoreflect.Message
func (*Environment_WebhookConfig) Reset
func (x *Environment_WebhookConfig) Reset()
func (*Environment_WebhookConfig) String
func (x *Environment_WebhookConfig) String() string
EnvironmentsClient
type EnvironmentsClient interface {
// Returns the list of all environments in the specified
// [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error)
// Retrieves the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error)
// Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in
// the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Looks up the history of the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
LookupEnvironmentHistory(ctx context.Context, in *LookupEnvironmentHistoryRequest, opts ...grpc.CallOption) (*LookupEnvironmentHistoryResponse, error)
// Kicks off a continuous test under the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`:
// [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata]
// - `response`:
// [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]
RunContinuousTest(ctx context.Context, in *RunContinuousTestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Fetches a list of continuous test results for a given environment.
ListContinuousTestResults(ctx context.Context, in *ListContinuousTestResultsRequest, opts ...grpc.CallOption) (*ListContinuousTestResultsResponse, error)
// Deploys a flow to the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`:
// [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata]
// - `response`:
// [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]
DeployFlow(ctx context.Context, in *DeployFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
EnvironmentsClient is the client API for Environments service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEnvironmentsClient
func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient
EnvironmentsServer
type EnvironmentsServer interface {
// Returns the list of all environments in the specified
// [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
// Retrieves the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
// Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in
// the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error)
// Updates the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]
UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error)
// Deletes the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
// Looks up the history of the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)
// Kicks off a continuous test under the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`:
// [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata]
// - `response`:
// [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]
RunContinuousTest(context.Context, *RunContinuousTestRequest) (*longrunningpb.Operation, error)
// Fetches a list of continuous test results for a given environment.
ListContinuousTestResults(context.Context, *ListContinuousTestResultsRequest) (*ListContinuousTestResultsResponse, error)
// Deploys a flow to the specified
// [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
//
// This method is a [long-running
// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
// The returned `Operation` type has the following method-specific fields:
//
// - `metadata`:
// [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata]
// - `response`:
// [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]
DeployFlow(context.Context, *DeployFlowRequest) (*longrunningpb.Operation, error)
}
EnvironmentsServer is the server API for Environments service.
EventHandler
type EventHandler struct {
// Output only. The unique identifier of this event handler.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Required. The name of the event to handle.
Event string `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
// The fulfillment to call when the event occurs.
// Handling webhook errors with a fulfillment enabled with webhook could
// cause infinite loop. It is invalid to specify such fulfillment for a
// handler handling webhooks.
TriggerFulfillment *Fulfillment `protobuf:"bytes,5,opt,name=trigger_fulfillment,json=triggerFulfillment,proto3" json:"trigger_fulfillment,omitempty"`
// The target to transition to, either a page in the same host flow (the flow
// that owns this
// [TransitionRoute][google.cloud.dialogflow.cx.v3beta1.TransitionRoute]), or
// another flow in the same agent.
//
// Types that are assignable to Target:
//
// *EventHandler_TargetPage
// *EventHandler_TargetFlow
Target isEventHandler_Target `protobuf_oneof:"target"`
// contains filtered or unexported fields
}
An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.EventHandler.event] that can be handled during a session. When the specified event happens, the following actions are taken in order:
- If there is a
[
trigger_fulfillment
][google.cloud.dialogflow.cx.v3beta1.EventHandler.trigger_fulfillment] associated with the event, it will be called. - If there is a
[
target_page
][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_page] associated with the event, the session will transition into the specified page. - If there is a
[
target_flow
][google.cloud.dialogflow.cx.v3beta1.EventHandler.target_flow] associated with the event, the session will transition into the specified flow.
func (*EventHandler) Descriptor
func (*EventHandler) Descriptor() ([]byte, []int)
Deprecated: Use EventHandler.ProtoReflect.Descriptor instead.
func (*EventHandler) GetEvent
func (x *EventHandler) GetEvent() string
func (*EventHandler) GetName
func (x *EventHandler) GetName() string
func (*EventHandler) GetTarget
func (m *EventHandler) GetTarget() isEventHandler_Target
func (*EventHandler) GetTargetFlow
func (x *EventHandler) GetTargetFlow() string
func (*EventHandler) GetTargetPage
func (x *EventHandler) GetTargetPage() string
func (*EventHandler) GetTriggerFulfillment
func (x *EventHandler) GetTriggerFulfillment() *Fulfillment
func (*EventHandler) ProtoMessage
func (*EventHandler) ProtoMessage()
func (*EventHandler) ProtoReflect
func (x *EventHandler) ProtoReflect() protoreflect.Message
func (*EventHandler) Reset
func (x *EventHandler) Reset()
func (*EventHandler) String
func (x *EventHandler) String() string
EventHandler_TargetFlow
type EventHandler_TargetFlow struct {
// The target flow to transition to.
// Format: `projects/
EventHandler_TargetPage
type EventHandler_TargetPage struct {
// The target page to transition to.
// Format: `projects/
EventInput
type EventInput struct {
// Name of the event.
Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
// contains filtered or unexported fields
}
Represents the event to trigger.
func (*EventInput) Descriptor
func (*EventInput) Descriptor() ([]byte, []int)
Deprecated: Use EventInput.ProtoReflect.Descriptor instead.
func (*EventInput) GetEvent
func (x *EventInput) GetEvent() string
func (*EventInput) ProtoMessage
func (*EventInput) ProtoMessage()
func (*EventInput) ProtoReflect
func (x *EventInput) ProtoReflect() protoreflect.Message
func (*EventInput) Reset
func (x *EventInput) Reset()
func (*EventInput) String
func (x *EventInput) String() string
Example
type Example struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
PlaybookInput *PlaybookInput `protobuf:"bytes,3,opt,name=playbook_input,json=playbookInput,proto3" json:"playbook_input,omitempty"`
PlaybookOutput *PlaybookOutput `protobuf:"bytes,4,opt,name=playbook_output,json=playbookOutput,proto3" json:"playbook_output,omitempty"`
Actions []*Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
TokenCount int64 `protobuf:"varint,9,opt,name=token_count,json=tokenCount,proto3" json:"token_count,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
ConversationState OutputState "" /* 166 byte string literal not displayed */
LanguageCode string `protobuf:"bytes,13,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
}
Example represents a sample execution of the playbook in the conversation.
An example consists of a list of ordered actions performed by end user or Dialogflow agent according the playbook instructions to fulfill the task.
func (*Example) Descriptor
Deprecated: Use Example.ProtoReflect.Descriptor instead.
func (*Example) GetActions
func (*Example) GetConversationState
func (x *Example) GetConversationState() OutputState