Documentation ¶
Index ¶
- Variables
- func RegisterAgentsServer(s *grpc.Server, srv AgentsServer)
- func RegisterChangelogsServer(s *grpc.Server, srv ChangelogsServer)
- func RegisterDeploymentsServer(s *grpc.Server, srv DeploymentsServer)
- func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer)
- func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer)
- func RegisterExperimentsServer(s *grpc.Server, srv ExperimentsServer)
- func RegisterFlowsServer(s *grpc.Server, srv FlowsServer)
- func RegisterGeneratorsServer(s *grpc.Server, srv GeneratorsServer)
- func RegisterIntentsServer(s *grpc.Server, srv IntentsServer)
- func RegisterPagesServer(s *grpc.Server, srv PagesServer)
- func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer)
- func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer)
- func RegisterSessionsServer(s *grpc.Server, srv SessionsServer)
- func RegisterTestCasesServer(s *grpc.Server, srv TestCasesServer)
- func RegisterTransitionRouteGroupsServer(s *grpc.Server, srv TransitionRouteGroupsServer)
- func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)
- func RegisterWebhooksServer(s *grpc.Server, srv WebhooksServer)
- type AdvancedSettings
- func (*AdvancedSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedSettings) GetAudioExportGcsDestination() *GcsDestination
- func (x *AdvancedSettings) GetDtmfSettings() *AdvancedSettings_DtmfSettings
- func (x *AdvancedSettings) GetLoggingSettings() *AdvancedSettings_LoggingSettings
- func (x *AdvancedSettings) GetSpeechSettings() *AdvancedSettings_SpeechSettings
- func (*AdvancedSettings) ProtoMessage()
- func (x *AdvancedSettings) ProtoReflect() protoreflect.Message
- func (x *AdvancedSettings) Reset()
- func (x *AdvancedSettings) String() string
- type AdvancedSettings_DtmfSettings
- func (*AdvancedSettings_DtmfSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedSettings_DtmfSettings) GetEnabled() bool
- func (x *AdvancedSettings_DtmfSettings) GetEndpointingTimeoutDuration() *durationpb.Duration
- func (x *AdvancedSettings_DtmfSettings) GetFinishDigit() string
- func (x *AdvancedSettings_DtmfSettings) GetInterdigitTimeoutDuration() *durationpb.Duration
- func (x *AdvancedSettings_DtmfSettings) GetMaxDigits() int32
- func (*AdvancedSettings_DtmfSettings) ProtoMessage()
- func (x *AdvancedSettings_DtmfSettings) ProtoReflect() protoreflect.Message
- func (x *AdvancedSettings_DtmfSettings) Reset()
- func (x *AdvancedSettings_DtmfSettings) String() string
- type AdvancedSettings_LoggingSettings
- func (*AdvancedSettings_LoggingSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedSettings_LoggingSettings) GetEnableConsentBasedRedaction() bool
- func (x *AdvancedSettings_LoggingSettings) GetEnableInteractionLogging() bool
- func (x *AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging() bool
- func (*AdvancedSettings_LoggingSettings) ProtoMessage()
- func (x *AdvancedSettings_LoggingSettings) ProtoReflect() protoreflect.Message
- func (x *AdvancedSettings_LoggingSettings) Reset()
- func (x *AdvancedSettings_LoggingSettings) String() string
- type AdvancedSettings_SpeechSettings
- func (*AdvancedSettings_SpeechSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AdvancedSettings_SpeechSettings) GetEndpointerSensitivity() int32
- func (x *AdvancedSettings_SpeechSettings) GetModels() map[string]string
- func (x *AdvancedSettings_SpeechSettings) GetNoSpeechTimeout() *durationpb.Duration
- func (x *AdvancedSettings_SpeechSettings) GetUseTimeoutBasedEndpointing() bool
- func (*AdvancedSettings_SpeechSettings) ProtoMessage()
- func (x *AdvancedSettings_SpeechSettings) ProtoReflect() protoreflect.Message
- func (x *AdvancedSettings_SpeechSettings) Reset()
- func (x *AdvancedSettings_SpeechSettings) String() string
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetAdvancedSettings() *AdvancedSettings
- func (x *Agent) GetAnswerFeedbackSettings() *Agent_AnswerFeedbackSettings
- func (x *Agent) GetAvatarUri() string
- func (x *Agent) GetClientCertificateSettings() *Agent_ClientCertificateSettings
- func (x *Agent) GetDefaultLanguageCode() string
- func (x *Agent) GetDescription() string
- func (x *Agent) GetDisplayName() string
- func (x *Agent) GetEnableMultiLanguageTraining() bool
- func (x *Agent) GetEnableSpellCorrection() bool
- func (x *Agent) GetEnableStackdriverLogging() booldeprecated
- func (x *Agent) GetGenAppBuilderSettings() *Agent_GenAppBuilderSettings
- func (x *Agent) GetGitIntegrationSettings() *Agent_GitIntegrationSettings
- func (x *Agent) GetLocked() bool
- func (x *Agent) GetName() string
- func (x *Agent) GetPersonalizationSettings() *Agent_PersonalizationSettings
- func (x *Agent) GetSecuritySettings() string
- func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings
- func (x *Agent) GetStartFlow() string
- func (x *Agent) GetSupportedLanguageCodes() []string
- func (x *Agent) GetTextToSpeechSettings() *TextToSpeechSettings
- func (x *Agent) GetTimeZone() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type AgentValidationResult
- func (*AgentValidationResult) Descriptor() ([]byte, []int)deprecated
- func (x *AgentValidationResult) GetFlowValidationResults() []*FlowValidationResult
- func (x *AgentValidationResult) GetName() string
- func (*AgentValidationResult) ProtoMessage()
- func (x *AgentValidationResult) ProtoReflect() protoreflect.Message
- func (x *AgentValidationResult) Reset()
- func (x *AgentValidationResult) String() string
- type Agent_AnswerFeedbackSettings
- func (*Agent_AnswerFeedbackSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback() bool
- func (*Agent_AnswerFeedbackSettings) ProtoMessage()
- func (x *Agent_AnswerFeedbackSettings) ProtoReflect() protoreflect.Message
- func (x *Agent_AnswerFeedbackSettings) Reset()
- func (x *Agent_AnswerFeedbackSettings) String() string
- type Agent_ClientCertificateSettings
- func (*Agent_ClientCertificateSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Agent_ClientCertificateSettings) GetPassphrase() string
- func (x *Agent_ClientCertificateSettings) GetPrivateKey() string
- func (x *Agent_ClientCertificateSettings) GetSslCertificate() string
- func (*Agent_ClientCertificateSettings) ProtoMessage()
- func (x *Agent_ClientCertificateSettings) ProtoReflect() protoreflect.Message
- func (x *Agent_ClientCertificateSettings) Reset()
- func (x *Agent_ClientCertificateSettings) String() string
- type Agent_GenAppBuilderSettings
- func (*Agent_GenAppBuilderSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Agent_GenAppBuilderSettings) GetEngine() string
- func (*Agent_GenAppBuilderSettings) ProtoMessage()
- func (x *Agent_GenAppBuilderSettings) ProtoReflect() protoreflect.Message
- func (x *Agent_GenAppBuilderSettings) Reset()
- func (x *Agent_GenAppBuilderSettings) String() string
- type Agent_GitIntegrationSettings
- func (*Agent_GitIntegrationSettings) Descriptor() ([]byte, []int)deprecated
- func (m *Agent_GitIntegrationSettings) GetGitSettings() isAgent_GitIntegrationSettings_GitSettings
- func (x *Agent_GitIntegrationSettings) GetGithubSettings() *Agent_GitIntegrationSettings_GithubSettings
- func (*Agent_GitIntegrationSettings) ProtoMessage()
- func (x *Agent_GitIntegrationSettings) ProtoReflect() protoreflect.Message
- func (x *Agent_GitIntegrationSettings) Reset()
- func (x *Agent_GitIntegrationSettings) String() string
- type Agent_GitIntegrationSettings_GithubSettings
- func (*Agent_GitIntegrationSettings_GithubSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Agent_GitIntegrationSettings_GithubSettings) GetAccessToken() string
- func (x *Agent_GitIntegrationSettings_GithubSettings) GetBranches() []string
- func (x *Agent_GitIntegrationSettings_GithubSettings) GetDisplayName() string
- func (x *Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri() string
- func (x *Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch() string
- func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage()
- func (x *Agent_GitIntegrationSettings_GithubSettings) ProtoReflect() protoreflect.Message
- func (x *Agent_GitIntegrationSettings_GithubSettings) Reset()
- func (x *Agent_GitIntegrationSettings_GithubSettings) String() string
- type Agent_GitIntegrationSettings_GithubSettings_
- type Agent_PersonalizationSettings
- func (*Agent_PersonalizationSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Agent_PersonalizationSettings) GetDefaultEndUserMetadata() *structpb.Struct
- func (*Agent_PersonalizationSettings) ProtoMessage()
- func (x *Agent_PersonalizationSettings) ProtoReflect() protoreflect.Message
- func (x *Agent_PersonalizationSettings) Reset()
- func (x *Agent_PersonalizationSettings) String() string
- type AgentsClient
- type AgentsServer
- type AnswerFeedback
- func (*AnswerFeedback) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerFeedback) GetCustomRating() string
- func (x *AnswerFeedback) GetRating() AnswerFeedback_Rating
- func (x *AnswerFeedback) GetRatingReason() *AnswerFeedback_RatingReason
- func (*AnswerFeedback) ProtoMessage()
- func (x *AnswerFeedback) ProtoReflect() protoreflect.Message
- func (x *AnswerFeedback) Reset()
- func (x *AnswerFeedback) String() string
- type AnswerFeedback_Rating
- func (AnswerFeedback_Rating) Descriptor() protoreflect.EnumDescriptor
- func (x AnswerFeedback_Rating) Enum() *AnswerFeedback_Rating
- func (AnswerFeedback_Rating) EnumDescriptor() ([]byte, []int)deprecated
- func (x AnswerFeedback_Rating) Number() protoreflect.EnumNumber
- func (x AnswerFeedback_Rating) String() string
- func (AnswerFeedback_Rating) Type() protoreflect.EnumType
- type AnswerFeedback_RatingReason
- func (*AnswerFeedback_RatingReason) Descriptor() ([]byte, []int)deprecated
- func (x *AnswerFeedback_RatingReason) GetFeedback() string
- func (x *AnswerFeedback_RatingReason) GetReasonLabels() []string
- func (*AnswerFeedback_RatingReason) ProtoMessage()
- func (x *AnswerFeedback_RatingReason) ProtoReflect() protoreflect.Message
- func (x *AnswerFeedback_RatingReason) Reset()
- func (x *AnswerFeedback_RatingReason) String() string
- type AudioEncoding
- func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x AudioEncoding) Enum() *AudioEncoding
- func (AudioEncoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x AudioEncoding) Number() protoreflect.EnumNumber
- func (x AudioEncoding) String() string
- func (AudioEncoding) Type() protoreflect.EnumType
- type AudioInput
- func (*AudioInput) Descriptor() ([]byte, []int)deprecated
- func (x *AudioInput) GetAudio() []byte
- func (x *AudioInput) GetConfig() *InputAudioConfig
- func (*AudioInput) ProtoMessage()
- func (x *AudioInput) ProtoReflect() protoreflect.Message
- func (x *AudioInput) Reset()
- func (x *AudioInput) String() string
- type BargeInConfig
- func (*BargeInConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration
- func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration
- func (*BargeInConfig) ProtoMessage()
- func (x *BargeInConfig) ProtoReflect() protoreflect.Message
- func (x *BargeInConfig) Reset()
- func (x *BargeInConfig) String() string
- type BatchDeleteTestCasesRequest
- func (*BatchDeleteTestCasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchDeleteTestCasesRequest) GetNames() []string
- func (x *BatchDeleteTestCasesRequest) GetParent() string
- func (*BatchDeleteTestCasesRequest) ProtoMessage()
- func (x *BatchDeleteTestCasesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteTestCasesRequest) Reset()
- func (x *BatchDeleteTestCasesRequest) String() string
- type BatchRunTestCasesMetadata
- func (*BatchRunTestCasesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunTestCasesMetadata) GetErrors() []*TestError
- func (*BatchRunTestCasesMetadata) ProtoMessage()
- func (x *BatchRunTestCasesMetadata) ProtoReflect() protoreflect.Message
- func (x *BatchRunTestCasesMetadata) Reset()
- func (x *BatchRunTestCasesMetadata) String() string
- type BatchRunTestCasesRequest
- func (*BatchRunTestCasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunTestCasesRequest) GetEnvironment() string
- func (x *BatchRunTestCasesRequest) GetParent() string
- func (x *BatchRunTestCasesRequest) GetTestCases() []string
- func (*BatchRunTestCasesRequest) ProtoMessage()
- func (x *BatchRunTestCasesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchRunTestCasesRequest) Reset()
- func (x *BatchRunTestCasesRequest) String() string
- type BatchRunTestCasesResponse
- func (*BatchRunTestCasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchRunTestCasesResponse) GetResults() []*TestCaseResult
- func (*BatchRunTestCasesResponse) ProtoMessage()
- func (x *BatchRunTestCasesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchRunTestCasesResponse) Reset()
- func (x *BatchRunTestCasesResponse) String() string
- type BoostSpec
- type BoostSpec_ConditionBoostSpec
- func (*BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *BoostSpec_ConditionBoostSpec) GetBoost() float32
- func (x *BoostSpec_ConditionBoostSpec) GetBoostControlSpec() *BoostSpec_ConditionBoostSpec_BoostControlSpec
- func (x *BoostSpec_ConditionBoostSpec) GetCondition() string
- func (*BoostSpec_ConditionBoostSpec) ProtoMessage()
- func (x *BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message
- func (x *BoostSpec_ConditionBoostSpec) Reset()
- func (x *BoostSpec_ConditionBoostSpec) String() string
- type BoostSpec_ConditionBoostSpec_BoostControlSpec
- func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor() ([]byte, []int)deprecated
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType() BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints() []*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName() string
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType() BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
- func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage()
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect() protoreflect.Message
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset()
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) String() string
- type BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
- func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor() protoreflect.EnumDescriptor
- func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Enum() *BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
- func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Number() protoreflect.EnumNumber
- func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String() string
- func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Type() protoreflect.EnumType
- type BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
- func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor() ([]byte, []int)deprecated
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue() string
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount() float32
- func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage()
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect() protoreflect.Message
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset()
- func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String() string
- type BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
- func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor() protoreflect.EnumDescriptor
- func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Enum() *BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
- func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Number() protoreflect.EnumNumber
- func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String() string
- func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Type() protoreflect.EnumType
- type BoostSpecs
- func (*BoostSpecs) Descriptor() ([]byte, []int)deprecated
- func (x *BoostSpecs) GetDataStores() []string
- func (x *BoostSpecs) GetSpec() []*BoostSpec
- func (*BoostSpecs) ProtoMessage()
- func (x *BoostSpecs) ProtoReflect() protoreflect.Message
- func (x *BoostSpecs) Reset()
- func (x *BoostSpecs) String() string
- type CalculateCoverageRequest
- func (*CalculateCoverageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateCoverageRequest) GetAgent() string
- func (x *CalculateCoverageRequest) GetType() CalculateCoverageRequest_CoverageType
- func (*CalculateCoverageRequest) ProtoMessage()
- func (x *CalculateCoverageRequest) ProtoReflect() protoreflect.Message
- func (x *CalculateCoverageRequest) Reset()
- func (x *CalculateCoverageRequest) String() string
- type CalculateCoverageRequest_CoverageType
- func (CalculateCoverageRequest_CoverageType) Descriptor() protoreflect.EnumDescriptor
- func (x CalculateCoverageRequest_CoverageType) Enum() *CalculateCoverageRequest_CoverageType
- func (CalculateCoverageRequest_CoverageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CalculateCoverageRequest_CoverageType) Number() protoreflect.EnumNumber
- func (x CalculateCoverageRequest_CoverageType) String() string
- func (CalculateCoverageRequest_CoverageType) Type() protoreflect.EnumType
- type CalculateCoverageResponse
- func (*CalculateCoverageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CalculateCoverageResponse) GetAgent() string
- func (m *CalculateCoverageResponse) GetCoverageType() isCalculateCoverageResponse_CoverageType
- func (x *CalculateCoverageResponse) GetIntentCoverage() *IntentCoverage
- func (x *CalculateCoverageResponse) GetRouteGroupCoverage() *TransitionRouteGroupCoverage
- func (x *CalculateCoverageResponse) GetTransitionCoverage() *TransitionCoverage
- func (*CalculateCoverageResponse) ProtoMessage()
- func (x *CalculateCoverageResponse) ProtoReflect() protoreflect.Message
- func (x *CalculateCoverageResponse) Reset()
- func (x *CalculateCoverageResponse) String() string
- type CalculateCoverageResponse_IntentCoverage
- type CalculateCoverageResponse_RouteGroupCoverage
- type CalculateCoverageResponse_TransitionCoverage
- type Changelog
- func (*Changelog) Descriptor() ([]byte, []int)deprecated
- func (x *Changelog) GetAction() string
- func (x *Changelog) GetCreateTime() *timestamppb.Timestamp
- func (x *Changelog) GetDisplayName() string
- func (x *Changelog) GetLanguageCode() string
- func (x *Changelog) GetName() string
- func (x *Changelog) GetResource() string
- func (x *Changelog) GetType() string
- func (x *Changelog) GetUserEmail() string
- func (*Changelog) ProtoMessage()
- func (x *Changelog) ProtoReflect() protoreflect.Message
- func (x *Changelog) Reset()
- func (x *Changelog) String() string
- type ChangelogsClient
- type ChangelogsServer
- type CloudConversationDebuggingInfo
- func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32
- func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool
- func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetIsInputText() bool
- func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32
- func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool
- func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32
- func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool
- func (*CloudConversationDebuggingInfo) ProtoMessage()
- func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Message
- func (x *CloudConversationDebuggingInfo) Reset()
- func (x *CloudConversationDebuggingInfo) String() string
- type CompareVersionsRequest
- func (*CompareVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompareVersionsRequest) GetBaseVersion() string
- func (x *CompareVersionsRequest) GetLanguageCode() string
- func (x *CompareVersionsRequest) GetTargetVersion() string
- func (*CompareVersionsRequest) ProtoMessage()
- func (x *CompareVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *CompareVersionsRequest) Reset()
- func (x *CompareVersionsRequest) String() string
- type CompareVersionsResponse
- func (*CompareVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompareVersionsResponse) GetBaseVersionContentJson() string
- func (x *CompareVersionsResponse) GetCompareTime() *timestamppb.Timestamp
- func (x *CompareVersionsResponse) GetTargetVersionContentJson() string
- func (*CompareVersionsResponse) ProtoMessage()
- func (x *CompareVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *CompareVersionsResponse) Reset()
- func (x *CompareVersionsResponse) String() string
- type ContinuousTestResult
- func (*ContinuousTestResult) Descriptor() ([]byte, []int)deprecated
- func (x *ContinuousTestResult) GetName() string
- func (x *ContinuousTestResult) GetResult() ContinuousTestResult_AggregatedTestResult
- func (x *ContinuousTestResult) GetRunTime() *timestamppb.Timestamp
- func (x *ContinuousTestResult) GetTestCaseResults() []string
- func (*ContinuousTestResult) ProtoMessage()
- func (x *ContinuousTestResult) ProtoReflect() protoreflect.Message
- func (x *ContinuousTestResult) Reset()
- func (x *ContinuousTestResult) String() string
- type ContinuousTestResult_AggregatedTestResult
- func (ContinuousTestResult_AggregatedTestResult) Descriptor() protoreflect.EnumDescriptor
- func (x ContinuousTestResult_AggregatedTestResult) Enum() *ContinuousTestResult_AggregatedTestResult
- func (ContinuousTestResult_AggregatedTestResult) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContinuousTestResult_AggregatedTestResult) Number() protoreflect.EnumNumber
- func (x ContinuousTestResult_AggregatedTestResult) String() string
- func (ContinuousTestResult_AggregatedTestResult) Type() protoreflect.EnumType
- type ConversationTurn
- func (*ConversationTurn) Descriptor() ([]byte, []int)deprecated
- func (x *ConversationTurn) GetUserInput() *ConversationTurn_UserInput
- func (x *ConversationTurn) GetVirtualAgentOutput() *ConversationTurn_VirtualAgentOutput
- func (*ConversationTurn) ProtoMessage()
- func (x *ConversationTurn) ProtoReflect() protoreflect.Message
- func (x *ConversationTurn) Reset()
- func (x *ConversationTurn) String() string
- type ConversationTurn_UserInput
- func (*ConversationTurn_UserInput) Descriptor() ([]byte, []int)deprecated
- func (x *ConversationTurn_UserInput) GetEnableSentimentAnalysis() bool
- func (x *ConversationTurn_UserInput) GetInjectedParameters() *structpb.Struct
- func (x *ConversationTurn_UserInput) GetInput() *QueryInput
- func (x *ConversationTurn_UserInput) GetIsWebhookEnabled() bool
- func (*ConversationTurn_UserInput) ProtoMessage()
- func (x *ConversationTurn_UserInput) ProtoReflect() protoreflect.Message
- func (x *ConversationTurn_UserInput) Reset()
- func (x *ConversationTurn_UserInput) String() string
- type ConversationTurn_VirtualAgentOutput
- func (*ConversationTurn_VirtualAgentOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ConversationTurn_VirtualAgentOutput) GetCurrentPage() *Page
- func (x *ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo() *structpb.Struct
- func (x *ConversationTurn_VirtualAgentOutput) GetDifferences() []*TestRunDifference
- func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *structpb.Struct
- func (x *ConversationTurn_VirtualAgentOutput) GetStatus() *status.Status
- func (x *ConversationTurn_VirtualAgentOutput) GetTextResponses() []*ResponseMessage_Text
- func (x *ConversationTurn_VirtualAgentOutput) GetTriggeredIntent() *Intent
- func (*ConversationTurn_VirtualAgentOutput) ProtoMessage()
- func (x *ConversationTurn_VirtualAgentOutput) ProtoReflect() protoreflect.Message
- func (x *ConversationTurn_VirtualAgentOutput) Reset()
- func (x *ConversationTurn_VirtualAgentOutput) String() string
- type CreateAgentRequest
- func (*CreateAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentRequest) GetAgent() *Agent
- func (x *CreateAgentRequest) GetParent() string
- func (*CreateAgentRequest) ProtoMessage()
- func (x *CreateAgentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAgentRequest) Reset()
- func (x *CreateAgentRequest) String() string
- type CreateEntityTypeRequest
- func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntityTypeRequest) GetEntityType() *EntityType
- func (x *CreateEntityTypeRequest) GetLanguageCode() string
- func (x *CreateEntityTypeRequest) GetParent() string
- func (*CreateEntityTypeRequest) ProtoMessage()
- func (x *CreateEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEntityTypeRequest) Reset()
- func (x *CreateEntityTypeRequest) String() string
- type CreateEnvironmentRequest
- func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEnvironmentRequest) GetEnvironment() *Environment
- func (x *CreateEnvironmentRequest) GetParent() string
- func (*CreateEnvironmentRequest) ProtoMessage()
- func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEnvironmentRequest) Reset()
- func (x *CreateEnvironmentRequest) String() string
- type CreateExperimentRequest
- func (*CreateExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateExperimentRequest) GetExperiment() *Experiment
- func (x *CreateExperimentRequest) GetParent() string
- func (*CreateExperimentRequest) ProtoMessage()
- func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateExperimentRequest) Reset()
- func (x *CreateExperimentRequest) String() string
- type CreateFlowRequest
- func (*CreateFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFlowRequest) GetFlow() *Flow
- func (x *CreateFlowRequest) GetLanguageCode() string
- func (x *CreateFlowRequest) GetParent() string
- func (*CreateFlowRequest) ProtoMessage()
- func (x *CreateFlowRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFlowRequest) Reset()
- func (x *CreateFlowRequest) String() string
- type CreateGeneratorRequest
- func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGeneratorRequest) GetGenerator() *Generator
- func (x *CreateGeneratorRequest) GetLanguageCode() string
- func (x *CreateGeneratorRequest) GetParent() string
- func (*CreateGeneratorRequest) ProtoMessage()
- func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGeneratorRequest) Reset()
- func (x *CreateGeneratorRequest) String() string
- type CreateIntentRequest
- func (*CreateIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIntentRequest) GetIntent() *Intent
- func (x *CreateIntentRequest) GetLanguageCode() string
- func (x *CreateIntentRequest) GetParent() string
- func (*CreateIntentRequest) ProtoMessage()
- func (x *CreateIntentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIntentRequest) Reset()
- func (x *CreateIntentRequest) String() string
- type CreatePageRequest
- func (*CreatePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePageRequest) GetLanguageCode() string
- func (x *CreatePageRequest) GetPage() *Page
- func (x *CreatePageRequest) GetParent() string
- func (*CreatePageRequest) ProtoMessage()
- func (x *CreatePageRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePageRequest) Reset()
- func (x *CreatePageRequest) String() string
- type CreateSecuritySettingsRequest
- func (*CreateSecuritySettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecuritySettingsRequest) GetParent() string
- func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings
- func (*CreateSecuritySettingsRequest) ProtoMessage()
- func (x *CreateSecuritySettingsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecuritySettingsRequest) Reset()
- func (x *CreateSecuritySettingsRequest) String() string
- type CreateSessionEntityTypeRequest
- func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionEntityTypeRequest) GetParent() string
- func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
- func (*CreateSessionEntityTypeRequest) ProtoMessage()
- func (x *CreateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionEntityTypeRequest) Reset()
- func (x *CreateSessionEntityTypeRequest) String() string
- type CreateTestCaseRequest
- func (*CreateTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTestCaseRequest) GetParent() string
- func (x *CreateTestCaseRequest) GetTestCase() *TestCase
- func (*CreateTestCaseRequest) ProtoMessage()
- func (x *CreateTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTestCaseRequest) Reset()
- func (x *CreateTestCaseRequest) String() string
- type CreateTransitionRouteGroupRequest
- func (*CreateTransitionRouteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTransitionRouteGroupRequest) GetLanguageCode() string
- func (x *CreateTransitionRouteGroupRequest) GetParent() string
- func (x *CreateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup
- func (*CreateTransitionRouteGroupRequest) ProtoMessage()
- func (x *CreateTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTransitionRouteGroupRequest) Reset()
- func (x *CreateTransitionRouteGroupRequest) String() string
- type CreateVersionOperationMetadata
- func (*CreateVersionOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVersionOperationMetadata) GetVersion() string
- func (*CreateVersionOperationMetadata) ProtoMessage()
- func (x *CreateVersionOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateVersionOperationMetadata) Reset()
- func (x *CreateVersionOperationMetadata) String() string
- type CreateVersionRequest
- func (*CreateVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVersionRequest) GetParent() string
- func (x *CreateVersionRequest) GetVersion() *Version
- func (*CreateVersionRequest) ProtoMessage()
- func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVersionRequest) Reset()
- func (x *CreateVersionRequest) String() string
- type CreateWebhookRequest
- func (*CreateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWebhookRequest) GetParent() string
- func (x *CreateWebhookRequest) GetWebhook() *Webhook
- func (*CreateWebhookRequest) ProtoMessage()
- func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWebhookRequest) Reset()
- func (x *CreateWebhookRequest) String() string
- type DataStoreConnection
- func (*DataStoreConnection) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnection) GetDataStore() string
- func (x *DataStoreConnection) GetDataStoreType() DataStoreType
- func (*DataStoreConnection) ProtoMessage()
- func (x *DataStoreConnection) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnection) Reset()
- func (x *DataStoreConnection) String() string
- type DataStoreConnectionSignals
- func (*DataStoreConnectionSignals) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals) GetAnswer() string
- func (x *DataStoreConnectionSignals) GetAnswerGenerationModelCallSignals() *DataStoreConnectionSignals_AnswerGenerationModelCallSignals
- func (x *DataStoreConnectionSignals) GetAnswerParts() []*DataStoreConnectionSignals_AnswerPart
- func (x *DataStoreConnectionSignals) GetCitedSnippets() []*DataStoreConnectionSignals_CitedSnippet
- func (x *DataStoreConnectionSignals) GetGroundingSignals() *DataStoreConnectionSignals_GroundingSignals
- func (x *DataStoreConnectionSignals) GetRewriterModelCallSignals() *DataStoreConnectionSignals_RewriterModelCallSignals
- func (x *DataStoreConnectionSignals) GetRewrittenQuery() string
- func (x *DataStoreConnectionSignals) GetSafetySignals() *DataStoreConnectionSignals_SafetySignals
- func (x *DataStoreConnectionSignals) GetSearchSnippets() []*DataStoreConnectionSignals_SearchSnippet
- func (*DataStoreConnectionSignals) ProtoMessage()
- func (x *DataStoreConnectionSignals) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals) Reset()
- func (x *DataStoreConnectionSignals) String() string
- type DataStoreConnectionSignals_AnswerGenerationModelCallSignals
- func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModel() string
- func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModelOutput() string
- func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetRenderedPrompt() string
- func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoMessage()
- func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Reset()
- func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) String() string
- type DataStoreConnectionSignals_AnswerPart
- func (*DataStoreConnectionSignals_AnswerPart) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_AnswerPart) GetSupportingIndices() []int32
- func (x *DataStoreConnectionSignals_AnswerPart) GetText() string
- func (*DataStoreConnectionSignals_AnswerPart) ProtoMessage()
- func (x *DataStoreConnectionSignals_AnswerPart) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_AnswerPart) Reset()
- func (x *DataStoreConnectionSignals_AnswerPart) String() string
- type DataStoreConnectionSignals_CitedSnippet
- func (*DataStoreConnectionSignals_CitedSnippet) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_CitedSnippet) GetSearchSnippet() *DataStoreConnectionSignals_SearchSnippet
- func (x *DataStoreConnectionSignals_CitedSnippet) GetSnippetIndex() int32
- func (*DataStoreConnectionSignals_CitedSnippet) ProtoMessage()
- func (x *DataStoreConnectionSignals_CitedSnippet) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_CitedSnippet) Reset()
- func (x *DataStoreConnectionSignals_CitedSnippet) String() string
- type DataStoreConnectionSignals_GroundingSignals
- func (*DataStoreConnectionSignals_GroundingSignals) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_GroundingSignals) GetDecision() DataStoreConnectionSignals_GroundingSignals_GroundingDecision
- func (x *DataStoreConnectionSignals_GroundingSignals) GetScore() DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket
- func (*DataStoreConnectionSignals_GroundingSignals) ProtoMessage()
- func (x *DataStoreConnectionSignals_GroundingSignals) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_GroundingSignals) Reset()
- func (x *DataStoreConnectionSignals_GroundingSignals) String() string
- type DataStoreConnectionSignals_GroundingSignals_GroundingDecision
- func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Descriptor() protoreflect.EnumDescriptor
- func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Enum() *DataStoreConnectionSignals_GroundingSignals_GroundingDecision
- func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Number() protoreflect.EnumNumber
- func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) String() string
- func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Type() protoreflect.EnumType
- type DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket
- func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Descriptor() protoreflect.EnumDescriptor
- func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Enum() *DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket
- func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Number() protoreflect.EnumNumber
- func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) String() string
- func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Type() protoreflect.EnumType
- type DataStoreConnectionSignals_RewriterModelCallSignals
- func (*DataStoreConnectionSignals_RewriterModelCallSignals) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetModel() string
- func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetModelOutput() string
- func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetRenderedPrompt() string
- func (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoMessage()
- func (x *DataStoreConnectionSignals_RewriterModelCallSignals) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_RewriterModelCallSignals) Reset()
- func (x *DataStoreConnectionSignals_RewriterModelCallSignals) String() string
- type DataStoreConnectionSignals_SafetySignals
- func (*DataStoreConnectionSignals_SafetySignals) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_SafetySignals) GetBannedPhraseMatch() DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch
- func (x *DataStoreConnectionSignals_SafetySignals) GetDecision() DataStoreConnectionSignals_SafetySignals_SafetyDecision
- func (x *DataStoreConnectionSignals_SafetySignals) GetMatchedBannedPhrase() string
- func (*DataStoreConnectionSignals_SafetySignals) ProtoMessage()
- func (x *DataStoreConnectionSignals_SafetySignals) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_SafetySignals) Reset()
- func (x *DataStoreConnectionSignals_SafetySignals) String() string
- type DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch
- func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Descriptor() protoreflect.EnumDescriptor
- func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Enum() *DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch
- func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Number() protoreflect.EnumNumber
- func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) String() string
- func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Type() protoreflect.EnumType
- type DataStoreConnectionSignals_SafetySignals_SafetyDecision
- func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Descriptor() protoreflect.EnumDescriptor
- func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) Enum() *DataStoreConnectionSignals_SafetySignals_SafetyDecision
- func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) Number() protoreflect.EnumNumber
- func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) String() string
- func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Type() protoreflect.EnumType
- type DataStoreConnectionSignals_SearchSnippet
- func (*DataStoreConnectionSignals_SearchSnippet) Descriptor() ([]byte, []int)deprecated
- func (x *DataStoreConnectionSignals_SearchSnippet) GetDocumentTitle() string
- func (x *DataStoreConnectionSignals_SearchSnippet) GetDocumentUri() string
- func (x *DataStoreConnectionSignals_SearchSnippet) GetText() string
- func (*DataStoreConnectionSignals_SearchSnippet) ProtoMessage()
- func (x *DataStoreConnectionSignals_SearchSnippet) ProtoReflect() protoreflect.Message
- func (x *DataStoreConnectionSignals_SearchSnippet) Reset()
- func (x *DataStoreConnectionSignals_SearchSnippet) String() string
- type DataStoreType
- func (DataStoreType) Descriptor() protoreflect.EnumDescriptor
- func (x DataStoreType) Enum() *DataStoreType
- func (DataStoreType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataStoreType) Number() protoreflect.EnumNumber
- func (x DataStoreType) String() string
- func (DataStoreType) Type() protoreflect.EnumType
- type DeleteAgentRequest
- func (*DeleteAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAgentRequest) GetName() string
- func (*DeleteAgentRequest) ProtoMessage()
- func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAgentRequest) Reset()
- func (x *DeleteAgentRequest) String() string
- type DeleteEntityTypeRequest
- func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEntityTypeRequest) GetForce() bool
- func (x *DeleteEntityTypeRequest) GetName() string
- func (*DeleteEntityTypeRequest) ProtoMessage()
- func (x *DeleteEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEntityTypeRequest) Reset()
- func (x *DeleteEntityTypeRequest) String() string
- type DeleteEnvironmentRequest
- func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEnvironmentRequest) GetName() string
- func (*DeleteEnvironmentRequest) ProtoMessage()
- func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEnvironmentRequest) Reset()
- func (x *DeleteEnvironmentRequest) String() string
- type DeleteExperimentRequest
- func (*DeleteExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteExperimentRequest) GetName() string
- func (*DeleteExperimentRequest) ProtoMessage()
- func (x *DeleteExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteExperimentRequest) Reset()
- func (x *DeleteExperimentRequest) String() string
- type DeleteFlowRequest
- func (*DeleteFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFlowRequest) GetForce() bool
- func (x *DeleteFlowRequest) GetName() string
- func (*DeleteFlowRequest) ProtoMessage()
- func (x *DeleteFlowRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFlowRequest) Reset()
- func (x *DeleteFlowRequest) String() string
- type DeleteGeneratorRequest
- func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGeneratorRequest) GetForce() bool
- func (x *DeleteGeneratorRequest) GetName() string
- func (*DeleteGeneratorRequest) ProtoMessage()
- func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGeneratorRequest) Reset()
- func (x *DeleteGeneratorRequest) String() string
- type DeleteIntentRequest
- func (*DeleteIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIntentRequest) GetName() string
- func (*DeleteIntentRequest) ProtoMessage()
- func (x *DeleteIntentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIntentRequest) Reset()
- func (x *DeleteIntentRequest) String() string
- type DeletePageRequest
- func (*DeletePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePageRequest) GetForce() bool
- func (x *DeletePageRequest) GetName() string
- func (*DeletePageRequest) ProtoMessage()
- func (x *DeletePageRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePageRequest) Reset()
- func (x *DeletePageRequest) String() string
- type DeleteSecuritySettingsRequest
- func (*DeleteSecuritySettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecuritySettingsRequest) GetName() string
- func (*DeleteSecuritySettingsRequest) ProtoMessage()
- func (x *DeleteSecuritySettingsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecuritySettingsRequest) Reset()
- func (x *DeleteSecuritySettingsRequest) String() string
- type DeleteSessionEntityTypeRequest
- func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSessionEntityTypeRequest) GetName() string
- func (*DeleteSessionEntityTypeRequest) ProtoMessage()
- func (x *DeleteSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionEntityTypeRequest) Reset()
- func (x *DeleteSessionEntityTypeRequest) String() string
- type DeleteTransitionRouteGroupRequest
- func (*DeleteTransitionRouteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTransitionRouteGroupRequest) GetForce() bool
- func (x *DeleteTransitionRouteGroupRequest) GetName() string
- func (*DeleteTransitionRouteGroupRequest) ProtoMessage()
- func (x *DeleteTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTransitionRouteGroupRequest) Reset()
- func (x *DeleteTransitionRouteGroupRequest) String() string
- type DeleteVersionRequest
- func (*DeleteVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVersionRequest) GetName() string
- func (*DeleteVersionRequest) ProtoMessage()
- func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVersionRequest) Reset()
- func (x *DeleteVersionRequest) String() string
- type DeleteWebhookRequest
- func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWebhookRequest) GetForce() bool
- func (x *DeleteWebhookRequest) GetName() string
- func (*DeleteWebhookRequest) ProtoMessage()
- func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWebhookRequest) Reset()
- func (x *DeleteWebhookRequest) String() string
- type DeployFlowMetadata
- func (*DeployFlowMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeployFlowMetadata) GetTestErrors() []*TestError
- func (*DeployFlowMetadata) ProtoMessage()
- func (x *DeployFlowMetadata) ProtoReflect() protoreflect.Message
- func (x *DeployFlowMetadata) Reset()
- func (x *DeployFlowMetadata) String() string
- type DeployFlowRequest
- func (*DeployFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployFlowRequest) GetEnvironment() string
- func (x *DeployFlowRequest) GetFlowVersion() string
- func (*DeployFlowRequest) ProtoMessage()
- func (x *DeployFlowRequest) ProtoReflect() protoreflect.Message
- func (x *DeployFlowRequest) Reset()
- func (x *DeployFlowRequest) String() string
- type DeployFlowResponse
- func (*DeployFlowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeployFlowResponse) GetDeployment() string
- func (x *DeployFlowResponse) GetEnvironment() *Environment
- func (*DeployFlowResponse) ProtoMessage()
- func (x *DeployFlowResponse) ProtoReflect() protoreflect.Message
- func (x *DeployFlowResponse) Reset()
- func (x *DeployFlowResponse) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetEndTime() *timestamppb.Timestamp
- func (x *Deployment) GetFlowVersion() string
- func (x *Deployment) GetName() string
- func (x *Deployment) GetResult() *Deployment_Result
- func (x *Deployment) GetStartTime() *timestamppb.Timestamp
- func (x *Deployment) GetState() Deployment_State
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type Deployment_Result
- func (*Deployment_Result) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment_Result) GetDeploymentTestResults() []string
- func (x *Deployment_Result) GetExperiment() string
- func (*Deployment_Result) ProtoMessage()
- func (x *Deployment_Result) ProtoReflect() protoreflect.Message
- func (x *Deployment_Result) Reset()
- func (x *Deployment_Result) String() string
- type Deployment_State
- func (Deployment_State) Descriptor() protoreflect.EnumDescriptor
- func (x Deployment_State) Enum() *Deployment_State
- func (Deployment_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Deployment_State) Number() protoreflect.EnumNumber
- func (x Deployment_State) String() string
- func (Deployment_State) Type() protoreflect.EnumType
- type DeploymentsClient
- type DeploymentsServer
- type DetectIntentRequest
- func (*DetectIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
- func (x *DetectIntentRequest) GetQueryInput() *QueryInput
- func (x *DetectIntentRequest) GetQueryParams() *QueryParameters
- func (x *DetectIntentRequest) GetSession() string
- func (*DetectIntentRequest) ProtoMessage()
- func (x *DetectIntentRequest) ProtoReflect() protoreflect.Message
- func (x *DetectIntentRequest) Reset()
- func (x *DetectIntentRequest) String() string
- type DetectIntentResponse
- func (*DetectIntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetectIntentResponse) GetAllowCancellation() bool
- func (x *DetectIntentResponse) GetOutputAudio() []byte
- func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
- func (x *DetectIntentResponse) GetQueryResult() *QueryResult
- func (x *DetectIntentResponse) GetResponseId() string
- func (x *DetectIntentResponse) GetResponseType() DetectIntentResponse_ResponseType
- func (*DetectIntentResponse) ProtoMessage()
- func (x *DetectIntentResponse) ProtoReflect() protoreflect.Message
- func (x *DetectIntentResponse) Reset()
- func (x *DetectIntentResponse) String() string
- type DetectIntentResponse_ResponseType
- func (DetectIntentResponse_ResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x DetectIntentResponse_ResponseType) Enum() *DetectIntentResponse_ResponseType
- func (DetectIntentResponse_ResponseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x DetectIntentResponse_ResponseType) Number() protoreflect.EnumNumber
- func (x DetectIntentResponse_ResponseType) String() string
- func (DetectIntentResponse_ResponseType) Type() protoreflect.EnumType
- type DtmfInput
- type EntityType
- func (*EntityType) Descriptor() ([]byte, []int)deprecated
- func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode
- func (x *EntityType) GetDisplayName() string
- func (x *EntityType) GetEnableFuzzyExtraction() bool
- func (x *EntityType) GetEntities() []*EntityType_Entity
- func (x *EntityType) GetExcludedPhrases() []*EntityType_ExcludedPhrase
- func (x *EntityType) GetKind() EntityType_Kind
- func (x *EntityType) GetName() string
- func (x *EntityType) GetRedact() bool
- func (*EntityType) ProtoMessage()
- func (x *EntityType) ProtoReflect() protoreflect.Message
- func (x *EntityType) Reset()
- func (x *EntityType) String() string
- type EntityType_AutoExpansionMode
- func (EntityType_AutoExpansionMode) Descriptor() protoreflect.EnumDescriptor
- func (x EntityType_AutoExpansionMode) Enum() *EntityType_AutoExpansionMode
- func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x EntityType_AutoExpansionMode) Number() protoreflect.EnumNumber
- func (x EntityType_AutoExpansionMode) String() string
- func (EntityType_AutoExpansionMode) Type() protoreflect.EnumType
- type EntityType_Entity
- func (*EntityType_Entity) Descriptor() ([]byte, []int)deprecated
- func (x *EntityType_Entity) GetSynonyms() []string
- func (x *EntityType_Entity) GetValue() string
- func (*EntityType_Entity) ProtoMessage()
- func (x *EntityType_Entity) ProtoReflect() protoreflect.Message
- func (x *EntityType_Entity) Reset()
- func (x *EntityType_Entity) String() string
- type EntityType_ExcludedPhrase
- func (*EntityType_ExcludedPhrase) Descriptor() ([]byte, []int)deprecated
- func (x *EntityType_ExcludedPhrase) GetValue() string
- func (*EntityType_ExcludedPhrase) ProtoMessage()
- func (x *EntityType_ExcludedPhrase) ProtoReflect() protoreflect.Message
- func (x *EntityType_ExcludedPhrase) Reset()
- func (x *EntityType_ExcludedPhrase) String() string
- type EntityType_Kind
- func (EntityType_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x EntityType_Kind) Enum() *EntityType_Kind
- func (EntityType_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x EntityType_Kind) Number() protoreflect.EnumNumber
- func (x EntityType_Kind) String() string
- func (EntityType_Kind) Type() protoreflect.EnumType
- type EntityTypesClient
- type EntityTypesServer
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetDescription() string
- func (x *Environment) GetDisplayName() string
- func (x *Environment) GetName() string
- func (x *Environment) GetTestCasesConfig() *Environment_TestCasesConfig
- func (x *Environment) GetUpdateTime() *timestamppb.Timestamp
- func (x *Environment) GetVersionConfigs() []*Environment_VersionConfig
- func (x *Environment) GetWebhookConfig() *Environment_WebhookConfig
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type Environment_TestCasesConfig
- func (*Environment_TestCasesConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Environment_TestCasesConfig) GetEnableContinuousRun() bool
- func (x *Environment_TestCasesConfig) GetEnablePredeploymentRun() bool
- func (x *Environment_TestCasesConfig) GetTestCases() []string
- func (*Environment_TestCasesConfig) ProtoMessage()
- func (x *Environment_TestCasesConfig) ProtoReflect() protoreflect.Message
- func (x *Environment_TestCasesConfig) Reset()
- func (x *Environment_TestCasesConfig) String() string
- type Environment_VersionConfig
- func (*Environment_VersionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Environment_VersionConfig) GetVersion() string
- func (*Environment_VersionConfig) ProtoMessage()
- func (x *Environment_VersionConfig) ProtoReflect() protoreflect.Message
- func (x *Environment_VersionConfig) Reset()
- func (x *Environment_VersionConfig) String() string
- type Environment_WebhookConfig
- func (*Environment_WebhookConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Environment_WebhookConfig) GetWebhookOverrides() []*Webhook
- func (*Environment_WebhookConfig) ProtoMessage()
- func (x *Environment_WebhookConfig) ProtoReflect() protoreflect.Message
- func (x *Environment_WebhookConfig) Reset()
- func (x *Environment_WebhookConfig) String() string
- type EnvironmentsClient
- type EnvironmentsServer
- type EventHandler
- func (*EventHandler) Descriptor() ([]byte, []int)deprecated
- func (x *EventHandler) GetEvent() string
- func (x *EventHandler) GetName() string
- func (m *EventHandler) GetTarget() isEventHandler_Target
- func (x *EventHandler) GetTargetFlow() string
- func (x *EventHandler) GetTargetPage() string
- func (x *EventHandler) GetTriggerFulfillment() *Fulfillment
- func (*EventHandler) ProtoMessage()
- func (x *EventHandler) ProtoReflect() protoreflect.Message
- func (x *EventHandler) Reset()
- func (x *EventHandler) String() string
- type EventHandler_TargetFlow
- type EventHandler_TargetPage
- type EventInput
- type Experiment
- func (*Experiment) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment) GetCreateTime() *timestamppb.Timestamp
- func (x *Experiment) GetDefinition() *Experiment_Definition
- func (x *Experiment) GetDescription() string
- func (x *Experiment) GetDisplayName() string
- func (x *Experiment) GetEndTime() *timestamppb.Timestamp
- func (x *Experiment) GetExperimentLength() *durationpb.Duration
- func (x *Experiment) GetLastUpdateTime() *timestamppb.Timestamp
- func (x *Experiment) GetName() string
- func (x *Experiment) GetResult() *Experiment_Result
- func (x *Experiment) GetRolloutConfig() *RolloutConfig
- func (x *Experiment) GetRolloutFailureReason() string
- func (x *Experiment) GetRolloutState() *RolloutState
- func (x *Experiment) GetStartTime() *timestamppb.Timestamp
- func (x *Experiment) GetState() Experiment_State
- func (x *Experiment) GetVariantsHistory() []*VariantsHistory
- func (*Experiment) ProtoMessage()
- func (x *Experiment) ProtoReflect() protoreflect.Message
- func (x *Experiment) Reset()
- func (x *Experiment) String() string
- type Experiment_Definition
- func (*Experiment_Definition) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment_Definition) GetCondition() string
- func (m *Experiment_Definition) GetVariants() isExperiment_Definition_Variants
- func (x *Experiment_Definition) GetVersionVariants() *VersionVariants
- func (*Experiment_Definition) ProtoMessage()
- func (x *Experiment_Definition) ProtoReflect() protoreflect.Message
- func (x *Experiment_Definition) Reset()
- func (x *Experiment_Definition) String() string
- type Experiment_Definition_VersionVariants
- type Experiment_Result
- func (*Experiment_Result) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment_Result) GetLastUpdateTime() *timestamppb.Timestamp
- func (x *Experiment_Result) GetVersionMetrics() []*Experiment_Result_VersionMetrics
- func (*Experiment_Result) ProtoMessage()
- func (x *Experiment_Result) ProtoReflect() protoreflect.Message
- func (x *Experiment_Result) Reset()
- func (x *Experiment_Result) String() string
- type Experiment_Result_ConfidenceInterval
- func (*Experiment_Result_ConfidenceInterval) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment_Result_ConfidenceInterval) GetConfidenceLevel() float64
- func (x *Experiment_Result_ConfidenceInterval) GetLowerBound() float64
- func (x *Experiment_Result_ConfidenceInterval) GetRatio() float64
- func (x *Experiment_Result_ConfidenceInterval) GetUpperBound() float64
- func (*Experiment_Result_ConfidenceInterval) ProtoMessage()
- func (x *Experiment_Result_ConfidenceInterval) ProtoReflect() protoreflect.Message
- func (x *Experiment_Result_ConfidenceInterval) Reset()
- func (x *Experiment_Result_ConfidenceInterval) String() string
- type Experiment_Result_CountType
- func (Experiment_Result_CountType) Descriptor() protoreflect.EnumDescriptor
- func (x Experiment_Result_CountType) Enum() *Experiment_Result_CountType
- func (Experiment_Result_CountType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Experiment_Result_CountType) Number() protoreflect.EnumNumber
- func (x Experiment_Result_CountType) String() string
- func (Experiment_Result_CountType) Type() protoreflect.EnumType
- type Experiment_Result_Metric
- func (*Experiment_Result_Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment_Result_Metric) GetConfidenceInterval() *Experiment_Result_ConfidenceInterval
- func (x *Experiment_Result_Metric) GetCount() float64
- func (x *Experiment_Result_Metric) GetCountType() Experiment_Result_CountType
- func (x *Experiment_Result_Metric) GetRatio() float64
- func (x *Experiment_Result_Metric) GetType() Experiment_Result_MetricType
- func (m *Experiment_Result_Metric) GetValue() isExperiment_Result_Metric_Value
- func (*Experiment_Result_Metric) ProtoMessage()
- func (x *Experiment_Result_Metric) ProtoReflect() protoreflect.Message
- func (x *Experiment_Result_Metric) Reset()
- func (x *Experiment_Result_Metric) String() string
- type Experiment_Result_MetricType
- func (Experiment_Result_MetricType) Descriptor() protoreflect.EnumDescriptor
- func (x Experiment_Result_MetricType) Enum() *Experiment_Result_MetricType
- func (Experiment_Result_MetricType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Experiment_Result_MetricType) Number() protoreflect.EnumNumber
- func (x Experiment_Result_MetricType) String() string
- func (Experiment_Result_MetricType) Type() protoreflect.EnumType
- type Experiment_Result_Metric_Count
- type Experiment_Result_Metric_Ratio
- type Experiment_Result_VersionMetrics
- func (*Experiment_Result_VersionMetrics) Descriptor() ([]byte, []int)deprecated
- func (x *Experiment_Result_VersionMetrics) GetMetrics() []*Experiment_Result_Metric
- func (x *Experiment_Result_VersionMetrics) GetSessionCount() int32
- func (x *Experiment_Result_VersionMetrics) GetVersion() string
- func (*Experiment_Result_VersionMetrics) ProtoMessage()
- func (x *Experiment_Result_VersionMetrics) ProtoReflect() protoreflect.Message
- func (x *Experiment_Result_VersionMetrics) Reset()
- func (x *Experiment_Result_VersionMetrics) String() string
- type Experiment_State
- func (Experiment_State) Descriptor() protoreflect.EnumDescriptor
- func (x Experiment_State) Enum() *Experiment_State
- func (Experiment_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Experiment_State) Number() protoreflect.EnumNumber
- func (x Experiment_State) String() string
- func (Experiment_State) Type() protoreflect.EnumType
- type ExperimentsClient
- type ExperimentsServer
- type ExportAgentRequest
- func (*ExportAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportAgentRequest) GetAgentUri() string
- func (x *ExportAgentRequest) GetDataFormat() ExportAgentRequest_DataFormat
- func (x *ExportAgentRequest) GetEnvironment() string
- func (x *ExportAgentRequest) GetGitDestination() *ExportAgentRequest_GitDestination
- func (x *ExportAgentRequest) GetIncludeBigqueryExportSettings() bool
- func (x *ExportAgentRequest) GetName() string
- func (*ExportAgentRequest) ProtoMessage()
- func (x *ExportAgentRequest) ProtoReflect() protoreflect.Message
- func (x *ExportAgentRequest) Reset()
- func (x *ExportAgentRequest) String() string
- type ExportAgentRequest_DataFormat
- func (ExportAgentRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ExportAgentRequest_DataFormat) Enum() *ExportAgentRequest_DataFormat
- func (ExportAgentRequest_DataFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExportAgentRequest_DataFormat) Number() protoreflect.EnumNumber
- func (x ExportAgentRequest_DataFormat) String() string
- func (ExportAgentRequest_DataFormat) Type() protoreflect.EnumType
- type ExportAgentRequest_GitDestination
- func (*ExportAgentRequest_GitDestination) Descriptor() ([]byte, []int)deprecated
- func (x *ExportAgentRequest_GitDestination) GetCommitMessage() string
- func (x *ExportAgentRequest_GitDestination) GetTrackingBranch() string
- func (*ExportAgentRequest_GitDestination) ProtoMessage()
- func (x *ExportAgentRequest_GitDestination) ProtoReflect() protoreflect.Message
- func (x *ExportAgentRequest_GitDestination) Reset()
- func (x *ExportAgentRequest_GitDestination) String() string
- type ExportAgentResponse
- func (*ExportAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent
- func (x *ExportAgentResponse) GetAgentContent() []byte
- func (x *ExportAgentResponse) GetAgentUri() string
- func (x *ExportAgentResponse) GetCommitSha() string
- func (*ExportAgentResponse) ProtoMessage()
- func (x *ExportAgentResponse) ProtoReflect() protoreflect.Message
- func (x *ExportAgentResponse) Reset()
- func (x *ExportAgentResponse) String() string
- type ExportAgentResponse_AgentContent
- type ExportAgentResponse_AgentUri
- type ExportAgentResponse_CommitSha
- type ExportEntityTypesMetadata
- type ExportEntityTypesRequest
- func (*ExportEntityTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportEntityTypesRequest) GetDataFormat() ExportEntityTypesRequest_DataFormat
- func (m *ExportEntityTypesRequest) GetDestination() isExportEntityTypesRequest_Destination
- func (x *ExportEntityTypesRequest) GetEntityTypes() []string
- func (x *ExportEntityTypesRequest) GetEntityTypesContentInline() bool
- func (x *ExportEntityTypesRequest) GetEntityTypesUri() string
- func (x *ExportEntityTypesRequest) GetLanguageCode() string
- func (x *ExportEntityTypesRequest) GetParent() string
- func (*ExportEntityTypesRequest) ProtoMessage()
- func (x *ExportEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ExportEntityTypesRequest) Reset()
- func (x *ExportEntityTypesRequest) String() string
- type ExportEntityTypesRequest_DataFormat
- func (ExportEntityTypesRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ExportEntityTypesRequest_DataFormat) Enum() *ExportEntityTypesRequest_DataFormat
- func (ExportEntityTypesRequest_DataFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExportEntityTypesRequest_DataFormat) Number() protoreflect.EnumNumber
- func (x ExportEntityTypesRequest_DataFormat) String() string
- func (ExportEntityTypesRequest_DataFormat) Type() protoreflect.EnumType
- type ExportEntityTypesRequest_EntityTypesContentInline
- type ExportEntityTypesRequest_EntityTypesUri
- type ExportEntityTypesResponse
- func (*ExportEntityTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportEntityTypesResponse) GetEntityTypesContent() *InlineDestination
- func (x *ExportEntityTypesResponse) GetEntityTypesUri() string
- func (m *ExportEntityTypesResponse) GetExportedEntityTypes() isExportEntityTypesResponse_ExportedEntityTypes
- func (*ExportEntityTypesResponse) ProtoMessage()
- func (x *ExportEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ExportEntityTypesResponse) Reset()
- func (x *ExportEntityTypesResponse) String() string
- type ExportEntityTypesResponse_EntityTypesContent
- type ExportEntityTypesResponse_EntityTypesUri
- type ExportFlowRequest
- func (*ExportFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportFlowRequest) GetFlowUri() string
- func (x *ExportFlowRequest) GetIncludeReferencedFlows() bool
- func (x *ExportFlowRequest) GetName() string
- func (*ExportFlowRequest) ProtoMessage()
- func (x *ExportFlowRequest) ProtoReflect() protoreflect.Message
- func (x *ExportFlowRequest) Reset()
- func (x *ExportFlowRequest) String() string
- type ExportFlowResponse
- func (*ExportFlowResponse) Descriptor() ([]byte, []int)deprecated
- func (m *ExportFlowResponse) GetFlow() isExportFlowResponse_Flow
- func (x *ExportFlowResponse) GetFlowContent() []byte
- func (x *ExportFlowResponse) GetFlowUri() string
- func (*ExportFlowResponse) ProtoMessage()
- func (x *ExportFlowResponse) ProtoReflect() protoreflect.Message
- func (x *ExportFlowResponse) Reset()
- func (x *ExportFlowResponse) String() string
- type ExportFlowResponse_FlowContent
- type ExportFlowResponse_FlowUri
- type ExportIntentsMetadata
- type ExportIntentsRequest
- func (*ExportIntentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportIntentsRequest) GetDataFormat() ExportIntentsRequest_DataFormat
- func (m *ExportIntentsRequest) GetDestination() isExportIntentsRequest_Destination
- func (x *ExportIntentsRequest) GetIntents() []string
- func (x *ExportIntentsRequest) GetIntentsContentInline() bool
- func (x *ExportIntentsRequest) GetIntentsUri() string
- func (x *ExportIntentsRequest) GetParent() string
- func (*ExportIntentsRequest) ProtoMessage()
- func (x *ExportIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *ExportIntentsRequest) Reset()
- func (x *ExportIntentsRequest) String() string
- type ExportIntentsRequest_DataFormat
- func (ExportIntentsRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ExportIntentsRequest_DataFormat) Enum() *ExportIntentsRequest_DataFormat
- func (ExportIntentsRequest_DataFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExportIntentsRequest_DataFormat) Number() protoreflect.EnumNumber
- func (x ExportIntentsRequest_DataFormat) String() string
- func (ExportIntentsRequest_DataFormat) Type() protoreflect.EnumType
- type ExportIntentsRequest_IntentsContentInline
- type ExportIntentsRequest_IntentsUri
- type ExportIntentsResponse
- func (*ExportIntentsResponse) Descriptor() ([]byte, []int)deprecated
- func (m *ExportIntentsResponse) GetIntents() isExportIntentsResponse_Intents
- func (x *ExportIntentsResponse) GetIntentsContent() *InlineDestination
- func (x *ExportIntentsResponse) GetIntentsUri() string
- func (*ExportIntentsResponse) ProtoMessage()
- func (x *ExportIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *ExportIntentsResponse) Reset()
- func (x *ExportIntentsResponse) String() string
- type ExportIntentsResponse_IntentsContent
- type ExportIntentsResponse_IntentsUri
- type ExportTestCasesMetadata
- type ExportTestCasesRequest
- func (*ExportTestCasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportTestCasesRequest) GetDataFormat() ExportTestCasesRequest_DataFormat
- func (m *ExportTestCasesRequest) GetDestination() isExportTestCasesRequest_Destination
- func (x *ExportTestCasesRequest) GetFilter() string
- func (x *ExportTestCasesRequest) GetGcsUri() string
- func (x *ExportTestCasesRequest) GetParent() string
- func (*ExportTestCasesRequest) ProtoMessage()
- func (x *ExportTestCasesRequest) ProtoReflect() protoreflect.Message
- func (x *ExportTestCasesRequest) Reset()
- func (x *ExportTestCasesRequest) String() string
- type ExportTestCasesRequest_DataFormat
- func (ExportTestCasesRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
- func (x ExportTestCasesRequest_DataFormat) Enum() *ExportTestCasesRequest_DataFormat
- func (ExportTestCasesRequest_DataFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExportTestCasesRequest_DataFormat) Number() protoreflect.EnumNumber
- func (x ExportTestCasesRequest_DataFormat) String() string
- func (ExportTestCasesRequest_DataFormat) Type() protoreflect.EnumType
- type ExportTestCasesRequest_GcsUri
- type ExportTestCasesResponse
- func (*ExportTestCasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportTestCasesResponse) GetContent() []byte
- func (m *ExportTestCasesResponse) GetDestination() isExportTestCasesResponse_Destination
- func (x *ExportTestCasesResponse) GetGcsUri() string
- func (*ExportTestCasesResponse) ProtoMessage()
- func (x *ExportTestCasesResponse) ProtoReflect() protoreflect.Message
- func (x *ExportTestCasesResponse) Reset()
- func (x *ExportTestCasesResponse) String() string
- type ExportTestCasesResponse_Content
- type ExportTestCasesResponse_GcsUri
- type FilterSpecs
- func (*FilterSpecs) Descriptor() ([]byte, []int)deprecated
- func (x *FilterSpecs) GetDataStores() []string
- func (x *FilterSpecs) GetFilter() string
- func (*FilterSpecs) ProtoMessage()
- func (x *FilterSpecs) ProtoReflect() protoreflect.Message
- func (x *FilterSpecs) Reset()
- func (x *FilterSpecs) String() string
- type Flow
- func (*Flow) Descriptor() ([]byte, []int)deprecated
- func (x *Flow) GetAdvancedSettings() *AdvancedSettings
- func (x *Flow) GetDescription() string
- func (x *Flow) GetDisplayName() string
- func (x *Flow) GetEventHandlers() []*EventHandler
- func (x *Flow) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettings
- func (x *Flow) GetLocked() bool
- func (x *Flow) GetMultiLanguageSettings() *Flow_MultiLanguageSettings
- func (x *Flow) GetName() string
- func (x *Flow) GetNluSettings() *NluSettings
- func (x *Flow) GetTransitionRouteGroups() []string
- func (x *Flow) GetTransitionRoutes() []*TransitionRoute
- func (*Flow) ProtoMessage()
- func (x *Flow) ProtoReflect() protoreflect.Message
- func (x *Flow) Reset()
- func (x *Flow) String() string
- type FlowImportStrategy
- func (*FlowImportStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *FlowImportStrategy) GetGlobalImportStrategy() ImportStrategy
- func (*FlowImportStrategy) ProtoMessage()
- func (x *FlowImportStrategy) ProtoReflect() protoreflect.Message
- func (x *FlowImportStrategy) Reset()
- func (x *FlowImportStrategy) String() string
- type FlowValidationResult
- func (*FlowValidationResult) Descriptor() ([]byte, []int)deprecated
- func (x *FlowValidationResult) GetName() string
- func (x *FlowValidationResult) GetUpdateTime() *timestamppb.Timestamp
- func (x *FlowValidationResult) GetValidationMessages() []*ValidationMessage
- func (*FlowValidationResult) ProtoMessage()
- func (x *FlowValidationResult) ProtoReflect() protoreflect.Message
- func (x *FlowValidationResult) Reset()
- func (x *FlowValidationResult) String() string
- type Flow_MultiLanguageSettings
- func (*Flow_MultiLanguageSettings) Descriptor() ([]byte, []int)deprecated
- func (x *Flow_MultiLanguageSettings) GetEnableMultiLanguageDetection() bool
- func (x *Flow_MultiLanguageSettings) GetSupportedResponseLanguageCodes() []string
- func (*Flow_MultiLanguageSettings) ProtoMessage()
- func (x *Flow_MultiLanguageSettings) ProtoReflect() protoreflect.Message
- func (x *Flow_MultiLanguageSettings) Reset()
- func (x *Flow_MultiLanguageSettings) String() string
- type FlowsClient
- type FlowsServer
- type Form
- type Form_Parameter
- func (*Form_Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Form_Parameter) GetAdvancedSettings() *AdvancedSettings
- func (x *Form_Parameter) GetDefaultValue() *structpb.Value
- func (x *Form_Parameter) GetDisplayName() string
- func (x *Form_Parameter) GetEntityType() string
- func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehavior
- func (x *Form_Parameter) GetIsList() bool
- func (x *Form_Parameter) GetRedact() bool
- func (x *Form_Parameter) GetRequired() bool
- func (*Form_Parameter) ProtoMessage()
- func (x *Form_Parameter) ProtoReflect() protoreflect.Message
- func (x *Form_Parameter) Reset()
- func (x *Form_Parameter) String() string
- type Form_Parameter_FillBehavior
- func (*Form_Parameter_FillBehavior) Descriptor() ([]byte, []int)deprecated
- func (x *Form_Parameter_FillBehavior) GetInitialPromptFulfillment() *Fulfillment
- func (x *Form_Parameter_FillBehavior) GetRepromptEventHandlers() []*EventHandler
- func (*Form_Parameter_FillBehavior) ProtoMessage()
- func (x *Form_Parameter_FillBehavior) ProtoReflect() protoreflect.Message
- func (x *Form_Parameter_FillBehavior) Reset()
- func (x *Form_Parameter_FillBehavior) String() string
- type FulfillIntentRequest
- func (*FulfillIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FulfillIntentRequest) GetMatch() *Match
- func (x *FulfillIntentRequest) GetMatchIntentRequest() *MatchIntentRequest
- func (x *FulfillIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
- func (*FulfillIntentRequest) ProtoMessage()
- func (x *FulfillIntentRequest) ProtoReflect() protoreflect.Message
- func (x *FulfillIntentRequest) Reset()
- func (x *FulfillIntentRequest) String() string
- type FulfillIntentResponse
- func (*FulfillIntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FulfillIntentResponse) GetOutputAudio() []byte
- func (x *FulfillIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
- func (x *FulfillIntentResponse) GetQueryResult() *QueryResult
- func (x *FulfillIntentResponse) GetResponseId() string
- func (*FulfillIntentResponse) ProtoMessage()
- func (x *FulfillIntentResponse) ProtoReflect() protoreflect.Message
- func (x *FulfillIntentResponse) Reset()
- func (x *FulfillIntentResponse) String() string
- type Fulfillment
- func (*Fulfillment) Descriptor() ([]byte, []int)deprecated
- func (x *Fulfillment) GetAdvancedSettings() *AdvancedSettings
- func (x *Fulfillment) GetConditionalCases() []*Fulfillment_ConditionalCases
- func (x *Fulfillment) GetEnableGenerativeFallback() bool
- func (x *Fulfillment) GetMessages() []*ResponseMessage
- func (x *Fulfillment) GetReturnPartialResponses() bool
- func (x *Fulfillment) GetSetParameterActions() []*Fulfillment_SetParameterAction
- func (x *Fulfillment) GetTag() string
- func (x *Fulfillment) GetWebhook() string
- func (*Fulfillment) ProtoMessage()
- func (x *Fulfillment) ProtoReflect() protoreflect.Message
- func (x *Fulfillment) Reset()
- func (x *Fulfillment) String() string
- type Fulfillment_ConditionalCases
- func (*Fulfillment_ConditionalCases) Descriptor() ([]byte, []int)deprecated
- func (x *Fulfillment_ConditionalCases) GetCases() []*Fulfillment_ConditionalCases_Case
- func (*Fulfillment_ConditionalCases) ProtoMessage()
- func (x *Fulfillment_ConditionalCases) ProtoReflect() protoreflect.Message
- func (x *Fulfillment_ConditionalCases) Reset()
- func (x *Fulfillment_ConditionalCases) String() string
- type Fulfillment_ConditionalCases_Case
- func (*Fulfillment_ConditionalCases_Case) Descriptor() ([]byte, []int)deprecated
- func (x *Fulfillment_ConditionalCases_Case) GetCaseContent() []*Fulfillment_ConditionalCases_Case_CaseContent
- func (x *Fulfillment_ConditionalCases_Case) GetCondition() string
- func (*Fulfillment_ConditionalCases_Case) ProtoMessage()
- func (x *Fulfillment_ConditionalCases_Case) ProtoReflect() protoreflect.Message
- func (x *Fulfillment_ConditionalCases_Case) Reset()
- func (x *Fulfillment_ConditionalCases_Case) String() string
- type Fulfillment_ConditionalCases_Case_CaseContent
- func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor() ([]byte, []int)deprecated
- func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases() *Fulfillment_ConditionalCases
- func (m *Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage() isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage
- func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetMessage() *ResponseMessage
- func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage()
- func (x *Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect() protoreflect.Message
- func (x *Fulfillment_ConditionalCases_Case_CaseContent) Reset()
- func (x *Fulfillment_ConditionalCases_Case_CaseContent) String() string
- type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases
- type Fulfillment_ConditionalCases_Case_CaseContent_Message
- type Fulfillment_SetParameterAction
- func (*Fulfillment_SetParameterAction) Descriptor() ([]byte, []int)deprecated
- func (x *Fulfillment_SetParameterAction) GetParameter() string
- func (x *Fulfillment_SetParameterAction) GetValue() *structpb.Value
- func (*Fulfillment_SetParameterAction) ProtoMessage()
- func (x *Fulfillment_SetParameterAction) ProtoReflect() protoreflect.Message
- func (x *Fulfillment_SetParameterAction) Reset()
- func (x *Fulfillment_SetParameterAction) String() string
- type GcsDestination
- type GenerativeSettings
- func (*GenerativeSettings) Descriptor() ([]byte, []int)deprecated
- func (x *GenerativeSettings) GetFallbackSettings() *GenerativeSettings_FallbackSettings
- func (x *GenerativeSettings) GetGenerativeSafetySettings() *SafetySettings
- func (x *GenerativeSettings) GetKnowledgeConnectorSettings() *GenerativeSettings_KnowledgeConnectorSettings
- func (x *GenerativeSettings) GetLanguageCode() string
- func (x *GenerativeSettings) GetName() string
- func (*GenerativeSettings) ProtoMessage()
- func (x *GenerativeSettings) ProtoReflect() protoreflect.Message
- func (x *GenerativeSettings) Reset()
- func (x *GenerativeSettings) String() string
- type GenerativeSettings_FallbackSettings
- func (*GenerativeSettings_FallbackSettings) Descriptor() ([]byte, []int)deprecated
- func (x *GenerativeSettings_FallbackSettings) GetPromptTemplates() []*GenerativeSettings_FallbackSettings_PromptTemplate
- func (x *GenerativeSettings_FallbackSettings) GetSelectedPrompt() string
- func (*GenerativeSettings_FallbackSettings) ProtoMessage()
- func (x *GenerativeSettings_FallbackSettings) ProtoReflect() protoreflect.Message
- func (x *GenerativeSettings_FallbackSettings) Reset()
- func (x *GenerativeSettings_FallbackSettings) String() string
- type GenerativeSettings_FallbackSettings_PromptTemplate
- func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName() string
- func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen() bool
- func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText() string
- func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage()
- func (x *GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect() protoreflect.Message
- func (x *GenerativeSettings_FallbackSettings_PromptTemplate) Reset()
- func (x *GenerativeSettings_FallbackSettings_PromptTemplate) String() string
- type GenerativeSettings_KnowledgeConnectorSettings
- func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor() ([]byte, []int)deprecated
- func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgent() string
- func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity() string
- func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope() string
- func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusiness() string
- func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription() string
- func (x *GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback() bool
- func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage()
- func (x *GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect() protoreflect.Message
- func (x *GenerativeSettings_KnowledgeConnectorSettings) Reset()
- func (x *GenerativeSettings_KnowledgeConnectorSettings) String() string
- type Generator
- func (*Generator) Descriptor() ([]byte, []int)deprecated
- func (x *Generator) GetDisplayName() string
- func (x *Generator) GetModelParameter() *Generator_ModelParameter
- func (x *Generator) GetName() string
- func (x *Generator) GetPlaceholders() []*Generator_Placeholder
- func (x *Generator) GetPromptText() *Phrase
- func (*Generator) ProtoMessage()
- func (x *Generator) ProtoReflect() protoreflect.Message
- func (x *Generator) Reset()
- func (x *Generator) String() string
- type Generator_ModelParameter
- func (*Generator_ModelParameter) Descriptor() ([]byte, []int)deprecated
- func (x *Generator_ModelParameter) GetMaxDecodeSteps() int32
- func (x *Generator_ModelParameter) GetTemperature() float32
- func (x *Generator_ModelParameter) GetTopK() int32
- func (x *Generator_ModelParameter) GetTopP() float32
- func (*Generator_ModelParameter) ProtoMessage()
- func (x *Generator_ModelParameter) ProtoReflect() protoreflect.Message
- func (x *Generator_ModelParameter) Reset()
- func (x *Generator_ModelParameter) String() string
- type Generator_Placeholder
- func (*Generator_Placeholder) Descriptor() ([]byte, []int)deprecated
- func (x *Generator_Placeholder) GetId() string
- func (x *Generator_Placeholder) GetName() string
- func (*Generator_Placeholder) ProtoMessage()
- func (x *Generator_Placeholder) ProtoReflect() protoreflect.Message
- func (x *Generator_Placeholder) Reset()
- func (x *Generator_Placeholder) String() string
- type GeneratorsClient
- type GeneratorsServer
- type GetAgentRequest
- type GetAgentValidationResultRequest
- func (*GetAgentValidationResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentValidationResultRequest) GetLanguageCode() string
- func (x *GetAgentValidationResultRequest) GetName() string
- func (*GetAgentValidationResultRequest) ProtoMessage()
- func (x *GetAgentValidationResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentValidationResultRequest) Reset()
- func (x *GetAgentValidationResultRequest) String() string
- type GetChangelogRequest
- func (*GetChangelogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangelogRequest) GetName() string
- func (*GetChangelogRequest) ProtoMessage()
- func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message
- func (x *GetChangelogRequest) Reset()
- func (x *GetChangelogRequest) String() string
- type GetDeploymentRequest
- func (*GetDeploymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeploymentRequest) GetName() string
- func (*GetDeploymentRequest) ProtoMessage()
- func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeploymentRequest) Reset()
- func (x *GetDeploymentRequest) String() string
- type GetEntityTypeRequest
- func (*GetEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntityTypeRequest) GetLanguageCode() string
- func (x *GetEntityTypeRequest) GetName() string
- func (*GetEntityTypeRequest) ProtoMessage()
- func (x *GetEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntityTypeRequest) Reset()
- func (x *GetEntityTypeRequest) String() string
- type GetEnvironmentRequest
- func (*GetEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEnvironmentRequest) GetName() string
- func (*GetEnvironmentRequest) ProtoMessage()
- func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnvironmentRequest) Reset()
- func (x *GetEnvironmentRequest) String() string
- type GetExperimentRequest
- func (*GetExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExperimentRequest) GetName() string
- func (*GetExperimentRequest) ProtoMessage()
- func (x *GetExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *GetExperimentRequest) Reset()
- func (x *GetExperimentRequest) String() string
- type GetFlowRequest
- func (*GetFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlowRequest) GetLanguageCode() string
- func (x *GetFlowRequest) GetName() string
- func (*GetFlowRequest) ProtoMessage()
- func (x *GetFlowRequest) ProtoReflect() protoreflect.Message
- func (x *GetFlowRequest) Reset()
- func (x *GetFlowRequest) String() string
- type GetFlowValidationResultRequest
- func (*GetFlowValidationResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlowValidationResultRequest) GetLanguageCode() string
- func (x *GetFlowValidationResultRequest) GetName() string
- func (*GetFlowValidationResultRequest) ProtoMessage()
- func (x *GetFlowValidationResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetFlowValidationResultRequest) Reset()
- func (x *GetFlowValidationResultRequest) String() string
- type GetGenerativeSettingsRequest
- func (*GetGenerativeSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGenerativeSettingsRequest) GetLanguageCode() string
- func (x *GetGenerativeSettingsRequest) GetName() string
- func (*GetGenerativeSettingsRequest) ProtoMessage()
- func (x *GetGenerativeSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetGenerativeSettingsRequest) Reset()
- func (x *GetGenerativeSettingsRequest) String() string
- type GetGeneratorRequest
- func (*GetGeneratorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGeneratorRequest) GetLanguageCode() string
- func (x *GetGeneratorRequest) GetName() string
- func (*GetGeneratorRequest) ProtoMessage()
- func (x *GetGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *GetGeneratorRequest) Reset()
- func (x *GetGeneratorRequest) String() string
- type GetIntentRequest
- func (*GetIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIntentRequest) GetLanguageCode() string
- func (x *GetIntentRequest) GetName() string
- func (*GetIntentRequest) ProtoMessage()
- func (x *GetIntentRequest) ProtoReflect() protoreflect.Message
- func (x *GetIntentRequest) Reset()
- func (x *GetIntentRequest) String() string
- type GetPageRequest
- func (*GetPageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPageRequest) GetLanguageCode() string
- func (x *GetPageRequest) GetName() string
- func (*GetPageRequest) ProtoMessage()
- func (x *GetPageRequest) ProtoReflect() protoreflect.Message
- func (x *GetPageRequest) Reset()
- func (x *GetPageRequest) String() string
- type GetSecuritySettingsRequest
- func (*GetSecuritySettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecuritySettingsRequest) GetName() string
- func (*GetSecuritySettingsRequest) ProtoMessage()
- func (x *GetSecuritySettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSecuritySettingsRequest) Reset()
- func (x *GetSecuritySettingsRequest) String() string
- type GetSessionEntityTypeRequest
- func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionEntityTypeRequest) GetName() string
- func (*GetSessionEntityTypeRequest) ProtoMessage()
- func (x *GetSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionEntityTypeRequest) Reset()
- func (x *GetSessionEntityTypeRequest) String() string
- type GetTestCaseRequest
- func (*GetTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTestCaseRequest) GetName() string
- func (*GetTestCaseRequest) ProtoMessage()
- func (x *GetTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetTestCaseRequest) Reset()
- func (x *GetTestCaseRequest) String() string
- type GetTestCaseResultRequest
- func (*GetTestCaseResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTestCaseResultRequest) GetName() string
- func (*GetTestCaseResultRequest) ProtoMessage()
- func (x *GetTestCaseResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetTestCaseResultRequest) Reset()
- func (x *GetTestCaseResultRequest) String() string
- type GetTransitionRouteGroupRequest
- func (*GetTransitionRouteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransitionRouteGroupRequest) GetLanguageCode() string
- func (x *GetTransitionRouteGroupRequest) GetName() string
- func (*GetTransitionRouteGroupRequest) ProtoMessage()
- func (x *GetTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransitionRouteGroupRequest) Reset()
- func (x *GetTransitionRouteGroupRequest) String() string
- type GetVersionRequest
- type GetWebhookRequest
- type ImportEntityTypesMetadata
- type ImportEntityTypesRequest
- func (*ImportEntityTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ImportEntityTypesRequest) GetEntityTypes() isImportEntityTypesRequest_EntityTypes
- func (x *ImportEntityTypesRequest) GetEntityTypesContent() *InlineSource
- func (x *ImportEntityTypesRequest) GetEntityTypesUri() string
- func (x *ImportEntityTypesRequest) GetMergeOption() ImportEntityTypesRequest_MergeOption
- func (x *ImportEntityTypesRequest) GetParent() string
- func (x *ImportEntityTypesRequest) GetTargetEntityType() string
- func (*ImportEntityTypesRequest) ProtoMessage()
- func (x *ImportEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ImportEntityTypesRequest) Reset()
- func (x *ImportEntityTypesRequest) String() string
- type ImportEntityTypesRequest_EntityTypesContent
- type ImportEntityTypesRequest_EntityTypesUri
- type ImportEntityTypesRequest_MergeOption
- func (ImportEntityTypesRequest_MergeOption) Descriptor() protoreflect.EnumDescriptor
- func (x ImportEntityTypesRequest_MergeOption) Enum() *ImportEntityTypesRequest_MergeOption
- func (ImportEntityTypesRequest_MergeOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImportEntityTypesRequest_MergeOption) Number() protoreflect.EnumNumber
- func (x ImportEntityTypesRequest_MergeOption) String() string
- func (ImportEntityTypesRequest_MergeOption) Type() protoreflect.EnumType
- type ImportEntityTypesResponse
- func (*ImportEntityTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportEntityTypesResponse) GetConflictingResources() *ImportEntityTypesResponse_ConflictingResources
- func (x *ImportEntityTypesResponse) GetEntityTypes() []string
- func (*ImportEntityTypesResponse) ProtoMessage()
- func (x *ImportEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ImportEntityTypesResponse) Reset()
- func (x *ImportEntityTypesResponse) String() string
- type ImportEntityTypesResponse_ConflictingResources
- func (*ImportEntityTypesResponse_ConflictingResources) Descriptor() ([]byte, []int)deprecated
- func (x *ImportEntityTypesResponse_ConflictingResources) GetEntityDisplayNames() []string
- func (x *ImportEntityTypesResponse_ConflictingResources) GetEntityTypeDisplayNames() []string
- func (*ImportEntityTypesResponse_ConflictingResources) ProtoMessage()
- func (x *ImportEntityTypesResponse_ConflictingResources) ProtoReflect() protoreflect.Message
- func (x *ImportEntityTypesResponse_ConflictingResources) Reset()
- func (x *ImportEntityTypesResponse_ConflictingResources) String() string
- type ImportFlowRequest
- func (*ImportFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ImportFlowRequest) GetFlow() isImportFlowRequest_Flow
- func (x *ImportFlowRequest) GetFlowContent() []byte
- func (x *ImportFlowRequest) GetFlowImportStrategy() *FlowImportStrategy
- func (x *ImportFlowRequest) GetFlowUri() string
- func (x *ImportFlowRequest) GetImportOption() ImportFlowRequest_ImportOption
- func (x *ImportFlowRequest) GetParent() string
- func (*ImportFlowRequest) ProtoMessage()
- func (x *ImportFlowRequest) ProtoReflect() protoreflect.Message
- func (x *ImportFlowRequest) Reset()
- func (x *ImportFlowRequest) String() string
- type ImportFlowRequest_FlowContent
- type ImportFlowRequest_FlowUri
- type ImportFlowRequest_ImportOption
- func (ImportFlowRequest_ImportOption) Descriptor() protoreflect.EnumDescriptor
- func (x ImportFlowRequest_ImportOption) Enum() *ImportFlowRequest_ImportOption
- func (ImportFlowRequest_ImportOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImportFlowRequest_ImportOption) Number() protoreflect.EnumNumber
- func (x ImportFlowRequest_ImportOption) String() string
- func (ImportFlowRequest_ImportOption) Type() protoreflect.EnumType
- type ImportFlowResponse
- func (*ImportFlowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportFlowResponse) GetFlow() string
- func (*ImportFlowResponse) ProtoMessage()
- func (x *ImportFlowResponse) ProtoReflect() protoreflect.Message
- func (x *ImportFlowResponse) Reset()
- func (x *ImportFlowResponse) String() string
- type ImportIntentsMetadata
- type ImportIntentsRequest
- func (*ImportIntentsRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ImportIntentsRequest) GetIntents() isImportIntentsRequest_Intents
- func (x *ImportIntentsRequest) GetIntentsContent() *InlineSource
- func (x *ImportIntentsRequest) GetIntentsUri() string
- func (x *ImportIntentsRequest) GetMergeOption() ImportIntentsRequest_MergeOption
- func (x *ImportIntentsRequest) GetParent() string
- func (*ImportIntentsRequest) ProtoMessage()
- func (x *ImportIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportIntentsRequest) Reset()
- func (x *ImportIntentsRequest) String() string
- type ImportIntentsRequest_IntentsContent
- type ImportIntentsRequest_IntentsUri
- type ImportIntentsRequest_MergeOption
- func (ImportIntentsRequest_MergeOption) Descriptor() protoreflect.EnumDescriptor
- func (x ImportIntentsRequest_MergeOption) Enum() *ImportIntentsRequest_MergeOption
- func (ImportIntentsRequest_MergeOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImportIntentsRequest_MergeOption) Number() protoreflect.EnumNumber
- func (x ImportIntentsRequest_MergeOption) String() string
- func (ImportIntentsRequest_MergeOption) Type() protoreflect.EnumType
- type ImportIntentsResponse
- func (*ImportIntentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportIntentsResponse) GetConflictingResources() *ImportIntentsResponse_ConflictingResources
- func (x *ImportIntentsResponse) GetIntents() []string
- func (*ImportIntentsResponse) ProtoMessage()
- func (x *ImportIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportIntentsResponse) Reset()
- func (x *ImportIntentsResponse) String() string
- type ImportIntentsResponse_ConflictingResources
- func (*ImportIntentsResponse_ConflictingResources) Descriptor() ([]byte, []int)deprecated
- func (x *ImportIntentsResponse_ConflictingResources) GetEntityDisplayNames() []string
- func (x *ImportIntentsResponse_ConflictingResources) GetIntentDisplayNames() []string
- func (*ImportIntentsResponse_ConflictingResources) ProtoMessage()
- func (x *ImportIntentsResponse_ConflictingResources) ProtoReflect() protoreflect.Message
- func (x *ImportIntentsResponse_ConflictingResources) Reset()
- func (x *ImportIntentsResponse_ConflictingResources) String() string
- type ImportStrategy
- func (ImportStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x ImportStrategy) Enum() *ImportStrategy
- func (ImportStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImportStrategy) Number() protoreflect.EnumNumber
- func (x ImportStrategy) String() string
- func (ImportStrategy) Type() protoreflect.EnumType
- type ImportTestCasesMetadata
- func (*ImportTestCasesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ImportTestCasesMetadata) GetErrors() []*TestCaseError
- func (*ImportTestCasesMetadata) ProtoMessage()
- func (x *ImportTestCasesMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportTestCasesMetadata) Reset()
- func (x *ImportTestCasesMetadata) String() string
- type ImportTestCasesRequest
- func (*ImportTestCasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportTestCasesRequest) GetContent() []byte
- func (x *ImportTestCasesRequest) GetGcsUri() string
- func (x *ImportTestCasesRequest) GetParent() string
- func (m *ImportTestCasesRequest) GetSource() isImportTestCasesRequest_Source
- func (*ImportTestCasesRequest) ProtoMessage()
- func (x *ImportTestCasesRequest) ProtoReflect() protoreflect.Message
- func (x *ImportTestCasesRequest) Reset()
- func (x *ImportTestCasesRequest) String() string
- type ImportTestCasesRequest_Content
- type ImportTestCasesRequest_GcsUri
- type ImportTestCasesResponse
- func (*ImportTestCasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportTestCasesResponse) GetNames() []string
- func (*ImportTestCasesResponse) ProtoMessage()
- func (x *ImportTestCasesResponse) ProtoReflect() protoreflect.Message
- func (x *ImportTestCasesResponse) Reset()
- func (x *ImportTestCasesResponse) String() string
- type InlineDestination
- type InlineSource
- type InputAudioConfig
- func (*InputAudioConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding
- func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfig
- func (x *InputAudioConfig) GetEnableWordInfo() bool
- func (x *InputAudioConfig) GetModel() string
- func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant
- func (x *InputAudioConfig) GetOptOutConformerModelMigration() bool
- func (x *InputAudioConfig) GetPhraseHints() []string
- func (x *InputAudioConfig) GetSampleRateHertz() int32
- func (x *InputAudioConfig) GetSingleUtterance() bool
- func (*InputAudioConfig) ProtoMessage()
- func (x *InputAudioConfig) ProtoReflect() protoreflect.Message
- func (x *InputAudioConfig) Reset()
- func (x *InputAudioConfig) String() string
- type Intent
- func (*Intent) Descriptor() ([]byte, []int)deprecated
- func (x *Intent) GetDescription() string
- func (x *Intent) GetDisplayName() string
- func (x *Intent) GetIsFallback() bool
- func (x *Intent) GetLabels() map[string]string
- func (x *Intent) GetName() string
- func (x *Intent) GetParameters() []*Intent_Parameter
- func (x *Intent) GetPriority() int32
- func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase
- func (*Intent) ProtoMessage()
- func (x *Intent) ProtoReflect() protoreflect.Message
- func (x *Intent) Reset()
- func (x *Intent) String() string
- type IntentCoverage
- func (*IntentCoverage) Descriptor() ([]byte, []int)deprecated
- func (x *IntentCoverage) GetCoverageScore() float32
- func (x *IntentCoverage) GetIntents() []*IntentCoverage_Intent
- func (*IntentCoverage) ProtoMessage()
- func (x *IntentCoverage) ProtoReflect() protoreflect.Message
- func (x *IntentCoverage) Reset()
- func (x *IntentCoverage) String() string
- type IntentCoverage_Intent
- func (*IntentCoverage_Intent) Descriptor() ([]byte, []int)deprecated
- func (x *IntentCoverage_Intent) GetCovered() bool
- func (x *IntentCoverage_Intent) GetIntent() string
- func (*IntentCoverage_Intent) ProtoMessage()
- func (x *IntentCoverage_Intent) ProtoReflect() protoreflect.Message
- func (x *IntentCoverage_Intent) Reset()
- func (x *IntentCoverage_Intent) String() string
- type IntentInput
- type IntentView
- type Intent_Parameter
- func (*Intent_Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Intent_Parameter) GetEntityType() string
- func (x *Intent_Parameter) GetId() string
- func (x *Intent_Parameter) GetIsList() bool
- func (x *Intent_Parameter) GetRedact() bool
- func (*Intent_Parameter) ProtoMessage()
- func (x *Intent_Parameter) ProtoReflect() protoreflect.Message
- func (x *Intent_Parameter) Reset()
- func (x *Intent_Parameter) String() string
- type Intent_TrainingPhrase
- func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int)deprecated
- func (x *Intent_TrainingPhrase) GetId() string
- func (x *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part
- func (x *Intent_TrainingPhrase) GetRepeatCount() int32
- func (*Intent_TrainingPhrase) ProtoMessage()
- func (x *Intent_TrainingPhrase) ProtoReflect() protoreflect.Message
- func (x *Intent_TrainingPhrase) Reset()
- func (x *Intent_TrainingPhrase) String() string
- type Intent_TrainingPhrase_Part
- func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int)deprecated
- func (x *Intent_TrainingPhrase_Part) GetParameterId() string
- func (x *Intent_TrainingPhrase_Part) GetText() string
- func (*Intent_TrainingPhrase_Part) ProtoMessage()
- func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Message
- func (x *Intent_TrainingPhrase_Part) Reset()
- func (x *Intent_TrainingPhrase_Part) String() string
- type IntentsClient
- type IntentsServer
- type KnowledgeConnectorSettings
- func (*KnowledgeConnectorSettings) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeConnectorSettings) GetDataStoreConnections() []*DataStoreConnection
- func (x *KnowledgeConnectorSettings) GetEnabled() bool
- func (m *KnowledgeConnectorSettings) GetTarget() isKnowledgeConnectorSettings_Target
- func (x *KnowledgeConnectorSettings) GetTargetFlow() string
- func (x *KnowledgeConnectorSettings) GetTargetPage() string
- func (x *KnowledgeConnectorSettings) GetTriggerFulfillment() *Fulfillment
- func (*KnowledgeConnectorSettings) ProtoMessage()
- func (x *KnowledgeConnectorSettings) ProtoReflect() protoreflect.Message
- func (x *KnowledgeConnectorSettings) Reset()
- func (x *KnowledgeConnectorSettings) String() string
- type KnowledgeConnectorSettings_TargetFlow
- type KnowledgeConnectorSettings_TargetPage
- type LanguageInfo
- func (*LanguageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LanguageInfo) GetConfidenceScore() float32
- func (x *LanguageInfo) GetInputLanguageCode() string
- func (x *LanguageInfo) GetResolvedLanguageCode() string
- func (*LanguageInfo) ProtoMessage()
- func (x *LanguageInfo) ProtoReflect() protoreflect.Message
- func (x *LanguageInfo) Reset()
- func (x *LanguageInfo) String() string
- type ListAgentsRequest
- func (*ListAgentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentsRequest) GetPageSize() int32
- func (x *ListAgentsRequest) GetPageToken() string
- func (x *ListAgentsRequest) GetParent() string
- func (*ListAgentsRequest) ProtoMessage()
- func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentsRequest) Reset()
- func (x *ListAgentsRequest) String() string
- type ListAgentsResponse
- func (*ListAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentsResponse) GetAgents() []*Agent
- func (x *ListAgentsResponse) GetNextPageToken() string
- func (*ListAgentsResponse) ProtoMessage()
- func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentsResponse) Reset()
- func (x *ListAgentsResponse) String() string
- type ListChangelogsRequest
- func (*ListChangelogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListChangelogsRequest) GetFilter() string
- func (x *ListChangelogsRequest) GetPageSize() int32
- func (x *ListChangelogsRequest) GetPageToken() string
- func (x *ListChangelogsRequest) GetParent() string
- func (*ListChangelogsRequest) ProtoMessage()
- func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message
- func (x *ListChangelogsRequest) Reset()
- func (x *ListChangelogsRequest) String() string
- type ListChangelogsResponse
- func (*ListChangelogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListChangelogsResponse) GetChangelogs() []*Changelog
- func (x *ListChangelogsResponse) GetNextPageToken() string
- func (*ListChangelogsResponse) ProtoMessage()
- func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message
- func (x *ListChangelogsResponse) Reset()
- func (x *ListChangelogsResponse) String() string
- type ListContinuousTestResultsRequest
- func (*ListContinuousTestResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContinuousTestResultsRequest) GetPageSize() int32
- func (x *ListContinuousTestResultsRequest) GetPageToken() string
- func (x *ListContinuousTestResultsRequest) GetParent() string
- func (*ListContinuousTestResultsRequest) ProtoMessage()
- func (x *ListContinuousTestResultsRequest) ProtoReflect() protoreflect.Message
- func (x *ListContinuousTestResultsRequest) Reset()
- func (x *ListContinuousTestResultsRequest) String() string
- type ListContinuousTestResultsResponse
- func (*ListContinuousTestResultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContinuousTestResultsResponse) GetContinuousTestResults() []*ContinuousTestResult
- func (x *ListContinuousTestResultsResponse) GetNextPageToken() string
- func (*ListContinuousTestResultsResponse) ProtoMessage()
- func (x *ListContinuousTestResultsResponse) ProtoReflect() protoreflect.Message
- func (x *ListContinuousTestResultsResponse) Reset()
- func (x *ListContinuousTestResultsResponse) String() string
- type ListDeploymentsRequest
- func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsRequest) GetPageSize() int32
- func (x *ListDeploymentsRequest) GetPageToken() string
- func (x *ListDeploymentsRequest) GetParent() string
- func (*ListDeploymentsRequest) ProtoMessage()
- func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsRequest) Reset()
- func (x *ListDeploymentsRequest) String() string
- type ListDeploymentsResponse
- func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDeploymentsResponse) GetDeployments() []*Deployment
- func (x *ListDeploymentsResponse) GetNextPageToken() string
- func (*ListDeploymentsResponse) ProtoMessage()
- func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDeploymentsResponse) Reset()
- func (x *ListDeploymentsResponse) String() string
- type ListEntityTypesRequest
- func (*ListEntityTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntityTypesRequest) GetLanguageCode() string
- func (x *ListEntityTypesRequest) GetPageSize() int32
- func (x *ListEntityTypesRequest) GetPageToken() string
- func (x *ListEntityTypesRequest) GetParent() string
- func (*ListEntityTypesRequest) ProtoMessage()
- func (x *ListEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntityTypesRequest) Reset()
- func (x *ListEntityTypesRequest) String() string
- type ListEntityTypesResponse
- func (*ListEntityTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntityTypesResponse) GetEntityTypes() []*EntityType
- func (x *ListEntityTypesResponse) GetNextPageToken() string
- func (*ListEntityTypesResponse) ProtoMessage()
- func (x *ListEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntityTypesResponse) Reset()
- func (x *ListEntityTypesResponse) String() string
- type ListEnvironmentsRequest
- func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnvironmentsRequest) GetPageSize() int32
- func (x *ListEnvironmentsRequest) GetPageToken() string
- func (x *ListEnvironmentsRequest) GetParent() string
- func (*ListEnvironmentsRequest) ProtoMessage()
- func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEnvironmentsRequest) Reset()
- func (x *ListEnvironmentsRequest) String() string
- type ListEnvironmentsResponse
- func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment
- func (x *ListEnvironmentsResponse) GetNextPageToken() string
- func (*ListEnvironmentsResponse) ProtoMessage()
- func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEnvironmentsResponse) Reset()
- func (x *ListEnvironmentsResponse) String() string
- type ListExperimentsRequest
- func (*ListExperimentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListExperimentsRequest) GetPageSize() int32
- func (x *ListExperimentsRequest) GetPageToken() string
- func (x *ListExperimentsRequest) GetParent() string
- func (*ListExperimentsRequest) ProtoMessage()
- func (x *ListExperimentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListExperimentsRequest) Reset()
- func (x *ListExperimentsRequest) String() string
- type ListExperimentsResponse
- func (*ListExperimentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListExperimentsResponse) GetExperiments() []*Experiment
- func (x *ListExperimentsResponse) GetNextPageToken() string
- func (*ListExperimentsResponse) ProtoMessage()
- func (x *ListExperimentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListExperimentsResponse) Reset()
- func (x *ListExperimentsResponse) String() string
- type ListFlowsRequest
- func (*ListFlowsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFlowsRequest) GetLanguageCode() string
- func (x *ListFlowsRequest) GetPageSize() int32
- func (x *ListFlowsRequest) GetPageToken() string
- func (x *ListFlowsRequest) GetParent() string
- func (*ListFlowsRequest) ProtoMessage()
- func (x *ListFlowsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFlowsRequest) Reset()
- func (x *ListFlowsRequest) String() string
- type ListFlowsResponse
- func (*ListFlowsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFlowsResponse) GetFlows() []*Flow
- func (x *ListFlowsResponse) GetNextPageToken() string
- func (*ListFlowsResponse) ProtoMessage()
- func (x *ListFlowsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFlowsResponse) Reset()
- func (x *ListFlowsResponse) String() string
- type ListGeneratorsRequest
- func (*ListGeneratorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGeneratorsRequest) GetLanguageCode() string
- func (x *ListGeneratorsRequest) GetPageSize() int32
- func (x *ListGeneratorsRequest) GetPageToken() string
- func (x *ListGeneratorsRequest) GetParent() string
- func (*ListGeneratorsRequest) ProtoMessage()
- func (x *ListGeneratorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGeneratorsRequest) Reset()
- func (x *ListGeneratorsRequest) String() string
- type ListGeneratorsResponse
- func (*ListGeneratorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGeneratorsResponse) GetGenerators() []*Generator
- func (x *ListGeneratorsResponse) GetNextPageToken() string
- func (*ListGeneratorsResponse) ProtoMessage()
- func (x *ListGeneratorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGeneratorsResponse) Reset()
- func (x *ListGeneratorsResponse) String() string
- type ListIntentsRequest
- func (*ListIntentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIntentsRequest) GetIntentView() IntentView
- func (x *ListIntentsRequest) GetLanguageCode() string
- func (x *ListIntentsRequest) GetPageSize() int32
- func (x *ListIntentsRequest) GetPageToken() string
- func (x *ListIntentsRequest) GetParent() string
- func (*ListIntentsRequest) ProtoMessage()
- func (x *ListIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIntentsRequest) Reset()
- func (x *ListIntentsRequest) String() string
- type ListIntentsResponse
- func (*ListIntentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIntentsResponse) GetIntents() []*Intent
- func (x *ListIntentsResponse) GetNextPageToken() string
- func (*ListIntentsResponse) ProtoMessage()
- func (x *ListIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIntentsResponse) Reset()
- func (x *ListIntentsResponse) String() string
- type ListPagesRequest
- func (*ListPagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPagesRequest) GetLanguageCode() string
- func (x *ListPagesRequest) GetPageSize() int32
- func (x *ListPagesRequest) GetPageToken() string
- func (x *ListPagesRequest) GetParent() string
- func (*ListPagesRequest) ProtoMessage()
- func (x *ListPagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPagesRequest) Reset()
- func (x *ListPagesRequest) String() string
- type ListPagesResponse
- func (*ListPagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPagesResponse) GetNextPageToken() string
- func (x *ListPagesResponse) GetPages() []*Page
- func (*ListPagesResponse) ProtoMessage()
- func (x *ListPagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPagesResponse) Reset()
- func (x *ListPagesResponse) String() string
- type ListSecuritySettingsRequest
- func (*ListSecuritySettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecuritySettingsRequest) GetPageSize() int32
- func (x *ListSecuritySettingsRequest) GetPageToken() string
- func (x *ListSecuritySettingsRequest) GetParent() string
- func (*ListSecuritySettingsRequest) ProtoMessage()
- func (x *ListSecuritySettingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecuritySettingsRequest) Reset()
- func (x *ListSecuritySettingsRequest) String() string
- type ListSecuritySettingsResponse
- func (*ListSecuritySettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecuritySettingsResponse) GetNextPageToken() string
- func (x *ListSecuritySettingsResponse) GetSecuritySettings() []*SecuritySettings
- func (*ListSecuritySettingsResponse) ProtoMessage()
- func (x *ListSecuritySettingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecuritySettingsResponse) Reset()
- func (x *ListSecuritySettingsResponse) String() string
- type ListSessionEntityTypesRequest
- func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionEntityTypesRequest) GetPageSize() int32
- func (x *ListSessionEntityTypesRequest) GetPageToken() string
- func (x *ListSessionEntityTypesRequest) GetParent() string
- func (*ListSessionEntityTypesRequest) ProtoMessage()
- func (x *ListSessionEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSessionEntityTypesRequest) Reset()
- func (x *ListSessionEntityTypesRequest) String() string
- type ListSessionEntityTypesResponse
- func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionEntityTypesResponse) GetNextPageToken() string
- func (x *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType
- func (*ListSessionEntityTypesResponse) ProtoMessage()
- func (x *ListSessionEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionEntityTypesResponse) Reset()
- func (x *ListSessionEntityTypesResponse) String() string
- type ListTestCaseResultsRequest
- func (*ListTestCaseResultsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTestCaseResultsRequest) GetFilter() string
- func (x *ListTestCaseResultsRequest) GetPageSize() int32
- func (x *ListTestCaseResultsRequest) GetPageToken() string
- func (x *ListTestCaseResultsRequest) GetParent() string
- func (*ListTestCaseResultsRequest) ProtoMessage()
- func (x *ListTestCaseResultsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTestCaseResultsRequest) Reset()
- func (x *ListTestCaseResultsRequest) String() string
- type ListTestCaseResultsResponse
- func (*ListTestCaseResultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTestCaseResultsResponse) GetNextPageToken() string
- func (x *ListTestCaseResultsResponse) GetTestCaseResults() []*TestCaseResult
- func (*ListTestCaseResultsResponse) ProtoMessage()
- func (x *ListTestCaseResultsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTestCaseResultsResponse) Reset()
- func (x *ListTestCaseResultsResponse) String() string
- type ListTestCasesRequest
- func (*ListTestCasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTestCasesRequest) GetPageSize() int32
- func (x *ListTestCasesRequest) GetPageToken() string
- func (x *ListTestCasesRequest) GetParent() string
- func (x *ListTestCasesRequest) GetView() ListTestCasesRequest_TestCaseView
- func (*ListTestCasesRequest) ProtoMessage()
- func (x *ListTestCasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTestCasesRequest) Reset()
- func (x *ListTestCasesRequest) String() string
- type ListTestCasesRequest_TestCaseView
- func (ListTestCasesRequest_TestCaseView) Descriptor() protoreflect.EnumDescriptor
- func (x ListTestCasesRequest_TestCaseView) Enum() *ListTestCasesRequest_TestCaseView
- func (ListTestCasesRequest_TestCaseView) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListTestCasesRequest_TestCaseView) Number() protoreflect.EnumNumber
- func (x ListTestCasesRequest_TestCaseView) String() string
- func (ListTestCasesRequest_TestCaseView) Type() protoreflect.EnumType
- type ListTestCasesResponse
- func (*ListTestCasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTestCasesResponse) GetNextPageToken() string
- func (x *ListTestCasesResponse) GetTestCases() []*TestCase
- func (*ListTestCasesResponse) ProtoMessage()
- func (x *ListTestCasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTestCasesResponse) Reset()
- func (x *ListTestCasesResponse) String() string
- type ListTransitionRouteGroupsRequest
- func (*ListTransitionRouteGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransitionRouteGroupsRequest) GetLanguageCode() string
- func (x *ListTransitionRouteGroupsRequest) GetPageSize() int32
- func (x *ListTransitionRouteGroupsRequest) GetPageToken() string
- func (x *ListTransitionRouteGroupsRequest) GetParent() string
- func (*ListTransitionRouteGroupsRequest) ProtoMessage()
- func (x *ListTransitionRouteGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTransitionRouteGroupsRequest) Reset()
- func (x *ListTransitionRouteGroupsRequest) String() string
- type ListTransitionRouteGroupsResponse
- func (*ListTransitionRouteGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransitionRouteGroupsResponse) GetNextPageToken() string
- func (x *ListTransitionRouteGroupsResponse) GetTransitionRouteGroups() []*TransitionRouteGroup
- func (*ListTransitionRouteGroupsResponse) ProtoMessage()
- func (x *ListTransitionRouteGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransitionRouteGroupsResponse) Reset()
- func (x *ListTransitionRouteGroupsResponse) String() string
- type ListVersionsRequest
- func (*ListVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVersionsRequest) GetPageSize() int32
- func (x *ListVersionsRequest) GetPageToken() string
- func (x *ListVersionsRequest) GetParent() string
- func (*ListVersionsRequest) ProtoMessage()
- func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVersionsRequest) Reset()
- func (x *ListVersionsRequest) String() string
- type ListVersionsResponse
- func (*ListVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVersionsResponse) GetNextPageToken() string
- func (x *ListVersionsResponse) GetVersions() []*Version
- func (*ListVersionsResponse) ProtoMessage()
- func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVersionsResponse) Reset()
- func (x *ListVersionsResponse) String() string
- type ListWebhooksRequest
- func (*ListWebhooksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksRequest) GetPageSize() int32
- func (x *ListWebhooksRequest) GetPageToken() string
- func (x *ListWebhooksRequest) GetParent() string
- func (*ListWebhooksRequest) ProtoMessage()
- func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksRequest) Reset()
- func (x *ListWebhooksRequest) String() string
- type ListWebhooksResponse
- func (*ListWebhooksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWebhooksResponse) GetNextPageToken() string
- func (x *ListWebhooksResponse) GetWebhooks() []*Webhook
- func (*ListWebhooksResponse) ProtoMessage()
- func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
- func (x *ListWebhooksResponse) Reset()
- func (x *ListWebhooksResponse) String() string
- type LoadVersionRequest
- func (*LoadVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadVersionRequest) GetAllowOverrideAgentResources() bool
- func (x *LoadVersionRequest) GetName() string
- func (*LoadVersionRequest) ProtoMessage()
- func (x *LoadVersionRequest) ProtoReflect() protoreflect.Message
- func (x *LoadVersionRequest) Reset()
- func (x *LoadVersionRequest) String() string
- type LookupEnvironmentHistoryRequest
- func (*LookupEnvironmentHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LookupEnvironmentHistoryRequest) GetName() string
- func (x *LookupEnvironmentHistoryRequest) GetPageSize() int32
- func (x *LookupEnvironmentHistoryRequest) GetPageToken() string
- func (*LookupEnvironmentHistoryRequest) ProtoMessage()
- func (x *LookupEnvironmentHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *LookupEnvironmentHistoryRequest) Reset()
- func (x *LookupEnvironmentHistoryRequest) String() string
- type LookupEnvironmentHistoryResponse
- func (*LookupEnvironmentHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LookupEnvironmentHistoryResponse) GetEnvironments() []*Environment
- func (x *LookupEnvironmentHistoryResponse) GetNextPageToken() string
- func (*LookupEnvironmentHistoryResponse) ProtoMessage()
- func (x *LookupEnvironmentHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *LookupEnvironmentHistoryResponse) Reset()
- func (x *LookupEnvironmentHistoryResponse) String() string
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetConfidence() float32
- func (x *Match) GetEvent() string
- func (x *Match) GetIntent() *Intent
- func (x *Match) GetMatchType() Match_MatchType
- func (x *Match) GetParameters() *structpb.Struct
- func (x *Match) GetResolvedInput() string
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type MatchIntentRequest
- func (*MatchIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MatchIntentRequest) GetPersistParameterChanges() bool
- func (x *MatchIntentRequest) GetQueryInput() *QueryInput
- func (x *MatchIntentRequest) GetQueryParams() *QueryParameters
- func (x *MatchIntentRequest) GetSession() string
- func (*MatchIntentRequest) ProtoMessage()
- func (x *MatchIntentRequest) ProtoReflect() protoreflect.Message
- func (x *MatchIntentRequest) Reset()
- func (x *MatchIntentRequest) String() string
- type MatchIntentResponse
- func (*MatchIntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MatchIntentResponse) GetCurrentPage() *Page
- func (x *MatchIntentResponse) GetMatches() []*Match
- func (m *MatchIntentResponse) GetQuery() isMatchIntentResponse_Query
- func (x *MatchIntentResponse) GetText() string
- func (x *MatchIntentResponse) GetTranscript() string
- func (x *MatchIntentResponse) GetTriggerEvent() string
- func (x *MatchIntentResponse) GetTriggerIntent() string
- func (*MatchIntentResponse) ProtoMessage()
- func (x *MatchIntentResponse) ProtoReflect() protoreflect.Message
- func (x *MatchIntentResponse) Reset()
- func (x *MatchIntentResponse) String() string
- type MatchIntentResponse_Text
- type MatchIntentResponse_Transcript
- type MatchIntentResponse_TriggerEvent
- type MatchIntentResponse_TriggerIntent
- type Match_MatchType
- func (Match_MatchType) Descriptor() protoreflect.EnumDescriptor
- func (x Match_MatchType) Enum() *Match_MatchType
- func (Match_MatchType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Match_MatchType) Number() protoreflect.EnumNumber
- func (x Match_MatchType) String() string
- func (Match_MatchType) Type() protoreflect.EnumType
- type NluSettings
- func (*NluSettings) Descriptor() ([]byte, []int)deprecated
- func (x *NluSettings) GetClassificationThreshold() float32
- func (x *NluSettings) GetModelTrainingMode() NluSettings_ModelTrainingMode
- func (x *NluSettings) GetModelType() NluSettings_ModelType
- func (*NluSettings) ProtoMessage()
- func (x *NluSettings) ProtoReflect() protoreflect.Message
- func (x *NluSettings) Reset()
- func (x *NluSettings) String() string
- type NluSettings_ModelTrainingMode
- func (NluSettings_ModelTrainingMode) Descriptor() protoreflect.EnumDescriptor
- func (x NluSettings_ModelTrainingMode) Enum() *NluSettings_ModelTrainingMode
- func (NluSettings_ModelTrainingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NluSettings_ModelTrainingMode) Number() protoreflect.EnumNumber
- func (x NluSettings_ModelTrainingMode) String() string
- func (NluSettings_ModelTrainingMode) Type() protoreflect.EnumType
- type NluSettings_ModelType
- func (NluSettings_ModelType) Descriptor() protoreflect.EnumDescriptor
- func (x NluSettings_ModelType) Enum() *NluSettings_ModelType
- func (NluSettings_ModelType) EnumDescriptor() ([]byte, []int)deprecated
- func (x NluSettings_ModelType) Number() protoreflect.EnumNumber
- func (x NluSettings_ModelType) String() string
- func (NluSettings_ModelType) Type() protoreflect.EnumType
- type OutputAudioConfig
- func (*OutputAudioConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding
- func (x *OutputAudioConfig) GetSampleRateHertz() int32
- func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig
- func (*OutputAudioConfig) ProtoMessage()
- func (x *OutputAudioConfig) ProtoReflect() protoreflect.Message
- func (x *OutputAudioConfig) Reset()
- func (x *OutputAudioConfig) String() string
- type OutputAudioEncoding
- func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x OutputAudioEncoding) Enum() *OutputAudioEncoding
- func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x OutputAudioEncoding) Number() protoreflect.EnumNumber
- func (x OutputAudioEncoding) String() string
- func (OutputAudioEncoding) Type() protoreflect.EnumType
- type Page
- func (*Page) Descriptor() ([]byte, []int)deprecated
- func (x *Page) GetAdvancedSettings() *AdvancedSettings
- func (x *Page) GetDescription() string
- func (x *Page) GetDisplayName() string
- func (x *Page) GetEntryFulfillment() *Fulfillment
- func (x *Page) GetEventHandlers() []*EventHandler
- func (x *Page) GetForm() *Form
- func (x *Page) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettings
- func (x *Page) GetName() string
- func (x *Page) GetTransitionRouteGroups() []string
- func (x *Page) GetTransitionRoutes() []*TransitionRoute
- func (*Page) ProtoMessage()
- func (x *Page) ProtoReflect() protoreflect.Message
- func (x *Page) Reset()
- func (x *Page) String() string
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetCurrentPage() string
- func (x *PageInfo) GetDisplayName() string
- func (x *PageInfo) GetFormInfo() *PageInfo_FormInfo
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type PageInfo_FormInfo
- func (*PageInfo_FormInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo_FormInfo) GetParameterInfo() []*PageInfo_FormInfo_ParameterInfo
- func (*PageInfo_FormInfo) ProtoMessage()
- func (x *PageInfo_FormInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo_FormInfo) Reset()
- func (x *PageInfo_FormInfo) String() string
- type PageInfo_FormInfo_ParameterInfo
- func (*PageInfo_FormInfo_ParameterInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo_FormInfo_ParameterInfo) GetDisplayName() string
- func (x *PageInfo_FormInfo_ParameterInfo) GetJustCollected() bool
- func (x *PageInfo_FormInfo_ParameterInfo) GetRequired() bool
- func (x *PageInfo_FormInfo_ParameterInfo) GetState() PageInfo_FormInfo_ParameterInfo_ParameterState
- func (x *PageInfo_FormInfo_ParameterInfo) GetValue() *structpb.Value
- func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage()
- func (x *PageInfo_FormInfo_ParameterInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo_FormInfo_ParameterInfo) Reset()
- func (x *PageInfo_FormInfo_ParameterInfo) String() string
- type PageInfo_FormInfo_ParameterInfo_ParameterState
- func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor() protoreflect.EnumDescriptor
- func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Enum() *PageInfo_FormInfo_ParameterInfo_ParameterState
- func (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Number() protoreflect.EnumNumber
- func (x PageInfo_FormInfo_ParameterInfo_ParameterState) String() string
- func (PageInfo_FormInfo_ParameterInfo_ParameterState) Type() protoreflect.EnumType
- type PagesClient
- type PagesServer
- type Phrase
- type QueryInput
- func (*QueryInput) Descriptor() ([]byte, []int)deprecated
- func (x *QueryInput) GetAudio() *AudioInput
- func (x *QueryInput) GetDtmf() *DtmfInput
- func (x *QueryInput) GetEvent() *EventInput
- func (m *QueryInput) GetInput() isQueryInput_Input
- func (x *QueryInput) GetIntent() *IntentInput
- func (x *QueryInput) GetLanguageCode() string
- func (x *QueryInput) GetText() *TextInput
- func (*QueryInput) ProtoMessage()
- func (x *QueryInput) ProtoReflect() protoreflect.Message
- func (x *QueryInput) Reset()
- func (x *QueryInput) String() string
- type QueryInput_Audio
- type QueryInput_Dtmf
- type QueryInput_Event
- type QueryInput_Intent
- type QueryInput_Text
- type QueryParameters
- func (*QueryParameters) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParameters) GetAnalyzeQueryTextSentiment() bool
- func (x *QueryParameters) GetChannel() string
- func (x *QueryParameters) GetCurrentPage() string
- func (x *QueryParameters) GetDisableWebhook() bool
- func (x *QueryParameters) GetEndUserMetadata() *structpb.Struct
- func (x *QueryParameters) GetFlowVersions() []string
- func (x *QueryParameters) GetGeoLocation() *latlng.LatLng
- func (x *QueryParameters) GetParameters() *structpb.Struct
- func (x *QueryParameters) GetPayload() *structpb.Struct
- func (x *QueryParameters) GetPopulateDataStoreConnectionSignals() bool
- func (x *QueryParameters) GetSearchConfig() *SearchConfig
- func (x *QueryParameters) GetSessionEntityTypes() []*SessionEntityType
- func (x *QueryParameters) GetSessionTtl() *durationpb.Duration
- func (x *QueryParameters) GetTimeZone() string
- func (x *QueryParameters) GetWebhookHeaders() map[string]string
- func (*QueryParameters) ProtoMessage()
- func (x *QueryParameters) ProtoReflect() protoreflect.Message
- func (x *QueryParameters) Reset()
- func (x *QueryParameters) String() string
- type QueryResult
- func (*QueryResult) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResult) GetAdvancedSettings() *AdvancedSettings
- func (x *QueryResult) GetAllowAnswerFeedback() bool
- func (x *QueryResult) GetCurrentFlow() *Flow
- func (x *QueryResult) GetCurrentPage() *Page
- func (x *QueryResult) GetDataStoreConnectionSignals() *DataStoreConnectionSignals
- func (x *QueryResult) GetDiagnosticInfo() *structpb.Struct
- func (x *QueryResult) GetDtmf() *DtmfInput
- func (x *QueryResult) GetIntent() *Intentdeprecated
- func (x *QueryResult) GetIntentDetectionConfidence() float32deprecated
- func (x *QueryResult) GetLanguageCode() string
- func (x *QueryResult) GetMatch() *Match
- func (x *QueryResult) GetParameters() *structpb.Struct
- func (m *QueryResult) GetQuery() isQueryResult_Query
- func (x *QueryResult) GetResponseMessages() []*ResponseMessage
- func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult
- func (x *QueryResult) GetText() string
- func (x *QueryResult) GetTranscript() string
- func (x *QueryResult) GetTriggerEvent() string
- func (x *QueryResult) GetTriggerIntent() string
- func (x *QueryResult) GetWebhookDisplayNames() []string
- func (x *QueryResult) GetWebhookIds() []string
- func (x *QueryResult) GetWebhookLatencies() []*durationpb.Duration
- func (x *QueryResult) GetWebhookPayloads() []*structpb.Struct
- func (x *QueryResult) GetWebhookStatuses() []*status.Status
- func (x *QueryResult) GetWebhookTags() []string
- func (*QueryResult) ProtoMessage()
- func (x *QueryResult) ProtoReflect() protoreflect.Message
- func (x *QueryResult) Reset()
- func (x *QueryResult) String() string
- type QueryResult_Dtmf
- type QueryResult_Text
- type QueryResult_Transcript
- type QueryResult_TriggerEvent
- type QueryResult_TriggerIntent
- type ResourceName
- func (*ResourceName) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceName) GetDisplayName() string
- func (x *ResourceName) GetName() string
- func (*ResourceName) ProtoMessage()
- func (x *ResourceName) ProtoReflect() protoreflect.Message
- func (x *ResourceName) Reset()
- func (x *ResourceName) String() string
- type ResponseMessage
- func (*ResponseMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage) GetChannel() string
- func (x *ResponseMessage) GetConversationSuccess() *ResponseMessage_ConversationSuccess
- func (x *ResponseMessage) GetEndInteraction() *ResponseMessage_EndInteraction
- func (x *ResponseMessage) GetKnowledgeInfoCard() *ResponseMessage_KnowledgeInfoCard
- func (x *ResponseMessage) GetLiveAgentHandoff() *ResponseMessage_LiveAgentHandoff
- func (m *ResponseMessage) GetMessage() isResponseMessage_Message
- func (x *ResponseMessage) GetMixedAudio() *ResponseMessage_MixedAudio
- func (x *ResponseMessage) GetOutputAudioText() *ResponseMessage_OutputAudioText
- func (x *ResponseMessage) GetPayload() *structpb.Struct
- func (x *ResponseMessage) GetPlayAudio() *ResponseMessage_PlayAudio
- func (x *ResponseMessage) GetResponseType() ResponseMessage_ResponseType
- func (x *ResponseMessage) GetTelephonyTransferCall() *ResponseMessage_TelephonyTransferCall
- func (x *ResponseMessage) GetText() *ResponseMessage_Text
- func (*ResponseMessage) ProtoMessage()
- func (x *ResponseMessage) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage) Reset()
- func (x *ResponseMessage) String() string
- type ResponseMessage_ConversationSuccess
- func (*ResponseMessage_ConversationSuccess) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_ConversationSuccess) GetMetadata() *structpb.Struct
- func (*ResponseMessage_ConversationSuccess) ProtoMessage()
- func (x *ResponseMessage_ConversationSuccess) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_ConversationSuccess) Reset()
- func (x *ResponseMessage_ConversationSuccess) String() string
- type ResponseMessage_ConversationSuccess_
- type ResponseMessage_EndInteraction
- func (*ResponseMessage_EndInteraction) Descriptor() ([]byte, []int)deprecated
- func (*ResponseMessage_EndInteraction) ProtoMessage()
- func (x *ResponseMessage_EndInteraction) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_EndInteraction) Reset()
- func (x *ResponseMessage_EndInteraction) String() string
- type ResponseMessage_EndInteraction_
- type ResponseMessage_KnowledgeInfoCard
- func (*ResponseMessage_KnowledgeInfoCard) Descriptor() ([]byte, []int)deprecated
- func (*ResponseMessage_KnowledgeInfoCard) ProtoMessage()
- func (x *ResponseMessage_KnowledgeInfoCard) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_KnowledgeInfoCard) Reset()
- func (x *ResponseMessage_KnowledgeInfoCard) String() string
- type ResponseMessage_KnowledgeInfoCard_
- type ResponseMessage_LiveAgentHandoff
- func (*ResponseMessage_LiveAgentHandoff) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct
- func (*ResponseMessage_LiveAgentHandoff) ProtoMessage()
- func (x *ResponseMessage_LiveAgentHandoff) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_LiveAgentHandoff) Reset()
- func (x *ResponseMessage_LiveAgentHandoff) String() string
- type ResponseMessage_LiveAgentHandoff_
- type ResponseMessage_MixedAudio
- func (*ResponseMessage_MixedAudio) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_MixedAudio) GetSegments() []*ResponseMessage_MixedAudio_Segment
- func (*ResponseMessage_MixedAudio) ProtoMessage()
- func (x *ResponseMessage_MixedAudio) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_MixedAudio) Reset()
- func (x *ResponseMessage_MixedAudio) String() string
- type ResponseMessage_MixedAudio_
- type ResponseMessage_MixedAudio_Segment
- func (*ResponseMessage_MixedAudio_Segment) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption() bool
- func (x *ResponseMessage_MixedAudio_Segment) GetAudio() []byte
- func (m *ResponseMessage_MixedAudio_Segment) GetContent() isResponseMessage_MixedAudio_Segment_Content
- func (x *ResponseMessage_MixedAudio_Segment) GetUri() string
- func (*ResponseMessage_MixedAudio_Segment) ProtoMessage()
- func (x *ResponseMessage_MixedAudio_Segment) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_MixedAudio_Segment) Reset()
- func (x *ResponseMessage_MixedAudio_Segment) String() string
- type ResponseMessage_MixedAudio_Segment_Audio
- type ResponseMessage_MixedAudio_Segment_Uri
- type ResponseMessage_OutputAudioText
- func (*ResponseMessage_OutputAudioText) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption() bool
- func (m *ResponseMessage_OutputAudioText) GetSource() isResponseMessage_OutputAudioText_Source
- func (x *ResponseMessage_OutputAudioText) GetSsml() string
- func (x *ResponseMessage_OutputAudioText) GetText() string
- func (*ResponseMessage_OutputAudioText) ProtoMessage()
- func (x *ResponseMessage_OutputAudioText) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_OutputAudioText) Reset()
- func (x *ResponseMessage_OutputAudioText) String() string
- type ResponseMessage_OutputAudioText_
- type ResponseMessage_OutputAudioText_Ssml
- type ResponseMessage_OutputAudioText_Text
- type ResponseMessage_Payload
- type ResponseMessage_PlayAudio
- func (*ResponseMessage_PlayAudio) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_PlayAudio) GetAllowPlaybackInterruption() bool
- func (x *ResponseMessage_PlayAudio) GetAudioUri() string
- func (*ResponseMessage_PlayAudio) ProtoMessage()
- func (x *ResponseMessage_PlayAudio) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_PlayAudio) Reset()
- func (x *ResponseMessage_PlayAudio) String() string
- type ResponseMessage_PlayAudio_
- type ResponseMessage_ResponseType
- func (ResponseMessage_ResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseMessage_ResponseType) Enum() *ResponseMessage_ResponseType
- func (ResponseMessage_ResponseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseMessage_ResponseType) Number() protoreflect.EnumNumber
- func (x ResponseMessage_ResponseType) String() string
- func (ResponseMessage_ResponseType) Type() protoreflect.EnumType
- type ResponseMessage_TelephonyTransferCall
- func (*ResponseMessage_TelephonyTransferCall) Descriptor() ([]byte, []int)deprecated
- func (m *ResponseMessage_TelephonyTransferCall) GetEndpoint() isResponseMessage_TelephonyTransferCall_Endpoint
- func (x *ResponseMessage_TelephonyTransferCall) GetPhoneNumber() string
- func (*ResponseMessage_TelephonyTransferCall) ProtoMessage()
- func (x *ResponseMessage_TelephonyTransferCall) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_TelephonyTransferCall) Reset()
- func (x *ResponseMessage_TelephonyTransferCall) String() string
- type ResponseMessage_TelephonyTransferCall_
- type ResponseMessage_TelephonyTransferCall_PhoneNumber
- type ResponseMessage_Text
- func (*ResponseMessage_Text) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool
- func (x *ResponseMessage_Text) GetText() []string
- func (*ResponseMessage_Text) ProtoMessage()
- func (x *ResponseMessage_Text) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_Text) Reset()
- func (x *ResponseMessage_Text) String() string
- type ResponseMessage_Text_
- type RestoreAgentRequest
- func (*RestoreAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent
- func (x *RestoreAgentRequest) GetAgentContent() []byte
- func (x *RestoreAgentRequest) GetAgentUri() string
- func (x *RestoreAgentRequest) GetGitSource() *RestoreAgentRequest_GitSource
- func (x *RestoreAgentRequest) GetName() string
- func (x *RestoreAgentRequest) GetRestoreOption() RestoreAgentRequest_RestoreOption
- func (*RestoreAgentRequest) ProtoMessage()
- func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreAgentRequest) Reset()
- func (x *RestoreAgentRequest) String() string
- type RestoreAgentRequest_AgentContent
- type RestoreAgentRequest_AgentUri
- type RestoreAgentRequest_GitSource
- func (*RestoreAgentRequest_GitSource) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreAgentRequest_GitSource) GetTrackingBranch() string
- func (*RestoreAgentRequest_GitSource) ProtoMessage()
- func (x *RestoreAgentRequest_GitSource) ProtoReflect() protoreflect.Message
- func (x *RestoreAgentRequest_GitSource) Reset()
- func (x *RestoreAgentRequest_GitSource) String() string
- type RestoreAgentRequest_GitSource_
- type RestoreAgentRequest_RestoreOption
- func (RestoreAgentRequest_RestoreOption) Descriptor() protoreflect.EnumDescriptor
- func (x RestoreAgentRequest_RestoreOption) Enum() *RestoreAgentRequest_RestoreOption
- func (RestoreAgentRequest_RestoreOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x RestoreAgentRequest_RestoreOption) Number() protoreflect.EnumNumber
- func (x RestoreAgentRequest_RestoreOption) String() string
- func (RestoreAgentRequest_RestoreOption) Type() protoreflect.EnumType
- type RolloutConfig
- func (*RolloutConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RolloutConfig) GetFailureCondition() string
- func (x *RolloutConfig) GetRolloutCondition() string
- func (x *RolloutConfig) GetRolloutSteps() []*RolloutConfig_RolloutStep
- func (*RolloutConfig) ProtoMessage()
- func (x *RolloutConfig) ProtoReflect() protoreflect.Message
- func (x *RolloutConfig) Reset()
- func (x *RolloutConfig) String() string
- type RolloutConfig_RolloutStep
- func (*RolloutConfig_RolloutStep) Descriptor() ([]byte, []int)deprecated
- func (x *RolloutConfig_RolloutStep) GetDisplayName() string
- func (x *RolloutConfig_RolloutStep) GetMinDuration() *durationpb.Duration
- func (x *RolloutConfig_RolloutStep) GetTrafficPercent() int32
- func (*RolloutConfig_RolloutStep) ProtoMessage()
- func (x *RolloutConfig_RolloutStep) ProtoReflect() protoreflect.Message
- func (x *RolloutConfig_RolloutStep) Reset()
- func (x *RolloutConfig_RolloutStep) String() string
- type RolloutState
- func (*RolloutState) Descriptor() ([]byte, []int)deprecated
- func (x *RolloutState) GetStartTime() *timestamppb.Timestamp
- func (x *RolloutState) GetStep() string
- func (x *RolloutState) GetStepIndex() int32
- func (*RolloutState) ProtoMessage()
- func (x *RolloutState) ProtoReflect() protoreflect.Message
- func (x *RolloutState) Reset()
- func (x *RolloutState) String() string
- type RunContinuousTestMetadata
- func (*RunContinuousTestMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RunContinuousTestMetadata) GetErrors() []*TestError
- func (*RunContinuousTestMetadata) ProtoMessage()
- func (x *RunContinuousTestMetadata) ProtoReflect() protoreflect.Message
- func (x *RunContinuousTestMetadata) Reset()
- func (x *RunContinuousTestMetadata) String() string
- type RunContinuousTestRequest
- func (*RunContinuousTestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunContinuousTestRequest) GetEnvironment() string
- func (*RunContinuousTestRequest) ProtoMessage()
- func (x *RunContinuousTestRequest) ProtoReflect() protoreflect.Message
- func (x *RunContinuousTestRequest) Reset()
- func (x *RunContinuousTestRequest) String() string
- type RunContinuousTestResponse
- func (*RunContinuousTestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunContinuousTestResponse) GetContinuousTestResult() *ContinuousTestResult
- func (*RunContinuousTestResponse) ProtoMessage()
- func (x *RunContinuousTestResponse) ProtoReflect() protoreflect.Message
- func (x *RunContinuousTestResponse) Reset()
- func (x *RunContinuousTestResponse) String() string
- type RunTestCaseMetadata
- type RunTestCaseRequest
- func (*RunTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunTestCaseRequest) GetEnvironment() string
- func (x *RunTestCaseRequest) GetName() string
- func (*RunTestCaseRequest) ProtoMessage()
- func (x *RunTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *RunTestCaseRequest) Reset()
- func (x *RunTestCaseRequest) String() string
- type RunTestCaseResponse
- func (*RunTestCaseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunTestCaseResponse) GetResult() *TestCaseResult
- func (*RunTestCaseResponse) ProtoMessage()
- func (x *RunTestCaseResponse) ProtoReflect() protoreflect.Message
- func (x *RunTestCaseResponse) Reset()
- func (x *RunTestCaseResponse) String() string
- type SafetySettings
- func (*SafetySettings) Descriptor() ([]byte, []int)deprecated
- func (x *SafetySettings) GetBannedPhrases() []*SafetySettings_Phrase
- func (*SafetySettings) ProtoMessage()
- func (x *SafetySettings) ProtoReflect() protoreflect.Message
- func (x *SafetySettings) Reset()
- func (x *SafetySettings) String() string
- type SafetySettings_Phrase
- func (*SafetySettings_Phrase) Descriptor() ([]byte, []int)deprecated
- func (x *SafetySettings_Phrase) GetLanguageCode() string
- func (x *SafetySettings_Phrase) GetText() string
- func (*SafetySettings_Phrase) ProtoMessage()
- func (x *SafetySettings_Phrase) ProtoReflect() protoreflect.Message
- func (x *SafetySettings_Phrase) Reset()
- func (x *SafetySettings_Phrase) String() string
- type SearchConfig
- func (*SearchConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SearchConfig) GetBoostSpecs() []*BoostSpecs
- func (x *SearchConfig) GetFilterSpecs() []*FilterSpecs
- func (*SearchConfig) ProtoMessage()
- func (x *SearchConfig) ProtoReflect() protoreflect.Message
- func (x *SearchConfig) Reset()
- func (x *SearchConfig) String() string
- type SecuritySettings
- func (*SecuritySettings) Descriptor() ([]byte, []int)deprecated
- func (x *SecuritySettings) GetAudioExportSettings() *SecuritySettings_AudioExportSettings
- func (m *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetention
- func (x *SecuritySettings) GetDeidentifyTemplate() string
- func (x *SecuritySettings) GetDisplayName() string
- func (x *SecuritySettings) GetInsightsExportSettings() *SecuritySettings_InsightsExportSettings
- func (x *SecuritySettings) GetInspectTemplate() string
- func (x *SecuritySettings) GetName() string
- func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataType
- func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScope
- func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategy
- func (x *SecuritySettings) GetRetentionStrategy() SecuritySettings_RetentionStrategy
- func (x *SecuritySettings) GetRetentionWindowDays() int32
- func (*SecuritySettings) ProtoMessage()
- func (x *SecuritySettings) ProtoReflect() protoreflect.Message
- func (x *SecuritySettings) Reset()
- func (x *SecuritySettings) String() string
- type SecuritySettingsServiceClient
- type SecuritySettingsServiceServer
- type SecuritySettings_AudioExportSettings
- func (*SecuritySettings_AudioExportSettings) Descriptor() ([]byte, []int)deprecated
- func (x *SecuritySettings_AudioExportSettings) GetAudioExportPattern() string
- func (x *SecuritySettings_AudioExportSettings) GetAudioFormat() SecuritySettings_AudioExportSettings_AudioFormat
- func (x *SecuritySettings_AudioExportSettings) GetEnableAudioRedaction() bool
- func (x *SecuritySettings_AudioExportSettings) GetGcsBucket() string
- func (x *SecuritySettings_AudioExportSettings) GetStoreTtsAudio() bool
- func (*SecuritySettings_AudioExportSettings) ProtoMessage()
- func (x *SecuritySettings_AudioExportSettings) ProtoReflect() protoreflect.Message
- func (x *SecuritySettings_AudioExportSettings) Reset()
- func (x *SecuritySettings_AudioExportSettings) String() string
- type SecuritySettings_AudioExportSettings_AudioFormat
- func (SecuritySettings_AudioExportSettings_AudioFormat) Descriptor() protoreflect.EnumDescriptor
- func (x SecuritySettings_AudioExportSettings_AudioFormat) Enum() *SecuritySettings_AudioExportSettings_AudioFormat
- func (SecuritySettings_AudioExportSettings_AudioFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecuritySettings_AudioExportSettings_AudioFormat) Number() protoreflect.EnumNumber
- func (x SecuritySettings_AudioExportSettings_AudioFormat) String() string
- func (SecuritySettings_AudioExportSettings_AudioFormat) Type() protoreflect.EnumType
- type SecuritySettings_InsightsExportSettings
- func (*SecuritySettings_InsightsExportSettings) Descriptor() ([]byte, []int)deprecated
- func (x *SecuritySettings_InsightsExportSettings) GetEnableInsightsExport() bool
- func (*SecuritySettings_InsightsExportSettings) ProtoMessage()
- func (x *SecuritySettings_InsightsExportSettings) ProtoReflect() protoreflect.Message
- func (x *SecuritySettings_InsightsExportSettings) Reset()
- func (x *SecuritySettings_InsightsExportSettings) String() string
- type SecuritySettings_PurgeDataType
- func (SecuritySettings_PurgeDataType) Descriptor() protoreflect.EnumDescriptor
- func (x SecuritySettings_PurgeDataType) Enum() *SecuritySettings_PurgeDataType
- func (SecuritySettings_PurgeDataType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecuritySettings_PurgeDataType) Number() protoreflect.EnumNumber
- func (x SecuritySettings_PurgeDataType) String() string
- func (SecuritySettings_PurgeDataType) Type() protoreflect.EnumType
- type SecuritySettings_RedactionScope
- func (SecuritySettings_RedactionScope) Descriptor() protoreflect.EnumDescriptor
- func (x SecuritySettings_RedactionScope) Enum() *SecuritySettings_RedactionScope
- func (SecuritySettings_RedactionScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecuritySettings_RedactionScope) Number() protoreflect.EnumNumber
- func (x SecuritySettings_RedactionScope) String() string
- func (SecuritySettings_RedactionScope) Type() protoreflect.EnumType
- type SecuritySettings_RedactionStrategy
- func (SecuritySettings_RedactionStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x SecuritySettings_RedactionStrategy) Enum() *SecuritySettings_RedactionStrategy
- func (SecuritySettings_RedactionStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecuritySettings_RedactionStrategy) Number() protoreflect.EnumNumber
- func (x SecuritySettings_RedactionStrategy) String() string
- func (SecuritySettings_RedactionStrategy) Type() protoreflect.EnumType
- type SecuritySettings_RetentionStrategy
- func (SecuritySettings_RetentionStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x SecuritySettings_RetentionStrategy) Enum() *SecuritySettings_RetentionStrategy
- func (SecuritySettings_RetentionStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecuritySettings_RetentionStrategy) Number() protoreflect.EnumNumber
- func (x SecuritySettings_RetentionStrategy) String() string
- func (SecuritySettings_RetentionStrategy) Type() protoreflect.EnumType
- type SecuritySettings_RetentionStrategy_
- type SecuritySettings_RetentionWindowDays
- type SentimentAnalysisResult
- func (*SentimentAnalysisResult) Descriptor() ([]byte, []int)deprecated
- func (x *SentimentAnalysisResult) GetMagnitude() float32
- func (x *SentimentAnalysisResult) GetScore() float32
- func (*SentimentAnalysisResult) ProtoMessage()
- func (x *SentimentAnalysisResult) ProtoReflect() protoreflect.Message
- func (x *SentimentAnalysisResult) Reset()
- func (x *SentimentAnalysisResult) String() string
- type SessionEntityType
- func (*SessionEntityType) Descriptor() ([]byte, []int)deprecated
- func (x *SessionEntityType) GetEntities() []*EntityType_Entity
- func (x *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode
- func (x *SessionEntityType) GetName() string
- func (*SessionEntityType) ProtoMessage()
- func (x *SessionEntityType) ProtoReflect() protoreflect.Message
- func (x *SessionEntityType) Reset()
- func (x *SessionEntityType) String() string
- type SessionEntityType_EntityOverrideMode
- func (SessionEntityType_EntityOverrideMode) Descriptor() protoreflect.EnumDescriptor
- func (x SessionEntityType_EntityOverrideMode) Enum() *SessionEntityType_EntityOverrideMode
- func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionEntityType_EntityOverrideMode) Number() protoreflect.EnumNumber
- func (x SessionEntityType_EntityOverrideMode) String() string
- func (SessionEntityType_EntityOverrideMode) Type() protoreflect.EnumType
- type SessionEntityTypesClient
- type SessionEntityTypesServer
- type SessionInfo
- func (*SessionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SessionInfo) GetParameters() map[string]*structpb.Value
- func (x *SessionInfo) GetSession() string
- func (*SessionInfo) ProtoMessage()
- func (x *SessionInfo) ProtoReflect() protoreflect.Message
- func (x *SessionInfo) Reset()
- func (x *SessionInfo) String() string
- type SessionsClient
- type SessionsServer
- type Sessions_ServerStreamingDetectIntentClient
- type Sessions_ServerStreamingDetectIntentServer
- type Sessions_StreamingDetectIntentClient
- type Sessions_StreamingDetectIntentServer
- type SpeechModelVariant
- func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptor
- func (x SpeechModelVariant) Enum() *SpeechModelVariant
- func (SpeechModelVariant) EnumDescriptor() ([]byte, []int)deprecated
- func (x SpeechModelVariant) Number() protoreflect.EnumNumber
- func (x SpeechModelVariant) String() string
- func (SpeechModelVariant) Type() protoreflect.EnumType
- type SpeechToTextSettings
- func (*SpeechToTextSettings) Descriptor() ([]byte, []int)deprecated
- func (x *SpeechToTextSettings) GetEnableSpeechAdaptation() bool
- func (*SpeechToTextSettings) ProtoMessage()
- func (x *SpeechToTextSettings) ProtoReflect() protoreflect.Message
- func (x *SpeechToTextSettings) Reset()
- func (x *SpeechToTextSettings) String() string
- type SpeechWordInfo
- func (*SpeechWordInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SpeechWordInfo) GetConfidence() float32
- func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration
- func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration
- func (x *SpeechWordInfo) GetWord() string
- func (*SpeechWordInfo) ProtoMessage()
- func (x *SpeechWordInfo) ProtoReflect() protoreflect.Message
- func (x *SpeechWordInfo) Reset()
- func (x *SpeechWordInfo) String() string
- type SsmlVoiceGender
- func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor
- func (x SsmlVoiceGender) Enum() *SsmlVoiceGender
- func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int)deprecated
- func (x SsmlVoiceGender) Number() protoreflect.EnumNumber
- func (x SsmlVoiceGender) String() string
- func (SsmlVoiceGender) Type() protoreflect.EnumType
- type StartExperimentRequest
- func (*StartExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartExperimentRequest) GetName() string
- func (*StartExperimentRequest) ProtoMessage()
- func (x *StartExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *StartExperimentRequest) Reset()
- func (x *StartExperimentRequest) String() string
- type StopExperimentRequest
- func (*StopExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopExperimentRequest) GetName() string
- func (*StopExperimentRequest) ProtoMessage()
- func (x *StopExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *StopExperimentRequest) Reset()
- func (x *StopExperimentRequest) String() string
- type StreamingDetectIntentRequest
- func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingDetectIntentRequest) GetEnableDebuggingInfo() bool
- func (x *StreamingDetectIntentRequest) GetEnablePartialResponse() bool
- func (x *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
- func (x *StreamingDetectIntentRequest) GetQueryInput() *QueryInput
- func (x *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters
- func (x *StreamingDetectIntentRequest) GetSession() string
- func (*StreamingDetectIntentRequest) ProtoMessage()
- func (x *StreamingDetectIntentRequest) ProtoReflect() protoreflect.Message
- func (x *StreamingDetectIntentRequest) Reset()
- func (x *StreamingDetectIntentRequest) String() string
- type StreamingDetectIntentResponse
- func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingDetectIntentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfo
- func (x *StreamingDetectIntentResponse) GetDetectIntentResponse() *DetectIntentResponse
- func (x *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult
- func (m *StreamingDetectIntentResponse) GetResponse() isStreamingDetectIntentResponse_Response
- func (*StreamingDetectIntentResponse) ProtoMessage()
- func (x *StreamingDetectIntentResponse) ProtoReflect() protoreflect.Message
- func (x *StreamingDetectIntentResponse) Reset()
- func (x *StreamingDetectIntentResponse) String() string
- type StreamingDetectIntentResponse_DetectIntentResponse
- type StreamingDetectIntentResponse_RecognitionResult
- type StreamingRecognitionResult
- func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingRecognitionResult) GetConfidence() float32
- func (x *StreamingRecognitionResult) GetIsFinal() bool
- func (x *StreamingRecognitionResult) GetLanguageCode() string
- func (x *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageType
- func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Duration
- func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo
- func (x *StreamingRecognitionResult) GetStability() float32
- func (x *StreamingRecognitionResult) GetTranscript() string
- func (*StreamingRecognitionResult) ProtoMessage()
- func (x *StreamingRecognitionResult) ProtoReflect() protoreflect.Message
- func (x *StreamingRecognitionResult) Reset()
- func (x *StreamingRecognitionResult) String() string
- type StreamingRecognitionResult_MessageType
- func (StreamingRecognitionResult_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x StreamingRecognitionResult_MessageType) Enum() *StreamingRecognitionResult_MessageType
- func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamingRecognitionResult_MessageType) Number() protoreflect.EnumNumber
- func (x StreamingRecognitionResult_MessageType) String() string
- func (StreamingRecognitionResult_MessageType) Type() protoreflect.EnumType
- type SubmitAnswerFeedbackRequest
- func (*SubmitAnswerFeedbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitAnswerFeedbackRequest) GetAnswerFeedback() *AnswerFeedback
- func (x *SubmitAnswerFeedbackRequest) GetResponseId() string
- func (x *SubmitAnswerFeedbackRequest) GetSession() string
- func (x *SubmitAnswerFeedbackRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*SubmitAnswerFeedbackRequest) ProtoMessage()
- func (x *SubmitAnswerFeedbackRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitAnswerFeedbackRequest) Reset()
- func (x *SubmitAnswerFeedbackRequest) String() string
- type SynthesizeSpeechConfig
- func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string
- func (x *SynthesizeSpeechConfig) GetPitch() float64
- func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64
- func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams
- func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64
- func (*SynthesizeSpeechConfig) ProtoMessage()
- func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Message
- func (x *SynthesizeSpeechConfig) Reset()
- func (x *SynthesizeSpeechConfig) String() string
- type TestCase
- func (*TestCase) Descriptor() ([]byte, []int)deprecated
- func (x *TestCase) GetCreationTime() *timestamppb.Timestamp
- func (x *TestCase) GetDisplayName() string
- func (x *TestCase) GetLastTestResult() *TestCaseResult
- func (x *TestCase) GetName() string
- func (x *TestCase) GetNotes() string
- func (x *TestCase) GetTags() []string
- func (x *TestCase) GetTestCaseConversationTurns() []*ConversationTurn
- func (x *TestCase) GetTestConfig() *TestConfig
- func (*TestCase) ProtoMessage()
- func (x *TestCase) ProtoReflect() protoreflect.Message
- func (x *TestCase) Reset()
- func (x *TestCase) String() string
- type TestCaseError
- func (*TestCaseError) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseError) GetStatus() *status.Status
- func (x *TestCaseError) GetTestCase() *TestCase
- func (*TestCaseError) ProtoMessage()
- func (x *TestCaseError) ProtoReflect() protoreflect.Message
- func (x *TestCaseError) Reset()
- func (x *TestCaseError) String() string
- type TestCaseResult
- func (*TestCaseResult) Descriptor() ([]byte, []int)deprecated
- func (x *TestCaseResult) GetConversationTurns() []*ConversationTurn
- func (x *TestCaseResult) GetEnvironment() string
- func (x *TestCaseResult) GetName() string
- func (x *TestCaseResult) GetTestResult() TestResult
- func (x *TestCaseResult) GetTestTime() *timestamppb.Timestamp
- func (*TestCaseResult) ProtoMessage()
- func (x *TestCaseResult) ProtoReflect() protoreflect.Message
- func (x *TestCaseResult) Reset()
- func (x *TestCaseResult) String() string
- type TestCasesClient
- type TestCasesServer
- type TestConfig
- func (*TestConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TestConfig) GetFlow() string
- func (x *TestConfig) GetPage() string
- func (x *TestConfig) GetTrackingParameters() []string
- func (*TestConfig) ProtoMessage()
- func (x *TestConfig) ProtoReflect() protoreflect.Message
- func (x *TestConfig) Reset()
- func (x *TestConfig) String() string
- type TestError
- func (*TestError) Descriptor() ([]byte, []int)deprecated
- func (x *TestError) GetStatus() *status.Status
- func (x *TestError) GetTestCase() string
- func (x *TestError) GetTestTime() *timestamppb.Timestamp
- func (*TestError) ProtoMessage()
- func (x *TestError) ProtoReflect() protoreflect.Message
- func (x *TestError) Reset()
- func (x *TestError) String() string
- type TestResult
- type TestRunDifference
- func (*TestRunDifference) Descriptor() ([]byte, []int)deprecated
- func (x *TestRunDifference) GetDescription() string
- func (x *TestRunDifference) GetType() TestRunDifference_DiffType
- func (*TestRunDifference) ProtoMessage()
- func (x *TestRunDifference) ProtoReflect() protoreflect.Message
- func (x *TestRunDifference) Reset()
- func (x *TestRunDifference) String() string
- type TestRunDifference_DiffType
- func (TestRunDifference_DiffType) Descriptor() protoreflect.EnumDescriptor
- func (x TestRunDifference_DiffType) Enum() *TestRunDifference_DiffType
- func (TestRunDifference_DiffType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestRunDifference_DiffType) Number() protoreflect.EnumNumber
- func (x TestRunDifference_DiffType) String() string
- func (TestRunDifference_DiffType) Type() protoreflect.EnumType
- type TextInput
- type TextToSpeechSettings
- func (*TextToSpeechSettings) Descriptor() ([]byte, []int)deprecated
- func (x *TextToSpeechSettings) GetSynthesizeSpeechConfigs() map[string]*SynthesizeSpeechConfig
- func (*TextToSpeechSettings) ProtoMessage()
- func (x *TextToSpeechSettings) ProtoReflect() protoreflect.Message
- func (x *TextToSpeechSettings) Reset()
- func (x *TextToSpeechSettings) String() string
- type TrainFlowRequest
- type TransitionCoverage
- func (*TransitionCoverage) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionCoverage) GetCoverageScore() float32
- func (x *TransitionCoverage) GetTransitions() []*TransitionCoverage_Transition
- func (*TransitionCoverage) ProtoMessage()
- func (x *TransitionCoverage) ProtoReflect() protoreflect.Message
- func (x *TransitionCoverage) Reset()
- func (x *TransitionCoverage) String() string
- type TransitionCoverage_Transition
- func (*TransitionCoverage_Transition) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionCoverage_Transition) GetCovered() bool
- func (m *TransitionCoverage_Transition) GetDetail() isTransitionCoverage_Transition_Detail
- func (x *TransitionCoverage_Transition) GetEventHandler() *EventHandler
- func (x *TransitionCoverage_Transition) GetIndex() int32
- func (x *TransitionCoverage_Transition) GetSource() *TransitionCoverage_TransitionNode
- func (x *TransitionCoverage_Transition) GetTarget() *TransitionCoverage_TransitionNode
- func (x *TransitionCoverage_Transition) GetTransitionRoute() *TransitionRoute
- func (*TransitionCoverage_Transition) ProtoMessage()
- func (x *TransitionCoverage_Transition) ProtoReflect() protoreflect.Message
- func (x *TransitionCoverage_Transition) Reset()
- func (x *TransitionCoverage_Transition) String() string
- type TransitionCoverage_TransitionNode
- func (*TransitionCoverage_TransitionNode) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionCoverage_TransitionNode) GetFlow() *Flow
- func (m *TransitionCoverage_TransitionNode) GetKind() isTransitionCoverage_TransitionNode_Kind
- func (x *TransitionCoverage_TransitionNode) GetPage() *Page
- func (*TransitionCoverage_TransitionNode) ProtoMessage()
- func (x *TransitionCoverage_TransitionNode) ProtoReflect() protoreflect.Message
- func (x *TransitionCoverage_TransitionNode) Reset()
- func (x *TransitionCoverage_TransitionNode) String() string
- type TransitionCoverage_TransitionNode_Flow
- type TransitionCoverage_TransitionNode_Page
- type TransitionCoverage_Transition_EventHandler
- type TransitionCoverage_Transition_TransitionRoute
- type TransitionRoute
- func (*TransitionRoute) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionRoute) GetCondition() string
- func (x *TransitionRoute) GetDescription() string
- func (x *TransitionRoute) GetIntent() string
- func (x *TransitionRoute) GetName() string
- func (m *TransitionRoute) GetTarget() isTransitionRoute_Target
- func (x *TransitionRoute) GetTargetFlow() string
- func (x *TransitionRoute) GetTargetPage() string
- func (x *TransitionRoute) GetTriggerFulfillment() *Fulfillment
- func (*TransitionRoute) ProtoMessage()
- func (x *TransitionRoute) ProtoReflect() protoreflect.Message
- func (x *TransitionRoute) Reset()
- func (x *TransitionRoute) String() string
- type TransitionRouteGroup
- func (*TransitionRouteGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionRouteGroup) GetDisplayName() string
- func (x *TransitionRouteGroup) GetName() string
- func (x *TransitionRouteGroup) GetTransitionRoutes() []*TransitionRoute
- func (*TransitionRouteGroup) ProtoMessage()
- func (x *TransitionRouteGroup) ProtoReflect() protoreflect.Message
- func (x *TransitionRouteGroup) Reset()
- func (x *TransitionRouteGroup) String() string
- type TransitionRouteGroupCoverage
- func (*TransitionRouteGroupCoverage) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionRouteGroupCoverage) GetCoverageScore() float32
- func (x *TransitionRouteGroupCoverage) GetCoverages() []*TransitionRouteGroupCoverage_Coverage
- func (*TransitionRouteGroupCoverage) ProtoMessage()
- func (x *TransitionRouteGroupCoverage) ProtoReflect() protoreflect.Message
- func (x *TransitionRouteGroupCoverage) Reset()
- func (x *TransitionRouteGroupCoverage) String() string
- type TransitionRouteGroupCoverage_Coverage
- func (*TransitionRouteGroupCoverage_Coverage) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionRouteGroupCoverage_Coverage) GetCoverageScore() float32
- func (x *TransitionRouteGroupCoverage_Coverage) GetRouteGroup() *TransitionRouteGroup
- func (x *TransitionRouteGroupCoverage_Coverage) GetTransitions() []*TransitionRouteGroupCoverage_Coverage_Transition
- func (*TransitionRouteGroupCoverage_Coverage) ProtoMessage()
- func (x *TransitionRouteGroupCoverage_Coverage) ProtoReflect() protoreflect.Message
- func (x *TransitionRouteGroupCoverage_Coverage) Reset()
- func (x *TransitionRouteGroupCoverage_Coverage) String() string
- type TransitionRouteGroupCoverage_Coverage_Transition
- func (*TransitionRouteGroupCoverage_Coverage_Transition) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionRouteGroupCoverage_Coverage_Transition) GetCovered() bool
- func (x *TransitionRouteGroupCoverage_Coverage_Transition) GetTransitionRoute() *TransitionRoute
- func (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoMessage()
- func (x *TransitionRouteGroupCoverage_Coverage_Transition) ProtoReflect() protoreflect.Message
- func (x *TransitionRouteGroupCoverage_Coverage_Transition) Reset()
- func (x *TransitionRouteGroupCoverage_Coverage_Transition) String() string
- type TransitionRouteGroupsClient
- type TransitionRouteGroupsServer
- type TransitionRoute_TargetFlow
- type TransitionRoute_TargetPage
- type UnimplementedAgentsServer
- func (*UnimplementedAgentsServer) CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error)
- func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
- func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
- func (*UnimplementedAgentsServer) GetAgentValidationResult(context.Context, *GetAgentValidationResultRequest) (*AgentValidationResult, error)
- func (*UnimplementedAgentsServer) GetGenerativeSettings(context.Context, *GetGenerativeSettingsRequest) (*GenerativeSettings, error)
- func (*UnimplementedAgentsServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
- func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAgentsServer) UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error)
- func (*UnimplementedAgentsServer) UpdateGenerativeSettings(context.Context, *UpdateGenerativeSettingsRequest) (*GenerativeSettings, error)
- func (*UnimplementedAgentsServer) ValidateAgent(context.Context, *ValidateAgentRequest) (*AgentValidationResult, error)
- type UnimplementedChangelogsServer
- type UnimplementedDeploymentsServer
- type UnimplementedEntityTypesServer
- func (*UnimplementedEntityTypesServer) CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
- func (*UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
- func (*UnimplementedEntityTypesServer) ExportEntityTypes(context.Context, *ExportEntityTypesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
- func (*UnimplementedEntityTypesServer) ImportEntityTypes(context.Context, *ImportEntityTypesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
- func (*UnimplementedEntityTypesServer) UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
- type UnimplementedEnvironmentsServer
- func (*UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
- func (*UnimplementedEnvironmentsServer) DeployFlow(context.Context, *DeployFlowRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEnvironmentsServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
- func (*UnimplementedEnvironmentsServer) ListContinuousTestResults(context.Context, *ListContinuousTestResultsRequest) (*ListContinuousTestResultsResponse, error)
- func (*UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
- func (*UnimplementedEnvironmentsServer) LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)
- func (*UnimplementedEnvironmentsServer) RunContinuousTest(context.Context, *RunContinuousTestRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error)
- type UnimplementedExperimentsServer
- func (*UnimplementedExperimentsServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error)
- func (*UnimplementedExperimentsServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error)
- func (*UnimplementedExperimentsServer) GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error)
- func (*UnimplementedExperimentsServer) ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error)
- func (*UnimplementedExperimentsServer) StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error)
- func (*UnimplementedExperimentsServer) StopExperiment(context.Context, *StopExperimentRequest) (*Experiment, error)
- func (*UnimplementedExperimentsServer) UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error)
- type UnimplementedFlowsServer
- func (*UnimplementedFlowsServer) CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error)
- func (*UnimplementedFlowsServer) DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error)
- func (*UnimplementedFlowsServer) ExportFlow(context.Context, *ExportFlowRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedFlowsServer) GetFlow(context.Context, *GetFlowRequest) (*Flow, error)
- func (*UnimplementedFlowsServer) GetFlowValidationResult(context.Context, *GetFlowValidationResultRequest) (*FlowValidationResult, error)
- func (*UnimplementedFlowsServer) ImportFlow(context.Context, *ImportFlowRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedFlowsServer) ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error)
- func (*UnimplementedFlowsServer) TrainFlow(context.Context, *TrainFlowRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedFlowsServer) UpdateFlow(context.Context, *UpdateFlowRequest) (*Flow, error)
- func (*UnimplementedFlowsServer) ValidateFlow(context.Context, *ValidateFlowRequest) (*FlowValidationResult, error)
- type UnimplementedGeneratorsServer
- func (*UnimplementedGeneratorsServer) CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error)
- func (*UnimplementedGeneratorsServer) DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error)
- func (*UnimplementedGeneratorsServer) GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error)
- func (*UnimplementedGeneratorsServer) ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error)
- func (*UnimplementedGeneratorsServer) UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error)
- type UnimplementedIntentsServer
- func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
- func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)
- func (*UnimplementedIntentsServer) ExportIntents(context.Context, *ExportIntentsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
- func (*UnimplementedIntentsServer) ImportIntents(context.Context, *ImportIntentsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
- func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
- type UnimplementedPagesServer
- func (*UnimplementedPagesServer) CreatePage(context.Context, *CreatePageRequest) (*Page, error)
- func (*UnimplementedPagesServer) DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error)
- func (*UnimplementedPagesServer) GetPage(context.Context, *GetPageRequest) (*Page, error)
- func (*UnimplementedPagesServer) ListPages(context.Context, *ListPagesRequest) (*ListPagesResponse, error)
- func (*UnimplementedPagesServer) UpdatePage(context.Context, *UpdatePageRequest) (*Page, error)
- type UnimplementedSecuritySettingsServiceServer
- func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error)
- func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error)
- func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error)
- func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error)
- func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error)
- type UnimplementedSessionEntityTypesServer
- func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
- func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)
- func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
- func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
- func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
- type UnimplementedSessionsServer
- func (*UnimplementedSessionsServer) DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)
- func (*UnimplementedSessionsServer) FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error)
- func (*UnimplementedSessionsServer) MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error)
- func (*UnimplementedSessionsServer) ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) error
- func (*UnimplementedSessionsServer) StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error
- func (*UnimplementedSessionsServer) SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error)
- type UnimplementedTestCasesServer
- func (*UnimplementedTestCasesServer) BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error)
- func (*UnimplementedTestCasesServer) BatchRunTestCases(context.Context, *BatchRunTestCasesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedTestCasesServer) CalculateCoverage(context.Context, *CalculateCoverageRequest) (*CalculateCoverageResponse, error)
- func (*UnimplementedTestCasesServer) CreateTestCase(context.Context, *CreateTestCaseRequest) (*TestCase, error)
- func (*UnimplementedTestCasesServer) ExportTestCases(context.Context, *ExportTestCasesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedTestCasesServer) GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error)
- func (*UnimplementedTestCasesServer) GetTestCaseResult(context.Context, *GetTestCaseResultRequest) (*TestCaseResult, error)
- func (*UnimplementedTestCasesServer) ImportTestCases(context.Context, *ImportTestCasesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedTestCasesServer) ListTestCaseResults(context.Context, *ListTestCaseResultsRequest) (*ListTestCaseResultsResponse, error)
- func (*UnimplementedTestCasesServer) ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error)
- func (*UnimplementedTestCasesServer) RunTestCase(context.Context, *RunTestCaseRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedTestCasesServer) UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*TestCase, error)
- type UnimplementedTransitionRouteGroupsServer
- func (*UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup(context.Context, *CreateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
- func (*UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error)
- func (*UnimplementedTransitionRouteGroupsServer) GetTransitionRouteGroup(context.Context, *GetTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
- func (*UnimplementedTransitionRouteGroupsServer) ListTransitionRouteGroups(context.Context, *ListTransitionRouteGroupsRequest) (*ListTransitionRouteGroupsResponse, error)
- func (*UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
- type UnimplementedVersionsServer
- func (*UnimplementedVersionsServer) CompareVersions(context.Context, *CompareVersionsRequest) (*CompareVersionsResponse, error)
- func (*UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
- func (*UnimplementedVersionsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
- func (*UnimplementedVersionsServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
- func (*UnimplementedVersionsServer) LoadVersion(context.Context, *LoadVersionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
- type UnimplementedWebhooksServer
- func (*UnimplementedWebhooksServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error)
- func (*UnimplementedWebhooksServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error)
- func (*UnimplementedWebhooksServer) GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error)
- func (*UnimplementedWebhooksServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
- func (*UnimplementedWebhooksServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error)
- type UpdateAgentRequest
- func (*UpdateAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAgentRequest) GetAgent() *Agent
- func (x *UpdateAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAgentRequest) ProtoMessage()
- func (x *UpdateAgentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAgentRequest) Reset()
- func (x *UpdateAgentRequest) String() string
- type UpdateEntityTypeRequest
- func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEntityTypeRequest) GetEntityType() *EntityType
- func (x *UpdateEntityTypeRequest) GetLanguageCode() string
- func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEntityTypeRequest) ProtoMessage()
- func (x *UpdateEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEntityTypeRequest) Reset()
- func (x *UpdateEntityTypeRequest) String() string
- type UpdateEnvironmentRequest
- func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment
- func (x *UpdateEnvironmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEnvironmentRequest) ProtoMessage()
- func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvironmentRequest) Reset()
- func (x *UpdateEnvironmentRequest) String() string
- type UpdateExperimentRequest
- func (*UpdateExperimentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateExperimentRequest) GetExperiment() *Experiment
- func (x *UpdateExperimentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateExperimentRequest) ProtoMessage()
- func (x *UpdateExperimentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateExperimentRequest) Reset()
- func (x *UpdateExperimentRequest) String() string
- type UpdateFlowRequest
- func (*UpdateFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFlowRequest) GetFlow() *Flow
- func (x *UpdateFlowRequest) GetLanguageCode() string
- func (x *UpdateFlowRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFlowRequest) ProtoMessage()
- func (x *UpdateFlowRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFlowRequest) Reset()
- func (x *UpdateFlowRequest) String() string
- type UpdateGenerativeSettingsRequest
- func (*UpdateGenerativeSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGenerativeSettingsRequest) GetGenerativeSettings() *GenerativeSettings
- func (x *UpdateGenerativeSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateGenerativeSettingsRequest) ProtoMessage()
- func (x *UpdateGenerativeSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGenerativeSettingsRequest) Reset()
- func (x *UpdateGenerativeSettingsRequest) String() string
- type UpdateGeneratorRequest
- func (*UpdateGeneratorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGeneratorRequest) GetGenerator() *Generator
- func (x *UpdateGeneratorRequest) GetLanguageCode() string
- func (x *UpdateGeneratorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateGeneratorRequest) ProtoMessage()
- func (x *UpdateGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGeneratorRequest) Reset()
- func (x *UpdateGeneratorRequest) String() string
- type UpdateIntentRequest
- func (*UpdateIntentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIntentRequest) GetIntent() *Intent
- func (x *UpdateIntentRequest) GetLanguageCode() string
- func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIntentRequest) ProtoMessage()
- func (x *UpdateIntentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIntentRequest) Reset()
- func (x *UpdateIntentRequest) String() string
- type UpdatePageRequest
- func (*UpdatePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePageRequest) GetLanguageCode() string
- func (x *UpdatePageRequest) GetPage() *Page
- func (x *UpdatePageRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePageRequest) ProtoMessage()
- func (x *UpdatePageRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePageRequest) Reset()
- func (x *UpdatePageRequest) String() string
- type UpdateSecuritySettingsRequest
- func (*UpdateSecuritySettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings
- func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSecuritySettingsRequest) ProtoMessage()
- func (x *UpdateSecuritySettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecuritySettingsRequest) Reset()
- func (x *UpdateSecuritySettingsRequest) String() string
- type UpdateSessionEntityTypeRequest
- func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
- func (x *UpdateSessionEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSessionEntityTypeRequest) ProtoMessage()
- func (x *UpdateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSessionEntityTypeRequest) Reset()
- func (x *UpdateSessionEntityTypeRequest) String() string
- type UpdateTestCaseRequest
- func (*UpdateTestCaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTestCaseRequest) GetTestCase() *TestCase
- func (x *UpdateTestCaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTestCaseRequest) ProtoMessage()
- func (x *UpdateTestCaseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTestCaseRequest) Reset()
- func (x *UpdateTestCaseRequest) String() string
- type UpdateTransitionRouteGroupRequest
- func (*UpdateTransitionRouteGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTransitionRouteGroupRequest) GetLanguageCode() string
- func (x *UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup
- func (x *UpdateTransitionRouteGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateTransitionRouteGroupRequest) ProtoMessage()
- func (x *UpdateTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTransitionRouteGroupRequest) Reset()
- func (x *UpdateTransitionRouteGroupRequest) String() string
- type UpdateVersionRequest
- func (*UpdateVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateVersionRequest) GetVersion() *Version
- func (*UpdateVersionRequest) ProtoMessage()
- func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVersionRequest) Reset()
- func (x *UpdateVersionRequest) String() string
- type UpdateWebhookRequest
- func (*UpdateWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWebhookRequest) GetWebhook() *Webhook
- func (*UpdateWebhookRequest) ProtoMessage()
- func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWebhookRequest) Reset()
- func (x *UpdateWebhookRequest) String() string
- type ValidateAgentRequest
- func (*ValidateAgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateAgentRequest) GetLanguageCode() string
- func (x *ValidateAgentRequest) GetName() string
- func (*ValidateAgentRequest) ProtoMessage()
- func (x *ValidateAgentRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateAgentRequest) Reset()
- func (x *ValidateAgentRequest) String() string
- type ValidateFlowRequest
- func (*ValidateFlowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateFlowRequest) GetLanguageCode() string
- func (x *ValidateFlowRequest) GetName() string
- func (*ValidateFlowRequest) ProtoMessage()
- func (x *ValidateFlowRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateFlowRequest) Reset()
- func (x *ValidateFlowRequest) String() string
- type ValidationMessage
- func (*ValidationMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationMessage) GetDetail() string
- func (x *ValidationMessage) GetResourceNames() []*ResourceName
- func (x *ValidationMessage) GetResourceType() ValidationMessage_ResourceType
- func (x *ValidationMessage) GetResources() []stringdeprecated
- func (x *ValidationMessage) GetSeverity() ValidationMessage_Severity
- func (*ValidationMessage) ProtoMessage()
- func (x *ValidationMessage) ProtoReflect() protoreflect.Message
- func (x *ValidationMessage) Reset()
- func (x *ValidationMessage) String() string
- type ValidationMessage_ResourceType
- func (ValidationMessage_ResourceType) Descriptor() protoreflect.EnumDescriptor
- func (x ValidationMessage_ResourceType) Enum() *ValidationMessage_ResourceType
- func (ValidationMessage_ResourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidationMessage_ResourceType) Number() protoreflect.EnumNumber
- func (x ValidationMessage_ResourceType) String() string
- func (ValidationMessage_ResourceType) Type() protoreflect.EnumType
- type ValidationMessage_Severity
- func (ValidationMessage_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x ValidationMessage_Severity) Enum() *ValidationMessage_Severity
- func (ValidationMessage_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidationMessage_Severity) Number() protoreflect.EnumNumber
- func (x ValidationMessage_Severity) String() string
- func (ValidationMessage_Severity) Type() protoreflect.EnumType
- type VariantsHistory
- func (*VariantsHistory) Descriptor() ([]byte, []int)deprecated
- func (x *VariantsHistory) GetUpdateTime() *timestamppb.Timestamp
- func (m *VariantsHistory) GetVariants() isVariantsHistory_Variants
- func (x *VariantsHistory) GetVersionVariants() *VersionVariants
- func (*VariantsHistory) ProtoMessage()
- func (x *VariantsHistory) ProtoReflect() protoreflect.Message
- func (x *VariantsHistory) Reset()
- func (x *VariantsHistory) String() string
- type VariantsHistory_VersionVariants
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetCreateTime() *timestamppb.Timestamp
- func (x *Version) GetDescription() string
- func (x *Version) GetDisplayName() string
- func (x *Version) GetName() string
- func (x *Version) GetNluSettings() *NluSettings
- func (x *Version) GetState() Version_State
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type VersionVariants
- func (*VersionVariants) Descriptor() ([]byte, []int)deprecated
- func (x *VersionVariants) GetVariants() []*VersionVariants_Variant
- func (*VersionVariants) ProtoMessage()
- func (x *VersionVariants) ProtoReflect() protoreflect.Message
- func (x *VersionVariants) Reset()
- func (x *VersionVariants) String() string
- type VersionVariants_Variant
- func (*VersionVariants_Variant) Descriptor() ([]byte, []int)deprecated
- func (x *VersionVariants_Variant) GetIsControlGroup() bool
- func (x *VersionVariants_Variant) GetTrafficAllocation() float32
- func (x *VersionVariants_Variant) GetVersion() string
- func (*VersionVariants_Variant) ProtoMessage()
- func (x *VersionVariants_Variant) ProtoReflect() protoreflect.Message
- func (x *VersionVariants_Variant) Reset()
- func (x *VersionVariants_Variant) String() string
- type Version_State
- func (Version_State) Descriptor() protoreflect.EnumDescriptor
- func (x Version_State) Enum() *Version_State
- func (Version_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Version_State) Number() protoreflect.EnumNumber
- func (x Version_State) String() string
- func (Version_State) Type() protoreflect.EnumType
- type VersionsClient
- type VersionsServer
- type VoiceSelectionParams
- func (*VoiceSelectionParams) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceSelectionParams) GetName() string
- func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender
- func (*VoiceSelectionParams) ProtoMessage()
- func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message
- func (x *VoiceSelectionParams) Reset()
- func (x *VoiceSelectionParams) String() string
- type Webhook
- func (*Webhook) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook) GetDisabled() bool
- func (x *Webhook) GetDisplayName() string
- func (x *Webhook) GetGenericWebService() *Webhook_GenericWebService
- func (x *Webhook) GetName() string
- func (x *Webhook) GetServiceDirectory() *Webhook_ServiceDirectoryConfig
- func (x *Webhook) GetTimeout() *durationpb.Duration
- func (m *Webhook) GetWebhook() isWebhook_Webhook
- func (*Webhook) ProtoMessage()
- func (x *Webhook) ProtoReflect() protoreflect.Message
- func (x *Webhook) Reset()
- func (x *Webhook) String() string
- type WebhookRequest
- func (*WebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookRequest) GetDetectIntentResponseId() string
- func (x *WebhookRequest) GetDtmfDigits() string
- func (x *WebhookRequest) GetFulfillmentInfo() *WebhookRequest_FulfillmentInfo
- func (x *WebhookRequest) GetIntentInfo() *WebhookRequest_IntentInfo
- func (x *WebhookRequest) GetLanguageCode() string
- func (x *WebhookRequest) GetLanguageInfo() *LanguageInfo
- func (x *WebhookRequest) GetMessages() []*ResponseMessage
- func (x *WebhookRequest) GetPageInfo() *PageInfo
- func (x *WebhookRequest) GetPayload() *structpb.Struct
- func (m *WebhookRequest) GetQuery() isWebhookRequest_Query
- func (x *WebhookRequest) GetSentimentAnalysisResult() *WebhookRequest_SentimentAnalysisResult
- func (x *WebhookRequest) GetSessionInfo() *SessionInfo
- func (x *WebhookRequest) GetText() string
- func (x *WebhookRequest) GetTranscript() string
- func (x *WebhookRequest) GetTriggerEvent() string
- func (x *WebhookRequest) GetTriggerIntent() string
- func (*WebhookRequest) ProtoMessage()
- func (x *WebhookRequest) ProtoReflect() protoreflect.Message
- func (x *WebhookRequest) Reset()
- func (x *WebhookRequest) String() string
- type WebhookRequest_DtmfDigits
- type WebhookRequest_FulfillmentInfo
- func (*WebhookRequest_FulfillmentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookRequest_FulfillmentInfo) GetTag() string
- func (*WebhookRequest_FulfillmentInfo) ProtoMessage()
- func (x *WebhookRequest_FulfillmentInfo) ProtoReflect() protoreflect.Message
- func (x *WebhookRequest_FulfillmentInfo) Reset()
- func (x *WebhookRequest_FulfillmentInfo) String() string
- type WebhookRequest_IntentInfo
- func (*WebhookRequest_IntentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookRequest_IntentInfo) GetConfidence() float32
- func (x *WebhookRequest_IntentInfo) GetDisplayName() string
- func (x *WebhookRequest_IntentInfo) GetLastMatchedIntent() string
- func (x *WebhookRequest_IntentInfo) GetParameters() map[string]*WebhookRequest_IntentInfo_IntentParameterValue
- func (*WebhookRequest_IntentInfo) ProtoMessage()
- func (x *WebhookRequest_IntentInfo) ProtoReflect() protoreflect.Message
- func (x *WebhookRequest_IntentInfo) Reset()
- func (x *WebhookRequest_IntentInfo) String() string
- type WebhookRequest_IntentInfo_IntentParameterValue
- func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue() string
- func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue() *structpb.Value
- func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage()
- func (x *WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect() protoreflect.Message
- func (x *WebhookRequest_IntentInfo_IntentParameterValue) Reset()
- func (x *WebhookRequest_IntentInfo_IntentParameterValue) String() string
- type WebhookRequest_SentimentAnalysisResult
- func (*WebhookRequest_SentimentAnalysisResult) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookRequest_SentimentAnalysisResult) GetMagnitude() float32
- func (x *WebhookRequest_SentimentAnalysisResult) GetScore() float32
- func (*WebhookRequest_SentimentAnalysisResult) ProtoMessage()
- func (x *WebhookRequest_SentimentAnalysisResult) ProtoReflect() protoreflect.Message
- func (x *WebhookRequest_SentimentAnalysisResult) Reset()
- func (x *WebhookRequest_SentimentAnalysisResult) String() string
- type WebhookRequest_Text
- type WebhookRequest_Transcript
- type WebhookRequest_TriggerEvent
- type WebhookRequest_TriggerIntent
- type WebhookResponse
- func (*WebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookResponse) GetFulfillmentResponse() *WebhookResponse_FulfillmentResponse
- func (x *WebhookResponse) GetPageInfo() *PageInfo
- func (x *WebhookResponse) GetPayload() *structpb.Struct
- func (x *WebhookResponse) GetSessionInfo() *SessionInfo
- func (x *WebhookResponse) GetTargetFlow() string
- func (x *WebhookResponse) GetTargetPage() string
- func (m *WebhookResponse) GetTransition() isWebhookResponse_Transition
- func (*WebhookResponse) ProtoMessage()
- func (x *WebhookResponse) ProtoReflect() protoreflect.Message
- func (x *WebhookResponse) Reset()
- func (x *WebhookResponse) String() string
- type WebhookResponse_FulfillmentResponse
- func (*WebhookResponse_FulfillmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookResponse_FulfillmentResponse) GetMergeBehavior() WebhookResponse_FulfillmentResponse_MergeBehavior
- func (x *WebhookResponse_FulfillmentResponse) GetMessages() []*ResponseMessage
- func (*WebhookResponse_FulfillmentResponse) ProtoMessage()
- func (x *WebhookResponse_FulfillmentResponse) ProtoReflect() protoreflect.Message
- func (x *WebhookResponse_FulfillmentResponse) Reset()
- func (x *WebhookResponse_FulfillmentResponse) String() string
- type WebhookResponse_FulfillmentResponse_MergeBehavior
- func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Enum() *WebhookResponse_FulfillmentResponse_MergeBehavior
- func (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Number() protoreflect.EnumNumber
- func (x WebhookResponse_FulfillmentResponse_MergeBehavior) String() string
- func (WebhookResponse_FulfillmentResponse_MergeBehavior) Type() protoreflect.EnumType
- type WebhookResponse_TargetFlow
- type WebhookResponse_TargetPage
- type Webhook_GenericWebService
- func (*Webhook_GenericWebService) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook_GenericWebService) GetAllowedCaCerts() [][]byte
- func (x *Webhook_GenericWebService) GetHttpMethod() Webhook_GenericWebService_HttpMethod
- func (x *Webhook_GenericWebService) GetOauthConfig() *Webhook_GenericWebService_OAuthConfig
- func (x *Webhook_GenericWebService) GetParameterMapping() map[string]string
- func (x *Webhook_GenericWebService) GetPassword() stringdeprecated
- func (x *Webhook_GenericWebService) GetRequestBody() string
- func (x *Webhook_GenericWebService) GetRequestHeaders() map[string]string
- func (x *Webhook_GenericWebService) GetServiceAgentAuth() Webhook_GenericWebService_ServiceAgentAuth
- func (x *Webhook_GenericWebService) GetUri() string
- func (x *Webhook_GenericWebService) GetUsername() stringdeprecated
- func (x *Webhook_GenericWebService) GetWebhookType() Webhook_GenericWebService_WebhookType
- func (*Webhook_GenericWebService) ProtoMessage()
- func (x *Webhook_GenericWebService) ProtoReflect() protoreflect.Message
- func (x *Webhook_GenericWebService) Reset()
- func (x *Webhook_GenericWebService) String() string
- type Webhook_GenericWebService_
- type Webhook_GenericWebService_HttpMethod
- func (Webhook_GenericWebService_HttpMethod) Descriptor() protoreflect.EnumDescriptor
- func (x Webhook_GenericWebService_HttpMethod) Enum() *Webhook_GenericWebService_HttpMethod
- func (Webhook_GenericWebService_HttpMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x Webhook_GenericWebService_HttpMethod) Number() protoreflect.EnumNumber
- func (x Webhook_GenericWebService_HttpMethod) String() string
- func (Webhook_GenericWebService_HttpMethod) Type() protoreflect.EnumType
- type Webhook_GenericWebService_OAuthConfig
- func (*Webhook_GenericWebService_OAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook_GenericWebService_OAuthConfig) GetClientId() string
- func (x *Webhook_GenericWebService_OAuthConfig) GetClientSecret() string
- func (x *Webhook_GenericWebService_OAuthConfig) GetScopes() []string
- func (x *Webhook_GenericWebService_OAuthConfig) GetTokenEndpoint() string
- func (*Webhook_GenericWebService_OAuthConfig) ProtoMessage()
- func (x *Webhook_GenericWebService_OAuthConfig) ProtoReflect() protoreflect.Message
- func (x *Webhook_GenericWebService_OAuthConfig) Reset()
- func (x *Webhook_GenericWebService_OAuthConfig) String() string
- type Webhook_GenericWebService_ServiceAgentAuth
- func (Webhook_GenericWebService_ServiceAgentAuth) Descriptor() protoreflect.EnumDescriptor
- func (x Webhook_GenericWebService_ServiceAgentAuth) Enum() *Webhook_GenericWebService_ServiceAgentAuth
- func (Webhook_GenericWebService_ServiceAgentAuth) EnumDescriptor() ([]byte, []int)deprecated
- func (x Webhook_GenericWebService_ServiceAgentAuth) Number() protoreflect.EnumNumber
- func (x Webhook_GenericWebService_ServiceAgentAuth) String() string
- func (Webhook_GenericWebService_ServiceAgentAuth) Type() protoreflect.EnumType
- type Webhook_GenericWebService_WebhookType
- func (Webhook_GenericWebService_WebhookType) Descriptor() protoreflect.EnumDescriptor
- func (x Webhook_GenericWebService_WebhookType) Enum() *Webhook_GenericWebService_WebhookType
- func (Webhook_GenericWebService_WebhookType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Webhook_GenericWebService_WebhookType) Number() protoreflect.EnumNumber
- func (x Webhook_GenericWebService_WebhookType) String() string
- func (Webhook_GenericWebService_WebhookType) Type() protoreflect.EnumType
- type Webhook_ServiceDirectory
- type Webhook_ServiceDirectoryConfig
- func (*Webhook_ServiceDirectoryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Webhook_ServiceDirectoryConfig) GetGenericWebService() *Webhook_GenericWebService
- func (x *Webhook_ServiceDirectoryConfig) GetService() string
- func (*Webhook_ServiceDirectoryConfig) ProtoMessage()
- func (x *Webhook_ServiceDirectoryConfig) ProtoReflect() protoreflect.Message
- func (x *Webhook_ServiceDirectoryConfig) Reset()
- func (x *Webhook_ServiceDirectoryConfig) String() string
- type WebhooksClient
- type WebhooksServer
Constants ¶
This section is empty.
Variables ¶
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.
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.
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", 8: "AUDIO_ENCODING_ALAW", } 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, "AUDIO_ENCODING_ALAW": 8, } )
Enum value maps for AudioEncoding.
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.
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.
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", 6: "OUTPUT_AUDIO_ENCODING_ALAW", } 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, "OUTPUT_AUDIO_ENCODING_ALAW": 6, } )
Enum value maps for OutputAudioEncoding.
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.
var ( DataStoreConnectionSignals_GroundingSignals_GroundingDecision_name = map[int32]string{ 0: "GROUNDING_DECISION_UNSPECIFIED", 1: "ACCEPTED_BY_GROUNDING", 2: "REJECTED_BY_GROUNDING", } DataStoreConnectionSignals_GroundingSignals_GroundingDecision_value = map[string]int32{ "GROUNDING_DECISION_UNSPECIFIED": 0, "ACCEPTED_BY_GROUNDING": 1, "REJECTED_BY_GROUNDING": 2, } )
Enum value maps for DataStoreConnectionSignals_GroundingSignals_GroundingDecision.
var ( DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket_name = map[int32]string{ 0: "GROUNDING_SCORE_BUCKET_UNSPECIFIED", 1: "VERY_LOW", 3: "LOW", 4: "MEDIUM", 5: "HIGH", 6: "VERY_HIGH", } DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket_value = map[string]int32{ "GROUNDING_SCORE_BUCKET_UNSPECIFIED": 0, "VERY_LOW": 1, "LOW": 3, "MEDIUM": 4, "HIGH": 5, "VERY_HIGH": 6, } )
Enum value maps for DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket.
var ( DataStoreConnectionSignals_SafetySignals_SafetyDecision_name = map[int32]string{ 0: "SAFETY_DECISION_UNSPECIFIED", 1: "ACCEPTED_BY_SAFETY_CHECK", 2: "REJECTED_BY_SAFETY_CHECK", } DataStoreConnectionSignals_SafetySignals_SafetyDecision_value = map[string]int32{ "SAFETY_DECISION_UNSPECIFIED": 0, "ACCEPTED_BY_SAFETY_CHECK": 1, "REJECTED_BY_SAFETY_CHECK": 2, } )
Enum value maps for DataStoreConnectionSignals_SafetySignals_SafetyDecision.
var ( DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch_name = map[int32]string{ 0: "BANNED_PHRASE_MATCH_UNSPECIFIED", 1: "BANNED_PHRASE_MATCH_NONE", 2: "BANNED_PHRASE_MATCH_QUERY", 3: "BANNED_PHRASE_MATCH_RESPONSE", } DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch_value = map[string]int32{ "BANNED_PHRASE_MATCH_UNSPECIFIED": 0, "BANNED_PHRASE_MATCH_NONE": 1, "BANNED_PHRASE_MATCH_QUERY": 2, "BANNED_PHRASE_MATCH_RESPONSE": 3, } )
Enum value maps for DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
var ( ResponseMessage_ResponseType_name = map[int32]string{ 0: "RESPONSE_TYPE_UNSPECIFIED", 1: "ENTRY_PROMPT", 2: "PARAMETER_PROMPT", 3: "HANDLER_PROMPT", } ResponseMessage_ResponseType_value = map[string]int32{ "RESPONSE_TYPE_UNSPECIFIED": 0, "ENTRY_PROMPT": 1, "PARAMETER_PROMPT": 2, "HANDLER_PROMPT": 3, } )
Enum value maps for ResponseMessage_ResponseType.
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.
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.
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.
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.
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.
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.
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.
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.
var ( BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_name = map[int32]string{ 0: "ATTRIBUTE_TYPE_UNSPECIFIED", 1: "NUMERICAL", 2: "FRESHNESS", } BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_value = map[string]int32{ "ATTRIBUTE_TYPE_UNSPECIFIED": 0, "NUMERICAL": 1, "FRESHNESS": 2, } )
Enum value maps for BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType.
var ( BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_name = map[int32]string{ 0: "INTERPOLATION_TYPE_UNSPECIFIED", 1: "LINEAR", } BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_value = map[string]int32{ "INTERPOLATION_TYPE_UNSPECIFIED": 0, "LINEAR": 1, } )
Enum value maps for BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType.
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", 8: "KNOWLEDGE_CONNECTOR", 9: "PLAYBOOK", } 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, "KNOWLEDGE_CONNECTOR": 8, "PLAYBOOK": 9, } )
Enum value maps for Match_MatchType.
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.
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.
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.
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.
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.
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.
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.
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.
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.
var ( Webhook_GenericWebService_ServiceAgentAuth_name = map[int32]string{ 0: "SERVICE_AGENT_AUTH_UNSPECIFIED", 1: "NONE", 2: "ID_TOKEN", 3: "ACCESS_TOKEN", } Webhook_GenericWebService_ServiceAgentAuth_value = map[string]int32{ "SERVICE_AGENT_AUTH_UNSPECIFIED": 0, "NONE": 1, "ID_TOKEN": 2, "ACCESS_TOKEN": 3, } )
Enum value maps for Webhook_GenericWebService_ServiceAgentAuth.
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.
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.
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.
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.
var File_google_cloud_dialogflow_cx_v3_advanced_settings_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_agent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_audio_config_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_changelog_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_data_store_connection_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_deployment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_environment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_experiment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_flow_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_fulfillment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_gcs_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_generative_settings_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_generator_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_import_strategy_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_inline_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_intent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_page_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_response_message_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_safety_settings_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_security_settings_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_session_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_session_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_test_case_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_transition_route_group_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_validation_message_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_version_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_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 RegisterExperimentsServer ¶
func RegisterExperimentsServer(s *grpc.Server, srv ExperimentsServer)
func RegisterFlowsServer ¶
func RegisterFlowsServer(s *grpc.Server, srv FlowsServer)
func RegisterGeneratorsServer ¶ added in v1.47.0
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 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 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)
Types ¶
type AdvancedSettings ¶
type AdvancedSettings struct { // If present, incoming audio is exported by Dialogflow to the configured // Google Cloud Storage destination. // Exposed at the following levels: // - Agent level // - Flow level AudioExportGcsDestination *GcsDestination `` /* 140-byte string literal not displayed */ // Settings for speech to text detection. // Exposed at the following levels: // - Agent level // - Flow level // - Page level // - Parameter level SpeechSettings *AdvancedSettings_SpeechSettings `protobuf:"bytes,3,opt,name=speech_settings,json=speechSettings,proto3" json:"speech_settings,omitempty"` // Settings for DTMF. // Exposed at the following levels: // - Agent level // - Flow level // - Page level // - Parameter level. DtmfSettings *AdvancedSettings_DtmfSettings `protobuf:"bytes,5,opt,name=dtmf_settings,json=dtmfSettings,proto3" json:"dtmf_settings,omitempty"` // Settings for logging. // Settings for Dialogflow History, Contact Center messages, StackDriver logs, // and speech logging. // Exposed at the following levels: // - Agent level. LoggingSettings *AdvancedSettings_LoggingSettings `protobuf:"bytes,6,opt,name=logging_settings,json=loggingSettings,proto3" json:"logging_settings,omitempty"` // contains filtered or unexported fields }
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
deprecated
func (*AdvancedSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings) GetAudioExportGcsDestination ¶ added in v1.31.0
func (x *AdvancedSettings) GetAudioExportGcsDestination() *GcsDestination
func (*AdvancedSettings) GetDtmfSettings ¶ added in v1.44.0
func (x *AdvancedSettings) GetDtmfSettings() *AdvancedSettings_DtmfSettings
func (*AdvancedSettings) GetLoggingSettings ¶
func (x *AdvancedSettings) GetLoggingSettings() *AdvancedSettings_LoggingSettings
func (*AdvancedSettings) GetSpeechSettings ¶ added in v1.55.0
func (x *AdvancedSettings) GetSpeechSettings() *AdvancedSettings_SpeechSettings
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
type AdvancedSettings_DtmfSettings ¶ added in v1.44.0
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"` // Interdigit timeout setting for matching dtmf input to regex. InterdigitTimeoutDuration *durationpb.Duration `` /* 138-byte string literal not displayed */ // Endpoint timeout setting for matching dtmf input to regex. EndpointingTimeoutDuration *durationpb.Duration `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
Define behaviors for DTMF (dual tone multi frequency).
func (*AdvancedSettings_DtmfSettings) Descriptor
deprecated
added in
v1.44.0
func (*AdvancedSettings_DtmfSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings_DtmfSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_DtmfSettings) GetEnabled ¶ added in v1.44.0
func (x *AdvancedSettings_DtmfSettings) GetEnabled() bool
func (*AdvancedSettings_DtmfSettings) GetEndpointingTimeoutDuration ¶ added in v1.55.0
func (x *AdvancedSettings_DtmfSettings) GetEndpointingTimeoutDuration() *durationpb.Duration
func (*AdvancedSettings_DtmfSettings) GetFinishDigit ¶ added in v1.44.0
func (x *AdvancedSettings_DtmfSettings) GetFinishDigit() string
func (*AdvancedSettings_DtmfSettings) GetInterdigitTimeoutDuration ¶ added in v1.55.0
func (x *AdvancedSettings_DtmfSettings) GetInterdigitTimeoutDuration() *durationpb.Duration
func (*AdvancedSettings_DtmfSettings) GetMaxDigits ¶ added in v1.44.0
func (x *AdvancedSettings_DtmfSettings) GetMaxDigits() int32
func (*AdvancedSettings_DtmfSettings) ProtoMessage ¶ added in v1.44.0
func (*AdvancedSettings_DtmfSettings) ProtoMessage()
func (*AdvancedSettings_DtmfSettings) ProtoReflect ¶ added in v1.44.0
func (x *AdvancedSettings_DtmfSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings_DtmfSettings) Reset ¶ added in v1.44.0
func (x *AdvancedSettings_DtmfSettings) Reset()
func (*AdvancedSettings_DtmfSettings) String ¶ added in v1.44.0
func (x *AdvancedSettings_DtmfSettings) String() string
type AdvancedSettings_LoggingSettings ¶
type AdvancedSettings_LoggingSettings struct { // Enables Google Cloud Logging. EnableStackdriverLogging bool `` /* 136-byte string literal not displayed */ // Enables DF Interaction logging. EnableInteractionLogging bool `` /* 136-byte string literal not displayed */ // Enables consent-based end-user input redaction, if true, a pre-defined // session parameter `$session.params.conversation-redaction` will be // used to determine if the utterance should be redacted. EnableConsentBasedRedaction bool `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Define behaviors on logging.
func (*AdvancedSettings_LoggingSettings) Descriptor
deprecated
func (*AdvancedSettings_LoggingSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings_LoggingSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_LoggingSettings) GetEnableConsentBasedRedaction ¶ added in v1.55.0
func (x *AdvancedSettings_LoggingSettings) GetEnableConsentBasedRedaction() bool
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
type AdvancedSettings_SpeechSettings ¶ added in v1.55.0
type AdvancedSettings_SpeechSettings struct { // Sensitivity of the speech model that detects the end of speech. // Scale from 0 to 100. EndpointerSensitivity int32 `protobuf:"varint,1,opt,name=endpointer_sensitivity,json=endpointerSensitivity,proto3" json:"endpointer_sensitivity,omitempty"` // Timeout before detecting no speech. NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"` // Use timeout based endpointing, interpreting endpointer sensitivy as // seconds of timeout value. UseTimeoutBasedEndpointing bool `` /* 144-byte string literal not displayed */ // Mapping from language to Speech-to-Text model. The mapped Speech-to-Text // model will be selected for requests from its corresponding language. // For more information, see // [Speech // models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). Models map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Define behaviors of speech to text detection.
func (*AdvancedSettings_SpeechSettings) Descriptor
deprecated
added in
v1.55.0
func (*AdvancedSettings_SpeechSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings_SpeechSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_SpeechSettings) GetEndpointerSensitivity ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) GetEndpointerSensitivity() int32
func (*AdvancedSettings_SpeechSettings) GetModels ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) GetModels() map[string]string
func (*AdvancedSettings_SpeechSettings) GetNoSpeechTimeout ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) GetNoSpeechTimeout() *durationpb.Duration
func (*AdvancedSettings_SpeechSettings) GetUseTimeoutBasedEndpointing ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) GetUseTimeoutBasedEndpointing() bool
func (*AdvancedSettings_SpeechSettings) ProtoMessage ¶ added in v1.55.0
func (*AdvancedSettings_SpeechSettings) ProtoMessage()
func (*AdvancedSettings_SpeechSettings) ProtoReflect ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings_SpeechSettings) Reset ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) Reset()
func (*AdvancedSettings_SpeechSettings) String ¶ added in v1.55.0
func (x *AdvancedSettings_SpeechSettings) String() string
type Agent ¶
type Agent struct { // The unique identifier of the agent. // Required for the // [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] // method. // [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] // populates the name automatically. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the agent, unique within the location. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. Immutable. The default language of the agent as a language tag. // See [Language // Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) // for a list of the currently supported language codes. // This field cannot be set by the // [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] // method. DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"` // The list of all languages supported by the agent (except for the // `default_language_code`). SupportedLanguageCodes []string `` /* 129-byte string literal not displayed */ // Required. The time zone of the agent from the [time zone // database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // The description of the agent. The maximum length is 500 characters. If // exceeded, the request is rejected. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // The URI of the agent's avatar. Avatars are used throughout the Dialogflow // console and in the self-hosted [Web // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) // integration. AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"` // Speech recognition related settings. SpeechToTextSettings *SpeechToTextSettings `` /* 126-byte string literal not displayed */ // Immutable. Name of the start flow in this agent. A start flow will be // automatically created when the agent is created, and can only be deleted by // deleting the agent. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. StartFlow string `protobuf:"bytes,16,opt,name=start_flow,json=startFlow,proto3" json:"start_flow,omitempty"` // Name of the // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] // reference for the agent. Format: // `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`. SecuritySettings string `protobuf:"bytes,17,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Indicates if stackdriver logging is enabled for the agent. // Please use // [agent.advanced_settings][google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings] // instead. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/agent.proto. EnableStackdriverLogging bool `` /* 137-byte string literal not displayed */ // Indicates if automatic spell correction is enabled in detect intent // requests. EnableSpellCorrection bool `` /* 128-byte string literal not displayed */ // Optional. Enable training multi-lingual models for this agent. These models // will be trained on all the languages supported by the agent. EnableMultiLanguageTraining bool `` /* 148-byte string literal not displayed */ // Indicates whether the agent is locked for changes. If the agent is locked, // modifications to the agent will be rejected except for [RestoreAgent][]. Locked bool `protobuf:"varint,27,opt,name=locked,proto3" json:"locked,omitempty"` // Hierarchical advanced settings for this agent. The settings exposed at the // lower level overrides the settings exposed at the higher level. AdvancedSettings *AdvancedSettings `protobuf:"bytes,22,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"` // Git integration settings for this agent. GitIntegrationSettings *Agent_GitIntegrationSettings `` /* 130-byte string literal not displayed */ // Settings on instructing the speech synthesizer on how to generate the // output audio content. TextToSpeechSettings *TextToSpeechSettings `` /* 126-byte string literal not displayed */ // Gen App Builder-related agent-level settings. GenAppBuilderSettings *Agent_GenAppBuilderSettings `` /* 135-byte string literal not displayed */ // Optional. Answer feedback collection settings. AnswerFeedbackSettings *Agent_AnswerFeedbackSettings `` /* 130-byte string literal not displayed */ // Optional. Settings for end user personalization. PersonalizationSettings *Agent_PersonalizationSettings `` /* 131-byte string literal not displayed */ // Optional. Settings for custom client certificates. ClientCertificateSettings *Agent_ClientCertificateSettings `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
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.v3.Intent], [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] and so on to manage the conversation flows.
func (*Agent) Descriptor
deprecated
func (*Agent) GetAdvancedSettings ¶
func (x *Agent) GetAdvancedSettings() *AdvancedSettings
func (*Agent) GetAnswerFeedbackSettings ¶ added in v1.45.0
func (x *Agent) GetAnswerFeedbackSettings() *Agent_AnswerFeedbackSettings
func (*Agent) GetAvatarUri ¶
func (*Agent) GetClientCertificateSettings ¶ added in v1.59.0
func (x *Agent) GetClientCertificateSettings() *Agent_ClientCertificateSettings
func (*Agent) GetDefaultLanguageCode ¶
func (*Agent) GetDescription ¶
func (*Agent) GetDisplayName ¶
func (*Agent) GetEnableMultiLanguageTraining ¶ added in v1.55.0
func (*Agent) GetEnableSpellCorrection ¶
func (*Agent) GetEnableStackdriverLogging
deprecated
func (*Agent) GetGenAppBuilderSettings ¶ added in v1.43.0
func (x *Agent) GetGenAppBuilderSettings() *Agent_GenAppBuilderSettings
func (*Agent) GetGitIntegrationSettings ¶ added in v1.40.0
func (x *Agent) GetGitIntegrationSettings() *Agent_GitIntegrationSettings
func (*Agent) GetPersonalizationSettings ¶ added in v1.55.0
func (x *Agent) GetPersonalizationSettings() *Agent_PersonalizationSettings
func (*Agent) GetSecuritySettings ¶
func (*Agent) GetSpeechToTextSettings ¶
func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings
func (*Agent) GetStartFlow ¶
func (*Agent) GetSupportedLanguageCodes ¶
func (*Agent) GetTextToSpeechSettings ¶ added in v1.31.0
func (x *Agent) GetTextToSpeechSettings() *TextToSpeechSettings
func (*Agent) GetTimeZone ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type AgentValidationResult ¶
type AgentValidationResult struct { // The unique identifier of the agent validation result. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Contains all flow validation results. FlowValidationResults []*FlowValidationResult `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
The response message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult].
func (*AgentValidationResult) Descriptor
deprecated
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
type Agent_AnswerFeedbackSettings ¶ added in v1.45.0
type Agent_AnswerFeedbackSettings struct { // Optional. If enabled, end users will be able to provide // [answer feedback][google.cloud.dialogflow.cx.v3.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
deprecated
added in
v1.45.0
func (*Agent_AnswerFeedbackSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_AnswerFeedbackSettings.ProtoReflect.Descriptor instead.
func (*Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback ¶ added in v1.45.0
func (x *Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback() bool
func (*Agent_AnswerFeedbackSettings) ProtoMessage ¶ added in v1.45.0
func (*Agent_AnswerFeedbackSettings) ProtoMessage()
func (*Agent_AnswerFeedbackSettings) ProtoReflect ¶ added in v1.45.0
func (x *Agent_AnswerFeedbackSettings) ProtoReflect() protoreflect.Message
func (*Agent_AnswerFeedbackSettings) Reset ¶ added in v1.45.0
func (x *Agent_AnswerFeedbackSettings) Reset()
func (*Agent_AnswerFeedbackSettings) String ¶ added in v1.45.0
func (x *Agent_AnswerFeedbackSettings) String() string
type Agent_ClientCertificateSettings ¶ added in v1.59.0
type Agent_ClientCertificateSettings struct { // Required. The ssl certificate encoded in PEM format. This string must // include the begin header and end footer lines. SslCertificate string `protobuf:"bytes,1,opt,name=ssl_certificate,json=sslCertificate,proto3" json:"ssl_certificate,omitempty"` // Required. The name of the SecretManager secret version resource storing // the private key encoded in PEM format. Format: // `projects/{project}/secrets/{secret}/versions/{version}` PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // Optional. The name of the SecretManager secret version resource storing // the passphrase. 'passphrase' should be left unset if the private key is // not encrypted. // Format: `projects/{project}/secrets/{secret}/versions/{version}` Passphrase string `protobuf:"bytes,3,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // contains filtered or unexported fields }
Settings for custom client certificates.
func (*Agent_ClientCertificateSettings) Descriptor
deprecated
added in
v1.59.0
func (*Agent_ClientCertificateSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_ClientCertificateSettings.ProtoReflect.Descriptor instead.
func (*Agent_ClientCertificateSettings) GetPassphrase ¶ added in v1.59.0
func (x *Agent_ClientCertificateSettings) GetPassphrase() string
func (*Agent_ClientCertificateSettings) GetPrivateKey ¶ added in v1.59.0
func (x *Agent_ClientCertificateSettings) GetPrivateKey() string
func (*Agent_ClientCertificateSettings) GetSslCertificate ¶ added in v1.59.0
func (x *Agent_ClientCertificateSettings) GetSslCertificate() string
func (*Agent_ClientCertificateSettings) ProtoMessage ¶ added in v1.59.0
func (*Agent_ClientCertificateSettings) ProtoMessage()
func (*Agent_ClientCertificateSettings) ProtoReflect ¶ added in v1.59.0
func (x *Agent_ClientCertificateSettings) ProtoReflect() protoreflect.Message
func (*Agent_ClientCertificateSettings) Reset ¶ added in v1.59.0
func (x *Agent_ClientCertificateSettings) Reset()
func (*Agent_ClientCertificateSettings) String ¶ added in v1.59.0
func (x *Agent_ClientCertificateSettings) String() string
type Agent_GenAppBuilderSettings ¶ added in v1.43.0
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
deprecated
added in
v1.43.0
func (*Agent_GenAppBuilderSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_GenAppBuilderSettings.ProtoReflect.Descriptor instead.
func (*Agent_GenAppBuilderSettings) GetEngine ¶ added in v1.43.0
func (x *Agent_GenAppBuilderSettings) GetEngine() string
func (*Agent_GenAppBuilderSettings) ProtoMessage ¶ added in v1.43.0
func (*Agent_GenAppBuilderSettings) ProtoMessage()
func (*Agent_GenAppBuilderSettings) ProtoReflect ¶ added in v1.43.0
func (x *Agent_GenAppBuilderSettings) ProtoReflect() protoreflect.Message
func (*Agent_GenAppBuilderSettings) Reset ¶ added in v1.43.0
func (x *Agent_GenAppBuilderSettings) Reset()
func (*Agent_GenAppBuilderSettings) String ¶ added in v1.43.0
func (x *Agent_GenAppBuilderSettings) String() string
type Agent_GitIntegrationSettings ¶ added in v1.40.0
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
deprecated
added in
v1.40.0
func (*Agent_GitIntegrationSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_GitIntegrationSettings.ProtoReflect.Descriptor instead.
func (*Agent_GitIntegrationSettings) GetGitSettings ¶ added in v1.40.0
func (m *Agent_GitIntegrationSettings) GetGitSettings() isAgent_GitIntegrationSettings_GitSettings
func (*Agent_GitIntegrationSettings) GetGithubSettings ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings) GetGithubSettings() *Agent_GitIntegrationSettings_GithubSettings
func (*Agent_GitIntegrationSettings) ProtoMessage ¶ added in v1.40.0
func (*Agent_GitIntegrationSettings) ProtoMessage()
func (*Agent_GitIntegrationSettings) ProtoReflect ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings) ProtoReflect() protoreflect.Message
func (*Agent_GitIntegrationSettings) Reset ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings) Reset()
func (*Agent_GitIntegrationSettings) String ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings) String() string
type Agent_GitIntegrationSettings_GithubSettings ¶ added in v1.40.0
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
deprecated
added in
v1.40.0
func (*Agent_GitIntegrationSettings_GithubSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_GitIntegrationSettings_GithubSettings.ProtoReflect.Descriptor instead.
func (*Agent_GitIntegrationSettings_GithubSettings) GetAccessToken ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) GetAccessToken() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetBranches ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) GetBranches() []string
func (*Agent_GitIntegrationSettings_GithubSettings) GetDisplayName ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) GetDisplayName() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch() string
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage ¶ added in v1.40.0
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage()
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoReflect ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) ProtoReflect() protoreflect.Message
func (*Agent_GitIntegrationSettings_GithubSettings) Reset ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) Reset()
func (*Agent_GitIntegrationSettings_GithubSettings) String ¶ added in v1.40.0
func (x *Agent_GitIntegrationSettings_GithubSettings) String() string
type Agent_GitIntegrationSettings_GithubSettings_ ¶ added in v1.40.0
type Agent_GitIntegrationSettings_GithubSettings_ struct { // GitHub settings. GithubSettings *Agent_GitIntegrationSettings_GithubSettings `protobuf:"bytes,1,opt,name=github_settings,json=githubSettings,proto3,oneof"` }
type Agent_PersonalizationSettings ¶ added in v1.55.0
type Agent_PersonalizationSettings struct { // Optional. Default end user metadata, used when processing DetectIntent // requests. Recommended to be filled as a template instead of hard-coded // value, for example { "age": "$session.params.age" }. The data will be // merged with the // [QueryParameters.end_user_metadata][google.cloud.dialogflow.cx.v3.QueryParameters.end_user_metadata] // in // [DetectIntentRequest.query_params][google.cloud.dialogflow.cx.v3.DetectIntentRequest.query_params] // during query processing. DefaultEndUserMetadata *structpb.Struct `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
Settings for end user personalization.
func (*Agent_PersonalizationSettings) Descriptor
deprecated
added in
v1.55.0
func (*Agent_PersonalizationSettings) Descriptor() ([]byte, []int)
Deprecated: Use Agent_PersonalizationSettings.ProtoReflect.Descriptor instead.
func (*Agent_PersonalizationSettings) GetDefaultEndUserMetadata ¶ added in v1.55.0
func (x *Agent_PersonalizationSettings) GetDefaultEndUserMetadata() *structpb.Struct
func (*Agent_PersonalizationSettings) ProtoMessage ¶ added in v1.55.0
func (*Agent_PersonalizationSettings) ProtoMessage()
func (*Agent_PersonalizationSettings) ProtoReflect ¶ added in v1.55.0
func (x *Agent_PersonalizationSettings) ProtoReflect() protoreflect.Message
func (*Agent_PersonalizationSettings) Reset ¶ added in v1.55.0
func (x *Agent_PersonalizationSettings) Reset()
func (*Agent_PersonalizationSettings) String ¶ added in v1.55.0
func (x *Agent_PersonalizationSettings) String() string
type 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 flows prior to sending them 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 flows prior to sending them 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.v3.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 flows prior to sending them 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
type 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 flows prior to sending them 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 flows prior to sending them 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.v3.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 flows prior to sending them 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.
type AnswerFeedback ¶ added in v1.45.0
type AnswerFeedback struct { // Optional. Rating from user for the specific Dialogflow response. Rating AnswerFeedback_Rating `protobuf:"varint,1,opt,name=rating,proto3,enum=google.cloud.dialogflow.cx.v3.AnswerFeedback_Rating" json:"rating,omitempty"` // Optional. In case of thumbs down rating provided, users can optionally // provide context about the rating. RatingReason *AnswerFeedback_RatingReason `protobuf:"bytes,2,opt,name=rating_reason,json=ratingReason,proto3" json:"rating_reason,omitempty"` // Optional. Custom rating from the user about the provided answer, with // maximum length of 1024 characters. For example, client could use a // customized JSON object to indicate the rating. CustomRating string `protobuf:"bytes,3,opt,name=custom_rating,json=customRating,proto3" json:"custom_rating,omitempty"` // contains filtered or unexported fields }
Stores information about feedback provided by users about a response.
func (*AnswerFeedback) Descriptor
deprecated
added in
v1.45.0
func (*AnswerFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.
func (*AnswerFeedback) GetCustomRating ¶ added in v1.45.0
func (x *AnswerFeedback) GetCustomRating() string
func (*AnswerFeedback) GetRating ¶ added in v1.45.0
func (x *AnswerFeedback) GetRating() AnswerFeedback_Rating
func (*AnswerFeedback) GetRatingReason ¶ added in v1.45.0
func (x *AnswerFeedback) GetRatingReason() *AnswerFeedback_RatingReason
func (*AnswerFeedback) ProtoMessage ¶ added in v1.45.0
func (*AnswerFeedback) ProtoMessage()
func (*AnswerFeedback) ProtoReflect ¶ added in v1.45.0
func (x *AnswerFeedback) ProtoReflect() protoreflect.Message
func (*AnswerFeedback) Reset ¶ added in v1.45.0
func (x *AnswerFeedback) Reset()
func (*AnswerFeedback) String ¶ added in v1.45.0
func (x *AnswerFeedback) String() string
type AnswerFeedback_Rating ¶ added in v1.45.0
type AnswerFeedback_Rating int32
Represents thumbs up/down rating provided by user about a response.
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 ¶ added in v1.45.0
func (AnswerFeedback_Rating) Descriptor() protoreflect.EnumDescriptor
func (AnswerFeedback_Rating) Enum ¶ added in v1.45.0
func (x AnswerFeedback_Rating) Enum() *AnswerFeedback_Rating
func (AnswerFeedback_Rating) EnumDescriptor
deprecated
added in
v1.45.0
func (AnswerFeedback_Rating) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback_Rating.Descriptor instead.
func (AnswerFeedback_Rating) Number ¶ added in v1.45.0
func (x AnswerFeedback_Rating) Number() protoreflect.EnumNumber
func (AnswerFeedback_Rating) String ¶ added in v1.45.0
func (x AnswerFeedback_Rating) String() string
func (AnswerFeedback_Rating) Type ¶ added in v1.45.0
func (AnswerFeedback_Rating) Type() protoreflect.EnumType
type AnswerFeedback_RatingReason ¶ added in v1.45.0
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
deprecated
added in
v1.45.0
func (*AnswerFeedback_RatingReason) Descriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback_RatingReason.ProtoReflect.Descriptor instead.
func (*AnswerFeedback_RatingReason) GetFeedback ¶ added in v1.45.0
func (x *AnswerFeedback_RatingReason) GetFeedback() string
func (*AnswerFeedback_RatingReason) GetReasonLabels ¶ added in v1.45.0
func (x *AnswerFeedback_RatingReason) GetReasonLabels() []string
func (*AnswerFeedback_RatingReason) ProtoMessage ¶ added in v1.45.0
func (*AnswerFeedback_RatingReason) ProtoMessage()
func (*AnswerFeedback_RatingReason) ProtoReflect ¶ added in v1.45.0
func (x *AnswerFeedback_RatingReason) ProtoReflect() protoreflect.Message
func (*AnswerFeedback_RatingReason) Reset ¶ added in v1.45.0
func (x *AnswerFeedback_RatingReason) Reset()
func (*AnswerFeedback_RatingReason) String ¶ added in v1.45.0
func (x *AnswerFeedback_RatingReason) String() string
type AudioEncoding ¶
type AudioEncoding int32
Audio encoding of the audio content sent in the conversational query request. Refer to the [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
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 // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. AudioEncoding_AUDIO_ENCODING_ALAW AudioEncoding = 8 )
func (AudioEncoding) Descriptor ¶
func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (AudioEncoding) Enum ¶
func (x AudioEncoding) Enum() *AudioEncoding
func (AudioEncoding) EnumDescriptor
deprecated
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
type 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.v3.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
deprecated
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
type BargeInConfig ¶ added in v1.45.0
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
deprecated
added in
v1.45.0
func (*BargeInConfig) Descriptor() ([]byte, []int)
Deprecated: Use BargeInConfig.ProtoReflect.Descriptor instead.
func (*BargeInConfig) GetNoBargeInDuration ¶ added in v1.45.0
func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration
func (*BargeInConfig) GetTotalDuration ¶ added in v1.45.0
func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration
func (*BargeInConfig) ProtoMessage ¶ added in v1.45.0
func (*BargeInConfig) ProtoMessage()
func (*BargeInConfig) ProtoReflect ¶ added in v1.45.0
func (x *BargeInConfig) ProtoReflect() protoreflect.Message
func (*BargeInConfig) Reset ¶ added in v1.45.0
func (x *BargeInConfig) Reset()
func (*BargeInConfig) String ¶ added in v1.45.0
func (x *BargeInConfig) String() string
type BatchDeleteTestCasesRequest ¶
type BatchDeleteTestCasesRequest struct { // Required. The agent to delete test cases from. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Format of test case names: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.BatchDeleteTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases].
func (*BatchDeleteTestCasesRequest) Descriptor
deprecated
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
type 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.v3.TestCases.BatchRunTestCases] long running operation.
func (*BatchRunTestCasesMetadata) Descriptor
deprecated
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
type BatchRunTestCasesRequest ¶
type BatchRunTestCasesRequest struct { // Required. Agent name. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. If not set, draft environment is assumed. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // Required. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. TestCases []string `protobuf:"bytes,3,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases].
func (*BatchRunTestCasesRequest) Descriptor
deprecated
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
type BatchRunTestCasesResponse ¶
type BatchRunTestCasesResponse struct { // The test case results. The detailed // [conversation // turns][google.cloud.dialogflow.cx.v3.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.v3.TestCases.BatchRunTestCases].
func (*BatchRunTestCasesResponse) Descriptor
deprecated
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
type BoostSpec ¶ added in v1.45.0
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
added in
v1.45.0
func (*BoostSpec) GetConditionBoostSpecs ¶ added in v1.45.0
func (x *BoostSpec) GetConditionBoostSpecs() []*BoostSpec_ConditionBoostSpec
func (*BoostSpec) ProtoMessage ¶ added in v1.45.0
func (*BoostSpec) ProtoMessage()
func (*BoostSpec) ProtoReflect ¶ added in v1.45.0
func (x *BoostSpec) ProtoReflect() protoreflect.Message
type BoostSpec_ConditionBoostSpec ¶ added in v1.45.0
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"` // Optional. Complex specification for custom ranking based on customer // defined attribute value. BoostControlSpec *BoostSpec_ConditionBoostSpec_BoostControlSpec `protobuf:"bytes,4,opt,name=boost_control_spec,json=boostControlSpec,proto3" json:"boost_control_spec,omitempty"` // contains filtered or unexported fields }
Boost applies to documents which match a condition.
func (*BoostSpec_ConditionBoostSpec) Descriptor
deprecated
added in
v1.45.0
func (*BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)
Deprecated: Use BoostSpec_ConditionBoostSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec) GetBoost ¶ added in v1.45.0
func (x *BoostSpec_ConditionBoostSpec) GetBoost() float32
func (*BoostSpec_ConditionBoostSpec) GetBoostControlSpec ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec) GetBoostControlSpec() *BoostSpec_ConditionBoostSpec_BoostControlSpec
func (*BoostSpec_ConditionBoostSpec) GetCondition ¶ added in v1.45.0
func (x *BoostSpec_ConditionBoostSpec) GetCondition() string
func (*BoostSpec_ConditionBoostSpec) ProtoMessage ¶ added in v1.45.0
func (*BoostSpec_ConditionBoostSpec) ProtoMessage()
func (*BoostSpec_ConditionBoostSpec) ProtoReflect ¶ added in v1.45.0
func (x *BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message
func (*BoostSpec_ConditionBoostSpec) Reset ¶ added in v1.45.0
func (x *BoostSpec_ConditionBoostSpec) Reset()
func (*BoostSpec_ConditionBoostSpec) String ¶ added in v1.45.0
func (x *BoostSpec_ConditionBoostSpec) String() string
type BoostSpec_ConditionBoostSpec_BoostControlSpec ¶ added in v1.59.0
type BoostSpec_ConditionBoostSpec_BoostControlSpec struct { // Optional. The name of the field whose value will be used to determine // the boost amount. FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Optional. The attribute type to be used to determine the boost amount. // The attribute value can be derived from the field value of the // specified field_name. In the case of numerical it is straightforward // i.e. attribute_value = numerical_field_value. In the case of freshness // however, attribute_value = (time.now() - datetime_field_value). AttributeType BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType `` /* 196-byte string literal not displayed */ // Optional. The interpolation type to be applied to connect the control // points listed below. InterpolationType BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType `` /* 212-byte string literal not displayed */ // Optional. The control points used to define the curve. The monotonic // function (defined through the interpolation_type above) passes through // the control points listed here. ControlPoints []*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint `protobuf:"bytes,4,rep,name=control_points,json=controlPoints,proto3" json:"control_points,omitempty"` // contains filtered or unexported fields }
Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor
deprecated
added in
v1.59.0
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor() ([]byte, []int)
Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType() BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints() []*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName() string
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType() BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage ¶ added in v1.59.0
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage()
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect() protoreflect.Message
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset()
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) String ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) String() string
type BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType ¶ added in v1.59.0
type BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType int32
The attribute(or function) for which the custom ranking is to be applied.
const ( // Unspecified AttributeType. BoostSpec_ConditionBoostSpec_BoostControlSpec_ATTRIBUTE_TYPE_UNSPECIFIED BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 0 // The value of the numerical field will be used to dynamically update // the boost amount. In this case, the attribute_value (the x value) // of the control point will be the actual value of the numerical // field for which the boost_amount is specified. BoostSpec_ConditionBoostSpec_BoostControlSpec_NUMERICAL BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 1 // For the freshness use case the attribute value will be the duration // between the current time and the date in the datetime field // specified. The value must be formatted as an XSD `dayTimeDuration` // value (a restricted subset of an ISO 8601 duration value). The // pattern for this is: `[nD][T[nH][nM][nS]]`. // E.g. `5D`, `3DT12H30M`, `T24H`. BoostSpec_ConditionBoostSpec_BoostControlSpec_FRESHNESS BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 2 )
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor ¶ added in v1.59.0
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor() protoreflect.EnumDescriptor
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor
deprecated
added in
v1.59.0
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType.Descriptor instead.
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String ¶ added in v1.59.0
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String() string
type BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint ¶ added in v1.59.0
type BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint struct { // Optional. Can be one of: // 1. The numerical field value. // 2. The duration spec for freshness: // The value must be formatted as an XSD `dayTimeDuration` value (a // restricted subset of an ISO 8601 duration value). The pattern for // this is: `[nD][T[nH][nM][nS]]`. AttributeValue string `protobuf:"bytes,1,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"` // Optional. The value between -1 to 1 by which to boost the score if // the attribute_value evaluates to the value specified above. BoostAmount float32 `protobuf:"fixed32,2,opt,name=boost_amount,json=boostAmount,proto3" json:"boost_amount,omitempty"` // contains filtered or unexported fields }
The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor
deprecated
added in
v1.59.0
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor() ([]byte, []int)
Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue() string
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount() float32
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage ¶ added in v1.59.0
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage()
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect() protoreflect.Message
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset()
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String ¶ added in v1.59.0
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String() string
type BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType ¶ added in v1.59.0
type BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType int32
The interpolation type to be applied. Default will be linear (Piecewise Linear).
const ( // Interpolation type is unspecified. In this case, it defaults to // Linear. BoostSpec_ConditionBoostSpec_BoostControlSpec_INTERPOLATION_TYPE_UNSPECIFIED BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType = 0 // Piecewise linear interpolation will be applied. BoostSpec_ConditionBoostSpec_BoostControlSpec_LINEAR BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType = 1 )
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor ¶ added in v1.59.0
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor
deprecated
added in
v1.59.0
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType.Descriptor instead.
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String ¶ added in v1.59.0
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String() string
type BoostSpecs ¶ added in v1.45.0
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
deprecated
added in
v1.45.0
func (*BoostSpecs) Descriptor() ([]byte, []int)
Deprecated: Use BoostSpecs.ProtoReflect.Descriptor instead.
func (*BoostSpecs) GetDataStores ¶ added in v1.45.0
func (x *BoostSpecs) GetDataStores() []string
func (*BoostSpecs) GetSpec ¶ added in v1.45.0
func (x *BoostSpecs) GetSpec() []*BoostSpec
func (*BoostSpecs) ProtoMessage ¶ added in v1.45.0
func (*BoostSpecs) ProtoMessage()
func (*BoostSpecs) ProtoReflect ¶ added in v1.45.0
func (x *BoostSpecs) ProtoReflect() protoreflect.Message
func (*BoostSpecs) Reset ¶ added in v1.45.0
func (x *BoostSpecs) Reset()
func (*BoostSpecs) String ¶ added in v1.45.0
func (x *BoostSpecs) String() string
type CalculateCoverageRequest ¶
type CalculateCoverageRequest struct { // Required. The agent to calculate coverage for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"` // Required. The type of coverage requested. Type CalculateCoverageRequest_CoverageType `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage].
func (*CalculateCoverageRequest) Descriptor
deprecated
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
type CalculateCoverageRequest_CoverageType ¶
type CalculateCoverageRequest_CoverageType int32
The type of coverage score requested.
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) EnumDescriptor
deprecated
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
type CalculateCoverageResponse ¶
type CalculateCoverageResponse struct { // The agent to calculate coverage for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Agent string `protobuf:"bytes,5,opt,name=agent,proto3" json:"agent,omitempty"` // The type of coverage requested. // // Types that are assignable to CoverageType: // // *CalculateCoverageResponse_IntentCoverage // *CalculateCoverageResponse_TransitionCoverage // *CalculateCoverageResponse_RouteGroupCoverage CoverageType isCalculateCoverageResponse_CoverageType `protobuf_oneof:"coverage_type"` // contains filtered or unexported fields }
The response message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage].
func (*CalculateCoverageResponse) Descriptor
deprecated
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
type CalculateCoverageResponse_IntentCoverage ¶
type CalculateCoverageResponse_IntentCoverage struct { // Intent coverage. IntentCoverage *IntentCoverage `protobuf:"bytes,2,opt,name=intent_coverage,json=intentCoverage,proto3,oneof"` }
type CalculateCoverageResponse_RouteGroupCoverage ¶
type CalculateCoverageResponse_RouteGroupCoverage struct { // Transition route group coverage. RouteGroupCoverage *TransitionRouteGroupCoverage `protobuf:"bytes,6,opt,name=route_group_coverage,json=routeGroupCoverage,proto3,oneof"` }
type 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"` }
type Changelog ¶
type Changelog struct { // The unique identifier of the changelog. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/changelogs/<ChangelogID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Email address of the authenticated user. UserEmail string `protobuf:"bytes,2,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` // The affected resource display name of the change. DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The action of the change. Action string `protobuf:"bytes,11,opt,name=action,proto3" json:"action,omitempty"` // The affected resource type. Type string `protobuf:"bytes,8,opt,name=type,proto3" json:"type,omitempty"` // The affected resource name of the change. Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // The timestamp of the change. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The affected language code of the change. LanguageCode string `protobuf:"bytes,14,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Changelogs represents a change made to a given agent.
func (*Changelog) Descriptor
deprecated
func (*Changelog) GetCreateTime ¶
func (x *Changelog) GetCreateTime() *timestamppb.Timestamp
func (*Changelog) GetDisplayName ¶
func (*Changelog) GetLanguageCode ¶ added in v1.49.0
func (*Changelog) GetResource ¶
func (*Changelog) GetUserEmail ¶
func (*Changelog) ProtoMessage ¶
func (*Changelog) ProtoMessage()
func (*Changelog) ProtoReflect ¶
func (x *Changelog) ProtoReflect() protoreflect.Message
type 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
type 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.
type CloudConversationDebuggingInfo ¶ added in v1.33.0
type CloudConversationDebuggingInfo struct { // Number of input audio data chunks in streaming requests. AudioDataChunks int32 `protobuf:"varint,1,opt,name=audio_data_chunks,json=audioDataChunks,proto3" json:"audio_data_chunks,omitempty"` // Time offset of the end of speech utterance relative to the // beginning of the first audio chunk. ResultEndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=result_end_time_offset,json=resultEndTimeOffset,proto3" json:"result_end_time_offset,omitempty"` // Duration of first audio chunk. FirstAudioDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=first_audio_duration,json=firstAudioDuration,proto3" json:"first_audio_duration,omitempty"` // Whether client used single utterance mode. SingleUtterance bool `protobuf:"varint,5,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` // Time offsets of the speech partial results relative to the beginning of // the stream. SpeechPartialResultsEndTimes []*durationpb.Duration `` /* 151-byte string literal not displayed */ // Time offsets of the speech final results (is_final=true) relative to the // beginning of the stream. SpeechFinalResultsEndTimes []*durationpb.Duration `` /* 145-byte string literal not displayed */ // Total number of partial responses. PartialResponses int32 `protobuf:"varint,8,opt,name=partial_responses,json=partialResponses,proto3" json:"partial_responses,omitempty"` // Time offset of Speaker ID stream close time relative to the Speech stream // close time in milliseconds. Only meaningful for conversations involving // passive verification. SpeakerIdPassiveLatencyMsOffset int32 `` /* 163-byte string literal not displayed */ // Whether a barge-in event is triggered in this request. BargeinEventTriggered bool `` /* 128-byte string literal not displayed */ // Whether speech uses single utterance mode. SpeechSingleUtterance bool `` /* 128-byte string literal not displayed */ // Time offsets of the DTMF partial results relative to the beginning of // the stream. DtmfPartialResultsTimes []*durationpb.Duration `` /* 135-byte string literal not displayed */ // Time offsets of the DTMF final results relative to the beginning of // the stream. DtmfFinalResultsTimes []*durationpb.Duration `` /* 129-byte string literal not displayed */ // Time offset of the end-of-single-utterance signal relative to the // beginning of the stream. SingleUtteranceEndTimeOffset *durationpb.Duration `` /* 152-byte string literal not displayed */ // No speech timeout settings for the stream. NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,15,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"` // Speech endpointing timeout settings for the stream. EndpointingTimeout *durationpb.Duration `protobuf:"bytes,19,opt,name=endpointing_timeout,json=endpointingTimeout,proto3" json:"endpointing_timeout,omitempty"` // Whether the streaming terminates with an injected text query. IsInputText bool `protobuf:"varint,16,opt,name=is_input_text,json=isInputText,proto3" json:"is_input_text,omitempty"` // Client half close time in terms of input audio duration. ClientHalfCloseTimeOffset *durationpb.Duration `` /* 143-byte string literal not displayed */ // Client half close time in terms of API streaming duration. ClientHalfCloseStreamingTimeOffset *durationpb.Duration `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
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
deprecated
added in
v1.33.0
func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudConversationDebuggingInfo.ProtoReflect.Descriptor instead.
func (*CloudConversationDebuggingInfo) GetAudioDataChunks ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32
func (*CloudConversationDebuggingInfo) GetBargeinEventTriggered ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool
func (*CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetEndpointingTimeout ¶ added in v1.43.0
func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetFirstAudioDuration ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetIsInputText ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetIsInputText() bool
func (*CloudConversationDebuggingInfo) GetNoSpeechTimeout ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetPartialResponses ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32
func (*CloudConversationDebuggingInfo) GetResultEndTimeOffset ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSingleUtterance ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool
func (*CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32
func (*CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechSingleUtterance ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool
func (*CloudConversationDebuggingInfo) ProtoMessage ¶ added in v1.33.0
func (*CloudConversationDebuggingInfo) ProtoMessage()
func (*CloudConversationDebuggingInfo) ProtoReflect ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Message
func (*CloudConversationDebuggingInfo) Reset ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) Reset()
func (*CloudConversationDebuggingInfo) String ¶ added in v1.33.0
func (x *CloudConversationDebuggingInfo) String() string
type 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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. BaseVersion string `protobuf:"bytes,1,opt,name=base_version,json=baseVersion,proto3" json:"base_version,omitempty"` // Required. Name of the target flow version to compare with the // base version. Use version ID `0` to indicate the draft version of the // specified flow. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. TargetVersion string `protobuf:"bytes,2,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"` // The language to compare the flow versions for. // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language) are // supported. Note: languages must be enabled in the agent before they can be // used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
func (*CompareVersionsRequest) Descriptor
deprecated
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
type CompareVersionsResponse ¶
type CompareVersionsResponse struct { // JSON representation of the base version content. BaseVersionContentJson string `` /* 131-byte string literal not displayed */ // JSON representation of the target version content. TargetVersionContentJson string `` /* 137-byte string literal not displayed */ // The timestamp when the two version compares. CompareTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"` // contains filtered or unexported fields }
The response message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
func (*CompareVersionsResponse) Descriptor
deprecated
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
type ContinuousTestResult ¶
type ContinuousTestResult struct { // The resource name for the continuous test result. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/continuousTestResults/<ContinuousTestResultID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The result of this continuous test run, i.e. whether all the tests in this // continuous test run pass or not. Result ContinuousTestResult_AggregatedTestResult `` /* 143-byte string literal not displayed */ // A list of individual test case results names in this continuous test run. TestCaseResults []string `protobuf:"bytes,3,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"` // Time when the continuous testing run starts. RunTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` // contains filtered or unexported fields }
Represents a result from running a test case in an agent environment.
func (*ContinuousTestResult) Descriptor
deprecated
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
type ContinuousTestResult_AggregatedTestResult ¶
type ContinuousTestResult_AggregatedTestResult int32
The overall result for a continuous test run in an agent environment.
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) EnumDescriptor
deprecated
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
type 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
deprecated
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
type ConversationTurn_UserInput ¶
type ConversationTurn_UserInput struct { // Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text], // [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf // input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case. Input *QueryInput `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` // Parameters that need to be injected into the conversation during intent // detection. InjectedParameters *structpb.Struct `protobuf:"bytes,2,opt,name=injected_parameters,json=injectedParameters,proto3" json:"injected_parameters,omitempty"` // If webhooks should be allowed to trigger in response to the user // utterance. Often if parameters are injected, webhooks should not be // enabled. IsWebhookEnabled bool `protobuf:"varint,3,opt,name=is_webhook_enabled,json=isWebhookEnabled,proto3" json:"is_webhook_enabled,omitempty"` // Whether sentiment analysis is enabled. EnableSentimentAnalysis bool `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
The input from the human user.
func (*ConversationTurn_UserInput) Descriptor
deprecated
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
type 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.v3.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.v3.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.v3.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
deprecated
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
type CreateAgentRequest ¶
type CreateAgentRequest struct { // Required. The location to create a agent for. // Format: `projects/<ProjectID>/locations/<LocationID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The agent to create. Agent *Agent `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent].
func (*CreateAgentRequest) Descriptor
deprecated
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
type CreateEntityTypeRequest ¶
type CreateEntityTypeRequest struct { // Required. The agent to create a entity type for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entity type to create. EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // The language of the following fields in `entity_type`: // // * `EntityType.entities.value` // * `EntityType.entities.synonyms` // * `EntityType.excluded_phrases.value` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType].
func (*CreateEntityTypeRequest) Descriptor
deprecated
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
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct { // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an // [Environment][google.cloud.dialogflow.cx.v3.Environment] for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The environment to create. Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment].
func (*CreateEnvironmentRequest) Descriptor
deprecated
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
type CreateExperimentRequest ¶
type CreateExperimentRequest struct { // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an // [Environment][google.cloud.dialogflow.cx.v3.Environment] for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The experiment to create. Experiment *Experiment `protobuf:"bytes,2,opt,name=experiment,proto3" json:"experiment,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.CreateExperiment][google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment].
func (*CreateExperimentRequest) Descriptor
deprecated
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
type CreateFlowRequest ¶
type CreateFlowRequest struct { // Required. The agent to create a flow for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The flow to create. Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` // The language of the following fields in `flow`: // // * `Flow.event_handlers.trigger_fulfillment.messages` // * `Flow.event_handlers.trigger_fulfillment.conditional_cases` // * `Flow.transition_routes.trigger_fulfillment.messages` // * `Flow.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow].
func (*CreateFlowRequest) Descriptor
deprecated
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
type CreateGeneratorRequest ¶ added in v1.47.0
type CreateGeneratorRequest struct { // Required. The agent to create a generator for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The generator to create. Generator *Generator `protobuf:"bytes,2,opt,name=generator,proto3" json:"generator,omitempty"` // The language to create generators for the following fields: // * `Generator.prompt_text.text` // If not specified, the agent's default language is used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Generators.CreateGenerator][google.cloud.dialogflow.cx.v3.Generators.CreateGenerator].
func (*CreateGeneratorRequest) Descriptor
deprecated
added in
v1.47.0
func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*CreateGeneratorRequest) GetGenerator ¶ added in v1.47.0
func (x *CreateGeneratorRequest) GetGenerator() *Generator
func (*CreateGeneratorRequest) GetLanguageCode ¶ added in v1.47.0
func (x *CreateGeneratorRequest) GetLanguageCode() string
func (*CreateGeneratorRequest) GetParent ¶ added in v1.47.0
func (x *CreateGeneratorRequest) GetParent() string
func (*CreateGeneratorRequest) ProtoMessage ¶ added in v1.47.0
func (*CreateGeneratorRequest) ProtoMessage()
func (*CreateGeneratorRequest) ProtoReflect ¶ added in v1.47.0
func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Message
func (*CreateGeneratorRequest) Reset ¶ added in v1.47.0
func (x *CreateGeneratorRequest) Reset()
func (*CreateGeneratorRequest) String ¶ added in v1.47.0
func (x *CreateGeneratorRequest) String() string
type CreateIntentRequest ¶
type CreateIntentRequest struct { // Required. The agent to create an intent for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The intent to create. Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` // The language of the following fields in `intent`: // // * `Intent.training_phrases.parts.text` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent].
func (*CreateIntentRequest) Descriptor
deprecated
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
type CreatePageRequest ¶
type CreatePageRequest struct { // Required. The flow to create a page for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The page to create. Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // The language of the following fields in `page`: // // * `Page.entry_fulfillment.messages` // * `Page.entry_fulfillment.conditional_cases` // * `Page.event_handlers.trigger_fulfillment.messages` // * `Page.event_handlers.trigger_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` // * // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` // * // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` // * `Page.transition_routes.trigger_fulfillment.messages` // * `Page.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage].
func (*CreatePageRequest) Descriptor
deprecated
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
type CreateSecuritySettingsRequest ¶
type CreateSecuritySettingsRequest struct { // Required. The location to create an // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for. // Format: `projects/<ProjectID>/locations/<LocationID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The security settings to create. SecuritySettings *SecuritySettings `protobuf:"bytes,2,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // contains filtered or unexported fields }
The request message for [SecuritySettings.CreateSecuritySettings][].
func (*CreateSecuritySettingsRequest) Descriptor
deprecated
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
type CreateSessionEntityTypeRequest ¶
type CreateSessionEntityTypeRequest struct { // Required. The session to create a session entity type for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The session entity type to create. SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType].
func (*CreateSessionEntityTypeRequest) Descriptor
deprecated
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
type CreateTestCaseRequest ¶
type CreateTestCaseRequest struct { // Required. The agent to create the test case for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The test case to create. TestCase *TestCase `protobuf:"bytes,2,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase].
func (*CreateTestCaseRequest) Descriptor
deprecated
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
type CreateTransitionRouteGroupRequest ¶
type CreateTransitionRouteGroupRequest struct { // Required. The flow to create an // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>` // or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>` // for agent-level groups. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The transition route group to create. TransitionRouteGroup *TransitionRouteGroup `protobuf:"bytes,2,opt,name=transition_route_group,json=transitionRouteGroup,proto3" json:"transition_route_group,omitempty"` // The language of the following fields in `TransitionRouteGroup`: // // * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` // * // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup].
func (*CreateTransitionRouteGroupRequest) Descriptor
deprecated
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
type CreateVersionOperationMetadata ¶
type CreateVersionOperationMetadata struct { // Name of the created version. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Metadata associated with the long running operation for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
func (*CreateVersionOperationMetadata) Descriptor
deprecated
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
type CreateVersionRequest ¶
type CreateVersionRequest struct { // Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to create an // [Version][google.cloud.dialogflow.cx.v3.Version] for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The version to create. Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
func (*CreateVersionRequest) Descriptor
deprecated
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
type CreateWebhookRequest ¶
type CreateWebhookRequest struct { // Required. The agent to create a webhook for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The webhook to create. Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"` // contains filtered or unexported fields }
The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook].
func (*CreateWebhookRequest) Descriptor
deprecated
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
type DataStoreConnection ¶ added in v1.43.0
type DataStoreConnection struct { // The type of the connected data store. DataStoreType DataStoreType `` /* 152-byte string literal not displayed */ // The full name of the referenced data store. // Formats: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` // `projects/{project}/locations/{location}/dataStores/{data_store}` DataStore string `protobuf:"bytes,2,opt,name=data_store,json=dataStore,proto3" json:"data_store,omitempty"` // contains filtered or unexported fields }
A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
func (*DataStoreConnection) Descriptor
deprecated
added in
v1.43.0
func (*DataStoreConnection) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnection.ProtoReflect.Descriptor instead.
func (*DataStoreConnection) GetDataStore ¶ added in v1.43.0
func (x *DataStoreConnection) GetDataStore() string
func (*DataStoreConnection) GetDataStoreType ¶ added in v1.43.0
func (x *DataStoreConnection) GetDataStoreType() DataStoreType
func (*DataStoreConnection) ProtoMessage ¶ added in v1.43.0
func (*DataStoreConnection) ProtoMessage()
func (*DataStoreConnection) ProtoReflect ¶ added in v1.43.0
func (x *DataStoreConnection) ProtoReflect() protoreflect.Message
func (*DataStoreConnection) Reset ¶ added in v1.43.0
func (x *DataStoreConnection) Reset()
func (*DataStoreConnection) String ¶ added in v1.43.0
func (x *DataStoreConnection) String() string
type DataStoreConnectionSignals ¶ added in v1.55.0
type DataStoreConnectionSignals struct { // Optional. Diagnostic info related to the rewriter model call. RewriterModelCallSignals *DataStoreConnectionSignals_RewriterModelCallSignals `` /* 137-byte string literal not displayed */ // Optional. Rewritten string query used for search. RewrittenQuery string `protobuf:"bytes,2,opt,name=rewritten_query,json=rewrittenQuery,proto3" json:"rewritten_query,omitempty"` // Optional. Search snippets included in the answer generation prompt. SearchSnippets []*DataStoreConnectionSignals_SearchSnippet `protobuf:"bytes,3,rep,name=search_snippets,json=searchSnippets,proto3" json:"search_snippets,omitempty"` // Optional. Diagnostic info related to the answer generation model call. AnswerGenerationModelCallSignals *DataStoreConnectionSignals_AnswerGenerationModelCallSignals `` /* 163-byte string literal not displayed */ // Optional. The final compiled answer. Answer string `protobuf:"bytes,5,opt,name=answer,proto3" json:"answer,omitempty"` // Optional. Answer parts with relevant citations. // Concatenation of texts should add up the `answer` (not counting // whitespaces). AnswerParts []*DataStoreConnectionSignals_AnswerPart `protobuf:"bytes,6,rep,name=answer_parts,json=answerParts,proto3" json:"answer_parts,omitempty"` // Optional. Snippets cited by the answer generation model from the most to // least relevant. CitedSnippets []*DataStoreConnectionSignals_CitedSnippet `protobuf:"bytes,7,rep,name=cited_snippets,json=citedSnippets,proto3" json:"cited_snippets,omitempty"` // Optional. Grounding signals. GroundingSignals *DataStoreConnectionSignals_GroundingSignals `protobuf:"bytes,8,opt,name=grounding_signals,json=groundingSignals,proto3" json:"grounding_signals,omitempty"` // Optional. Safety check result. SafetySignals *DataStoreConnectionSignals_SafetySignals `protobuf:"bytes,9,opt,name=safety_signals,json=safetySignals,proto3" json:"safety_signals,omitempty"` // contains filtered or unexported fields }
Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ...
func (*DataStoreConnectionSignals) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals) GetAnswer ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetAnswer() string
func (*DataStoreConnectionSignals) GetAnswerGenerationModelCallSignals ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetAnswerGenerationModelCallSignals() *DataStoreConnectionSignals_AnswerGenerationModelCallSignals
func (*DataStoreConnectionSignals) GetAnswerParts ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetAnswerParts() []*DataStoreConnectionSignals_AnswerPart
func (*DataStoreConnectionSignals) GetCitedSnippets ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetCitedSnippets() []*DataStoreConnectionSignals_CitedSnippet
func (*DataStoreConnectionSignals) GetGroundingSignals ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetGroundingSignals() *DataStoreConnectionSignals_GroundingSignals
func (*DataStoreConnectionSignals) GetRewriterModelCallSignals ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetRewriterModelCallSignals() *DataStoreConnectionSignals_RewriterModelCallSignals
func (*DataStoreConnectionSignals) GetRewrittenQuery ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetRewrittenQuery() string
func (*DataStoreConnectionSignals) GetSafetySignals ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetSafetySignals() *DataStoreConnectionSignals_SafetySignals
func (*DataStoreConnectionSignals) GetSearchSnippets ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) GetSearchSnippets() []*DataStoreConnectionSignals_SearchSnippet
func (*DataStoreConnectionSignals) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals) ProtoMessage()
func (*DataStoreConnectionSignals) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) Reset()
func (*DataStoreConnectionSignals) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals) String() string
type DataStoreConnectionSignals_AnswerGenerationModelCallSignals ¶ added in v1.55.0
type DataStoreConnectionSignals_AnswerGenerationModelCallSignals struct { // Prompt as sent to the model. RenderedPrompt string `protobuf:"bytes,1,opt,name=rendered_prompt,json=renderedPrompt,proto3" json:"rendered_prompt,omitempty"` // Output of the generative model. ModelOutput string `protobuf:"bytes,2,opt,name=model_output,json=modelOutput,proto3" json:"model_output,omitempty"` // Name of the generative model. For example, "gemini-ultra", "gemini-pro", // "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
Diagnostic info related to the answer generation model call.
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_AnswerGenerationModelCallSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModel ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModel() string
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModelOutput ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModelOutput() string
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetRenderedPrompt ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetRenderedPrompt() string
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoMessage()
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Reset()
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) String() string
type DataStoreConnectionSignals_AnswerPart ¶ added in v1.55.0
type DataStoreConnectionSignals_AnswerPart struct { // Substring of the answer. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Citations for this answer part. Indices of `search_snippets`. SupportingIndices []int32 `protobuf:"varint,2,rep,packed,name=supporting_indices,json=supportingIndices,proto3" json:"supporting_indices,omitempty"` // contains filtered or unexported fields }
Answer part with citation.
func (*DataStoreConnectionSignals_AnswerPart) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_AnswerPart) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_AnswerPart.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_AnswerPart) GetSupportingIndices ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerPart) GetSupportingIndices() []int32
func (*DataStoreConnectionSignals_AnswerPart) GetText ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerPart) GetText() string
func (*DataStoreConnectionSignals_AnswerPart) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_AnswerPart) ProtoMessage()
func (*DataStoreConnectionSignals_AnswerPart) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerPart) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_AnswerPart) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerPart) Reset()
func (*DataStoreConnectionSignals_AnswerPart) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_AnswerPart) String() string
type DataStoreConnectionSignals_CitedSnippet ¶ added in v1.55.0
type DataStoreConnectionSignals_CitedSnippet struct { // Details of the snippet. SearchSnippet *DataStoreConnectionSignals_SearchSnippet `protobuf:"bytes,1,opt,name=search_snippet,json=searchSnippet,proto3" json:"search_snippet,omitempty"` // Index of the snippet in `search_snippets` field. SnippetIndex int32 `protobuf:"varint,2,opt,name=snippet_index,json=snippetIndex,proto3" json:"snippet_index,omitempty"` // contains filtered or unexported fields }
Snippet cited by the answer generation model.
func (*DataStoreConnectionSignals_CitedSnippet) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_CitedSnippet) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_CitedSnippet.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_CitedSnippet) GetSearchSnippet ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_CitedSnippet) GetSearchSnippet() *DataStoreConnectionSignals_SearchSnippet
func (*DataStoreConnectionSignals_CitedSnippet) GetSnippetIndex ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_CitedSnippet) GetSnippetIndex() int32
func (*DataStoreConnectionSignals_CitedSnippet) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_CitedSnippet) ProtoMessage()
func (*DataStoreConnectionSignals_CitedSnippet) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_CitedSnippet) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_CitedSnippet) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_CitedSnippet) Reset()
func (*DataStoreConnectionSignals_CitedSnippet) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_CitedSnippet) String() string
type DataStoreConnectionSignals_GroundingSignals ¶ added in v1.55.0
type DataStoreConnectionSignals_GroundingSignals struct { // Represents the decision of the grounding check. Decision DataStoreConnectionSignals_GroundingSignals_GroundingDecision `` /* 167-byte string literal not displayed */ // Grounding score bucket setting. Score DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
Grounding signals.
func (*DataStoreConnectionSignals_GroundingSignals) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_GroundingSignals) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_GroundingSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_GroundingSignals) GetDecision ¶ added in v1.55.0
func (*DataStoreConnectionSignals_GroundingSignals) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_GroundingSignals) ProtoMessage()
func (*DataStoreConnectionSignals_GroundingSignals) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_GroundingSignals) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_GroundingSignals) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_GroundingSignals) Reset()
func (*DataStoreConnectionSignals_GroundingSignals) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_GroundingSignals) String() string
type DataStoreConnectionSignals_GroundingSignals_GroundingDecision ¶ added in v1.55.0
type DataStoreConnectionSignals_GroundingSignals_GroundingDecision int32
Represents the decision of the grounding check.
const ( // Decision not specified. DataStoreConnectionSignals_GroundingSignals_GROUNDING_DECISION_UNSPECIFIED DataStoreConnectionSignals_GroundingSignals_GroundingDecision = 0 // Grounding have accepted the answer. DataStoreConnectionSignals_GroundingSignals_ACCEPTED_BY_GROUNDING DataStoreConnectionSignals_GroundingSignals_GroundingDecision = 1 // Grounding have rejected the answer. DataStoreConnectionSignals_GroundingSignals_REJECTED_BY_GROUNDING DataStoreConnectionSignals_GroundingSignals_GroundingDecision = 2 )
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Descriptor ¶ added in v1.55.0
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Descriptor() protoreflect.EnumDescriptor
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) EnumDescriptor
deprecated
added in
v1.55.0
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_GroundingSignals_GroundingDecision.Descriptor instead.
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) String ¶ added in v1.55.0
func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) String() string
type DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket ¶ added in v1.55.0
type DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket int32
Grounding score buckets.
const ( // Score not specified. DataStoreConnectionSignals_GroundingSignals_GROUNDING_SCORE_BUCKET_UNSPECIFIED DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 0 // We have very low confidence that the answer is grounded. DataStoreConnectionSignals_GroundingSignals_VERY_LOW DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 1 // We have low confidence that the answer is grounded. DataStoreConnectionSignals_GroundingSignals_LOW DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 3 // We have medium confidence that the answer is grounded. DataStoreConnectionSignals_GroundingSignals_MEDIUM DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 4 // We have high confidence that the answer is grounded. DataStoreConnectionSignals_GroundingSignals_HIGH DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 5 // We have very high confidence that the answer is grounded. DataStoreConnectionSignals_GroundingSignals_VERY_HIGH DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 6 )
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Descriptor ¶ added in v1.55.0
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) EnumDescriptor
deprecated
added in
v1.55.0
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket.Descriptor instead.
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) String ¶ added in v1.55.0
func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) String() string
type DataStoreConnectionSignals_RewriterModelCallSignals ¶ added in v1.55.0
type DataStoreConnectionSignals_RewriterModelCallSignals struct { // Prompt as sent to the model. RenderedPrompt string `protobuf:"bytes,1,opt,name=rendered_prompt,json=renderedPrompt,proto3" json:"rendered_prompt,omitempty"` // Output of the generative model. ModelOutput string `protobuf:"bytes,2,opt,name=model_output,json=modelOutput,proto3" json:"model_output,omitempty"` // Name of the generative model. For example, "gemini-ultra", "gemini-pro", // "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown. Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
Diagnostic info related to the rewriter model call.
func (*DataStoreConnectionSignals_RewriterModelCallSignals) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_RewriterModelCallSignals) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_RewriterModelCallSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_RewriterModelCallSignals) GetModel ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetModel() string
func (*DataStoreConnectionSignals_RewriterModelCallSignals) GetModelOutput ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetModelOutput() string
func (*DataStoreConnectionSignals_RewriterModelCallSignals) GetRenderedPrompt ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetRenderedPrompt() string
func (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoMessage()
func (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_RewriterModelCallSignals) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) Reset()
func (*DataStoreConnectionSignals_RewriterModelCallSignals) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) String() string
type DataStoreConnectionSignals_SafetySignals ¶ added in v1.55.0
type DataStoreConnectionSignals_SafetySignals struct { // Safety decision. Decision DataStoreConnectionSignals_SafetySignals_SafetyDecision `` /* 161-byte string literal not displayed */ // Specifies banned phrase match subject. BannedPhraseMatch DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch `` /* 209-byte string literal not displayed */ // The matched banned phrase if there was a match. MatchedBannedPhrase string `protobuf:"bytes,3,opt,name=matched_banned_phrase,json=matchedBannedPhrase,proto3" json:"matched_banned_phrase,omitempty"` // contains filtered or unexported fields }
Safety check results.
func (*DataStoreConnectionSignals_SafetySignals) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_SafetySignals) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_SafetySignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_SafetySignals) GetBannedPhraseMatch ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SafetySignals) GetBannedPhraseMatch() DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch
func (*DataStoreConnectionSignals_SafetySignals) GetDecision ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SafetySignals) GetDecision() DataStoreConnectionSignals_SafetySignals_SafetyDecision
func (*DataStoreConnectionSignals_SafetySignals) GetMatchedBannedPhrase ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SafetySignals) GetMatchedBannedPhrase() string
func (*DataStoreConnectionSignals_SafetySignals) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_SafetySignals) ProtoMessage()
func (*DataStoreConnectionSignals_SafetySignals) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SafetySignals) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_SafetySignals) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SafetySignals) Reset()
func (*DataStoreConnectionSignals_SafetySignals) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SafetySignals) String() string
type DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch ¶ added in v1.55.0
type DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch int32
Specifies banned phrase match subject.
const ( // No banned phrase check was executed. DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_UNSPECIFIED DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 0 // All banned phrase checks led to no match. DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_NONE DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 1 // A banned phrase matched the query. DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_QUERY DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 2 // A banned phrase matched the response. DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_RESPONSE DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 3 )
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Descriptor ¶ added in v1.55.0
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Descriptor() protoreflect.EnumDescriptor
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) EnumDescriptor
deprecated
added in
v1.55.0
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch.Descriptor instead.
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Number ¶ added in v1.55.0
func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Number() protoreflect.EnumNumber
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) String ¶ added in v1.55.0
func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) String() string
type DataStoreConnectionSignals_SafetySignals_SafetyDecision ¶ added in v1.55.0
type DataStoreConnectionSignals_SafetySignals_SafetyDecision int32
Safety decision. All kinds of check are incorporated into this final decision, including banned phrases check.
const ( // Decision not specified. DataStoreConnectionSignals_SafetySignals_SAFETY_DECISION_UNSPECIFIED DataStoreConnectionSignals_SafetySignals_SafetyDecision = 0 // No manual or automatic safety check fired. DataStoreConnectionSignals_SafetySignals_ACCEPTED_BY_SAFETY_CHECK DataStoreConnectionSignals_SafetySignals_SafetyDecision = 1 // One ore more safety checks fired. DataStoreConnectionSignals_SafetySignals_REJECTED_BY_SAFETY_CHECK DataStoreConnectionSignals_SafetySignals_SafetyDecision = 2 )
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Descriptor ¶ added in v1.55.0
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Descriptor() protoreflect.EnumDescriptor
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) EnumDescriptor
deprecated
added in
v1.55.0
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_SafetySignals_SafetyDecision.Descriptor instead.
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Number ¶ added in v1.55.0
func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) Number() protoreflect.EnumNumber
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) String ¶ added in v1.55.0
func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) String() string
type DataStoreConnectionSignals_SearchSnippet ¶ added in v1.55.0
type DataStoreConnectionSignals_SearchSnippet struct { // Title of the enclosing document. DocumentTitle string `protobuf:"bytes,1,opt,name=document_title,json=documentTitle,proto3" json:"document_title,omitempty"` // Uri for the document. Present if specified for the document. DocumentUri string `protobuf:"bytes,2,opt,name=document_uri,json=documentUri,proto3" json:"document_uri,omitempty"` // Text included in the prompt. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Search snippet details.
func (*DataStoreConnectionSignals_SearchSnippet) Descriptor
deprecated
added in
v1.55.0
func (*DataStoreConnectionSignals_SearchSnippet) Descriptor() ([]byte, []int)
Deprecated: Use DataStoreConnectionSignals_SearchSnippet.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_SearchSnippet) GetDocumentTitle ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SearchSnippet) GetDocumentTitle() string
func (*DataStoreConnectionSignals_SearchSnippet) GetDocumentUri ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SearchSnippet) GetDocumentUri() string
func (*DataStoreConnectionSignals_SearchSnippet) GetText ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SearchSnippet) GetText() string
func (*DataStoreConnectionSignals_SearchSnippet) ProtoMessage ¶ added in v1.55.0
func (*DataStoreConnectionSignals_SearchSnippet) ProtoMessage()
func (*DataStoreConnectionSignals_SearchSnippet) ProtoReflect ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SearchSnippet) ProtoReflect() protoreflect.Message
func (*DataStoreConnectionSignals_SearchSnippet) Reset ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SearchSnippet) Reset()
func (*DataStoreConnectionSignals_SearchSnippet) String ¶ added in v1.55.0
func (x *DataStoreConnectionSignals_SearchSnippet) String() string
type DataStoreType ¶ added in v1.43.0
type DataStoreType int32
Type of a data store. Determines how search is performed in the data store.
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 ¶ added in v1.43.0
func (DataStoreType) Descriptor() protoreflect.EnumDescriptor
func (DataStoreType) Enum ¶ added in v1.43.0
func (x DataStoreType) Enum() *DataStoreType
func (DataStoreType) EnumDescriptor
deprecated
added in
v1.43.0
func (DataStoreType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataStoreType.Descriptor instead.
func (DataStoreType) Number ¶ added in v1.43.0
func (x DataStoreType) Number() protoreflect.EnumNumber
func (DataStoreType) String ¶ added in v1.43.0
func (x DataStoreType) String() string
func (DataStoreType) Type ¶ added in v1.43.0
func (DataStoreType) Type() protoreflect.EnumType
type DeleteAgentRequest ¶
type DeleteAgentRequest struct { // Required. The name of the agent to delete. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3.Agents.DeleteAgent].
func (*DeleteAgentRequest) Descriptor
deprecated
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
type DeleteEntityTypeRequest ¶
type DeleteEntityTypeRequest struct { // Required. The name of the entity type to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field has no effect for entity type not being used. // For entity types that are used by intents or pages: // // - If `force` is set to false, an error will be returned with message // indicating the referencing resources. // - If `force` is set to true, Dialogflow will remove the entity type, as // well as any references to the entity type (i.e. Page // [parameter][google.cloud.dialogflow.cx.v3.Form.Parameter] of the entity // type will be changed to // '@sys.any' and intent // [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] of the // entity type will be removed). Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType].
func (*DeleteEntityTypeRequest) Descriptor
deprecated
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
type DeleteEnvironmentRequest ¶
type DeleteEnvironmentRequest struct { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment].
func (*DeleteEnvironmentRequest) Descriptor
deprecated
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
type DeleteExperimentRequest ¶
type DeleteExperimentRequest struct { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.DeleteExperiment][google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment].
func (*DeleteExperimentRequest) Descriptor
deprecated
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
type DeleteFlowRequest ¶
type DeleteFlowRequest struct { // Required. The name of the flow to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field has no effect for flows with no incoming transitions. // For flows with incoming transitions: // // - If `force` is set to false, an error will be returned with message // indicating the incoming transitions. // - If `force` is set to true, Dialogflow will remove the flow, as well as // any transitions to the flow (i.e. [Target // flow][EventHandler.target_flow] in event handlers or [Target // flow][TransitionRoute.target_flow] in transition routes that point to // this flow will be cleared). Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow].
func (*DeleteFlowRequest) Descriptor
deprecated
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
type DeleteGeneratorRequest ¶ added in v1.47.0
type DeleteGeneratorRequest struct { // Required. The name of the generator to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field has no effect for generators not being used. // For generators that are used by pages/flows/transition route groups: // // - If `force` is set to false, an error will be returned with message // indicating the referenced resources. // - If `force` is set to true, Dialogflow will remove the generator, as well // as any references to the generator (i.e. // [Generator][Fulfillment.generator]) in fulfillments. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request message for [Generators.DeleteGenerator][google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator].
func (*DeleteGeneratorRequest) Descriptor
deprecated
added in
v1.47.0
func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGeneratorRequest.ProtoReflect.Descriptor instead.
func (*DeleteGeneratorRequest) GetForce ¶ added in v1.47.0
func (x *DeleteGeneratorRequest) GetForce() bool
func (*DeleteGeneratorRequest) GetName ¶ added in v1.47.0
func (x *DeleteGeneratorRequest) GetName() string
func (*DeleteGeneratorRequest) ProtoMessage ¶ added in v1.47.0
func (*DeleteGeneratorRequest) ProtoMessage()
func (*DeleteGeneratorRequest) ProtoReflect ¶ added in v1.47.0
func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Message
func (*DeleteGeneratorRequest) Reset ¶ added in v1.47.0
func (x *DeleteGeneratorRequest) Reset()
func (*DeleteGeneratorRequest) String ¶ added in v1.47.0
func (x *DeleteGeneratorRequest) String() string
type DeleteIntentRequest ¶
type DeleteIntentRequest struct { // Required. The name of the intent to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.DeleteIntent][google.cloud.dialogflow.cx.v3.Intents.DeleteIntent].
func (*DeleteIntentRequest) Descriptor
deprecated
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
type DeletePageRequest ¶
type DeletePageRequest struct { // Required. The name of the page to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/Flows/<flowID>/pages/<PageID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field has no effect for pages with no incoming transitions. // For pages with incoming transitions: // // - If `force` is set to false, an error will be returned with message // indicating the incoming transitions. // - If `force` is set to true, Dialogflow will remove the page, as well as // any transitions to the page (i.e. [Target // page][EventHandler.target_page] in event handlers or [Target // page][TransitionRoute.target_page] in transition routes that point to // this page will be cleared). Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3.Pages.DeletePage].
func (*DeletePageRequest) Descriptor
deprecated
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
type DeleteSecuritySettingsRequest ¶
type DeleteSecuritySettingsRequest struct { // Required. The name of the // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to // delete. Format: // `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SecuritySettings.DeleteSecuritySettings][].
func (*DeleteSecuritySettingsRequest) Descriptor
deprecated
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
type DeleteSessionEntityTypeRequest ¶
type DeleteSessionEntityTypeRequest struct { // Required. The name of the session entity type to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. // If `Environment ID` is not specified, // we assume default 'draft' environment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType].
func (*DeleteSessionEntityTypeRequest) Descriptor
deprecated
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
type DeleteTransitionRouteGroupRequest ¶
type DeleteTransitionRouteGroupRequest struct { // Required. The name of the // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // to delete. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field has no effect for transition route group that no page is using. // If the transition route group is referenced by any page: // // - If `force` is set to false, an error will be returned with message // indicating pages that reference the transition route group. // - If `force` is set to true, Dialogflow will remove the transition route // group, as well as any reference to it. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request message for [TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup].
func (*DeleteTransitionRouteGroupRequest) Descriptor
deprecated
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
type DeleteVersionRequest ¶
type DeleteVersionRequest struct { // Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version] // to delete. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.DeleteVersion][google.cloud.dialogflow.cx.v3.Versions.DeleteVersion].
func (*DeleteVersionRequest) Descriptor
deprecated
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
type DeleteWebhookRequest ¶
type DeleteWebhookRequest struct { // Required. The name of the webhook to delete. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field has no effect for webhook not being used. // For webhooks that are used by pages/flows/transition route groups: // // - If `force` is set to false, an error will be returned with message // indicating the referenced resources. // - If `force` is set to true, Dialogflow will remove the webhook, as well // as any references to the webhook (i.e. // [Webhook][google.cloud.dialogflow.cx.v3.Fulfillment.webhook] and // [tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag]in fulfillments that // point to this webhook will be removed). Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook].
func (*DeleteWebhookRequest) Descriptor
deprecated
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
type 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.v3.Environments.DeployFlow] long running operation.
func (*DeployFlowMetadata) Descriptor
deprecated
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
type DeployFlowRequest ¶
type DeployFlowRequest struct { // Required. The environment to deploy the flow to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Environment string `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` // Required. The flow version to deploy. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. FlowVersion string `protobuf:"bytes,2,opt,name=flow_version,json=flowVersion,proto3" json:"flow_version,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow].
func (*DeployFlowRequest) Descriptor
deprecated
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
type 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][google.cloud.dialogflow.cx.v3.Deployment]. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`. Deployment string `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow].
func (*DeployFlowResponse) Descriptor
deprecated
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
type Deployment ¶
type Deployment struct { // The name of the deployment. // Format: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of the flow version for this deployment. // Format: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VerionID>. FlowVersion string `protobuf:"bytes,2,opt,name=flow_version,json=flowVersion,proto3" json:"flow_version,omitempty"` // The current state of the deployment. State Deployment_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.Deployment_State" json:"state,omitempty"` // Result of the deployment. Result *Deployment_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` // Start time of this deployment. StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time of this deployment. EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
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
deprecated
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
type Deployment_Result ¶
type Deployment_Result struct { // Results of test cases running before the deployment. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`. DeploymentTestResults []string `` /* 126-byte string literal not displayed */ // The name of the experiment triggered by this deployment. // Format: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>. Experiment string `protobuf:"bytes,2,opt,name=experiment,proto3" json:"experiment,omitempty"` // contains filtered or unexported fields }
Result of the deployment.
func (*Deployment_Result) Descriptor
deprecated
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
type Deployment_State ¶
type Deployment_State int32
The state of the deployment.
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
deprecated
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
type DeploymentsClient ¶
type DeploymentsClient interface { // Returns the list of all deployments in the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error) // Retrieves the specified // [Deployment][google.cloud.dialogflow.cx.v3.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
type DeploymentsServer ¶
type DeploymentsServer interface { // Returns the list of all deployments in the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error) // Retrieves the specified // [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error) }
DeploymentsServer is the server API for Deployments service.
type DetectIntentRequest ¶
type DetectIntentRequest struct { // Required. The name of the session this query is sent to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<Session // ID>` or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. // It's up to the API caller to choose an appropriate `Session ID`. It can be // a random number or some type of session identifiers (preferably hashed). // The length of the `Session ID` must not exceed 36 characters. // // For more information, see the [sessions // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // The parameters of this query. QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Required. The input specification. QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` // Instructs the speech synthesizer how to generate the output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // contains filtered or unexported fields }
The request to detect user's intent.
func (*DetectIntentRequest) Descriptor
deprecated
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
type DetectIntentResponse ¶
type DetectIntentResponse struct { // Output only. The unique identifier of the response. It can be used to // locate a response in the training example set or for reporting issues. ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` // The result of the conversational query. QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // The audio data bytes encoded as specified in the request. // Note: The output audio is generated based on the values of default platform // text responses found in the // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] // field. If multiple default text responses exist, they will be concatenated // when generating audio. If no default platform text responses exist, the // generated audio content will be empty. // // In some scenarios, multiple output audio fields may be present in the // response structure. In these cases, only the top-most-level audio output // has content. OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // Response type. ResponseType DetectIntentResponse_ResponseType `` /* 167-byte string literal not displayed */ // Indicates whether the partial response can be cancelled when a later // response arrives. e.g. if the agent specified some music as partial // response, it can be cancelled. AllowCancellation bool `protobuf:"varint,7,opt,name=allow_cancellation,json=allowCancellation,proto3" json:"allow_cancellation,omitempty"` // contains filtered or unexported fields }
The message returned from the DetectIntent method.
func (*DetectIntentResponse) Descriptor
deprecated
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
type DetectIntentResponse_ResponseType ¶
type DetectIntentResponse_ResponseType int32
Represents different DetectIntentResponse types.
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
deprecated
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
type 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
func (*DtmfInput) GetFinishDigit ¶
func (*DtmfInput) ProtoMessage ¶
func (*DtmfInput) ProtoMessage()
func (*DtmfInput) ProtoReflect ¶
func (x *DtmfInput) ProtoReflect() protoreflect.Message
type EntityType ¶
type EntityType struct { // The unique identifier of the entity type. // Required for // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType]. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the entity type, unique within the // agent. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. Indicates the kind of entity type. Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.cx.v3.EntityType_Kind" json:"kind,omitempty"` // Indicates whether the entity type can be automatically expanded. AutoExpansionMode EntityType_AutoExpansionMode `` /* 179-byte string literal not displayed */ // The collection of entity entries associated with the entity type. Entities []*EntityType_Entity `protobuf:"bytes,5,rep,name=entities,proto3" json:"entities,omitempty"` // Collection of exceptional words and phrases that shouldn't be matched. // For example, if you have a size entity type with entry `giant`(an // adjective), you might consider adding `giants`(a noun) as an exclusion. // If the kind of entity type is `KIND_MAP`, then the phrases specified by // entities and excluded phrases should be mutually exclusive. ExcludedPhrases []*EntityType_ExcludedPhrase `protobuf:"bytes,6,rep,name=excluded_phrases,json=excludedPhrases,proto3" json:"excluded_phrases,omitempty"` // Enables fuzzy entity extraction during classification. EnableFuzzyExtraction bool `` /* 127-byte string literal not displayed */ // Indicates whether parameters of the entity type should be redacted in log. // If redaction is enabled, page parameters and intent parameters referring to // the entity type will be replaced by parameter name when logging. Redact bool `protobuf:"varint,9,opt,name=redact,proto3" json:"redact,omitempty"` // contains filtered or unexported fields }
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, a `pizza.cheese` entity for the different types of cheese on a pizza, a `pizza.topping` entity for different toppings, and so on. A custom entity is represented by the `EntityType` 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.v3.SessionEntityType] type.
For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
func (*EntityType) Descriptor
deprecated
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
type 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).
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
deprecated
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
type 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
deprecated
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
type 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
deprecated
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
type EntityType_Kind ¶
type EntityType_Kind int32
Represents kinds of entities.
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
deprecated
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
type 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. // // 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). 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
type EntityTypesServer ¶
type EntityTypesServer interface { // Retrieves the specified entity type. GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error) // Creates an entity type in 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). 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.
type Environment ¶
type Environment struct { // The name of the environment. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the environment (unique in an agent). // Limit of 64 characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The human-readable description of the environment. The maximum length is // 500 characters. If exceeded, the request is rejected. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // A list of configurations for flow versions. You should include version // configs for all flows that are reachable from [`Start // Flow`][Agent.start_flow] in the agent. Otherwise, an error will be // returned. VersionConfigs []*Environment_VersionConfig `protobuf:"bytes,6,rep,name=version_configs,json=versionConfigs,proto3" json:"version_configs,omitempty"` // Output only. Update time of this environment. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The test cases config for continuous tests of this environment. TestCasesConfig *Environment_TestCasesConfig `protobuf:"bytes,7,opt,name=test_cases_config,json=testCasesConfig,proto3" json:"test_cases_config,omitempty"` // The webhook configuration for this environment. WebhookConfig *Environment_WebhookConfig `protobuf:"bytes,10,opt,name=webhook_config,json=webhookConfig,proto3" json:"webhook_config,omitempty"` // contains filtered or unexported fields }
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
deprecated
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
type Environment_TestCasesConfig ¶
type Environment_TestCasesConfig struct { // A list of test case names to run. They should be under the same agent. // Format of each test case name: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>` TestCases []string `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"` // Whether to run test cases in // [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases] // periodically. Default false. If set to true, run once a day. EnableContinuousRun bool `protobuf:"varint,2,opt,name=enable_continuous_run,json=enableContinuousRun,proto3" json:"enable_continuous_run,omitempty"` // Whether to run test cases in // [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases] // before deploying a flow version to the environment. Default false. EnablePredeploymentRun bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
The configuration for continuous tests.
func (*Environment_TestCasesConfig) Descriptor
deprecated
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
type Environment_VersionConfig ¶
type Environment_VersionConfig struct { // Required. Both flow and playbook versions are supported. // Format for flow version: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. // Format for playbook version: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>/versions/<VersionID>. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Configuration for the version.
func (*Environment_VersionConfig) Descriptor
deprecated
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
type 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.v3.Webhook.generic_web_service] // and // [`service_directory`][google.cloud.dialogflow.cx.v3.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
deprecated
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
type EnvironmentsClient ¶
type EnvironmentsClient interface { // Returns the list of all environments in the specified // [Agent][google.cloud.dialogflow.cx.v3.Agent]. ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) // Retrieves the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error) // Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the // specified [Agent][google.cloud.dialogflow.cx.v3.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.v3.Environment] CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the specified // [Environment][google.cloud.dialogflow.cx.v3.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.v3.Environment] UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes the specified // [Environment][google.cloud.dialogflow.cx.v3.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.v3.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.v3.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.v3.RunContinuousTestMetadata] // - `response`: // [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.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.v3.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.v3.DeployFlowMetadata] // - `response`: // [DeployFlowResponse][google.cloud.dialogflow.cx.v3.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
type EnvironmentsServer ¶
type EnvironmentsServer interface { // Returns the list of all environments in the specified // [Agent][google.cloud.dialogflow.cx.v3.Agent]. ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error) // Retrieves the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error) // Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the // specified [Agent][google.cloud.dialogflow.cx.v3.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.v3.Environment] CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error) // Updates the specified // [Environment][google.cloud.dialogflow.cx.v3.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.v3.Environment] UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error) // Deletes the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error) // Looks up the history of the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error) // Kicks off a continuous test under the specified // [Environment][google.cloud.dialogflow.cx.v3.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.v3.RunContinuousTestMetadata] // - `response`: // [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.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.v3.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.v3.DeployFlowMetadata] // - `response`: // [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse] DeployFlow(context.Context, *DeployFlowRequest) (*longrunningpb.Operation, error) }
EnvironmentsServer is the server API for Environments service.
type 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.v3.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.v3.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.v3.EventHandler.trigger_fulfillment] associated with the event, it will be called. * If there is a [`target_page`][google.cloud.dialogflow.cx.v3.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.v3.EventHandler.target_flow] associated with the event, the session will transition into the specified flow.
func (*EventHandler) Descriptor
deprecated
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
type EventHandler_TargetFlow ¶
type EventHandler_TargetFlow struct { // The target flow to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. TargetFlow string `protobuf:"bytes,3,opt,name=target_flow,json=targetFlow,proto3,oneof"` }
type EventHandler_TargetPage ¶
type EventHandler_TargetPage struct { // The target page to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. TargetPage string `protobuf:"bytes,2,opt,name=target_page,json=targetPage,proto3,oneof"` }
type 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
deprecated
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
type Experiment ¶
type Experiment struct { // The name of the experiment. // Format: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the experiment (unique in an // environment). Limit of 64 characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The human-readable description of the experiment. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // The current state of the experiment. // Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. // Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or // RUNNING->DONE. State Experiment_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.Experiment_State" json:"state,omitempty"` // The definition of the experiment. Definition *Experiment_Definition `protobuf:"bytes,5,opt,name=definition,proto3" json:"definition,omitempty"` // The configuration for auto rollout. If set, there should be exactly two // variants in the experiment (control variant being the default version of // the flow), the traffic allocation for the non-control variant will // gradually increase to 100% when conditions are met, and eventually // replace the control variant to become the default version of the flow. RolloutConfig *RolloutConfig `protobuf:"bytes,14,opt,name=rollout_config,json=rolloutConfig,proto3" json:"rollout_config,omitempty"` // State of the auto rollout process. RolloutState *RolloutState `protobuf:"bytes,15,opt,name=rollout_state,json=rolloutState,proto3" json:"rollout_state,omitempty"` // The reason why rollout has failed. Should only be set when state is // ROLLOUT_FAILED. RolloutFailureReason string `protobuf:"bytes,16,opt,name=rollout_failure_reason,json=rolloutFailureReason,proto3" json:"rollout_failure_reason,omitempty"` // Inference result of the experiment. Result *Experiment_Result `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` // Creation time of this experiment. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Start time of this experiment. StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // End time of this experiment. EndTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Last update time of this experiment. LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // Maximum number of days to run the experiment/rollout. If auto-rollout is // not enabled, default value and maximum will be 30 days. If auto-rollout is // enabled, default value and maximum will be 6 days. ExperimentLength *durationpb.Duration `protobuf:"bytes,11,opt,name=experiment_length,json=experimentLength,proto3" json:"experiment_length,omitempty"` // The history of updates to the experiment variants. VariantsHistory []*VariantsHistory `protobuf:"bytes,12,rep,name=variants_history,json=variantsHistory,proto3" json:"variants_history,omitempty"` // contains filtered or unexported fields }
Represents an experiment in an environment.
func (*Experiment) Descriptor
deprecated
func (*Experiment) Descriptor() ([]byte, []int)
Deprecated: Use Experiment.ProtoReflect.Descriptor instead.
func (*Experiment) GetCreateTime ¶
func (x *Experiment) GetCreateTime() *timestamppb.Timestamp
func (*Experiment) GetDefinition ¶
func (x *Experiment) GetDefinition() *Experiment_Definition
func (*Experiment) GetDescription ¶
func (x *Experiment) GetDescription() string
func (*Experiment) GetDisplayName ¶
func (x *Experiment) GetDisplayName() string
func (*Experiment) GetEndTime ¶
func (x *Experiment) GetEndTime() *timestamppb.Timestamp
func (*Experiment) GetExperimentLength ¶
func (x *Experiment) GetExperimentLength() *durationpb.Duration
func (*Experiment) GetLastUpdateTime ¶
func (x *Experiment) GetLastUpdateTime() *timestamppb.Timestamp
func (*Experiment) GetName ¶
func (x *Experiment) GetName() string
func (*Experiment) GetResult ¶
func (x *Experiment) GetResult() *Experiment_Result
func (*Experiment) GetRolloutConfig ¶
func (x *Experiment) GetRolloutConfig() *RolloutConfig
func (*Experiment) GetRolloutFailureReason ¶
func (x *Experiment) GetRolloutFailureReason() string
func (*Experiment) GetRolloutState ¶
func (x *Experiment) GetRolloutState() *RolloutState
func (*Experiment) GetStartTime ¶
func (x *Experiment) GetStartTime() *timestamppb.Timestamp
func (*Experiment) GetState ¶
func (x *Experiment) GetState() Experiment_State
func (*Experiment) GetVariantsHistory ¶
func (x *Experiment) GetVariantsHistory() []*VariantsHistory
func (*Experiment) ProtoMessage ¶
func (*Experiment) ProtoMessage()
func (*Experiment) ProtoReflect ¶
func (x *Experiment) ProtoReflect() protoreflect.Message
func (*Experiment) Reset ¶
func (x *Experiment) Reset()
func (*Experiment) String ¶
func (x *Experiment) String() string
type Experiment_Definition ¶
type Experiment_Definition struct { // The condition defines which subset of sessions are selected for // this experiment. If not specified, all sessions are eligible. E.g. // "query_input.language_code=en" See the [conditions // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` // The variants of the experiment. We currently only support single variant // experiment. // // Types that are assignable to Variants: // // *Experiment_Definition_VersionVariants Variants isExperiment_Definition_Variants `protobuf_oneof:"variants"` // contains filtered or unexported fields }
Definition of the experiment.
func (*Experiment_Definition) Descriptor
deprecated
func (*Experiment_Definition) Descriptor() ([]byte, []int)
Deprecated: Use Experiment_Definition.ProtoReflect.Descriptor instead.
func (*Experiment_Definition) GetCondition ¶
func (x *Experiment_Definition) GetCondition() string
func (*Experiment_Definition) GetVariants ¶
func (m *Experiment_Definition) GetVariants() isExperiment_Definition_Variants
func (*Experiment_Definition) GetVersionVariants ¶
func (x *Experiment_Definition) GetVersionVariants() *VersionVariants
func (*Experiment_Definition) ProtoMessage ¶
func (*Experiment_Definition) ProtoMessage()
func (*Experiment_Definition) ProtoReflect ¶
func (x *Experiment_Definition) ProtoReflect() protoreflect.Message
func (*Experiment_Definition) Reset ¶
func (x *Experiment_Definition) Reset()
func (*Experiment_Definition) String ¶
func (x *Experiment_Definition) String() string
type Experiment_Definition_VersionVariants ¶
type Experiment_Definition_VersionVariants struct { // The flow versions as the variants of this experiment. VersionVariants *VersionVariants `protobuf:"bytes,2,opt,name=version_variants,json=versionVariants,proto3,oneof"` }
type Experiment_Result ¶
type Experiment_Result struct { // Version variants and metrics. VersionMetrics []*Experiment_Result_VersionMetrics `protobuf:"bytes,1,rep,name=version_metrics,json=versionMetrics,proto3" json:"version_metrics,omitempty"` // The last time the experiment's stats data was updated. Will have default // value if stats have never been computed for this experiment. LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // contains filtered or unexported fields }
The inference result which includes an objective metric to optimize and the confidence interval.
func (*Experiment_Result) Descriptor
deprecated
func (*Experiment_Result) Descriptor() ([]byte, []int)
Deprecated: Use Experiment_Result.ProtoReflect.Descriptor instead.
func (*Experiment_Result) GetLastUpdateTime ¶
func (x *Experiment_Result) GetLastUpdateTime() *timestamppb.Timestamp
func (*Experiment_Result) GetVersionMetrics ¶
func (x *Experiment_Result) GetVersionMetrics() []*Experiment_Result_VersionMetrics
func (*Experiment_Result) ProtoMessage ¶
func (*Experiment_Result) ProtoMessage()
func (*Experiment_Result) ProtoReflect ¶
func (x *Experiment_Result) ProtoReflect() protoreflect.Message
func (*Experiment_Result) Reset ¶
func (x *Experiment_Result) Reset()
func (*Experiment_Result) String ¶
func (x *Experiment_Result) String() string
type Experiment_Result_ConfidenceInterval ¶
type Experiment_Result_ConfidenceInterval struct { // The confidence level used to construct the interval, i.e. there is X% // chance that the true value is within this interval. ConfidenceLevel float64 `protobuf:"fixed64,1,opt,name=confidence_level,json=confidenceLevel,proto3" json:"confidence_level,omitempty"` // The percent change between an experiment metric's value and the value // for its control. Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3" json:"ratio,omitempty"` // Lower bound of the interval. LowerBound float64 `protobuf:"fixed64,3,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"` // Upper bound of the interval. UpperBound float64 `protobuf:"fixed64,4,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` // contains filtered or unexported fields }
A confidence interval is a range of possible values for the experiment objective you are trying to measure.
func (*Experiment_Result_ConfidenceInterval) Descriptor
deprecated
func (*Experiment_Result_ConfidenceInterval) Descriptor() ([]byte, []int)
Deprecated: Use Experiment_Result_ConfidenceInterval.ProtoReflect.Descriptor instead.
func (*Experiment_Result_ConfidenceInterval) GetConfidenceLevel ¶
func (x *Experiment_Result_ConfidenceInterval) GetConfidenceLevel() float64
func (*Experiment_Result_ConfidenceInterval) GetLowerBound ¶
func (x *Experiment_Result_ConfidenceInterval) GetLowerBound() float64
func (*Experiment_Result_ConfidenceInterval) GetRatio ¶
func (x *Experiment_Result_ConfidenceInterval) GetRatio() float64
func (*Experiment_Result_ConfidenceInterval) GetUpperBound ¶
func (x *Experiment_Result_ConfidenceInterval) GetUpperBound() float64
func (*Experiment_Result_ConfidenceInterval) ProtoMessage ¶
func (*Experiment_Result_ConfidenceInterval) ProtoMessage()
func (*Experiment_Result_ConfidenceInterval) ProtoReflect ¶
func (x *Experiment_Result_ConfidenceInterval) ProtoReflect() protoreflect.Message
func (*Experiment_Result_ConfidenceInterval) Reset ¶
func (x *Experiment_Result_ConfidenceInterval) Reset()
func (*Experiment_Result_ConfidenceInterval) String ¶
func (x *Experiment_Result_ConfidenceInterval) String() string
type Experiment_Result_CountType ¶
type Experiment_Result_CountType int32
Types of count-based metric for Dialogflow experiment.
const ( // Count type unspecified. Experiment_Result_COUNT_TYPE_UNSPECIFIED Experiment_Result_CountType = 0 // Total number of occurrences of a 'NO_MATCH'. Experiment_Result_TOTAL_NO_MATCH_COUNT Experiment_Result_CountType = 1 // Total number of turn counts. Experiment_Result_TOTAL_TURN_COUNT Experiment_Result_CountType = 2 // Average turn count in a session. Experiment_Result_AVERAGE_TURN_COUNT Experiment_Result_CountType = 3 )
func (Experiment_Result_CountType) Descriptor ¶
func (Experiment_Result_CountType) Descriptor() protoreflect.EnumDescriptor
func (Experiment_Result_CountType) Enum ¶
func (x Experiment_Result_CountType) Enum() *Experiment_Result_CountType
func (Experiment_Result_CountType) EnumDescriptor
deprecated
func (Experiment_Result_CountType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Experiment_Result_CountType.Descriptor instead.
func (Experiment_Result_CountType) Number ¶
func (x Experiment_Result_CountType) Number() protoreflect.EnumNumber
func (Experiment_Result_CountType) String ¶
func (x Experiment_Result_CountType) String() string
func (Experiment_Result_CountType) Type ¶
func (Experiment_Result_CountType) Type() protoreflect.EnumType
type Experiment_Result_Metric ¶
type Experiment_Result_Metric struct { // Ratio-based metric type. Only one of type or count_type is specified in // each Metric. Type Experiment_Result_MetricType `` /* 126-byte string literal not displayed */ // Count-based metric type. Only one of type or count_type is specified in // each Metric. CountType Experiment_Result_CountType `` /* 152-byte string literal not displayed */ // The actual value of the metric. // // Types that are assignable to Value: // // *Experiment_Result_Metric_Ratio // *Experiment_Result_Metric_Count Value isExperiment_Result_Metric_Value `protobuf_oneof:"value"` // The probability that the treatment is better than all other treatments // in the experiment ConfidenceInterval *Experiment_Result_ConfidenceInterval `protobuf:"bytes,3,opt,name=confidence_interval,json=confidenceInterval,proto3" json:"confidence_interval,omitempty"` // contains filtered or unexported fields }
Metric and corresponding confidence intervals.
func (*Experiment_Result_Metric) Descriptor
deprecated
func (*Experiment_Result_Metric) Descriptor() ([]byte, []int)
Deprecated: Use Experiment_Result_Metric.ProtoReflect.Descriptor instead.
func (*Experiment_Result_Metric) GetConfidenceInterval ¶
func (x *Experiment_Result_Metric) GetConfidenceInterval() *Experiment_Result_ConfidenceInterval
func (*Experiment_Result_Metric) GetCount ¶
func (x *Experiment_Result_Metric) GetCount() float64
func (*Experiment_Result_Metric) GetCountType ¶
func (x *Experiment_Result_Metric) GetCountType() Experiment_Result_CountType
func (*Experiment_Result_Metric) GetRatio ¶
func (x *Experiment_Result_Metric) GetRatio() float64
func (*Experiment_Result_Metric) GetType ¶
func (x *Experiment_Result_Metric) GetType() Experiment_Result_MetricType
func (*Experiment_Result_Metric) GetValue ¶
func (m *Experiment_Result_Metric) GetValue() isExperiment_Result_Metric_Value
func (*Experiment_Result_Metric) ProtoMessage ¶
func (*Experiment_Result_Metric) ProtoMessage()
func (*Experiment_Result_Metric) ProtoReflect ¶
func (x *Experiment_Result_Metric) ProtoReflect() protoreflect.Message
func (*Experiment_Result_Metric) Reset ¶
func (x *Experiment_Result_Metric) Reset()
func (*Experiment_Result_Metric) String ¶
func (x *Experiment_Result_Metric) String() string
type Experiment_Result_MetricType ¶
type Experiment_Result_MetricType int32
Types of ratio-based metric for Dialogflow experiment.
const ( // Metric unspecified. Experiment_Result_METRIC_UNSPECIFIED Experiment_Result_MetricType = 0 // Percentage of contained sessions without user calling back in 24 hours. Experiment_Result_CONTAINED_SESSION_NO_CALLBACK_RATE Experiment_Result_MetricType = 1 // Percentage of sessions that were handed to a human agent. Experiment_Result_LIVE_AGENT_HANDOFF_RATE Experiment_Result_MetricType = 2 // Percentage of sessions with the same user calling back. Experiment_Result_CALLBACK_SESSION_RATE Experiment_Result_MetricType = 3 // Percentage of sessions where user hung up. Experiment_Result_ABANDONED_SESSION_RATE Experiment_Result_MetricType = 4 // Percentage of sessions reached Dialogflow 'END_PAGE' or // 'END_SESSION'. Experiment_Result_SESSION_END_RATE Experiment_Result_MetricType = 5 )
func (Experiment_Result_MetricType) Descriptor ¶
func (Experiment_Result_MetricType) Descriptor() protoreflect.EnumDescriptor
func (Experiment_Result_MetricType) Enum ¶
func (x Experiment_Result_MetricType) Enum() *Experiment_Result_MetricType
func (Experiment_Result_MetricType) EnumDescriptor
deprecated
func (Experiment_Result_MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Experiment_Result_MetricType.Descriptor instead.
func (Experiment_Result_MetricType) Number ¶
func (x Experiment_Result_MetricType) Number() protoreflect.EnumNumber
func (Experiment_Result_MetricType) String ¶
func (x Experiment_Result_MetricType) String() string
func (Experiment_Result_MetricType) Type ¶
func (Experiment_Result_MetricType) Type() protoreflect.EnumType
type Experiment_Result_Metric_Count ¶
type Experiment_Result_Metric_Count struct { // Count value of a metric. Count float64 `protobuf:"fixed64,4,opt,name=count,proto3,oneof"` }
type Experiment_Result_Metric_Ratio ¶
type Experiment_Result_Metric_Ratio struct { // Ratio value of a metric. Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3,oneof"` }
type Experiment_Result_VersionMetrics ¶
type Experiment_Result_VersionMetrics struct { // The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version]. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // The metrics and corresponding confidence intervals in the inference // result. Metrics []*Experiment_Result_Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"` // Number of sessions that were allocated to this version. SessionCount int32 `protobuf:"varint,3,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"` // contains filtered or unexported fields }
Version variant and associated metrics.
func (*Experiment_Result_VersionMetrics) Descriptor
deprecated
func (*Experiment_Result_VersionMetrics) Descriptor() ([]byte, []int)
Deprecated: Use Experiment_Result_VersionMetrics.ProtoReflect.Descriptor instead.
func (*Experiment_Result_VersionMetrics) GetMetrics ¶
func (x *Experiment_Result_VersionMetrics) GetMetrics() []*Experiment_Result_Metric
func (*Experiment_Result_VersionMetrics) GetSessionCount ¶
func (x *Experiment_Result_VersionMetrics) GetSessionCount() int32
func (*Experiment_Result_VersionMetrics) GetVersion ¶
func (x *Experiment_Result_VersionMetrics) GetVersion() string
func (*Experiment_Result_VersionMetrics) ProtoMessage ¶
func (*Experiment_Result_VersionMetrics) ProtoMessage()
func (*Experiment_Result_VersionMetrics) ProtoReflect ¶
func (x *Experiment_Result_VersionMetrics) ProtoReflect() protoreflect.Message
func (*Experiment_Result_VersionMetrics) Reset ¶
func (x *Experiment_Result_VersionMetrics) Reset()
func (*Experiment_Result_VersionMetrics) String ¶
func (x *Experiment_Result_VersionMetrics) String() string
type Experiment_State ¶
type Experiment_State int32
The state of the experiment.
const ( // State unspecified. Experiment_STATE_UNSPECIFIED Experiment_State = 0 // The experiment is created but not started yet. Experiment_DRAFT Experiment_State = 1 // The experiment is running. Experiment_RUNNING Experiment_State = 2 // The experiment is done. Experiment_DONE Experiment_State = 3 // The experiment with auto-rollout enabled has failed. Experiment_ROLLOUT_FAILED Experiment_State = 4 )
func (Experiment_State) Descriptor ¶
func (Experiment_State) Descriptor() protoreflect.EnumDescriptor
func (Experiment_State) Enum ¶
func (x Experiment_State) Enum() *Experiment_State
func (Experiment_State) EnumDescriptor
deprecated
func (Experiment_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Experiment_State.Descriptor instead.
func (Experiment_State) Number ¶
func (x Experiment_State) Number() protoreflect.EnumNumber
func (Experiment_State) String ¶
func (x Experiment_State) String() string
func (Experiment_State) Type ¶
func (Experiment_State) Type() protoreflect.EnumType
type ExperimentsClient ¶
type ExperimentsClient interface { // Returns the list of all experiments in the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. ListExperiments(ctx context.Context, in *ListExperimentsRequest, opts ...grpc.CallOption) (*ListExperimentsResponse, error) // Retrieves the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. GetExperiment(ctx context.Context, in *GetExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) // Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the // specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. CreateExperiment(ctx context.Context, in *CreateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) // Updates the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. UpdateExperiment(ctx context.Context, in *UpdateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) // Deletes the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Starts the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only // changes the state of experiment from PENDING to RUNNING. StartExperiment(ctx context.Context, in *StartExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) // Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. // This rpc only changes the state of experiment from RUNNING to DONE. StopExperiment(ctx context.Context, in *StopExperimentRequest, opts ...grpc.CallOption) (*Experiment, error) }
ExperimentsClient is the client API for Experiments service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExperimentsClient ¶
func NewExperimentsClient(cc grpc.ClientConnInterface) ExperimentsClient
type ExperimentsServer ¶
type ExperimentsServer interface { // Returns the list of all experiments in the specified // [Environment][google.cloud.dialogflow.cx.v3.Environment]. ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error) // Retrieves the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error) // Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the // specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error) // Updates the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error) // Deletes the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error) // Starts the specified // [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only // changes the state of experiment from PENDING to RUNNING. StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error) // Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. // This rpc only changes the state of experiment from RUNNING to DONE. StopExperiment(context.Context, *StopExperimentRequest) (*Experiment, error) }
ExperimentsServer is the server API for Experiments service.
type ExportAgentRequest ¶
type ExportAgentRequest struct { // Required. The name of the agent to export. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The [Google Cloud // Storage](https://cloud.google.com/storage/docs/) URI to export the agent // to. The format of this URI must be `gs://<bucket-name>/<object-name>`. If // left unspecified, the serialized agent is returned inline. // // Dialogflow performs a write operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have write permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"` // Optional. The data format of the exported agent. If not specified, `BLOB` // is assumed. DataFormat ExportAgentRequest_DataFormat `` /* 157-byte string literal not displayed */ // Optional. Environment name. If not set, draft environment is assumed. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Environment string `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"` // Optional. The Git branch to export the agent to. GitDestination *ExportAgentRequest_GitDestination `protobuf:"bytes,6,opt,name=git_destination,json=gitDestination,proto3" json:"git_destination,omitempty"` // Optional. Whether to include BigQuery Export setting. IncludeBigqueryExportSettings bool `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
func (*ExportAgentRequest) Descriptor
deprecated
func (*ExportAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead.
func (*ExportAgentRequest) GetAgentUri ¶
func (x *ExportAgentRequest) GetAgentUri() string
func (*ExportAgentRequest) GetDataFormat ¶
func (x *ExportAgentRequest) GetDataFormat() ExportAgentRequest_DataFormat
func (*ExportAgentRequest) GetEnvironment ¶
func (x *ExportAgentRequest) GetEnvironment() string
func (*ExportAgentRequest) GetGitDestination ¶ added in v1.40.0
func (x *ExportAgentRequest) GetGitDestination() *ExportAgentRequest_GitDestination
func (*ExportAgentRequest) GetIncludeBigqueryExportSettings ¶ added in v1.37.0
func (x *ExportAgentRequest) GetIncludeBigqueryExportSettings() bool
func (*ExportAgentRequest) GetName ¶
func (x *ExportAgentRequest) GetName() string
func (*ExportAgentRequest) ProtoMessage ¶
func (*ExportAgentRequest) ProtoMessage()
func (*ExportAgentRequest) ProtoReflect ¶
func (x *ExportAgentRequest) ProtoReflect() protoreflect.Message
func (*ExportAgentRequest) Reset ¶
func (x *ExportAgentRequest) Reset()
func (*ExportAgentRequest) String ¶
func (x *ExportAgentRequest) String() string
type ExportAgentRequest_DataFormat ¶
type ExportAgentRequest_DataFormat int32
Data format of the exported agent.
const ( // Unspecified format. ExportAgentRequest_DATA_FORMAT_UNSPECIFIED ExportAgentRequest_DataFormat = 0 // Agent content will be exported as raw bytes. ExportAgentRequest_BLOB ExportAgentRequest_DataFormat = 1 // Agent content will be exported in JSON Package format. ExportAgentRequest_JSON_PACKAGE ExportAgentRequest_DataFormat = 4 )
func (ExportAgentRequest_DataFormat) Descriptor ¶
func (ExportAgentRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
func (ExportAgentRequest_DataFormat) Enum ¶
func (x ExportAgentRequest_DataFormat) Enum() *ExportAgentRequest_DataFormat
func (ExportAgentRequest_DataFormat) EnumDescriptor
deprecated
func (ExportAgentRequest_DataFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExportAgentRequest_DataFormat.Descriptor instead.
func (ExportAgentRequest_DataFormat) Number ¶
func (x ExportAgentRequest_DataFormat) Number() protoreflect.EnumNumber
func (ExportAgentRequest_DataFormat) String ¶
func (x ExportAgentRequest_DataFormat) String() string
func (ExportAgentRequest_DataFormat) Type ¶
func (ExportAgentRequest_DataFormat) Type() protoreflect.EnumType
type ExportAgentRequest_GitDestination ¶ added in v1.40.0
type ExportAgentRequest_GitDestination struct { // Tracking branch for the git push. TrackingBranch string `protobuf:"bytes,1,opt,name=tracking_branch,json=trackingBranch,proto3" json:"tracking_branch,omitempty"` // Commit message for the git push. CommitMessage string `protobuf:"bytes,2,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` // contains filtered or unexported fields }
Settings for exporting to a git branch.
func (*ExportAgentRequest_GitDestination) Descriptor
deprecated
added in
v1.40.0
func (*ExportAgentRequest_GitDestination) Descriptor() ([]byte, []int)
Deprecated: Use ExportAgentRequest_GitDestination.ProtoReflect.Descriptor instead.
func (*ExportAgentRequest_GitDestination) GetCommitMessage ¶ added in v1.40.0
func (x *ExportAgentRequest_GitDestination) GetCommitMessage() string
func (*ExportAgentRequest_GitDestination) GetTrackingBranch ¶ added in v1.40.0
func (x *ExportAgentRequest_GitDestination) GetTrackingBranch() string
func (*ExportAgentRequest_GitDestination) ProtoMessage ¶ added in v1.40.0
func (*ExportAgentRequest_GitDestination) ProtoMessage()
func (*ExportAgentRequest_GitDestination) ProtoReflect ¶ added in v1.40.0
func (x *ExportAgentRequest_GitDestination) ProtoReflect() protoreflect.Message
func (*ExportAgentRequest_GitDestination) Reset ¶ added in v1.40.0
func (x *ExportAgentRequest_GitDestination) Reset()
func (*ExportAgentRequest_GitDestination) String ¶ added in v1.40.0
func (x *ExportAgentRequest_GitDestination) String() string
type ExportAgentResponse ¶
type ExportAgentResponse struct { // The exported agent. // // Types that are assignable to Agent: // // *ExportAgentResponse_AgentUri // *ExportAgentResponse_AgentContent // *ExportAgentResponse_CommitSha Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
func (*ExportAgentResponse) Descriptor
deprecated
func (*ExportAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.
func (*ExportAgentResponse) GetAgent ¶
func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent
func (*ExportAgentResponse) GetAgentContent ¶
func (x *ExportAgentResponse) GetAgentContent() []byte
func (*ExportAgentResponse) GetAgentUri ¶
func (x *ExportAgentResponse) GetAgentUri() string
func (*ExportAgentResponse) GetCommitSha ¶ added in v1.40.0
func (x *ExportAgentResponse) GetCommitSha() string
func (*ExportAgentResponse) ProtoMessage ¶
func (*ExportAgentResponse) ProtoMessage()
func (*ExportAgentResponse) ProtoReflect ¶
func (x *ExportAgentResponse) ProtoReflect() protoreflect.Message
func (*ExportAgentResponse) Reset ¶
func (x *ExportAgentResponse) Reset()
func (*ExportAgentResponse) String ¶
func (x *ExportAgentResponse) String() string
type ExportAgentResponse_AgentContent ¶
type ExportAgentResponse_AgentContent struct { // Uncompressed raw byte content for agent. This field is populated // if none of `agent_uri` and `git_destination` are specified in // [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"` }
type ExportAgentResponse_AgentUri ¶
type ExportAgentResponse_AgentUri struct { // The URI to a file containing the exported agent. This field is populated // if `agent_uri` is specified in // [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"` }
type ExportAgentResponse_CommitSha ¶ added in v1.40.0
type ExportAgentResponse_CommitSha struct { // Commit SHA of the git push. This field is populated if // `git_destination` is specified in // [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3,oneof"` }
type ExportEntityTypesMetadata ¶ added in v1.49.0
type ExportEntityTypesMetadata struct {
// contains filtered or unexported fields
}
Metadata returned for the [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes] long running operation.
func (*ExportEntityTypesMetadata) Descriptor
deprecated
added in
v1.49.0
func (*ExportEntityTypesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportEntityTypesMetadata.ProtoReflect.Descriptor instead.
func (*ExportEntityTypesMetadata) ProtoMessage ¶ added in v1.49.0
func (*ExportEntityTypesMetadata) ProtoMessage()
func (*ExportEntityTypesMetadata) ProtoReflect ¶ added in v1.49.0
func (x *ExportEntityTypesMetadata) ProtoReflect() protoreflect.Message
func (*ExportEntityTypesMetadata) Reset ¶ added in v1.49.0
func (x *ExportEntityTypesMetadata) Reset()
func (*ExportEntityTypesMetadata) String ¶ added in v1.49.0
func (x *ExportEntityTypesMetadata) String() string
type ExportEntityTypesRequest ¶ added in v1.49.0
type ExportEntityTypesRequest struct { // Required. The name of the parent agent to export entity types. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The name of the entity types to export. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`. EntityTypes []string `protobuf:"bytes,2,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` // The destination to export. // // Types that are assignable to Destination: // // *ExportEntityTypesRequest_EntityTypesUri // *ExportEntityTypesRequest_EntityTypesContentInline Destination isExportEntityTypesRequest_Destination `protobuf_oneof:"destination"` // Optional. The data format of the exported entity types. If not specified, // `BLOB` is assumed. DataFormat ExportEntityTypesRequest_DataFormat `` /* 163-byte string literal not displayed */ // Optional. The language to retrieve the entity type for. The following // fields are language dependent: // // * `EntityType.entities.value` // * `EntityType.entities.synonyms` // * `EntityType.excluded_phrases.value` // // If not specified, all language dependent fields will be retrieved. // [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes].
func (*ExportEntityTypesRequest) Descriptor
deprecated
added in
v1.49.0
func (*ExportEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ExportEntityTypesRequest) GetDataFormat ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) GetDataFormat() ExportEntityTypesRequest_DataFormat
func (*ExportEntityTypesRequest) GetDestination ¶ added in v1.49.0
func (m *ExportEntityTypesRequest) GetDestination() isExportEntityTypesRequest_Destination
func (*ExportEntityTypesRequest) GetEntityTypes ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) GetEntityTypes() []string
func (*ExportEntityTypesRequest) GetEntityTypesContentInline ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) GetEntityTypesContentInline() bool
func (*ExportEntityTypesRequest) GetEntityTypesUri ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) GetEntityTypesUri() string
func (*ExportEntityTypesRequest) GetLanguageCode ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) GetLanguageCode() string
func (*ExportEntityTypesRequest) GetParent ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) GetParent() string
func (*ExportEntityTypesRequest) ProtoMessage ¶ added in v1.49.0
func (*ExportEntityTypesRequest) ProtoMessage()
func (*ExportEntityTypesRequest) ProtoReflect ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*ExportEntityTypesRequest) Reset ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) Reset()
func (*ExportEntityTypesRequest) String ¶ added in v1.49.0
func (x *ExportEntityTypesRequest) String() string
type ExportEntityTypesRequest_DataFormat ¶ added in v1.49.0
type ExportEntityTypesRequest_DataFormat int32
Data format of the exported entity types.
const ( // Unspecified format. Treated as `BLOB`. ExportEntityTypesRequest_DATA_FORMAT_UNSPECIFIED ExportEntityTypesRequest_DataFormat = 0 // EntityTypes will be exported as raw bytes. ExportEntityTypesRequest_BLOB ExportEntityTypesRequest_DataFormat = 1 // EntityTypes will be exported in JSON Package format. ExportEntityTypesRequest_JSON_PACKAGE ExportEntityTypesRequest_DataFormat = 5 )
func (ExportEntityTypesRequest_DataFormat) Descriptor ¶ added in v1.49.0
func (ExportEntityTypesRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
func (ExportEntityTypesRequest_DataFormat) Enum ¶ added in v1.49.0
func (x ExportEntityTypesRequest_DataFormat) Enum() *ExportEntityTypesRequest_DataFormat
func (ExportEntityTypesRequest_DataFormat) EnumDescriptor
deprecated
added in
v1.49.0
func (ExportEntityTypesRequest_DataFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExportEntityTypesRequest_DataFormat.Descriptor instead.
func (ExportEntityTypesRequest_DataFormat) Number ¶ added in v1.49.0
func (x ExportEntityTypesRequest_DataFormat) Number() protoreflect.EnumNumber
func (ExportEntityTypesRequest_DataFormat) String ¶ added in v1.49.0
func (x ExportEntityTypesRequest_DataFormat) String() string
func (ExportEntityTypesRequest_DataFormat) Type ¶ added in v1.49.0
func (ExportEntityTypesRequest_DataFormat) Type() protoreflect.EnumType
type ExportEntityTypesRequest_EntityTypesContentInline ¶ added in v1.49.0
type ExportEntityTypesRequest_EntityTypesContentInline struct { // Optional. The option to return the serialized entity types inline. EntityTypesContentInline bool `protobuf:"varint,4,opt,name=entity_types_content_inline,json=entityTypesContentInline,proto3,oneof"` }
type ExportEntityTypesRequest_EntityTypesUri ¶ added in v1.49.0
type ExportEntityTypesRequest_EntityTypesUri struct { // Optional. The [Google Cloud // Storage](https://cloud.google.com/storage/docs/) URI to export the entity // types to. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a write operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have write permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). EntityTypesUri string `protobuf:"bytes,3,opt,name=entity_types_uri,json=entityTypesUri,proto3,oneof"` }
type ExportEntityTypesResponse ¶ added in v1.49.0
type ExportEntityTypesResponse struct { // Exported entity types can be either in cloud storage or local download. // // Types that are assignable to ExportedEntityTypes: // // *ExportEntityTypesResponse_EntityTypesUri // *ExportEntityTypesResponse_EntityTypesContent ExportedEntityTypes isExportEntityTypesResponse_ExportedEntityTypes `protobuf_oneof:"exported_entity_types"` // contains filtered or unexported fields }
The response message for [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes].
func (*ExportEntityTypesResponse) Descriptor
deprecated
added in
v1.49.0
func (*ExportEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ExportEntityTypesResponse) GetEntityTypesContent ¶ added in v1.49.0
func (x *ExportEntityTypesResponse) GetEntityTypesContent() *InlineDestination
func (*ExportEntityTypesResponse) GetEntityTypesUri ¶ added in v1.49.0
func (x *ExportEntityTypesResponse) GetEntityTypesUri() string
func (*ExportEntityTypesResponse) GetExportedEntityTypes ¶ added in v1.49.0
func (m *ExportEntityTypesResponse) GetExportedEntityTypes() isExportEntityTypesResponse_ExportedEntityTypes
func (*ExportEntityTypesResponse) ProtoMessage ¶ added in v1.49.0
func (*ExportEntityTypesResponse) ProtoMessage()
func (*ExportEntityTypesResponse) ProtoReflect ¶ added in v1.49.0
func (x *ExportEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*ExportEntityTypesResponse) Reset ¶ added in v1.49.0
func (x *ExportEntityTypesResponse) Reset()
func (*ExportEntityTypesResponse) String ¶ added in v1.49.0
func (x *ExportEntityTypesResponse) String() string
type ExportEntityTypesResponse_EntityTypesContent ¶ added in v1.49.0
type ExportEntityTypesResponse_EntityTypesContent struct { // Uncompressed byte content for entity types. This field is populated only // if `entity_types_content_inline` is set to true in // [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest]. EntityTypesContent *InlineDestination `protobuf:"bytes,2,opt,name=entity_types_content,json=entityTypesContent,proto3,oneof"` }
type ExportEntityTypesResponse_EntityTypesUri ¶ added in v1.49.0
type ExportEntityTypesResponse_EntityTypesUri struct { // The URI to a file containing the exported entity types. This field is // populated only if `entity_types_uri` is specified in // [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest]. EntityTypesUri string `protobuf:"bytes,1,opt,name=entity_types_uri,json=entityTypesUri,proto3,oneof"` }
type ExportFlowRequest ¶
type ExportFlowRequest struct { // Required. The name of the flow to export. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The [Google Cloud // Storage](https://cloud.google.com/storage/docs/) URI to export the flow to. // The format of this URI must be `gs://<bucket-name>/<object-name>`. If left // unspecified, the serialized flow is returned inline. // // Dialogflow performs a write operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have write permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). FlowUri string `protobuf:"bytes,2,opt,name=flow_uri,json=flowUri,proto3" json:"flow_uri,omitempty"` // Optional. Whether to export flows referenced by the specified flow. IncludeReferencedFlows bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
func (*ExportFlowRequest) Descriptor
deprecated
func (*ExportFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportFlowRequest.ProtoReflect.Descriptor instead.
func (*ExportFlowRequest) GetFlowUri ¶
func (x *ExportFlowRequest) GetFlowUri() string
func (*ExportFlowRequest) GetIncludeReferencedFlows ¶
func (x *ExportFlowRequest) GetIncludeReferencedFlows() bool
func (*ExportFlowRequest) GetName ¶
func (x *ExportFlowRequest) GetName() string
func (*ExportFlowRequest) ProtoMessage ¶
func (*ExportFlowRequest) ProtoMessage()
func (*ExportFlowRequest) ProtoReflect ¶
func (x *ExportFlowRequest) ProtoReflect() protoreflect.Message
func (*ExportFlowRequest) Reset ¶
func (x *ExportFlowRequest) Reset()
func (*ExportFlowRequest) String ¶
func (x *ExportFlowRequest) String() string
type ExportFlowResponse ¶
type ExportFlowResponse struct { // The exported flow. // // Types that are assignable to Flow: // // *ExportFlowResponse_FlowUri // *ExportFlowResponse_FlowContent Flow isExportFlowResponse_Flow `protobuf_oneof:"flow"` // contains filtered or unexported fields }
The response message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
func (*ExportFlowResponse) Descriptor
deprecated
func (*ExportFlowResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportFlowResponse.ProtoReflect.Descriptor instead.
func (*ExportFlowResponse) GetFlow ¶
func (m *ExportFlowResponse) GetFlow() isExportFlowResponse_Flow
func (*ExportFlowResponse) GetFlowContent ¶
func (x *ExportFlowResponse) GetFlowContent() []byte
func (*ExportFlowResponse) GetFlowUri ¶
func (x *ExportFlowResponse) GetFlowUri() string
func (*ExportFlowResponse) ProtoMessage ¶
func (*ExportFlowResponse) ProtoMessage()
func (*ExportFlowResponse) ProtoReflect ¶
func (x *ExportFlowResponse) ProtoReflect() protoreflect.Message
func (*ExportFlowResponse) Reset ¶
func (x *ExportFlowResponse) Reset()
func (*ExportFlowResponse) String ¶
func (x *ExportFlowResponse) String() string
type ExportFlowResponse_FlowContent ¶
type ExportFlowResponse_FlowContent struct { // Uncompressed raw byte content for flow. FlowContent []byte `protobuf:"bytes,2,opt,name=flow_content,json=flowContent,proto3,oneof"` }
type ExportFlowResponse_FlowUri ¶
type ExportFlowResponse_FlowUri struct { // The URI to a file containing the exported flow. This field is populated // only if `flow_uri` is specified in // [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest]. FlowUri string `protobuf:"bytes,1,opt,name=flow_uri,json=flowUri,proto3,oneof"` }
type ExportIntentsMetadata ¶ added in v1.44.0
type ExportIntentsMetadata struct {
// contains filtered or unexported fields
}
Metadata returned for the [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents] long running operation.
func (*ExportIntentsMetadata) Descriptor
deprecated
added in
v1.44.0
func (*ExportIntentsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportIntentsMetadata.ProtoReflect.Descriptor instead.
func (*ExportIntentsMetadata) ProtoMessage ¶ added in v1.44.0
func (*ExportIntentsMetadata) ProtoMessage()
func (*ExportIntentsMetadata) ProtoReflect ¶ added in v1.44.0
func (x *ExportIntentsMetadata) ProtoReflect() protoreflect.Message
func (*ExportIntentsMetadata) Reset ¶ added in v1.44.0
func (x *ExportIntentsMetadata) Reset()
func (*ExportIntentsMetadata) String ¶ added in v1.44.0
func (x *ExportIntentsMetadata) String() string
type ExportIntentsRequest ¶ added in v1.44.0
type ExportIntentsRequest struct { // Required. The name of the parent agent to export intents. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The name of the intents to export. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Intents []string `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` // The destination to export. // // Types that are assignable to Destination: // // *ExportIntentsRequest_IntentsUri // *ExportIntentsRequest_IntentsContentInline Destination isExportIntentsRequest_Destination `protobuf_oneof:"destination"` // Optional. The data format of the exported intents. If not specified, `BLOB` // is assumed. DataFormat ExportIntentsRequest_DataFormat `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents].
func (*ExportIntentsRequest) Descriptor
deprecated
added in
v1.44.0
func (*ExportIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportIntentsRequest.ProtoReflect.Descriptor instead.
func (*ExportIntentsRequest) GetDataFormat ¶ added in v1.44.0
func (x *ExportIntentsRequest) GetDataFormat() ExportIntentsRequest_DataFormat
func (*ExportIntentsRequest) GetDestination ¶ added in v1.44.0
func (m *ExportIntentsRequest) GetDestination() isExportIntentsRequest_Destination
func (*ExportIntentsRequest) GetIntents ¶ added in v1.44.0
func (x *ExportIntentsRequest) GetIntents() []string
func (*ExportIntentsRequest) GetIntentsContentInline ¶ added in v1.44.0
func (x *ExportIntentsRequest) GetIntentsContentInline() bool
func (*ExportIntentsRequest) GetIntentsUri ¶ added in v1.44.0
func (x *ExportIntentsRequest) GetIntentsUri() string
func (*ExportIntentsRequest) GetParent ¶ added in v1.44.0
func (x *ExportIntentsRequest) GetParent() string
func (*ExportIntentsRequest) ProtoMessage ¶ added in v1.44.0
func (*ExportIntentsRequest) ProtoMessage()
func (*ExportIntentsRequest) ProtoReflect ¶ added in v1.44.0
func (x *ExportIntentsRequest) ProtoReflect() protoreflect.Message
func (*ExportIntentsRequest) Reset ¶ added in v1.44.0
func (x *ExportIntentsRequest) Reset()
func (*ExportIntentsRequest) String ¶ added in v1.44.0
func (x *ExportIntentsRequest) String() string
type ExportIntentsRequest_DataFormat ¶ added in v1.44.0
type ExportIntentsRequest_DataFormat int32
Data format of the exported intents.
const ( // Unspecified format. Treated as `BLOB`. ExportIntentsRequest_DATA_FORMAT_UNSPECIFIED ExportIntentsRequest_DataFormat = 0 // Intents will be exported as raw bytes. ExportIntentsRequest_BLOB ExportIntentsRequest_DataFormat = 1 // Intents will be exported in JSON format. ExportIntentsRequest_JSON ExportIntentsRequest_DataFormat = 2 // Intents will be exported in CSV format. ExportIntentsRequest_CSV ExportIntentsRequest_DataFormat = 3 )
func (ExportIntentsRequest_DataFormat) Descriptor ¶ added in v1.44.0
func (ExportIntentsRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
func (ExportIntentsRequest_DataFormat) Enum ¶ added in v1.44.0
func (x ExportIntentsRequest_DataFormat) Enum() *ExportIntentsRequest_DataFormat
func (ExportIntentsRequest_DataFormat) EnumDescriptor
deprecated
added in
v1.44.0
func (ExportIntentsRequest_DataFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExportIntentsRequest_DataFormat.Descriptor instead.
func (ExportIntentsRequest_DataFormat) Number ¶ added in v1.44.0
func (x ExportIntentsRequest_DataFormat) Number() protoreflect.EnumNumber
func (ExportIntentsRequest_DataFormat) String ¶ added in v1.44.0
func (x ExportIntentsRequest_DataFormat) String() string
func (ExportIntentsRequest_DataFormat) Type ¶ added in v1.44.0
func (ExportIntentsRequest_DataFormat) Type() protoreflect.EnumType
type ExportIntentsRequest_IntentsContentInline ¶ added in v1.44.0
type ExportIntentsRequest_IntentsContentInline struct { // Optional. The option to return the serialized intents inline. IntentsContentInline bool `protobuf:"varint,4,opt,name=intents_content_inline,json=intentsContentInline,proto3,oneof"` }
type ExportIntentsRequest_IntentsUri ¶ added in v1.44.0
type ExportIntentsRequest_IntentsUri struct { // Optional. The [Google Cloud // Storage](https://cloud.google.com/storage/docs/) URI to export the // intents to. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a write operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have write permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). IntentsUri string `protobuf:"bytes,3,opt,name=intents_uri,json=intentsUri,proto3,oneof"` }
type ExportIntentsResponse ¶ added in v1.44.0
type ExportIntentsResponse struct { // The exported intents. // // Types that are assignable to Intents: // // *ExportIntentsResponse_IntentsUri // *ExportIntentsResponse_IntentsContent Intents isExportIntentsResponse_Intents `protobuf_oneof:"intents"` // contains filtered or unexported fields }
The response message for [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents].
func (*ExportIntentsResponse) Descriptor
deprecated
added in
v1.44.0
func (*ExportIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportIntentsResponse.ProtoReflect.Descriptor instead.
func (*ExportIntentsResponse) GetIntents ¶ added in v1.44.0
func (m *ExportIntentsResponse) GetIntents() isExportIntentsResponse_Intents
func (*ExportIntentsResponse) GetIntentsContent ¶ added in v1.44.0
func (x *ExportIntentsResponse) GetIntentsContent() *InlineDestination
func (*ExportIntentsResponse) GetIntentsUri ¶ added in v1.44.0
func (x *ExportIntentsResponse) GetIntentsUri() string
func (*ExportIntentsResponse) ProtoMessage ¶ added in v1.44.0
func (*ExportIntentsResponse) ProtoMessage()
func (*ExportIntentsResponse) ProtoReflect ¶ added in v1.44.0
func (x *ExportIntentsResponse) ProtoReflect() protoreflect.Message
func (*ExportIntentsResponse) Reset ¶ added in v1.44.0
func (x *ExportIntentsResponse) Reset()
func (*ExportIntentsResponse) String ¶ added in v1.44.0
func (x *ExportIntentsResponse) String() string
type ExportIntentsResponse_IntentsContent ¶ added in v1.44.0
type ExportIntentsResponse_IntentsContent struct { // Uncompressed byte content for intents. This field is populated only if // `intents_content_inline` is set to true in // [ExportIntentsRequest][google.cloud.dialogflow.cx.v3.ExportIntentsRequest]. IntentsContent *InlineDestination `protobuf:"bytes,2,opt,name=intents_content,json=intentsContent,proto3,oneof"` }
type ExportIntentsResponse_IntentsUri ¶ added in v1.44.0
type ExportIntentsResponse_IntentsUri struct { // The URI to a file containing the exported intents. This field is // populated only if `intents_uri` is specified in // [ExportIntentsRequest][google.cloud.dialogflow.cx.v3.ExportIntentsRequest]. IntentsUri string `protobuf:"bytes,1,opt,name=intents_uri,json=intentsUri,proto3,oneof"` }
type ExportTestCasesMetadata ¶
type ExportTestCasesMetadata struct {
// contains filtered or unexported fields
}
Metadata returned for the [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases] long running operation. This message currently has no fields.
func (*ExportTestCasesMetadata) Descriptor
deprecated
func (*ExportTestCasesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportTestCasesMetadata.ProtoReflect.Descriptor instead.
func (*ExportTestCasesMetadata) ProtoMessage ¶
func (*ExportTestCasesMetadata) ProtoMessage()
func (*ExportTestCasesMetadata) ProtoReflect ¶
func (x *ExportTestCasesMetadata) ProtoReflect() protoreflect.Message
func (*ExportTestCasesMetadata) Reset ¶
func (x *ExportTestCasesMetadata) Reset()
func (*ExportTestCasesMetadata) String ¶
func (x *ExportTestCasesMetadata) String() string
type ExportTestCasesRequest ¶
type ExportTestCasesRequest struct { // Required. The agent where to export test cases from. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The destination to export. // // Types that are assignable to Destination: // // *ExportTestCasesRequest_GcsUri Destination isExportTestCasesRequest_Destination `protobuf_oneof:"destination"` // The data format of the exported test cases. If not specified, `BLOB` is // assumed. DataFormat ExportTestCasesRequest_DataFormat `` /* 161-byte string literal not displayed */ // The filter expression used to filter exported test cases, see // [API Filtering](https://aip.dev/160). The expression is case insensitive // and supports the following syntax: // // name = <value> [OR name = <value>] ... // // For example: // // - "name = t1 OR name = t2" matches the test case with the exact resource // name "t1" or "t2". Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases].
func (*ExportTestCasesRequest) Descriptor
deprecated
func (*ExportTestCasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportTestCasesRequest.ProtoReflect.Descriptor instead.
func (*ExportTestCasesRequest) GetDataFormat ¶
func (x *ExportTestCasesRequest) GetDataFormat() ExportTestCasesRequest_DataFormat
func (*ExportTestCasesRequest) GetDestination ¶
func (m *ExportTestCasesRequest) GetDestination() isExportTestCasesRequest_Destination
func (*ExportTestCasesRequest) GetFilter ¶
func (x *ExportTestCasesRequest) GetFilter() string
func (*ExportTestCasesRequest) GetGcsUri ¶
func (x *ExportTestCasesRequest) GetGcsUri() string
func (*ExportTestCasesRequest) GetParent ¶
func (x *ExportTestCasesRequest) GetParent() string
func (*ExportTestCasesRequest) ProtoMessage ¶
func (*ExportTestCasesRequest) ProtoMessage()
func (*ExportTestCasesRequest) ProtoReflect ¶
func (x *ExportTestCasesRequest) ProtoReflect() protoreflect.Message
func (*ExportTestCasesRequest) Reset ¶
func (x *ExportTestCasesRequest) Reset()
func (*ExportTestCasesRequest) String ¶
func (x *ExportTestCasesRequest) String() string
type ExportTestCasesRequest_DataFormat ¶
type ExportTestCasesRequest_DataFormat int32
Data format of the exported test cases.
const ( // Unspecified format. ExportTestCasesRequest_DATA_FORMAT_UNSPECIFIED ExportTestCasesRequest_DataFormat = 0 // Raw bytes. ExportTestCasesRequest_BLOB ExportTestCasesRequest_DataFormat = 1 // JSON format. ExportTestCasesRequest_JSON ExportTestCasesRequest_DataFormat = 2 )
func (ExportTestCasesRequest_DataFormat) Descriptor ¶
func (ExportTestCasesRequest_DataFormat) Descriptor() protoreflect.EnumDescriptor
func (ExportTestCasesRequest_DataFormat) Enum ¶
func (x ExportTestCasesRequest_DataFormat) Enum() *ExportTestCasesRequest_DataFormat
func (ExportTestCasesRequest_DataFormat) EnumDescriptor
deprecated
func (ExportTestCasesRequest_DataFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExportTestCasesRequest_DataFormat.Descriptor instead.
func (ExportTestCasesRequest_DataFormat) Number ¶
func (x ExportTestCasesRequest_DataFormat) Number() protoreflect.EnumNumber
func (ExportTestCasesRequest_DataFormat) String ¶
func (x ExportTestCasesRequest_DataFormat) String() string
func (ExportTestCasesRequest_DataFormat) Type ¶
func (ExportTestCasesRequest_DataFormat) Type() protoreflect.EnumType
type ExportTestCasesRequest_GcsUri ¶
type ExportTestCasesRequest_GcsUri struct { // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to // export the test cases to. The format of this URI must be // `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test // cases is returned inline. // // Dialogflow performs a write operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have write permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). GcsUri string `protobuf:"bytes,2,opt,name=gcs_uri,json=gcsUri,proto3,oneof"` }
type ExportTestCasesResponse ¶
type ExportTestCasesResponse struct { // The exported test cases. // // Types that are assignable to Destination: // // *ExportTestCasesResponse_GcsUri // *ExportTestCasesResponse_Content Destination isExportTestCasesResponse_Destination `protobuf_oneof:"destination"` // contains filtered or unexported fields }
The response message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases].
func (*ExportTestCasesResponse) Descriptor
deprecated
func (*ExportTestCasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportTestCasesResponse.ProtoReflect.Descriptor instead.
func (*ExportTestCasesResponse) GetContent ¶
func (x *ExportTestCasesResponse) GetContent() []byte
func (*ExportTestCasesResponse) GetDestination ¶
func (m *ExportTestCasesResponse) GetDestination() isExportTestCasesResponse_Destination
func (*ExportTestCasesResponse) GetGcsUri ¶
func (x *ExportTestCasesResponse) GetGcsUri() string
func (*ExportTestCasesResponse) ProtoMessage ¶
func (*ExportTestCasesResponse) ProtoMessage()
func (*ExportTestCasesResponse) ProtoReflect ¶
func (x *ExportTestCasesResponse) ProtoReflect() protoreflect.Message
func (*ExportTestCasesResponse) Reset ¶
func (x *ExportTestCasesResponse) Reset()
func (*ExportTestCasesResponse) String ¶
func (x *ExportTestCasesResponse) String() string
type ExportTestCasesResponse_Content ¶
type ExportTestCasesResponse_Content struct { // Uncompressed raw byte content for test cases. Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` }
type ExportTestCasesResponse_GcsUri ¶
type ExportTestCasesResponse_GcsUri struct { // The URI to a file containing the exported test cases. This field is // // populated only if `gcs_uri` is specified in // // [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3.ExportTestCasesRequest]. GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3,oneof"` }
type FilterSpecs ¶ added in v1.45.0
type FilterSpecs 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. The filter expression to be applied. // Expression syntax is documented at // https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Filter specifications for data stores.
func (*FilterSpecs) Descriptor
deprecated
added in
v1.45.0
func (*FilterSpecs) Descriptor() ([]byte, []int)
Deprecated: Use FilterSpecs.ProtoReflect.Descriptor instead.
func (*FilterSpecs) GetDataStores ¶ added in v1.45.0
func (x *FilterSpecs) GetDataStores() []string
func (*FilterSpecs) GetFilter ¶ added in v1.45.0
func (x *FilterSpecs) GetFilter() string
func (*FilterSpecs) ProtoMessage ¶ added in v1.45.0
func (*FilterSpecs) ProtoMessage()
func (*FilterSpecs) ProtoReflect ¶ added in v1.45.0
func (x *FilterSpecs) ProtoReflect() protoreflect.Message
func (*FilterSpecs) Reset ¶ added in v1.45.0
func (x *FilterSpecs) Reset()
func (*FilterSpecs) String ¶ added in v1.45.0
func (x *FilterSpecs) String() string
type Flow ¶
type Flow struct { // The unique identifier of the flow. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the flow. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The description of the flow. The maximum length is 500 characters. If // exceeded, the request is rejected. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // A flow's transition routes serve two purposes: // // * They are responsible for matching the user's first utterances in the // flow. // * They are inherited by every page's [transition // routes][Page.transition_routes] and can support use cases such as the user // saying "help" or "can I talk to a human?", which can be handled in a common // way regardless of the current page. Transition routes defined in the page // have higher priority than those defined in the flow. // // TransitionRoutes are evalauted in the following order: // // * TransitionRoutes with intent specified. // * TransitionRoutes with only condition specified. // // TransitionRoutes with intent specified are inherited by pages in the flow. TransitionRoutes []*TransitionRoute `protobuf:"bytes,4,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"` // A flow's event handlers serve two purposes: // // * They are responsible for handling events (e.g. no match, // webhook errors) in the flow. // * They are inherited by every page's [event // handlers][Page.event_handlers], which can be used to handle common events // regardless of the current page. Event handlers defined in the page // have higher priority than those defined in the flow. // // Unlike // [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], // these handlers are evaluated on a first-match basis. The first one that // matches the event get executed, with the rest being ignored. EventHandlers []*EventHandler `protobuf:"bytes,10,rep,name=event_handlers,json=eventHandlers,proto3" json:"event_handlers,omitempty"` // A flow's transition route group serve two purposes: // // * They are responsible for matching the user's first utterances in the // flow. // * They are inherited by every page's [transition // route groups][Page.transition_route_groups]. Transition route groups // defined in the page have higher priority than those defined in the flow. // // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` // for agent-level groups. TransitionRouteGroups []string `` /* 127-byte string literal not displayed */ // NLU related settings of the flow. NluSettings *NluSettings `protobuf:"bytes,11,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"` // Hierarchical advanced settings for this flow. The settings exposed at the // lower level overrides the settings exposed at the higher level. AdvancedSettings *AdvancedSettings `protobuf:"bytes,14,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"` // Optional. Knowledge connector configuration. KnowledgeConnectorSettings *KnowledgeConnectorSettings `` /* 142-byte string literal not displayed */ // Optional. Multi-lingual agent settings for this flow. MultiLanguageSettings *Flow_MultiLanguageSettings `` /* 127-byte string literal not displayed */ // Indicates whether the flow is locked for changes. If the flow is locked, // modifications to the flow will be rejected. Locked bool `protobuf:"varint,30,opt,name=locked,proto3" json:"locked,omitempty"` // contains filtered or unexported fields }
Flows represents the conversation flows when you build your chatbot agent.
A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started.
Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.
func (*Flow) Descriptor
deprecated
func (*Flow) GetAdvancedSettings ¶ added in v1.44.0
func (x *Flow) GetAdvancedSettings() *AdvancedSettings
func (*Flow) GetDescription ¶
func (*Flow) GetDisplayName ¶
func (*Flow) GetEventHandlers ¶
func (x *Flow) GetEventHandlers() []*EventHandler
func (*Flow) GetKnowledgeConnectorSettings ¶ added in v1.43.0
func (x *Flow) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettings
func (*Flow) GetMultiLanguageSettings ¶ added in v1.55.0
func (x *Flow) GetMultiLanguageSettings() *Flow_MultiLanguageSettings
func (*Flow) GetNluSettings ¶
func (x *Flow) GetNluSettings() *NluSettings
func (*Flow) GetTransitionRouteGroups ¶
func (*Flow) GetTransitionRoutes ¶
func (x *Flow) GetTransitionRoutes() []*TransitionRoute
func (*Flow) ProtoMessage ¶
func (*Flow) ProtoMessage()
func (*Flow) ProtoReflect ¶
func (x *Flow) ProtoReflect() protoreflect.Message
type FlowImportStrategy ¶ added in v1.41.0
type FlowImportStrategy struct { // Optional. Import strategy for resource conflict resolution, applied // globally throughout the flow. It will be applied for all display name // conflicts in the imported content. If not specified, 'CREATE_NEW' is // assumed. GlobalImportStrategy ImportStrategy `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
The flow import strategy used for resource conflict resolution associated with an ImportFlowRequest[google.cloud.dialogflow.cx.v3.ImportFlowRequest].
func (*FlowImportStrategy) Descriptor
deprecated
added in
v1.41.0
func (*FlowImportStrategy) Descriptor() ([]byte, []int)
Deprecated: Use FlowImportStrategy.ProtoReflect.Descriptor instead.
func (*FlowImportStrategy) GetGlobalImportStrategy ¶ added in v1.41.0
func (x *FlowImportStrategy) GetGlobalImportStrategy() ImportStrategy
func (*FlowImportStrategy) ProtoMessage ¶ added in v1.41.0
func (*FlowImportStrategy) ProtoMessage()
func (*FlowImportStrategy) ProtoReflect ¶ added in v1.41.0
func (x *FlowImportStrategy) ProtoReflect() protoreflect.Message
func (*FlowImportStrategy) Reset ¶ added in v1.41.0
func (x *FlowImportStrategy) Reset()
func (*FlowImportStrategy) String ¶ added in v1.41.0
func (x *FlowImportStrategy) String() string
type FlowValidationResult ¶
type FlowValidationResult struct { // The unique identifier of the flow validation result. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Contains all validation messages. ValidationMessages []*ValidationMessage `protobuf:"bytes,2,rep,name=validation_messages,json=validationMessages,proto3" json:"validation_messages,omitempty"` // Last time the flow was validated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
The response message for [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
func (*FlowValidationResult) Descriptor
deprecated
func (*FlowValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use FlowValidationResult.ProtoReflect.Descriptor instead.
func (*FlowValidationResult) GetName ¶
func (x *FlowValidationResult) GetName() string
func (*FlowValidationResult) GetUpdateTime ¶
func (x *FlowValidationResult) GetUpdateTime() *timestamppb.Timestamp
func (*FlowValidationResult) GetValidationMessages ¶
func (x *FlowValidationResult) GetValidationMessages() []*ValidationMessage
func (*FlowValidationResult) ProtoMessage ¶
func (*FlowValidationResult) ProtoMessage()
func (*FlowValidationResult) ProtoReflect ¶
func (x *FlowValidationResult) ProtoReflect() protoreflect.Message
func (*FlowValidationResult) Reset ¶
func (x *FlowValidationResult) Reset()
func (*FlowValidationResult) String ¶
func (x *FlowValidationResult) String() string
type Flow_MultiLanguageSettings ¶ added in v1.55.0
type Flow_MultiLanguageSettings struct { // Optional. Enable multi-language detection for this flow. This can be set // only if [agent level multi language // setting][Agent.enable_multi_language_training] is enabled. EnableMultiLanguageDetection bool `` /* 150-byte string literal not displayed */ // Optional. Agent will respond in the detected language if the detected // language code is in the supported resolved languages for this flow. This // will be used only if multi-language training is enabled in the // [agent][google.cloud.dialogflow.cx.v3.Agent.enable_multi_language_training] // and multi-language detection is enabled in the // [flow][google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings.enable_multi_language_detection]. // The supported languages must be a subset of the languages supported by // the agent. SupportedResponseLanguageCodes []string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
Settings for multi-lingual agents.
func (*Flow_MultiLanguageSettings) Descriptor
deprecated
added in
v1.55.0
func (*Flow_MultiLanguageSettings) Descriptor() ([]byte, []int)
Deprecated: Use Flow_MultiLanguageSettings.ProtoReflect.Descriptor instead.
func (*Flow_MultiLanguageSettings) GetEnableMultiLanguageDetection ¶ added in v1.55.0
func (x *Flow_MultiLanguageSettings) GetEnableMultiLanguageDetection() bool
func (*Flow_MultiLanguageSettings) GetSupportedResponseLanguageCodes ¶ added in v1.55.0
func (x *Flow_MultiLanguageSettings) GetSupportedResponseLanguageCodes() []string
func (*Flow_MultiLanguageSettings) ProtoMessage ¶ added in v1.55.0
func (*Flow_MultiLanguageSettings) ProtoMessage()
func (*Flow_MultiLanguageSettings) ProtoReflect ¶ added in v1.55.0
func (x *Flow_MultiLanguageSettings) ProtoReflect() protoreflect.Message
func (*Flow_MultiLanguageSettings) Reset ¶ added in v1.55.0
func (x *Flow_MultiLanguageSettings) Reset()
func (*Flow_MultiLanguageSettings) String ¶ added in v1.55.0
func (x *Flow_MultiLanguageSettings) String() string
type FlowsClient ¶
type FlowsClient interface { // Creates a flow in 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). CreateFlow(ctx context.Context, in *CreateFlowRequest, opts ...grpc.CallOption) (*Flow, error) // Deletes a specified flow. DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Returns the list of all flows in the specified agent. ListFlows(ctx context.Context, in *ListFlowsRequest, opts ...grpc.CallOption) (*ListFlowsResponse, error) // Retrieves the specified flow. GetFlow(ctx context.Context, in *GetFlowRequest, opts ...grpc.CallOption) (*Flow, error) // Updates the specified flow. // // 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). UpdateFlow(ctx context.Context, in *UpdateFlowRequest, opts ...grpc.CallOption) (*Flow, error) // Trains the specified flow. Note that only the flow in 'draft' environment // is trained. // // 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). TrainFlow(ctx context.Context, in *TrainFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Validates the specified flow and creates or updates validation results. // Please call this API after the training is completed to get the complete // validation results. ValidateFlow(ctx context.Context, in *ValidateFlowRequest, opts ...grpc.CallOption) (*FlowValidationResult, error) // Gets the latest flow validation result. Flow validation is performed // when ValidateFlow is called. GetFlowValidationResult(ctx context.Context, in *GetFlowValidationResultRequest, opts ...grpc.CallOption) (*FlowValidationResult, error) // Imports the specified flow to the specified agent from 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`: // // [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse] // // 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). ImportFlow(ctx context.Context, in *ImportFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Exports the specified flow 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`: // // [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse] // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. ExportFlow(ctx context.Context, in *ExportFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
FlowsClient is the client API for Flows service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFlowsClient ¶
func NewFlowsClient(cc grpc.ClientConnInterface) FlowsClient
type FlowsServer ¶
type FlowsServer interface { // Creates a flow in 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). CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error) // Deletes a specified flow. DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error) // Returns the list of all flows in the specified agent. ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error) // Retrieves the specified flow. GetFlow(context.Context, *GetFlowRequest) (*Flow, error) // Updates the specified flow. // // 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). UpdateFlow(context.Context, *UpdateFlowRequest) (*Flow, error) // Trains the specified flow. Note that only the flow in 'draft' environment // is trained. // // 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). TrainFlow(context.Context, *TrainFlowRequest) (*longrunningpb.Operation, error) // Validates the specified flow and creates or updates validation results. // Please call this API after the training is completed to get the complete // validation results. ValidateFlow(context.Context, *ValidateFlowRequest) (*FlowValidationResult, error) // Gets the latest flow validation result. Flow validation is performed // when ValidateFlow is called. GetFlowValidationResult(context.Context, *GetFlowValidationResultRequest) (*FlowValidationResult, error) // Imports the specified flow to the specified agent from 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`: // // [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse] // // 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). ImportFlow(context.Context, *ImportFlowRequest) (*longrunningpb.Operation, error) // Exports the specified flow 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`: // // [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse] // // Note that resources (e.g. intents, entities, webhooks) that the flow // references will also be exported. ExportFlow(context.Context, *ExportFlowRequest) (*longrunningpb.Operation, error) }
FlowsServer is the server API for Flows service.
type Form ¶
type Form struct { // Parameters to collect from the user. Parameters []*Form_Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a [page][google.cloud.dialogflow.cx.v3.Page]. When form filling is done, the filled parameters will be written to the [session][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
func (*Form) Descriptor
deprecated
func (*Form) GetParameters ¶
func (x *Form) GetParameters() []*Form_Parameter
func (*Form) ProtoMessage ¶
func (*Form) ProtoMessage()
func (*Form) ProtoReflect ¶
func (x *Form) ProtoReflect() protoreflect.Message
type Form_Parameter ¶
type Form_Parameter struct { // Required. The human-readable name of the parameter, unique within the // form. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Indicates whether the parameter is required. Optional parameters will not // trigger prompts; however, they are filled if the user specifies them. // Required parameters must be filled before form filling concludes. Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"` // Required. The entity type of the parameter. // Format: // `projects/-/locations/-/agents/-/entityTypes/<SystemEntityTypeID>` for // system entity types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>` // for developer entity types. EntityType string `protobuf:"bytes,3,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // Indicates whether the parameter represents a list of values. IsList bool `protobuf:"varint,4,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` // Required. Defines fill behavior for the parameter. FillBehavior *Form_Parameter_FillBehavior `protobuf:"bytes,7,opt,name=fill_behavior,json=fillBehavior,proto3" json:"fill_behavior,omitempty"` // The default value of an optional parameter. If the parameter is required, // the default value will be ignored. DefaultValue *structpb.Value `protobuf:"bytes,9,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Indicates whether the parameter content should be redacted in log. If // redaction is enabled, the parameter content will be replaced by parameter // name during logging. // Note: the parameter content is subject to redaction if either parameter // level redaction or [entity type level // redaction][google.cloud.dialogflow.cx.v3.EntityType.redact] is enabled. Redact bool `protobuf:"varint,11,opt,name=redact,proto3" json:"redact,omitempty"` // Hierarchical advanced settings for this parameter. The settings exposed // at the lower level overrides the settings exposed at the higher level. AdvancedSettings *AdvancedSettings `protobuf:"bytes,12,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"` // contains filtered or unexported fields }
Represents a form parameter.
func (*Form_Parameter) Descriptor
deprecated
func (*Form_Parameter) Descriptor() ([]byte, []int)
Deprecated: Use Form_Parameter.ProtoReflect.Descriptor instead.
func (*Form_Parameter) GetAdvancedSettings ¶ added in v1.44.0
func (x *Form_Parameter) GetAdvancedSettings() *AdvancedSettings
func (*Form_Parameter) GetDefaultValue ¶
func (x *Form_Parameter) GetDefaultValue() *structpb.Value
func (*Form_Parameter) GetDisplayName ¶
func (x *Form_Parameter) GetDisplayName() string
func (*Form_Parameter) GetEntityType ¶
func (x *Form_Parameter) GetEntityType() string
func (*Form_Parameter) GetFillBehavior ¶
func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehavior
func (*Form_Parameter) GetIsList ¶
func (x *Form_Parameter) GetIsList() bool
func (*Form_Parameter) GetRedact ¶
func (x *Form_Parameter) GetRedact() bool
func (*Form_Parameter) GetRequired ¶
func (x *Form_Parameter) GetRequired() bool
func (*Form_Parameter) ProtoMessage ¶
func (*Form_Parameter) ProtoMessage()
func (*Form_Parameter) ProtoReflect ¶
func (x *Form_Parameter) ProtoReflect() protoreflect.Message
func (*Form_Parameter) Reset ¶
func (x *Form_Parameter) Reset()
func (*Form_Parameter) String ¶
func (x *Form_Parameter) String() string
type Form_Parameter_FillBehavior ¶
type Form_Parameter_FillBehavior struct { // Required. The fulfillment to provide the initial prompt that the agent // can present to the user in order to fill the parameter. InitialPromptFulfillment *Fulfillment `` /* 135-byte string literal not displayed */ // The handlers for parameter-level events, used to provide reprompt for // the parameter or transition to a different page/flow. The supported // events are: // * `sys.no-match-<N>`, where N can be from 1 to 6 // * `sys.no-match-default` // * `sys.no-input-<N>`, where N can be from 1 to 6 // * `sys.no-input-default` // * `sys.invalid-parameter` // // `initial_prompt_fulfillment` provides the first prompt for the // parameter. // // If the user's response does not fill the parameter, a // no-match/no-input event will be triggered, and the fulfillment // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if // defined) will be called to provide a prompt. The // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to // the next no-match/no-input event, and so on. // // A `sys.no-match-default` or `sys.no-input-default` handler will be used // to handle all following no-match/no-input events after all numbered // no-match/no-input handlers for the parameter are consumed. // // A `sys.invalid-parameter` handler can be defined to handle the case // where the parameter values have been `invalidated` by webhook. For // example, if the user's response fill the parameter, however the // parameter was invalidated by webhook, the fulfillment associated with // the `sys.invalid-parameter` handler (if defined) will be called to // provide a prompt. // // If the event handler for the corresponding event can't be found on the // parameter, `initial_prompt_fulfillment` will be re-prompted. RepromptEventHandlers []*EventHandler `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for how the filling of a parameter should be handled.
func (*Form_Parameter_FillBehavior) Descriptor
deprecated
func (*Form_Parameter_FillBehavior) Descriptor() ([]byte, []int)
Deprecated: Use Form_Parameter_FillBehavior.ProtoReflect.Descriptor instead.
func (*Form_Parameter_FillBehavior) GetInitialPromptFulfillment ¶
func (x *Form_Parameter_FillBehavior) GetInitialPromptFulfillment() *Fulfillment
func (*Form_Parameter_FillBehavior) GetRepromptEventHandlers ¶
func (x *Form_Parameter_FillBehavior) GetRepromptEventHandlers() []*EventHandler
func (*Form_Parameter_FillBehavior) ProtoMessage ¶
func (*Form_Parameter_FillBehavior) ProtoMessage()
func (*Form_Parameter_FillBehavior) ProtoReflect ¶
func (x *Form_Parameter_FillBehavior) ProtoReflect() protoreflect.Message
func (*Form_Parameter_FillBehavior) Reset ¶
func (x *Form_Parameter_FillBehavior) Reset()
func (*Form_Parameter_FillBehavior) String ¶
func (x *Form_Parameter_FillBehavior) String() string
type FulfillIntentRequest ¶
type FulfillIntentRequest struct { // Must be same as the corresponding MatchIntent request, otherwise the // behavior is undefined. MatchIntentRequest *MatchIntentRequest `protobuf:"bytes,1,opt,name=match_intent_request,json=matchIntentRequest,proto3" json:"match_intent_request,omitempty"` // The matched intent/event to fulfill. Match *Match `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"` // Instructs the speech synthesizer how to generate output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,3,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // contains filtered or unexported fields }
Request of [FulfillIntent][]
func (*FulfillIntentRequest) Descriptor
deprecated
func (*FulfillIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use FulfillIntentRequest.ProtoReflect.Descriptor instead.
func (*FulfillIntentRequest) GetMatch ¶
func (x *FulfillIntentRequest) GetMatch() *Match
func (*FulfillIntentRequest) GetMatchIntentRequest ¶
func (x *FulfillIntentRequest) GetMatchIntentRequest() *MatchIntentRequest
func (*FulfillIntentRequest) GetOutputAudioConfig ¶
func (x *FulfillIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
func (*FulfillIntentRequest) ProtoMessage ¶
func (*FulfillIntentRequest) ProtoMessage()
func (*FulfillIntentRequest) ProtoReflect ¶
func (x *FulfillIntentRequest) ProtoReflect() protoreflect.Message
func (*FulfillIntentRequest) Reset ¶
func (x *FulfillIntentRequest) Reset()
func (*FulfillIntentRequest) String ¶
func (x *FulfillIntentRequest) String() string
type FulfillIntentResponse ¶
type FulfillIntentResponse struct { // Output only. The unique identifier of the response. It can be used to // locate a response in the training example set or for reporting issues. ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` // The result of the conversational query. QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // The audio data bytes encoded as specified in the request. // Note: The output audio is generated based on the values of default platform // text responses found in the // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] // field. If multiple default text responses exist, they will be concatenated // when generating audio. If no default platform text responses exist, the // generated audio content will be empty. // // In some scenarios, multiple output audio fields may be present in the // response structure. In these cases, only the top-most-level audio output // has content. OutputAudio []byte `protobuf:"bytes,3,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // contains filtered or unexported fields }
Response of [FulfillIntent][]
func (*FulfillIntentResponse) Descriptor
deprecated
func (*FulfillIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use FulfillIntentResponse.ProtoReflect.Descriptor instead.
func (*FulfillIntentResponse) GetOutputAudio ¶
func (x *FulfillIntentResponse) GetOutputAudio() []byte
func (*FulfillIntentResponse) GetOutputAudioConfig ¶
func (x *FulfillIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
func (*FulfillIntentResponse) GetQueryResult ¶
func (x *FulfillIntentResponse) GetQueryResult() *QueryResult
func (*FulfillIntentResponse) GetResponseId ¶
func (x *FulfillIntentResponse) GetResponseId() string
func (*FulfillIntentResponse) ProtoMessage ¶
func (*FulfillIntentResponse) ProtoMessage()
func (*FulfillIntentResponse) ProtoReflect ¶
func (x *FulfillIntentResponse) ProtoReflect() protoreflect.Message
func (*FulfillIntentResponse) Reset ¶
func (x *FulfillIntentResponse) Reset()
func (*FulfillIntentResponse) String ¶
func (x *FulfillIntentResponse) String() string
type Fulfillment ¶
type Fulfillment struct { // The list of rich message responses to present to the user. Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // The webhook to call. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`. Webhook string `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"` // Whether Dialogflow should return currently queued fulfillment response // messages in streaming APIs. If a webhook is specified, it happens before // Dialogflow invokes webhook. // Warning: // 1) This flag only affects streaming API. Responses are still queued // and returned once in non-streaming API. // 2) The flag can be enabled in any fulfillment but only the first 3 partial // responses will be returned. You may only want to apply it to fulfillments // that have slow webhooks. ReturnPartialResponses bool `` /* 130-byte string literal not displayed */ // The value of this field will be populated in the // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] // `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is // called. // The tag is typically used by the webhook service to identify which // fulfillment is being called, but it could be used for other purposes. // This field is required if `webhook` is specified. Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // Set parameter values before executing the webhook. SetParameterActions []*Fulfillment_SetParameterAction `protobuf:"bytes,4,rep,name=set_parameter_actions,json=setParameterActions,proto3" json:"set_parameter_actions,omitempty"` // Conditional cases for this fulfillment. ConditionalCases []*Fulfillment_ConditionalCases `protobuf:"bytes,5,rep,name=conditional_cases,json=conditionalCases,proto3" json:"conditional_cases,omitempty"` // Hierarchical advanced settings for this fulfillment. The settings exposed // at the lower level overrides the settings exposed at the higher level. AdvancedSettings *AdvancedSettings `protobuf:"bytes,7,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"` // If the flag is true, the agent will utilize LLM to generate a text // response. If LLM generation fails, the defined // [responses][google.cloud.dialogflow.cx.v3.Fulfillment.messages] in the // fulfillment will be respected. This flag is only useful for fulfillments // associated with no-match event handlers. EnableGenerativeFallback bool `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
A fulfillment can do one or more of the following actions at the same time:
- Generate rich message responses.
- Set parameter values.
- Call the webhook.
Fulfillments can be called at various stages in the Page[google.cloud.dialogflow.cx.v3.Page] or Form[google.cloud.dialogflow.cx.v3.Form] lifecycle. For example, when a DetectIntentRequest[google.cloud.dialogflow.cx.v3.DetectIntentRequest] drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult[google.cloud.dialogflow.cx.v3.QueryResult] in the returning DetectIntentResponse[google.cloud.dialogflow.cx.v3.DetectIntentResponse], call the webhook (for example, to load user data from a database), or both.
func (*Fulfillment) Descriptor
deprecated
func (*Fulfillment) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment.ProtoReflect.Descriptor instead.
func (*Fulfillment) GetAdvancedSettings ¶ added in v1.44.0
func (x *Fulfillment) GetAdvancedSettings() *AdvancedSettings
func (*Fulfillment) GetConditionalCases ¶
func (x *Fulfillment) GetConditionalCases() []*Fulfillment_ConditionalCases
func (*Fulfillment) GetEnableGenerativeFallback ¶ added in v1.44.0
func (x *Fulfillment) GetEnableGenerativeFallback() bool
func (*Fulfillment) GetMessages ¶
func (x *Fulfillment) GetMessages() []*ResponseMessage
func (*Fulfillment) GetReturnPartialResponses ¶
func (x *Fulfillment) GetReturnPartialResponses() bool
func (*Fulfillment) GetSetParameterActions ¶
func (x *Fulfillment) GetSetParameterActions() []*Fulfillment_SetParameterAction
func (*Fulfillment) GetTag ¶
func (x *Fulfillment) GetTag() string
func (*Fulfillment) GetWebhook ¶
func (x *Fulfillment) GetWebhook() string
func (*Fulfillment) ProtoMessage ¶
func (*Fulfillment) ProtoMessage()
func (*Fulfillment) ProtoReflect ¶
func (x *Fulfillment) ProtoReflect() protoreflect.Message
func (*Fulfillment) Reset ¶
func (x *Fulfillment) Reset()
func (*Fulfillment) String ¶
func (x *Fulfillment) String() string
type Fulfillment_ConditionalCases ¶
type Fulfillment_ConditionalCases struct { // A list of cascading if-else conditions. Cases []*Fulfillment_ConditionalCases_Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"` // contains filtered or unexported fields }
A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
func (*Fulfillment_ConditionalCases) Descriptor
deprecated
func (*Fulfillment_ConditionalCases) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment_ConditionalCases.ProtoReflect.Descriptor instead.
func (*Fulfillment_ConditionalCases) GetCases ¶
func (x *Fulfillment_ConditionalCases) GetCases() []*Fulfillment_ConditionalCases_Case
func (*Fulfillment_ConditionalCases) ProtoMessage ¶
func (*Fulfillment_ConditionalCases) ProtoMessage()
func (*Fulfillment_ConditionalCases) ProtoReflect ¶
func (x *Fulfillment_ConditionalCases) ProtoReflect() protoreflect.Message
func (*Fulfillment_ConditionalCases) Reset ¶
func (x *Fulfillment_ConditionalCases) Reset()
func (*Fulfillment_ConditionalCases) String ¶
func (x *Fulfillment_ConditionalCases) String() string
type Fulfillment_ConditionalCases_Case ¶
type Fulfillment_ConditionalCases_Case struct { // The condition to activate and select this case. Empty means the // condition is always true. The condition is evaluated against [form // parameters][Form.parameters] or [session // parameters][SessionInfo.parameters]. // // See the [conditions // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` // A list of case content. CaseContent []*Fulfillment_ConditionalCases_Case_CaseContent `protobuf:"bytes,2,rep,name=case_content,json=caseContent,proto3" json:"case_content,omitempty"` // contains filtered or unexported fields }
Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.
func (*Fulfillment_ConditionalCases_Case) Descriptor
deprecated
func (*Fulfillment_ConditionalCases_Case) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment_ConditionalCases_Case.ProtoReflect.Descriptor instead.
func (*Fulfillment_ConditionalCases_Case) GetCaseContent ¶
func (x *Fulfillment_ConditionalCases_Case) GetCaseContent() []*Fulfillment_ConditionalCases_Case_CaseContent
func (*Fulfillment_ConditionalCases_Case) GetCondition ¶
func (x *Fulfillment_ConditionalCases_Case) GetCondition() string
func (*Fulfillment_ConditionalCases_Case) ProtoMessage ¶
func (*Fulfillment_ConditionalCases_Case) ProtoMessage()
func (*Fulfillment_ConditionalCases_Case) ProtoReflect ¶
func (x *Fulfillment_ConditionalCases_Case) ProtoReflect() protoreflect.Message
func (*Fulfillment_ConditionalCases_Case) Reset ¶
func (x *Fulfillment_ConditionalCases_Case) Reset()
func (*Fulfillment_ConditionalCases_Case) String ¶
func (x *Fulfillment_ConditionalCases_Case) String() string
type Fulfillment_ConditionalCases_Case_CaseContent ¶
type Fulfillment_ConditionalCases_Case_CaseContent struct { // Either a message is returned or additional cases to be evaluated. // // Types that are assignable to CasesOrMessage: // // *Fulfillment_ConditionalCases_Case_CaseContent_Message // *Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases CasesOrMessage isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage `protobuf_oneof:"cases_or_message"` // contains filtered or unexported fields }
The list of messages or conditional cases to activate for this case.
func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor
deprecated
func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment_ConditionalCases_Case_CaseContent.ProtoReflect.Descriptor instead.
func (*Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases ¶
func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases() *Fulfillment_ConditionalCases
func (*Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage ¶
func (m *Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage() isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage
func (*Fulfillment_ConditionalCases_Case_CaseContent) GetMessage ¶
func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetMessage() *ResponseMessage
func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage ¶
func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage()
func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect ¶
func (x *Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect() protoreflect.Message
func (*Fulfillment_ConditionalCases_Case_CaseContent) Reset ¶
func (x *Fulfillment_ConditionalCases_Case_CaseContent) Reset()
func (*Fulfillment_ConditionalCases_Case_CaseContent) String ¶
func (x *Fulfillment_ConditionalCases_Case_CaseContent) String() string
type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases ¶
type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases struct { // Additional cases to be evaluated. AdditionalCases *Fulfillment_ConditionalCases `protobuf:"bytes,2,opt,name=additional_cases,json=additionalCases,proto3,oneof"` }
type Fulfillment_ConditionalCases_Case_CaseContent_Message ¶
type Fulfillment_ConditionalCases_Case_CaseContent_Message struct { // Returned message. Message *ResponseMessage `protobuf:"bytes,1,opt,name=message,proto3,oneof"` }
type Fulfillment_SetParameterAction ¶
type Fulfillment_SetParameterAction struct { // Display name of the parameter. Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"` // The new value of the parameter. A null value clears the parameter. Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Setting a parameter value.
func (*Fulfillment_SetParameterAction) Descriptor
deprecated
func (*Fulfillment_SetParameterAction) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment_SetParameterAction.ProtoReflect.Descriptor instead.
func (*Fulfillment_SetParameterAction) GetParameter ¶
func (x *Fulfillment_SetParameterAction) GetParameter() string
func (*Fulfillment_SetParameterAction) GetValue ¶
func (x *Fulfillment_SetParameterAction) GetValue() *structpb.Value
func (*Fulfillment_SetParameterAction) ProtoMessage ¶
func (*Fulfillment_SetParameterAction) ProtoMessage()
func (*Fulfillment_SetParameterAction) ProtoReflect ¶
func (x *Fulfillment_SetParameterAction) ProtoReflect() protoreflect.Message
func (*Fulfillment_SetParameterAction) Reset ¶
func (x *Fulfillment_SetParameterAction) Reset()
func (*Fulfillment_SetParameterAction) String ¶
func (x *Fulfillment_SetParameterAction) String() string
type GcsDestination ¶ added in v1.31.0
type GcsDestination struct { // Required. The Google Cloud Storage URI for the exported objects. A URI is // of the form: `gs://bucket/object-name-or-prefix` Whether a full object // name, or just a prefix, its usage depends on the Dialogflow operation. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
func (*GcsDestination) Descriptor
deprecated
added in
v1.31.0
func (*GcsDestination) Descriptor() ([]byte, []int)
Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
func (*GcsDestination) GetUri ¶ added in v1.31.0
func (x *GcsDestination) GetUri() string
func (*GcsDestination) ProtoMessage ¶ added in v1.31.0
func (*GcsDestination) ProtoMessage()
func (*GcsDestination) ProtoReflect ¶ added in v1.31.0
func (x *GcsDestination) ProtoReflect() protoreflect.Message
func (*GcsDestination) Reset ¶ added in v1.31.0
func (x *GcsDestination) Reset()
func (*GcsDestination) String ¶ added in v1.31.0
func (x *GcsDestination) String() string
type GenerativeSettings ¶ added in v1.43.0
type GenerativeSettings struct { // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Settings for Generative Fallback. FallbackSettings *GenerativeSettings_FallbackSettings `protobuf:"bytes,1,opt,name=fallback_settings,json=fallbackSettings,proto3" json:"fallback_settings,omitempty"` // Settings for Generative Safety. GenerativeSafetySettings *SafetySettings `` /* 135-byte string literal not displayed */ // Settings for knowledge connector. KnowledgeConnectorSettings *GenerativeSettings_KnowledgeConnectorSettings `` /* 141-byte string literal not displayed */ // Language for this settings. LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Settings for Generative AI.
func (*GenerativeSettings) Descriptor
deprecated
added in
v1.43.0
func (*GenerativeSettings) Descriptor() ([]byte, []int)
Deprecated: Use GenerativeSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings) GetFallbackSettings ¶ added in v1.43.0
func (x *GenerativeSettings) GetFallbackSettings() *GenerativeSettings_FallbackSettings
func (*GenerativeSettings) GetGenerativeSafetySettings ¶ added in v1.43.0
func (x *GenerativeSettings) GetGenerativeSafetySettings() *SafetySettings
func (*GenerativeSettings) GetKnowledgeConnectorSettings ¶ added in v1.43.0
func (x *GenerativeSettings) GetKnowledgeConnectorSettings() *GenerativeSettings_KnowledgeConnectorSettings
func (*GenerativeSettings) GetLanguageCode ¶ added in v1.43.0
func (x *GenerativeSettings) GetLanguageCode() string
func (*GenerativeSettings) GetName ¶ added in v1.43.0
func (x *GenerativeSettings) GetName() string
func (*GenerativeSettings) ProtoMessage ¶ added in v1.43.0
func (*GenerativeSettings) ProtoMessage()
func (*GenerativeSettings) ProtoReflect ¶ added in v1.43.0
func (x *GenerativeSettings) ProtoReflect() protoreflect.Message
func (*GenerativeSettings) Reset ¶ added in v1.43.0
func (x *GenerativeSettings) Reset()
func (*GenerativeSettings) String ¶ added in v1.43.0
func (x *GenerativeSettings) String() string
type GenerativeSettings_FallbackSettings ¶ added in v1.43.0
type GenerativeSettings_FallbackSettings struct { // Display name of the selected prompt. SelectedPrompt string `protobuf:"bytes,3,opt,name=selected_prompt,json=selectedPrompt,proto3" json:"selected_prompt,omitempty"` // Stored prompts that can be selected, for example default templates like // "conservative" or "chatty", or user defined ones. PromptTemplates []*GenerativeSettings_FallbackSettings_PromptTemplate `protobuf:"bytes,4,rep,name=prompt_templates,json=promptTemplates,proto3" json:"prompt_templates,omitempty"` // contains filtered or unexported fields }
Settings for Generative Fallback.
func (*GenerativeSettings_FallbackSettings) Descriptor
deprecated
added in
v1.43.0
func (*GenerativeSettings_FallbackSettings) Descriptor() ([]byte, []int)
Deprecated: Use GenerativeSettings_FallbackSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_FallbackSettings) GetPromptTemplates ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings) GetPromptTemplates() []*GenerativeSettings_FallbackSettings_PromptTemplate
func (*GenerativeSettings_FallbackSettings) GetSelectedPrompt ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings) GetSelectedPrompt() string
func (*GenerativeSettings_FallbackSettings) ProtoMessage ¶ added in v1.43.0
func (*GenerativeSettings_FallbackSettings) ProtoMessage()
func (*GenerativeSettings_FallbackSettings) ProtoReflect ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings) ProtoReflect() protoreflect.Message
func (*GenerativeSettings_FallbackSettings) Reset ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings) Reset()
func (*GenerativeSettings_FallbackSettings) String ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings) String() string
type GenerativeSettings_FallbackSettings_PromptTemplate ¶ added in v1.43.0
type GenerativeSettings_FallbackSettings_PromptTemplate struct { // Prompt name. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Prompt text that is sent to a LLM on no-match default, placeholders are // filled downstream. For example: "Here is a conversation $conversation, // a response is: " PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"` // If the flag is true, the prompt is frozen and cannot be modified by // users. Frozen bool `protobuf:"varint,3,opt,name=frozen,proto3" json:"frozen,omitempty"` // contains filtered or unexported fields }
Prompt template.
func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor
deprecated
added in
v1.43.0
func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor() ([]byte, []int)
Deprecated: Use GenerativeSettings_FallbackSettings_PromptTemplate.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName() string
func (*GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen() bool
func (*GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText() string
func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage ¶ added in v1.43.0
func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage()
func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect() protoreflect.Message
func (*GenerativeSettings_FallbackSettings_PromptTemplate) Reset ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) Reset()
func (*GenerativeSettings_FallbackSettings_PromptTemplate) String ¶ added in v1.43.0
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) String() string
type GenerativeSettings_KnowledgeConnectorSettings ¶ added in v1.43.0
type GenerativeSettings_KnowledgeConnectorSettings struct { // Name of the company, organization or other entity that the agent // represents. Used for knowledge connector LLM prompt and for knowledge // search. Business string `protobuf:"bytes,1,opt,name=business,proto3" json:"business,omitempty"` // Name of the virtual agent. Used for LLM prompt. Can be left empty. Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"` // Identity of the agent, e.g. "virtual agent", "AI assistant". AgentIdentity string `protobuf:"bytes,3,opt,name=agent_identity,json=agentIdentity,proto3" json:"agent_identity,omitempty"` // Company description, used for LLM prompt, e.g. "a family company selling // freshly roasted coffee beans". BusinessDescription string `protobuf:"bytes,4,opt,name=business_description,json=businessDescription,proto3" json:"business_description,omitempty"` // Agent scope, e.g. "Example company website", "internal Example // company website for employees", "manual of car owner". AgentScope string `protobuf:"bytes,5,opt,name=agent_scope,json=agentScope,proto3" json:"agent_scope,omitempty"` // Whether to disable fallback to Data Store search results (in case the LLM // couldn't pick a proper answer). Per default the feature is enabled. DisableDataStoreFallback bool `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
Settings for knowledge connector. These parameters are used for LLM prompt like "You are <agent>. You are a helpful and verbose <agent_identity> at <business>, <business_description>. Your task is to help humans on <agent_scope>".
func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor
deprecated
added in
v1.43.0
func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor() ([]byte, []int)
Deprecated: Use GenerativeSettings_KnowledgeConnectorSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_KnowledgeConnectorSettings) GetAgent ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgent() string
func (*GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity() string
func (*GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope() string
func (*GenerativeSettings_KnowledgeConnectorSettings) GetBusiness ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusiness() string
func (*GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription() string
func (*GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback ¶ added in v1.49.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback() bool
func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage ¶ added in v1.43.0
func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage()
func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect() protoreflect.Message
func (*GenerativeSettings_KnowledgeConnectorSettings) Reset ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) Reset()
func (*GenerativeSettings_KnowledgeConnectorSettings) String ¶ added in v1.43.0
func (x *GenerativeSettings_KnowledgeConnectorSettings) String() string
type Generator ¶ added in v1.47.0
type Generator struct { // The unique identifier of the generator. // Must be set for the // [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator] // method. [Generators.CreateGenerate][] populates the name automatically. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the generator, unique within the // agent. The prompt contains pre-defined parameters such as $conversation, // $last-user-utterance, etc. populated by Dialogflow. It can also contain // custom placeholders which will be resolved during fulfillment. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. Prompt for the LLM model. PromptText *Phrase `protobuf:"bytes,3,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"` // Optional. List of custom placeholders in the prompt text. Placeholders []*Generator_Placeholder `protobuf:"bytes,5,rep,name=placeholders,proto3" json:"placeholders,omitempty"` // Parameters passed to the LLM to configure its behavior. ModelParameter *Generator_ModelParameter `protobuf:"bytes,8,opt,name=model_parameter,json=modelParameter,proto3" json:"model_parameter,omitempty"` // contains filtered or unexported fields }
Generators contain prompt to be sent to the LLM model to generate text. The prompt can contain parameters which will be resolved before calling the model. It can optionally contain banned phrases to ensure the model responses are safe.
func (*Generator) Descriptor
deprecated
added in
v1.47.0
func (*Generator) GetDisplayName ¶ added in v1.47.0
func (*Generator) GetModelParameter ¶ added in v1.59.0
func (x *Generator) GetModelParameter() *Generator_ModelParameter
func (*Generator) GetPlaceholders ¶ added in v1.47.0
func (x *Generator) GetPlaceholders() []*Generator_Placeholder
func (*Generator) GetPromptText ¶ added in v1.47.0
func (*Generator) ProtoMessage ¶ added in v1.47.0
func (*Generator) ProtoMessage()
func (*Generator) ProtoReflect ¶ added in v1.47.0
func (x *Generator) ProtoReflect() protoreflect.Message
type Generator_ModelParameter ¶ added in v1.59.0
type Generator_ModelParameter struct { // The temperature used for sampling. Temperature sampling occurs after both // topP and topK have been applied. // Valid range: [0.0, 1.0] // Low temperature = less random. High temperature = more random. Temperature *float32 `protobuf:"fixed32,1,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"` // The maximum number of tokens to generate. MaxDecodeSteps *int32 `protobuf:"varint,2,opt,name=max_decode_steps,json=maxDecodeSteps,proto3,oneof" json:"max_decode_steps,omitempty"` // If set, only the tokens comprising the top top_p probability mass are // considered. If both top_p and top_k are // set, top_p will be used for further refining candidates selected with // top_k. // Valid range: (0.0, 1.0]. // Small topP = less random. Large topP = more random. TopP *float32 `protobuf:"fixed32,3,opt,name=top_p,json=topP,proto3,oneof" json:"top_p,omitempty"` // If set, the sampling process in each step is limited to the top_k tokens // with highest probabilities. // Valid range: [1, 40] or 1000+. // Small topK = less random. Large topK = more random. TopK *int32 `protobuf:"varint,4,opt,name=top_k,json=topK,proto3,oneof" json:"top_k,omitempty"` // contains filtered or unexported fields }
Parameters to be passed to the LLM. If not set, default values will be used.
func (*Generator_ModelParameter) Descriptor
deprecated
added in
v1.59.0
func (*Generator_ModelParameter) Descriptor() ([]byte, []int)
Deprecated: Use Generator_ModelParameter.ProtoReflect.Descriptor instead.
func (*Generator_ModelParameter) GetMaxDecodeSteps ¶ added in v1.59.0
func (x *Generator_ModelParameter) GetMaxDecodeSteps() int32
func (*Generator_ModelParameter) GetTemperature ¶ added in v1.59.0
func (x *Generator_ModelParameter) GetTemperature() float32
func (*Generator_ModelParameter) GetTopK ¶ added in v1.59.0
func (x *Generator_ModelParameter) GetTopK() int32
func (*Generator_ModelParameter) GetTopP ¶ added in v1.59.0
func (x *Generator_ModelParameter) GetTopP() float32
func (*Generator_ModelParameter) ProtoMessage ¶ added in v1.59.0
func (*Generator_ModelParameter) ProtoMessage()
func (*Generator_ModelParameter) ProtoReflect ¶ added in v1.59.0
func (x *Generator_ModelParameter) ProtoReflect() protoreflect.Message
func (*Generator_ModelParameter) Reset ¶ added in v1.59.0
func (x *Generator_ModelParameter) Reset()
func (*Generator_ModelParameter) String ¶ added in v1.59.0
func (x *Generator_ModelParameter) String() string
type Generator_Placeholder ¶ added in v1.47.0
type Generator_Placeholder struct { // Unique ID used to map custom placeholder to parameters in fulfillment. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Custom placeholder value in the prompt text. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Represents a custom placeholder in the prompt text.
func (*Generator_Placeholder) Descriptor
deprecated
added in
v1.47.0
func (*Generator_Placeholder) Descriptor() ([]byte, []int)
Deprecated: Use Generator_Placeholder.ProtoReflect.Descriptor instead.
func (*Generator_Placeholder) GetId ¶ added in v1.47.0
func (x *Generator_Placeholder) GetId() string
func (*Generator_Placeholder) GetName ¶ added in v1.47.0
func (x *Generator_Placeholder) GetName() string
func (*Generator_Placeholder) ProtoMessage ¶ added in v1.47.0
func (*Generator_Placeholder) ProtoMessage()
func (*Generator_Placeholder) ProtoReflect ¶ added in v1.47.0
func (x *Generator_Placeholder) ProtoReflect() protoreflect.Message
func (*Generator_Placeholder) Reset ¶ added in v1.47.0
func (x *Generator_Placeholder) Reset()
func (*Generator_Placeholder) String ¶ added in v1.47.0
func (x *Generator_Placeholder) String() string
type GeneratorsClient ¶ added in v1.47.0
type GeneratorsClient interface { // Returns the list of all generators in the specified agent. ListGenerators(ctx context.Context, in *ListGeneratorsRequest, opts ...grpc.CallOption) (*ListGeneratorsResponse, error) // Retrieves the specified generator. GetGenerator(ctx context.Context, in *GetGeneratorRequest, opts ...grpc.CallOption) (*Generator, error) // Creates a generator in the specified agent. CreateGenerator(ctx context.Context, in *CreateGeneratorRequest, opts ...grpc.CallOption) (*Generator, error) // Update the specified generator. UpdateGenerator(ctx context.Context, in *UpdateGeneratorRequest, opts ...grpc.CallOption) (*Generator, error) // Deletes the specified generators. DeleteGenerator(ctx context.Context, in *DeleteGeneratorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
GeneratorsClient is the client API for Generators service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGeneratorsClient ¶ added in v1.47.0
func NewGeneratorsClient(cc grpc.ClientConnInterface) GeneratorsClient
type GeneratorsServer ¶ added in v1.47.0
type GeneratorsServer interface { // Returns the list of all generators in the specified agent. ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error) // Retrieves the specified generator. GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error) // Creates a generator in the specified agent. CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error) // Update the specified generator. UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error) // Deletes the specified generators. DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error) }
GeneratorsServer is the server API for Generators service.
type GetAgentRequest ¶
type GetAgentRequest struct { // Required. The name of the agent. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.GetAgent][google.cloud.dialogflow.cx.v3.Agents.GetAgent].
func (*GetAgentRequest) Descriptor
deprecated
func (*GetAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.
func (*GetAgentRequest) GetName ¶
func (x *GetAgentRequest) GetName() string
func (*GetAgentRequest) ProtoMessage ¶
func (*GetAgentRequest) ProtoMessage()
func (*GetAgentRequest) ProtoReflect ¶
func (x *GetAgentRequest) ProtoReflect() protoreflect.Message
func (*GetAgentRequest) Reset ¶
func (x *GetAgentRequest) Reset()
func (*GetAgentRequest) String ¶
func (x *GetAgentRequest) String() string
type GetAgentValidationResultRequest ¶
type GetAgentValidationResultRequest struct { // Required. The agent name. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/validationResult`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If not specified, the agent's default language is used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult].
func (*GetAgentValidationResultRequest) Descriptor
deprecated
func (*GetAgentValidationResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentValidationResultRequest.ProtoReflect.Descriptor instead.
func (*GetAgentValidationResultRequest) GetLanguageCode ¶
func (x *GetAgentValidationResultRequest) GetLanguageCode() string
func (*GetAgentValidationResultRequest) GetName ¶
func (x *GetAgentValidationResultRequest) GetName() string
func (*GetAgentValidationResultRequest) ProtoMessage ¶
func (*GetAgentValidationResultRequest) ProtoMessage()
func (*GetAgentValidationResultRequest) ProtoReflect ¶
func (x *GetAgentValidationResultRequest) ProtoReflect() protoreflect.Message
func (*GetAgentValidationResultRequest) Reset ¶
func (x *GetAgentValidationResultRequest) Reset()
func (*GetAgentValidationResultRequest) String ¶
func (x *GetAgentValidationResultRequest) String() string
type GetChangelogRequest ¶
type GetChangelogRequest struct { // Required. The name of the changelog to get. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/changelogs/<ChangelogID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Changelogs.GetChangelog][google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog].
func (*GetChangelogRequest) Descriptor
deprecated
func (*GetChangelogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChangelogRequest.ProtoReflect.Descriptor instead.
func (*GetChangelogRequest) GetName ¶
func (x *GetChangelogRequest) GetName() string
func (*GetChangelogRequest) ProtoMessage ¶
func (*GetChangelogRequest) ProtoMessage()
func (*GetChangelogRequest) ProtoReflect ¶
func (x *GetChangelogRequest) ProtoReflect() protoreflect.Message
func (*GetChangelogRequest) Reset ¶
func (x *GetChangelogRequest) Reset()
func (*GetChangelogRequest) String ¶
func (x *GetChangelogRequest) String() string
type GetDeploymentRequest ¶
type GetDeploymentRequest struct { // Required. The name of the // [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/deployments/<DeploymentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Deployments.GetDeployment][google.cloud.dialogflow.cx.v3.Deployments.GetDeployment].
func (*GetDeploymentRequest) Descriptor
deprecated
func (*GetDeploymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentRequest) GetName ¶
func (x *GetDeploymentRequest) GetName() string
func (*GetDeploymentRequest) ProtoMessage ¶
func (*GetDeploymentRequest) ProtoMessage()
func (*GetDeploymentRequest) ProtoReflect ¶
func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Message
func (*GetDeploymentRequest) Reset ¶
func (x *GetDeploymentRequest) Reset()
func (*GetDeploymentRequest) String ¶
func (x *GetDeploymentRequest) String() string
type GetEntityTypeRequest ¶
type GetEntityTypeRequest struct { // Required. The name of the entity type. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The language to retrieve the entity type for. The following fields are // language dependent: // // * `EntityType.entities.value` // * `EntityType.entities.synonyms` // * `EntityType.excluded_phrases.value` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType].
func (*GetEntityTypeRequest) Descriptor
deprecated
func (*GetEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*GetEntityTypeRequest) GetLanguageCode ¶
func (x *GetEntityTypeRequest) GetLanguageCode() string
func (*GetEntityTypeRequest) GetName ¶
func (x *GetEntityTypeRequest) GetName() string
func (*GetEntityTypeRequest) ProtoMessage ¶
func (*GetEntityTypeRequest) ProtoMessage()
func (*GetEntityTypeRequest) ProtoReflect ¶
func (x *GetEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*GetEntityTypeRequest) Reset ¶
func (x *GetEntityTypeRequest) Reset()
func (*GetEntityTypeRequest) String ¶
func (x *GetEntityTypeRequest) String() string
type GetEnvironmentRequest ¶
type GetEnvironmentRequest struct { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment]. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.GetEnvironment][google.cloud.dialogflow.cx.v3.Environments.GetEnvironment].
func (*GetEnvironmentRequest) Descriptor
deprecated
func (*GetEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*GetEnvironmentRequest) GetName ¶
func (x *GetEnvironmentRequest) GetName() string
func (*GetEnvironmentRequest) ProtoMessage ¶
func (*GetEnvironmentRequest) ProtoMessage()
func (*GetEnvironmentRequest) ProtoReflect ¶
func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*GetEnvironmentRequest) Reset ¶
func (x *GetEnvironmentRequest) Reset()
func (*GetEnvironmentRequest) String ¶
func (x *GetEnvironmentRequest) String() string
type GetExperimentRequest ¶
type GetExperimentRequest struct { // Required. The name of the // [Environment][google.cloud.dialogflow.cx.v3.Environment]. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.GetExperiment][google.cloud.dialogflow.cx.v3.Experiments.GetExperiment].
func (*GetExperimentRequest) Descriptor
deprecated
func (*GetExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExperimentRequest.ProtoReflect.Descriptor instead.
func (*GetExperimentRequest) GetName ¶
func (x *GetExperimentRequest) GetName() string
func (*GetExperimentRequest) ProtoMessage ¶
func (*GetExperimentRequest) ProtoMessage()
func (*GetExperimentRequest) ProtoReflect ¶
func (x *GetExperimentRequest) ProtoReflect() protoreflect.Message
func (*GetExperimentRequest) Reset ¶
func (x *GetExperimentRequest) Reset()
func (*GetExperimentRequest) String ¶
func (x *GetExperimentRequest) String() string
type GetFlowRequest ¶
type GetFlowRequest struct { // Required. The name of the flow to get. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The language to retrieve the flow for. The following fields are language // dependent: // // * `Flow.event_handlers.trigger_fulfillment.messages` // * `Flow.event_handlers.trigger_fulfillment.conditional_cases` // * `Flow.transition_routes.trigger_fulfillment.messages` // * `Flow.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow].
func (*GetFlowRequest) Descriptor
deprecated
func (*GetFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFlowRequest.ProtoReflect.Descriptor instead.
func (*GetFlowRequest) GetLanguageCode ¶
func (x *GetFlowRequest) GetLanguageCode() string
func (*GetFlowRequest) GetName ¶
func (x *GetFlowRequest) GetName() string
func (*GetFlowRequest) ProtoMessage ¶
func (*GetFlowRequest) ProtoMessage()
func (*GetFlowRequest) ProtoReflect ¶
func (x *GetFlowRequest) ProtoReflect() protoreflect.Message
func (*GetFlowRequest) Reset ¶
func (x *GetFlowRequest) Reset()
func (*GetFlowRequest) String ¶
func (x *GetFlowRequest) String() string
type GetFlowValidationResultRequest ¶
type GetFlowValidationResultRequest struct { // Required. The flow name. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/validationResult`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If not specified, the agent's default language is used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
func (*GetFlowValidationResultRequest) Descriptor
deprecated
func (*GetFlowValidationResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFlowValidationResultRequest.ProtoReflect.Descriptor instead.
func (*GetFlowValidationResultRequest) GetLanguageCode ¶
func (x *GetFlowValidationResultRequest) GetLanguageCode() string
func (*GetFlowValidationResultRequest) GetName ¶
func (x *GetFlowValidationResultRequest) GetName() string
func (*GetFlowValidationResultRequest) ProtoMessage ¶
func (*GetFlowValidationResultRequest) ProtoMessage()
func (*GetFlowValidationResultRequest) ProtoReflect ¶
func (x *GetFlowValidationResultRequest) ProtoReflect() protoreflect.Message
func (*GetFlowValidationResultRequest) Reset ¶
func (x *GetFlowValidationResultRequest) Reset()
func (*GetFlowValidationResultRequest) String ¶
func (x *GetFlowValidationResultRequest) String() string
type GetGenerativeSettingsRequest ¶ added in v1.43.0
type GetGenerativeSettingsRequest struct { // Required. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generativeSettings`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Language code of the generative settings. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Request for [GetGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings] RPC.
func (*GetGenerativeSettingsRequest) Descriptor
deprecated
added in
v1.43.0
func (*GetGenerativeSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGenerativeSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetGenerativeSettingsRequest) GetLanguageCode ¶ added in v1.43.0
func (x *GetGenerativeSettingsRequest) GetLanguageCode() string
func (*GetGenerativeSettingsRequest) GetName ¶ added in v1.43.0
func (x *GetGenerativeSettingsRequest) GetName() string
func (*GetGenerativeSettingsRequest) ProtoMessage ¶ added in v1.43.0
func (*GetGenerativeSettingsRequest) ProtoMessage()
func (*GetGenerativeSettingsRequest) ProtoReflect ¶ added in v1.43.0
func (x *GetGenerativeSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetGenerativeSettingsRequest) Reset ¶ added in v1.43.0
func (x *GetGenerativeSettingsRequest) Reset()
func (*GetGenerativeSettingsRequest) String ¶ added in v1.43.0
func (x *GetGenerativeSettingsRequest) String() string
type GetGeneratorRequest ¶ added in v1.47.0
type GetGeneratorRequest struct { // Required. The name of the generator. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The language to list generators for. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Generators.GetGenerator][google.cloud.dialogflow.cx.v3.Generators.GetGenerator].
func (*GetGeneratorRequest) Descriptor
deprecated
added in
v1.47.0
func (*GetGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGeneratorRequest.ProtoReflect.Descriptor instead.
func (*GetGeneratorRequest) GetLanguageCode ¶ added in v1.47.0
func (x *GetGeneratorRequest) GetLanguageCode() string
func (*GetGeneratorRequest) GetName ¶ added in v1.47.0
func (x *GetGeneratorRequest) GetName() string
func (*GetGeneratorRequest) ProtoMessage ¶ added in v1.47.0
func (*GetGeneratorRequest) ProtoMessage()
func (*GetGeneratorRequest) ProtoReflect ¶ added in v1.47.0
func (x *GetGeneratorRequest) ProtoReflect() protoreflect.Message
func (*GetGeneratorRequest) Reset ¶ added in v1.47.0
func (x *GetGeneratorRequest) Reset()
func (*GetGeneratorRequest) String ¶ added in v1.47.0
func (x *GetGeneratorRequest) String() string
type GetIntentRequest ¶
type GetIntentRequest struct { // Required. The name of the intent. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The language to retrieve the intent for. The following fields are language // dependent: // // * `Intent.training_phrases.parts.text` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.GetIntent][google.cloud.dialogflow.cx.v3.Intents.GetIntent].
func (*GetIntentRequest) Descriptor
deprecated
func (*GetIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead.
func (*GetIntentRequest) GetLanguageCode ¶
func (x *GetIntentRequest) GetLanguageCode() string
func (*GetIntentRequest) GetName ¶
func (x *GetIntentRequest) GetName() string
func (*GetIntentRequest) ProtoMessage ¶
func (*GetIntentRequest) ProtoMessage()
func (*GetIntentRequest) ProtoReflect ¶
func (x *GetIntentRequest) ProtoReflect() protoreflect.Message
func (*GetIntentRequest) Reset ¶
func (x *GetIntentRequest) Reset()
func (*GetIntentRequest) String ¶
func (x *GetIntentRequest) String() string
type GetPageRequest ¶
type GetPageRequest struct { // Required. The name of the page. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The language to retrieve the page for. The following fields are language // dependent: // // * `Page.entry_fulfillment.messages` // * `Page.entry_fulfillment.conditional_cases` // * `Page.event_handlers.trigger_fulfillment.messages` // * `Page.event_handlers.trigger_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` // * // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` // * // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` // * `Page.transition_routes.trigger_fulfillment.messages` // * `Page.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3.Pages.GetPage].
func (*GetPageRequest) Descriptor
deprecated
func (*GetPageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPageRequest.ProtoReflect.Descriptor instead.
func (*GetPageRequest) GetLanguageCode ¶
func (x *GetPageRequest) GetLanguageCode() string
func (*GetPageRequest) GetName ¶
func (x *GetPageRequest) GetName() string
func (*GetPageRequest) ProtoMessage ¶
func (*GetPageRequest) ProtoMessage()
func (*GetPageRequest) ProtoReflect ¶
func (x *GetPageRequest) ProtoReflect() protoreflect.Message
func (*GetPageRequest) Reset ¶
func (x *GetPageRequest) Reset()
func (*GetPageRequest) String ¶
func (x *GetPageRequest) String() string
type GetSecuritySettingsRequest ¶
type GetSecuritySettingsRequest struct { // Required. Resource name of the settings. // Format: // `projects/<ProjectID>/locations/<LocationID>/securitySettings/<securitysettingsID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings].
func (*GetSecuritySettingsRequest) Descriptor
deprecated
func (*GetSecuritySettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSecuritySettingsRequest) GetName ¶
func (x *GetSecuritySettingsRequest) GetName() string
func (*GetSecuritySettingsRequest) ProtoMessage ¶
func (*GetSecuritySettingsRequest) ProtoMessage()
func (*GetSecuritySettingsRequest) ProtoReflect ¶
func (x *GetSecuritySettingsRequest) ProtoReflect() protoreflect.Message
func (*GetSecuritySettingsRequest) Reset ¶
func (x *GetSecuritySettingsRequest) Reset()
func (*GetSecuritySettingsRequest) String ¶
func (x *GetSecuritySettingsRequest) String() string
type GetSessionEntityTypeRequest ¶
type GetSessionEntityTypeRequest struct { // Required. The name of the session entity type. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType].
func (*GetSessionEntityTypeRequest) Descriptor
deprecated
func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*GetSessionEntityTypeRequest) GetName ¶
func (x *GetSessionEntityTypeRequest) GetName() string
func (*GetSessionEntityTypeRequest) ProtoMessage ¶
func (*GetSessionEntityTypeRequest) ProtoMessage()
func (*GetSessionEntityTypeRequest) ProtoReflect ¶
func (x *GetSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*GetSessionEntityTypeRequest) Reset ¶
func (x *GetSessionEntityTypeRequest) Reset()
func (*GetSessionEntityTypeRequest) String ¶
func (x *GetSessionEntityTypeRequest) String() string
type GetTestCaseRequest ¶
type GetTestCaseRequest struct { // Required. The name of the testcase. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.GetTestCase][google.cloud.dialogflow.cx.v3.TestCases.GetTestCase].
func (*GetTestCaseRequest) Descriptor
deprecated
func (*GetTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTestCaseRequest.ProtoReflect.Descriptor instead.
func (*GetTestCaseRequest) GetName ¶
func (x *GetTestCaseRequest) GetName() string
func (*GetTestCaseRequest) ProtoMessage ¶
func (*GetTestCaseRequest) ProtoMessage()
func (*GetTestCaseRequest) ProtoReflect ¶
func (x *GetTestCaseRequest) ProtoReflect() protoreflect.Message
func (*GetTestCaseRequest) Reset ¶
func (x *GetTestCaseRequest) Reset()
func (*GetTestCaseRequest) String ¶
func (x *GetTestCaseRequest) String() string
type GetTestCaseResultRequest ¶
type GetTestCaseResultRequest struct { // Required. The name of the testcase. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.GetTestCaseResult][google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult].
func (*GetTestCaseResultRequest) Descriptor
deprecated
func (*GetTestCaseResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTestCaseResultRequest.ProtoReflect.Descriptor instead.
func (*GetTestCaseResultRequest) GetName ¶
func (x *GetTestCaseResultRequest) GetName() string
func (*GetTestCaseResultRequest) ProtoMessage ¶
func (*GetTestCaseResultRequest) ProtoMessage()
func (*GetTestCaseResultRequest) ProtoReflect ¶
func (x *GetTestCaseResultRequest) ProtoReflect() protoreflect.Message
func (*GetTestCaseResultRequest) Reset ¶
func (x *GetTestCaseResultRequest) Reset()
func (*GetTestCaseResultRequest) String ¶
func (x *GetTestCaseResultRequest) String() string
type GetTransitionRouteGroupRequest ¶
type GetTransitionRouteGroupRequest struct { // Required. The name of the // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The language to retrieve the transition route group for. The following // fields are language dependent: // // * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` // * // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [TransitionRouteGroups.GetTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup].
func (*GetTransitionRouteGroupRequest) Descriptor
deprecated
func (*GetTransitionRouteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*GetTransitionRouteGroupRequest) GetLanguageCode ¶
func (x *GetTransitionRouteGroupRequest) GetLanguageCode() string
func (*GetTransitionRouteGroupRequest) GetName ¶
func (x *GetTransitionRouteGroupRequest) GetName() string
func (*GetTransitionRouteGroupRequest) ProtoMessage ¶
func (*GetTransitionRouteGroupRequest) ProtoMessage()
func (*GetTransitionRouteGroupRequest) ProtoReflect ¶
func (x *GetTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
func (*GetTransitionRouteGroupRequest) Reset ¶
func (x *GetTransitionRouteGroupRequest) Reset()
func (*GetTransitionRouteGroupRequest) String ¶
func (x *GetTransitionRouteGroupRequest) String() string
type GetVersionRequest ¶
type GetVersionRequest struct { // Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version]. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.GetVersion][google.cloud.dialogflow.cx.v3.Versions.GetVersion].
func (*GetVersionRequest) Descriptor
deprecated
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetName ¶
func (x *GetVersionRequest) GetName() string
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
type GetWebhookRequest ¶
type GetWebhookRequest struct { // Required. The name of the webhook. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook].
func (*GetWebhookRequest) Descriptor
deprecated
func (*GetWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.
func (*GetWebhookRequest) GetName ¶
func (x *GetWebhookRequest) GetName() string
func (*GetWebhookRequest) ProtoMessage ¶
func (*GetWebhookRequest) ProtoMessage()
func (*GetWebhookRequest) ProtoReflect ¶
func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message
func (*GetWebhookRequest) Reset ¶
func (x *GetWebhookRequest) Reset()
func (*GetWebhookRequest) String ¶
func (x *GetWebhookRequest) String() string
type ImportEntityTypesMetadata ¶ added in v1.49.0
type ImportEntityTypesMetadata struct {
// contains filtered or unexported fields
}
Metadata returned for the [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes] long running operation.
func (*ImportEntityTypesMetadata) Descriptor
deprecated
added in
v1.49.0
func (*ImportEntityTypesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntityTypesMetadata.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesMetadata) ProtoMessage ¶ added in v1.49.0
func (*ImportEntityTypesMetadata) ProtoMessage()
func (*ImportEntityTypesMetadata) ProtoReflect ¶ added in v1.49.0
func (x *ImportEntityTypesMetadata) ProtoReflect() protoreflect.Message
func (*ImportEntityTypesMetadata) Reset ¶ added in v1.49.0
func (x *ImportEntityTypesMetadata) Reset()
func (*ImportEntityTypesMetadata) String ¶ added in v1.49.0
func (x *ImportEntityTypesMetadata) String() string
type ImportEntityTypesRequest ¶ added in v1.49.0
type ImportEntityTypesRequest struct { // Required. The agent to import the entity types into. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entity types to import. // // Types that are assignable to EntityTypes: // // *ImportEntityTypesRequest_EntityTypesUri // *ImportEntityTypesRequest_EntityTypesContent EntityTypes isImportEntityTypesRequest_EntityTypes `protobuf_oneof:"entity_types"` // Required. Merge option for importing entity types. MergeOption ImportEntityTypesRequest_MergeOption `` /* 167-byte string literal not displayed */ // Optional. The target entity type to import into. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. // If set, there should be only one entity type included in // [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], // of which the type should match the type of the target entity type. All // [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the // imported entity type will be added to the target entity type. TargetEntityType string `protobuf:"bytes,5,opt,name=target_entity_type,json=targetEntityType,proto3" json:"target_entity_type,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes].
func (*ImportEntityTypesRequest) Descriptor
deprecated
added in
v1.49.0
func (*ImportEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesRequest) GetEntityTypes ¶ added in v1.49.0
func (m *ImportEntityTypesRequest) GetEntityTypes() isImportEntityTypesRequest_EntityTypes
func (*ImportEntityTypesRequest) GetEntityTypesContent ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) GetEntityTypesContent() *InlineSource
func (*ImportEntityTypesRequest) GetEntityTypesUri ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) GetEntityTypesUri() string
func (*ImportEntityTypesRequest) GetMergeOption ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) GetMergeOption() ImportEntityTypesRequest_MergeOption
func (*ImportEntityTypesRequest) GetParent ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) GetParent() string
func (*ImportEntityTypesRequest) GetTargetEntityType ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) GetTargetEntityType() string
func (*ImportEntityTypesRequest) ProtoMessage ¶ added in v1.49.0
func (*ImportEntityTypesRequest) ProtoMessage()
func (*ImportEntityTypesRequest) ProtoReflect ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*ImportEntityTypesRequest) Reset ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) Reset()
func (*ImportEntityTypesRequest) String ¶ added in v1.49.0
func (x *ImportEntityTypesRequest) String() string
type ImportEntityTypesRequest_EntityTypesContent ¶ added in v1.49.0
type ImportEntityTypesRequest_EntityTypesContent struct { // Uncompressed byte content of entity types. EntityTypesContent *InlineSource `protobuf:"bytes,3,opt,name=entity_types_content,json=entityTypesContent,proto3,oneof"` }
type ImportEntityTypesRequest_EntityTypesUri ¶ added in v1.49.0
type ImportEntityTypesRequest_EntityTypesUri struct { // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI // to import entity types from. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). EntityTypesUri string `protobuf:"bytes,2,opt,name=entity_types_uri,json=entityTypesUri,proto3,oneof"` }
type ImportEntityTypesRequest_MergeOption ¶ added in v1.49.0
type ImportEntityTypesRequest_MergeOption int32
Merge option when display name conflicts exist during import.
const ( // Unspecified. If used, system uses REPORT_CONFLICT as default. ImportEntityTypesRequest_MERGE_OPTION_UNSPECIFIED ImportEntityTypesRequest_MergeOption = 0 // Replace the original entity type in the agent with the new entity type // when display name conflicts exist. ImportEntityTypesRequest_REPLACE ImportEntityTypesRequest_MergeOption = 1 // Merge the original entity type with the new entity type when display name // conflicts exist. ImportEntityTypesRequest_MERGE ImportEntityTypesRequest_MergeOption = 2 // Create new entity types with new display names to differentiate them from // the existing entity types when display name conflicts exist. ImportEntityTypesRequest_RENAME ImportEntityTypesRequest_MergeOption = 3 // Report conflict information if display names conflict is detected. // Otherwise, import entity types. ImportEntityTypesRequest_REPORT_CONFLICT ImportEntityTypesRequest_MergeOption = 4 // Keep the original entity type and discard the conflicting new entity type // when display name conflicts exist. ImportEntityTypesRequest_KEEP ImportEntityTypesRequest_MergeOption = 5 )
func (ImportEntityTypesRequest_MergeOption) Descriptor ¶ added in v1.49.0
func (ImportEntityTypesRequest_MergeOption) Descriptor() protoreflect.EnumDescriptor
func (ImportEntityTypesRequest_MergeOption) Enum ¶ added in v1.49.0
func (x ImportEntityTypesRequest_MergeOption) Enum() *ImportEntityTypesRequest_MergeOption
func (ImportEntityTypesRequest_MergeOption) EnumDescriptor
deprecated
added in
v1.49.0
func (ImportEntityTypesRequest_MergeOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportEntityTypesRequest_MergeOption.Descriptor instead.
func (ImportEntityTypesRequest_MergeOption) Number ¶ added in v1.49.0
func (x ImportEntityTypesRequest_MergeOption) Number() protoreflect.EnumNumber
func (ImportEntityTypesRequest_MergeOption) String ¶ added in v1.49.0
func (x ImportEntityTypesRequest_MergeOption) String() string
func (ImportEntityTypesRequest_MergeOption) Type ¶ added in v1.49.0
func (ImportEntityTypesRequest_MergeOption) Type() protoreflect.EnumType
type ImportEntityTypesResponse ¶ added in v1.49.0
type ImportEntityTypesResponse struct { // The unique identifier of the imported entity types. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entity_types/<EntityTypeID>`. EntityTypes []string `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` // Info which resources have conflicts when // [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option // is set in ImportEntityTypesRequest. ConflictingResources *ImportEntityTypesResponse_ConflictingResources `protobuf:"bytes,2,opt,name=conflicting_resources,json=conflictingResources,proto3" json:"conflicting_resources,omitempty"` // contains filtered or unexported fields }
The response message for [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes].
func (*ImportEntityTypesResponse) Descriptor
deprecated
added in
v1.49.0
func (*ImportEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesResponse) GetConflictingResources ¶ added in v1.49.0
func (x *ImportEntityTypesResponse) GetConflictingResources() *ImportEntityTypesResponse_ConflictingResources
func (*ImportEntityTypesResponse) GetEntityTypes ¶ added in v1.49.0
func (x *ImportEntityTypesResponse) GetEntityTypes() []string
func (*ImportEntityTypesResponse) ProtoMessage ¶ added in v1.49.0
func (*ImportEntityTypesResponse) ProtoMessage()
func (*ImportEntityTypesResponse) ProtoReflect ¶ added in v1.49.0
func (x *ImportEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*ImportEntityTypesResponse) Reset ¶ added in v1.49.0
func (x *ImportEntityTypesResponse) Reset()
func (*ImportEntityTypesResponse) String ¶ added in v1.49.0
func (x *ImportEntityTypesResponse) String() string
type ImportEntityTypesResponse_ConflictingResources ¶ added in v1.49.0
type ImportEntityTypesResponse_ConflictingResources struct { // Display names of conflicting entity types. EntityTypeDisplayNames []string `` /* 131-byte string literal not displayed */ // Display names of conflicting entities. EntityDisplayNames []string `protobuf:"bytes,2,rep,name=entity_display_names,json=entityDisplayNames,proto3" json:"entity_display_names,omitempty"` // contains filtered or unexported fields }
Conflicting resources detected during the import process. Only filled when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] is set in the request and there are conflicts in the display names.
func (*ImportEntityTypesResponse_ConflictingResources) Descriptor
deprecated
added in
v1.49.0
func (*ImportEntityTypesResponse_ConflictingResources) Descriptor() ([]byte, []int)
Deprecated: Use ImportEntityTypesResponse_ConflictingResources.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesResponse_ConflictingResources) GetEntityDisplayNames ¶ added in v1.49.0
func (x *ImportEntityTypesResponse_ConflictingResources) GetEntityDisplayNames() []string
func (*ImportEntityTypesResponse_ConflictingResources) GetEntityTypeDisplayNames ¶ added in v1.49.0
func (x *ImportEntityTypesResponse_ConflictingResources) GetEntityTypeDisplayNames() []string
func (*ImportEntityTypesResponse_ConflictingResources) ProtoMessage ¶ added in v1.49.0
func (*ImportEntityTypesResponse_ConflictingResources) ProtoMessage()
func (*ImportEntityTypesResponse_ConflictingResources) ProtoReflect ¶ added in v1.49.0
func (x *ImportEntityTypesResponse_ConflictingResources) ProtoReflect() protoreflect.Message
func (*ImportEntityTypesResponse_ConflictingResources) Reset ¶ added in v1.49.0
func (x *ImportEntityTypesResponse_ConflictingResources) Reset()
func (*ImportEntityTypesResponse_ConflictingResources) String ¶ added in v1.49.0
func (x *ImportEntityTypesResponse_ConflictingResources) String() string
type ImportFlowRequest ¶
type ImportFlowRequest struct { // Required. The agent to import the flow into. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The flow to import. // // Types that are assignable to Flow: // // *ImportFlowRequest_FlowUri // *ImportFlowRequest_FlowContent Flow isImportFlowRequest_Flow `protobuf_oneof:"flow"` // Flow import mode. If not specified, `KEEP` is assumed. ImportOption ImportFlowRequest_ImportOption `` /* 164-byte string literal not displayed */ // Optional. Specifies the import strategy used when resolving resource // conflicts. FlowImportStrategy *FlowImportStrategy `protobuf:"bytes,5,opt,name=flow_import_strategy,json=flowImportStrategy,proto3" json:"flow_import_strategy,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
func (*ImportFlowRequest) Descriptor
deprecated
func (*ImportFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportFlowRequest.ProtoReflect.Descriptor instead.
func (*ImportFlowRequest) GetFlow ¶
func (m *ImportFlowRequest) GetFlow() isImportFlowRequest_Flow
func (*ImportFlowRequest) GetFlowContent ¶
func (x *ImportFlowRequest) GetFlowContent() []byte
func (*ImportFlowRequest) GetFlowImportStrategy ¶ added in v1.41.0
func (x *ImportFlowRequest) GetFlowImportStrategy() *FlowImportStrategy
func (*ImportFlowRequest) GetFlowUri ¶
func (x *ImportFlowRequest) GetFlowUri() string
func (*ImportFlowRequest) GetImportOption ¶
func (x *ImportFlowRequest) GetImportOption() ImportFlowRequest_ImportOption
func (*ImportFlowRequest) GetParent ¶
func (x *ImportFlowRequest) GetParent() string
func (*ImportFlowRequest) ProtoMessage ¶
func (*ImportFlowRequest) ProtoMessage()
func (*ImportFlowRequest) ProtoReflect ¶
func (x *ImportFlowRequest) ProtoReflect() protoreflect.Message
func (*ImportFlowRequest) Reset ¶
func (x *ImportFlowRequest) Reset()
func (*ImportFlowRequest) String ¶
func (x *ImportFlowRequest) String() string
type ImportFlowRequest_FlowContent ¶
type ImportFlowRequest_FlowContent struct { // Uncompressed raw byte content for flow. FlowContent []byte `protobuf:"bytes,3,opt,name=flow_content,json=flowContent,proto3,oneof"` }
type ImportFlowRequest_FlowUri ¶
type ImportFlowRequest_FlowUri struct { // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI // to import flow from. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). FlowUri string `protobuf:"bytes,2,opt,name=flow_uri,json=flowUri,proto3,oneof"` }
type ImportFlowRequest_ImportOption ¶
type ImportFlowRequest_ImportOption int32
Import option.
const ( // Unspecified. Treated as `KEEP`. ImportFlowRequest_IMPORT_OPTION_UNSPECIFIED ImportFlowRequest_ImportOption = 0 // Always respect settings in exported flow content. It may cause a // import failure if some settings (e.g. custom NLU) are not supported in // the agent to import into. ImportFlowRequest_KEEP ImportFlowRequest_ImportOption = 1 // Fallback to default settings if some settings are not supported in the // agent to import into. E.g. Standard NLU will be used if custom NLU is // not available. ImportFlowRequest_FALLBACK ImportFlowRequest_ImportOption = 2 )
func (ImportFlowRequest_ImportOption) Descriptor ¶
func (ImportFlowRequest_ImportOption) Descriptor() protoreflect.EnumDescriptor
func (ImportFlowRequest_ImportOption) Enum ¶
func (x ImportFlowRequest_ImportOption) Enum() *ImportFlowRequest_ImportOption
func (ImportFlowRequest_ImportOption) EnumDescriptor
deprecated
func (ImportFlowRequest_ImportOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportFlowRequest_ImportOption.Descriptor instead.
func (ImportFlowRequest_ImportOption) Number ¶
func (x ImportFlowRequest_ImportOption) Number() protoreflect.EnumNumber
func (ImportFlowRequest_ImportOption) String ¶
func (x ImportFlowRequest_ImportOption) String() string
func (ImportFlowRequest_ImportOption) Type ¶
func (ImportFlowRequest_ImportOption) Type() protoreflect.EnumType
type ImportFlowResponse ¶
type ImportFlowResponse struct { // The unique identifier of the new flow. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Flow string `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"` // contains filtered or unexported fields }
The response message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
func (*ImportFlowResponse) Descriptor
deprecated
func (*ImportFlowResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportFlowResponse.ProtoReflect.Descriptor instead.
func (*ImportFlowResponse) GetFlow ¶
func (x *ImportFlowResponse) GetFlow() string
func (*ImportFlowResponse) ProtoMessage ¶
func (*ImportFlowResponse) ProtoMessage()
func (*ImportFlowResponse) ProtoReflect ¶
func (x *ImportFlowResponse) ProtoReflect() protoreflect.Message
func (*ImportFlowResponse) Reset ¶
func (x *ImportFlowResponse) Reset()
func (*ImportFlowResponse) String ¶
func (x *ImportFlowResponse) String() string
type ImportIntentsMetadata ¶ added in v1.44.0
type ImportIntentsMetadata struct {
// contains filtered or unexported fields
}
Metadata returned for the [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents] long running operation.
func (*ImportIntentsMetadata) Descriptor
deprecated
added in
v1.44.0
func (*ImportIntentsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportIntentsMetadata.ProtoReflect.Descriptor instead.
func (*ImportIntentsMetadata) ProtoMessage ¶ added in v1.44.0
func (*ImportIntentsMetadata) ProtoMessage()
func (*ImportIntentsMetadata) ProtoReflect ¶ added in v1.44.0
func (x *ImportIntentsMetadata) ProtoReflect() protoreflect.Message
func (*ImportIntentsMetadata) Reset ¶ added in v1.44.0
func (x *ImportIntentsMetadata) Reset()
func (*ImportIntentsMetadata) String ¶ added in v1.44.0
func (x *ImportIntentsMetadata) String() string
type ImportIntentsRequest ¶ added in v1.44.0
type ImportIntentsRequest struct { // Required. The agent to import the intents into. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The intents to import. // // Types that are assignable to Intents: // // *ImportIntentsRequest_IntentsUri // *ImportIntentsRequest_IntentsContent Intents isImportIntentsRequest_Intents `protobuf_oneof:"intents"` // Merge option for importing intents. If not specified, `REJECT` is assumed. MergeOption ImportIntentsRequest_MergeOption `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents].
func (*ImportIntentsRequest) Descriptor
deprecated
added in
v1.44.0
func (*ImportIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportIntentsRequest.ProtoReflect.Descriptor instead.
func (*ImportIntentsRequest) GetIntents ¶ added in v1.44.0
func (m *ImportIntentsRequest) GetIntents() isImportIntentsRequest_Intents
func (*ImportIntentsRequest) GetIntentsContent ¶ added in v1.44.0
func (x *ImportIntentsRequest) GetIntentsContent() *InlineSource
func (*ImportIntentsRequest) GetIntentsUri ¶ added in v1.44.0
func (x *ImportIntentsRequest) GetIntentsUri() string
func (*ImportIntentsRequest) GetMergeOption ¶ added in v1.44.0
func (x *ImportIntentsRequest) GetMergeOption() ImportIntentsRequest_MergeOption
func (*ImportIntentsRequest) GetParent ¶ added in v1.44.0
func (x *ImportIntentsRequest) GetParent() string
func (*ImportIntentsRequest) ProtoMessage ¶ added in v1.44.0
func (*ImportIntentsRequest) ProtoMessage()
func (*ImportIntentsRequest) ProtoReflect ¶ added in v1.44.0
func (x *ImportIntentsRequest) ProtoReflect() protoreflect.Message
func (*ImportIntentsRequest) Reset ¶ added in v1.44.0
func (x *ImportIntentsRequest) Reset()
func (*ImportIntentsRequest) String ¶ added in v1.44.0
func (x *ImportIntentsRequest) String() string
type ImportIntentsRequest_IntentsContent ¶ added in v1.44.0
type ImportIntentsRequest_IntentsContent struct { // Uncompressed byte content of intents. IntentsContent *InlineSource `protobuf:"bytes,3,opt,name=intents_content,json=intentsContent,proto3,oneof"` }
type ImportIntentsRequest_IntentsUri ¶ added in v1.44.0
type ImportIntentsRequest_IntentsUri struct { // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI // to import intents from. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). IntentsUri string `protobuf:"bytes,2,opt,name=intents_uri,json=intentsUri,proto3,oneof"` }
type ImportIntentsRequest_MergeOption ¶ added in v1.44.0
type ImportIntentsRequest_MergeOption int32
Merge option when display name conflicts exist during import.
const ( // Unspecified. Should not be used. ImportIntentsRequest_MERGE_OPTION_UNSPECIFIED ImportIntentsRequest_MergeOption = 0 // DEPRECATED: Please use // [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead. // Fail the request if there are intents whose display names conflict with // the display names of intents in the agent. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/intent.proto. ImportIntentsRequest_REJECT ImportIntentsRequest_MergeOption = 1 // Replace the original intent in the agent with the new intent when display // name conflicts exist. ImportIntentsRequest_REPLACE ImportIntentsRequest_MergeOption = 2 // Merge the original intent with the new intent when display name conflicts // exist. ImportIntentsRequest_MERGE ImportIntentsRequest_MergeOption = 3 // Create new intents with new display names to differentiate them from the // existing intents when display name conflicts exist. ImportIntentsRequest_RENAME ImportIntentsRequest_MergeOption = 4 // Report conflict information if display names conflict is detected. // Otherwise, import intents. ImportIntentsRequest_REPORT_CONFLICT ImportIntentsRequest_MergeOption = 5 // Keep the original intent and discard the conflicting new intent when // display name conflicts exist. ImportIntentsRequest_KEEP ImportIntentsRequest_MergeOption = 6 )
func (ImportIntentsRequest_MergeOption) Descriptor ¶ added in v1.44.0
func (ImportIntentsRequest_MergeOption) Descriptor() protoreflect.EnumDescriptor
func (ImportIntentsRequest_MergeOption) Enum ¶ added in v1.44.0
func (x ImportIntentsRequest_MergeOption) Enum() *ImportIntentsRequest_MergeOption
func (ImportIntentsRequest_MergeOption) EnumDescriptor
deprecated
added in
v1.44.0
func (ImportIntentsRequest_MergeOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportIntentsRequest_MergeOption.Descriptor instead.
func (ImportIntentsRequest_MergeOption) Number ¶ added in v1.44.0
func (x ImportIntentsRequest_MergeOption) Number() protoreflect.EnumNumber
func (ImportIntentsRequest_MergeOption) String ¶ added in v1.44.0
func (x ImportIntentsRequest_MergeOption) String() string
func (ImportIntentsRequest_MergeOption) Type ¶ added in v1.44.0
func (ImportIntentsRequest_MergeOption) Type() protoreflect.EnumType
type ImportIntentsResponse ¶ added in v1.44.0
type ImportIntentsResponse struct { // The unique identifier of the imported intents. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Intents []string `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` // Info which resources have conflicts when // [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is // set in ImportIntentsRequest. ConflictingResources *ImportIntentsResponse_ConflictingResources `protobuf:"bytes,2,opt,name=conflicting_resources,json=conflictingResources,proto3" json:"conflicting_resources,omitempty"` // contains filtered or unexported fields }
The response message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents].
func (*ImportIntentsResponse) Descriptor
deprecated
added in
v1.44.0
func (*ImportIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportIntentsResponse.ProtoReflect.Descriptor instead.
func (*ImportIntentsResponse) GetConflictingResources ¶ added in v1.44.0
func (x *ImportIntentsResponse) GetConflictingResources() *ImportIntentsResponse_ConflictingResources
func (*ImportIntentsResponse) GetIntents ¶ added in v1.44.0
func (x *ImportIntentsResponse) GetIntents() []string
func (*ImportIntentsResponse) ProtoMessage ¶ added in v1.44.0
func (*ImportIntentsResponse) ProtoMessage()
func (*ImportIntentsResponse) ProtoReflect ¶ added in v1.44.0
func (x *ImportIntentsResponse) ProtoReflect() protoreflect.Message
func (*ImportIntentsResponse) Reset ¶ added in v1.44.0
func (x *ImportIntentsResponse) Reset()
func (*ImportIntentsResponse) String ¶ added in v1.44.0
func (x *ImportIntentsResponse) String() string
type ImportIntentsResponse_ConflictingResources ¶ added in v1.44.0
type ImportIntentsResponse_ConflictingResources struct { // Display names of conflicting intents. IntentDisplayNames []string `protobuf:"bytes,1,rep,name=intent_display_names,json=intentDisplayNames,proto3" json:"intent_display_names,omitempty"` // Display names of conflicting entities. EntityDisplayNames []string `protobuf:"bytes,2,rep,name=entity_display_names,json=entityDisplayNames,proto3" json:"entity_display_names,omitempty"` // contains filtered or unexported fields }
Conflicting resources detected during the import process. Only filled when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] is set in the request and there are conflicts in the display names.
func (*ImportIntentsResponse_ConflictingResources) Descriptor
deprecated
added in
v1.44.0
func (*ImportIntentsResponse_ConflictingResources) Descriptor() ([]byte, []int)
Deprecated: Use ImportIntentsResponse_ConflictingResources.ProtoReflect.Descriptor instead.
func (*ImportIntentsResponse_ConflictingResources) GetEntityDisplayNames ¶ added in v1.44.0
func (x *ImportIntentsResponse_ConflictingResources) GetEntityDisplayNames() []string
func (*ImportIntentsResponse_ConflictingResources) GetIntentDisplayNames ¶ added in v1.44.0
func (x *ImportIntentsResponse_ConflictingResources) GetIntentDisplayNames() []string
func (*ImportIntentsResponse_ConflictingResources) ProtoMessage ¶ added in v1.44.0
func (*ImportIntentsResponse_ConflictingResources) ProtoMessage()
func (*ImportIntentsResponse_ConflictingResources) ProtoReflect ¶ added in v1.44.0
func (x *ImportIntentsResponse_ConflictingResources) ProtoReflect() protoreflect.Message
func (*ImportIntentsResponse_ConflictingResources) Reset ¶ added in v1.44.0
func (x *ImportIntentsResponse_ConflictingResources) Reset()
func (*ImportIntentsResponse_ConflictingResources) String ¶ added in v1.44.0
func (x *ImportIntentsResponse_ConflictingResources) String() string
type ImportStrategy ¶ added in v1.41.0
type ImportStrategy int32
Import strategies for the conflict resolution of resources (i.e. intents, entities, and webhooks) with identical display names during import operations.
const ( // Unspecified. Treated as 'CREATE_NEW'. ImportStrategy_IMPORT_STRATEGY_UNSPECIFIED ImportStrategy = 0 // Create a new resource with a numeric suffix appended to the end of the // existing display name. ImportStrategy_IMPORT_STRATEGY_CREATE_NEW ImportStrategy = 1 // Replace existing resource with incoming resource in the content to be // imported. ImportStrategy_IMPORT_STRATEGY_REPLACE ImportStrategy = 2 // Keep existing resource and discard incoming resource in the content to be // imported. ImportStrategy_IMPORT_STRATEGY_KEEP ImportStrategy = 3 // Combine existing and incoming resources when a conflict is encountered. ImportStrategy_IMPORT_STRATEGY_MERGE ImportStrategy = 4 // Throw error if a conflict is encountered. ImportStrategy_IMPORT_STRATEGY_THROW_ERROR ImportStrategy = 5 )
func (ImportStrategy) Descriptor ¶ added in v1.41.0
func (ImportStrategy) Descriptor() protoreflect.EnumDescriptor
func (ImportStrategy) Enum ¶ added in v1.41.0
func (x ImportStrategy) Enum() *ImportStrategy
func (ImportStrategy) EnumDescriptor
deprecated
added in
v1.41.0
func (ImportStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportStrategy.Descriptor instead.
func (ImportStrategy) Number ¶ added in v1.41.0
func (x ImportStrategy) Number() protoreflect.EnumNumber
func (ImportStrategy) String ¶ added in v1.41.0
func (x ImportStrategy) String() string
func (ImportStrategy) Type ¶ added in v1.41.0
func (ImportStrategy) Type() protoreflect.EnumType
type ImportTestCasesMetadata ¶
type ImportTestCasesMetadata struct { // Errors for failed test cases. Errors []*TestCaseError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
Metadata returned for the [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases] long running operation.
func (*ImportTestCasesMetadata) Descriptor
deprecated
func (*ImportTestCasesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportTestCasesMetadata.ProtoReflect.Descriptor instead.
func (*ImportTestCasesMetadata) GetErrors ¶
func (x *ImportTestCasesMetadata) GetErrors() []*TestCaseError
func (*ImportTestCasesMetadata) ProtoMessage ¶
func (*ImportTestCasesMetadata) ProtoMessage()
func (*ImportTestCasesMetadata) ProtoReflect ¶
func (x *ImportTestCasesMetadata) ProtoReflect() protoreflect.Message
func (*ImportTestCasesMetadata) Reset ¶
func (x *ImportTestCasesMetadata) Reset()
func (*ImportTestCasesMetadata) String ¶
func (x *ImportTestCasesMetadata) String() string
type ImportTestCasesRequest ¶
type ImportTestCasesRequest struct { // Required. The agent to import test cases to. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The source to import. // // Types that are assignable to Source: // // *ImportTestCasesRequest_GcsUri // *ImportTestCasesRequest_Content Source isImportTestCasesRequest_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
The request message for [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases].
func (*ImportTestCasesRequest) Descriptor
deprecated
func (*ImportTestCasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportTestCasesRequest.ProtoReflect.Descriptor instead.
func (*ImportTestCasesRequest) GetContent ¶
func (x *ImportTestCasesRequest) GetContent() []byte
func (*ImportTestCasesRequest) GetGcsUri ¶
func (x *ImportTestCasesRequest) GetGcsUri() string
func (*ImportTestCasesRequest) GetParent ¶
func (x *ImportTestCasesRequest) GetParent() string
func (*ImportTestCasesRequest) GetSource ¶
func (m *ImportTestCasesRequest) GetSource() isImportTestCasesRequest_Source
func (*ImportTestCasesRequest) ProtoMessage ¶
func (*ImportTestCasesRequest) ProtoMessage()
func (*ImportTestCasesRequest) ProtoReflect ¶
func (x *ImportTestCasesRequest) ProtoReflect() protoreflect.Message
func (*ImportTestCasesRequest) Reset ¶
func (x *ImportTestCasesRequest) Reset()
func (*ImportTestCasesRequest) String ¶
func (x *ImportTestCasesRequest) String() string
type ImportTestCasesRequest_Content ¶
type ImportTestCasesRequest_Content struct { // Uncompressed raw byte content for test cases. Content []byte `protobuf:"bytes,3,opt,name=content,proto3,oneof"` }
type ImportTestCasesRequest_GcsUri ¶
type ImportTestCasesRequest_GcsUri struct { // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI // to import test cases from. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). GcsUri string `protobuf:"bytes,2,opt,name=gcs_uri,json=gcsUri,proto3,oneof"` }
type ImportTestCasesResponse ¶
type ImportTestCasesResponse struct { // The unique identifiers of the new test cases. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
The response message for [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases].
func (*ImportTestCasesResponse) Descriptor
deprecated
func (*ImportTestCasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportTestCasesResponse.ProtoReflect.Descriptor instead.
func (*ImportTestCasesResponse) GetNames ¶
func (x *ImportTestCasesResponse) GetNames() []string
func (*ImportTestCasesResponse) ProtoMessage ¶
func (*ImportTestCasesResponse) ProtoMessage()
func (*ImportTestCasesResponse) ProtoReflect ¶
func (x *ImportTestCasesResponse) ProtoReflect() protoreflect.Message
func (*ImportTestCasesResponse) Reset ¶
func (x *ImportTestCasesResponse) Reset()
func (*ImportTestCasesResponse) String ¶
func (x *ImportTestCasesResponse) String() string
type InlineDestination ¶ added in v1.44.0
type InlineDestination struct { // Output only. The uncompressed byte content for the objects. // Only populated in responses. Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
Inline destination for a Dialogflow operation that writes or exports objects (e.g. [intents][google.cloud.dialogflow.cx.v3.Intent]) outside of Dialogflow.
func (*InlineDestination) Descriptor
deprecated
added in
v1.44.0
func (*InlineDestination) Descriptor() ([]byte, []int)
Deprecated: Use InlineDestination.ProtoReflect.Descriptor instead.
func (*InlineDestination) GetContent ¶ added in v1.44.0
func (x *InlineDestination) GetContent() []byte
func (*InlineDestination) ProtoMessage ¶ added in v1.44.0
func (*InlineDestination) ProtoMessage()
func (*InlineDestination) ProtoReflect ¶ added in v1.44.0
func (x *InlineDestination) ProtoReflect() protoreflect.Message
func (*InlineDestination) Reset ¶ added in v1.44.0
func (x *InlineDestination) Reset()
func (*InlineDestination) String ¶ added in v1.44.0
func (x *InlineDestination) String() string
type InlineSource ¶ added in v1.44.0
type InlineSource struct { // The uncompressed byte content for the objects. Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
Inline source for a Dialogflow operation that reads or imports objects (e.g. [intents][google.cloud.dialogflow.cx.v3.Intent]) into Dialogflow.
func (*InlineSource) Descriptor
deprecated
added in
v1.44.0
func (*InlineSource) Descriptor() ([]byte, []int)
Deprecated: Use InlineSource.ProtoReflect.Descriptor instead.
func (*InlineSource) GetContent ¶ added in v1.44.0
func (x *InlineSource) GetContent() []byte
func (*InlineSource) ProtoMessage ¶ added in v1.44.0
func (*InlineSource) ProtoMessage()
func (*InlineSource) ProtoReflect ¶ added in v1.44.0
func (x *InlineSource) ProtoReflect() protoreflect.Message
func (*InlineSource) Reset ¶ added in v1.44.0
func (x *InlineSource) Reset()
func (*InlineSource) String ¶ added in v1.44.0
func (x *InlineSource) String() string
type InputAudioConfig ¶
type InputAudioConfig struct { // Required. Audio encoding of the audio content to process. AudioEncoding AudioEncoding `` /* 150-byte string literal not displayed */ // Sample rate (in Hertz) of the audio content sent in the query. // Refer to // [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics) for // more details. SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // Optional. If `true`, Dialogflow returns // [SpeechWordInfo][google.cloud.dialogflow.cx.v3.SpeechWordInfo] in // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult] // with information about the recognized speech words, e.g. start and end time // offsets. If false or unspecified, Speech doesn't return any word-level // information. EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"` // Optional. A list of strings containing words and phrases that the speech // recognizer should recognize with higher likelihood. // // See [the Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"` // Optional. Which Speech model to select for the given request. // For more information, see // [Speech // models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"` // Optional. Which variant of the [Speech // model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use. ModelVariant SpeechModelVariant `` /* 153-byte string literal not displayed */ // Optional. If `false` (default), recognition does not cease until the // client closes the stream. // If `true`, the recognizer will detect a single spoken utterance in input // audio. Recognition ceases when it detects the audio's voice has // stopped or paused. In this case, once a detected intent is received, the // client should close the stream and start a new request with a new stream as // needed. // Note: This setting is relevant only for streaming methods. SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` // Configuration of barge-in behavior during the streaming of input audio. BargeInConfig *BargeInConfig `protobuf:"bytes,15,opt,name=barge_in_config,json=bargeInConfig,proto3" json:"barge_in_config,omitempty"` // If `true`, the request will opt out for STT conformer model migration. // This field will be deprecated once force migration takes place in June // 2024. Please refer to [Dialogflow CX Speech model // migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration). OptOutConformerModelMigration bool `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
Instructs the speech recognizer on how to process the audio content.
func (*InputAudioConfig) Descriptor
deprecated
func (*InputAudioConfig) Descriptor() ([]byte, []int)
Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead.
func (*InputAudioConfig) GetAudioEncoding ¶
func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding
func (*InputAudioConfig) GetBargeInConfig ¶ added in v1.45.0
func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfig
func (*InputAudioConfig) GetEnableWordInfo ¶
func (x *InputAudioConfig) GetEnableWordInfo() bool
func (*InputAudioConfig) GetModel ¶
func (x *InputAudioConfig) GetModel() string
func (*InputAudioConfig) GetModelVariant ¶
func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant
func (*InputAudioConfig) GetOptOutConformerModelMigration ¶ added in v1.49.0
func (x *InputAudioConfig) GetOptOutConformerModelMigration() bool
func (*InputAudioConfig) GetPhraseHints ¶
func (x *InputAudioConfig) GetPhraseHints() []string
func (*InputAudioConfig) GetSampleRateHertz ¶
func (x *InputAudioConfig) GetSampleRateHertz() int32
func (*InputAudioConfig) GetSingleUtterance ¶
func (x *InputAudioConfig) GetSingleUtterance() bool
func (*InputAudioConfig) ProtoMessage ¶
func (*InputAudioConfig) ProtoMessage()
func (*InputAudioConfig) ProtoReflect ¶
func (x *InputAudioConfig) ProtoReflect() protoreflect.Message
func (*InputAudioConfig) Reset ¶
func (x *InputAudioConfig) Reset()
func (*InputAudioConfig) String ¶
func (x *InputAudioConfig) String() string
type Intent ¶
type Intent struct { // The unique identifier of the intent. // Required for the // [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] // method. // [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent] // populates the name automatically. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the intent, unique within the agent. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The collection of training phrases the agent is trained on to identify the // intent. TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,3,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` // The collection of parameters associated with the intent. Parameters []*Intent_Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` // The priority of this intent. Higher numbers represent higher // priorities. // // - If the supplied value is unspecified or 0, the service // translates the value to 500,000, which corresponds to the // `Normal` priority in the console. // - If the supplied value is negative, the intent is ignored // in runtime detect intent requests. Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` // Indicates whether this is a fallback intent. Currently only default // fallback intent is allowed in the agent, which is added upon agent // creation. // Adding training phrases to fallback intent is useful in the case of // requests that are mistakenly matched, since training phrases assigned to // fallback intents act as negative examples that triggers no-match event. IsFallback bool `protobuf:"varint,6,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"` // The key/value metadata to label an intent. Labels can contain // lowercase letters, digits and the symbols '-' and '_'. International // characters are allowed, including letters from unicase alphabets. Keys must // start with a letter. Keys and values can be no longer than 63 characters // and no more than 128 bytes. // // Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed // Dialogflow defined labels include: // * sys-head // * sys-contextual // The above labels do not require value. "sys-head" means the intent is a // head intent. "sys.contextual" means the intent is a contextual intent. Labels map[string]string `` /* 153-byte string literal not displayed */ // Human readable description for better understanding an intent like its // scope, content, result etc. Maximum character limit: 140 characters. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
An intent represents a user's intent to interact with a conversational agent.
You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.
func (*Intent) Descriptor
deprecated
func (*Intent) GetDescription ¶
func (*Intent) GetDisplayName ¶
func (*Intent) GetIsFallback ¶
func (*Intent) GetParameters ¶
func (x *Intent) GetParameters() []*Intent_Parameter
func (*Intent) GetPriority ¶
func (*Intent) GetTrainingPhrases ¶
func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase
func (*Intent) ProtoMessage ¶
func (*Intent) ProtoMessage()
func (*Intent) ProtoReflect ¶
func (x *Intent) ProtoReflect() protoreflect.Message
type IntentCoverage ¶
type IntentCoverage struct { // The list of Intents present in the agent Intents []*IntentCoverage_Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` // The percent of intents in the agent that are covered. CoverageScore float32 `protobuf:"fixed32,2,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"` // contains filtered or unexported fields }
Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.
func (*IntentCoverage) Descriptor
deprecated
func (*IntentCoverage) Descriptor() ([]byte, []int)
Deprecated: Use IntentCoverage.ProtoReflect.Descriptor instead.
func (*IntentCoverage) GetCoverageScore ¶
func (x *IntentCoverage) GetCoverageScore() float32
func (*IntentCoverage) GetIntents ¶
func (x *IntentCoverage) GetIntents() []*IntentCoverage_Intent
func (*IntentCoverage) ProtoMessage ¶
func (*IntentCoverage) ProtoMessage()
func (*IntentCoverage) ProtoReflect ¶
func (x *IntentCoverage) ProtoReflect() protoreflect.Message
func (*IntentCoverage) Reset ¶
func (x *IntentCoverage) Reset()
func (*IntentCoverage) String ¶
func (x *IntentCoverage) String() string
type IntentCoverage_Intent ¶
type IntentCoverage_Intent struct { // The intent full resource name Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // Whether the intent is covered by at least one of the agent's // test cases. Covered bool `protobuf:"varint,2,opt,name=covered,proto3" json:"covered,omitempty"` // contains filtered or unexported fields }
The agent's intent.
func (*IntentCoverage_Intent) Descriptor
deprecated
func (*IntentCoverage_Intent) Descriptor() ([]byte, []int)
Deprecated: Use IntentCoverage_Intent.ProtoReflect.Descriptor instead.
func (*IntentCoverage_Intent) GetCovered ¶
func (x *IntentCoverage_Intent) GetCovered() bool
func (*IntentCoverage_Intent) GetIntent ¶
func (x *IntentCoverage_Intent) GetIntent() string
func (*IntentCoverage_Intent) ProtoMessage ¶
func (*IntentCoverage_Intent) ProtoMessage()
func (*IntentCoverage_Intent) ProtoReflect ¶
func (x *IntentCoverage_Intent) ProtoReflect() protoreflect.Message
func (*IntentCoverage_Intent) Reset ¶
func (x *IntentCoverage_Intent) Reset()
func (*IntentCoverage_Intent) String ¶
func (x *IntentCoverage_Intent) String() string
type IntentInput ¶
type IntentInput struct { // Required. The unique identifier of the intent. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // contains filtered or unexported fields }
Represents the intent to trigger programmatically rather than as a result of natural language processing.
func (*IntentInput) Descriptor
deprecated
func (*IntentInput) Descriptor() ([]byte, []int)
Deprecated: Use IntentInput.ProtoReflect.Descriptor instead.
func (*IntentInput) GetIntent ¶
func (x *IntentInput) GetIntent() string
func (*IntentInput) ProtoMessage ¶
func (*IntentInput) ProtoMessage()
func (*IntentInput) ProtoReflect ¶
func (x *IntentInput) ProtoReflect() protoreflect.Message
func (*IntentInput) Reset ¶
func (x *IntentInput) Reset()
func (*IntentInput) String ¶
func (x *IntentInput) String() string
type IntentView ¶
type IntentView int32
Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response.
const ( // Not specified. Treated as INTENT_VIEW_FULL. IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0 // Training phrases field is not populated in the response. IntentView_INTENT_VIEW_PARTIAL IntentView = 1 // All fields are populated. IntentView_INTENT_VIEW_FULL IntentView = 2 )
func (IntentView) Descriptor ¶
func (IntentView) Descriptor() protoreflect.EnumDescriptor
func (IntentView) Enum ¶
func (x IntentView) Enum() *IntentView
func (IntentView) EnumDescriptor
deprecated
func (IntentView) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntentView.Descriptor instead.
func (IntentView) Number ¶
func (x IntentView) Number() protoreflect.EnumNumber
func (IntentView) String ¶
func (x IntentView) String() string
func (IntentView) Type ¶
func (IntentView) Type() protoreflect.EnumType
type Intent_Parameter ¶
type Intent_Parameter struct { // Required. The unique identifier of the parameter. This field // is used by [training // phrases][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase] to annotate // their [parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part]. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Required. The entity type of the parameter. // Format: // `projects/-/locations/-/agents/-/entityTypes/<SystemEntityTypeID>` for // system entity types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/entityTypes/<EntityTypeID>` // for developer entity types. EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // Indicates whether the parameter represents a list of values. IsList bool `protobuf:"varint,3,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` // Indicates whether the parameter content should be redacted in log. If // redaction is enabled, the parameter content will be replaced by parameter // name during logging. // Note: the parameter content is subject to redaction if either parameter // level redaction or [entity type level // redaction][google.cloud.dialogflow.cx.v3.EntityType.redact] is enabled. Redact bool `protobuf:"varint,4,opt,name=redact,proto3" json:"redact,omitempty"` // contains filtered or unexported fields }
Represents an intent parameter.
func (*Intent_Parameter) Descriptor
deprecated
func (*Intent_Parameter) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Parameter.ProtoReflect.Descriptor instead.
func (*Intent_Parameter) GetEntityType ¶
func (x *Intent_Parameter) GetEntityType() string
func (*Intent_Parameter) GetId ¶
func (x *Intent_Parameter) GetId() string
func (*Intent_Parameter) GetIsList ¶
func (x *Intent_Parameter) GetIsList() bool
func (*Intent_Parameter) GetRedact ¶
func (x *Intent_Parameter) GetRedact() bool
func (*Intent_Parameter) ProtoMessage ¶
func (*Intent_Parameter) ProtoMessage()
func (*Intent_Parameter) ProtoReflect ¶
func (x *Intent_Parameter) ProtoReflect() protoreflect.Message
func (*Intent_Parameter) Reset ¶
func (x *Intent_Parameter) Reset()
func (*Intent_Parameter) String ¶
func (x *Intent_Parameter) String() string
type Intent_TrainingPhrase ¶
type Intent_TrainingPhrase struct { // Output only. The unique identifier of the training phrase. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Required. The ordered list of training phrase parts. // The parts are concatenated in order to form the training phrase. // // Note: The API does not automatically annotate training phrases like the // Dialogflow Console does. // // Note: Do not forget to include whitespace at part boundaries, so the // training phrase is well formatted when the parts are concatenated. // // If the training phrase does not need to be annotated with parameters, // you just need a single part with only the // [Part.text][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part.text] // field set. // // If you want to annotate the training phrase, you must create multiple // parts, where the fields of each part are populated in one of two ways: // // - `Part.text` is set to a part of the phrase that has no parameters. // - `Part.text` is set to a part of the phrase that you want to annotate, // and the `parameter_id` field is set. Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"` // Indicates how many times this example was added to the intent. RepeatCount int32 `protobuf:"varint,3,opt,name=repeat_count,json=repeatCount,proto3" json:"repeat_count,omitempty"` // contains filtered or unexported fields }
Represents an example that the agent is trained on to identify the intent.
func (*Intent_TrainingPhrase) Descriptor
deprecated
func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int)
Deprecated: Use Intent_TrainingPhrase.ProtoReflect.Descriptor instead.
func (*Intent_TrainingPhrase) GetId ¶
func (x *Intent_TrainingPhrase) GetId() string
func (*Intent_TrainingPhrase) GetParts ¶
func (x *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part
func (*Intent_TrainingPhrase) GetRepeatCount ¶
func (x *Intent_TrainingPhrase) GetRepeatCount() int32
func (*Intent_TrainingPhrase) ProtoMessage ¶
func (*Intent_TrainingPhrase) ProtoMessage()
func (*Intent_TrainingPhrase) ProtoReflect ¶
func (x *Intent_TrainingPhrase) ProtoReflect() protoreflect.Message
func (*Intent_TrainingPhrase) Reset ¶
func (x *Intent_TrainingPhrase) Reset()
func (*Intent_TrainingPhrase) String ¶
func (x *Intent_TrainingPhrase) String() string
type Intent_TrainingPhrase_Part ¶
type Intent_TrainingPhrase_Part struct { // Required. The text for this part. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] used to // annotate this part of the training phrase. This field is required for // annotated parts of the training phrase. ParameterId string `protobuf:"bytes,2,opt,name=parameter_id,json=parameterId,proto3" json:"parameter_id,omitempty"` // contains filtered or unexported fields }
Represents a part of a training phrase.
func (*Intent_TrainingPhrase_Part) Descriptor
deprecated
func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int)
Deprecated: Use Intent_TrainingPhrase_Part.ProtoReflect.Descriptor instead.
func (*Intent_TrainingPhrase_Part) GetParameterId ¶
func (x *Intent_TrainingPhrase_Part) GetParameterId() string
func (*Intent_TrainingPhrase_Part) GetText ¶
func (x *Intent_TrainingPhrase_Part) GetText() string
func (*Intent_TrainingPhrase_Part) ProtoMessage ¶
func (*Intent_TrainingPhrase_Part) ProtoMessage()
func (*Intent_TrainingPhrase_Part) ProtoReflect ¶
func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Message
func (*Intent_TrainingPhrase_Part) Reset ¶
func (x *Intent_TrainingPhrase_Part) Reset()
func (*Intent_TrainingPhrase_Part) String ¶
func (x *Intent_TrainingPhrase_Part) String() string
type IntentsClient ¶
type IntentsClient interface { // Returns the list of all intents in the specified agent. ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) // Retrieves the specified intent. GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) // Creates an intent in 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). CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) // Updates the specified intent. // // 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). UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) // Deletes the specified intent. // // 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). DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Imports the specified intents into the 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`: // [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] // - `response`: // [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse] ImportIntents(ctx context.Context, in *ImportIntentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Exports the selected intents. // // 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`: // [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] // - `response`: // [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse] ExportIntents(ctx context.Context, in *ExportIntentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
IntentsClient is the client API for Intents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIntentsClient ¶
func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient
type IntentsServer ¶
type IntentsServer interface { // Returns the list of all intents in the specified agent. ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) // Retrieves the specified intent. GetIntent(context.Context, *GetIntentRequest) (*Intent, error) // Creates an intent in 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). CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) // Updates the specified intent. // // 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). UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) // Deletes the specified intent. // // 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). DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) // Imports the specified intents into the 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`: // [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] // - `response`: // [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse] ImportIntents(context.Context, *ImportIntentsRequest) (*longrunningpb.Operation, error) // Exports the selected intents. // // 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`: // [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] // - `response`: // [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse] ExportIntents(context.Context, *ExportIntentsRequest) (*longrunningpb.Operation, error) }
IntentsServer is the server API for Intents service.
type KnowledgeConnectorSettings ¶ added in v1.43.0
type KnowledgeConnectorSettings struct { // Whether Knowledge Connector is enabled or not. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The fulfillment to be triggered. // // When the answers from the Knowledge Connector are selected by Dialogflow, // you can utitlize the request scoped parameter `$request.knowledge.answers` // (contains up to the 5 highest confidence answers) and // `$request.knowledge.questions` (contains the corresponding questions) to // construct the fulfillment. TriggerFulfillment *Fulfillment `protobuf:"bytes,3,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 // [KnowledgeConnectorSettings][google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings]), // or another flow in the same agent. // // Types that are assignable to Target: // // *KnowledgeConnectorSettings_TargetPage // *KnowledgeConnectorSettings_TargetFlow Target isKnowledgeConnectorSettings_Target `protobuf_oneof:"target"` // Optional. List of related data store connections. DataStoreConnections []*DataStoreConnection `protobuf:"bytes,6,rep,name=data_store_connections,json=dataStoreConnections,proto3" json:"data_store_connections,omitempty"` // contains filtered or unexported fields }
The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.
func (*KnowledgeConnectorSettings) Descriptor
deprecated
added in
v1.43.0
func (*KnowledgeConnectorSettings) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeConnectorSettings.ProtoReflect.Descriptor instead.
func (*KnowledgeConnectorSettings) GetDataStoreConnections ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) GetDataStoreConnections() []*DataStoreConnection
func (*KnowledgeConnectorSettings) GetEnabled ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) GetEnabled() bool
func (*KnowledgeConnectorSettings) GetTarget ¶ added in v1.43.0
func (m *KnowledgeConnectorSettings) GetTarget() isKnowledgeConnectorSettings_Target
func (*KnowledgeConnectorSettings) GetTargetFlow ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) GetTargetFlow() string
func (*KnowledgeConnectorSettings) GetTargetPage ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) GetTargetPage() string
func (*KnowledgeConnectorSettings) GetTriggerFulfillment ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) GetTriggerFulfillment() *Fulfillment
func (*KnowledgeConnectorSettings) ProtoMessage ¶ added in v1.43.0
func (*KnowledgeConnectorSettings) ProtoMessage()
func (*KnowledgeConnectorSettings) ProtoReflect ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) ProtoReflect() protoreflect.Message
func (*KnowledgeConnectorSettings) Reset ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) Reset()
func (*KnowledgeConnectorSettings) String ¶ added in v1.43.0
func (x *KnowledgeConnectorSettings) String() string
type KnowledgeConnectorSettings_TargetFlow ¶ added in v1.43.0
type KnowledgeConnectorSettings_TargetFlow struct { // The target flow to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. TargetFlow string `protobuf:"bytes,5,opt,name=target_flow,json=targetFlow,proto3,oneof"` }
type KnowledgeConnectorSettings_TargetPage ¶ added in v1.43.0
type KnowledgeConnectorSettings_TargetPage struct { // The target page to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. TargetPage string `protobuf:"bytes,4,opt,name=target_page,json=targetPage,proto3,oneof"` }
type LanguageInfo ¶ added in v1.55.0
type LanguageInfo struct { // The language code specified in the original // [request][google.cloud.dialogflow.cx.v3.QueryInput.language_code]. InputLanguageCode string `protobuf:"bytes,1,opt,name=input_language_code,json=inputLanguageCode,proto3" json:"input_language_code,omitempty"` // The language code detected for this request based on the user // conversation. ResolvedLanguageCode string `protobuf:"bytes,2,opt,name=resolved_language_code,json=resolvedLanguageCode,proto3" json:"resolved_language_code,omitempty"` // The confidence score of the detected language between 0 and 1. ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` // contains filtered or unexported fields }
Represents the language information of the request.
func (*LanguageInfo) Descriptor
deprecated
added in
v1.55.0
func (*LanguageInfo) Descriptor() ([]byte, []int)
Deprecated: Use LanguageInfo.ProtoReflect.Descriptor instead.
func (*LanguageInfo) GetConfidenceScore ¶ added in v1.55.0
func (x *LanguageInfo) GetConfidenceScore() float32
func (*LanguageInfo) GetInputLanguageCode ¶ added in v1.55.0
func (x *LanguageInfo) GetInputLanguageCode() string
func (*LanguageInfo) GetResolvedLanguageCode ¶ added in v1.55.0
func (x *LanguageInfo) GetResolvedLanguageCode() string
func (*LanguageInfo) ProtoMessage ¶ added in v1.55.0
func (*LanguageInfo) ProtoMessage()
func (*LanguageInfo) ProtoReflect ¶ added in v1.55.0
func (x *LanguageInfo) ProtoReflect() protoreflect.Message
func (*LanguageInfo) Reset ¶ added in v1.55.0
func (x *LanguageInfo) Reset()
func (*LanguageInfo) String ¶ added in v1.55.0
func (x *LanguageInfo) String() string
type ListAgentsRequest ¶
type ListAgentsRequest struct { // Required. The location to list all agents for. // Format: `projects/<ProjectID>/locations/<LocationID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents].
func (*ListAgentsRequest) Descriptor
deprecated
func (*ListAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentsRequest) GetPageSize ¶
func (x *ListAgentsRequest) GetPageSize() int32
func (*ListAgentsRequest) GetPageToken ¶
func (x *ListAgentsRequest) GetPageToken() string
func (*ListAgentsRequest) GetParent ¶
func (x *ListAgentsRequest) GetParent() string
func (*ListAgentsRequest) ProtoMessage ¶
func (*ListAgentsRequest) ProtoMessage()
func (*ListAgentsRequest) ProtoReflect ¶
func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message
func (*ListAgentsRequest) Reset ¶
func (x *ListAgentsRequest) Reset()
func (*ListAgentsRequest) String ¶
func (x *ListAgentsRequest) String() string
type ListAgentsResponse ¶
type ListAgentsResponse struct { // The list of agents. There will be a maximum number of items returned based // on the page_size field in the request. Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents].
func (*ListAgentsResponse) Descriptor
deprecated
func (*ListAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentsResponse) GetAgents ¶
func (x *ListAgentsResponse) GetAgents() []*Agent
func (*ListAgentsResponse) GetNextPageToken ¶
func (x *ListAgentsResponse) GetNextPageToken() string
func (*ListAgentsResponse) ProtoMessage ¶
func (*ListAgentsResponse) ProtoMessage()
func (*ListAgentsResponse) ProtoReflect ¶
func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message
func (*ListAgentsResponse) Reset ¶
func (x *ListAgentsResponse) Reset()
func (*ListAgentsResponse) String ¶
func (x *ListAgentsResponse) String() string
type ListChangelogsRequest ¶
type ListChangelogsRequest struct { // Required. The agent containing the changelogs. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The filter string. Supports filter by user_email, resource, type and // create_time. Some examples: // 1. By user email: // user_email = "someone@google.com" // 2. By resource name: // resource = "projects/123/locations/global/agents/456/flows/789" // 3. By resource display name: // display_name = "my agent" // 4. By action: // action = "Create" // 5. By type: // type = "flows" // 6. By create time. Currently predicates on `create_time` and // `create_time_epoch_seconds` are supported: // create_time_epoch_seconds > 1551790877 AND create_time <= // 2017-01-15T01:30:15.01Z // 7. Combination of above filters: // resource = "projects/123/locations/global/agents/456/flows/789" // AND user_email = "someone@google.com" // AND create_time <= 2017-01-15T01:30:15.01Z Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs].
func (*ListChangelogsRequest) Descriptor
deprecated
func (*ListChangelogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListChangelogsRequest.ProtoReflect.Descriptor instead.
func (*ListChangelogsRequest) GetFilter ¶
func (x *ListChangelogsRequest) GetFilter() string
func (*ListChangelogsRequest) GetPageSize ¶
func (x *ListChangelogsRequest) GetPageSize() int32
func (*ListChangelogsRequest) GetPageToken ¶
func (x *ListChangelogsRequest) GetPageToken() string
func (*ListChangelogsRequest) GetParent ¶
func (x *ListChangelogsRequest) GetParent() string
func (*ListChangelogsRequest) ProtoMessage ¶
func (*ListChangelogsRequest) ProtoMessage()
func (*ListChangelogsRequest) ProtoReflect ¶
func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Message
func (*ListChangelogsRequest) Reset ¶
func (x *ListChangelogsRequest) Reset()
func (*ListChangelogsRequest) String ¶
func (x *ListChangelogsRequest) String() string
type ListChangelogsResponse ¶
type ListChangelogsResponse struct { // The list of changelogs. There will be a maximum number of items returned // based on the page_size field in the request. The changelogs will be ordered // by timestamp. Changelogs []*Changelog `protobuf:"bytes,1,rep,name=changelogs,proto3" json:"changelogs,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs].
func (*ListChangelogsResponse) Descriptor
deprecated
func (*ListChangelogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListChangelogsResponse.ProtoReflect.Descriptor instead.
func (*ListChangelogsResponse) GetChangelogs ¶
func (x *ListChangelogsResponse) GetChangelogs() []*Changelog
func (*ListChangelogsResponse) GetNextPageToken ¶
func (x *ListChangelogsResponse) GetNextPageToken() string
func (*ListChangelogsResponse) ProtoMessage ¶
func (*ListChangelogsResponse) ProtoMessage()
func (*ListChangelogsResponse) ProtoReflect ¶
func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Message
func (*ListChangelogsResponse) Reset ¶
func (x *ListChangelogsResponse) Reset()
func (*ListChangelogsResponse) String ¶
func (x *ListChangelogsResponse) String() string
type ListContinuousTestResultsRequest ¶
type ListContinuousTestResultsRequest struct { // Required. The environment to list results for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults].
func (*ListContinuousTestResultsRequest) Descriptor
deprecated
func (*ListContinuousTestResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContinuousTestResultsRequest.ProtoReflect.Descriptor instead.
func (*ListContinuousTestResultsRequest) GetPageSize ¶
func (x *ListContinuousTestResultsRequest) GetPageSize() int32
func (*ListContinuousTestResultsRequest) GetPageToken ¶
func (x *ListContinuousTestResultsRequest) GetPageToken() string
func (*ListContinuousTestResultsRequest) GetParent ¶
func (x *ListContinuousTestResultsRequest) GetParent() string
func (*ListContinuousTestResultsRequest) ProtoMessage ¶
func (*ListContinuousTestResultsRequest) ProtoMessage()
func (*ListContinuousTestResultsRequest) ProtoReflect ¶
func (x *ListContinuousTestResultsRequest) ProtoReflect() protoreflect.Message
func (*ListContinuousTestResultsRequest) Reset ¶
func (x *ListContinuousTestResultsRequest) Reset()
func (*ListContinuousTestResultsRequest) String ¶
func (x *ListContinuousTestResultsRequest) String() string
type ListContinuousTestResultsResponse ¶
type ListContinuousTestResultsResponse struct { // The list of continuous test results. ContinuousTestResults []*ContinuousTestResult `` /* 126-byte string literal not displayed */ // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.ListTestCaseResults][].
func (*ListContinuousTestResultsResponse) Descriptor
deprecated
func (*ListContinuousTestResultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContinuousTestResultsResponse.ProtoReflect.Descriptor instead.
func (*ListContinuousTestResultsResponse) GetContinuousTestResults ¶
func (x *ListContinuousTestResultsResponse) GetContinuousTestResults() []*ContinuousTestResult
func (*ListContinuousTestResultsResponse) GetNextPageToken ¶
func (x *ListContinuousTestResultsResponse) GetNextPageToken() string
func (*ListContinuousTestResultsResponse) ProtoMessage ¶
func (*ListContinuousTestResultsResponse) ProtoMessage()
func (*ListContinuousTestResultsResponse) ProtoReflect ¶
func (x *ListContinuousTestResultsResponse) ProtoReflect() protoreflect.Message
func (*ListContinuousTestResultsResponse) Reset ¶
func (x *ListContinuousTestResultsResponse) Reset()
func (*ListContinuousTestResultsResponse) String ¶
func (x *ListContinuousTestResultsResponse) String() string
type ListDeploymentsRequest ¶
type ListDeploymentsRequest struct { // Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to // list all environments for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 20 and // at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments].
func (*ListDeploymentsRequest) Descriptor
deprecated
func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListDeploymentsRequest) GetPageSize ¶
func (x *ListDeploymentsRequest) GetPageSize() int32
func (*ListDeploymentsRequest) GetPageToken ¶
func (x *ListDeploymentsRequest) GetPageToken() string
func (*ListDeploymentsRequest) GetParent ¶
func (x *ListDeploymentsRequest) GetParent() string
func (*ListDeploymentsRequest) ProtoMessage ¶
func (*ListDeploymentsRequest) ProtoMessage()
func (*ListDeploymentsRequest) ProtoReflect ¶
func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Message
func (*ListDeploymentsRequest) Reset ¶
func (x *ListDeploymentsRequest) Reset()
func (*ListDeploymentsRequest) String ¶
func (x *ListDeploymentsRequest) String() string
type ListDeploymentsResponse ¶
type ListDeploymentsResponse struct { // The list of deployments. There will be a maximum number of items // returned based on the page_size field in the request. The list may in some // cases be empty or contain fewer entries than page_size even if this isn't // the last page. Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments].
func (*ListDeploymentsResponse) Descriptor
deprecated
func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListDeploymentsResponse) GetDeployments ¶
func (x *ListDeploymentsResponse) GetDeployments() []*Deployment
func (*ListDeploymentsResponse) GetNextPageToken ¶
func (x *ListDeploymentsResponse) GetNextPageToken() string
func (*ListDeploymentsResponse) ProtoMessage ¶
func (*ListDeploymentsResponse) ProtoMessage()
func (*ListDeploymentsResponse) ProtoReflect ¶
func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Message
func (*ListDeploymentsResponse) Reset ¶
func (x *ListDeploymentsResponse) Reset()
func (*ListDeploymentsResponse) String ¶
func (x *ListDeploymentsResponse) String() string
type ListEntityTypesRequest ¶
type ListEntityTypesRequest struct { // Required. The agent to list all entity types for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The language to list entity types for. The following fields are language // dependent: // // * `EntityType.entities.value` // * `EntityType.entities.synonyms` // * `EntityType.excluded_phrases.value` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes].
func (*ListEntityTypesRequest) Descriptor
deprecated
func (*ListEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ListEntityTypesRequest) GetLanguageCode ¶
func (x *ListEntityTypesRequest) GetLanguageCode() string
func (*ListEntityTypesRequest) GetPageSize ¶
func (x *ListEntityTypesRequest) GetPageSize() int32
func (*ListEntityTypesRequest) GetPageToken ¶
func (x *ListEntityTypesRequest) GetPageToken() string
func (*ListEntityTypesRequest) GetParent ¶
func (x *ListEntityTypesRequest) GetParent() string
func (*ListEntityTypesRequest) ProtoMessage ¶
func (*ListEntityTypesRequest) ProtoMessage()
func (*ListEntityTypesRequest) ProtoReflect ¶
func (x *ListEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*ListEntityTypesRequest) Reset ¶
func (x *ListEntityTypesRequest) Reset()
func (*ListEntityTypesRequest) String ¶
func (x *ListEntityTypesRequest) String() string
type ListEntityTypesResponse ¶
type ListEntityTypesResponse struct { // The list of entity types. There will be a maximum number of items returned // based on the page_size field in the request. EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes].
func (*ListEntityTypesResponse) Descriptor
deprecated
func (*ListEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ListEntityTypesResponse) GetEntityTypes ¶
func (x *ListEntityTypesResponse) GetEntityTypes() []*EntityType
func (*ListEntityTypesResponse) GetNextPageToken ¶
func (x *ListEntityTypesResponse) GetNextPageToken() string
func (*ListEntityTypesResponse) ProtoMessage ¶
func (*ListEntityTypesResponse) ProtoMessage()
func (*ListEntityTypesResponse) ProtoReflect ¶
func (x *ListEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*ListEntityTypesResponse) Reset ¶
func (x *ListEntityTypesResponse) Reset()
func (*ListEntityTypesResponse) String ¶
func (x *ListEntityTypesResponse) String() string
type ListEnvironmentsRequest ¶
type ListEnvironmentsRequest struct { // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to list all // environments for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 20 and // at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments].
func (*ListEnvironmentsRequest) Descriptor
deprecated
func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsRequest) GetPageSize ¶
func (x *ListEnvironmentsRequest) GetPageSize() int32
func (*ListEnvironmentsRequest) GetPageToken ¶
func (x *ListEnvironmentsRequest) GetPageToken() string
func (*ListEnvironmentsRequest) GetParent ¶
func (x *ListEnvironmentsRequest) GetParent() string
func (*ListEnvironmentsRequest) ProtoMessage ¶
func (*ListEnvironmentsRequest) ProtoMessage()
func (*ListEnvironmentsRequest) ProtoReflect ¶
func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message
func (*ListEnvironmentsRequest) Reset ¶
func (x *ListEnvironmentsRequest) Reset()
func (*ListEnvironmentsRequest) String ¶
func (x *ListEnvironmentsRequest) String() string
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { // The list of environments. There will be a maximum number of items // returned based on the page_size field in the request. The list may in some // cases be empty or contain fewer entries than page_size even if this isn't // the last page. Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments].
func (*ListEnvironmentsResponse) Descriptor
deprecated
func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsResponse) GetEnvironments ¶
func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment
func (*ListEnvironmentsResponse) GetNextPageToken ¶
func (x *ListEnvironmentsResponse) GetNextPageToken() string
func (*ListEnvironmentsResponse) ProtoMessage ¶
func (*ListEnvironmentsResponse) ProtoMessage()
func (*ListEnvironmentsResponse) ProtoReflect ¶
func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message
func (*ListEnvironmentsResponse) Reset ¶
func (x *ListEnvironmentsResponse) Reset()
func (*ListEnvironmentsResponse) String ¶
func (x *ListEnvironmentsResponse) String() string
type ListExperimentsRequest ¶
type ListExperimentsRequest struct { // Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to // list all environments for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 20 and // at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments].
func (*ListExperimentsRequest) Descriptor
deprecated
func (*ListExperimentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListExperimentsRequest.ProtoReflect.Descriptor instead.
func (*ListExperimentsRequest) GetPageSize ¶
func (x *ListExperimentsRequest) GetPageSize() int32
func (*ListExperimentsRequest) GetPageToken ¶
func (x *ListExperimentsRequest) GetPageToken() string
func (*ListExperimentsRequest) GetParent ¶
func (x *ListExperimentsRequest) GetParent() string
func (*ListExperimentsRequest) ProtoMessage ¶
func (*ListExperimentsRequest) ProtoMessage()
func (*ListExperimentsRequest) ProtoReflect ¶
func (x *ListExperimentsRequest) ProtoReflect() protoreflect.Message
func (*ListExperimentsRequest) Reset ¶
func (x *ListExperimentsRequest) Reset()
func (*ListExperimentsRequest) String ¶
func (x *ListExperimentsRequest) String() string
type ListExperimentsResponse ¶
type ListExperimentsResponse struct { // The list of experiments. There will be a maximum number of items // returned based on the page_size field in the request. The list may in some // cases be empty or contain fewer entries than page_size even if this isn't // the last page. Experiments []*Experiment `protobuf:"bytes,1,rep,name=experiments,proto3" json:"experiments,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments].
func (*ListExperimentsResponse) Descriptor
deprecated
func (*ListExperimentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListExperimentsResponse.ProtoReflect.Descriptor instead.
func (*ListExperimentsResponse) GetExperiments ¶
func (x *ListExperimentsResponse) GetExperiments() []*Experiment
func (*ListExperimentsResponse) GetNextPageToken ¶
func (x *ListExperimentsResponse) GetNextPageToken() string
func (*ListExperimentsResponse) ProtoMessage ¶
func (*ListExperimentsResponse) ProtoMessage()
func (*ListExperimentsResponse) ProtoReflect ¶
func (x *ListExperimentsResponse) ProtoReflect() protoreflect.Message
func (*ListExperimentsResponse) Reset ¶
func (x *ListExperimentsResponse) Reset()
func (*ListExperimentsResponse) String ¶
func (x *ListExperimentsResponse) String() string
type ListFlowsRequest ¶
type ListFlowsRequest struct { // Required. The agent containing the flows. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The language to list flows for. The following fields are language // dependent: // // * `Flow.event_handlers.trigger_fulfillment.messages` // * `Flow.event_handlers.trigger_fulfillment.conditional_cases` // * `Flow.transition_routes.trigger_fulfillment.messages` // * `Flow.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
func (*ListFlowsRequest) Descriptor
deprecated
func (*ListFlowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFlowsRequest.ProtoReflect.Descriptor instead.
func (*ListFlowsRequest) GetLanguageCode ¶
func (x *ListFlowsRequest) GetLanguageCode() string
func (*ListFlowsRequest) GetPageSize ¶
func (x *ListFlowsRequest) GetPageSize() int32
func (*ListFlowsRequest) GetPageToken ¶
func (x *ListFlowsRequest) GetPageToken() string
func (*ListFlowsRequest) GetParent ¶
func (x *ListFlowsRequest) GetParent() string
func (*ListFlowsRequest) ProtoMessage ¶
func (*ListFlowsRequest) ProtoMessage()
func (*ListFlowsRequest) ProtoReflect ¶
func (x *ListFlowsRequest) ProtoReflect() protoreflect.Message
func (*ListFlowsRequest) Reset ¶
func (x *ListFlowsRequest) Reset()
func (*ListFlowsRequest) String ¶
func (x *ListFlowsRequest) String() string
type ListFlowsResponse ¶
type ListFlowsResponse struct { // The list of flows. There will be a maximum number of items returned based // on the page_size field in the request. Flows []*Flow `protobuf:"bytes,1,rep,name=flows,proto3" json:"flows,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
func (*ListFlowsResponse) Descriptor
deprecated
func (*ListFlowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFlowsResponse.ProtoReflect.Descriptor instead.
func (*ListFlowsResponse) GetFlows ¶
func (x *ListFlowsResponse) GetFlows() []*Flow
func (*ListFlowsResponse) GetNextPageToken ¶
func (x *ListFlowsResponse) GetNextPageToken() string
func (*ListFlowsResponse) ProtoMessage ¶
func (*ListFlowsResponse) ProtoMessage()
func (*ListFlowsResponse) ProtoReflect ¶
func (x *ListFlowsResponse) ProtoReflect() protoreflect.Message
func (*ListFlowsResponse) Reset ¶
func (x *ListFlowsResponse) Reset()
func (*ListFlowsResponse) String ¶
func (x *ListFlowsResponse) String() string
type ListGeneratorsRequest ¶ added in v1.47.0
type ListGeneratorsRequest struct { // Required. The agent to list all generators for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The language to list generators for. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Generators.ListGenerators][google.cloud.dialogflow.cx.v3.Generators.ListGenerators].
func (*ListGeneratorsRequest) Descriptor
deprecated
added in
v1.47.0
func (*ListGeneratorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGeneratorsRequest.ProtoReflect.Descriptor instead.
func (*ListGeneratorsRequest) GetLanguageCode ¶ added in v1.47.0
func (x *ListGeneratorsRequest) GetLanguageCode() string
func (*ListGeneratorsRequest) GetPageSize ¶ added in v1.47.0
func (x *ListGeneratorsRequest) GetPageSize() int32
func (*ListGeneratorsRequest) GetPageToken ¶ added in v1.47.0
func (x *ListGeneratorsRequest) GetPageToken() string
func (*ListGeneratorsRequest) GetParent ¶ added in v1.47.0
func (x *ListGeneratorsRequest) GetParent() string
func (*ListGeneratorsRequest) ProtoMessage ¶ added in v1.47.0
func (*ListGeneratorsRequest) ProtoMessage()
func (*ListGeneratorsRequest) ProtoReflect ¶ added in v1.47.0
func (x *ListGeneratorsRequest) ProtoReflect() protoreflect.Message
func (*ListGeneratorsRequest) Reset ¶ added in v1.47.0
func (x *ListGeneratorsRequest) Reset()
func (*ListGeneratorsRequest) String ¶ added in v1.47.0
func (x *ListGeneratorsRequest) String() string
type ListGeneratorsResponse ¶ added in v1.47.0
type ListGeneratorsResponse struct { // The list of generators. There will be a maximum number of items returned // based on the page_size field in the request. Generators []*Generator `protobuf:"bytes,1,rep,name=generators,proto3" json:"generators,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Generators.ListGenerators][google.cloud.dialogflow.cx.v3.Generators.ListGenerators].
func (*ListGeneratorsResponse) Descriptor
deprecated
added in
v1.47.0
func (*ListGeneratorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGeneratorsResponse.ProtoReflect.Descriptor instead.
func (*ListGeneratorsResponse) GetGenerators ¶ added in v1.47.0
func (x *ListGeneratorsResponse) GetGenerators() []*Generator
func (*ListGeneratorsResponse) GetNextPageToken ¶ added in v1.47.0
func (x *ListGeneratorsResponse) GetNextPageToken() string
func (*ListGeneratorsResponse) ProtoMessage ¶ added in v1.47.0
func (*ListGeneratorsResponse) ProtoMessage()
func (*ListGeneratorsResponse) ProtoReflect ¶ added in v1.47.0
func (x *ListGeneratorsResponse) ProtoReflect() protoreflect.Message
func (*ListGeneratorsResponse) Reset ¶ added in v1.47.0
func (x *ListGeneratorsResponse) Reset()
func (*ListGeneratorsResponse) String ¶ added in v1.47.0
func (x *ListGeneratorsResponse) String() string
type ListIntentsRequest ¶
type ListIntentsRequest struct { // Required. The agent to list all intents for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The language to list intents for. The following fields are language // dependent: // // * `Intent.training_phrases.parts.text` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The resource view to apply to the returned intent. IntentView IntentView `` /* 138-byte string literal not displayed */ // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents].
func (*ListIntentsRequest) Descriptor
deprecated
func (*ListIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIntentsRequest.ProtoReflect.Descriptor instead.
func (*ListIntentsRequest) GetIntentView ¶
func (x *ListIntentsRequest) GetIntentView() IntentView
func (*ListIntentsRequest) GetLanguageCode ¶
func (x *ListIntentsRequest) GetLanguageCode() string
func (*ListIntentsRequest) GetPageSize ¶
func (x *ListIntentsRequest) GetPageSize() int32
func (*ListIntentsRequest) GetPageToken ¶
func (x *ListIntentsRequest) GetPageToken() string
func (*ListIntentsRequest) GetParent ¶
func (x *ListIntentsRequest) GetParent() string
func (*ListIntentsRequest) ProtoMessage ¶
func (*ListIntentsRequest) ProtoMessage()
func (*ListIntentsRequest) ProtoReflect ¶
func (x *ListIntentsRequest) ProtoReflect() protoreflect.Message
func (*ListIntentsRequest) Reset ¶
func (x *ListIntentsRequest) Reset()
func (*ListIntentsRequest) String ¶
func (x *ListIntentsRequest) String() string
type ListIntentsResponse ¶
type ListIntentsResponse struct { // The list of intents. There will be a maximum number of items returned based // on the page_size field in the request. Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents].
func (*ListIntentsResponse) Descriptor
deprecated
func (*ListIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIntentsResponse.ProtoReflect.Descriptor instead.
func (*ListIntentsResponse) GetIntents ¶
func (x *ListIntentsResponse) GetIntents() []*Intent
func (*ListIntentsResponse) GetNextPageToken ¶
func (x *ListIntentsResponse) GetNextPageToken() string
func (*ListIntentsResponse) ProtoMessage ¶
func (*ListIntentsResponse) ProtoMessage()
func (*ListIntentsResponse) ProtoReflect ¶
func (x *ListIntentsResponse) ProtoReflect() protoreflect.Message
func (*ListIntentsResponse) Reset ¶
func (x *ListIntentsResponse) Reset()
func (*ListIntentsResponse) String ¶
func (x *ListIntentsResponse) String() string
type ListPagesRequest ¶
type ListPagesRequest struct { // Required. The flow to list all pages for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The language to list pages for. The following fields are language // dependent: // // * `Page.entry_fulfillment.messages` // * `Page.entry_fulfillment.conditional_cases` // * `Page.event_handlers.trigger_fulfillment.messages` // * `Page.event_handlers.trigger_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` // * // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` // * // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` // * `Page.transition_routes.trigger_fulfillment.messages` // * `Page.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages].
func (*ListPagesRequest) Descriptor
deprecated
func (*ListPagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPagesRequest.ProtoReflect.Descriptor instead.
func (*ListPagesRequest) GetLanguageCode ¶
func (x *ListPagesRequest) GetLanguageCode() string
func (*ListPagesRequest) GetPageSize ¶
func (x *ListPagesRequest) GetPageSize() int32
func (*ListPagesRequest) GetPageToken ¶
func (x *ListPagesRequest) GetPageToken() string
func (*ListPagesRequest) GetParent ¶
func (x *ListPagesRequest) GetParent() string
func (*ListPagesRequest) ProtoMessage ¶
func (*ListPagesRequest) ProtoMessage()
func (*ListPagesRequest) ProtoReflect ¶
func (x *ListPagesRequest) ProtoReflect() protoreflect.Message
func (*ListPagesRequest) Reset ¶
func (x *ListPagesRequest) Reset()
func (*ListPagesRequest) String ¶
func (x *ListPagesRequest) String() string
type ListPagesResponse ¶
type ListPagesResponse struct { // The list of pages. There will be a maximum number of items returned based // on the page_size field in the request. Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages].
func (*ListPagesResponse) Descriptor
deprecated
func (*ListPagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPagesResponse.ProtoReflect.Descriptor instead.
func (*ListPagesResponse) GetNextPageToken ¶
func (x *ListPagesResponse) GetNextPageToken() string
func (*ListPagesResponse) GetPages ¶
func (x *ListPagesResponse) GetPages() []*Page
func (*ListPagesResponse) ProtoMessage ¶
func (*ListPagesResponse) ProtoMessage()
func (*ListPagesResponse) ProtoReflect ¶
func (x *ListPagesResponse) ProtoReflect() protoreflect.Message
func (*ListPagesResponse) Reset ¶
func (x *ListPagesResponse) Reset()
func (*ListPagesResponse) String ¶
func (x *ListPagesResponse) String() string
type ListSecuritySettingsRequest ¶
type ListSecuritySettingsRequest struct { // Required. The location to list all security settings for. // Format: `projects/<ProjectID>/locations/<LocationID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 20 and // at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [SecuritySettings.ListSecuritySettings][].
func (*ListSecuritySettingsRequest) Descriptor
deprecated
func (*ListSecuritySettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*ListSecuritySettingsRequest) GetPageSize ¶
func (x *ListSecuritySettingsRequest) GetPageSize() int32
func (*ListSecuritySettingsRequest) GetPageToken ¶
func (x *ListSecuritySettingsRequest) GetPageToken() string
func (*ListSecuritySettingsRequest) GetParent ¶
func (x *ListSecuritySettingsRequest) GetParent() string
func (*ListSecuritySettingsRequest) ProtoMessage ¶
func (*ListSecuritySettingsRequest) ProtoMessage()
func (*ListSecuritySettingsRequest) ProtoReflect ¶
func (x *ListSecuritySettingsRequest) ProtoReflect() protoreflect.Message
func (*ListSecuritySettingsRequest) Reset ¶
func (x *ListSecuritySettingsRequest) Reset()
func (*ListSecuritySettingsRequest) String ¶
func (x *ListSecuritySettingsRequest) String() string
type ListSecuritySettingsResponse ¶
type ListSecuritySettingsResponse struct { // The list of security settings. SecuritySettings []*SecuritySettings `protobuf:"bytes,1,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [SecuritySettings.ListSecuritySettings][].
func (*ListSecuritySettingsResponse) Descriptor
deprecated
func (*ListSecuritySettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecuritySettingsResponse.ProtoReflect.Descriptor instead.
func (*ListSecuritySettingsResponse) GetNextPageToken ¶
func (x *ListSecuritySettingsResponse) GetNextPageToken() string
func (*ListSecuritySettingsResponse) GetSecuritySettings ¶
func (x *ListSecuritySettingsResponse) GetSecuritySettings() []*SecuritySettings
func (*ListSecuritySettingsResponse) ProtoMessage ¶
func (*ListSecuritySettingsResponse) ProtoMessage()
func (*ListSecuritySettingsResponse) ProtoReflect ¶
func (x *ListSecuritySettingsResponse) ProtoReflect() protoreflect.Message
func (*ListSecuritySettingsResponse) Reset ¶
func (x *ListSecuritySettingsResponse) Reset()
func (*ListSecuritySettingsResponse) String ¶
func (x *ListSecuritySettingsResponse) String() string
type ListSessionEntityTypesRequest ¶
type ListSessionEntityTypesRequest struct { // Required. The session to list all session entity types from. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].
func (*ListSessionEntityTypesRequest) Descriptor
deprecated
func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ListSessionEntityTypesRequest) GetPageSize ¶
func (x *ListSessionEntityTypesRequest) GetPageSize() int32
func (*ListSessionEntityTypesRequest) GetPageToken ¶
func (x *ListSessionEntityTypesRequest) GetPageToken() string
func (*ListSessionEntityTypesRequest) GetParent ¶
func (x *ListSessionEntityTypesRequest) GetParent() string
func (*ListSessionEntityTypesRequest) ProtoMessage ¶
func (*ListSessionEntityTypesRequest) ProtoMessage()
func (*ListSessionEntityTypesRequest) ProtoReflect ¶
func (x *ListSessionEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*ListSessionEntityTypesRequest) Reset ¶
func (x *ListSessionEntityTypesRequest) Reset()
func (*ListSessionEntityTypesRequest) String ¶
func (x *ListSessionEntityTypesRequest) String() string
type ListSessionEntityTypesResponse ¶
type ListSessionEntityTypesResponse struct { // The list of session entity types. There will be a maximum number of items // returned based on the page_size field in the request. SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].
func (*ListSessionEntityTypesResponse) Descriptor
deprecated
func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ListSessionEntityTypesResponse) GetNextPageToken ¶
func (x *ListSessionEntityTypesResponse) GetNextPageToken() string
func (*ListSessionEntityTypesResponse) GetSessionEntityTypes ¶
func (x *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType
func (*ListSessionEntityTypesResponse) ProtoMessage ¶
func (*ListSessionEntityTypesResponse) ProtoMessage()
func (*ListSessionEntityTypesResponse) ProtoReflect ¶
func (x *ListSessionEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*ListSessionEntityTypesResponse) Reset ¶
func (x *ListSessionEntityTypesResponse) Reset()
func (*ListSessionEntityTypesResponse) String ¶
func (x *ListSessionEntityTypesResponse) String() string
type ListTestCaseResultsRequest ¶
type ListTestCaseResultsRequest struct { // Required. The test case to list results for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. // Specify a `-` as a wildcard for TestCase ID to // // list results across multiple test cases. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The filter expression used to filter test case results. See // [API Filtering](https://aip.dev/160). // // The expression is case insensitive. Only 'AND' is supported for logical // operators. The supported syntax is listed below in detail: // // <field> <operator> <value> [AND <field> <operator> <value>] ... // [AND latest] // // The supported fields and operators are: // field operator // `environment` `=`, `IN` (Use value `draft` for draft environment) // `test_time` `>`, `<` // // `latest` only returns the latest test result in all results for each test // case. // // Examples: // - "environment=draft AND latest" matches the latest test result for each // test case in the draft environment. // - "environment IN (e1,e2)" matches any test case results with an // environment resource name of either "e1" or "e2". // - "test_time > 1602540713" matches any test case results with test time // later than a unix timestamp in seconds 1602540713. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults].
func (*ListTestCaseResultsRequest) Descriptor
deprecated
func (*ListTestCaseResultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTestCaseResultsRequest.ProtoReflect.Descriptor instead.
func (*ListTestCaseResultsRequest) GetFilter ¶
func (x *ListTestCaseResultsRequest) GetFilter() string
func (*ListTestCaseResultsRequest) GetPageSize ¶
func (x *ListTestCaseResultsRequest) GetPageSize() int32
func (*ListTestCaseResultsRequest) GetPageToken ¶
func (x *ListTestCaseResultsRequest) GetPageToken() string
func (*ListTestCaseResultsRequest) GetParent ¶
func (x *ListTestCaseResultsRequest) GetParent() string
func (*ListTestCaseResultsRequest) ProtoMessage ¶
func (*ListTestCaseResultsRequest) ProtoMessage()
func (*ListTestCaseResultsRequest) ProtoReflect ¶
func (x *ListTestCaseResultsRequest) ProtoReflect() protoreflect.Message
func (*ListTestCaseResultsRequest) Reset ¶
func (x *ListTestCaseResultsRequest) Reset()
func (*ListTestCaseResultsRequest) String ¶
func (x *ListTestCaseResultsRequest) String() string
type ListTestCaseResultsResponse ¶
type ListTestCaseResultsResponse struct { // The list of test case results. TestCaseResults []*TestCaseResult `protobuf:"bytes,1,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults].
func (*ListTestCaseResultsResponse) Descriptor
deprecated
func (*ListTestCaseResultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTestCaseResultsResponse.ProtoReflect.Descriptor instead.
func (*ListTestCaseResultsResponse) GetNextPageToken ¶
func (x *ListTestCaseResultsResponse) GetNextPageToken() string
func (*ListTestCaseResultsResponse) GetTestCaseResults ¶
func (x *ListTestCaseResultsResponse) GetTestCaseResults() []*TestCaseResult
func (*ListTestCaseResultsResponse) ProtoMessage ¶
func (*ListTestCaseResultsResponse) ProtoMessage()
func (*ListTestCaseResultsResponse) ProtoReflect ¶
func (x *ListTestCaseResultsResponse) ProtoReflect() protoreflect.Message
func (*ListTestCaseResultsResponse) Reset ¶
func (x *ListTestCaseResultsResponse) Reset()
func (*ListTestCaseResultsResponse) String ¶
func (x *ListTestCaseResultsResponse) String() string
type ListTestCasesRequest ¶
type ListTestCasesRequest struct { // Required. The agent to list all pages for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 20. // Note that when TestCaseView = FULL, the maximum page size allowed is 20. // When TestCaseView = BASIC, the maximum page size allowed is 500. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Specifies whether response should include all fields or just the metadata. View ListTestCasesRequest_TestCaseView `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases].
func (*ListTestCasesRequest) Descriptor
deprecated
func (*ListTestCasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTestCasesRequest.ProtoReflect.Descriptor instead.
func (*ListTestCasesRequest) GetPageSize ¶
func (x *ListTestCasesRequest) GetPageSize() int32
func (*ListTestCasesRequest) GetPageToken ¶
func (x *ListTestCasesRequest) GetPageToken() string
func (*ListTestCasesRequest) GetParent ¶
func (x *ListTestCasesRequest) GetParent() string
func (*ListTestCasesRequest) GetView ¶
func (x *ListTestCasesRequest) GetView() ListTestCasesRequest_TestCaseView
func (*ListTestCasesRequest) ProtoMessage ¶
func (*ListTestCasesRequest) ProtoMessage()
func (*ListTestCasesRequest) ProtoReflect ¶
func (x *ListTestCasesRequest) ProtoReflect() protoreflect.Message
func (*ListTestCasesRequest) Reset ¶
func (x *ListTestCasesRequest) Reset()
func (*ListTestCasesRequest) String ¶
func (x *ListTestCasesRequest) String() string
type ListTestCasesRequest_TestCaseView ¶
type ListTestCasesRequest_TestCaseView int32
Specifies how much test case information to include in the response.
const ( // The default / unset value. // The API will default to the BASIC view. ListTestCasesRequest_TEST_CASE_VIEW_UNSPECIFIED ListTestCasesRequest_TestCaseView = 0 // Include basic metadata about the test case, but not the conversation // turns. This is the default value. ListTestCasesRequest_BASIC ListTestCasesRequest_TestCaseView = 1 // Include everything. ListTestCasesRequest_FULL ListTestCasesRequest_TestCaseView = 2 )
func (ListTestCasesRequest_TestCaseView) Descriptor ¶
func (ListTestCasesRequest_TestCaseView) Descriptor() protoreflect.EnumDescriptor
func (ListTestCasesRequest_TestCaseView) Enum ¶
func (x ListTestCasesRequest_TestCaseView) Enum() *ListTestCasesRequest_TestCaseView
func (ListTestCasesRequest_TestCaseView) EnumDescriptor
deprecated
func (ListTestCasesRequest_TestCaseView) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListTestCasesRequest_TestCaseView.Descriptor instead.
func (ListTestCasesRequest_TestCaseView) Number ¶
func (x ListTestCasesRequest_TestCaseView) Number() protoreflect.EnumNumber
func (ListTestCasesRequest_TestCaseView) String ¶
func (x ListTestCasesRequest_TestCaseView) String() string
func (ListTestCasesRequest_TestCaseView) Type ¶
func (ListTestCasesRequest_TestCaseView) Type() protoreflect.EnumType
type ListTestCasesResponse ¶
type ListTestCasesResponse struct { // The list of test cases. There will be a maximum number of items returned // based on the page_size field in the request. TestCases []*TestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases].
func (*ListTestCasesResponse) Descriptor
deprecated
func (*ListTestCasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTestCasesResponse.ProtoReflect.Descriptor instead.
func (*ListTestCasesResponse) GetNextPageToken ¶
func (x *ListTestCasesResponse) GetNextPageToken() string
func (*ListTestCasesResponse) GetTestCases ¶
func (x *ListTestCasesResponse) GetTestCases() []*TestCase
func (*ListTestCasesResponse) ProtoMessage ¶
func (*ListTestCasesResponse) ProtoMessage()
func (*ListTestCasesResponse) ProtoReflect ¶
func (x *ListTestCasesResponse) ProtoReflect() protoreflect.Message
func (*ListTestCasesResponse) Reset ¶
func (x *ListTestCasesResponse) Reset()
func (*ListTestCasesResponse) String ¶
func (x *ListTestCasesResponse) String() string
type ListTransitionRouteGroupsRequest ¶
type ListTransitionRouteGroupsRequest struct { // Required. The flow to list all transition route groups for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>` // // or `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The language to list transition route groups for. The following fields are // language dependent: // // * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` // * // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].
func (*ListTransitionRouteGroupsRequest) Descriptor
deprecated
func (*ListTransitionRouteGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransitionRouteGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListTransitionRouteGroupsRequest) GetLanguageCode ¶
func (x *ListTransitionRouteGroupsRequest) GetLanguageCode() string
func (*ListTransitionRouteGroupsRequest) GetPageSize ¶
func (x *ListTransitionRouteGroupsRequest) GetPageSize() int32
func (*ListTransitionRouteGroupsRequest) GetPageToken ¶
func (x *ListTransitionRouteGroupsRequest) GetPageToken() string
func (*ListTransitionRouteGroupsRequest) GetParent ¶
func (x *ListTransitionRouteGroupsRequest) GetParent() string
func (*ListTransitionRouteGroupsRequest) ProtoMessage ¶
func (*ListTransitionRouteGroupsRequest) ProtoMessage()
func (*ListTransitionRouteGroupsRequest) ProtoReflect ¶
func (x *ListTransitionRouteGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListTransitionRouteGroupsRequest) Reset ¶
func (x *ListTransitionRouteGroupsRequest) Reset()
func (*ListTransitionRouteGroupsRequest) String ¶
func (x *ListTransitionRouteGroupsRequest) String() string
type ListTransitionRouteGroupsResponse ¶
type ListTransitionRouteGroupsResponse struct { // The list of transition route groups. There will be a maximum number of // items returned based on the page_size field in the request. The list may in // some cases be empty or contain fewer entries than page_size even if this // isn't the last page. TransitionRouteGroups []*TransitionRouteGroup `` /* 126-byte string literal not displayed */ // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].
func (*ListTransitionRouteGroupsResponse) Descriptor
deprecated
func (*ListTransitionRouteGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransitionRouteGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListTransitionRouteGroupsResponse) GetNextPageToken ¶
func (x *ListTransitionRouteGroupsResponse) GetNextPageToken() string
func (*ListTransitionRouteGroupsResponse) GetTransitionRouteGroups ¶
func (x *ListTransitionRouteGroupsResponse) GetTransitionRouteGroups() []*TransitionRouteGroup
func (*ListTransitionRouteGroupsResponse) ProtoMessage ¶
func (*ListTransitionRouteGroupsResponse) ProtoMessage()
func (*ListTransitionRouteGroupsResponse) ProtoReflect ¶
func (x *ListTransitionRouteGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListTransitionRouteGroupsResponse) Reset ¶
func (x *ListTransitionRouteGroupsResponse) Reset()
func (*ListTransitionRouteGroupsResponse) String ¶
func (x *ListTransitionRouteGroupsResponse) String() string
type ListVersionsRequest ¶
type ListVersionsRequest struct { // Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to list all // versions for. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 20 and // at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
func (*ListVersionsRequest) Descriptor
deprecated
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetPageSize ¶
func (x *ListVersionsRequest) GetPageSize() int32
func (*ListVersionsRequest) GetPageToken ¶
func (x *ListVersionsRequest) GetPageToken() string
func (*ListVersionsRequest) GetParent ¶
func (x *ListVersionsRequest) GetParent() string
func (*ListVersionsRequest) ProtoMessage ¶
func (*ListVersionsRequest) ProtoMessage()
func (*ListVersionsRequest) ProtoReflect ¶
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListVersionsRequest) Reset ¶
func (x *ListVersionsRequest) Reset()
func (*ListVersionsRequest) String ¶
func (x *ListVersionsRequest) String() string
type ListVersionsResponse ¶
type ListVersionsResponse struct { // A list of versions. There will be a maximum number of items returned based // on the page_size field in the request. The list may in some cases be empty // or contain fewer entries than page_size even if this isn't the last page. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
func (*ListVersionsResponse) Descriptor
deprecated
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken ¶
func (x *ListVersionsResponse) GetNextPageToken() string
func (*ListVersionsResponse) GetVersions ¶
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage ¶
func (*ListVersionsResponse) ProtoMessage()
func (*ListVersionsResponse) ProtoReflect ¶
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListVersionsResponse) Reset ¶
func (x *ListVersionsResponse) Reset()
func (*ListVersionsResponse) String ¶
func (x *ListVersionsResponse) String() string
type ListWebhooksRequest ¶
type ListWebhooksRequest struct { // Required. The agent to list all webhooks for. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks].
func (*ListWebhooksRequest) Descriptor
deprecated
func (*ListWebhooksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.
func (*ListWebhooksRequest) GetPageSize ¶
func (x *ListWebhooksRequest) GetPageSize() int32
func (*ListWebhooksRequest) GetPageToken ¶
func (x *ListWebhooksRequest) GetPageToken() string
func (*ListWebhooksRequest) GetParent ¶
func (x *ListWebhooksRequest) GetParent() string
func (*ListWebhooksRequest) ProtoMessage ¶
func (*ListWebhooksRequest) ProtoMessage()
func (*ListWebhooksRequest) ProtoReflect ¶
func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message
func (*ListWebhooksRequest) Reset ¶
func (x *ListWebhooksRequest) Reset()
func (*ListWebhooksRequest) String ¶
func (x *ListWebhooksRequest) String() string
type ListWebhooksResponse ¶
type ListWebhooksResponse struct { // The list of webhooks. There will be a maximum number of items returned // based on the page_size field in the request. Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks].
func (*ListWebhooksResponse) Descriptor
deprecated
func (*ListWebhooksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.
func (*ListWebhooksResponse) GetNextPageToken ¶
func (x *ListWebhooksResponse) GetNextPageToken() string
func (*ListWebhooksResponse) GetWebhooks ¶
func (x *ListWebhooksResponse) GetWebhooks() []*Webhook
func (*ListWebhooksResponse) ProtoMessage ¶
func (*ListWebhooksResponse) ProtoMessage()
func (*ListWebhooksResponse) ProtoReflect ¶
func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message
func (*ListWebhooksResponse) Reset ¶
func (x *ListWebhooksResponse) Reset()
func (*ListWebhooksResponse) String ¶
func (x *ListWebhooksResponse) String() string
type LoadVersionRequest ¶
type LoadVersionRequest struct { // Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded // to draft flow. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field is used to prevent accidental overwrite of other agent // resources, which can potentially impact other flow's behavior. If // `allow_override_agent_resources` is false, conflicted agent-level resources // will not be overridden (i.e. intents, entities, webhooks). AllowOverrideAgentResources bool `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [Versions.LoadVersion][google.cloud.dialogflow.cx.v3.Versions.LoadVersion].
func (*LoadVersionRequest) Descriptor
deprecated
func (*LoadVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadVersionRequest.ProtoReflect.Descriptor instead.
func (*LoadVersionRequest) GetAllowOverrideAgentResources ¶
func (x *LoadVersionRequest) GetAllowOverrideAgentResources() bool
func (*LoadVersionRequest) GetName ¶
func (x *LoadVersionRequest) GetName() string
func (*LoadVersionRequest) ProtoMessage ¶
func (*LoadVersionRequest) ProtoMessage()
func (*LoadVersionRequest) ProtoReflect ¶
func (x *LoadVersionRequest) ProtoReflect() protoreflect.Message
func (*LoadVersionRequest) Reset ¶
func (x *LoadVersionRequest) Reset()
func (*LoadVersionRequest) String ¶
func (x *LoadVersionRequest) String() string
type LookupEnvironmentHistoryRequest ¶
type LookupEnvironmentHistoryRequest struct { // Required. Resource name of the environment to look up the history for. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The maximum number of items to return in a single page. By default 100 and // at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory].
func (*LookupEnvironmentHistoryRequest) Descriptor
deprecated
func (*LookupEnvironmentHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupEnvironmentHistoryRequest.ProtoReflect.Descriptor instead.
func (*LookupEnvironmentHistoryRequest) GetName ¶
func (x *LookupEnvironmentHistoryRequest) GetName() string
func (*LookupEnvironmentHistoryRequest) GetPageSize ¶
func (x *LookupEnvironmentHistoryRequest) GetPageSize() int32
func (*LookupEnvironmentHistoryRequest) GetPageToken ¶
func (x *LookupEnvironmentHistoryRequest) GetPageToken() string
func (*LookupEnvironmentHistoryRequest) ProtoMessage ¶
func (*LookupEnvironmentHistoryRequest) ProtoMessage()
func (*LookupEnvironmentHistoryRequest) ProtoReflect ¶
func (x *LookupEnvironmentHistoryRequest) ProtoReflect() protoreflect.Message
func (*LookupEnvironmentHistoryRequest) Reset ¶
func (x *LookupEnvironmentHistoryRequest) Reset()
func (*LookupEnvironmentHistoryRequest) String ¶
func (x *LookupEnvironmentHistoryRequest) String() string
type LookupEnvironmentHistoryResponse ¶
type LookupEnvironmentHistoryResponse struct { // Represents a list of snapshots for an environment. Time of the snapshots is // stored in // [`update_time`][google.cloud.dialogflow.cx.v3.Environment.update_time]. Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory].
func (*LookupEnvironmentHistoryResponse) Descriptor
deprecated
func (*LookupEnvironmentHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use LookupEnvironmentHistoryResponse.ProtoReflect.Descriptor instead.
func (*LookupEnvironmentHistoryResponse) GetEnvironments ¶
func (x *LookupEnvironmentHistoryResponse) GetEnvironments() []*Environment
func (*LookupEnvironmentHistoryResponse) GetNextPageToken ¶
func (x *LookupEnvironmentHistoryResponse) GetNextPageToken() string
func (*LookupEnvironmentHistoryResponse) ProtoMessage ¶
func (*LookupEnvironmentHistoryResponse) ProtoMessage()
func (*LookupEnvironmentHistoryResponse) ProtoReflect ¶
func (x *LookupEnvironmentHistoryResponse) ProtoReflect() protoreflect.Message
func (*LookupEnvironmentHistoryResponse) Reset ¶
func (x *LookupEnvironmentHistoryResponse) Reset()
func (*LookupEnvironmentHistoryResponse) String ¶
func (x *LookupEnvironmentHistoryResponse) String() string
type Match ¶
type Match struct { // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. // Some, not all fields are filled in this message, including but not limited // to: `name` and `display_name`. Only filled for // [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type. Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // The event that matched the query. Filled for // [`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType], // [`NO_MATCH`][google.cloud.dialogflow.cx.v3.Match.MatchType] and // [`NO_INPUT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match types. Event string `protobuf:"bytes,6,opt,name=event,proto3" json:"event,omitempty"` // The collection of parameters extracted from the query. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` // Final text input which was matched during MatchIntent. This value can be // different from original input sent in request because of spelling // correction or other processing. ResolvedInput string `protobuf:"bytes,3,opt,name=resolved_input,json=resolvedInput,proto3" json:"resolved_input,omitempty"` // Type of this [Match][google.cloud.dialogflow.cx.v3.Match]. MatchType Match_MatchType `` /* 140-byte string literal not displayed */ // The confidence of this match. Values range from 0.0 (completely uncertain) // to 1.0 (completely certain). // This value is for informational purpose only and is only used to help match // the best intent within the classification threshold. This value may change // for the same end-user expression at any time due to a model retraining or // change in implementation. Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
Represents one match result of [MatchIntent][].
func (*Match) Descriptor
deprecated
func (*Match) GetConfidence ¶
func (*Match) GetMatchType ¶
func (x *Match) GetMatchType() Match_MatchType
func (*Match) GetParameters ¶
func (*Match) GetResolvedInput ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type MatchIntentRequest ¶
type MatchIntentRequest struct { // Required. The name of the session this query is sent to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. // It's up to the API caller to choose an appropriate `Session ID`. It can be // a random number or some type of session identifiers (preferably hashed). // The length of the `Session ID` must not exceed 36 characters. // // For more information, see the [sessions // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // The parameters of this query. QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Required. The input specification. QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` // Persist session parameter changes from `query_params`. PersistParameterChanges bool `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Request of [MatchIntent][].
func (*MatchIntentRequest) Descriptor
deprecated
func (*MatchIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use MatchIntentRequest.ProtoReflect.Descriptor instead.
func (*MatchIntentRequest) GetPersistParameterChanges ¶ added in v1.32.0
func (x *MatchIntentRequest) GetPersistParameterChanges() bool
func (*MatchIntentRequest) GetQueryInput ¶
func (x *MatchIntentRequest) GetQueryInput() *QueryInput
func (*MatchIntentRequest) GetQueryParams ¶
func (x *MatchIntentRequest) GetQueryParams() *QueryParameters
func (*MatchIntentRequest) GetSession ¶
func (x *MatchIntentRequest) GetSession() string
func (*MatchIntentRequest) ProtoMessage ¶
func (*MatchIntentRequest) ProtoMessage()
func (*MatchIntentRequest) ProtoReflect ¶
func (x *MatchIntentRequest) ProtoReflect() protoreflect.Message
func (*MatchIntentRequest) Reset ¶
func (x *MatchIntentRequest) Reset()
func (*MatchIntentRequest) String ¶
func (x *MatchIntentRequest) String() string
type MatchIntentResponse ¶
type MatchIntentResponse struct { // The original conversational query. // // Types that are assignable to Query: // // *MatchIntentResponse_Text // *MatchIntentResponse_TriggerIntent // *MatchIntentResponse_Transcript // *MatchIntentResponse_TriggerEvent Query isMatchIntentResponse_Query `protobuf_oneof:"query"` // Match results, if more than one, ordered descendingly by the confidence // we have that the particular intent matches the query. Matches []*Match `protobuf:"bytes,4,rep,name=matches,proto3" json:"matches,omitempty"` // The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all // fields are filled in this message, including but not limited to `name` and // `display_name`. CurrentPage *Page `protobuf:"bytes,5,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"` // contains filtered or unexported fields }
Response of [MatchIntent][].
func (*MatchIntentResponse) Descriptor
deprecated
func (*MatchIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use MatchIntentResponse.ProtoReflect.Descriptor instead.
func (*MatchIntentResponse) GetCurrentPage ¶
func (x *MatchIntentResponse) GetCurrentPage() *Page
func (*MatchIntentResponse) GetMatches ¶
func (x *MatchIntentResponse) GetMatches() []*Match
func (*MatchIntentResponse) GetQuery ¶
func (m *MatchIntentResponse) GetQuery() isMatchIntentResponse_Query
func (*MatchIntentResponse) GetText ¶
func (x *MatchIntentResponse) GetText() string
func (*MatchIntentResponse) GetTranscript ¶
func (x *MatchIntentResponse) GetTranscript() string
func (*MatchIntentResponse) GetTriggerEvent ¶
func (x *MatchIntentResponse) GetTriggerEvent() string
func (*MatchIntentResponse) GetTriggerIntent ¶
func (x *MatchIntentResponse) GetTriggerIntent() string
func (*MatchIntentResponse) ProtoMessage ¶
func (*MatchIntentResponse) ProtoMessage()
func (*MatchIntentResponse) ProtoReflect ¶
func (x *MatchIntentResponse) ProtoReflect() protoreflect.Message
func (*MatchIntentResponse) Reset ¶
func (x *MatchIntentResponse) Reset()
func (*MatchIntentResponse) String ¶
func (x *MatchIntentResponse) String() string
type MatchIntentResponse_Text ¶
type MatchIntentResponse_Text struct { // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was // provided as input, this field will contain a copy of the text. Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type MatchIntentResponse_Transcript ¶
type MatchIntentResponse_Transcript struct { // If [natural language speech // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, // this field will contain the transcript for the audio. Transcript string `protobuf:"bytes,3,opt,name=transcript,proto3,oneof"` }
type MatchIntentResponse_TriggerEvent ¶
type MatchIntentResponse_TriggerEvent struct { // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as // input, this field will contain a copy of the event name. TriggerEvent string `protobuf:"bytes,6,opt,name=trigger_event,json=triggerEvent,proto3,oneof"` }
type MatchIntentResponse_TriggerIntent ¶
type MatchIntentResponse_TriggerIntent struct { // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as // input, this field will contain a copy of the intent identifier. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. TriggerIntent string `protobuf:"bytes,2,opt,name=trigger_intent,json=triggerIntent,proto3,oneof"` }
type Match_MatchType ¶
type Match_MatchType int32
Type of a Match.
const ( // Not specified. Should never be used. Match_MATCH_TYPE_UNSPECIFIED Match_MatchType = 0 // The query was matched to an intent. Match_INTENT Match_MatchType = 1 // The query directly triggered an intent. Match_DIRECT_INTENT Match_MatchType = 2 // The query was used for parameter filling. Match_PARAMETER_FILLING Match_MatchType = 3 // No match was found for the query. Match_NO_MATCH Match_MatchType = 4 // Indicates an empty query. Match_NO_INPUT Match_MatchType = 5 // The query directly triggered an event. Match_EVENT Match_MatchType = 6 // The query was matched to a Knowledge Connector answer. Match_KNOWLEDGE_CONNECTOR Match_MatchType = 8 // The query was handled by a [`Playbook`][Playbook]. Match_PLAYBOOK Match_MatchType = 9 )
func (Match_MatchType) Descriptor ¶
func (Match_MatchType) Descriptor() protoreflect.EnumDescriptor
func (Match_MatchType) Enum ¶
func (x Match_MatchType) Enum() *Match_MatchType
func (Match_MatchType) EnumDescriptor
deprecated
func (Match_MatchType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Match_MatchType.Descriptor instead.
func (Match_MatchType) Number ¶
func (x Match_MatchType) Number() protoreflect.EnumNumber
func (Match_MatchType) String ¶
func (x Match_MatchType) String() string
func (Match_MatchType) Type ¶
func (Match_MatchType) Type() protoreflect.EnumType
type NluSettings ¶
type NluSettings struct { // Indicates the type of NLU model. ModelType NluSettings_ModelType `` /* 146-byte string literal not displayed */ // To filter out false positive results and still get variety in matched // natural language inputs for your agent, you can tune the machine learning // classification threshold. If the returned score value is less than the // threshold value, then a no-match event will be triggered. The score values // range from 0.0 (completely uncertain) to 1.0 (completely certain). If set // to 0.0, the default of 0.3 is used. You can set a separate classification // threshold for the flow in each language enabled for the agent. ClassificationThreshold float32 `` /* 132-byte string literal not displayed */ // Indicates NLU model training mode. ModelTrainingMode NluSettings_ModelTrainingMode `` /* 180-byte string literal not displayed */ // contains filtered or unexported fields }
Settings related to NLU.
func (*NluSettings) Descriptor
deprecated
func (*NluSettings) Descriptor() ([]byte, []int)
Deprecated: Use NluSettings.ProtoReflect.Descriptor instead.
func (*NluSettings) GetClassificationThreshold ¶
func (x *NluSettings) GetClassificationThreshold() float32
func (*NluSettings) GetModelTrainingMode ¶
func (x *NluSettings) GetModelTrainingMode() NluSettings_ModelTrainingMode
func (*NluSettings) GetModelType ¶
func (x *NluSettings) GetModelType() NluSettings_ModelType
func (*NluSettings) ProtoMessage ¶
func (*NluSettings) ProtoMessage()
func (*NluSettings) ProtoReflect ¶
func (x *NluSettings) ProtoReflect() protoreflect.Message
func (*NluSettings) Reset ¶
func (x *NluSettings) Reset()
func (*NluSettings) String ¶
func (x *NluSettings) String() string
type NluSettings_ModelTrainingMode ¶
type NluSettings_ModelTrainingMode int32
NLU model training mode.
const ( // Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used. NluSettings_MODEL_TRAINING_MODE_UNSPECIFIED NluSettings_ModelTrainingMode = 0 // NLU model training is automatically triggered when a flow gets modified. // User can also manually trigger model training in this mode. NluSettings_MODEL_TRAINING_MODE_AUTOMATIC NluSettings_ModelTrainingMode = 1 // User needs to manually trigger NLU model training. Best for large flows // whose models take long time to train. NluSettings_MODEL_TRAINING_MODE_MANUAL NluSettings_ModelTrainingMode = 2 )
func (NluSettings_ModelTrainingMode) Descriptor ¶
func (NluSettings_ModelTrainingMode) Descriptor() protoreflect.EnumDescriptor
func (NluSettings_ModelTrainingMode) Enum ¶
func (x NluSettings_ModelTrainingMode) Enum() *NluSettings_ModelTrainingMode
func (NluSettings_ModelTrainingMode) EnumDescriptor
deprecated
func (NluSettings_ModelTrainingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NluSettings_ModelTrainingMode.Descriptor instead.
func (NluSettings_ModelTrainingMode) Number ¶
func (x NluSettings_ModelTrainingMode) Number() protoreflect.EnumNumber
func (NluSettings_ModelTrainingMode) String ¶
func (x NluSettings_ModelTrainingMode) String() string
func (NluSettings_ModelTrainingMode) Type ¶
func (NluSettings_ModelTrainingMode) Type() protoreflect.EnumType
type NluSettings_ModelType ¶
type NluSettings_ModelType int32
NLU model type.
const ( // Not specified. `MODEL_TYPE_STANDARD` will be used. NluSettings_MODEL_TYPE_UNSPECIFIED NluSettings_ModelType = 0 // Use standard NLU model. NluSettings_MODEL_TYPE_STANDARD NluSettings_ModelType = 1 // Use advanced NLU model. NluSettings_MODEL_TYPE_ADVANCED NluSettings_ModelType = 3 )
func (NluSettings_ModelType) Descriptor ¶
func (NluSettings_ModelType) Descriptor() protoreflect.EnumDescriptor
func (NluSettings_ModelType) Enum ¶
func (x NluSettings_ModelType) Enum() *NluSettings_ModelType
func (NluSettings_ModelType) EnumDescriptor
deprecated
func (NluSettings_ModelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NluSettings_ModelType.Descriptor instead.
func (NluSettings_ModelType) Number ¶
func (x NluSettings_ModelType) Number() protoreflect.EnumNumber
func (NluSettings_ModelType) String ¶
func (x NluSettings_ModelType) String() string
func (NluSettings_ModelType) Type ¶
func (NluSettings_ModelType) Type() protoreflect.EnumType
type OutputAudioConfig ¶
type OutputAudioConfig struct { // Required. Audio encoding of the synthesized audio content. AudioEncoding OutputAudioEncoding `` /* 156-byte string literal not displayed */ // Optional. The synthesis sample rate (in hertz) for this audio. If not // provided, then the synthesizer will use the default sample rate based on // the audio encoding. If this is different from the voice's natural sample // rate, then the synthesizer will honor this request by converting to the // desired sample rate (which might result in worse audio quality). SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // Optional. Configuration of how speech should be synthesized. // If not specified, // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings] // is applied. SynthesizeSpeechConfig *SynthesizeSpeechConfig `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Instructs the speech synthesizer how to generate the output audio content.
func (*OutputAudioConfig) Descriptor
deprecated
func (*OutputAudioConfig) Descriptor() ([]byte, []int)
Deprecated: Use OutputAudioConfig.ProtoReflect.Descriptor instead.
func (*OutputAudioConfig) GetAudioEncoding ¶
func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding
func (*OutputAudioConfig) GetSampleRateHertz ¶
func (x *OutputAudioConfig) GetSampleRateHertz() int32
func (*OutputAudioConfig) GetSynthesizeSpeechConfig ¶
func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig
func (*OutputAudioConfig) ProtoMessage ¶
func (*OutputAudioConfig) ProtoMessage()
func (*OutputAudioConfig) ProtoReflect ¶
func (x *OutputAudioConfig) ProtoReflect() protoreflect.Message
func (*OutputAudioConfig) Reset ¶
func (x *OutputAudioConfig) Reset()
func (*OutputAudioConfig) String ¶
func (x *OutputAudioConfig) String() string
type OutputAudioEncoding ¶
type OutputAudioEncoding int32
Audio encoding of the output audio format in Text-To-Speech.
const ( // Not specified. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0 // Uncompressed 16-bit signed little-endian samples (Linear PCM). // Audio content returned as LINEAR16 also contains a WAV header. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1 // MP3 audio at 32kbps. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2 // MP3 audio at 64kbps. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS OutputAudioEncoding = 4 // Opus encoded audio wrapped in an ogg container. The result will be a // file which can be played natively on Android, and in browsers (at least // Chrome and Firefox). The quality of the encoding is considerably higher // than MP3 while using approximately the same bitrate. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3 // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW OutputAudioEncoding = 5 // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_ALAW OutputAudioEncoding = 6 )
func (OutputAudioEncoding) Descriptor ¶
func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (OutputAudioEncoding) Enum ¶
func (x OutputAudioEncoding) Enum() *OutputAudioEncoding
func (OutputAudioEncoding) EnumDescriptor
deprecated
func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutputAudioEncoding.Descriptor instead.
func (OutputAudioEncoding) Number ¶
func (x OutputAudioEncoding) Number() protoreflect.EnumNumber
func (OutputAudioEncoding) String ¶
func (x OutputAudioEncoding) String() string
func (OutputAudioEncoding) Type ¶
func (OutputAudioEncoding) Type() protoreflect.EnumType
type Page ¶
type Page struct { // The unique identifier of the page. // Required for the // [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage] method. // [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage] // populates the name automatically. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the page, unique within the flow. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The description of the page. The maximum length is 500 characters. Description string `protobuf:"bytes,19,opt,name=description,proto3" json:"description,omitempty"` // The fulfillment to call when the session is entering the page. EntryFulfillment *Fulfillment `protobuf:"bytes,7,opt,name=entry_fulfillment,json=entryFulfillment,proto3" json:"entry_fulfillment,omitempty"` // The form associated with the page, used for collecting parameters // relevant to the page. Form *Form `protobuf:"bytes,4,opt,name=form,proto3" json:"form,omitempty"` // Ordered list of // [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // added to the page. Transition route groups must be unique within a page. If // the page links both flow-level transition route groups and agent-level // transition route groups, the flow-level ones will have higher priority and // will be put before the agent-level ones. // // - If multiple transition routes within a page scope refer to the same // intent, then the precedence order is: page's transition route -> page's // transition route group -> flow's transition routes. // // - If multiple transition route groups within a page contain the same // intent, then the first group in the ordered list takes precedence. // // Format:`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/transitionRouteGroups/<TransitionRouteGroupID>` // for agent-level groups. TransitionRouteGroups []string `` /* 127-byte string literal not displayed */ // A list of transitions for the transition rules of this page. // They route the conversation to another page in the same flow, or another // flow. // // When we are in a certain page, the TransitionRoutes are evalauted in the // following order: // // - TransitionRoutes defined in the page with intent specified. // - TransitionRoutes defined in the // [transition route // groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] // with intent specified. // - TransitionRoutes defined in flow with intent specified. // - TransitionRoutes defined in the // [transition route // groups][google.cloud.dialogflow.cx.v3.Flow.transition_route_groups] // with intent specified. // - TransitionRoutes defined in the page with only condition specified. // - TransitionRoutes defined in the // [transition route // groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups] // with only condition specified. TransitionRoutes []*TransitionRoute `protobuf:"bytes,9,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"` // Handlers associated with the page to handle events such as webhook errors, // no match or no input. EventHandlers []*EventHandler `protobuf:"bytes,10,rep,name=event_handlers,json=eventHandlers,proto3" json:"event_handlers,omitempty"` // Hierarchical advanced settings for this page. The settings exposed at the // lower level overrides the settings exposed at the higher level. AdvancedSettings *AdvancedSettings `protobuf:"bytes,13,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"` // Optional. Knowledge connector configuration. KnowledgeConnectorSettings *KnowledgeConnectorSettings `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages.
For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page.
You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page.
For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).
func (*Page) Descriptor
deprecated
func (*Page) GetAdvancedSettings ¶ added in v1.44.0
func (x *Page) GetAdvancedSettings() *AdvancedSettings
func (*Page) GetDescription ¶ added in v1.49.0
func (*Page) GetDisplayName ¶
func (*Page) GetEntryFulfillment ¶
func (x *Page) GetEntryFulfillment() *Fulfillment
func (*Page) GetEventHandlers ¶
func (x *Page) GetEventHandlers() []*EventHandler
func (*Page) GetKnowledgeConnectorSettings ¶ added in v1.43.0
func (x *Page) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettings
func (*Page) GetTransitionRouteGroups ¶
func (*Page) GetTransitionRoutes ¶
func (x *Page) GetTransitionRoutes() []*TransitionRoute
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
type PageInfo ¶
type PageInfo struct { // Always present for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The // unique identifier of the current page. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. CurrentPage string `protobuf:"bytes,1,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"` // Always present for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The // display name of the current page. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional for both // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. // Information about the form. FormInfo *PageInfo_FormInfo `protobuf:"bytes,3,opt,name=form_info,json=formInfo,proto3" json:"form_info,omitempty"` // contains filtered or unexported fields }
Represents page information communicated to and from the webhook.
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetCurrentPage ¶
func (*PageInfo) GetDisplayName ¶
func (*PageInfo) GetFormInfo ¶
func (x *PageInfo) GetFormInfo() *PageInfo_FormInfo
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type PageInfo_FormInfo ¶
type PageInfo_FormInfo struct { // Optional for both // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The // parameters contained in the form. Note that the webhook cannot add or // remove any form parameter. ParameterInfo []*PageInfo_FormInfo_ParameterInfo `protobuf:"bytes,2,rep,name=parameter_info,json=parameterInfo,proto3" json:"parameter_info,omitempty"` // contains filtered or unexported fields }
Represents form information.
func (*PageInfo_FormInfo) Descriptor
deprecated
func (*PageInfo_FormInfo) Descriptor() ([]byte, []int)
Deprecated: Use PageInfo_FormInfo.ProtoReflect.Descriptor instead.
func (*PageInfo_FormInfo) GetParameterInfo ¶
func (x *PageInfo_FormInfo) GetParameterInfo() []*PageInfo_FormInfo_ParameterInfo
func (*PageInfo_FormInfo) ProtoMessage ¶
func (*PageInfo_FormInfo) ProtoMessage()
func (*PageInfo_FormInfo) ProtoReflect ¶
func (x *PageInfo_FormInfo) ProtoReflect() protoreflect.Message
func (*PageInfo_FormInfo) Reset ¶
func (x *PageInfo_FormInfo) Reset()
func (*PageInfo_FormInfo) String ¶
func (x *PageInfo_FormInfo) String() string
type PageInfo_FormInfo_ParameterInfo ¶
type PageInfo_FormInfo_ParameterInfo struct { // Always present for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. // Required for // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. // The human-readable name of the parameter, unique within the form. This // field cannot be modified by the webhook. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional for both // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. // Indicates whether the parameter is required. Optional parameters will // not trigger prompts; however, they are filled if the user specifies // them. Required parameters must be filled before form filling concludes. Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"` // Always present for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. // Required for // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The // state of the parameter. This field can be set to // [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] // by the webhook to invalidate the parameter; other values set by the // webhook will be ignored. State PageInfo_FormInfo_ParameterInfo_ParameterState `` /* 146-byte string literal not displayed */ // Optional for both // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The // value of the parameter. This field can be set by the webhook to change // the parameter value. Value *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` // Optional for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored // for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. // Indicates if the parameter value was just collected on the last // conversation turn. JustCollected bool `protobuf:"varint,5,opt,name=just_collected,json=justCollected,proto3" json:"just_collected,omitempty"` // contains filtered or unexported fields }
Represents parameter information.
func (*PageInfo_FormInfo_ParameterInfo) Descriptor
deprecated
func (*PageInfo_FormInfo_ParameterInfo) Descriptor() ([]byte, []int)
Deprecated: Use PageInfo_FormInfo_ParameterInfo.ProtoReflect.Descriptor instead.
func (*PageInfo_FormInfo_ParameterInfo) GetDisplayName ¶
func (x *PageInfo_FormInfo_ParameterInfo) GetDisplayName() string
func (*PageInfo_FormInfo_ParameterInfo) GetJustCollected ¶
func (x *PageInfo_FormInfo_ParameterInfo) GetJustCollected() bool
func (*PageInfo_FormInfo_ParameterInfo) GetRequired ¶
func (x *PageInfo_FormInfo_ParameterInfo) GetRequired() bool
func (*PageInfo_FormInfo_ParameterInfo) GetState ¶
func (x *PageInfo_FormInfo_ParameterInfo) GetState() PageInfo_FormInfo_ParameterInfo_ParameterState
func (*PageInfo_FormInfo_ParameterInfo) GetValue ¶
func (x *PageInfo_FormInfo_ParameterInfo) GetValue() *structpb.Value
func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage ¶
func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage()
func (*PageInfo_FormInfo_ParameterInfo) ProtoReflect ¶
func (x *PageInfo_FormInfo_ParameterInfo) ProtoReflect() protoreflect.Message
func (*PageInfo_FormInfo_ParameterInfo) Reset ¶
func (x *PageInfo_FormInfo_ParameterInfo) Reset()
func (*PageInfo_FormInfo_ParameterInfo) String ¶
func (x *PageInfo_FormInfo_ParameterInfo) String() string
type PageInfo_FormInfo_ParameterInfo_ParameterState ¶
type PageInfo_FormInfo_ParameterInfo_ParameterState int32
Represents the state of a parameter.
const ( // Not specified. This value should be never used. PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED PageInfo_FormInfo_ParameterInfo_ParameterState = 0 // Indicates that the parameter does not have a value. PageInfo_FormInfo_ParameterInfo_EMPTY PageInfo_FormInfo_ParameterInfo_ParameterState = 1 // Indicates that the parameter value is invalid. This field can be used // by the webhook to invalidate the parameter and ask the server to // collect it from the user again. PageInfo_FormInfo_ParameterInfo_INVALID PageInfo_FormInfo_ParameterInfo_ParameterState = 2 // Indicates that the parameter has a value. PageInfo_FormInfo_ParameterInfo_FILLED PageInfo_FormInfo_ParameterInfo_ParameterState = 3 )
func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor ¶
func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor() protoreflect.EnumDescriptor
func (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor
deprecated
func (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PageInfo_FormInfo_ParameterInfo_ParameterState.Descriptor instead.
func (PageInfo_FormInfo_ParameterInfo_ParameterState) Number ¶
func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Number() protoreflect.EnumNumber
func (PageInfo_FormInfo_ParameterInfo_ParameterState) String ¶
func (x PageInfo_FormInfo_ParameterInfo_ParameterState) String() string
type PagesClient ¶
type PagesClient interface { // Returns the list of all pages in the specified flow. ListPages(ctx context.Context, in *ListPagesRequest, opts ...grpc.CallOption) (*ListPagesResponse, error) // Retrieves the specified page. GetPage(ctx context.Context, in *GetPageRequest, opts ...grpc.CallOption) (*Page, error) // Creates a page in the specified flow. // // 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). CreatePage(ctx context.Context, in *CreatePageRequest, opts ...grpc.CallOption) (*Page, error) // Updates the specified page. // // 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). UpdatePage(ctx context.Context, in *UpdatePageRequest, opts ...grpc.CallOption) (*Page, error) // Deletes the specified page. // // 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). DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
PagesClient is the client API for Pages service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPagesClient ¶
func NewPagesClient(cc grpc.ClientConnInterface) PagesClient
type PagesServer ¶
type PagesServer interface { // Returns the list of all pages in the specified flow. ListPages(context.Context, *ListPagesRequest) (*ListPagesResponse, error) // Retrieves the specified page. GetPage(context.Context, *GetPageRequest) (*Page, error) // Creates a page in the specified flow. // // 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). CreatePage(context.Context, *CreatePageRequest) (*Page, error) // Updates the specified page. // // 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). UpdatePage(context.Context, *UpdatePageRequest) (*Page, error) // Deletes the specified page. // // 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). DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error) }
PagesServer is the server API for Pages service.
type Phrase ¶ added in v1.47.0
type Phrase struct { // Required. Text input which can be used for prompt or banned phrases. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Text input which can be used for prompt or banned phrases.
func (*Phrase) Descriptor
deprecated
added in
v1.47.0
func (*Phrase) ProtoMessage ¶ added in v1.47.0
func (*Phrase) ProtoMessage()
func (*Phrase) ProtoReflect ¶ added in v1.47.0
func (x *Phrase) ProtoReflect() protoreflect.Message
type QueryInput ¶
type QueryInput struct { // Required. The input specification. // // Types that are assignable to Input: // // *QueryInput_Text // *QueryInput_Intent // *QueryInput_Audio // *QueryInput_Event // *QueryInput_Dtmf Input isQueryInput_Input `protobuf_oneof:"input"` // Required. The language of the input. See [Language // Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Represents the query input. It can contain one of:
1. A conversational query in the form of text.
2. An intent query that specifies which intent to trigger.
3. Natural language speech audio to be processed.
4. An event to be triggered.
5. DTMF digits to invoke an intent and fill in parameter value.
6. The results of a tool executed by the client.
func (*QueryInput) Descriptor
deprecated
func (*QueryInput) Descriptor() ([]byte, []int)
Deprecated: Use QueryInput.ProtoReflect.Descriptor instead.
func (*QueryInput) GetAudio ¶
func (x *QueryInput) GetAudio() *AudioInput
func (*QueryInput) GetDtmf ¶
func (x *QueryInput) GetDtmf() *DtmfInput
func (*QueryInput) GetEvent ¶
func (x *QueryInput) GetEvent() *EventInput
func (*QueryInput) GetInput ¶
func (m *QueryInput) GetInput() isQueryInput_Input
func (*QueryInput) GetIntent ¶
func (x *QueryInput) GetIntent() *IntentInput
func (*QueryInput) GetLanguageCode ¶
func (x *QueryInput) GetLanguageCode() string
func (*QueryInput) GetText ¶
func (x *QueryInput) GetText() *TextInput
func (*QueryInput) ProtoMessage ¶
func (*QueryInput) ProtoMessage()
func (*QueryInput) ProtoReflect ¶
func (x *QueryInput) ProtoReflect() protoreflect.Message
func (*QueryInput) Reset ¶
func (x *QueryInput) Reset()
func (*QueryInput) String ¶
func (x *QueryInput) String() string
type QueryInput_Audio ¶
type QueryInput_Audio struct { // The natural language speech audio to be processed. Audio *AudioInput `protobuf:"bytes,5,opt,name=audio,proto3,oneof"` }
type QueryInput_Dtmf ¶
type QueryInput_Dtmf struct { // The DTMF event to be handled. Dtmf *DtmfInput `protobuf:"bytes,7,opt,name=dtmf,proto3,oneof"` }
type QueryInput_Event ¶
type QueryInput_Event struct { // The event to be triggered. Event *EventInput `protobuf:"bytes,6,opt,name=event,proto3,oneof"` }
type QueryInput_Intent ¶
type QueryInput_Intent struct { // The intent to be triggered. Intent *IntentInput `protobuf:"bytes,3,opt,name=intent,proto3,oneof"` }
type QueryInput_Text ¶
type QueryInput_Text struct { // The natural language text to be processed. Text *TextInput `protobuf:"bytes,2,opt,name=text,proto3,oneof"` }
type QueryParameters ¶
type QueryParameters struct { // The time zone of this conversational query from the [time zone // database](https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. If not provided, the time zone specified in the agent is // used. TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // The geo location of this conversational query. GeoLocation *latlng.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"` // Additional session entity types to replace or extend developer entity types // with. The entity synonyms apply to all languages and persist for the // session of this query. SessionEntityTypes []*SessionEntityType `protobuf:"bytes,3,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` // This field can be used to pass custom data into the webhook associated with // the agent. Arbitrary JSON objects are supported. // Some integrations that query a Dialogflow agent may provide additional // information in the payload. // In particular, for the Dialogflow Phone Gateway integration, this field has // the form: // “` // // { // "telephony": { // "caller_id": "+18558363987" // } // } // // “` Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // Additional parameters to be put into [session // parameters][SessionInfo.parameters]. To remove a // parameter from the session, clients should explicitly set the parameter // value to null. // // You can reference the session parameters in the agent with the following // format: $session.params.parameter-id. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"` // The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to // override the [current page][QueryResult.current_page] in the session. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. // // If `current_page` is specified, the previous state of the session will be // ignored by Dialogflow, including the [previous // page][QueryResult.current_page] and the [previous session // parameters][QueryResult.parameters]. // In most cases, // [current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page] // and [parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters] // should be configured together to direct a session to a specific state. CurrentPage string `protobuf:"bytes,6,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"` // Whether to disable webhook calls for this request. DisableWebhook bool `protobuf:"varint,7,opt,name=disable_webhook,json=disableWebhook,proto3" json:"disable_webhook,omitempty"` // Configures whether sentiment analysis should be performed. If not // provided, sentiment analysis is not performed. AnalyzeQueryTextSentiment bool `` /* 141-byte string literal not displayed */ // This field can be used to pass HTTP headers for a webhook // call. These headers will be sent to webhook along with the headers that // have been configured through Dialogflow web console. The headers defined // within this field will overwrite the headers configured through Dialogflow // console if there is a conflict. Header names are case-insensitive. // Google's specified headers are not allowed. Including: "Host", // "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", // "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc. WebhookHeaders map[string]string `` /* 192-byte string literal not displayed */ // A list of flow versions to override for the request. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. // // If version 1 of flow X is included in this list, the traffic of // flow X will go through version 1 regardless of the version configuration in // the environment. Each flow can have at most one version specified in this // list. FlowVersions []string `protobuf:"bytes,14,rep,name=flow_versions,json=flowVersions,proto3" json:"flow_versions,omitempty"` // The channel which this query is for. // // If specified, only the // [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] associated // with the channel will be returned. If no // [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] is // associated with the channel, it falls back to the // [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] with // unspecified channel. // // If unspecified, the // [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] with // unspecified channel will be returned. Channel string `protobuf:"bytes,15,opt,name=channel,proto3" json:"channel,omitempty"` // Optional. Configure lifetime of the Dialogflow session. // By default, a Dialogflow session remains active and its data is stored for // 30 minutes after the last request is sent for the session. // This value should be no longer than 1 day. SessionTtl *durationpb.Duration `protobuf:"bytes,16,opt,name=session_ttl,json=sessionTtl,proto3" json:"session_ttl,omitempty"` // Optional. Information about the end-user to improve the relevance and // accuracy of generative answers. // // This will be interpreted and used by a language model, so, for good // results, the data should be self-descriptive, and in a simple structure. // // Example: // // “`json // // { // "subscription plan": "Business Premium Plus", // "devices owned": [ // {"model": "Google Pixel 7"}, // {"model": "Google Pixel Tablet"} // ] // } // // “` EndUserMetadata *structpb.Struct `protobuf:"bytes,18,opt,name=end_user_metadata,json=endUserMetadata,proto3" json:"end_user_metadata,omitempty"` // Optional. Search configuration for UCS search queries. SearchConfig *SearchConfig `protobuf:"bytes,20,opt,name=search_config,json=searchConfig,proto3" json:"search_config,omitempty"` // Optional. If set to true and data stores are involved in serving the // request then // DetectIntentResponse.query_result.data_store_connection_signals // will be filled with data that can help evaluations. PopulateDataStoreConnectionSignals bool `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the parameters of a conversational query.
func (*QueryParameters) Descriptor
deprecated
func (*QueryParameters) Descriptor() ([]byte, []int)
Deprecated: Use QueryParameters.ProtoReflect.Descriptor instead.
func (*QueryParameters) GetAnalyzeQueryTextSentiment ¶
func (x *QueryParameters) GetAnalyzeQueryTextSentiment() bool
func (*QueryParameters) GetChannel ¶ added in v1.23.0
func (x *QueryParameters) GetChannel() string
func (*QueryParameters) GetCurrentPage ¶
func (x *QueryParameters) GetCurrentPage() string
func (*QueryParameters) GetDisableWebhook ¶
func (x *QueryParameters) GetDisableWebhook() bool
func (*QueryParameters) GetEndUserMetadata ¶ added in v1.45.0
func (x *QueryParameters) GetEndUserMetadata() *structpb.Struct
func (*QueryParameters) GetFlowVersions ¶
func (x *QueryParameters) GetFlowVersions() []string
func (*QueryParameters) GetGeoLocation ¶
func (x *QueryParameters) GetGeoLocation() *latlng.LatLng
func (*QueryParameters) GetParameters ¶
func (x *QueryParameters) GetParameters() *structpb.Struct
func (*QueryParameters) GetPayload ¶
func (x *QueryParameters) GetPayload() *structpb.Struct
func (*QueryParameters) GetPopulateDataStoreConnectionSignals ¶ added in v1.55.0
func (x *QueryParameters) GetPopulateDataStoreConnectionSignals() bool
func (*QueryParameters) GetSearchConfig ¶ added in v1.45.0
func (x *QueryParameters) GetSearchConfig() *SearchConfig
func (*QueryParameters) GetSessionEntityTypes ¶
func (x *QueryParameters) GetSessionEntityTypes() []*SessionEntityType
func (*QueryParameters) GetSessionTtl ¶ added in v1.37.0
func (x *QueryParameters) GetSessionTtl() *durationpb.Duration
func (*QueryParameters) GetTimeZone ¶
func (x *QueryParameters) GetTimeZone() string
func (*QueryParameters) GetWebhookHeaders ¶
func (x *QueryParameters) GetWebhookHeaders() map[string]string
func (*QueryParameters) ProtoMessage ¶
func (*QueryParameters) ProtoMessage()
func (*QueryParameters) ProtoReflect ¶
func (x *QueryParameters) ProtoReflect() protoreflect.Message
func (*QueryParameters) Reset ¶
func (x *QueryParameters) Reset()
func (*QueryParameters) String ¶
func (x *QueryParameters) String() string
type QueryResult ¶
type QueryResult struct { // The original conversational query. // // Types that are assignable to Query: // // *QueryResult_Text // *QueryResult_TriggerIntent // *QueryResult_Transcript // *QueryResult_TriggerEvent // *QueryResult_Dtmf Query isQueryResult_Query `protobuf_oneof:"query"` // The language that was triggered during intent detection. // See [Language // Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) // for a list of the currently supported language codes. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The collected [session // parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` // The list of rich messages returned to the client. Responses vary from // simple text messages to more sophisticated, structured payloads used // to drive complex logic. ResponseMessages []*ResponseMessage `protobuf:"bytes,4,rep,name=response_messages,json=responseMessages,proto3" json:"response_messages,omitempty"` // The list of webhook ids in the order of call sequence. WebhookIds []string `protobuf:"bytes,25,rep,name=webhook_ids,json=webhookIds,proto3" json:"webhook_ids,omitempty"` // The list of webhook display names in the order of call sequence. WebhookDisplayNames []string `protobuf:"bytes,26,rep,name=webhook_display_names,json=webhookDisplayNames,proto3" json:"webhook_display_names,omitempty"` // The list of webhook latencies in the order of call sequence. WebhookLatencies []*durationpb.Duration `protobuf:"bytes,27,rep,name=webhook_latencies,json=webhookLatencies,proto3" json:"webhook_latencies,omitempty"` // The list of webhook tags in the order of call sequence. WebhookTags []string `protobuf:"bytes,29,rep,name=webhook_tags,json=webhookTags,proto3" json:"webhook_tags,omitempty"` // The list of webhook call status in the order of call sequence. WebhookStatuses []*status.Status `protobuf:"bytes,13,rep,name=webhook_statuses,json=webhookStatuses,proto3" json:"webhook_statuses,omitempty"` // The list of webhook payload in // [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], // in the order of call sequence. If some webhook call fails or doesn't return // any payload, an empty `Struct` would be used instead. WebhookPayloads []*structpb.Struct `protobuf:"bytes,6,rep,name=webhook_payloads,json=webhookPayloads,proto3" json:"webhook_payloads,omitempty"` // The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all // fields are filled in this message, including but not limited to `name` and // `display_name`. CurrentPage *Page `protobuf:"bytes,7,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"` // The current [Flow][google.cloud.dialogflow.cx.v3.Flow]. Some, not all // fields are filled in this message, including but not limited to `name` and // `display_name`. CurrentFlow *Flow `protobuf:"bytes,31,opt,name=current_flow,json=currentFlow,proto3" json:"current_flow,omitempty"` // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the // conversational query. Some, not all fields are filled in this message, // including but not limited to: `name` and `display_name`. This field is // deprecated, please use // [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] // instead. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto. Intent *Intent `protobuf:"bytes,8,opt,name=intent,proto3" json:"intent,omitempty"` // The intent detection confidence. Values range from 0.0 (completely // uncertain) to 1.0 (completely certain). // This value is for informational purpose only and is only used to // help match the best intent within the classification threshold. // This value may change for the same end-user expression at any time due to a // model retraining or change in implementation. // This field is deprecated, please use // [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] // instead. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto. IntentDetectionConfidence float32 `` /* 140-byte string literal not displayed */ // Intent match result, could be an intent or an event. Match *Match `protobuf:"bytes,15,opt,name=match,proto3" json:"match,omitempty"` // The free-form diagnostic info. For example, this field could contain // webhook call latency. The fields of this data can change without notice, // so you should not write code that depends on its structure. // // One of the fields is called "Alternative Matched Intents", which may // aid with debugging. The following describes these intent results: // // - The list is empty if no intent was matched to end-user input. // - Only intents that are referenced in the currently active flow are // included. // - The matched intent is included. // - Other intents that could have matched end-user input, but did not match // because they are referenced by intent routes that are out of // [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope), // are included. // - Other intents referenced by intent routes in scope that matched end-user // input, but had a lower confidence score. DiagnosticInfo *structpb.Struct `protobuf:"bytes,10,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"` // The sentiment analyss result, which depends on // [`analyze_query_text_sentiment`] // [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], // specified in the request. SentimentAnalysisResult *SentimentAnalysisResult `` /* 133-byte string literal not displayed */ // Returns the current advanced settings including IVR settings. Even though // the operations configured by these settings are performed by Dialogflow, // the client may need to perform special logic at the moment. For example, if // Dialogflow exports audio to Google Cloud Storage, then the client may need // to wait for the resulting object to appear in the bucket before proceeding. AdvancedSettings *AdvancedSettings `protobuf:"bytes,21,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"` // Indicates whether the Thumbs up/Thumbs down rating controls are need to be // shown for the response in the Dialogflow Messenger widget. AllowAnswerFeedback bool `protobuf:"varint,32,opt,name=allow_answer_feedback,json=allowAnswerFeedback,proto3" json:"allow_answer_feedback,omitempty"` // Optional. Data store connection feature output signals. // Filled only when data stores are involved in serving the query and // DetectIntentRequest.populate_data_store_connection_signals is set to true // in the request. DataStoreConnectionSignals *DataStoreConnectionSignals `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the result of a conversational query.
func (*QueryResult) Descriptor
deprecated
func (*QueryResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.
func (*QueryResult) GetAdvancedSettings ¶ added in v1.44.0
func (x *QueryResult) GetAdvancedSettings() *AdvancedSettings
func (*QueryResult) GetAllowAnswerFeedback ¶ added in v1.45.0
func (x *QueryResult) GetAllowAnswerFeedback() bool
func (*QueryResult) GetCurrentFlow ¶ added in v1.49.0
func (x *QueryResult) GetCurrentFlow() *Flow
func (*QueryResult) GetCurrentPage ¶
func (x *QueryResult) GetCurrentPage() *Page
func (*QueryResult) GetDataStoreConnectionSignals ¶ added in v1.55.0
func (x *QueryResult) GetDataStoreConnectionSignals() *DataStoreConnectionSignals
func (*QueryResult) GetDiagnosticInfo ¶
func (x *QueryResult) GetDiagnosticInfo() *structpb.Struct
func (*QueryResult) GetDtmf ¶
func (x *QueryResult) GetDtmf() *DtmfInput
func (*QueryResult) GetIntent
deprecated
func (x *QueryResult) GetIntent() *Intent
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
func (*QueryResult) GetIntentDetectionConfidence
deprecated
func (x *QueryResult) GetIntentDetectionConfidence() float32
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
func (*QueryResult) GetLanguageCode ¶
func (x *QueryResult) GetLanguageCode() string
func (*QueryResult) GetMatch ¶
func (x *QueryResult) GetMatch() *Match
func (*QueryResult) GetParameters ¶
func (x *QueryResult) GetParameters() *structpb.Struct
func (*QueryResult) GetQuery ¶
func (m *QueryResult) GetQuery() isQueryResult_Query
func (*QueryResult) GetResponseMessages ¶
func (x *QueryResult) GetResponseMessages() []*ResponseMessage
func (*QueryResult) GetSentimentAnalysisResult ¶
func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult
func (*QueryResult) GetText ¶
func (x *QueryResult) GetText() string
func (*QueryResult) GetTranscript ¶
func (x *QueryResult) GetTranscript() string
func (*QueryResult) GetTriggerEvent ¶
func (x *QueryResult) GetTriggerEvent() string
func (*QueryResult) GetTriggerIntent ¶
func (x *QueryResult) GetTriggerIntent() string
func (*QueryResult) GetWebhookDisplayNames ¶ added in v1.49.0
func (x *QueryResult) GetWebhookDisplayNames() []string
func (*QueryResult) GetWebhookIds ¶ added in v1.49.0
func (x *QueryResult) GetWebhookIds() []string
func (*QueryResult) GetWebhookLatencies ¶ added in v1.49.0
func (x *QueryResult) GetWebhookLatencies() []*durationpb.Duration
func (*QueryResult) GetWebhookPayloads ¶
func (x *QueryResult) GetWebhookPayloads() []*structpb.Struct
func (*QueryResult) GetWebhookStatuses ¶
func (x *QueryResult) GetWebhookStatuses() []*status.Status
func (*QueryResult) GetWebhookTags ¶ added in v1.49.0
func (x *QueryResult) GetWebhookTags() []string
func (*QueryResult) ProtoMessage ¶
func (*QueryResult) ProtoMessage()
func (*QueryResult) ProtoReflect ¶
func (x *QueryResult) ProtoReflect() protoreflect.Message
func (*QueryResult) Reset ¶
func (x *QueryResult) Reset()
func (*QueryResult) String ¶
func (x *QueryResult) String() string
type QueryResult_Dtmf ¶
type QueryResult_Dtmf struct { // If a [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as // input, this field will contain a copy of the // [DtmfInput][google.cloud.dialogflow.cx.v3.DtmfInput]. Dtmf *DtmfInput `protobuf:"bytes,23,opt,name=dtmf,proto3,oneof"` }
type QueryResult_Text ¶
type QueryResult_Text struct { // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was // provided as input, this field will contain a copy of the text. Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type QueryResult_Transcript ¶
type QueryResult_Transcript struct { // If [natural language speech // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, // this field will contain the transcript for the audio. Transcript string `protobuf:"bytes,12,opt,name=transcript,proto3,oneof"` }
type QueryResult_TriggerEvent ¶
type QueryResult_TriggerEvent struct { // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as // input, this field will contain the name of the event. TriggerEvent string `protobuf:"bytes,14,opt,name=trigger_event,json=triggerEvent,proto3,oneof"` }
type QueryResult_TriggerIntent ¶
type QueryResult_TriggerIntent struct { // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as // input, this field will contain a copy of the intent identifier. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. TriggerIntent string `protobuf:"bytes,11,opt,name=trigger_intent,json=triggerIntent,proto3,oneof"` }
type ResourceName ¶
type ResourceName struct { // Name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
Resource name and display name.
func (*ResourceName) Descriptor
deprecated
func (*ResourceName) Descriptor() ([]byte, []int)
Deprecated: Use ResourceName.ProtoReflect.Descriptor instead.
func (*ResourceName) GetDisplayName ¶
func (x *ResourceName) GetDisplayName() string
func (*ResourceName) GetName ¶
func (x *ResourceName) GetName() string
func (*ResourceName) ProtoMessage ¶
func (*ResourceName) ProtoMessage()
func (*ResourceName) ProtoReflect ¶
func (x *ResourceName) ProtoReflect() protoreflect.Message
func (*ResourceName) Reset ¶
func (x *ResourceName) Reset()
func (*ResourceName) String ¶
func (x *ResourceName) String() string
type ResponseMessage ¶
type ResponseMessage struct { // Required. The rich response message. // // Types that are assignable to Message: // // *ResponseMessage_Text_ // *ResponseMessage_Payload // *ResponseMessage_ConversationSuccess_ // *ResponseMessage_OutputAudioText_ // *ResponseMessage_LiveAgentHandoff_ // *ResponseMessage_EndInteraction_ // *ResponseMessage_PlayAudio_ // *ResponseMessage_MixedAudio_ // *ResponseMessage_TelephonyTransferCall_ // *ResponseMessage_KnowledgeInfoCard_ Message isResponseMessage_Message `protobuf_oneof:"message"` // Response type. ResponseType ResponseMessage_ResponseType `` /* 162-byte string literal not displayed */ // The channel which the response is associated with. Clients can specify the // channel via // [QueryParameters.channel][google.cloud.dialogflow.cx.v3.QueryParameters.channel], // and only associated channel response will be returned. Channel string `protobuf:"bytes,19,opt,name=channel,proto3" json:"channel,omitempty"` // contains filtered or unexported fields }
Represents a response message that can be returned by a conversational agent.
Response messages are also used for output audio synthesis. The approach is as follows:
- If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis.
- If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design.
- Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis.
This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.
func (*ResponseMessage) Descriptor
deprecated
func (*ResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage.ProtoReflect.Descriptor instead.
func (*ResponseMessage) GetChannel ¶ added in v1.23.0
func (x *ResponseMessage) GetChannel() string
func (*ResponseMessage) GetConversationSuccess ¶
func (x *ResponseMessage) GetConversationSuccess() *ResponseMessage_ConversationSuccess
func (*ResponseMessage) GetEndInteraction ¶
func (x *ResponseMessage) GetEndInteraction() *ResponseMessage_EndInteraction
func (*ResponseMessage) GetKnowledgeInfoCard ¶ added in v1.43.0
func (x *ResponseMessage) GetKnowledgeInfoCard() *ResponseMessage_KnowledgeInfoCard
func (*ResponseMessage) GetLiveAgentHandoff ¶
func (x *ResponseMessage) GetLiveAgentHandoff() *ResponseMessage_LiveAgentHandoff
func (*ResponseMessage) GetMessage ¶
func (m *ResponseMessage) GetMessage() isResponseMessage_Message
func (*ResponseMessage) GetMixedAudio ¶
func (x *ResponseMessage) GetMixedAudio() *ResponseMessage_MixedAudio
func (*ResponseMessage) GetOutputAudioText ¶
func (x *ResponseMessage) GetOutputAudioText() *ResponseMessage_OutputAudioText
func (*ResponseMessage) GetPayload ¶
func (x *ResponseMessage) GetPayload() *structpb.Struct
func (*ResponseMessage) GetPlayAudio ¶
func (x *ResponseMessage) GetPlayAudio() *ResponseMessage_PlayAudio
func (*ResponseMessage) GetResponseType ¶ added in v1.41.0
func (x *ResponseMessage) GetResponseType() ResponseMessage_ResponseType
func (*ResponseMessage) GetTelephonyTransferCall ¶
func (x *ResponseMessage) GetTelephonyTransferCall() *ResponseMessage_TelephonyTransferCall
func (*ResponseMessage) GetText ¶
func (x *ResponseMessage) GetText() *ResponseMessage_Text
func (*ResponseMessage) ProtoMessage ¶
func (*ResponseMessage) ProtoMessage()
func (*ResponseMessage) ProtoReflect ¶
func (x *ResponseMessage) ProtoReflect() protoreflect.Message
func (*ResponseMessage) Reset ¶
func (x *ResponseMessage) Reset()
func (*ResponseMessage) String ¶
func (x *ResponseMessage) String() string
type ResponseMessage_ConversationSuccess ¶
type ResponseMessage_ConversationSuccess struct { // Custom metadata. Dialogflow doesn't impose any structure on this. Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return [ConversationSuccess][google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess].
You may set this, for example: * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] of a Page[google.cloud.dialogflow.cx.v3.Page] if
entering the page indicates that the conversation succeeded. - In a webhook response when you determine that you handled the customer issue.
func (*ResponseMessage_ConversationSuccess) Descriptor
deprecated
func (*ResponseMessage_ConversationSuccess) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_ConversationSuccess.ProtoReflect.Descriptor instead.
func (*ResponseMessage_ConversationSuccess) GetMetadata ¶
func (x *ResponseMessage_ConversationSuccess) GetMetadata() *structpb.Struct
func (*ResponseMessage_ConversationSuccess) ProtoMessage ¶
func (*ResponseMessage_ConversationSuccess) ProtoMessage()
func (*ResponseMessage_ConversationSuccess) ProtoReflect ¶
func (x *ResponseMessage_ConversationSuccess) ProtoReflect() protoreflect.Message
func (*ResponseMessage_ConversationSuccess) Reset ¶
func (x *ResponseMessage_ConversationSuccess) Reset()
func (*ResponseMessage_ConversationSuccess) String ¶
func (x *ResponseMessage_ConversationSuccess) String() string
type ResponseMessage_ConversationSuccess_ ¶
type ResponseMessage_ConversationSuccess_ struct { // Indicates that the conversation succeeded. ConversationSuccess *ResponseMessage_ConversationSuccess `protobuf:"bytes,9,opt,name=conversation_success,json=conversationSuccess,proto3,oneof"` }
type ResponseMessage_EndInteraction ¶
type ResponseMessage_EndInteraction struct {
// contains filtered or unexported fields
}
Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.
func (*ResponseMessage_EndInteraction) Descriptor
deprecated
func (*ResponseMessage_EndInteraction) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_EndInteraction.ProtoReflect.Descriptor instead.
func (*ResponseMessage_EndInteraction) ProtoMessage ¶
func (*ResponseMessage_EndInteraction) ProtoMessage()
func (*ResponseMessage_EndInteraction) ProtoReflect ¶
func (x *ResponseMessage_EndInteraction) ProtoReflect() protoreflect.Message
func (*ResponseMessage_EndInteraction) Reset ¶
func (x *ResponseMessage_EndInteraction) Reset()
func (*ResponseMessage_EndInteraction) String ¶
func (x *ResponseMessage_EndInteraction) String() string
type ResponseMessage_EndInteraction_ ¶
type ResponseMessage_EndInteraction_ struct { // Output only. A signal that indicates the interaction with the Dialogflow // agent has ended. This message is generated by Dialogflow only when the // conversation reaches `END_SESSION` page. It is not supposed to be defined // by the user. // // It's guaranteed that there is at most one such message in each response. EndInteraction *ResponseMessage_EndInteraction `protobuf:"bytes,11,opt,name=end_interaction,json=endInteraction,proto3,oneof"` }
type ResponseMessage_KnowledgeInfoCard ¶ added in v1.43.0
type ResponseMessage_KnowledgeInfoCard struct {
// contains filtered or unexported fields
}
Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card.
Otherwise, the info card response is skipped.
func (*ResponseMessage_KnowledgeInfoCard) Descriptor
deprecated
added in
v1.43.0
func (*ResponseMessage_KnowledgeInfoCard) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_KnowledgeInfoCard.ProtoReflect.Descriptor instead.
func (*ResponseMessage_KnowledgeInfoCard) ProtoMessage ¶ added in v1.43.0
func (*ResponseMessage_KnowledgeInfoCard) ProtoMessage()
func (*ResponseMessage_KnowledgeInfoCard) ProtoReflect ¶ added in v1.43.0
func (x *ResponseMessage_KnowledgeInfoCard) ProtoReflect() protoreflect.Message
func (*ResponseMessage_KnowledgeInfoCard) Reset ¶ added in v1.43.0
func (x *ResponseMessage_KnowledgeInfoCard) Reset()
func (*ResponseMessage_KnowledgeInfoCard) String ¶ added in v1.43.0
func (x *ResponseMessage_KnowledgeInfoCard) String() string
type ResponseMessage_KnowledgeInfoCard_ ¶ added in v1.43.0
type ResponseMessage_KnowledgeInfoCard_ struct { // Represents info card for knowledge answers, to be better rendered in // Dialogflow Messenger. KnowledgeInfoCard *ResponseMessage_KnowledgeInfoCard `protobuf:"bytes,20,opt,name=knowledge_info_card,json=knowledgeInfoCard,proto3,oneof"` }
type ResponseMessage_LiveAgentHandoff ¶
type ResponseMessage_LiveAgentHandoff struct { // Custom metadata for your handoff procedure. Dialogflow doesn't impose // any structure on this. Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example: * In the [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] of a Page[google.cloud.dialogflow.cx.v3.Page] if
entering the page indicates something went extremely wrong in the conversation. - In a webhook response when you determine that the customer issue can only be handled by a human.
func (*ResponseMessage_LiveAgentHandoff) Descriptor
deprecated
func (*ResponseMessage_LiveAgentHandoff) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_LiveAgentHandoff.ProtoReflect.Descriptor instead.
func (*ResponseMessage_LiveAgentHandoff) GetMetadata ¶
func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct
func (*ResponseMessage_LiveAgentHandoff) ProtoMessage ¶
func (*ResponseMessage_LiveAgentHandoff) ProtoMessage()
func (*ResponseMessage_LiveAgentHandoff) ProtoReflect ¶
func (x *ResponseMessage_LiveAgentHandoff) ProtoReflect() protoreflect.Message
func (*ResponseMessage_LiveAgentHandoff) Reset ¶
func (x *ResponseMessage_LiveAgentHandoff) Reset()
func (*ResponseMessage_LiveAgentHandoff) String ¶
func (x *ResponseMessage_LiveAgentHandoff) String() string
type ResponseMessage_LiveAgentHandoff_ ¶
type ResponseMessage_LiveAgentHandoff_ struct { // Hands off conversation to a human agent. LiveAgentHandoff *ResponseMessage_LiveAgentHandoff `protobuf:"bytes,10,opt,name=live_agent_handoff,json=liveAgentHandoff,proto3,oneof"` }
type ResponseMessage_MixedAudio ¶
type ResponseMessage_MixedAudio struct { // Segments this audio response is composed of. Segments []*ResponseMessage_MixedAudio_Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
func (*ResponseMessage_MixedAudio) Descriptor
deprecated
func (*ResponseMessage_MixedAudio) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_MixedAudio.ProtoReflect.Descriptor instead.
func (*ResponseMessage_MixedAudio) GetSegments ¶
func (x *ResponseMessage_MixedAudio) GetSegments() []*ResponseMessage_MixedAudio_Segment
func (*ResponseMessage_MixedAudio) ProtoMessage ¶
func (*ResponseMessage_MixedAudio) ProtoMessage()
func (*ResponseMessage_MixedAudio) ProtoReflect ¶
func (x *ResponseMessage_MixedAudio) ProtoReflect() protoreflect.Message
func (*ResponseMessage_MixedAudio) Reset ¶
func (x *ResponseMessage_MixedAudio) Reset()
func (*ResponseMessage_MixedAudio) String ¶
func (x *ResponseMessage_MixedAudio) String() string
type ResponseMessage_MixedAudio_ ¶
type ResponseMessage_MixedAudio_ struct { // Output only. An audio response message composed of both the synthesized // Dialogflow agent responses and responses defined via // [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio]. // This message is generated by Dialogflow only and not supposed to be // defined by the user. MixedAudio *ResponseMessage_MixedAudio `protobuf:"bytes,13,opt,name=mixed_audio,json=mixedAudio,proto3,oneof"` }
type ResponseMessage_MixedAudio_Segment ¶
type ResponseMessage_MixedAudio_Segment struct { // Content of the segment. // // Types that are assignable to Content: // // *ResponseMessage_MixedAudio_Segment_Audio // *ResponseMessage_MixedAudio_Segment_Uri Content isResponseMessage_MixedAudio_Segment_Content `protobuf_oneof:"content"` // Output only. Whether the playback of this segment can be interrupted by // the end user's speech and the client should then start the next // Dialogflow request. AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Represents one segment of audio.
func (*ResponseMessage_MixedAudio_Segment) Descriptor
deprecated
func (*ResponseMessage_MixedAudio_Segment) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_MixedAudio_Segment.ProtoReflect.Descriptor instead.
func (*ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption ¶
func (x *ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption() bool
func (*ResponseMessage_MixedAudio_Segment) GetAudio ¶
func (x *ResponseMessage_MixedAudio_Segment) GetAudio() []byte
func (*ResponseMessage_MixedAudio_Segment) GetContent ¶
func (m *ResponseMessage_MixedAudio_Segment) GetContent() isResponseMessage_MixedAudio_Segment_Content
func (*ResponseMessage_MixedAudio_Segment) GetUri ¶
func (x *ResponseMessage_MixedAudio_Segment) GetUri() string
func (*ResponseMessage_MixedAudio_Segment) ProtoMessage ¶
func (*ResponseMessage_MixedAudio_Segment) ProtoMessage()
func (*ResponseMessage_MixedAudio_Segment) ProtoReflect ¶
func (x *ResponseMessage_MixedAudio_Segment) ProtoReflect() protoreflect.Message
func (*ResponseMessage_MixedAudio_Segment) Reset ¶
func (x *ResponseMessage_MixedAudio_Segment) Reset()
func (*ResponseMessage_MixedAudio_Segment) String ¶
func (x *ResponseMessage_MixedAudio_Segment) String() string
type ResponseMessage_MixedAudio_Segment_Audio ¶
type ResponseMessage_MixedAudio_Segment_Audio struct { // Raw audio synthesized from the Dialogflow agent's response using // the output config specified in the request. Audio []byte `protobuf:"bytes,1,opt,name=audio,proto3,oneof"` }
type ResponseMessage_MixedAudio_Segment_Uri ¶
type ResponseMessage_MixedAudio_Segment_Uri struct { // Client-specific URI that points to an audio clip accessible to the // client. Dialogflow does not impose any validation on it. Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` }
type ResponseMessage_OutputAudioText ¶
type ResponseMessage_OutputAudioText struct { // The source, which is either plain text or SSML. // // Types that are assignable to Source: // // *ResponseMessage_OutputAudioText_Text // *ResponseMessage_OutputAudioText_Ssml Source isResponseMessage_OutputAudioText_Source `protobuf_oneof:"source"` // Output only. Whether the playback of this message can be interrupted by // the end user's speech and the client can then starts the next Dialogflow // request. AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
func (*ResponseMessage_OutputAudioText) Descriptor
deprecated
func (*ResponseMessage_OutputAudioText) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_OutputAudioText.ProtoReflect.Descriptor instead.
func (*ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption ¶
func (x *ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption() bool
func (*ResponseMessage_OutputAudioText) GetSource ¶
func (m *ResponseMessage_OutputAudioText) GetSource() isResponseMessage_OutputAudioText_Source
func (*ResponseMessage_OutputAudioText) GetSsml ¶
func (x *ResponseMessage_OutputAudioText) GetSsml() string
func (*ResponseMessage_OutputAudioText) GetText ¶
func (x *ResponseMessage_OutputAudioText) GetText() string
func (*ResponseMessage_OutputAudioText) ProtoMessage ¶
func (*ResponseMessage_OutputAudioText) ProtoMessage()
func (*ResponseMessage_OutputAudioText) ProtoReflect ¶
func (x *ResponseMessage_OutputAudioText) ProtoReflect() protoreflect.Message
func (*ResponseMessage_OutputAudioText) Reset ¶
func (x *ResponseMessage_OutputAudioText) Reset()
func (*ResponseMessage_OutputAudioText) String ¶
func (x *ResponseMessage_OutputAudioText) String() string
type ResponseMessage_OutputAudioText_ ¶
type ResponseMessage_OutputAudioText_ struct { // A text or ssml response that is preferentially used for TTS output audio // synthesis, as described in the comment on the ResponseMessage message. OutputAudioText *ResponseMessage_OutputAudioText `protobuf:"bytes,8,opt,name=output_audio_text,json=outputAudioText,proto3,oneof"` }
type ResponseMessage_OutputAudioText_Ssml ¶
type ResponseMessage_OutputAudioText_Ssml struct { // The SSML text to be synthesized. For more information, see // [SSML](/speech/text-to-speech/docs/ssml). Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` }
type ResponseMessage_OutputAudioText_Text ¶
type ResponseMessage_OutputAudioText_Text struct { // The raw text to be synthesized. Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type ResponseMessage_Payload ¶
type ResponseMessage_PlayAudio ¶
type ResponseMessage_PlayAudio struct { // Required. URI of the audio clip. Dialogflow does not impose any // validation on this value. It is specific to the client that reads it. AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"` // Output only. Whether the playback of this message can be interrupted by // the end user's speech and the client can then starts the next Dialogflow // request. AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies an audio clip to be played by the client as part of the response.
func (*ResponseMessage_PlayAudio) Descriptor
deprecated
func (*ResponseMessage_PlayAudio) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_PlayAudio.ProtoReflect.Descriptor instead.
func (*ResponseMessage_PlayAudio) GetAllowPlaybackInterruption ¶
func (x *ResponseMessage_PlayAudio) GetAllowPlaybackInterruption() bool
func (*ResponseMessage_PlayAudio) GetAudioUri ¶
func (x *ResponseMessage_PlayAudio) GetAudioUri() string
func (*ResponseMessage_PlayAudio) ProtoMessage ¶
func (*ResponseMessage_PlayAudio) ProtoMessage()
func (*ResponseMessage_PlayAudio) ProtoReflect ¶
func (x *ResponseMessage_PlayAudio) ProtoReflect() protoreflect.Message
func (*ResponseMessage_PlayAudio) Reset ¶
func (x *ResponseMessage_PlayAudio) Reset()
func (*ResponseMessage_PlayAudio) String ¶
func (x *ResponseMessage_PlayAudio) String() string
type ResponseMessage_PlayAudio_ ¶
type ResponseMessage_PlayAudio_ struct { // Signal that the client should play an audio clip hosted at a // client-specific URI. Dialogflow uses this to construct // [mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio]. // However, Dialogflow itself does not try to read or process the URI in any // way. PlayAudio *ResponseMessage_PlayAudio `protobuf:"bytes,12,opt,name=play_audio,json=playAudio,proto3,oneof"` }
type ResponseMessage_ResponseType ¶ added in v1.41.0
type ResponseMessage_ResponseType int32
Represents different response types.
const ( // Not specified. ResponseMessage_RESPONSE_TYPE_UNSPECIFIED ResponseMessage_ResponseType = 0 // The response is from an [entry // prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the // page. ResponseMessage_ENTRY_PROMPT ResponseMessage_ResponseType = 1 // The response is from [form-filling // prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in // the page. ResponseMessage_PARAMETER_PROMPT ResponseMessage_ResponseType = 2 // The response is from a [transition // route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event // handler][EventHandler] in the page or flow or transition route group. ResponseMessage_HANDLER_PROMPT ResponseMessage_ResponseType = 3 )
func (ResponseMessage_ResponseType) Descriptor ¶ added in v1.41.0
func (ResponseMessage_ResponseType) Descriptor() protoreflect.EnumDescriptor
func (ResponseMessage_ResponseType) Enum ¶ added in v1.41.0
func (x ResponseMessage_ResponseType) Enum() *ResponseMessage_ResponseType
func (ResponseMessage_ResponseType) EnumDescriptor
deprecated
added in
v1.41.0
func (ResponseMessage_ResponseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_ResponseType.Descriptor instead.
func (ResponseMessage_ResponseType) Number ¶ added in v1.41.0
func (x ResponseMessage_ResponseType) Number() protoreflect.EnumNumber
func (ResponseMessage_ResponseType) String ¶ added in v1.41.0
func (x ResponseMessage_ResponseType) String() string
func (ResponseMessage_ResponseType) Type ¶ added in v1.41.0
func (ResponseMessage_ResponseType) Type() protoreflect.EnumType
type ResponseMessage_TelephonyTransferCall ¶
type ResponseMessage_TelephonyTransferCall struct { // Endpoint to transfer the call to. // // Types that are assignable to Endpoint: // // *ResponseMessage_TelephonyTransferCall_PhoneNumber Endpoint isResponseMessage_TelephonyTransferCall_Endpoint `protobuf_oneof:"endpoint"` // contains filtered or unexported fields }
Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
func (*ResponseMessage_TelephonyTransferCall) Descriptor
deprecated
func (*ResponseMessage_TelephonyTransferCall) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_TelephonyTransferCall.ProtoReflect.Descriptor instead.
func (*ResponseMessage_TelephonyTransferCall) GetEndpoint ¶
func (m *ResponseMessage_TelephonyTransferCall) GetEndpoint() isResponseMessage_TelephonyTransferCall_Endpoint
func (*ResponseMessage_TelephonyTransferCall) GetPhoneNumber ¶
func (x *ResponseMessage_TelephonyTransferCall) GetPhoneNumber() string
func (*ResponseMessage_TelephonyTransferCall) ProtoMessage ¶
func (*ResponseMessage_TelephonyTransferCall) ProtoMessage()
func (*ResponseMessage_TelephonyTransferCall) ProtoReflect ¶
func (x *ResponseMessage_TelephonyTransferCall) ProtoReflect() protoreflect.Message
func (*ResponseMessage_TelephonyTransferCall) Reset ¶
func (x *ResponseMessage_TelephonyTransferCall) Reset()
func (*ResponseMessage_TelephonyTransferCall) String ¶
func (x *ResponseMessage_TelephonyTransferCall) String() string
type ResponseMessage_TelephonyTransferCall_ ¶
type ResponseMessage_TelephonyTransferCall_ struct { // A signal that the client should transfer the phone call connected to // this agent to a third-party endpoint. TelephonyTransferCall *ResponseMessage_TelephonyTransferCall `protobuf:"bytes,18,opt,name=telephony_transfer_call,json=telephonyTransferCall,proto3,oneof"` }
type ResponseMessage_TelephonyTransferCall_PhoneNumber ¶
type ResponseMessage_TelephonyTransferCall_PhoneNumber struct { // Transfer the call to a phone number // in [E.164 format](https://en.wikipedia.org/wiki/E.164). PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3,oneof"` }
type ResponseMessage_Text ¶
type ResponseMessage_Text struct { // Required. A collection of text response variants. If multiple variants // are defined, only one text response variant is returned at runtime. Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` // Output only. Whether the playback of this message can be interrupted by // the end user's speech and the client can then starts the next Dialogflow // request. AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
The text response message.
func (*ResponseMessage_Text) Descriptor
deprecated
func (*ResponseMessage_Text) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_Text.ProtoReflect.Descriptor instead.
func (*ResponseMessage_Text) GetAllowPlaybackInterruption ¶
func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool
func (*ResponseMessage_Text) GetText ¶
func (x *ResponseMessage_Text) GetText() []string
func (*ResponseMessage_Text) ProtoMessage ¶
func (*ResponseMessage_Text) ProtoMessage()
func (*ResponseMessage_Text) ProtoReflect ¶
func (x *ResponseMessage_Text) ProtoReflect() protoreflect.Message
func (*ResponseMessage_Text) Reset ¶
func (x *ResponseMessage_Text) Reset()
func (*ResponseMessage_Text) String ¶
func (x *ResponseMessage_Text) String() string
type ResponseMessage_Text_ ¶
type ResponseMessage_Text_ struct { // Returns a text response. Text *ResponseMessage_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type RestoreAgentRequest ¶
type RestoreAgentRequest struct { // Required. The name of the agent to restore into. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The agent to restore. // // Types that are assignable to Agent: // // *RestoreAgentRequest_AgentUri // *RestoreAgentRequest_AgentContent // *RestoreAgentRequest_GitSource_ Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"` // Agent restore mode. If not specified, `KEEP` is assumed. RestoreOption RestoreAgentRequest_RestoreOption `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent].
func (*RestoreAgentRequest) Descriptor
deprecated
func (*RestoreAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreAgentRequest.ProtoReflect.Descriptor instead.
func (*RestoreAgentRequest) GetAgent ¶
func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent
func (*RestoreAgentRequest) GetAgentContent ¶
func (x *RestoreAgentRequest) GetAgentContent() []byte
func (*RestoreAgentRequest) GetAgentUri ¶
func (x *RestoreAgentRequest) GetAgentUri() string
func (*RestoreAgentRequest) GetGitSource ¶ added in v1.40.0
func (x *RestoreAgentRequest) GetGitSource() *RestoreAgentRequest_GitSource
func (*RestoreAgentRequest) GetName ¶
func (x *RestoreAgentRequest) GetName() string
func (*RestoreAgentRequest) GetRestoreOption ¶
func (x *RestoreAgentRequest) GetRestoreOption() RestoreAgentRequest_RestoreOption
func (*RestoreAgentRequest) ProtoMessage ¶
func (*RestoreAgentRequest) ProtoMessage()
func (*RestoreAgentRequest) ProtoReflect ¶
func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Message
func (*RestoreAgentRequest) Reset ¶
func (x *RestoreAgentRequest) Reset()
func (*RestoreAgentRequest) String ¶
func (x *RestoreAgentRequest) String() string
type RestoreAgentRequest_AgentContent ¶
type RestoreAgentRequest_AgentContent struct { // Uncompressed raw byte content for agent. AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` }
type RestoreAgentRequest_AgentUri ¶
type RestoreAgentRequest_AgentUri struct { // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI // to restore agent from. The format of this URI must be // `gs://<bucket-name>/<object-name>`. // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` }
type RestoreAgentRequest_GitSource ¶ added in v1.40.0
type RestoreAgentRequest_GitSource struct { // tracking branch for the git pull TrackingBranch string `protobuf:"bytes,1,opt,name=tracking_branch,json=trackingBranch,proto3" json:"tracking_branch,omitempty"` // contains filtered or unexported fields }
Settings for restoring from a git branch
func (*RestoreAgentRequest_GitSource) Descriptor
deprecated
added in
v1.40.0
func (*RestoreAgentRequest_GitSource) Descriptor() ([]byte, []int)
Deprecated: Use RestoreAgentRequest_GitSource.ProtoReflect.Descriptor instead.
func (*RestoreAgentRequest_GitSource) GetTrackingBranch ¶ added in v1.40.0
func (x *RestoreAgentRequest_GitSource) GetTrackingBranch() string
func (*RestoreAgentRequest_GitSource) ProtoMessage ¶ added in v1.40.0
func (*RestoreAgentRequest_GitSource) ProtoMessage()
func (*RestoreAgentRequest_GitSource) ProtoReflect ¶ added in v1.40.0
func (x *RestoreAgentRequest_GitSource) ProtoReflect() protoreflect.Message
func (*RestoreAgentRequest_GitSource) Reset ¶ added in v1.40.0
func (x *RestoreAgentRequest_GitSource) Reset()
func (*RestoreAgentRequest_GitSource) String ¶ added in v1.40.0
func (x *RestoreAgentRequest_GitSource) String() string
type RestoreAgentRequest_GitSource_ ¶ added in v1.40.0
type RestoreAgentRequest_GitSource_ struct { // Setting for restoring from a git branch GitSource *RestoreAgentRequest_GitSource `protobuf:"bytes,6,opt,name=git_source,json=gitSource,proto3,oneof"` }
type RestoreAgentRequest_RestoreOption ¶
type RestoreAgentRequest_RestoreOption int32
Restore option.
const ( // Unspecified. Treated as KEEP. RestoreAgentRequest_RESTORE_OPTION_UNSPECIFIED RestoreAgentRequest_RestoreOption = 0 // Always respect the settings from the exported agent file. It may cause // a restoration failure if some settings (e.g. model type) are not // supported in the target agent. RestoreAgentRequest_KEEP RestoreAgentRequest_RestoreOption = 1 // Fallback to default settings if some settings are not supported in the // target agent. RestoreAgentRequest_FALLBACK RestoreAgentRequest_RestoreOption = 2 )
func (RestoreAgentRequest_RestoreOption) Descriptor ¶
func (RestoreAgentRequest_RestoreOption) Descriptor() protoreflect.EnumDescriptor
func (RestoreAgentRequest_RestoreOption) Enum ¶
func (x RestoreAgentRequest_RestoreOption) Enum() *RestoreAgentRequest_RestoreOption
func (RestoreAgentRequest_RestoreOption) EnumDescriptor
deprecated
func (RestoreAgentRequest_RestoreOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use RestoreAgentRequest_RestoreOption.Descriptor instead.
func (RestoreAgentRequest_RestoreOption) Number ¶
func (x RestoreAgentRequest_RestoreOption) Number() protoreflect.EnumNumber
func (RestoreAgentRequest_RestoreOption) String ¶
func (x RestoreAgentRequest_RestoreOption) String() string
func (RestoreAgentRequest_RestoreOption) Type ¶
func (RestoreAgentRequest_RestoreOption) Type() protoreflect.EnumType
type RolloutConfig ¶
type RolloutConfig struct { // Steps to roll out a flow version. Steps should be sorted by percentage in // ascending order. RolloutSteps []*RolloutConfig_RolloutStep `protobuf:"bytes,1,rep,name=rollout_steps,json=rolloutSteps,proto3" json:"rollout_steps,omitempty"` // The conditions that are used to evaluate the success of a rollout // step. If not specified, all rollout steps will proceed to the next one // unless failure conditions are met. E.g. "containment_rate > 60% AND // callback_rate < 20%". See the [conditions // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). RolloutCondition string `protobuf:"bytes,2,opt,name=rollout_condition,json=rolloutCondition,proto3" json:"rollout_condition,omitempty"` // The conditions that are used to evaluate the failure of a rollout // step. If not specified, no rollout steps will fail. E.g. "containment_rate // < 10% OR average_turn_count < 3". See the [conditions // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). FailureCondition string `protobuf:"bytes,3,opt,name=failure_condition,json=failureCondition,proto3" json:"failure_condition,omitempty"` // contains filtered or unexported fields }
The configuration for auto rollout.
func (*RolloutConfig) Descriptor
deprecated
func (*RolloutConfig) Descriptor() ([]byte, []int)
Deprecated: Use RolloutConfig.ProtoReflect.Descriptor instead.
func (*RolloutConfig) GetFailureCondition ¶
func (x *RolloutConfig) GetFailureCondition() string
func (*RolloutConfig) GetRolloutCondition ¶
func (x *RolloutConfig) GetRolloutCondition() string
func (*RolloutConfig) GetRolloutSteps ¶
func (x *RolloutConfig) GetRolloutSteps() []*RolloutConfig_RolloutStep
func (*RolloutConfig) ProtoMessage ¶
func (*RolloutConfig) ProtoMessage()
func (*RolloutConfig) ProtoReflect ¶
func (x *RolloutConfig) ProtoReflect() protoreflect.Message
func (*RolloutConfig) Reset ¶
func (x *RolloutConfig) Reset()
func (*RolloutConfig) String ¶
func (x *RolloutConfig) String() string
type RolloutConfig_RolloutStep ¶
type RolloutConfig_RolloutStep struct { // The name of the rollout step; DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The percentage of traffic allocated to the flow version of this rollout // step. (0%, 100%]. TrafficPercent int32 `protobuf:"varint,2,opt,name=traffic_percent,json=trafficPercent,proto3" json:"traffic_percent,omitempty"` // The minimum time that this step should last. Should be longer than 1 // hour. If not set, the default minimum duration for each step will be 1 // hour. MinDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"` // contains filtered or unexported fields }
A single rollout step with specified traffic allocation.
func (*RolloutConfig_RolloutStep) Descriptor
deprecated
func (*RolloutConfig_RolloutStep) Descriptor() ([]byte, []int)
Deprecated: Use RolloutConfig_RolloutStep.ProtoReflect.Descriptor instead.
func (*RolloutConfig_RolloutStep) GetDisplayName ¶
func (x *RolloutConfig_RolloutStep) GetDisplayName() string
func (*RolloutConfig_RolloutStep) GetMinDuration ¶
func (x *RolloutConfig_RolloutStep) GetMinDuration() *durationpb.Duration
func (*RolloutConfig_RolloutStep) GetTrafficPercent ¶
func (x *RolloutConfig_RolloutStep) GetTrafficPercent() int32
func (*RolloutConfig_RolloutStep) ProtoMessage ¶
func (*RolloutConfig_RolloutStep) ProtoMessage()
func (*RolloutConfig_RolloutStep) ProtoReflect ¶
func (x *RolloutConfig_RolloutStep) ProtoReflect() protoreflect.Message
func (*RolloutConfig_RolloutStep) Reset ¶
func (x *RolloutConfig_RolloutStep) Reset()
func (*RolloutConfig_RolloutStep) String ¶
func (x *RolloutConfig_RolloutStep) String() string
type RolloutState ¶
type RolloutState struct { // Display name of the current auto rollout step. Step string `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"` // Index of the current step in the auto rollout steps list. StepIndex int32 `protobuf:"varint,3,opt,name=step_index,json=stepIndex,proto3" json:"step_index,omitempty"` // Start time of the current step. StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // contains filtered or unexported fields }
State of the auto-rollout process.
func (*RolloutState) Descriptor
deprecated
func (*RolloutState) Descriptor() ([]byte, []int)
Deprecated: Use RolloutState.ProtoReflect.Descriptor instead.
func (*RolloutState) GetStartTime ¶
func (x *RolloutState) GetStartTime() *timestamppb.Timestamp
func (*RolloutState) GetStep ¶
func (x *RolloutState) GetStep() string
func (*RolloutState) GetStepIndex ¶
func (x *RolloutState) GetStepIndex() int32
func (*RolloutState) ProtoMessage ¶
func (*RolloutState) ProtoMessage()
func (*RolloutState) ProtoReflect ¶
func (x *RolloutState) ProtoReflect() protoreflect.Message
func (*RolloutState) Reset ¶
func (x *RolloutState) Reset()
func (*RolloutState) String ¶
func (x *RolloutState) String() string
type RunContinuousTestMetadata ¶
type RunContinuousTestMetadata 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 [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest] long running operation.
func (*RunContinuousTestMetadata) Descriptor
deprecated
func (*RunContinuousTestMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RunContinuousTestMetadata.ProtoReflect.Descriptor instead.
func (*RunContinuousTestMetadata) GetErrors ¶
func (x *RunContinuousTestMetadata) GetErrors() []*TestError
func (*RunContinuousTestMetadata) ProtoMessage ¶
func (*RunContinuousTestMetadata) ProtoMessage()
func (*RunContinuousTestMetadata) ProtoReflect ¶
func (x *RunContinuousTestMetadata) ProtoReflect() protoreflect.Message
func (*RunContinuousTestMetadata) Reset ¶
func (x *RunContinuousTestMetadata) Reset()
func (*RunContinuousTestMetadata) String ¶
func (x *RunContinuousTestMetadata) String() string
type RunContinuousTestRequest ¶
type RunContinuousTestRequest struct { // Required. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Environment string `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest].
func (*RunContinuousTestRequest) Descriptor
deprecated
func (*RunContinuousTestRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunContinuousTestRequest.ProtoReflect.Descriptor instead.
func (*RunContinuousTestRequest) GetEnvironment ¶
func (x *RunContinuousTestRequest) GetEnvironment() string
func (*RunContinuousTestRequest) ProtoMessage ¶
func (*RunContinuousTestRequest) ProtoMessage()
func (*RunContinuousTestRequest) ProtoReflect ¶
func (x *RunContinuousTestRequest) ProtoReflect() protoreflect.Message
func (*RunContinuousTestRequest) Reset ¶
func (x *RunContinuousTestRequest) Reset()
func (*RunContinuousTestRequest) String ¶
func (x *RunContinuousTestRequest) String() string
type RunContinuousTestResponse ¶
type RunContinuousTestResponse struct { // The result for a continuous test run. ContinuousTestResult *ContinuousTestResult `protobuf:"bytes,1,opt,name=continuous_test_result,json=continuousTestResult,proto3" json:"continuous_test_result,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest].
func (*RunContinuousTestResponse) Descriptor
deprecated
func (*RunContinuousTestResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunContinuousTestResponse.ProtoReflect.Descriptor instead.
func (*RunContinuousTestResponse) GetContinuousTestResult ¶
func (x *RunContinuousTestResponse) GetContinuousTestResult() *ContinuousTestResult
func (*RunContinuousTestResponse) ProtoMessage ¶
func (*RunContinuousTestResponse) ProtoMessage()
func (*RunContinuousTestResponse) ProtoReflect ¶
func (x *RunContinuousTestResponse) ProtoReflect() protoreflect.Message
func (*RunContinuousTestResponse) Reset ¶
func (x *RunContinuousTestResponse) Reset()
func (*RunContinuousTestResponse) String ¶
func (x *RunContinuousTestResponse) String() string
type RunTestCaseMetadata ¶
type RunTestCaseMetadata struct {
// contains filtered or unexported fields
}
Metadata returned for the [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase] long running operation. This message currently has no fields.
func (*RunTestCaseMetadata) Descriptor
deprecated
func (*RunTestCaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RunTestCaseMetadata.ProtoReflect.Descriptor instead.
func (*RunTestCaseMetadata) ProtoMessage ¶
func (*RunTestCaseMetadata) ProtoMessage()
func (*RunTestCaseMetadata) ProtoReflect ¶
func (x *RunTestCaseMetadata) ProtoReflect() protoreflect.Message
func (*RunTestCaseMetadata) Reset ¶
func (x *RunTestCaseMetadata) Reset()
func (*RunTestCaseMetadata) String ¶
func (x *RunTestCaseMetadata) String() string
type RunTestCaseRequest ¶
type RunTestCaseRequest struct { // Required. Format of test case name to run: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Environment name. If not set, draft environment is assumed. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`. Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase].
func (*RunTestCaseRequest) Descriptor
deprecated
func (*RunTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunTestCaseRequest.ProtoReflect.Descriptor instead.
func (*RunTestCaseRequest) GetEnvironment ¶
func (x *RunTestCaseRequest) GetEnvironment() string
func (*RunTestCaseRequest) GetName ¶
func (x *RunTestCaseRequest) GetName() string
func (*RunTestCaseRequest) ProtoMessage ¶
func (*RunTestCaseRequest) ProtoMessage()
func (*RunTestCaseRequest) ProtoReflect ¶
func (x *RunTestCaseRequest) ProtoReflect() protoreflect.Message
func (*RunTestCaseRequest) Reset ¶
func (x *RunTestCaseRequest) Reset()
func (*RunTestCaseRequest) String ¶
func (x *RunTestCaseRequest) String() string
type RunTestCaseResponse ¶
type RunTestCaseResponse struct { // The result. Result *TestCaseResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
The response message for [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase].
func (*RunTestCaseResponse) Descriptor
deprecated
func (*RunTestCaseResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunTestCaseResponse.ProtoReflect.Descriptor instead.
func (*RunTestCaseResponse) GetResult ¶
func (x *RunTestCaseResponse) GetResult() *TestCaseResult
func (*RunTestCaseResponse) ProtoMessage ¶
func (*RunTestCaseResponse) ProtoMessage()
func (*RunTestCaseResponse) ProtoReflect ¶
func (x *RunTestCaseResponse) ProtoReflect() protoreflect.Message
func (*RunTestCaseResponse) Reset ¶
func (x *RunTestCaseResponse) Reset()
func (*RunTestCaseResponse) String ¶
func (x *RunTestCaseResponse) String() string
type SafetySettings ¶ added in v1.43.0
type SafetySettings struct { // Banned phrases for generated text. BannedPhrases []*SafetySettings_Phrase `protobuf:"bytes,1,rep,name=banned_phrases,json=bannedPhrases,proto3" json:"banned_phrases,omitempty"` // contains filtered or unexported fields }
Settings for Generative Safety.
func (*SafetySettings) Descriptor
deprecated
added in
v1.43.0
func (*SafetySettings) Descriptor() ([]byte, []int)
Deprecated: Use SafetySettings.ProtoReflect.Descriptor instead.
func (*SafetySettings) GetBannedPhrases ¶ added in v1.43.0
func (x *SafetySettings) GetBannedPhrases() []*SafetySettings_Phrase
func (*SafetySettings) ProtoMessage ¶ added in v1.43.0
func (*SafetySettings) ProtoMessage()
func (*SafetySettings) ProtoReflect ¶ added in v1.43.0
func (x *SafetySettings) ProtoReflect() protoreflect.Message
func (*SafetySettings) Reset ¶ added in v1.43.0
func (x *SafetySettings) Reset()
func (*SafetySettings) String ¶ added in v1.43.0
func (x *SafetySettings) String() string
type SafetySettings_Phrase ¶ added in v1.43.0
type SafetySettings_Phrase struct { // Required. Text input which can be used for prompt or banned phrases. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Required. Language code of the phrase. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Text input which can be used for prompt or banned phrases.
func (*SafetySettings_Phrase) Descriptor
deprecated
added in
v1.43.0
func (*SafetySettings_Phrase) Descriptor() ([]byte, []int)
Deprecated: Use SafetySettings_Phrase.ProtoReflect.Descriptor instead.
func (*SafetySettings_Phrase) GetLanguageCode ¶ added in v1.43.0
func (x *SafetySettings_Phrase) GetLanguageCode() string
func (*SafetySettings_Phrase) GetText ¶ added in v1.43.0
func (x *SafetySettings_Phrase) GetText() string
func (*SafetySettings_Phrase) ProtoMessage ¶ added in v1.43.0
func (*SafetySettings_Phrase) ProtoMessage()
func (*SafetySettings_Phrase) ProtoReflect ¶ added in v1.43.0
func (x *SafetySettings_Phrase) ProtoReflect() protoreflect.Message
func (*SafetySettings_Phrase) Reset ¶ added in v1.43.0
func (x *SafetySettings_Phrase) Reset()
func (*SafetySettings_Phrase) String ¶ added in v1.43.0
func (x *SafetySettings_Phrase) String() string
type SearchConfig ¶ added in v1.45.0
type SearchConfig struct { // Optional. Boosting configuration for the datastores. BoostSpecs []*BoostSpecs `protobuf:"bytes,1,rep,name=boost_specs,json=boostSpecs,proto3" json:"boost_specs,omitempty"` // Optional. Filter configuration for the datastores. FilterSpecs []*FilterSpecs `protobuf:"bytes,2,rep,name=filter_specs,json=filterSpecs,proto3" json:"filter_specs,omitempty"` // contains filtered or unexported fields }
Search configuration for UCS search queries.
func (*SearchConfig) Descriptor
deprecated
added in
v1.45.0
func (*SearchConfig) Descriptor() ([]byte, []int)
Deprecated: Use SearchConfig.ProtoReflect.Descriptor instead.
func (*SearchConfig) GetBoostSpecs ¶ added in v1.45.0
func (x *SearchConfig) GetBoostSpecs() []*BoostSpecs
func (*SearchConfig) GetFilterSpecs ¶ added in v1.45.0
func (x *SearchConfig) GetFilterSpecs() []*FilterSpecs
func (*SearchConfig) ProtoMessage ¶ added in v1.45.0
func (*SearchConfig) ProtoMessage()
func (*SearchConfig) ProtoReflect ¶ added in v1.45.0
func (x *SearchConfig) ProtoReflect() protoreflect.Message
func (*SearchConfig) Reset ¶ added in v1.45.0
func (x *SearchConfig) Reset()
func (*SearchConfig) String ¶ added in v1.45.0
func (x *SearchConfig) String() string
type SecuritySettings ¶
type SecuritySettings struct { // Resource name of the settings. // Required for the // [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings] // method. // [SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings] // populates the name automatically. Format: // `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the security settings, unique within // the location. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Strategy that defines how we do redaction. RedactionStrategy SecuritySettings_RedactionStrategy `` /* 183-byte string literal not displayed */ // Defines the data for which Dialogflow applies redaction. Dialogflow does // not redact data that it does not have access to – for example, Cloud // logging. RedactionScope SecuritySettings_RedactionScope `` /* 171-byte string literal not displayed */ // [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this // template to define inspect base settings. // // The `DLP Inspect Templates Reader` role is needed on the Dialogflow // service identity service account (has the form // `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) // for your agent's project. // // If empty, we use the default DLP inspect config. // // The template name will have one of the following formats: // `projects/<ProjectID>/locations/<LocationID>/inspectTemplates/<TemplateID>` // OR // `organizations/<OrganizationID>/locations/<LocationID>/inspectTemplates/<TemplateID>` // // Note: `inspect_template` must be located in the same region as the // `SecuritySettings`. InspectTemplate string `protobuf:"bytes,9,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"` // [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this // template to define de-identification configuration for the content. // // The `DLP De-identify Templates Reader` role is needed on the Dialogflow // service identity service account (has the form // `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) // for your agent's project. // // If empty, Dialogflow replaces sensitive info with `[redacted]` text. // // The template name will have one of the following formats: // `projects/<ProjectID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` // OR // `organizations/<OrganizationID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` // // Note: `deidentify_template` must be located in the same region as the // `SecuritySettings`. DeidentifyTemplate string `protobuf:"bytes,17,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"` // Specifies how data is retained. Note that even if the data is // purged due to retention policy, we may still hold it in backup storage for // a few days without allowing direct readings. // // Types that are assignable to DataRetention: // // *SecuritySettings_RetentionWindowDays // *SecuritySettings_RetentionStrategy_ DataRetention isSecuritySettings_DataRetention `protobuf_oneof:"data_retention"` // List of types of data to remove when retention settings triggers purge. PurgeDataTypes []SecuritySettings_PurgeDataType `` /* 179-byte string literal not displayed */ // Controls audio export settings for post-conversation analytics when // ingesting audio to conversations via [Participants.AnalyzeContent][] or // [Participants.StreamingAnalyzeContent][]. // // If // [retention_strategy][google.cloud.dialogflow.cx.v3.SecuritySettings.retention_strategy] // is set to REMOVE_AFTER_CONVERSATION or [audio_export_settings.gcs_bucket][] // is empty, audio export is disabled. // // If audio export is enabled, audio is recorded and saved to // [audio_export_settings.gcs_bucket][], subject to retention policy of // [audio_export_settings.gcs_bucket][]. // // This setting won't effect audio input for implicit sessions via // [Sessions.DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] // or // [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent]. AudioExportSettings *SecuritySettings_AudioExportSettings `protobuf:"bytes,12,opt,name=audio_export_settings,json=audioExportSettings,proto3" json:"audio_export_settings,omitempty"` // Controls conversation exporting settings to Insights after conversation is // completed. // // If // [retention_strategy][google.cloud.dialogflow.cx.v3.SecuritySettings.retention_strategy] // is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter // what you configure here. InsightsExportSettings *SecuritySettings_InsightsExportSettings `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.
func (*SecuritySettings) Descriptor
deprecated
func (*SecuritySettings) Descriptor() ([]byte, []int)
Deprecated: Use SecuritySettings.ProtoReflect.Descriptor instead.
func (*SecuritySettings) GetAudioExportSettings ¶
func (x *SecuritySettings) GetAudioExportSettings() *SecuritySettings_AudioExportSettings
func (*SecuritySettings) GetDataRetention ¶
func (m *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetention
func (*SecuritySettings) GetDeidentifyTemplate ¶
func (x *SecuritySettings) GetDeidentifyTemplate() string
func (*SecuritySettings) GetDisplayName ¶
func (x *SecuritySettings) GetDisplayName() string
func (*SecuritySettings) GetInsightsExportSettings ¶
func (x *SecuritySettings) GetInsightsExportSettings() *SecuritySettings_InsightsExportSettings
func (*SecuritySettings) GetInspectTemplate ¶
func (x *SecuritySettings) GetInspectTemplate() string
func (*SecuritySettings) GetName ¶
func (x *SecuritySettings) GetName() string
func (*SecuritySettings) GetPurgeDataTypes ¶
func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataType
func (*SecuritySettings) GetRedactionScope ¶
func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScope
func (*SecuritySettings) GetRedactionStrategy ¶
func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategy
func (*SecuritySettings) GetRetentionStrategy ¶ added in v1.43.0
func (x *SecuritySettings) GetRetentionStrategy() SecuritySettings_RetentionStrategy
func (*SecuritySettings) GetRetentionWindowDays ¶
func (x *SecuritySettings) GetRetentionWindowDays() int32
func (*SecuritySettings) ProtoMessage ¶
func (*SecuritySettings) ProtoMessage()
func (*SecuritySettings) ProtoReflect ¶
func (x *SecuritySettings) ProtoReflect() protoreflect.Message
func (*SecuritySettings) Reset ¶
func (x *SecuritySettings) Reset()
func (*SecuritySettings) String ¶
func (x *SecuritySettings) String() string
type SecuritySettingsServiceClient ¶
type SecuritySettingsServiceClient interface { // Create security settings in the specified location. CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) // Retrieves the specified // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The // returned settings may be stale by up to 1 minute. GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) // Updates the specified // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error) // Returns the list of all security settings in the specified location. ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error) // Deletes the specified // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
SecuritySettingsServiceClient is the client API for SecuritySettingsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSecuritySettingsServiceClient ¶
func NewSecuritySettingsServiceClient(cc grpc.ClientConnInterface) SecuritySettingsServiceClient
type SecuritySettingsServiceServer ¶
type SecuritySettingsServiceServer interface { // Create security settings in the specified location. CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error) // Retrieves the specified // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The // returned settings may be stale by up to 1 minute. GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error) // Updates the specified // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error) // Returns the list of all security settings in the specified location. ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error) // Deletes the specified // [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error) }
SecuritySettingsServiceServer is the server API for SecuritySettingsService service.
type SecuritySettings_AudioExportSettings ¶
type SecuritySettings_AudioExportSettings struct { // Cloud Storage bucket to export audio record to. // Setting this field would grant the Storage Object Creator role to // the Dialogflow Service Agent. // API caller that tries to modify this field should have the permission of // storage.buckets.setIamPolicy. GcsBucket string `protobuf:"bytes,1,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` // Filename pattern for exported audio. AudioExportPattern string `protobuf:"bytes,2,opt,name=audio_export_pattern,json=audioExportPattern,proto3" json:"audio_export_pattern,omitempty"` // Enable audio redaction if it is true. // Note that this only redacts end-user audio data; // Synthesised audio from the virtual agent is not redacted. EnableAudioRedaction bool `protobuf:"varint,3,opt,name=enable_audio_redaction,json=enableAudioRedaction,proto3" json:"enable_audio_redaction,omitempty"` // File format for exported audio file. Currently only in telephony // recordings. AudioFormat SecuritySettings_AudioExportSettings_AudioFormat `` /* 179-byte string literal not displayed */ // Whether to store TTS audio. By default, TTS audio from the virtual agent // is not exported. StoreTtsAudio bool `protobuf:"varint,6,opt,name=store_tts_audio,json=storeTtsAudio,proto3" json:"store_tts_audio,omitempty"` // contains filtered or unexported fields }
Settings for exporting audio.
func (*SecuritySettings_AudioExportSettings) Descriptor
deprecated
func (*SecuritySettings_AudioExportSettings) Descriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_AudioExportSettings.ProtoReflect.Descriptor instead.
func (*SecuritySettings_AudioExportSettings) GetAudioExportPattern ¶
func (x *SecuritySettings_AudioExportSettings) GetAudioExportPattern() string
func (*SecuritySettings_AudioExportSettings) GetAudioFormat ¶
func (x *SecuritySettings_AudioExportSettings) GetAudioFormat() SecuritySettings_AudioExportSettings_AudioFormat
func (*SecuritySettings_AudioExportSettings) GetEnableAudioRedaction ¶
func (x *SecuritySettings_AudioExportSettings) GetEnableAudioRedaction() bool
func (*SecuritySettings_AudioExportSettings) GetGcsBucket ¶
func (x *SecuritySettings_AudioExportSettings) GetGcsBucket() string
func (*SecuritySettings_AudioExportSettings) GetStoreTtsAudio ¶ added in v1.55.0
func (x *SecuritySettings_AudioExportSettings) GetStoreTtsAudio() bool
func (*SecuritySettings_AudioExportSettings) ProtoMessage ¶
func (*SecuritySettings_AudioExportSettings) ProtoMessage()
func (*SecuritySettings_AudioExportSettings) ProtoReflect ¶
func (x *SecuritySettings_AudioExportSettings) ProtoReflect() protoreflect.Message
func (*SecuritySettings_AudioExportSettings) Reset ¶
func (x *SecuritySettings_AudioExportSettings) Reset()
func (*SecuritySettings_AudioExportSettings) String ¶
func (x *SecuritySettings_AudioExportSettings) String() string
type SecuritySettings_AudioExportSettings_AudioFormat ¶
type SecuritySettings_AudioExportSettings_AudioFormat int32
File format for exported audio file. Currently only in telephony recordings.
const ( // Unspecified. Do not use. SecuritySettings_AudioExportSettings_AUDIO_FORMAT_UNSPECIFIED SecuritySettings_AudioExportSettings_AudioFormat = 0 // G.711 mu-law PCM with 8kHz sample rate. SecuritySettings_AudioExportSettings_MULAW SecuritySettings_AudioExportSettings_AudioFormat = 1 // MP3 file format. SecuritySettings_AudioExportSettings_MP3 SecuritySettings_AudioExportSettings_AudioFormat = 2 // OGG Vorbis. SecuritySettings_AudioExportSettings_OGG SecuritySettings_AudioExportSettings_AudioFormat = 3 )
func (SecuritySettings_AudioExportSettings_AudioFormat) Descriptor ¶
func (SecuritySettings_AudioExportSettings_AudioFormat) Descriptor() protoreflect.EnumDescriptor
func (SecuritySettings_AudioExportSettings_AudioFormat) EnumDescriptor
deprecated
func (SecuritySettings_AudioExportSettings_AudioFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_AudioExportSettings_AudioFormat.Descriptor instead.
func (SecuritySettings_AudioExportSettings_AudioFormat) Number ¶
func (x SecuritySettings_AudioExportSettings_AudioFormat) Number() protoreflect.EnumNumber
func (SecuritySettings_AudioExportSettings_AudioFormat) String ¶
func (x SecuritySettings_AudioExportSettings_AudioFormat) String() string
type SecuritySettings_InsightsExportSettings ¶
type SecuritySettings_InsightsExportSettings struct { // If enabled, we will automatically exports // conversations to Insights and Insights runs its analyzers. EnableInsightsExport bool `protobuf:"varint,1,opt,name=enable_insights_export,json=enableInsightsExport,proto3" json:"enable_insights_export,omitempty"` // contains filtered or unexported fields }
Settings for exporting conversations to [Insights](https://cloud.google.com/contact-center/insights/docs).
func (*SecuritySettings_InsightsExportSettings) Descriptor
deprecated
func (*SecuritySettings_InsightsExportSettings) Descriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_InsightsExportSettings.ProtoReflect.Descriptor instead.
func (*SecuritySettings_InsightsExportSettings) GetEnableInsightsExport ¶
func (x *SecuritySettings_InsightsExportSettings) GetEnableInsightsExport() bool
func (*SecuritySettings_InsightsExportSettings) ProtoMessage ¶
func (*SecuritySettings_InsightsExportSettings) ProtoMessage()
func (*SecuritySettings_InsightsExportSettings) ProtoReflect ¶
func (x *SecuritySettings_InsightsExportSettings) ProtoReflect() protoreflect.Message
func (*SecuritySettings_InsightsExportSettings) Reset ¶
func (x *SecuritySettings_InsightsExportSettings) Reset()
func (*SecuritySettings_InsightsExportSettings) String ¶
func (x *SecuritySettings_InsightsExportSettings) String() string
type SecuritySettings_PurgeDataType ¶
type SecuritySettings_PurgeDataType int32
Type of data we purge after retention settings triggers purge.
const ( // Unspecified. Do not use. SecuritySettings_PURGE_DATA_TYPE_UNSPECIFIED SecuritySettings_PurgeDataType = 0 // Dialogflow history. This does not include Cloud logging, which is // owned by the user - not Dialogflow. SecuritySettings_DIALOGFLOW_HISTORY SecuritySettings_PurgeDataType = 1 )
func (SecuritySettings_PurgeDataType) Descriptor ¶
func (SecuritySettings_PurgeDataType) Descriptor() protoreflect.EnumDescriptor
func (SecuritySettings_PurgeDataType) Enum ¶
func (x SecuritySettings_PurgeDataType) Enum() *SecuritySettings_PurgeDataType
func (SecuritySettings_PurgeDataType) EnumDescriptor
deprecated
func (SecuritySettings_PurgeDataType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_PurgeDataType.Descriptor instead.
func (SecuritySettings_PurgeDataType) Number ¶
func (x SecuritySettings_PurgeDataType) Number() protoreflect.EnumNumber
func (SecuritySettings_PurgeDataType) String ¶
func (x SecuritySettings_PurgeDataType) String() string
func (SecuritySettings_PurgeDataType) Type ¶
func (SecuritySettings_PurgeDataType) Type() protoreflect.EnumType
type SecuritySettings_RedactionScope ¶
type SecuritySettings_RedactionScope int32
Defines what types of data to redact.
const ( // Don't redact any kind of data. SecuritySettings_REDACTION_SCOPE_UNSPECIFIED SecuritySettings_RedactionScope = 0 // On data to be written to disk or similar devices that are capable of // holding data even if power is disconnected. This includes data that are // temporarily saved on disk. SecuritySettings_REDACT_DISK_STORAGE SecuritySettings_RedactionScope = 2 )
func (SecuritySettings_RedactionScope) Descriptor ¶
func (SecuritySettings_RedactionScope) Descriptor() protoreflect.EnumDescriptor
func (SecuritySettings_RedactionScope) Enum ¶
func (x SecuritySettings_RedactionScope) Enum() *SecuritySettings_RedactionScope
func (SecuritySettings_RedactionScope) EnumDescriptor
deprecated
func (SecuritySettings_RedactionScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_RedactionScope.Descriptor instead.
func (SecuritySettings_RedactionScope) Number ¶
func (x SecuritySettings_RedactionScope) Number() protoreflect.EnumNumber
func (SecuritySettings_RedactionScope) String ¶
func (x SecuritySettings_RedactionScope) String() string
func (SecuritySettings_RedactionScope) Type ¶
func (SecuritySettings_RedactionScope) Type() protoreflect.EnumType
type SecuritySettings_RedactionStrategy ¶
type SecuritySettings_RedactionStrategy int32
Defines how we redact data.
const ( // Do not redact. SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED SecuritySettings_RedactionStrategy = 0 // Call redaction service to clean up the data to be persisted. SecuritySettings_REDACT_WITH_SERVICE SecuritySettings_RedactionStrategy = 1 )
func (SecuritySettings_RedactionStrategy) Descriptor ¶
func (SecuritySettings_RedactionStrategy) Descriptor() protoreflect.EnumDescriptor
func (SecuritySettings_RedactionStrategy) Enum ¶
func (x SecuritySettings_RedactionStrategy) Enum() *SecuritySettings_RedactionStrategy
func (SecuritySettings_RedactionStrategy) EnumDescriptor
deprecated
func (SecuritySettings_RedactionStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_RedactionStrategy.Descriptor instead.
func (SecuritySettings_RedactionStrategy) Number ¶
func (x SecuritySettings_RedactionStrategy) Number() protoreflect.EnumNumber
func (SecuritySettings_RedactionStrategy) String ¶
func (x SecuritySettings_RedactionStrategy) String() string
func (SecuritySettings_RedactionStrategy) Type ¶
func (SecuritySettings_RedactionStrategy) Type() protoreflect.EnumType
type SecuritySettings_RetentionStrategy ¶ added in v1.43.0
type SecuritySettings_RetentionStrategy int32
Defines how long we retain persisted data that contains sensitive info.
const ( // Retains the persisted data with Dialogflow's internal default 365d TTLs. SecuritySettings_RETENTION_STRATEGY_UNSPECIFIED SecuritySettings_RetentionStrategy = 0 // Removes data when the conversation ends. If there is no [Conversation][] // explicitly established, a default conversation ends when the // corresponding Dialogflow session ends. SecuritySettings_REMOVE_AFTER_CONVERSATION SecuritySettings_RetentionStrategy = 1 )
func (SecuritySettings_RetentionStrategy) Descriptor ¶ added in v1.43.0
func (SecuritySettings_RetentionStrategy) Descriptor() protoreflect.EnumDescriptor
func (SecuritySettings_RetentionStrategy) Enum ¶ added in v1.43.0
func (x SecuritySettings_RetentionStrategy) Enum() *SecuritySettings_RetentionStrategy
func (SecuritySettings_RetentionStrategy) EnumDescriptor
deprecated
added in
v1.43.0
func (SecuritySettings_RetentionStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecuritySettings_RetentionStrategy.Descriptor instead.
func (SecuritySettings_RetentionStrategy) Number ¶ added in v1.43.0
func (x SecuritySettings_RetentionStrategy) Number() protoreflect.EnumNumber
func (SecuritySettings_RetentionStrategy) String ¶ added in v1.43.0
func (x SecuritySettings_RetentionStrategy) String() string
func (SecuritySettings_RetentionStrategy) Type ¶ added in v1.43.0
func (SecuritySettings_RetentionStrategy) Type() protoreflect.EnumType
type SecuritySettings_RetentionStrategy_ ¶ added in v1.43.0
type SecuritySettings_RetentionStrategy_ struct { // Specifies the retention behavior defined by // [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategy]. RetentionStrategy SecuritySettings_RetentionStrategy `` /* 153-byte string literal not displayed */ }
type SecuritySettings_RetentionWindowDays ¶
type SecuritySettings_RetentionWindowDays struct { // Retains the data for the specified number of days. // User must set a value lower than Dialogflow's default 365d TTL (30 days // for Agent Assist traffic), higher value will be ignored and use default. // Setting a value higher than that has no effect. A missing value or // setting to 0 also means we use default TTL. // When data retention configuration is changed, it only applies to the data // created after the change; the TTL of existing data created before the // change stays intact. RetentionWindowDays int32 `protobuf:"varint,6,opt,name=retention_window_days,json=retentionWindowDays,proto3,oneof"` }
type SentimentAnalysisResult ¶
type SentimentAnalysisResult struct { // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive // // sentiment). Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` // A non-negative number in the [0, +inf) range, which represents the absolute // magnitude of sentiment, regardless of score (positive or negative). Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` // contains filtered or unexported fields }
The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.
func (*SentimentAnalysisResult) Descriptor
deprecated
func (*SentimentAnalysisResult) Descriptor() ([]byte, []int)
Deprecated: Use SentimentAnalysisResult.ProtoReflect.Descriptor instead.
func (*SentimentAnalysisResult) GetMagnitude ¶
func (x *SentimentAnalysisResult) GetMagnitude() float32
func (*SentimentAnalysisResult) GetScore ¶
func (x *SentimentAnalysisResult) GetScore() float32
func (*SentimentAnalysisResult) ProtoMessage ¶
func (*SentimentAnalysisResult) ProtoMessage()
func (*SentimentAnalysisResult) ProtoReflect ¶
func (x *SentimentAnalysisResult) ProtoReflect() protoreflect.Message
func (*SentimentAnalysisResult) Reset ¶
func (x *SentimentAnalysisResult) Reset()
func (*SentimentAnalysisResult) String ¶
func (x *SentimentAnalysisResult) String() string
type SessionEntityType ¶
type SessionEntityType struct { // Required. The unique identifier of the session entity type. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Indicates whether the additional data should override or // supplement the custom entity type definition. EntityOverrideMode SessionEntityType_EntityOverrideMode `` /* 190-byte string literal not displayed */ // Required. The collection of entities to override or supplement the custom // entity type. Entities []*EntityType_Entity `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
Session entity types are referred to as **User** entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.
You can redefine a session entity type at the session level to extend or replace a [custom entity type][google.cloud.dialogflow.cx.v3.EntityType] at the user session level (we refer to the entity types defined at the agent level as "custom entity types").
Note: session entity types apply to all queries, regardless of the language.
For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
func (*SessionEntityType) Descriptor
deprecated
func (*SessionEntityType) Descriptor() ([]byte, []int)
Deprecated: Use SessionEntityType.ProtoReflect.Descriptor instead.
func (*SessionEntityType) GetEntities ¶
func (x *SessionEntityType) GetEntities() []*EntityType_Entity
func (*SessionEntityType) GetEntityOverrideMode ¶
func (x *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode
func (*SessionEntityType) GetName ¶
func (x *SessionEntityType) GetName() string
func (*SessionEntityType) ProtoMessage ¶
func (*SessionEntityType) ProtoMessage()
func (*SessionEntityType) ProtoReflect ¶
func (x *SessionEntityType) ProtoReflect() protoreflect.Message
func (*SessionEntityType) Reset ¶
func (x *SessionEntityType) Reset()
func (*SessionEntityType) String ¶
func (x *SessionEntityType) String() string
type SessionEntityType_EntityOverrideMode ¶
type SessionEntityType_EntityOverrideMode int32
The types of modifications for the session entity type.
const ( // Not specified. This value should be never used. SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0 // The collection of session entities overrides the collection of entities // in the corresponding custom entity type. SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1 // The collection of session entities extends the collection of entities in // the corresponding custom entity type. // // Note: Even in this override mode calls to `ListSessionEntityTypes`, // `GetSessionEntityType`, `CreateSessionEntityType` and // `UpdateSessionEntityType` only return the additional entities added in // this session entity type. If you want to get the supplemented list, // please call // [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType] // on the custom entity type and merge. SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2 )
func (SessionEntityType_EntityOverrideMode) Descriptor ¶
func (SessionEntityType_EntityOverrideMode) Descriptor() protoreflect.EnumDescriptor
func (SessionEntityType_EntityOverrideMode) Enum ¶
func (x SessionEntityType_EntityOverrideMode) Enum() *SessionEntityType_EntityOverrideMode
func (SessionEntityType_EntityOverrideMode) EnumDescriptor
deprecated
func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionEntityType_EntityOverrideMode.Descriptor instead.
func (SessionEntityType_EntityOverrideMode) Number ¶
func (x SessionEntityType_EntityOverrideMode) Number() protoreflect.EnumNumber
func (SessionEntityType_EntityOverrideMode) String ¶
func (x SessionEntityType_EntityOverrideMode) String() string
func (SessionEntityType_EntityOverrideMode) Type ¶
func (SessionEntityType_EntityOverrideMode) Type() protoreflect.EnumType
type SessionEntityTypesClient ¶
type SessionEntityTypesClient interface { // Returns the list of all session entity types in the specified session. ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) // Retrieves the specified session entity type. GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Creates a session entity type. CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Updates the specified session entity type. UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Deletes the specified session entity type. DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
SessionEntityTypesClient is the client API for SessionEntityTypes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionEntityTypesClient ¶
func NewSessionEntityTypesClient(cc grpc.ClientConnInterface) SessionEntityTypesClient
type SessionEntityTypesServer ¶
type SessionEntityTypesServer interface { // Returns the list of all session entity types in the specified session. ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error) // Retrieves the specified session entity type. GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error) // Creates a session entity type. CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error) // Updates the specified session entity type. UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) // Deletes the specified session entity type. DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error) }
SessionEntityTypesServer is the server API for SessionEntityTypes service.
type SessionInfo ¶
type SessionInfo struct { // Always present for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for // [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The // unique identifier of the // [session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session]. This // field can be used by the webhook to identify a session. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>` // if environment is specified. Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // Optional for // [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional // for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. All // parameters collected from forms and intents during the session. Parameters // can be created, updated, or removed by the webhook. To remove a parameter // from the session, the webhook should explicitly set the parameter value to // null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. // The map is keyed by parameters' display names. Parameters map[string]*structpb.Value `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Represents session information communicated to and from the webhook.
func (*SessionInfo) Descriptor
deprecated
func (*SessionInfo) Descriptor() ([]byte, []int)
Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.
func (*SessionInfo) GetParameters ¶
func (x *SessionInfo) GetParameters() map[string]*structpb.Value
func (*SessionInfo) GetSession ¶
func (x *SessionInfo) GetSession() string
func (*SessionInfo) ProtoMessage ¶
func (*SessionInfo) ProtoMessage()
func (*SessionInfo) ProtoReflect ¶
func (x *SessionInfo) ProtoReflect() protoreflect.Message
func (*SessionInfo) Reset ¶
func (x *SessionInfo) Reset()
func (*SessionInfo) String ¶
func (x *SessionInfo) String() string
type SessionsClient ¶
type SessionsClient interface { // Processes a natural language query and returns structured, actionable data // as a result. This method is not idempotent, because it may cause session // entity types to be updated, which in turn might affect results of future // queries. // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) // Processes a natural language query and returns structured, actionable data // as a result through server-side streaming. Server-side streaming allows // Dialogflow to send [partial // responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) // earlier in a single request. ServerStreamingDetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (Sessions_ServerStreamingDetectIntentClient, error) // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) // Returns preliminary intent match results, doesn't change the session // status. MatchIntent(ctx context.Context, in *MatchIntentRequest, opts ...grpc.CallOption) (*MatchIntentResponse, error) // Fulfills a matched intent returned by // [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be // called after // [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with // input from // [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. // Otherwise, the behavior is undefined. FulfillIntent(ctx context.Context, in *FulfillIntentRequest, opts ...grpc.CallOption) (*FulfillIntentResponse, error) // Updates the feedback received from the user for a single turn of the bot // response. SubmitAnswerFeedback(ctx context.Context, in *SubmitAnswerFeedbackRequest, opts ...grpc.CallOption) (*AnswerFeedback, error) }
SessionsClient is the client API for Sessions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionsClient ¶
func NewSessionsClient(cc grpc.ClientConnInterface) SessionsClient
type SessionsServer ¶
type SessionsServer interface { // Processes a natural language query and returns structured, actionable data // as a result. This method is not idempotent, because it may cause session // entity types to be updated, which in turn might affect results of future // queries. // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error) // Processes a natural language query and returns structured, actionable data // as a result through server-side streaming. Server-side streaming allows // Dialogflow to send [partial // responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) // earlier in a single request. ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) error // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error // Returns preliminary intent match results, doesn't change the session // status. MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error) // Fulfills a matched intent returned by // [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be // called after // [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with // input from // [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. // Otherwise, the behavior is undefined. FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error) // Updates the feedback received from the user for a single turn of the bot // response. SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error) }
SessionsServer is the server API for Sessions service.
type Sessions_ServerStreamingDetectIntentClient ¶ added in v1.49.0
type Sessions_ServerStreamingDetectIntentClient interface { Recv() (*DetectIntentResponse, error) grpc.ClientStream }
type Sessions_ServerStreamingDetectIntentServer ¶ added in v1.49.0
type Sessions_ServerStreamingDetectIntentServer interface { Send(*DetectIntentResponse) error grpc.ServerStream }
type Sessions_StreamingDetectIntentClient ¶
type Sessions_StreamingDetectIntentClient interface { Send(*StreamingDetectIntentRequest) error Recv() (*StreamingDetectIntentResponse, error) grpc.ClientStream }
type Sessions_StreamingDetectIntentServer ¶
type Sessions_StreamingDetectIntentServer interface { Send(*StreamingDetectIntentResponse) error Recv() (*StreamingDetectIntentRequest, error) grpc.ServerStream }
type SpeechModelVariant ¶
type SpeechModelVariant int32
Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use.
See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for which models have different variants. For example, the "phone_call" model has both a standard and an enhanced variant. When you use an enhanced model, you will generally receive higher quality results than for a standard model.
const ( // No model variant specified. In this case Dialogflow defaults to // USE_BEST_AVAILABLE. SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0 // Use the best available variant of the [Speech // model][InputAudioConfig.model] that the caller is eligible for. SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1 // Use standard model variant even if an enhanced model is available. See the // [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) // for details about enhanced models. SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2 // Use an enhanced model variant: // // - If an enhanced variant does not exist for the given // [model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] and request // language, Dialogflow falls back to the standard variant. // // The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) // describes which models have enhanced variants. SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3 )
func (SpeechModelVariant) Descriptor ¶
func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptor
func (SpeechModelVariant) Enum ¶
func (x SpeechModelVariant) Enum() *SpeechModelVariant
func (SpeechModelVariant) EnumDescriptor
deprecated
func (SpeechModelVariant) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpeechModelVariant.Descriptor instead.
func (SpeechModelVariant) Number ¶
func (x SpeechModelVariant) Number() protoreflect.EnumNumber
func (SpeechModelVariant) String ¶
func (x SpeechModelVariant) String() string
func (SpeechModelVariant) Type ¶
func (SpeechModelVariant) Type() protoreflect.EnumType
type SpeechToTextSettings ¶
type SpeechToTextSettings struct { // Whether to use speech adaptation for speech recognition. EnableSpeechAdaptation bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Settings related to speech recognition.
func (*SpeechToTextSettings) Descriptor
deprecated
func (*SpeechToTextSettings) Descriptor() ([]byte, []int)
Deprecated: Use SpeechToTextSettings.ProtoReflect.Descriptor instead.
func (*SpeechToTextSettings) GetEnableSpeechAdaptation ¶
func (x *SpeechToTextSettings) GetEnableSpeechAdaptation() bool
func (*SpeechToTextSettings) ProtoMessage ¶
func (*SpeechToTextSettings) ProtoMessage()
func (*SpeechToTextSettings) ProtoReflect ¶
func (x *SpeechToTextSettings) ProtoReflect() protoreflect.Message
func (*SpeechToTextSettings) Reset ¶
func (x *SpeechToTextSettings) Reset()
func (*SpeechToTextSettings) String ¶
func (x *SpeechToTextSettings) String() string
type SpeechWordInfo ¶
type SpeechWordInfo struct { // The word this info is for. Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` // Time offset relative to the beginning of the audio that corresponds to the // start of the spoken word. This is an experimental feature and the accuracy // of the time offset can vary. StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` // Time offset relative to the beginning of the audio that corresponds to the // end of the spoken word. This is an experimental feature and the accuracy of // the time offset can vary. EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` // The Speech confidence between 0.0 and 1.0 for this word. A higher number // indicates an estimated greater likelihood that the recognized word is // correct. The default of 0.0 is a sentinel value indicating that confidence // was not set. // // This field is not guaranteed to be fully stable over time for the same // audio input. Users should also not rely on it to always be provided. Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
Information for a word recognized by the speech recognizer.
func (*SpeechWordInfo) Descriptor
deprecated
func (*SpeechWordInfo) Descriptor() ([]byte, []int)
Deprecated: Use SpeechWordInfo.ProtoReflect.Descriptor instead.
func (*SpeechWordInfo) GetConfidence ¶
func (x *SpeechWordInfo) GetConfidence() float32
func (*SpeechWordInfo) GetEndOffset ¶
func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration
func (*SpeechWordInfo) GetStartOffset ¶
func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration
func (*SpeechWordInfo) GetWord ¶
func (x *SpeechWordInfo) GetWord() string
func (*SpeechWordInfo) ProtoMessage ¶
func (*SpeechWordInfo) ProtoMessage()
func (*SpeechWordInfo) ProtoReflect ¶
func (x *SpeechWordInfo) ProtoReflect() protoreflect.Message
func (*SpeechWordInfo) Reset ¶
func (x *SpeechWordInfo) Reset()
func (*SpeechWordInfo) String ¶
func (x *SpeechWordInfo) String() string
type SsmlVoiceGender ¶
type SsmlVoiceGender int32
Gender of the voice as described in [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
const ( // An unspecified gender, which means that the client doesn't care which // gender the selected voice will have. SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 // A male voice. SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1 // A female voice. SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2 // A gender-neutral voice. SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3 )
func (SsmlVoiceGender) Descriptor ¶
func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor
func (SsmlVoiceGender) Enum ¶
func (x SsmlVoiceGender) Enum() *SsmlVoiceGender
func (SsmlVoiceGender) EnumDescriptor
deprecated
func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int)
Deprecated: Use SsmlVoiceGender.Descriptor instead.
func (SsmlVoiceGender) Number ¶
func (x SsmlVoiceGender) Number() protoreflect.EnumNumber
func (SsmlVoiceGender) String ¶
func (x SsmlVoiceGender) String() string
func (SsmlVoiceGender) Type ¶
func (SsmlVoiceGender) Type() protoreflect.EnumType
type StartExperimentRequest ¶
type StartExperimentRequest struct { // Required. Resource name of the experiment to start. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.StartExperiment][google.cloud.dialogflow.cx.v3.Experiments.StartExperiment].
func (*StartExperimentRequest) Descriptor
deprecated
func (*StartExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartExperimentRequest.ProtoReflect.Descriptor instead.
func (*StartExperimentRequest) GetName ¶
func (x *StartExperimentRequest) GetName() string
func (*StartExperimentRequest) ProtoMessage ¶
func (*StartExperimentRequest) ProtoMessage()
func (*StartExperimentRequest) ProtoReflect ¶
func (x *StartExperimentRequest) ProtoReflect() protoreflect.Message
func (*StartExperimentRequest) Reset ¶
func (x *StartExperimentRequest) Reset()
func (*StartExperimentRequest) String ¶
func (x *StartExperimentRequest) String() string
type StopExperimentRequest ¶
type StopExperimentRequest struct { // Required. Resource name of the experiment to stop. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/experiments/<ExperimentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.StopExperiment][google.cloud.dialogflow.cx.v3.Experiments.StopExperiment].
func (*StopExperimentRequest) Descriptor
deprecated
func (*StopExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopExperimentRequest.ProtoReflect.Descriptor instead.
func (*StopExperimentRequest) GetName ¶
func (x *StopExperimentRequest) GetName() string
func (*StopExperimentRequest) ProtoMessage ¶
func (*StopExperimentRequest) ProtoMessage()
func (*StopExperimentRequest) ProtoReflect ¶
func (x *StopExperimentRequest) ProtoReflect() protoreflect.Message
func (*StopExperimentRequest) Reset ¶
func (x *StopExperimentRequest) Reset()
func (*StopExperimentRequest) String ¶
func (x *StopExperimentRequest) String() string
type StreamingDetectIntentRequest ¶
type StreamingDetectIntentRequest struct { // The name of the session this query is sent to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>`. // If `Environment ID` is not specified, we assume default 'draft' // environment. // It's up to the API caller to choose an appropriate `Session ID`. It can be // a random number or some type of session identifiers (preferably hashed). // The length of the `Session ID` must not exceed 36 characters. // Note: session must be set in the first request. // // For more information, see the [sessions // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version). Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // The parameters of this query. QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Required. The input specification. QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` // Instructs the speech synthesizer how to generate the output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // Enable partial detect intent response. If this flag is not enabled, // response stream still contains only one final `DetectIntentResponse` even // if some `Fulfillment`s in the agent have been configured to return partial // responses. EnablePartialResponse bool `` /* 127-byte string literal not displayed */ // If true, `StreamingDetectIntentResponse.debugging_info` will get populated. EnableDebuggingInfo bool `protobuf:"varint,8,opt,name=enable_debugging_info,json=enableDebuggingInfo,proto3" json:"enable_debugging_info,omitempty"` // contains filtered or unexported fields }
The top-level message sent by the client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
Multiple request messages should be sent in order:
- The first message must contain [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client wants to receive an audio response, it should also contain [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config].
2. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to
[query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text]. However, note that: * Dialogflow will bill you for the audio duration so far. * Dialogflow discards all Speech recognition results in favor of the input text. * Dialogflow will use the language code from the first message.
After you sent all input, you must half-close or abort the request stream.
func (*StreamingDetectIntentRequest) Descriptor
deprecated
func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamingDetectIntentRequest.ProtoReflect.Descriptor instead.
func (*StreamingDetectIntentRequest) GetEnableDebuggingInfo ¶ added in v1.33.0
func (x *StreamingDetectIntentRequest) GetEnableDebuggingInfo() bool
func (*StreamingDetectIntentRequest) GetEnablePartialResponse ¶
func (x *StreamingDetectIntentRequest) GetEnablePartialResponse() bool
func (*StreamingDetectIntentRequest) GetOutputAudioConfig ¶
func (x *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
func (*StreamingDetectIntentRequest) GetQueryInput ¶
func (x *StreamingDetectIntentRequest) GetQueryInput() *QueryInput
func (*StreamingDetectIntentRequest) GetQueryParams ¶
func (x *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters
func (*StreamingDetectIntentRequest) GetSession ¶
func (x *StreamingDetectIntentRequest) GetSession() string
func (*StreamingDetectIntentRequest) ProtoMessage ¶
func (*StreamingDetectIntentRequest) ProtoMessage()
func (*StreamingDetectIntentRequest) ProtoReflect ¶
func (x *StreamingDetectIntentRequest) ProtoReflect() protoreflect.Message
func (*StreamingDetectIntentRequest) Reset ¶
func (x *StreamingDetectIntentRequest) Reset()
func (*StreamingDetectIntentRequest) String ¶
func (x *StreamingDetectIntentRequest) String() string
type StreamingDetectIntentResponse ¶
type StreamingDetectIntentResponse struct { // The output response. // // Types that are assignable to Response: // // *StreamingDetectIntentResponse_RecognitionResult // *StreamingDetectIntentResponse_DetectIntentResponse Response isStreamingDetectIntentResponse_Response `protobuf_oneof:"response"` // Debugging info that would get populated when // `StreamingDetectIntentRequest.enable_debugging_info` is set to true. DebuggingInfo *CloudConversationDebuggingInfo `protobuf:"bytes,4,opt,name=debugging_info,json=debuggingInfo,proto3" json:"debugging_info,omitempty"` // contains filtered or unexported fields }
The top-level message returned from the [StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
Multiple response messages (N) can be returned in order.
The first (N-1) responses set either the `recognition_result` or `detect_intent_response` field, depending on the request:
If the `StreamingDetectIntentRequest.query_input.audio` field was set, and the `StreamingDetectIntentRequest.enable_partial_response` field was false, the `recognition_result` field is populated for each of the (N-1) responses. See the StreamingRecognitionResult[google.cloud.dialogflow.cx.v3.StreamingRecognitionResult] message for details about the result message sequence.
If the `StreamingDetectIntentRequest.enable_partial_response` field was true, the `detect_intent_response` field is populated for each of the (N-1) responses, where 1 <= N <= 4. These responses set the [DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type] field to `PARTIAL`.
For the final Nth response message, the `detect_intent_response` is fully populated, and [DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type] is set to `FINAL`.
func (*StreamingDetectIntentResponse) Descriptor
deprecated
func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamingDetectIntentResponse.ProtoReflect.Descriptor instead.
func (*StreamingDetectIntentResponse) GetDebuggingInfo ¶ added in v1.33.0
func (x *StreamingDetectIntentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfo
func (*StreamingDetectIntentResponse) GetDetectIntentResponse ¶
func (x *StreamingDetectIntentResponse) GetDetectIntentResponse() *DetectIntentResponse
func (*StreamingDetectIntentResponse) GetRecognitionResult ¶
func (x *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult
func (*StreamingDetectIntentResponse) GetResponse ¶
func (m *StreamingDetectIntentResponse) GetResponse() isStreamingDetectIntentResponse_Response
func (*StreamingDetectIntentResponse) ProtoMessage ¶
func (*StreamingDetectIntentResponse) ProtoMessage()
func (*StreamingDetectIntentResponse) ProtoReflect ¶
func (x *StreamingDetectIntentResponse) ProtoReflect() protoreflect.Message
func (*StreamingDetectIntentResponse) Reset ¶
func (x *StreamingDetectIntentResponse) Reset()
func (*StreamingDetectIntentResponse) String ¶
func (x *StreamingDetectIntentResponse) String() string
type StreamingDetectIntentResponse_DetectIntentResponse ¶
type StreamingDetectIntentResponse_DetectIntentResponse struct { // The response from detect intent. DetectIntentResponse *DetectIntentResponse `protobuf:"bytes,2,opt,name=detect_intent_response,json=detectIntentResponse,proto3,oneof"` }
type StreamingDetectIntentResponse_RecognitionResult ¶
type StreamingDetectIntentResponse_RecognitionResult struct { // The result of speech recognition. RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,1,opt,name=recognition_result,json=recognitionResult,proto3,oneof"` }
type StreamingRecognitionResult ¶
type StreamingRecognitionResult struct { // Type of the result message. MessageType StreamingRecognitionResult_MessageType `` /* 169-byte string literal not displayed */ // Transcript text representing the words that the user spoke. // Populated if and only if `message_type` = `TRANSCRIPT`. Transcript string `protobuf:"bytes,2,opt,name=transcript,proto3" json:"transcript,omitempty"` // If `false`, the `StreamingRecognitionResult` represents an // interim result that may change. If `true`, the recognizer will not return // any further hypotheses about this piece of the audio. May only be populated // for `message_type` = `TRANSCRIPT`. IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` // The Speech confidence between 0.0 and 1.0 for the current portion of audio. // A higher number indicates an estimated greater likelihood that the // recognized words are correct. The default of 0.0 is a sentinel value // indicating that confidence was not set. // // This field is typically only provided if `is_final` is true and you should // not rely on it being accurate or even set. Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` // An estimate of the likelihood that the speech recognizer will // not change its guess about this interim recognition result: // - If the value is unspecified or 0.0, Dialogflow didn't compute the // stability. In particular, Dialogflow will only provide stability for // `TRANSCRIPT` results with `is_final = false`. // - Otherwise, the value is in (0.0, 1.0] where 0.0 means completely // unstable and 1.0 means completely stable. Stability float32 `protobuf:"fixed32,6,opt,name=stability,proto3" json:"stability,omitempty"` // Word-specific information for the words recognized by Speech in // [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. // Populated if and only if `message_type` = `TRANSCRIPT` and // [InputAudioConfig.enable_word_info] is set. SpeechWordInfo []*SpeechWordInfo `protobuf:"bytes,7,rep,name=speech_word_info,json=speechWordInfo,proto3" json:"speech_word_info,omitempty"` // Time offset of the end of this Speech recognition result relative to the // beginning of the audio. Only populated for `message_type` = // `TRANSCRIPT`. SpeechEndOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"` // Detected language code for the transcript. LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance.
While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a `transcript` value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the `is_final` value is set to true and processing continues for the next transcript.
If `StreamingDetectIntentRequest.query_input.audio.config.single_utterance` was true, and the recognizer has completed processing audio, the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript.
The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results.
In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur.
``` Num | transcript | message_type | is_final --- | ----------------------- | ----------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" | TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" | TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question" | TRANSCRIPT | true ```
Concatenating the finalized transcripts with `is_final` set to true, the complete utterance becomes "to be or not to be that is the question".
func (*StreamingRecognitionResult) Descriptor
deprecated
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)
Deprecated: Use StreamingRecognitionResult.ProtoReflect.Descriptor instead.
func (*StreamingRecognitionResult) GetConfidence ¶
func (x *StreamingRecognitionResult) GetConfidence() float32
func (*StreamingRecognitionResult) GetIsFinal ¶
func (x *StreamingRecognitionResult) GetIsFinal() bool
func (*StreamingRecognitionResult) GetLanguageCode ¶
func (x *StreamingRecognitionResult) GetLanguageCode() string
func (*StreamingRecognitionResult) GetMessageType ¶
func (x *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageType
func (*StreamingRecognitionResult) GetSpeechEndOffset ¶
func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Duration
func (*StreamingRecognitionResult) GetSpeechWordInfo ¶
func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo
func (*StreamingRecognitionResult) GetStability ¶
func (x *StreamingRecognitionResult) GetStability() float32
func (*StreamingRecognitionResult) GetTranscript ¶
func (x *StreamingRecognitionResult) GetTranscript() string
func (*StreamingRecognitionResult) ProtoMessage ¶
func (*StreamingRecognitionResult) ProtoMessage()
func (*StreamingRecognitionResult) ProtoReflect ¶
func (x *StreamingRecognitionResult) ProtoReflect() protoreflect.Message
func (*StreamingRecognitionResult) Reset ¶
func (x *StreamingRecognitionResult) Reset()
func (*StreamingRecognitionResult) String ¶
func (x *StreamingRecognitionResult) String() string
type StreamingRecognitionResult_MessageType ¶
type StreamingRecognitionResult_MessageType int32
Type of the response message.
const ( // Not specified. Should never be used. StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED StreamingRecognitionResult_MessageType = 0 // Message contains a (possibly partial) transcript. StreamingRecognitionResult_TRANSCRIPT StreamingRecognitionResult_MessageType = 1 // This event indicates that the server has detected the end of the user's // speech utterance and expects no additional speech. Therefore, the server // will not process additional audio (although it may subsequently return // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if // [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] // was set to `true`, and is not used otherwise. StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE StreamingRecognitionResult_MessageType = 2 )
func (StreamingRecognitionResult_MessageType) Descriptor ¶
func (StreamingRecognitionResult_MessageType) Descriptor() protoreflect.EnumDescriptor
func (StreamingRecognitionResult_MessageType) EnumDescriptor
deprecated
func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamingRecognitionResult_MessageType.Descriptor instead.
func (StreamingRecognitionResult_MessageType) Number ¶
func (x StreamingRecognitionResult_MessageType) Number() protoreflect.EnumNumber
func (StreamingRecognitionResult_MessageType) String ¶
func (x StreamingRecognitionResult_MessageType) String() string
func (StreamingRecognitionResult_MessageType) Type ¶
func (StreamingRecognitionResult_MessageType) Type() protoreflect.EnumType
type SubmitAnswerFeedbackRequest ¶ added in v1.45.0
type SubmitAnswerFeedbackRequest struct { // Required. The name of the session the feedback was sent to. Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // Required. ID of the response to update its feedback. This is the same as // DetectIntentResponse.response_id. ResponseId string `protobuf:"bytes,2,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` // Required. Feedback provided for a bot answer. AnswerFeedback *AnswerFeedback `protobuf:"bytes,3,opt,name=answer_feedback,json=answerFeedback,proto3" json:"answer_feedback,omitempty"` // Optional. The mask to control which fields to update. If the mask is not // present, all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request to set the feedback for a bot answer.
func (*SubmitAnswerFeedbackRequest) Descriptor
deprecated
added in
v1.45.0
func (*SubmitAnswerFeedbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitAnswerFeedbackRequest.ProtoReflect.Descriptor instead.
func (*SubmitAnswerFeedbackRequest) GetAnswerFeedback ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) GetAnswerFeedback() *AnswerFeedback
func (*SubmitAnswerFeedbackRequest) GetResponseId ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) GetResponseId() string
func (*SubmitAnswerFeedbackRequest) GetSession ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) GetSession() string
func (*SubmitAnswerFeedbackRequest) GetUpdateMask ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*SubmitAnswerFeedbackRequest) ProtoMessage ¶ added in v1.45.0
func (*SubmitAnswerFeedbackRequest) ProtoMessage()
func (*SubmitAnswerFeedbackRequest) ProtoReflect ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) ProtoReflect() protoreflect.Message
func (*SubmitAnswerFeedbackRequest) Reset ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) Reset()
func (*SubmitAnswerFeedbackRequest) String ¶ added in v1.45.0
func (x *SubmitAnswerFeedbackRequest) String() string
type SynthesizeSpeechConfig ¶
type SynthesizeSpeechConfig struct { // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal // native speed supported by the specific voice. 2.0 is twice as fast, and // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any // other values < 0.25 or > 4.0 will return an error. SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 // semitones from the original pitch. -20 means decrease 20 semitones from the // original pitch. Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"` // Optional. Volume gain (in dB) of the normal native volume supported by the // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of // 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) // will play at approximately half the amplitude of the normal native signal // amplitude. A value of +6.0 (dB) will play at approximately twice the // amplitude of the normal native signal amplitude. We strongly recommend not // to exceed +10 (dB) as there's usually no effective increase in loudness for // any value greater than that. VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` // Optional. An identifier which selects 'audio effects' profiles that are // applied on (post synthesized) text to speech. Effects are applied on top of // each other in the order they are given. EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` // Optional. The desired voice of the synthesized audio. Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"` // contains filtered or unexported fields }
Configuration of how speech should be synthesized.
func (*SynthesizeSpeechConfig) Descriptor
deprecated
func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int)
Deprecated: Use SynthesizeSpeechConfig.ProtoReflect.Descriptor instead.
func (*SynthesizeSpeechConfig) GetEffectsProfileId ¶
func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string
func (*SynthesizeSpeechConfig) GetPitch ¶
func (x *SynthesizeSpeechConfig) GetPitch() float64
func (*SynthesizeSpeechConfig) GetSpeakingRate ¶
func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64
func (*SynthesizeSpeechConfig) GetVoice ¶
func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams
func (*SynthesizeSpeechConfig) GetVolumeGainDb ¶
func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64
func (*SynthesizeSpeechConfig) ProtoMessage ¶
func (*SynthesizeSpeechConfig) ProtoMessage()
func (*SynthesizeSpeechConfig) ProtoReflect ¶
func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Message
func (*SynthesizeSpeechConfig) Reset ¶
func (x *SynthesizeSpeechConfig) Reset()
func (*SynthesizeSpeechConfig) String ¶
func (x *SynthesizeSpeechConfig) String() string
type TestCase ¶
type TestCase struct { // The unique identifier of the test case. // [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase] // will populate the name automatically. Otherwise use format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Tags are short descriptions that users may apply to test cases for // organizational and filtering purposes. Each tag should start with "#" and // has a limit of 30 characters. Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"` // Required. The human-readable name of the test case, unique within the // agent. Limit of 200 characters. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Additional freeform notes about the test case. Limit of 400 characters. Notes string `protobuf:"bytes,4,opt,name=notes,proto3" json:"notes,omitempty"` // Config for the test case. TestConfig *TestConfig `protobuf:"bytes,13,opt,name=test_config,json=testConfig,proto3" json:"test_config,omitempty"` // The conversation turns uttered when the test case was created, in // chronological order. These include the canonical set of agent utterances // that should occur when the agent is working properly. TestCaseConversationTurns []*ConversationTurn `` /* 140-byte string literal not displayed */ // Output only. When the test was created. CreationTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // The latest test result. LastTestResult *TestCaseResult `protobuf:"bytes,12,opt,name=last_test_result,json=lastTestResult,proto3" json:"last_test_result,omitempty"` // contains filtered or unexported fields }
Represents a test case.
func (*TestCase) Descriptor
deprecated
func (*TestCase) GetCreationTime ¶
func (x *TestCase) GetCreationTime() *timestamppb.Timestamp
func (*TestCase) GetDisplayName ¶
func (*TestCase) GetLastTestResult ¶
func (x *TestCase) GetLastTestResult() *TestCaseResult
func (*TestCase) GetTestCaseConversationTurns ¶
func (x *TestCase) GetTestCaseConversationTurns() []*ConversationTurn
func (*TestCase) GetTestConfig ¶
func (x *TestCase) GetTestConfig() *TestConfig
func (*TestCase) ProtoMessage ¶
func (*TestCase) ProtoMessage()
func (*TestCase) ProtoReflect ¶
func (x *TestCase) ProtoReflect() protoreflect.Message
type TestCaseError ¶
type TestCaseError struct { // The test case. TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // The status associated with the test case. Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
Error info for importing a test.
func (*TestCaseError) Descriptor
deprecated
func (*TestCaseError) Descriptor() ([]byte, []int)
Deprecated: Use TestCaseError.ProtoReflect.Descriptor instead.
func (*TestCaseError) GetStatus ¶
func (x *TestCaseError) GetStatus() *status.Status
func (*TestCaseError) GetTestCase ¶
func (x *TestCaseError) GetTestCase() *TestCase
func (*TestCaseError) ProtoMessage ¶
func (*TestCaseError) ProtoMessage()
func (*TestCaseError) ProtoReflect ¶
func (x *TestCaseError) ProtoReflect() protoreflect.Message
func (*TestCaseError) Reset ¶
func (x *TestCaseError) Reset()
func (*TestCaseError) String ¶
func (x *TestCaseError) String() string
type TestCaseResult ¶
type TestCaseResult struct { // The resource name for the test case result. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>/results/<TestCaseResultID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Environment where the test was run. If not set, it indicates the draft // environment. Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // The conversation turns uttered during the test case replay in chronological // order. ConversationTurns []*ConversationTurn `protobuf:"bytes,3,rep,name=conversation_turns,json=conversationTurns,proto3" json:"conversation_turns,omitempty"` // Whether the test case passed in the agent environment. TestResult TestResult `` /* 138-byte string literal not displayed */ // The time that the test was run. TestTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` // contains filtered or unexported fields }
Represents a result from running a test case in an agent environment.
func (*TestCaseResult) Descriptor
deprecated
func (*TestCaseResult) Descriptor() ([]byte, []int)
Deprecated: Use TestCaseResult.ProtoReflect.Descriptor instead.
func (*TestCaseResult) GetConversationTurns ¶
func (x *TestCaseResult) GetConversationTurns() []*ConversationTurn
func (*TestCaseResult) GetEnvironment ¶
func (x *TestCaseResult) GetEnvironment() string
func (*TestCaseResult) GetName ¶
func (x *TestCaseResult) GetName() string
func (*TestCaseResult) GetTestResult ¶
func (x *TestCaseResult) GetTestResult() TestResult
func (*TestCaseResult) GetTestTime ¶
func (x *TestCaseResult) GetTestTime() *timestamppb.Timestamp
func (*TestCaseResult) ProtoMessage ¶
func (*TestCaseResult) ProtoMessage()
func (*TestCaseResult) ProtoReflect ¶
func (x *TestCaseResult) ProtoReflect() protoreflect.Message
func (*TestCaseResult) Reset ¶
func (x *TestCaseResult) Reset()
func (*TestCaseResult) String ¶
func (x *TestCaseResult) String() string
type TestCasesClient ¶
type TestCasesClient interface { // Fetches a list of test cases for a given agent. ListTestCases(ctx context.Context, in *ListTestCasesRequest, opts ...grpc.CallOption) (*ListTestCasesResponse, error) // Batch deletes test cases. BatchDeleteTestCases(ctx context.Context, in *BatchDeleteTestCasesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Gets a test case. GetTestCase(ctx context.Context, in *GetTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error) // Creates a test case for the given agent. CreateTestCase(ctx context.Context, in *CreateTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error) // Updates the specified test case. UpdateTestCase(ctx context.Context, in *UpdateTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error) // Kicks off a test case run. // // 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`: // [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata] // - `response`: // [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse] RunTestCase(ctx context.Context, in *RunTestCaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Kicks off a batch run of test cases. // // 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`: // [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata] // - `response`: // [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse] BatchRunTestCases(ctx context.Context, in *BatchRunTestCasesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Calculates the test coverage for an agent. CalculateCoverage(ctx context.Context, in *CalculateCoverageRequest, opts ...grpc.CallOption) (*CalculateCoverageResponse, error) // Imports the test cases from a Cloud Storage bucket or a local file. It // always creates new test cases and won't overwrite any existing ones. The // provided ID in the imported test case is neglected. // // 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`: // [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata] // - `response`: // [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse] ImportTestCases(ctx context.Context, in *ImportTestCasesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Exports the test cases under the agent to a Cloud Storage bucket or a local // file. Filter can be applied to export a subset of test cases. // // 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`: // [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata] // - `response`: // [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse] ExportTestCases(ctx context.Context, in *ExportTestCasesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Fetches the list of run results for the given test case. A maximum of 100 // results are kept for each test case. ListTestCaseResults(ctx context.Context, in *ListTestCaseResultsRequest, opts ...grpc.CallOption) (*ListTestCaseResultsResponse, error) // Gets a test case result. GetTestCaseResult(ctx context.Context, in *GetTestCaseResultRequest, opts ...grpc.CallOption) (*TestCaseResult, error) }
TestCasesClient is the client API for TestCases service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestCasesClient ¶
func NewTestCasesClient(cc grpc.ClientConnInterface) TestCasesClient
type TestCasesServer ¶
type TestCasesServer interface { // Fetches a list of test cases for a given agent. ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error) // Batch deletes test cases. BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error) // Gets a test case. GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error) // Creates a test case for the given agent. CreateTestCase(context.Context, *CreateTestCaseRequest) (*TestCase, error) // Updates the specified test case. UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*TestCase, error) // Kicks off a test case run. // // 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`: // [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata] // - `response`: // [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse] RunTestCase(context.Context, *RunTestCaseRequest) (*longrunningpb.Operation, error) // Kicks off a batch run of test cases. // // 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`: // [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata] // - `response`: // [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse] BatchRunTestCases(context.Context, *BatchRunTestCasesRequest) (*longrunningpb.Operation, error) // Calculates the test coverage for an agent. CalculateCoverage(context.Context, *CalculateCoverageRequest) (*CalculateCoverageResponse, error) // Imports the test cases from a Cloud Storage bucket or a local file. It // always creates new test cases and won't overwrite any existing ones. The // provided ID in the imported test case is neglected. // // 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`: // [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata] // - `response`: // [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse] ImportTestCases(context.Context, *ImportTestCasesRequest) (*longrunningpb.Operation, error) // Exports the test cases under the agent to a Cloud Storage bucket or a local // file. Filter can be applied to export a subset of test cases. // // 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`: // [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata] // - `response`: // [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse] ExportTestCases(context.Context, *ExportTestCasesRequest) (*longrunningpb.Operation, error) // Fetches the list of run results for the given test case. A maximum of 100 // results are kept for each test case. ListTestCaseResults(context.Context, *ListTestCaseResultsRequest) (*ListTestCaseResultsResponse, error) // Gets a test case result. GetTestCaseResult(context.Context, *GetTestCaseResultRequest) (*TestCaseResult, error) }
TestCasesServer is the server API for TestCases service.
type TestConfig ¶
type TestConfig struct { // Session parameters to be compared when calculating differences. TrackingParameters []string `protobuf:"bytes,1,rep,name=tracking_parameters,json=trackingParameters,proto3" json:"tracking_parameters,omitempty"` // Flow name to start the test case with. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. // // Only one of `flow` and `page` should be set to indicate the starting point // of the test case. If neither is set, the test case will start with start // page on the default start flow. Flow string `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"` // The [page][google.cloud.dialogflow.cx.v3.Page] to start the test case with. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. // // Only one of `flow` and `page` should be set to indicate the starting point // of the test case. If neither is set, the test case will start with start // page on the default start flow. Page string `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
Represents configurations for a test case.
func (*TestConfig) Descriptor
deprecated
func (*TestConfig) Descriptor() ([]byte, []int)
Deprecated: Use TestConfig.ProtoReflect.Descriptor instead.
func (*TestConfig) GetFlow ¶
func (x *TestConfig) GetFlow() string
func (*TestConfig) GetPage ¶
func (x *TestConfig) GetPage() string
func (*TestConfig) GetTrackingParameters ¶
func (x *TestConfig) GetTrackingParameters() []string
func (*TestConfig) ProtoMessage ¶
func (*TestConfig) ProtoMessage()
func (*TestConfig) ProtoReflect ¶
func (x *TestConfig) ProtoReflect() protoreflect.Message
func (*TestConfig) Reset ¶
func (x *TestConfig) Reset()
func (*TestConfig) String ¶
func (x *TestConfig) String() string
type TestError ¶
type TestError struct { // The test case resource name. TestCase string `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // The status associated with the test. Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // The timestamp when the test was completed. TestTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"` // contains filtered or unexported fields }
Error info for running a test.
func (*TestError) Descriptor
deprecated
func (*TestError) GetTestCase ¶
func (*TestError) GetTestTime ¶
func (x *TestError) GetTestTime() *timestamppb.Timestamp
func (*TestError) ProtoMessage ¶
func (*TestError) ProtoMessage()
func (*TestError) ProtoReflect ¶
func (x *TestError) ProtoReflect() protoreflect.Message
type TestResult ¶
type TestResult int32
The test result for a test case and an agent environment.
const ( // Not specified. Should never be used. TestResult_TEST_RESULT_UNSPECIFIED TestResult = 0 // The test passed. TestResult_PASSED TestResult = 1 // The test did not pass. TestResult_FAILED TestResult = 2 )
func (TestResult) Descriptor ¶
func (TestResult) Descriptor() protoreflect.EnumDescriptor
func (TestResult) Enum ¶
func (x TestResult) Enum() *TestResult
func (TestResult) EnumDescriptor
deprecated
func (TestResult) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestResult.Descriptor instead.
func (TestResult) Number ¶
func (x TestResult) Number() protoreflect.EnumNumber
func (TestResult) String ¶
func (x TestResult) String() string
func (TestResult) Type ¶
func (TestResult) Type() protoreflect.EnumType
type TestRunDifference ¶
type TestRunDifference struct { // The type of diff. Type TestRunDifference_DiffType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.cx.v3.TestRunDifference_DiffType" json:"type,omitempty"` // A human readable description of the diff, showing the actual output vs // expected output. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
The description of differences between original and replayed agent output.
func (*TestRunDifference) Descriptor
deprecated
func (*TestRunDifference) Descriptor() ([]byte, []int)
Deprecated: Use TestRunDifference.ProtoReflect.Descriptor instead.
func (*TestRunDifference) GetDescription ¶
func (x *TestRunDifference) GetDescription() string
func (*TestRunDifference) GetType ¶
func (x *TestRunDifference) GetType() TestRunDifference_DiffType
func (*TestRunDifference) ProtoMessage ¶
func (*TestRunDifference) ProtoMessage()
func (*TestRunDifference) ProtoReflect ¶
func (x *TestRunDifference) ProtoReflect() protoreflect.Message
func (*TestRunDifference) Reset ¶
func (x *TestRunDifference) Reset()
func (*TestRunDifference) String ¶
func (x *TestRunDifference) String() string
type TestRunDifference_DiffType ¶
type TestRunDifference_DiffType int32
What part of the message replay differs from the test case.
const ( // Should never be used. TestRunDifference_DIFF_TYPE_UNSPECIFIED TestRunDifference_DiffType = 0 // The intent. TestRunDifference_INTENT TestRunDifference_DiffType = 1 // The page. TestRunDifference_PAGE TestRunDifference_DiffType = 2 // The parameters. TestRunDifference_PARAMETERS TestRunDifference_DiffType = 3 // The message utterance. TestRunDifference_UTTERANCE TestRunDifference_DiffType = 4 // The flow. TestRunDifference_FLOW TestRunDifference_DiffType = 5 )
func (TestRunDifference_DiffType) Descriptor ¶
func (TestRunDifference_DiffType) Descriptor() protoreflect.EnumDescriptor
func (TestRunDifference_DiffType) Enum ¶
func (x TestRunDifference_DiffType) Enum() *TestRunDifference_DiffType
func (TestRunDifference_DiffType) EnumDescriptor
deprecated
func (TestRunDifference_DiffType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestRunDifference_DiffType.Descriptor instead.
func (TestRunDifference_DiffType) Number ¶
func (x TestRunDifference_DiffType) Number() protoreflect.EnumNumber
func (TestRunDifference_DiffType) String ¶
func (x TestRunDifference_DiffType) String() string
func (TestRunDifference_DiffType) Type ¶
func (TestRunDifference_DiffType) Type() protoreflect.EnumType
type TextInput ¶
type TextInput struct { // Required. The UTF-8 encoded natural language text to be processed. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Represents the natural language text to be processed.
func (*TextInput) Descriptor
deprecated
func (*TextInput) ProtoMessage ¶
func (*TextInput) ProtoMessage()
func (*TextInput) ProtoReflect ¶
func (x *TextInput) ProtoReflect() protoreflect.Message
type TextToSpeechSettings ¶ added in v1.31.0
type TextToSpeechSettings struct { // Configuration of how speech should be synthesized, mapping from language // (https://cloud.google.com/dialogflow/cx/docs/reference/language) to // SynthesizeSpeechConfig. // // These settings affect: // // - The [phone // gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway) // synthesize configuration set via // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]. // // - How speech is synthesized when invoking // [session][google.cloud.dialogflow.cx.v3.Sessions] APIs. // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings] // only applies if // [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config] // is not specified. SynthesizeSpeechConfigs map[string]*SynthesizeSpeechConfig `` /* 220-byte string literal not displayed */ // contains filtered or unexported fields }
Settings related to speech synthesizing.
func (*TextToSpeechSettings) Descriptor
deprecated
added in
v1.31.0
func (*TextToSpeechSettings) Descriptor() ([]byte, []int)
Deprecated: Use TextToSpeechSettings.ProtoReflect.Descriptor instead.
func (*TextToSpeechSettings) GetSynthesizeSpeechConfigs ¶ added in v1.31.0
func (x *TextToSpeechSettings) GetSynthesizeSpeechConfigs() map[string]*SynthesizeSpeechConfig
func (*TextToSpeechSettings) ProtoMessage ¶ added in v1.31.0
func (*TextToSpeechSettings) ProtoMessage()
func (*TextToSpeechSettings) ProtoReflect ¶ added in v1.31.0
func (x *TextToSpeechSettings) ProtoReflect() protoreflect.Message
func (*TextToSpeechSettings) Reset ¶ added in v1.31.0
func (x *TextToSpeechSettings) Reset()
func (*TextToSpeechSettings) String ¶ added in v1.31.0
func (x *TextToSpeechSettings) String() string
type TrainFlowRequest ¶
type TrainFlowRequest struct { // Required. The flow to train. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow].
func (*TrainFlowRequest) Descriptor
deprecated
func (*TrainFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use TrainFlowRequest.ProtoReflect.Descriptor instead.
func (*TrainFlowRequest) GetName ¶
func (x *TrainFlowRequest) GetName() string
func (*TrainFlowRequest) ProtoMessage ¶
func (*TrainFlowRequest) ProtoMessage()
func (*TrainFlowRequest) ProtoReflect ¶
func (x *TrainFlowRequest) ProtoReflect() protoreflect.Message
func (*TrainFlowRequest) Reset ¶
func (x *TrainFlowRequest) Reset()
func (*TrainFlowRequest) String ¶
func (x *TrainFlowRequest) String() string
type TransitionCoverage ¶
type TransitionCoverage struct { // The list of Transitions present in the agent. Transitions []*TransitionCoverage_Transition `protobuf:"bytes,1,rep,name=transitions,proto3" json:"transitions,omitempty"` // The percent of transitions in the agent that are covered. CoverageScore float32 `protobuf:"fixed32,2,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"` // contains filtered or unexported fields }
Transition coverage represents the percentage of all possible page transitions (page-level transition routes and event handlers, excluding transition route groups) present within any of a parent's test cases.
func (*TransitionCoverage) Descriptor
deprecated
func (*TransitionCoverage) Descriptor() ([]byte, []int)
Deprecated: Use TransitionCoverage.ProtoReflect.Descriptor instead.
func (*TransitionCoverage) GetCoverageScore ¶
func (x *TransitionCoverage) GetCoverageScore() float32
func (*TransitionCoverage) GetTransitions ¶
func (x *TransitionCoverage) GetTransitions() []*TransitionCoverage_Transition
func (*TransitionCoverage) ProtoMessage ¶
func (*TransitionCoverage) ProtoMessage()
func (*TransitionCoverage) ProtoReflect ¶
func (x *TransitionCoverage) ProtoReflect() protoreflect.Message
func (*TransitionCoverage) Reset ¶
func (x *TransitionCoverage) Reset()
func (*TransitionCoverage) String ¶
func (x *TransitionCoverage) String() string
type TransitionCoverage_Transition ¶
type TransitionCoverage_Transition struct { // The start node of a transition. Source *TransitionCoverage_TransitionNode `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // The index of a transition in the transition list. Starting from 0. Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` // The end node of a transition. Target *TransitionCoverage_TransitionNode `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // Whether the transition is covered by at least one of the // agent's test cases. Covered bool `protobuf:"varint,3,opt,name=covered,proto3" json:"covered,omitempty"` // The detailed transition. // // Types that are assignable to Detail: // // *TransitionCoverage_Transition_TransitionRoute // *TransitionCoverage_Transition_EventHandler Detail isTransitionCoverage_Transition_Detail `protobuf_oneof:"detail"` // contains filtered or unexported fields }
A transition in a page.
func (*TransitionCoverage_Transition) Descriptor
deprecated
func (*TransitionCoverage_Transition) Descriptor() ([]byte, []int)
Deprecated: Use TransitionCoverage_Transition.ProtoReflect.Descriptor instead.
func (*TransitionCoverage_Transition) GetCovered ¶
func (x *TransitionCoverage_Transition) GetCovered() bool
func (*TransitionCoverage_Transition) GetDetail ¶
func (m *TransitionCoverage_Transition) GetDetail() isTransitionCoverage_Transition_Detail
func (*TransitionCoverage_Transition) GetEventHandler ¶
func (x *TransitionCoverage_Transition) GetEventHandler() *EventHandler
func (*TransitionCoverage_Transition) GetIndex ¶
func (x *TransitionCoverage_Transition) GetIndex() int32
func (*TransitionCoverage_Transition) GetSource ¶
func (x *TransitionCoverage_Transition) GetSource() *TransitionCoverage_TransitionNode
func (*TransitionCoverage_Transition) GetTarget ¶
func (x *TransitionCoverage_Transition) GetTarget() *TransitionCoverage_TransitionNode
func (*TransitionCoverage_Transition) GetTransitionRoute ¶
func (x *TransitionCoverage_Transition) GetTransitionRoute() *TransitionRoute
func (*TransitionCoverage_Transition) ProtoMessage ¶
func (*TransitionCoverage_Transition) ProtoMessage()
func (*TransitionCoverage_Transition) ProtoReflect ¶
func (x *TransitionCoverage_Transition) ProtoReflect() protoreflect.Message
func (*TransitionCoverage_Transition) Reset ¶
func (x *TransitionCoverage_Transition) Reset()
func (*TransitionCoverage_Transition) String ¶
func (x *TransitionCoverage_Transition) String() string
type TransitionCoverage_TransitionNode ¶
type TransitionCoverage_TransitionNode struct { // A TransitionNode can be either a page or a flow. // // Types that are assignable to Kind: // // *TransitionCoverage_TransitionNode_Page // *TransitionCoverage_TransitionNode_Flow Kind isTransitionCoverage_TransitionNode_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
The source or target of a transition.
func (*TransitionCoverage_TransitionNode) Descriptor
deprecated
func (*TransitionCoverage_TransitionNode) Descriptor() ([]byte, []int)
Deprecated: Use TransitionCoverage_TransitionNode.ProtoReflect.Descriptor instead.
func (*TransitionCoverage_TransitionNode) GetFlow ¶
func (x *TransitionCoverage_TransitionNode) GetFlow() *Flow
func (*TransitionCoverage_TransitionNode) GetKind ¶
func (m *TransitionCoverage_TransitionNode) GetKind() isTransitionCoverage_TransitionNode_Kind
func (*TransitionCoverage_TransitionNode) GetPage ¶
func (x *TransitionCoverage_TransitionNode) GetPage() *Page
func (*TransitionCoverage_TransitionNode) ProtoMessage ¶
func (*TransitionCoverage_TransitionNode) ProtoMessage()
func (*TransitionCoverage_TransitionNode) ProtoReflect ¶
func (x *TransitionCoverage_TransitionNode) ProtoReflect() protoreflect.Message
func (*TransitionCoverage_TransitionNode) Reset ¶
func (x *TransitionCoverage_TransitionNode) Reset()
func (*TransitionCoverage_TransitionNode) String ¶
func (x *TransitionCoverage_TransitionNode) String() string
type TransitionCoverage_TransitionNode_Flow ¶
type TransitionCoverage_TransitionNode_Flow struct { // Indicates a transition to a [Flow][google.cloud.dialogflow.cx.v3.Flow]. // Only some fields such as name and displayname will be set. Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3,oneof"` }
type TransitionCoverage_TransitionNode_Page ¶
type TransitionCoverage_TransitionNode_Page struct { // Indicates a transition to a [Page][google.cloud.dialogflow.cx.v3.Page]. // Only some fields such as name and displayname will be set. Page *Page `protobuf:"bytes,1,opt,name=page,proto3,oneof"` }
type TransitionCoverage_Transition_EventHandler ¶
type TransitionCoverage_Transition_EventHandler struct { // Event handler. EventHandler *EventHandler `protobuf:"bytes,6,opt,name=event_handler,json=eventHandler,proto3,oneof"` }
type TransitionCoverage_Transition_TransitionRoute ¶
type TransitionCoverage_Transition_TransitionRoute struct { // Intent route or condition route. TransitionRoute *TransitionRoute `protobuf:"bytes,5,opt,name=transition_route,json=transitionRoute,proto3,oneof"` }
type TransitionRoute ¶
type TransitionRoute struct { // Output only. The unique identifier of this transition route. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // Optional. The description of the transition route. The maximum length is // 500 characters. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"` // The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent]. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. // Indicates that the transition can only happen when the given intent is // matched. // At least one of `intent` or `condition` must be specified. When both // `intent` and `condition` are specified, the transition can only happen // when both are fulfilled. Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // The condition to evaluate against [form // parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or [session // parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters]. // // See the [conditions // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). // At least one of `intent` or `condition` must be specified. When both // `intent` and `condition` are specified, the transition can only happen // when both are fulfilled. Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // The fulfillment to call when the condition is satisfied. At least one of // `trigger_fulfillment` and `target` must be specified. When both are // defined, `trigger_fulfillment` is executed first. TriggerFulfillment *Fulfillment `protobuf:"bytes,3,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.v3.TransitionRoute]), or // another flow in the same agent. // // Types that are assignable to Target: // // *TransitionRoute_TargetPage // *TransitionRoute_TargetFlow Target isTransitionRoute_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
A transition route specifies a [intent][google.cloud.dialogflow.cx.v3.Intent] that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order:
* If there is a [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3.TransitionRoute.trigger_fulfillment] associated with the transition, it will be called. * If there is a [`target_page`][google.cloud.dialogflow.cx.v3.TransitionRoute.target_page] associated with the transition, the session will transition into the specified page. * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3.TransitionRoute.target_flow] associated with the transition, the session will transition into the specified flow.
func (*TransitionRoute) Descriptor
deprecated
func (*TransitionRoute) Descriptor() ([]byte, []int)
Deprecated: Use TransitionRoute.ProtoReflect.Descriptor instead.
func (*TransitionRoute) GetCondition ¶
func (x *TransitionRoute) GetCondition() string
func (*TransitionRoute) GetDescription ¶ added in v1.43.0
func (x *TransitionRoute) GetDescription() string
func (*TransitionRoute) GetIntent ¶
func (x *TransitionRoute) GetIntent() string
func (*TransitionRoute) GetName ¶
func (x *TransitionRoute) GetName() string
func (*TransitionRoute) GetTarget ¶
func (m *TransitionRoute) GetTarget() isTransitionRoute_Target
func (*TransitionRoute) GetTargetFlow ¶
func (x *TransitionRoute) GetTargetFlow() string
func (*TransitionRoute) GetTargetPage ¶
func (x *TransitionRoute) GetTargetPage() string
func (*TransitionRoute) GetTriggerFulfillment ¶
func (x *TransitionRoute) GetTriggerFulfillment() *Fulfillment
func (*TransitionRoute) ProtoMessage ¶
func (*TransitionRoute) ProtoMessage()
func (*TransitionRoute) ProtoReflect ¶
func (x *TransitionRoute) ProtoReflect() protoreflect.Message
func (*TransitionRoute) Reset ¶
func (x *TransitionRoute) Reset()
func (*TransitionRoute) String ¶
func (x *TransitionRoute) String() string
type TransitionRouteGroup ¶
type TransitionRouteGroup struct { // The unique identifier of the transition route group. // [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup] // populates the name automatically. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/transitionRouteGroups/<TransitionRouteGroupID>` // . Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the transition route group, unique // within the flow. The display name can be no longer than 30 characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Transition routes associated with the // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. TransitionRoutes []*TransitionRoute `protobuf:"bytes,5,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"` // contains filtered or unexported fields }
A TransitionRouteGroup represents a group of [`TransitionRoutes`][google.cloud.dialogflow.cx.v3.TransitionRoute] to be used by a Page[google.cloud.dialogflow.cx.v3.Page].
func (*TransitionRouteGroup) Descriptor
deprecated
func (*TransitionRouteGroup) Descriptor() ([]byte, []int)
Deprecated: Use TransitionRouteGroup.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroup) GetDisplayName ¶
func (x *TransitionRouteGroup) GetDisplayName() string
func (*TransitionRouteGroup) GetName ¶
func (x *TransitionRouteGroup) GetName() string
func (*TransitionRouteGroup) GetTransitionRoutes ¶
func (x *TransitionRouteGroup) GetTransitionRoutes() []*TransitionRoute
func (*TransitionRouteGroup) ProtoMessage ¶
func (*TransitionRouteGroup) ProtoMessage()
func (*TransitionRouteGroup) ProtoReflect ¶
func (x *TransitionRouteGroup) ProtoReflect() protoreflect.Message
func (*TransitionRouteGroup) Reset ¶
func (x *TransitionRouteGroup) Reset()
func (*TransitionRouteGroup) String ¶
func (x *TransitionRouteGroup) String() string
type TransitionRouteGroupCoverage ¶
type TransitionRouteGroupCoverage struct { // Transition route group coverages. Coverages []*TransitionRouteGroupCoverage_Coverage `protobuf:"bytes,1,rep,name=coverages,proto3" json:"coverages,omitempty"` // The percent of transition routes in all the transition route groups that // are covered. CoverageScore float32 `protobuf:"fixed32,2,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"` // contains filtered or unexported fields }
Transition route group coverage represents the percentage of all possible transition routes present within any of a parent's test cases. The results are grouped by the transition route group.
func (*TransitionRouteGroupCoverage) Descriptor
deprecated
func (*TransitionRouteGroupCoverage) Descriptor() ([]byte, []int)
Deprecated: Use TransitionRouteGroupCoverage.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroupCoverage) GetCoverageScore ¶
func (x *TransitionRouteGroupCoverage) GetCoverageScore() float32
func (*TransitionRouteGroupCoverage) GetCoverages ¶
func (x *TransitionRouteGroupCoverage) GetCoverages() []*TransitionRouteGroupCoverage_Coverage
func (*TransitionRouteGroupCoverage) ProtoMessage ¶
func (*TransitionRouteGroupCoverage) ProtoMessage()
func (*TransitionRouteGroupCoverage) ProtoReflect ¶
func (x *TransitionRouteGroupCoverage) ProtoReflect() protoreflect.Message
func (*TransitionRouteGroupCoverage) Reset ¶
func (x *TransitionRouteGroupCoverage) Reset()
func (*TransitionRouteGroupCoverage) String ¶
func (x *TransitionRouteGroupCoverage) String() string
type TransitionRouteGroupCoverage_Coverage ¶
type TransitionRouteGroupCoverage_Coverage struct { // Transition route group metadata. Only name and displayName will be set. RouteGroup *TransitionRouteGroup `protobuf:"bytes,1,opt,name=route_group,json=routeGroup,proto3" json:"route_group,omitempty"` // The list of transition routes and coverage in the transition route group. Transitions []*TransitionRouteGroupCoverage_Coverage_Transition `protobuf:"bytes,2,rep,name=transitions,proto3" json:"transitions,omitempty"` // The percent of transition routes in the transition route group that are // covered. CoverageScore float32 `protobuf:"fixed32,3,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"` // contains filtered or unexported fields }
Coverage result message for one transition route group.
func (*TransitionRouteGroupCoverage_Coverage) Descriptor
deprecated
func (*TransitionRouteGroupCoverage_Coverage) Descriptor() ([]byte, []int)
Deprecated: Use TransitionRouteGroupCoverage_Coverage.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroupCoverage_Coverage) GetCoverageScore ¶
func (x *TransitionRouteGroupCoverage_Coverage) GetCoverageScore() float32
func (*TransitionRouteGroupCoverage_Coverage) GetRouteGroup ¶
func (x *TransitionRouteGroupCoverage_Coverage) GetRouteGroup() *TransitionRouteGroup
func (*TransitionRouteGroupCoverage_Coverage) GetTransitions ¶
func (x *TransitionRouteGroupCoverage_Coverage) GetTransitions() []*TransitionRouteGroupCoverage_Coverage_Transition
func (*TransitionRouteGroupCoverage_Coverage) ProtoMessage ¶
func (*TransitionRouteGroupCoverage_Coverage) ProtoMessage()
func (*TransitionRouteGroupCoverage_Coverage) ProtoReflect ¶
func (x *TransitionRouteGroupCoverage_Coverage) ProtoReflect() protoreflect.Message
func (*TransitionRouteGroupCoverage_Coverage) Reset ¶
func (x *TransitionRouteGroupCoverage_Coverage) Reset()
func (*TransitionRouteGroupCoverage_Coverage) String ¶
func (x *TransitionRouteGroupCoverage_Coverage) String() string
type TransitionRouteGroupCoverage_Coverage_Transition ¶
type TransitionRouteGroupCoverage_Coverage_Transition struct { // Intent route or condition route. TransitionRoute *TransitionRoute `protobuf:"bytes,1,opt,name=transition_route,json=transitionRoute,proto3" json:"transition_route,omitempty"` // Whether the transition route is covered by at least one of the // agent's test cases. Covered bool `protobuf:"varint,2,opt,name=covered,proto3" json:"covered,omitempty"` // contains filtered or unexported fields }
A transition coverage in a transition route group.
func (*TransitionRouteGroupCoverage_Coverage_Transition) Descriptor
deprecated
func (*TransitionRouteGroupCoverage_Coverage_Transition) Descriptor() ([]byte, []int)
Deprecated: Use TransitionRouteGroupCoverage_Coverage_Transition.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroupCoverage_Coverage_Transition) GetCovered ¶
func (x *TransitionRouteGroupCoverage_Coverage_Transition) GetCovered() bool
func (*TransitionRouteGroupCoverage_Coverage_Transition) GetTransitionRoute ¶
func (x *TransitionRouteGroupCoverage_Coverage_Transition) GetTransitionRoute() *TransitionRoute
func (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoMessage ¶
func (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoMessage()
func (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoReflect ¶
func (x *TransitionRouteGroupCoverage_Coverage_Transition) ProtoReflect() protoreflect.Message
func (*TransitionRouteGroupCoverage_Coverage_Transition) Reset ¶
func (x *TransitionRouteGroupCoverage_Coverage_Transition) Reset()
func (*TransitionRouteGroupCoverage_Coverage_Transition) String ¶
func (x *TransitionRouteGroupCoverage_Coverage_Transition) String() string
type TransitionRouteGroupsClient ¶
type TransitionRouteGroupsClient interface { // Returns the list of all transition route groups in the specified flow. ListTransitionRouteGroups(ctx context.Context, in *ListTransitionRouteGroupsRequest, opts ...grpc.CallOption) (*ListTransitionRouteGroupsResponse, error) // Retrieves the specified // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. GetTransitionRouteGroup(ctx context.Context, in *GetTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error) // Creates an // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // in the specified flow. // // 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). CreateTransitionRouteGroup(ctx context.Context, in *CreateTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error) // Updates the specified // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. // // 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). UpdateTransitionRouteGroup(ctx context.Context, in *UpdateTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error) // Deletes the specified // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. // // 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). DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TransitionRouteGroupsClient is the client API for TransitionRouteGroups service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransitionRouteGroupsClient ¶
func NewTransitionRouteGroupsClient(cc grpc.ClientConnInterface) TransitionRouteGroupsClient
type TransitionRouteGroupsServer ¶
type TransitionRouteGroupsServer interface { // Returns the list of all transition route groups in the specified flow. ListTransitionRouteGroups(context.Context, *ListTransitionRouteGroupsRequest) (*ListTransitionRouteGroupsResponse, error) // Retrieves the specified // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. GetTransitionRouteGroup(context.Context, *GetTransitionRouteGroupRequest) (*TransitionRouteGroup, error) // Creates an // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // in the specified flow. // // 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). CreateTransitionRouteGroup(context.Context, *CreateTransitionRouteGroupRequest) (*TransitionRouteGroup, error) // Updates the specified // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. // // 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). UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error) // Deletes the specified // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. // // 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). DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error) }
TransitionRouteGroupsServer is the server API for TransitionRouteGroups service.
type TransitionRoute_TargetFlow ¶
type TransitionRoute_TargetFlow struct { // The target flow to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. TargetFlow string `protobuf:"bytes,5,opt,name=target_flow,json=targetFlow,proto3,oneof"` }
type TransitionRoute_TargetPage ¶
type TransitionRoute_TargetPage struct { // The target page to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. TargetPage string `protobuf:"bytes,4,opt,name=target_page,json=targetPage,proto3,oneof"` }
type UnimplementedAgentsServer ¶
type UnimplementedAgentsServer struct { }
UnimplementedAgentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAgentsServer) CreateAgent ¶
func (*UnimplementedAgentsServer) CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error)
func (*UnimplementedAgentsServer) DeleteAgent ¶
func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
func (*UnimplementedAgentsServer) ExportAgent ¶
func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAgentsServer) GetAgent ¶
func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
func (*UnimplementedAgentsServer) GetAgentValidationResult ¶
func (*UnimplementedAgentsServer) GetAgentValidationResult(context.Context, *GetAgentValidationResultRequest) (*AgentValidationResult, error)
func (*UnimplementedAgentsServer) GetGenerativeSettings ¶ added in v1.43.0
func (*UnimplementedAgentsServer) GetGenerativeSettings(context.Context, *GetGenerativeSettingsRequest) (*GenerativeSettings, error)
func (*UnimplementedAgentsServer) ListAgents ¶
func (*UnimplementedAgentsServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
func (*UnimplementedAgentsServer) RestoreAgent ¶
func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAgentsServer) UpdateAgent ¶
func (*UnimplementedAgentsServer) UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error)
func (*UnimplementedAgentsServer) UpdateGenerativeSettings ¶ added in v1.43.0
func (*UnimplementedAgentsServer) UpdateGenerativeSettings(context.Context, *UpdateGenerativeSettingsRequest) (*GenerativeSettings, error)
func (*UnimplementedAgentsServer) ValidateAgent ¶
func (*UnimplementedAgentsServer) ValidateAgent(context.Context, *ValidateAgentRequest) (*AgentValidationResult, error)
type UnimplementedChangelogsServer ¶
type UnimplementedChangelogsServer struct { }
UnimplementedChangelogsServer can be embedded to have forward compatible implementations.
func (*UnimplementedChangelogsServer) GetChangelog ¶
func (*UnimplementedChangelogsServer) GetChangelog(context.Context, *GetChangelogRequest) (*Changelog, error)
func (*UnimplementedChangelogsServer) ListChangelogs ¶
func (*UnimplementedChangelogsServer) ListChangelogs(context.Context, *ListChangelogsRequest) (*ListChangelogsResponse, error)
type UnimplementedDeploymentsServer ¶
type UnimplementedDeploymentsServer struct { }
UnimplementedDeploymentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedDeploymentsServer) GetDeployment ¶
func (*UnimplementedDeploymentsServer) GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
func (*UnimplementedDeploymentsServer) ListDeployments ¶
func (*UnimplementedDeploymentsServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
type UnimplementedEntityTypesServer ¶
type UnimplementedEntityTypesServer struct { }
UnimplementedEntityTypesServer can be embedded to have forward compatible implementations.
func (*UnimplementedEntityTypesServer) CreateEntityType ¶
func (*UnimplementedEntityTypesServer) CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
func (*UnimplementedEntityTypesServer) DeleteEntityType ¶
func (*UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
func (*UnimplementedEntityTypesServer) ExportEntityTypes ¶ added in v1.49.0
func (*UnimplementedEntityTypesServer) ExportEntityTypes(context.Context, *ExportEntityTypesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) GetEntityType ¶
func (*UnimplementedEntityTypesServer) GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
func (*UnimplementedEntityTypesServer) ImportEntityTypes ¶ added in v1.49.0
func (*UnimplementedEntityTypesServer) ImportEntityTypes(context.Context, *ImportEntityTypesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) ListEntityTypes ¶
func (*UnimplementedEntityTypesServer) ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
func (*UnimplementedEntityTypesServer) UpdateEntityType ¶
func (*UnimplementedEntityTypesServer) UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
type UnimplementedEnvironmentsServer ¶
type UnimplementedEnvironmentsServer struct { }
UnimplementedEnvironmentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedEnvironmentsServer) CreateEnvironment ¶
func (*UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEnvironmentsServer) DeleteEnvironment ¶
func (*UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
func (*UnimplementedEnvironmentsServer) DeployFlow ¶
func (*UnimplementedEnvironmentsServer) DeployFlow(context.Context, *DeployFlowRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEnvironmentsServer) GetEnvironment ¶
func (*UnimplementedEnvironmentsServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
func (*UnimplementedEnvironmentsServer) ListContinuousTestResults ¶
func (*UnimplementedEnvironmentsServer) ListContinuousTestResults(context.Context, *ListContinuousTestResultsRequest) (*ListContinuousTestResultsResponse, error)
func (*UnimplementedEnvironmentsServer) ListEnvironments ¶
func (*UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
func (*UnimplementedEnvironmentsServer) LookupEnvironmentHistory ¶
func (*UnimplementedEnvironmentsServer) LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)
func (*UnimplementedEnvironmentsServer) RunContinuousTest ¶
func (*UnimplementedEnvironmentsServer) RunContinuousTest(context.Context, *RunContinuousTestRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEnvironmentsServer) UpdateEnvironment ¶
func (*UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error)
type UnimplementedExperimentsServer ¶
type UnimplementedExperimentsServer struct { }
UnimplementedExperimentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedExperimentsServer) CreateExperiment ¶
func (*UnimplementedExperimentsServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error)
func (*UnimplementedExperimentsServer) DeleteExperiment ¶
func (*UnimplementedExperimentsServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error)
func (*UnimplementedExperimentsServer) GetExperiment ¶
func (*UnimplementedExperimentsServer) GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error)
func (*UnimplementedExperimentsServer) ListExperiments ¶
func (*UnimplementedExperimentsServer) ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error)
func (*UnimplementedExperimentsServer) StartExperiment ¶
func (*UnimplementedExperimentsServer) StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error)
func (*UnimplementedExperimentsServer) StopExperiment ¶
func (*UnimplementedExperimentsServer) StopExperiment(context.Context, *StopExperimentRequest) (*Experiment, error)
func (*UnimplementedExperimentsServer) UpdateExperiment ¶
func (*UnimplementedExperimentsServer) UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error)
type UnimplementedFlowsServer ¶
type UnimplementedFlowsServer struct { }
UnimplementedFlowsServer can be embedded to have forward compatible implementations.
func (*UnimplementedFlowsServer) CreateFlow ¶
func (*UnimplementedFlowsServer) CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error)
func (*UnimplementedFlowsServer) DeleteFlow ¶
func (*UnimplementedFlowsServer) DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error)
func (*UnimplementedFlowsServer) ExportFlow ¶
func (*UnimplementedFlowsServer) ExportFlow(context.Context, *ExportFlowRequest) (*longrunningpb.Operation, error)
func (*UnimplementedFlowsServer) GetFlow ¶
func (*UnimplementedFlowsServer) GetFlow(context.Context, *GetFlowRequest) (*Flow, error)
func (*UnimplementedFlowsServer) GetFlowValidationResult ¶
func (*UnimplementedFlowsServer) GetFlowValidationResult(context.Context, *GetFlowValidationResultRequest) (*FlowValidationResult, error)
func (*UnimplementedFlowsServer) ImportFlow ¶
func (*UnimplementedFlowsServer) ImportFlow(context.Context, *ImportFlowRequest) (*longrunningpb.Operation, error)
func (*UnimplementedFlowsServer) ListFlows ¶
func (*UnimplementedFlowsServer) ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error)
func (*UnimplementedFlowsServer) TrainFlow ¶
func (*UnimplementedFlowsServer) TrainFlow(context.Context, *TrainFlowRequest) (*longrunningpb.Operation, error)
func (*UnimplementedFlowsServer) UpdateFlow ¶
func (*UnimplementedFlowsServer) UpdateFlow(context.Context, *UpdateFlowRequest) (*Flow, error)
func (*UnimplementedFlowsServer) ValidateFlow ¶
func (*UnimplementedFlowsServer) ValidateFlow(context.Context, *ValidateFlowRequest) (*FlowValidationResult, error)
type UnimplementedGeneratorsServer ¶ added in v1.47.0
type UnimplementedGeneratorsServer struct { }
UnimplementedGeneratorsServer can be embedded to have forward compatible implementations.
func (*UnimplementedGeneratorsServer) CreateGenerator ¶ added in v1.47.0
func (*UnimplementedGeneratorsServer) CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error)
func (*UnimplementedGeneratorsServer) DeleteGenerator ¶ added in v1.47.0
func (*UnimplementedGeneratorsServer) DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error)
func (*UnimplementedGeneratorsServer) GetGenerator ¶ added in v1.47.0
func (*UnimplementedGeneratorsServer) GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error)
func (*UnimplementedGeneratorsServer) ListGenerators ¶ added in v1.47.0
func (*UnimplementedGeneratorsServer) ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error)
func (*UnimplementedGeneratorsServer) UpdateGenerator ¶ added in v1.47.0
func (*UnimplementedGeneratorsServer) UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error)
type UnimplementedIntentsServer ¶
type UnimplementedIntentsServer struct { }
UnimplementedIntentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedIntentsServer) CreateIntent ¶
func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
func (*UnimplementedIntentsServer) DeleteIntent ¶
func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)
func (*UnimplementedIntentsServer) ExportIntents ¶ added in v1.44.0
func (*UnimplementedIntentsServer) ExportIntents(context.Context, *ExportIntentsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedIntentsServer) GetIntent ¶
func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
func (*UnimplementedIntentsServer) ImportIntents ¶ added in v1.44.0
func (*UnimplementedIntentsServer) ImportIntents(context.Context, *ImportIntentsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedIntentsServer) ListIntents ¶
func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
func (*UnimplementedIntentsServer) UpdateIntent ¶
func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
type UnimplementedPagesServer ¶
type UnimplementedPagesServer struct { }
UnimplementedPagesServer can be embedded to have forward compatible implementations.
func (*UnimplementedPagesServer) CreatePage ¶
func (*UnimplementedPagesServer) CreatePage(context.Context, *CreatePageRequest) (*Page, error)
func (*UnimplementedPagesServer) DeletePage ¶
func (*UnimplementedPagesServer) DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error)
func (*UnimplementedPagesServer) GetPage ¶
func (*UnimplementedPagesServer) GetPage(context.Context, *GetPageRequest) (*Page, error)
func (*UnimplementedPagesServer) ListPages ¶
func (*UnimplementedPagesServer) ListPages(context.Context, *ListPagesRequest) (*ListPagesResponse, error)
func (*UnimplementedPagesServer) UpdatePage ¶
func (*UnimplementedPagesServer) UpdatePage(context.Context, *UpdatePageRequest) (*Page, error)
type UnimplementedSecuritySettingsServiceServer ¶
type UnimplementedSecuritySettingsServiceServer struct { }
UnimplementedSecuritySettingsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings ¶
func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error)
func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings ¶
func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error)
func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings ¶
func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error)
func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings ¶
func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error)
func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings ¶
func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error)
type UnimplementedSessionEntityTypesServer ¶
type UnimplementedSessionEntityTypesServer struct { }
UnimplementedSessionEntityTypesServer can be embedded to have forward compatible implementations.
func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)
func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes ¶
func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
type UnimplementedSessionsServer ¶
type UnimplementedSessionsServer struct { }
UnimplementedSessionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedSessionsServer) DetectIntent ¶
func (*UnimplementedSessionsServer) DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)
func (*UnimplementedSessionsServer) FulfillIntent ¶
func (*UnimplementedSessionsServer) FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error)
func (*UnimplementedSessionsServer) MatchIntent ¶
func (*UnimplementedSessionsServer) MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error)
func (*UnimplementedSessionsServer) ServerStreamingDetectIntent ¶ added in v1.49.0
func (*UnimplementedSessionsServer) ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) error
func (*UnimplementedSessionsServer) StreamingDetectIntent ¶
func (*UnimplementedSessionsServer) StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error
func (*UnimplementedSessionsServer) SubmitAnswerFeedback ¶ added in v1.45.0
func (*UnimplementedSessionsServer) SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error)
type UnimplementedTestCasesServer ¶
type UnimplementedTestCasesServer struct { }
UnimplementedTestCasesServer can be embedded to have forward compatible implementations.
func (*UnimplementedTestCasesServer) BatchDeleteTestCases ¶
func (*UnimplementedTestCasesServer) BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error)
func (*UnimplementedTestCasesServer) BatchRunTestCases ¶
func (*UnimplementedTestCasesServer) BatchRunTestCases(context.Context, *BatchRunTestCasesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedTestCasesServer) CalculateCoverage ¶
func (*UnimplementedTestCasesServer) CalculateCoverage(context.Context, *CalculateCoverageRequest) (*CalculateCoverageResponse, error)
func (*UnimplementedTestCasesServer) CreateTestCase ¶
func (*UnimplementedTestCasesServer) CreateTestCase(context.Context, *CreateTestCaseRequest) (*TestCase, error)
func (*UnimplementedTestCasesServer) ExportTestCases ¶
func (*UnimplementedTestCasesServer) ExportTestCases(context.Context, *ExportTestCasesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedTestCasesServer) GetTestCase ¶
func (*UnimplementedTestCasesServer) GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error)
func (*UnimplementedTestCasesServer) GetTestCaseResult ¶
func (*UnimplementedTestCasesServer) GetTestCaseResult(context.Context, *GetTestCaseResultRequest) (*TestCaseResult, error)
func (*UnimplementedTestCasesServer) ImportTestCases ¶
func (*UnimplementedTestCasesServer) ImportTestCases(context.Context, *ImportTestCasesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedTestCasesServer) ListTestCaseResults ¶
func (*UnimplementedTestCasesServer) ListTestCaseResults(context.Context, *ListTestCaseResultsRequest) (*ListTestCaseResultsResponse, error)
func (*UnimplementedTestCasesServer) ListTestCases ¶
func (*UnimplementedTestCasesServer) ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error)
func (*UnimplementedTestCasesServer) RunTestCase ¶
func (*UnimplementedTestCasesServer) RunTestCase(context.Context, *RunTestCaseRequest) (*longrunningpb.Operation, error)
func (*UnimplementedTestCasesServer) UpdateTestCase ¶
func (*UnimplementedTestCasesServer) UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*TestCase, error)
type UnimplementedTransitionRouteGroupsServer ¶
type UnimplementedTransitionRouteGroupsServer struct { }
UnimplementedTransitionRouteGroupsServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup ¶
func (*UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup(context.Context, *CreateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
func (*UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup ¶
func (*UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error)
func (*UnimplementedTransitionRouteGroupsServer) GetTransitionRouteGroup ¶
func (*UnimplementedTransitionRouteGroupsServer) GetTransitionRouteGroup(context.Context, *GetTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
func (*UnimplementedTransitionRouteGroupsServer) ListTransitionRouteGroups ¶
func (*UnimplementedTransitionRouteGroupsServer) ListTransitionRouteGroups(context.Context, *ListTransitionRouteGroupsRequest) (*ListTransitionRouteGroupsResponse, error)
func (*UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup ¶
func (*UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
type UnimplementedVersionsServer ¶
type UnimplementedVersionsServer struct { }
UnimplementedVersionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedVersionsServer) CompareVersions ¶
func (*UnimplementedVersionsServer) CompareVersions(context.Context, *CompareVersionsRequest) (*CompareVersionsResponse, error)
func (*UnimplementedVersionsServer) CreateVersion ¶
func (*UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedVersionsServer) DeleteVersion ¶
func (*UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
func (*UnimplementedVersionsServer) GetVersion ¶
func (*UnimplementedVersionsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
func (*UnimplementedVersionsServer) ListVersions ¶
func (*UnimplementedVersionsServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (*UnimplementedVersionsServer) LoadVersion ¶
func (*UnimplementedVersionsServer) LoadVersion(context.Context, *LoadVersionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedVersionsServer) UpdateVersion ¶
func (*UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
type UnimplementedWebhooksServer ¶
type UnimplementedWebhooksServer struct { }
UnimplementedWebhooksServer can be embedded to have forward compatible implementations.
func (*UnimplementedWebhooksServer) CreateWebhook ¶
func (*UnimplementedWebhooksServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error)
func (*UnimplementedWebhooksServer) DeleteWebhook ¶
func (*UnimplementedWebhooksServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error)
func (*UnimplementedWebhooksServer) GetWebhook ¶
func (*UnimplementedWebhooksServer) GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error)
func (*UnimplementedWebhooksServer) ListWebhooks ¶
func (*UnimplementedWebhooksServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
func (*UnimplementedWebhooksServer) UpdateWebhook ¶
func (*UnimplementedWebhooksServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error)
type UpdateAgentRequest ¶
type UpdateAgentRequest struct { // Required. The agent to update. Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent].
func (*UpdateAgentRequest) Descriptor
deprecated
func (*UpdateAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAgentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAgentRequest) GetAgent ¶
func (x *UpdateAgentRequest) GetAgent() *Agent
func (*UpdateAgentRequest) GetUpdateMask ¶
func (x *UpdateAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAgentRequest) ProtoMessage ¶
func (*UpdateAgentRequest) ProtoMessage()
func (*UpdateAgentRequest) ProtoReflect ¶
func (x *UpdateAgentRequest) ProtoReflect() protoreflect.Message
func (*UpdateAgentRequest) Reset ¶
func (x *UpdateAgentRequest) Reset()
func (*UpdateAgentRequest) String ¶
func (x *UpdateAgentRequest) String() string
type UpdateEntityTypeRequest ¶
type UpdateEntityTypeRequest struct { // Required. The entity type to update. EntityType *EntityType `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // The language of the following fields in `entity_type`: // // * `EntityType.entities.value` // * `EntityType.entities.synonyms` // * `EntityType.excluded_phrases.value` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType].
func (*UpdateEntityTypeRequest) Descriptor
deprecated
func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntityTypeRequest) GetEntityType ¶
func (x *UpdateEntityTypeRequest) GetEntityType() *EntityType
func (*UpdateEntityTypeRequest) GetLanguageCode ¶
func (x *UpdateEntityTypeRequest) GetLanguageCode() string
func (*UpdateEntityTypeRequest) GetUpdateMask ¶
func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEntityTypeRequest) ProtoMessage ¶
func (*UpdateEntityTypeRequest) ProtoMessage()
func (*UpdateEntityTypeRequest) ProtoReflect ¶
func (x *UpdateEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateEntityTypeRequest) Reset ¶
func (x *UpdateEntityTypeRequest) Reset()
func (*UpdateEntityTypeRequest) String ¶
func (x *UpdateEntityTypeRequest) String() string
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct { // Required. The environment to update. Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` // Required. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment].
func (*UpdateEnvironmentRequest) Descriptor
deprecated
func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateEnvironmentRequest) GetEnvironment ¶
func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment
func (*UpdateEnvironmentRequest) GetUpdateMask ¶
func (x *UpdateEnvironmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEnvironmentRequest) ProtoMessage ¶
func (*UpdateEnvironmentRequest) ProtoMessage()
func (*UpdateEnvironmentRequest) ProtoReflect ¶
func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateEnvironmentRequest) Reset ¶
func (x *UpdateEnvironmentRequest) Reset()
func (*UpdateEnvironmentRequest) String ¶
func (x *UpdateEnvironmentRequest) String() string
type UpdateExperimentRequest ¶
type UpdateExperimentRequest struct { // Required. The experiment to update. Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"` // Required. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Experiments.UpdateExperiment][google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment].
func (*UpdateExperimentRequest) Descriptor
deprecated
func (*UpdateExperimentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateExperimentRequest.ProtoReflect.Descriptor instead.
func (*UpdateExperimentRequest) GetExperiment ¶
func (x *UpdateExperimentRequest) GetExperiment() *Experiment
func (*UpdateExperimentRequest) GetUpdateMask ¶
func (x *UpdateExperimentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateExperimentRequest) ProtoMessage ¶
func (*UpdateExperimentRequest) ProtoMessage()
func (*UpdateExperimentRequest) ProtoReflect ¶
func (x *UpdateExperimentRequest) ProtoReflect() protoreflect.Message
func (*UpdateExperimentRequest) Reset ¶
func (x *UpdateExperimentRequest) Reset()
func (*UpdateExperimentRequest) String ¶
func (x *UpdateExperimentRequest) String() string
type UpdateFlowRequest ¶
type UpdateFlowRequest struct { // Required. The flow to update. Flow *Flow `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The language of the following fields in `flow`: // // * `Flow.event_handlers.trigger_fulfillment.messages` // * `Flow.event_handlers.trigger_fulfillment.conditional_cases` // * `Flow.transition_routes.trigger_fulfillment.messages` // * `Flow.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow].
func (*UpdateFlowRequest) Descriptor
deprecated
func (*UpdateFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFlowRequest.ProtoReflect.Descriptor instead.
func (*UpdateFlowRequest) GetFlow ¶
func (x *UpdateFlowRequest) GetFlow() *Flow
func (*UpdateFlowRequest) GetLanguageCode ¶
func (x *UpdateFlowRequest) GetLanguageCode() string
func (*UpdateFlowRequest) GetUpdateMask ¶
func (x *UpdateFlowRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFlowRequest) ProtoMessage ¶
func (*UpdateFlowRequest) ProtoMessage()
func (*UpdateFlowRequest) ProtoReflect ¶
func (x *UpdateFlowRequest) ProtoReflect() protoreflect.Message
func (*UpdateFlowRequest) Reset ¶
func (x *UpdateFlowRequest) Reset()
func (*UpdateFlowRequest) String ¶
func (x *UpdateFlowRequest) String() string
type UpdateGenerativeSettingsRequest ¶ added in v1.43.0
type UpdateGenerativeSettingsRequest struct { // Required. Generative settings to update. GenerativeSettings *GenerativeSettings `protobuf:"bytes,1,opt,name=generative_settings,json=generativeSettings,proto3" json:"generative_settings,omitempty"` // Optional. The mask to control which fields get updated. If the mask is not // present, all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request for [UpdateGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings] RPC.
func (*UpdateGenerativeSettingsRequest) Descriptor
deprecated
added in
v1.43.0
func (*UpdateGenerativeSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGenerativeSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateGenerativeSettingsRequest) GetGenerativeSettings ¶ added in v1.43.0
func (x *UpdateGenerativeSettingsRequest) GetGenerativeSettings() *GenerativeSettings
func (*UpdateGenerativeSettingsRequest) GetUpdateMask ¶ added in v1.43.0
func (x *UpdateGenerativeSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateGenerativeSettingsRequest) ProtoMessage ¶ added in v1.43.0
func (*UpdateGenerativeSettingsRequest) ProtoMessage()
func (*UpdateGenerativeSettingsRequest) ProtoReflect ¶ added in v1.43.0
func (x *UpdateGenerativeSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateGenerativeSettingsRequest) Reset ¶ added in v1.43.0
func (x *UpdateGenerativeSettingsRequest) Reset()
func (*UpdateGenerativeSettingsRequest) String ¶ added in v1.43.0
func (x *UpdateGenerativeSettingsRequest) String() string
type UpdateGeneratorRequest ¶ added in v1.47.0
type UpdateGeneratorRequest struct { // Required. The generator to update. Generator *Generator `protobuf:"bytes,1,opt,name=generator,proto3" json:"generator,omitempty"` // The language to list generators for. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator].
func (*UpdateGeneratorRequest) Descriptor
deprecated
added in
v1.47.0
func (*UpdateGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*UpdateGeneratorRequest) GetGenerator ¶ added in v1.47.0
func (x *UpdateGeneratorRequest) GetGenerator() *Generator
func (*UpdateGeneratorRequest) GetLanguageCode ¶ added in v1.47.0
func (x *UpdateGeneratorRequest) GetLanguageCode() string
func (*UpdateGeneratorRequest) GetUpdateMask ¶ added in v1.47.0
func (x *UpdateGeneratorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateGeneratorRequest) ProtoMessage ¶ added in v1.47.0
func (*UpdateGeneratorRequest) ProtoMessage()
func (*UpdateGeneratorRequest) ProtoReflect ¶ added in v1.47.0
func (x *UpdateGeneratorRequest) ProtoReflect() protoreflect.Message
func (*UpdateGeneratorRequest) Reset ¶ added in v1.47.0
func (x *UpdateGeneratorRequest) Reset()
func (*UpdateGeneratorRequest) String ¶ added in v1.47.0
func (x *UpdateGeneratorRequest) String() string
type UpdateIntentRequest ¶
type UpdateIntentRequest struct { // Required. The intent to update. Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // The language of the following fields in `intent`: // // * `Intent.training_phrases.parts.text` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent].
func (*UpdateIntentRequest) Descriptor
deprecated
func (*UpdateIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntentRequest.ProtoReflect.Descriptor instead.
func (*UpdateIntentRequest) GetIntent ¶
func (x *UpdateIntentRequest) GetIntent() *Intent
func (*UpdateIntentRequest) GetLanguageCode ¶
func (x *UpdateIntentRequest) GetLanguageCode() string
func (*UpdateIntentRequest) GetUpdateMask ¶
func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIntentRequest) ProtoMessage ¶
func (*UpdateIntentRequest) ProtoMessage()
func (*UpdateIntentRequest) ProtoReflect ¶
func (x *UpdateIntentRequest) ProtoReflect() protoreflect.Message
func (*UpdateIntentRequest) Reset ¶
func (x *UpdateIntentRequest) Reset()
func (*UpdateIntentRequest) String ¶
func (x *UpdateIntentRequest) String() string
type UpdatePageRequest ¶
type UpdatePageRequest struct { // Required. The page to update. Page *Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // The language of the following fields in `page`: // // * `Page.entry_fulfillment.messages` // * `Page.entry_fulfillment.conditional_cases` // * `Page.event_handlers.trigger_fulfillment.messages` // * `Page.event_handlers.trigger_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` // * // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` // * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` // * // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` // * `Page.transition_routes.trigger_fulfillment.messages` // * `Page.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage].
func (*UpdatePageRequest) Descriptor
deprecated
func (*UpdatePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePageRequest.ProtoReflect.Descriptor instead.
func (*UpdatePageRequest) GetLanguageCode ¶
func (x *UpdatePageRequest) GetLanguageCode() string
func (*UpdatePageRequest) GetPage ¶
func (x *UpdatePageRequest) GetPage() *Page
func (*UpdatePageRequest) GetUpdateMask ¶
func (x *UpdatePageRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePageRequest) ProtoMessage ¶
func (*UpdatePageRequest) ProtoMessage()
func (*UpdatePageRequest) ProtoReflect ¶
func (x *UpdatePageRequest) ProtoReflect() protoreflect.Message
func (*UpdatePageRequest) Reset ¶
func (x *UpdatePageRequest) Reset()
func (*UpdatePageRequest) String ¶
func (x *UpdatePageRequest) String() string
type UpdateSecuritySettingsRequest ¶
type UpdateSecuritySettingsRequest struct { // Required. [SecuritySettings] object that contains values for each of the // fields to update. SecuritySettings *SecuritySettings `protobuf:"bytes,1,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Required. The mask to control which fields get updated. If the mask is not // present, all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings].
func (*UpdateSecuritySettingsRequest) Descriptor
deprecated
func (*UpdateSecuritySettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecuritySettingsRequest) GetSecuritySettings ¶
func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings
func (*UpdateSecuritySettingsRequest) GetUpdateMask ¶
func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSecuritySettingsRequest) ProtoMessage ¶
func (*UpdateSecuritySettingsRequest) ProtoMessage()
func (*UpdateSecuritySettingsRequest) ProtoReflect ¶
func (x *UpdateSecuritySettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecuritySettingsRequest) Reset ¶
func (x *UpdateSecuritySettingsRequest) Reset()
func (*UpdateSecuritySettingsRequest) String ¶
func (x *UpdateSecuritySettingsRequest) String() string
type UpdateSessionEntityTypeRequest ¶
type UpdateSessionEntityTypeRequest struct { // Required. The session entity type to update. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>` // or // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`. // If `Environment ID` is not specified, // we assume default 'draft' environment. SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` // The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType].
func (*UpdateSessionEntityTypeRequest) Descriptor
deprecated
func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSessionEntityTypeRequest) GetSessionEntityType ¶
func (x *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
func (*UpdateSessionEntityTypeRequest) GetUpdateMask ¶
func (x *UpdateSessionEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSessionEntityTypeRequest) ProtoMessage ¶
func (*UpdateSessionEntityTypeRequest) ProtoMessage()
func (*UpdateSessionEntityTypeRequest) ProtoReflect ¶
func (x *UpdateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateSessionEntityTypeRequest) Reset ¶
func (x *UpdateSessionEntityTypeRequest) Reset()
func (*UpdateSessionEntityTypeRequest) String ¶
func (x *UpdateSessionEntityTypeRequest) String() string
type UpdateTestCaseRequest ¶
type UpdateTestCaseRequest struct { // Required. The test case to update. TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"` // Required. The mask to specify which fields should be updated. The // [`creationTime`][google.cloud.dialogflow.cx.v3.TestCase.creation_time] and // [`lastTestResult`][google.cloud.dialogflow.cx.v3.TestCase.last_test_result] // cannot be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [TestCases.UpdateTestCase][google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase].
func (*UpdateTestCaseRequest) Descriptor
deprecated
func (*UpdateTestCaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTestCaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateTestCaseRequest) GetTestCase ¶
func (x *UpdateTestCaseRequest) GetTestCase() *TestCase
func (*UpdateTestCaseRequest) GetUpdateMask ¶
func (x *UpdateTestCaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTestCaseRequest) ProtoMessage ¶
func (*UpdateTestCaseRequest) ProtoMessage()
func (*UpdateTestCaseRequest) ProtoReflect ¶
func (x *UpdateTestCaseRequest) ProtoReflect() protoreflect.Message
func (*UpdateTestCaseRequest) Reset ¶
func (x *UpdateTestCaseRequest) Reset()
func (*UpdateTestCaseRequest) String ¶
func (x *UpdateTestCaseRequest) String() string
type UpdateTransitionRouteGroupRequest ¶
type UpdateTransitionRouteGroupRequest struct { // Required. The transition route group to update. TransitionRouteGroup *TransitionRouteGroup `protobuf:"bytes,1,opt,name=transition_route_group,json=transitionRouteGroup,proto3" json:"transition_route_group,omitempty"` // The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // The language of the following fields in `TransitionRouteGroup`: // // * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` // * // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` // // If not specified, the agent's default language is used. // [Many // languages](https://cloud.google.com/dialogflow/cx/docs/reference/language) // are supported. // Note: languages must be enabled in the agent before they can be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [TransitionRouteGroups.UpdateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup].
func (*UpdateTransitionRouteGroupRequest) Descriptor
deprecated
func (*UpdateTransitionRouteGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateTransitionRouteGroupRequest) GetLanguageCode ¶
func (x *UpdateTransitionRouteGroupRequest) GetLanguageCode() string
func (*UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup ¶
func (x *UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup
func (*UpdateTransitionRouteGroupRequest) GetUpdateMask ¶
func (x *UpdateTransitionRouteGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTransitionRouteGroupRequest) ProtoMessage ¶
func (*UpdateTransitionRouteGroupRequest) ProtoMessage()
func (*UpdateTransitionRouteGroupRequest) ProtoReflect ¶
func (x *UpdateTransitionRouteGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateTransitionRouteGroupRequest) Reset ¶
func (x *UpdateTransitionRouteGroupRequest) Reset()
func (*UpdateTransitionRouteGroupRequest) String ¶
func (x *UpdateTransitionRouteGroupRequest) String() string
type UpdateVersionRequest ¶
type UpdateVersionRequest struct { // Required. The version to update. Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Required. The mask to control which fields get updated. Currently only // `description` and `display_name` can be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.UpdateVersion][google.cloud.dialogflow.cx.v3.Versions.UpdateVersion].
func (*UpdateVersionRequest) Descriptor
deprecated
func (*UpdateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) GetUpdateMask ¶
func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVersionRequest) GetVersion ¶
func (x *UpdateVersionRequest) GetVersion() *Version
func (*UpdateVersionRequest) ProtoMessage ¶
func (*UpdateVersionRequest) ProtoMessage()
func (*UpdateVersionRequest) ProtoReflect ¶
func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message
func (*UpdateVersionRequest) Reset ¶
func (x *UpdateVersionRequest) Reset()
func (*UpdateVersionRequest) String ¶
func (x *UpdateVersionRequest) String() string
type UpdateWebhookRequest ¶
type UpdateWebhookRequest struct { // Required. The webhook to update. Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"` // The mask to control which fields get updated. If the mask is not present, // all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook].
func (*UpdateWebhookRequest) Descriptor
deprecated
func (*UpdateWebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.
func (*UpdateWebhookRequest) GetUpdateMask ¶
func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateWebhookRequest) GetWebhook ¶
func (x *UpdateWebhookRequest) GetWebhook() *Webhook
func (*UpdateWebhookRequest) ProtoMessage ¶
func (*UpdateWebhookRequest) ProtoMessage()
func (*UpdateWebhookRequest) ProtoReflect ¶
func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message
func (*UpdateWebhookRequest) Reset ¶
func (x *UpdateWebhookRequest) Reset()
func (*UpdateWebhookRequest) String ¶
func (x *UpdateWebhookRequest) String() string
type ValidateAgentRequest ¶
type ValidateAgentRequest struct { // Required. The agent to validate. // Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If not specified, the agent's default language is used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.ValidateAgent][google.cloud.dialogflow.cx.v3.Agents.ValidateAgent].
func (*ValidateAgentRequest) Descriptor
deprecated
func (*ValidateAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateAgentRequest.ProtoReflect.Descriptor instead.
func (*ValidateAgentRequest) GetLanguageCode ¶
func (x *ValidateAgentRequest) GetLanguageCode() string
func (*ValidateAgentRequest) GetName ¶
func (x *ValidateAgentRequest) GetName() string
func (*ValidateAgentRequest) ProtoMessage ¶
func (*ValidateAgentRequest) ProtoMessage()
func (*ValidateAgentRequest) ProtoReflect ¶
func (x *ValidateAgentRequest) ProtoReflect() protoreflect.Message
func (*ValidateAgentRequest) Reset ¶
func (x *ValidateAgentRequest) Reset()
func (*ValidateAgentRequest) String ¶
func (x *ValidateAgentRequest) String() string
type ValidateFlowRequest ¶
type ValidateFlowRequest struct { // Required. The flow to validate. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // If not specified, the agent's default language is used. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Flows.ValidateFlow][google.cloud.dialogflow.cx.v3.Flows.ValidateFlow].
func (*ValidateFlowRequest) Descriptor
deprecated
func (*ValidateFlowRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateFlowRequest.ProtoReflect.Descriptor instead.
func (*ValidateFlowRequest) GetLanguageCode ¶
func (x *ValidateFlowRequest) GetLanguageCode() string
func (*ValidateFlowRequest) GetName ¶
func (x *ValidateFlowRequest) GetName() string
func (*ValidateFlowRequest) ProtoMessage ¶
func (*ValidateFlowRequest) ProtoMessage()
func (*ValidateFlowRequest) ProtoReflect ¶
func (x *ValidateFlowRequest) ProtoReflect() protoreflect.Message
func (*ValidateFlowRequest) Reset ¶
func (x *ValidateFlowRequest) Reset()
func (*ValidateFlowRequest) String ¶
func (x *ValidateFlowRequest) String() string
type ValidationMessage ¶
type ValidationMessage struct { // The type of the resources where the message is found. ResourceType ValidationMessage_ResourceType `` /* 164-byte string literal not displayed */ // The names of the resources where the message is found. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/validation_message.proto. Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // The resource names of the resources where the message is found. ResourceNames []*ResourceName `protobuf:"bytes,6,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` // Indicates the severity of the message. Severity ValidationMessage_Severity `` /* 132-byte string literal not displayed */ // The message detail. Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
Agent/flow validation message.
func (*ValidationMessage) Descriptor
deprecated
func (*ValidationMessage) Descriptor() ([]byte, []int)
Deprecated: Use ValidationMessage.ProtoReflect.Descriptor instead.
func (*ValidationMessage) GetDetail ¶
func (x *ValidationMessage) GetDetail() string
func (*ValidationMessage) GetResourceNames ¶
func (x *ValidationMessage) GetResourceNames() []*ResourceName
func (*ValidationMessage) GetResourceType ¶
func (x *ValidationMessage) GetResourceType() ValidationMessage_ResourceType
func (*ValidationMessage) GetResources
deprecated
func (x *ValidationMessage) GetResources() []string
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/validation_message.proto.
func (*ValidationMessage) GetSeverity ¶
func (x *ValidationMessage) GetSeverity() ValidationMessage_Severity
func (*ValidationMessage) ProtoMessage ¶
func (*ValidationMessage) ProtoMessage()
func (*ValidationMessage) ProtoReflect ¶
func (x *ValidationMessage) ProtoReflect() protoreflect.Message
func (*ValidationMessage) Reset ¶
func (x *ValidationMessage) Reset()
func (*ValidationMessage) String ¶
func (x *ValidationMessage) String() string
type ValidationMessage_ResourceType ¶
type ValidationMessage_ResourceType int32
Resource types.
const ( // Unspecified. ValidationMessage_RESOURCE_TYPE_UNSPECIFIED ValidationMessage_ResourceType = 0 // Agent. ValidationMessage_AGENT ValidationMessage_ResourceType = 1 // Intent. ValidationMessage_INTENT ValidationMessage_ResourceType = 2 // Intent training phrase. ValidationMessage_INTENT_TRAINING_PHRASE ValidationMessage_ResourceType = 8 // Intent parameter. ValidationMessage_INTENT_PARAMETER ValidationMessage_ResourceType = 9 // Multiple intents. ValidationMessage_INTENTS ValidationMessage_ResourceType = 10 // Multiple training phrases. ValidationMessage_INTENT_TRAINING_PHRASES ValidationMessage_ResourceType = 11 // Entity type. ValidationMessage_ENTITY_TYPE ValidationMessage_ResourceType = 3 // Multiple entity types. ValidationMessage_ENTITY_TYPES ValidationMessage_ResourceType = 12 // Webhook. ValidationMessage_WEBHOOK ValidationMessage_ResourceType = 4 // Flow. ValidationMessage_FLOW ValidationMessage_ResourceType = 5 // Page. ValidationMessage_PAGE ValidationMessage_ResourceType = 6 // Multiple pages. ValidationMessage_PAGES ValidationMessage_ResourceType = 13 // Transition route group. ValidationMessage_TRANSITION_ROUTE_GROUP ValidationMessage_ResourceType = 7 // Agent transition route group. ValidationMessage_AGENT_TRANSITION_ROUTE_GROUP ValidationMessage_ResourceType = 14 )
func (ValidationMessage_ResourceType) Descriptor ¶
func (ValidationMessage_ResourceType) Descriptor() protoreflect.EnumDescriptor
func (ValidationMessage_ResourceType) Enum ¶
func (x ValidationMessage_ResourceType) Enum() *ValidationMessage_ResourceType
func (ValidationMessage_ResourceType) EnumDescriptor
deprecated
func (ValidationMessage_ResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidationMessage_ResourceType.Descriptor instead.
func (ValidationMessage_ResourceType) Number ¶
func (x ValidationMessage_ResourceType) Number() protoreflect.EnumNumber
func (ValidationMessage_ResourceType) String ¶
func (x ValidationMessage_ResourceType) String() string
func (ValidationMessage_ResourceType) Type ¶
func (ValidationMessage_ResourceType) Type() protoreflect.EnumType
type ValidationMessage_Severity ¶
type ValidationMessage_Severity int32
Severity level.
const ( // Unspecified. ValidationMessage_SEVERITY_UNSPECIFIED ValidationMessage_Severity = 0 // The agent doesn't follow Dialogflow best practices. ValidationMessage_INFO ValidationMessage_Severity = 1 // The agent may not behave as expected. ValidationMessage_WARNING ValidationMessage_Severity = 2 // The agent may experience failures. ValidationMessage_ERROR ValidationMessage_Severity = 3 )
func (ValidationMessage_Severity) Descriptor ¶
func (ValidationMessage_Severity) Descriptor() protoreflect.EnumDescriptor
func (ValidationMessage_Severity) Enum ¶
func (x ValidationMessage_Severity) Enum() *ValidationMessage_Severity
func (ValidationMessage_Severity) EnumDescriptor
deprecated
func (ValidationMessage_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidationMessage_Severity.Descriptor instead.
func (ValidationMessage_Severity) Number ¶
func (x ValidationMessage_Severity) Number() protoreflect.EnumNumber
func (ValidationMessage_Severity) String ¶
func (x ValidationMessage_Severity) String() string
func (ValidationMessage_Severity) Type ¶
func (ValidationMessage_Severity) Type() protoreflect.EnumType
type VariantsHistory ¶
type VariantsHistory struct { // The variants updated. We currently only support single variant // experiment. // // Types that are assignable to Variants: // // *VariantsHistory_VersionVariants Variants isVariantsHistory_Variants `protobuf_oneof:"variants"` // Update time of the variants. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
The history of variants update.
func (*VariantsHistory) Descriptor
deprecated
func (*VariantsHistory) Descriptor() ([]byte, []int)
Deprecated: Use VariantsHistory.ProtoReflect.Descriptor instead.
func (*VariantsHistory) GetUpdateTime ¶
func (x *VariantsHistory) GetUpdateTime() *timestamppb.Timestamp
func (*VariantsHistory) GetVariants ¶
func (m *VariantsHistory) GetVariants() isVariantsHistory_Variants
func (*VariantsHistory) GetVersionVariants ¶
func (x *VariantsHistory) GetVersionVariants() *VersionVariants
func (*VariantsHistory) ProtoMessage ¶
func (*VariantsHistory) ProtoMessage()
func (*VariantsHistory) ProtoReflect ¶
func (x *VariantsHistory) ProtoReflect() protoreflect.Message
func (*VariantsHistory) Reset ¶
func (x *VariantsHistory) Reset()
func (*VariantsHistory) String ¶
func (x *VariantsHistory) String() string
type VariantsHistory_VersionVariants ¶
type VariantsHistory_VersionVariants struct { // The flow versions as the variants. VersionVariants *VersionVariants `protobuf:"bytes,1,opt,name=version_variants,json=versionVariants,proto3,oneof"` }
type Version ¶
type Version struct { // Format: // projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>. // Version ID is a self-increasing number generated by Dialogflow upon version // creation. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the version. Limit of 64 characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The description of the version. The maximum length is 500 characters. If // exceeded, the request is rejected. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. The NLU settings of the flow at version creation. NluSettings *NluSettings `protobuf:"bytes,4,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"` // Output only. Create time of the version. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The state of this version. This field is read-only and cannot // be set by create and update methods. State Version_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.Version_State" json:"state,omitempty"` // contains filtered or unexported fields }
Represents a version of a flow.
func (*Version) Descriptor
deprecated
func (*Version) GetCreateTime ¶
func (x *Version) GetCreateTime() *timestamppb.Timestamp
func (*Version) GetDescription ¶
func (*Version) GetDisplayName ¶
func (*Version) GetNluSettings ¶
func (x *Version) GetNluSettings() *NluSettings
func (*Version) GetState ¶
func (x *Version) GetState() Version_State
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type VersionVariants ¶
type VersionVariants struct { // A list of flow version variants. Variants []*VersionVariants_Variant `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"` // contains filtered or unexported fields }
A list of flow version variants.
func (*VersionVariants) Descriptor
deprecated
func (*VersionVariants) Descriptor() ([]byte, []int)
Deprecated: Use VersionVariants.ProtoReflect.Descriptor instead.
func (*VersionVariants) GetVariants ¶
func (x *VersionVariants) GetVariants() []*VersionVariants_Variant
func (*VersionVariants) ProtoMessage ¶
func (*VersionVariants) ProtoMessage()
func (*VersionVariants) ProtoReflect ¶
func (x *VersionVariants) ProtoReflect() protoreflect.Message
func (*VersionVariants) Reset ¶
func (x *VersionVariants) Reset()
func (*VersionVariants) String ¶
func (x *VersionVariants) String() string
type VersionVariants_Variant ¶
type VersionVariants_Variant struct { // The name of the flow version. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Percentage of the traffic which should be routed to this // version of flow. Traffic allocation for a single flow must sum up to 1.0. TrafficAllocation float32 `protobuf:"fixed32,2,opt,name=traffic_allocation,json=trafficAllocation,proto3" json:"traffic_allocation,omitempty"` // Whether the variant is for the control group. IsControlGroup bool `protobuf:"varint,3,opt,name=is_control_group,json=isControlGroup,proto3" json:"is_control_group,omitempty"` // contains filtered or unexported fields }
A single flow version with specified traffic allocation.
func (*VersionVariants_Variant) Descriptor
deprecated
func (*VersionVariants_Variant) Descriptor() ([]byte, []int)
Deprecated: Use VersionVariants_Variant.ProtoReflect.Descriptor instead.
func (*VersionVariants_Variant) GetIsControlGroup ¶
func (x *VersionVariants_Variant) GetIsControlGroup() bool
func (*VersionVariants_Variant) GetTrafficAllocation ¶
func (x *VersionVariants_Variant) GetTrafficAllocation() float32
func (*VersionVariants_Variant) GetVersion ¶
func (x *VersionVariants_Variant) GetVersion() string
func (*VersionVariants_Variant) ProtoMessage ¶
func (*VersionVariants_Variant) ProtoMessage()
func (*VersionVariants_Variant) ProtoReflect ¶
func (x *VersionVariants_Variant) ProtoReflect() protoreflect.Message
func (*VersionVariants_Variant) Reset ¶
func (x *VersionVariants_Variant) Reset()
func (*VersionVariants_Variant) String ¶
func (x *VersionVariants_Variant) String() string
type Version_State ¶
type Version_State int32
The state of the version.
const ( // Not specified. This value is not used. Version_STATE_UNSPECIFIED Version_State = 0 // Version is not ready to serve (e.g. training is running). Version_RUNNING Version_State = 1 // Training has succeeded and this version is ready to serve. Version_SUCCEEDED Version_State = 2 // Version training failed. Version_FAILED Version_State = 3 )
func (Version_State) Descriptor ¶
func (Version_State) Descriptor() protoreflect.EnumDescriptor
func (Version_State) Enum ¶
func (x Version_State) Enum() *Version_State
func (Version_State) EnumDescriptor
deprecated
func (Version_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_State.Descriptor instead.
func (Version_State) Number ¶
func (x Version_State) Number() protoreflect.EnumNumber
func (Version_State) String ¶
func (x Version_State) String() string
func (Version_State) Type ¶
func (Version_State) Type() protoreflect.EnumType
type VersionsClient ¶
type VersionsClient interface { // Returns the list of all versions in the specified // [Flow][google.cloud.dialogflow.cx.v3.Flow]. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) // Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version]. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) // Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified // [Flow][google.cloud.dialogflow.cx.v3.Flow]. // // 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`: // [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata] // - `response`: [Version][google.cloud.dialogflow.cx.v3.Version] CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version]. UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, error) // Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version]. DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Loads resources in the specified version to the draft flow. // // 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) LoadVersion(ctx context.Context, in *LoadVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Compares the specified base version with target version. CompareVersions(ctx context.Context, in *CompareVersionsRequest, opts ...grpc.CallOption) (*CompareVersionsResponse, error) }
VersionsClient is the client API for Versions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVersionsClient ¶
func NewVersionsClient(cc grpc.ClientConnInterface) VersionsClient
type VersionsServer ¶
type VersionsServer interface { // Returns the list of all versions in the specified // [Flow][google.cloud.dialogflow.cx.v3.Flow]. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) // Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version]. GetVersion(context.Context, *GetVersionRequest) (*Version, error) // Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified // [Flow][google.cloud.dialogflow.cx.v3.Flow]. // // 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`: // [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata] // - `response`: [Version][google.cloud.dialogflow.cx.v3.Version] CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error) // Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version]. UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error) // Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version]. DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error) // Loads resources in the specified version to the draft flow. // // 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) LoadVersion(context.Context, *LoadVersionRequest) (*longrunningpb.Operation, error) // Compares the specified base version with target version. CompareVersions(context.Context, *CompareVersionsRequest) (*CompareVersionsResponse, error) }
VersionsServer is the server API for Versions service.
type VoiceSelectionParams ¶
type VoiceSelectionParams struct { // Optional. The name of the voice. If not set, the service will choose a // voice based on the other parameters such as language_code and // [ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender]. // // For the list of available voices, please refer to [Supported voices and // languages](https://cloud.google.com/text-to-speech/docs/voices). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and // [name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name]. Note that // this is only a preference, not requirement. If a voice of the appropriate // gender is not available, the synthesizer substitutes a voice with a // different gender rather than failing the request. SsmlGender SsmlVoiceGender `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Description of which voice to use for speech synthesis.
func (*VoiceSelectionParams) Descriptor
deprecated
func (*VoiceSelectionParams) Descriptor() ([]byte, []int)
Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead.
func (*VoiceSelectionParams) GetName ¶
func (x *VoiceSelectionParams) GetName() string
func (*VoiceSelectionParams) GetSsmlGender ¶
func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender
func (*VoiceSelectionParams) ProtoMessage ¶
func (*VoiceSelectionParams) ProtoMessage()
func (*VoiceSelectionParams) ProtoReflect ¶
func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message
func (*VoiceSelectionParams) Reset ¶
func (x *VoiceSelectionParams) Reset()
func (*VoiceSelectionParams) String ¶
func (x *VoiceSelectionParams) String() string
type Webhook ¶
type Webhook struct { // The unique identifier of the webhook. // Required for the // [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] // method. // [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] // populates the name automatically. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/webhooks/<WebhookID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The human-readable name of the webhook, unique within the agent. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The webhook configuration. // // Types that are assignable to Webhook: // // *Webhook_GenericWebService_ // *Webhook_ServiceDirectory Webhook isWebhook_Webhook `protobuf_oneof:"webhook"` // Webhook execution timeout. Execution is considered failed if Dialogflow // doesn't receive a response from webhook at the end of the timeout period. // Defaults to 5 seconds, maximum allowed timeout is 30 seconds. Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` // Indicates whether the webhook is disabled. Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.
func (*Webhook) Descriptor
deprecated
func (*Webhook) GetDisabled ¶
func (*Webhook) GetDisplayName ¶
func (*Webhook) GetGenericWebService ¶
func (x *Webhook) GetGenericWebService() *Webhook_GenericWebService
func (*Webhook) GetServiceDirectory ¶
func (x *Webhook) GetServiceDirectory() *Webhook_ServiceDirectoryConfig
func (*Webhook) GetTimeout ¶
func (x *Webhook) GetTimeout() *durationpb.Duration
func (*Webhook) GetWebhook ¶
func (m *Webhook) GetWebhook() isWebhook_Webhook
func (*Webhook) ProtoMessage ¶
func (*Webhook) ProtoMessage()
func (*Webhook) ProtoReflect ¶
func (x *Webhook) ProtoReflect() protoreflect.Message
type WebhookRequest ¶
type WebhookRequest struct { // Always present. The unique identifier of the // [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] // that will be returned to the API caller. DetectIntentResponseId string `` /* 131-byte string literal not displayed */ // The original conversational query. // // Types that are assignable to Query: // // *WebhookRequest_Text // *WebhookRequest_TriggerIntent // *WebhookRequest_Transcript // *WebhookRequest_TriggerEvent // *WebhookRequest_DtmfDigits Query isWebhookRequest_Query `protobuf_oneof:"query"` // The language code specified in the [original // request][QueryInput.language_code]. LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Always present. Information about the fulfillment that triggered this // webhook call. FulfillmentInfo *WebhookRequest_FulfillmentInfo `protobuf:"bytes,6,opt,name=fulfillment_info,json=fulfillmentInfo,proto3" json:"fulfillment_info,omitempty"` // Information about the last matched intent. IntentInfo *WebhookRequest_IntentInfo `protobuf:"bytes,3,opt,name=intent_info,json=intentInfo,proto3" json:"intent_info,omitempty"` // Information about page status. PageInfo *PageInfo `protobuf:"bytes,4,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // Information about session status. SessionInfo *SessionInfo `protobuf:"bytes,5,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` // The list of rich message responses to present to the user. Webhook can // choose to append or replace this list in // [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response]; Messages []*ResponseMessage `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"` // Custom data set in // [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload]. Payload *structpb.Struct `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"` // The sentiment analysis result of the current user request. The field is // filled when sentiment analysis is configured to be enabled for the request. SentimentAnalysisResult *WebhookRequest_SentimentAnalysisResult `` /* 132-byte string literal not displayed */ // Information about the language of the request. LanguageInfo *LanguageInfo `protobuf:"bytes,18,opt,name=language_info,json=languageInfo,proto3" json:"language_info,omitempty"` // contains filtered or unexported fields }
The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.
You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
func (*WebhookRequest) Descriptor
deprecated
func (*WebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest.ProtoReflect.Descriptor instead.
func (*WebhookRequest) GetDetectIntentResponseId ¶
func (x *WebhookRequest) GetDetectIntentResponseId() string
func (*WebhookRequest) GetDtmfDigits ¶ added in v1.33.0
func (x *WebhookRequest) GetDtmfDigits() string
func (*WebhookRequest) GetFulfillmentInfo ¶
func (x *WebhookRequest) GetFulfillmentInfo() *WebhookRequest_FulfillmentInfo
func (*WebhookRequest) GetIntentInfo ¶
func (x *WebhookRequest) GetIntentInfo() *WebhookRequest_IntentInfo
func (*WebhookRequest) GetLanguageCode ¶
func (x *WebhookRequest) GetLanguageCode() string
func (*WebhookRequest) GetLanguageInfo ¶ added in v1.55.0
func (x *WebhookRequest) GetLanguageInfo() *LanguageInfo
func (*WebhookRequest) GetMessages ¶
func (x *WebhookRequest) GetMessages() []*ResponseMessage
func (*WebhookRequest) GetPageInfo ¶
func (x *WebhookRequest) GetPageInfo() *PageInfo
func (*WebhookRequest) GetPayload ¶
func (x *WebhookRequest) GetPayload() *structpb.Struct
func (*WebhookRequest) GetQuery ¶
func (m *WebhookRequest) GetQuery() isWebhookRequest_Query
func (*WebhookRequest) GetSentimentAnalysisResult ¶
func (x *WebhookRequest) GetSentimentAnalysisResult() *WebhookRequest_SentimentAnalysisResult
func (*WebhookRequest) GetSessionInfo ¶
func (x *WebhookRequest) GetSessionInfo() *SessionInfo
func (*WebhookRequest) GetText ¶
func (x *WebhookRequest) GetText() string
func (*WebhookRequest) GetTranscript ¶
func (x *WebhookRequest) GetTranscript() string
func (*WebhookRequest) GetTriggerEvent ¶
func (x *WebhookRequest) GetTriggerEvent() string
func (*WebhookRequest) GetTriggerIntent ¶
func (x *WebhookRequest) GetTriggerIntent() string
func (*WebhookRequest) ProtoMessage ¶
func (*WebhookRequest) ProtoMessage()
func (*WebhookRequest) ProtoReflect ¶
func (x *WebhookRequest) ProtoReflect() protoreflect.Message
func (*WebhookRequest) Reset ¶
func (x *WebhookRequest) Reset()
func (*WebhookRequest) String ¶
func (x *WebhookRequest) String() string
type WebhookRequest_DtmfDigits ¶ added in v1.33.0
type WebhookRequest_DtmfDigits struct { // If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, // this field will contain the DTMF digits. DtmfDigits string `protobuf:"bytes,17,opt,name=dtmf_digits,json=dtmfDigits,proto3,oneof"` }
type WebhookRequest_FulfillmentInfo ¶
type WebhookRequest_FulfillmentInfo struct { // Always present. // The value of the // [Fulfillment.tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag] field // will be populated in this field by Dialogflow when the associated webhook // is called. The tag is typically used by the webhook service to identify // which fulfillment is being called, but it could be used for other // purposes. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
Represents fulfillment information communicated to the webhook.
func (*WebhookRequest_FulfillmentInfo) Descriptor
deprecated
func (*WebhookRequest_FulfillmentInfo) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest_FulfillmentInfo.ProtoReflect.Descriptor instead.
func (*WebhookRequest_FulfillmentInfo) GetTag ¶
func (x *WebhookRequest_FulfillmentInfo) GetTag() string
func (*WebhookRequest_FulfillmentInfo) ProtoMessage ¶
func (*WebhookRequest_FulfillmentInfo) ProtoMessage()
func (*WebhookRequest_FulfillmentInfo) ProtoReflect ¶
func (x *WebhookRequest_FulfillmentInfo) ProtoReflect() protoreflect.Message
func (*WebhookRequest_FulfillmentInfo) Reset ¶
func (x *WebhookRequest_FulfillmentInfo) Reset()
func (*WebhookRequest_FulfillmentInfo) String ¶
func (x *WebhookRequest_FulfillmentInfo) String() string
type WebhookRequest_IntentInfo ¶
type WebhookRequest_IntentInfo struct { // Always present. The unique identifier of the last matched // [intent][google.cloud.dialogflow.cx.v3.Intent]. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. LastMatchedIntent string `protobuf:"bytes,1,opt,name=last_matched_intent,json=lastMatchedIntent,proto3" json:"last_matched_intent,omitempty"` // Always present. The display name of the last matched // [intent][google.cloud.dialogflow.cx.v3.Intent]. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Parameters identified as a result of intent matching. This is a map of // the name of the identified parameter to the value of the parameter // identified from the user's utterance. All parameters defined in the // matched intent that are identified will be surfaced here. Parameters map[string]*WebhookRequest_IntentInfo_IntentParameterValue `` /* 161-byte string literal not displayed */ // The confidence of the matched intent. Values range from 0.0 (completely // uncertain) to 1.0 (completely certain). Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
Represents intent information communicated to the webhook.
func (*WebhookRequest_IntentInfo) Descriptor
deprecated
func (*WebhookRequest_IntentInfo) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest_IntentInfo.ProtoReflect.Descriptor instead.
func (*WebhookRequest_IntentInfo) GetConfidence ¶
func (x *WebhookRequest_IntentInfo) GetConfidence() float32
func (*WebhookRequest_IntentInfo) GetDisplayName ¶
func (x *WebhookRequest_IntentInfo) GetDisplayName() string
func (*WebhookRequest_IntentInfo) GetLastMatchedIntent ¶
func (x *WebhookRequest_IntentInfo) GetLastMatchedIntent() string
func (*WebhookRequest_IntentInfo) GetParameters ¶
func (x *WebhookRequest_IntentInfo) GetParameters() map[string]*WebhookRequest_IntentInfo_IntentParameterValue
func (*WebhookRequest_IntentInfo) ProtoMessage ¶
func (*WebhookRequest_IntentInfo) ProtoMessage()
func (*WebhookRequest_IntentInfo) ProtoReflect ¶
func (x *WebhookRequest_IntentInfo) ProtoReflect() protoreflect.Message
func (*WebhookRequest_IntentInfo) Reset ¶
func (x *WebhookRequest_IntentInfo) Reset()
func (*WebhookRequest_IntentInfo) String ¶
func (x *WebhookRequest_IntentInfo) String() string
type WebhookRequest_IntentInfo_IntentParameterValue ¶
type WebhookRequest_IntentInfo_IntentParameterValue struct { // Always present. Original text value extracted from user utterance. OriginalValue string `protobuf:"bytes,1,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"` // Always present. Structured value for the parameter extracted from user // utterance. ResolvedValue *structpb.Value `protobuf:"bytes,2,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"` // contains filtered or unexported fields }
Represents a value for an intent parameter.
func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor
deprecated
func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest_IntentInfo_IntentParameterValue.ProtoReflect.Descriptor instead.
func (*WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue ¶
func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue() string
func (*WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue ¶
func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue() *structpb.Value
func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage ¶
func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage()
func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect ¶
func (x *WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect() protoreflect.Message
func (*WebhookRequest_IntentInfo_IntentParameterValue) Reset ¶
func (x *WebhookRequest_IntentInfo_IntentParameterValue) Reset()
func (*WebhookRequest_IntentInfo_IntentParameterValue) String ¶
func (x *WebhookRequest_IntentInfo_IntentParameterValue) String() string
type WebhookRequest_SentimentAnalysisResult ¶
type WebhookRequest_SentimentAnalysisResult struct { // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive // // sentiment). Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` // A non-negative number in the [0, +inf) range, which represents the // absolute magnitude of sentiment, regardless of score (positive or // negative). Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` // contains filtered or unexported fields }
Represents the result of sentiment analysis.
func (*WebhookRequest_SentimentAnalysisResult) Descriptor
deprecated
func (*WebhookRequest_SentimentAnalysisResult) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest_SentimentAnalysisResult.ProtoReflect.Descriptor instead.
func (*WebhookRequest_SentimentAnalysisResult) GetMagnitude ¶
func (x *WebhookRequest_SentimentAnalysisResult) GetMagnitude() float32
func (*WebhookRequest_SentimentAnalysisResult) GetScore ¶
func (x *WebhookRequest_SentimentAnalysisResult) GetScore() float32
func (*WebhookRequest_SentimentAnalysisResult) ProtoMessage ¶
func (*WebhookRequest_SentimentAnalysisResult) ProtoMessage()
func (*WebhookRequest_SentimentAnalysisResult) ProtoReflect ¶
func (x *WebhookRequest_SentimentAnalysisResult) ProtoReflect() protoreflect.Message
func (*WebhookRequest_SentimentAnalysisResult) Reset ¶
func (x *WebhookRequest_SentimentAnalysisResult) Reset()
func (*WebhookRequest_SentimentAnalysisResult) String ¶
func (x *WebhookRequest_SentimentAnalysisResult) String() string
type WebhookRequest_Text ¶
type WebhookRequest_Text struct { // If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was // provided as input, this field will contain a copy of the text. Text string `protobuf:"bytes,10,opt,name=text,proto3,oneof"` }
type WebhookRequest_Transcript ¶
type WebhookRequest_Transcript struct { // If [natural language speech // audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, // this field will contain the transcript for the audio. Transcript string `protobuf:"bytes,12,opt,name=transcript,proto3,oneof"` }
type WebhookRequest_TriggerEvent ¶
type WebhookRequest_TriggerEvent struct { // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as // input, this field will contain the name of the event. TriggerEvent string `protobuf:"bytes,14,opt,name=trigger_event,json=triggerEvent,proto3,oneof"` }
type WebhookRequest_TriggerIntent ¶
type WebhookRequest_TriggerIntent struct { // If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as // input, this field will contain a copy of the intent identifier. Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. TriggerIntent string `protobuf:"bytes,11,opt,name=trigger_intent,json=triggerIntent,proto3,oneof"` }
type WebhookResponse ¶
type WebhookResponse struct { // The fulfillment response to send to the user. This field can be omitted by // the webhook if it does not intend to send any response to the user. FulfillmentResponse *WebhookResponse_FulfillmentResponse `protobuf:"bytes,1,opt,name=fulfillment_response,json=fulfillmentResponse,proto3" json:"fulfillment_response,omitempty"` // Information about page status. This field can be omitted by the webhook if // it does not intend to modify page status. PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // Information about session status. This field can be omitted by the webhook // if it does not intend to modify session status. SessionInfo *SessionInfo `protobuf:"bytes,3,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` // Value to append directly to // [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads]. Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // The target to transition to. This can be set optionally to indicate an // immediate transition to a different page in the same host flow, or a // different flow in the same agent. // // Types that are assignable to Transition: // // *WebhookResponse_TargetPage // *WebhookResponse_TargetFlow Transition isWebhookResponse_Transition `protobuf_oneof:"transition"` // contains filtered or unexported fields }
The response message for a webhook call.
func (*WebhookResponse) Descriptor
deprecated
func (*WebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse) GetFulfillmentResponse ¶
func (x *WebhookResponse) GetFulfillmentResponse() *WebhookResponse_FulfillmentResponse
func (*WebhookResponse) GetPageInfo ¶
func (x *WebhookResponse) GetPageInfo() *PageInfo
func (*WebhookResponse) GetPayload ¶
func (x *WebhookResponse) GetPayload() *structpb.Struct
func (*WebhookResponse) GetSessionInfo ¶
func (x *WebhookResponse) GetSessionInfo() *SessionInfo
func (*WebhookResponse) GetTargetFlow ¶
func (x *WebhookResponse) GetTargetFlow() string
func (*WebhookResponse) GetTargetPage ¶
func (x *WebhookResponse) GetTargetPage() string
func (*WebhookResponse) GetTransition ¶
func (m *WebhookResponse) GetTransition() isWebhookResponse_Transition
func (*WebhookResponse) ProtoMessage ¶
func (*WebhookResponse) ProtoMessage()
func (*WebhookResponse) ProtoReflect ¶
func (x *WebhookResponse) ProtoReflect() protoreflect.Message
func (*WebhookResponse) Reset ¶
func (x *WebhookResponse) Reset()
func (*WebhookResponse) String ¶
func (x *WebhookResponse) String() string
type WebhookResponse_FulfillmentResponse ¶
type WebhookResponse_FulfillmentResponse struct { // The list of rich message responses to present to the user. Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // Merge behavior for `messages`. MergeBehavior WebhookResponse_FulfillmentResponse_MergeBehavior `` /* 186-byte string literal not displayed */ // contains filtered or unexported fields }
Represents a fulfillment response to the user.
func (*WebhookResponse_FulfillmentResponse) Descriptor
deprecated
func (*WebhookResponse_FulfillmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use WebhookResponse_FulfillmentResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse_FulfillmentResponse) GetMergeBehavior ¶
func (x *WebhookResponse_FulfillmentResponse) GetMergeBehavior() WebhookResponse_FulfillmentResponse_MergeBehavior
func (*WebhookResponse_FulfillmentResponse) GetMessages ¶
func (x *WebhookResponse_FulfillmentResponse) GetMessages() []*ResponseMessage
func (*WebhookResponse_FulfillmentResponse) ProtoMessage ¶
func (*WebhookResponse_FulfillmentResponse) ProtoMessage()
func (*WebhookResponse_FulfillmentResponse) ProtoReflect ¶
func (x *WebhookResponse_FulfillmentResponse) ProtoReflect() protoreflect.Message
func (*WebhookResponse_FulfillmentResponse) Reset ¶
func (x *WebhookResponse_FulfillmentResponse) Reset()
func (*WebhookResponse_FulfillmentResponse) String ¶
func (x *WebhookResponse_FulfillmentResponse) String() string
type WebhookResponse_FulfillmentResponse_MergeBehavior ¶
type WebhookResponse_FulfillmentResponse_MergeBehavior int32
Defines merge behavior for `messages`.
const ( // Not specified. `APPEND` will be used. WebhookResponse_FulfillmentResponse_MERGE_BEHAVIOR_UNSPECIFIED WebhookResponse_FulfillmentResponse_MergeBehavior = 0 // `messages` will be appended to the list of messages waiting to be sent // to the user. WebhookResponse_FulfillmentResponse_APPEND WebhookResponse_FulfillmentResponse_MergeBehavior = 1 // `messages` will replace the list of messages waiting to be sent to the // user. WebhookResponse_FulfillmentResponse_REPLACE WebhookResponse_FulfillmentResponse_MergeBehavior = 2 )
func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor ¶
func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor() protoreflect.EnumDescriptor
func (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor
deprecated
func (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebhookResponse_FulfillmentResponse_MergeBehavior.Descriptor instead.
func (WebhookResponse_FulfillmentResponse_MergeBehavior) Number ¶
func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Number() protoreflect.EnumNumber
func (WebhookResponse_FulfillmentResponse_MergeBehavior) String ¶
func (x WebhookResponse_FulfillmentResponse_MergeBehavior) String() string
type WebhookResponse_TargetFlow ¶
type WebhookResponse_TargetFlow struct { // The target flow to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`. TargetFlow string `protobuf:"bytes,6,opt,name=target_flow,json=targetFlow,proto3,oneof"` }
type WebhookResponse_TargetPage ¶
type WebhookResponse_TargetPage struct { // The target page to transition to. // Format: // `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`. TargetPage string `protobuf:"bytes,5,opt,name=target_page,json=targetPage,proto3,oneof"` }
type Webhook_GenericWebService ¶
type Webhook_GenericWebService struct { // Required. The webhook URI for receiving POST requests. It must use https // protocol. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // The user name for HTTP Basic authentication. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // The password for HTTP Basic authentication. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // The HTTP request headers to send together with webhook // requests. RequestHeaders map[string]string `` /* 191-byte string literal not displayed */ // Optional. Specifies a list of allowed custom CA certificates (in DER // format) for HTTPS verification. This overrides the default SSL trust // store. If this is empty or unspecified, Dialogflow will use Google's // default trust store to verify certificates. N.B. Make sure the HTTPS // server certificates are signed with "subject alt name". For instance a // certificate can be self-signed using the following command, // “` // // openssl x509 -req -days 200 -in example.com.csr \ // -signkey example.com.key \ // -out example.com.crt \ // -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") // // “` AllowedCaCerts [][]byte `protobuf:"bytes,5,rep,name=allowed_ca_certs,json=allowedCaCerts,proto3" json:"allowed_ca_certs,omitempty"` // Optional. The OAuth configuration of the webhook. If specified, // Dialogflow will initiate the OAuth client credential flow to exchange an // access token from the 3rd party platform and put it in the auth header. OauthConfig *Webhook_GenericWebService_OAuthConfig `protobuf:"bytes,11,opt,name=oauth_config,json=oauthConfig,proto3" json:"oauth_config,omitempty"` // Optional. Indicate the auth token type generated from the [Diglogflow // service // agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). // The generated token is sent in the Authorization header. ServiceAgentAuth Webhook_GenericWebService_ServiceAgentAuth `` /* 191-byte string literal not displayed */ // Optional. Type of the webhook. WebhookType Webhook_GenericWebService_WebhookType `` /* 168-byte string literal not displayed */ // Optional. HTTP method for the flexible webhook calls. Standard webhook // always uses POST. HttpMethod Webhook_GenericWebService_HttpMethod `` /* 164-byte string literal not displayed */ // Optional. Defines a custom JSON object as request body to send to // flexible webhook. RequestBody string `protobuf:"bytes,8,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"` // Optional. Maps the values extracted from specific fields of the flexible // webhook response into session parameters. // - Key: session parameter name // - Value: field path in the webhook response ParameterMapping map[string]string `` /* 197-byte string literal not displayed */ // contains filtered or unexported fields }
Represents configuration for a generic web service.
func (*Webhook_GenericWebService) Descriptor
deprecated
func (*Webhook_GenericWebService) Descriptor() ([]byte, []int)
Deprecated: Use Webhook_GenericWebService.ProtoReflect.Descriptor instead.
func (*Webhook_GenericWebService) GetAllowedCaCerts ¶
func (x *Webhook_GenericWebService) GetAllowedCaCerts() [][]byte
func (*Webhook_GenericWebService) GetHttpMethod ¶ added in v1.36.0
func (x *Webhook_GenericWebService) GetHttpMethod() Webhook_GenericWebService_HttpMethod
func (*Webhook_GenericWebService) GetOauthConfig ¶ added in v1.55.0
func (x *Webhook_GenericWebService) GetOauthConfig() *Webhook_GenericWebService_OAuthConfig
func (*Webhook_GenericWebService) GetParameterMapping ¶ added in v1.36.0
func (x *Webhook_GenericWebService) GetParameterMapping() map[string]string
func (*Webhook_GenericWebService) GetPassword
deprecated
func (x *Webhook_GenericWebService) GetPassword() string
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto.
func (*Webhook_GenericWebService) GetRequestBody ¶ added in v1.36.0
func (x *Webhook_GenericWebService) GetRequestBody() string
func (*Webhook_GenericWebService) GetRequestHeaders ¶
func (x *Webhook_GenericWebService) GetRequestHeaders() map[string]string
func (*Webhook_GenericWebService) GetServiceAgentAuth ¶ added in v1.55.0
func (x *Webhook_GenericWebService) GetServiceAgentAuth() Webhook_GenericWebService_ServiceAgentAuth
func (*Webhook_GenericWebService) GetUri ¶
func (x *Webhook_GenericWebService) GetUri() string
func (*Webhook_GenericWebService) GetUsername
deprecated
func (x *Webhook_GenericWebService) GetUsername() string
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto.
func (*Webhook_GenericWebService) GetWebhookType ¶ added in v1.36.0
func (x *Webhook_GenericWebService) GetWebhookType() Webhook_GenericWebService_WebhookType
func (*Webhook_GenericWebService) ProtoMessage ¶
func (*Webhook_GenericWebService) ProtoMessage()
func (*Webhook_GenericWebService) ProtoReflect ¶
func (x *Webhook_GenericWebService) ProtoReflect() protoreflect.Message
func (*Webhook_GenericWebService) Reset ¶
func (x *Webhook_GenericWebService) Reset()
func (*Webhook_GenericWebService) String ¶
func (x *Webhook_GenericWebService) String() string
type Webhook_GenericWebService_ ¶
type Webhook_GenericWebService_ struct { // Configuration for a generic web service. GenericWebService *Webhook_GenericWebService `protobuf:"bytes,4,opt,name=generic_web_service,json=genericWebService,proto3,oneof"` }
type Webhook_GenericWebService_HttpMethod ¶ added in v1.36.0
type Webhook_GenericWebService_HttpMethod int32
HTTP method to use when calling webhooks.
const ( // HTTP method not specified. Webhook_GenericWebService_HTTP_METHOD_UNSPECIFIED Webhook_GenericWebService_HttpMethod = 0 // HTTP POST Method. Webhook_GenericWebService_POST Webhook_GenericWebService_HttpMethod = 1 // HTTP GET Method. Webhook_GenericWebService_GET Webhook_GenericWebService_HttpMethod = 2 // HTTP HEAD Method. Webhook_GenericWebService_HEAD Webhook_GenericWebService_HttpMethod = 3 // HTTP PUT Method. Webhook_GenericWebService_PUT Webhook_GenericWebService_HttpMethod = 4 // HTTP DELETE Method. Webhook_GenericWebService_DELETE Webhook_GenericWebService_HttpMethod = 5 // HTTP PATCH Method. Webhook_GenericWebService_PATCH Webhook_GenericWebService_HttpMethod = 6 // HTTP OPTIONS Method. Webhook_GenericWebService_OPTIONS Webhook_GenericWebService_HttpMethod = 7 )
func (Webhook_GenericWebService_HttpMethod) Descriptor ¶ added in v1.36.0
func (Webhook_GenericWebService_HttpMethod) Descriptor() protoreflect.EnumDescriptor
func (Webhook_GenericWebService_HttpMethod) Enum ¶ added in v1.36.0
func (x Webhook_GenericWebService_HttpMethod) Enum() *Webhook_GenericWebService_HttpMethod
func (Webhook_GenericWebService_HttpMethod) EnumDescriptor
deprecated
added in
v1.36.0
func (Webhook_GenericWebService_HttpMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use Webhook_GenericWebService_HttpMethod.Descriptor instead.
func (Webhook_GenericWebService_HttpMethod) Number ¶ added in v1.36.0
func (x Webhook_GenericWebService_HttpMethod) Number() protoreflect.EnumNumber
func (Webhook_GenericWebService_HttpMethod) String ¶ added in v1.36.0
func (x Webhook_GenericWebService_HttpMethod) String() string
func (Webhook_GenericWebService_HttpMethod) Type ¶ added in v1.36.0
func (Webhook_GenericWebService_HttpMethod) Type() protoreflect.EnumType
type Webhook_GenericWebService_OAuthConfig ¶ added in v1.55.0
type Webhook_GenericWebService_OAuthConfig struct { // Required. The client ID provided by the 3rd party platform. ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // Required. The client secret provided by the 3rd party platform. ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // Required. The token endpoint provided by the 3rd party platform to // exchange an access token. TokenEndpoint string `protobuf:"bytes,3,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"` // Optional. The OAuth scopes to grant. Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"` // contains filtered or unexported fields }
Represents configuration of OAuth client credential flow for 3rd party API authentication.
func (*Webhook_GenericWebService_OAuthConfig) Descriptor
deprecated
added in
v1.55.0
func (*Webhook_GenericWebService_OAuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use Webhook_GenericWebService_OAuthConfig.ProtoReflect.Descriptor instead.
func (*Webhook_GenericWebService_OAuthConfig) GetClientId ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) GetClientId() string
func (*Webhook_GenericWebService_OAuthConfig) GetClientSecret ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) GetClientSecret() string
func (*Webhook_GenericWebService_OAuthConfig) GetScopes ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) GetScopes() []string
func (*Webhook_GenericWebService_OAuthConfig) GetTokenEndpoint ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) GetTokenEndpoint() string
func (*Webhook_GenericWebService_OAuthConfig) ProtoMessage ¶ added in v1.55.0
func (*Webhook_GenericWebService_OAuthConfig) ProtoMessage()
func (*Webhook_GenericWebService_OAuthConfig) ProtoReflect ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) ProtoReflect() protoreflect.Message
func (*Webhook_GenericWebService_OAuthConfig) Reset ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) Reset()
func (*Webhook_GenericWebService_OAuthConfig) String ¶ added in v1.55.0
func (x *Webhook_GenericWebService_OAuthConfig) String() string
type Webhook_GenericWebService_ServiceAgentAuth ¶ added in v1.55.0
type Webhook_GenericWebService_ServiceAgentAuth int32
Indicate the auth token type generated from the [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
const ( // Service agent auth type unspecified. Default to ID_TOKEN. Webhook_GenericWebService_SERVICE_AGENT_AUTH_UNSPECIFIED Webhook_GenericWebService_ServiceAgentAuth = 0 // No token used. Webhook_GenericWebService_NONE Webhook_GenericWebService_ServiceAgentAuth = 1 // Use [ID // token](https://cloud.google.com/docs/authentication/token-types#id) // generated from service agent. This can be used to access Cloud Function // and Cloud Run after you grant Invoker role to // `service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com`. Webhook_GenericWebService_ID_TOKEN Webhook_GenericWebService_ServiceAgentAuth = 2 // Use [access // token](https://cloud.google.com/docs/authentication/token-types#access) // generated from service agent. This can be used to access other Google // Cloud APIs after you grant required roles to // `service-<PROJECT-NUMBER>@gcp-sa-dialogflow.iam.gserviceaccount.com`. Webhook_GenericWebService_ACCESS_TOKEN Webhook_GenericWebService_ServiceAgentAuth = 3 )
func (Webhook_GenericWebService_ServiceAgentAuth) Descriptor ¶ added in v1.55.0
func (Webhook_GenericWebService_ServiceAgentAuth) Descriptor() protoreflect.EnumDescriptor
func (Webhook_GenericWebService_ServiceAgentAuth) EnumDescriptor
deprecated
added in
v1.55.0
func (Webhook_GenericWebService_ServiceAgentAuth) EnumDescriptor() ([]byte, []int)
Deprecated: Use Webhook_GenericWebService_ServiceAgentAuth.Descriptor instead.
func (Webhook_GenericWebService_ServiceAgentAuth) Number ¶ added in v1.55.0
func (x Webhook_GenericWebService_ServiceAgentAuth) Number() protoreflect.EnumNumber
func (Webhook_GenericWebService_ServiceAgentAuth) String ¶ added in v1.55.0
func (x Webhook_GenericWebService_ServiceAgentAuth) String() string
func (Webhook_GenericWebService_ServiceAgentAuth) Type ¶ added in v1.55.0
func (Webhook_GenericWebService_ServiceAgentAuth) Type() protoreflect.EnumType
type Webhook_GenericWebService_WebhookType ¶ added in v1.36.0
type Webhook_GenericWebService_WebhookType int32
Represents the type of webhook configuration.
const ( // Default value. This value is unused. Webhook_GenericWebService_WEBHOOK_TYPE_UNSPECIFIED Webhook_GenericWebService_WebhookType = 0 // Represents a standard webhook. Webhook_GenericWebService_STANDARD Webhook_GenericWebService_WebhookType = 1 // Represents a flexible webhook. Webhook_GenericWebService_FLEXIBLE Webhook_GenericWebService_WebhookType = 2 )
func (Webhook_GenericWebService_WebhookType) Descriptor ¶ added in v1.36.0
func (Webhook_GenericWebService_WebhookType) Descriptor() protoreflect.EnumDescriptor
func (Webhook_GenericWebService_WebhookType) EnumDescriptor
deprecated
added in
v1.36.0
func (Webhook_GenericWebService_WebhookType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Webhook_GenericWebService_WebhookType.Descriptor instead.
func (Webhook_GenericWebService_WebhookType) Number ¶ added in v1.36.0
func (x Webhook_GenericWebService_WebhookType) Number() protoreflect.EnumNumber
func (Webhook_GenericWebService_WebhookType) String ¶ added in v1.36.0
func (x Webhook_GenericWebService_WebhookType) String() string
func (Webhook_GenericWebService_WebhookType) Type ¶ added in v1.36.0
func (Webhook_GenericWebService_WebhookType) Type() protoreflect.EnumType
type Webhook_ServiceDirectory ¶
type Webhook_ServiceDirectory struct { // Configuration for a [Service // Directory](https://cloud.google.com/service-directory) service. ServiceDirectory *Webhook_ServiceDirectoryConfig `protobuf:"bytes,7,opt,name=service_directory,json=serviceDirectory,proto3,oneof"` }
type Webhook_ServiceDirectoryConfig ¶
type Webhook_ServiceDirectoryConfig struct { // Required. The name of [Service // Directory](https://cloud.google.com/service-directory) service. // Format: // `projects/<ProjectID>/locations/<LocationID>/namespaces/<NamespaceID>/services/<ServiceID>`. // `Location ID` of the service directory must be the same as the location // of the agent. Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // Generic Service configuration of this webhook. GenericWebService *Webhook_GenericWebService `protobuf:"bytes,2,opt,name=generic_web_service,json=genericWebService,proto3" json:"generic_web_service,omitempty"` // contains filtered or unexported fields }
Represents configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
func (*Webhook_ServiceDirectoryConfig) Descriptor
deprecated
func (*Webhook_ServiceDirectoryConfig) Descriptor() ([]byte, []int)
Deprecated: Use Webhook_ServiceDirectoryConfig.ProtoReflect.Descriptor instead.
func (*Webhook_ServiceDirectoryConfig) GetGenericWebService ¶
func (x *Webhook_ServiceDirectoryConfig) GetGenericWebService() *Webhook_GenericWebService
func (*Webhook_ServiceDirectoryConfig) GetService ¶
func (x *Webhook_ServiceDirectoryConfig) GetService() string
func (*Webhook_ServiceDirectoryConfig) ProtoMessage ¶
func (*Webhook_ServiceDirectoryConfig) ProtoMessage()
func (*Webhook_ServiceDirectoryConfig) ProtoReflect ¶
func (x *Webhook_ServiceDirectoryConfig) ProtoReflect() protoreflect.Message
func (*Webhook_ServiceDirectoryConfig) Reset ¶
func (x *Webhook_ServiceDirectoryConfig) Reset()
func (*Webhook_ServiceDirectoryConfig) String ¶
func (x *Webhook_ServiceDirectoryConfig) String() string
type WebhooksClient ¶
type WebhooksClient interface { // Returns the list of all webhooks in the specified agent. ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error) // Retrieves the specified webhook. GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) // Creates a webhook in the specified agent. CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) // Updates the specified webhook. UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error) // Deletes the specified webhook. DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
WebhooksClient is the client API for Webhooks service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebhooksClient ¶
func NewWebhooksClient(cc grpc.ClientConnInterface) WebhooksClient
type WebhooksServer ¶
type WebhooksServer interface { // Returns the list of all webhooks in the specified agent. ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error) // Retrieves the specified webhook. GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error) // Creates a webhook in the specified agent. CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error) // Updates the specified webhook. UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error) // Deletes the specified webhook. DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error) }
WebhooksServer is the server API for Webhooks service.
Source Files ¶
- advanced_settings.pb.go
- agent.pb.go
- audio_config.pb.go
- changelog.pb.go
- data_store_connection.pb.go
- deployment.pb.go
- entity_type.pb.go
- environment.pb.go
- experiment.pb.go
- flow.pb.go
- fulfillment.pb.go
- gcs.pb.go
- generative_settings.pb.go
- generator.pb.go
- import_strategy.pb.go
- inline.pb.go
- intent.pb.go
- page.pb.go
- response_message.pb.go
- safety_settings.pb.go
- security_settings.pb.go
- session.pb.go
- session_entity_type.pb.go
- test_case.pb.go
- transition_route_group.pb.go
- validation_message.pb.go
- version.pb.go
- webhook.pb.go