Variables
ConversationView_name, ConversationView_value
var (
ConversationView_name = map[int32]string{
0: "CONVERSATION_VIEW_UNSPECIFIED",
2: "FULL",
1: "BASIC",
}
ConversationView_value = map[string]int32{
"CONVERSATION_VIEW_UNSPECIFIED": 0,
"FULL": 2,
"BASIC": 1,
}
)
Enum value maps for ConversationView.
IngestConversationsRequest_GcsSource_BucketObjectType_name, IngestConversationsRequest_GcsSource_BucketObjectType_value
var (
IngestConversationsRequest_GcsSource_BucketObjectType_name = map[int32]string{
0: "BUCKET_OBJECT_TYPE_UNSPECIFIED",
1: "TRANSCRIPT",
2: "AUDIO",
}
IngestConversationsRequest_GcsSource_BucketObjectType_value = map[string]int32{
"BUCKET_OBJECT_TYPE_UNSPECIFIED": 0,
"TRANSCRIPT": 1,
"AUDIO": 2,
}
)
Enum value maps for IngestConversationsRequest_GcsSource_BucketObjectType.
ExportInsightsDataRequest_WriteDisposition_name, ExportInsightsDataRequest_WriteDisposition_value
var (
ExportInsightsDataRequest_WriteDisposition_name = map[int32]string{
0: "WRITE_DISPOSITION_UNSPECIFIED",
1: "WRITE_TRUNCATE",
2: "WRITE_APPEND",
}
ExportInsightsDataRequest_WriteDisposition_value = map[string]int32{
"WRITE_DISPOSITION_UNSPECIFIED": 0,
"WRITE_TRUNCATE": 1,
"WRITE_APPEND": 2,
}
)
Enum value maps for ExportInsightsDataRequest_WriteDisposition.
Conversation_Medium_name, Conversation_Medium_value
var (
Conversation_Medium_name = map[int32]string{
0: "MEDIUM_UNSPECIFIED",
1: "PHONE_CALL",
2: "CHAT",
}
Conversation_Medium_value = map[string]int32{
"MEDIUM_UNSPECIFIED": 0,
"PHONE_CALL": 1,
"CHAT": 2,
}
)
Enum value maps for Conversation_Medium.
Entity_Type_name, Entity_Type_value
var (
Entity_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "PERSON",
2: "LOCATION",
3: "ORGANIZATION",
4: "EVENT",
5: "WORK_OF_ART",
6: "CONSUMER_GOOD",
7: "OTHER",
9: "PHONE_NUMBER",
10: "ADDRESS",
11: "DATE",
12: "NUMBER",
13: "PRICE",
}
Entity_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"PERSON": 1,
"LOCATION": 2,
"ORGANIZATION": 3,
"EVENT": 4,
"WORK_OF_ART": 5,
"CONSUMER_GOOD": 6,
"OTHER": 7,
"PHONE_NUMBER": 9,
"ADDRESS": 10,
"DATE": 11,
"NUMBER": 12,
"PRICE": 13,
}
)
Enum value maps for Entity_Type.
EntityMentionData_MentionType_name, EntityMentionData_MentionType_value
var (
EntityMentionData_MentionType_name = map[int32]string{
0: "MENTION_TYPE_UNSPECIFIED",
1: "PROPER",
2: "COMMON",
}
EntityMentionData_MentionType_value = map[string]int32{
"MENTION_TYPE_UNSPECIFIED": 0,
"PROPER": 1,
"COMMON": 2,
}
)
Enum value maps for EntityMentionData_MentionType.
IssueModel_State_name, IssueModel_State_value
var (
IssueModel_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "UNDEPLOYED",
2: "DEPLOYING",
3: "DEPLOYED",
4: "UNDEPLOYING",
5: "DELETING",
}
IssueModel_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"UNDEPLOYED": 1,
"DEPLOYING": 2,
"DEPLOYED": 3,
"UNDEPLOYING": 4,
"DELETING": 5,
}
)
Enum value maps for IssueModel_State.
IssueModel_ModelType_name, IssueModel_ModelType_value
var (
IssueModel_ModelType_name = map[int32]string{
0: "MODEL_TYPE_UNSPECIFIED",
1: "TYPE_V1",
2: "TYPE_V2",
}
IssueModel_ModelType_value = map[string]int32{
"MODEL_TYPE_UNSPECIFIED": 0,
"TYPE_V1": 1,
"TYPE_V2": 2,
}
)
Enum value maps for IssueModel_ModelType.
PhraseMatcher_PhraseMatcherType_name, PhraseMatcher_PhraseMatcherType_value
var (
PhraseMatcher_PhraseMatcherType_name = map[int32]string{
0: "PHRASE_MATCHER_TYPE_UNSPECIFIED",
1: "ALL_OF",
2: "ANY_OF",
}
PhraseMatcher_PhraseMatcherType_value = map[string]int32{
"PHRASE_MATCHER_TYPE_UNSPECIFIED": 0,
"ALL_OF": 1,
"ANY_OF": 2,
}
)
Enum value maps for PhraseMatcher_PhraseMatcherType.
PhraseMatchRuleGroup_PhraseMatchRuleGroupType_name, PhraseMatchRuleGroup_PhraseMatchRuleGroupType_value
var (
PhraseMatchRuleGroup_PhraseMatchRuleGroupType_name = map[int32]string{
0: "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED",
1: "ALL_OF",
2: "ANY_OF",
}
PhraseMatchRuleGroup_PhraseMatchRuleGroupType_value = map[string]int32{
"PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED": 0,
"ALL_OF": 1,
"ANY_OF": 2,
}
)
Enum value maps for PhraseMatchRuleGroup_PhraseMatchRuleGroupType.
AnswerFeedback_CorrectnessLevel_name, AnswerFeedback_CorrectnessLevel_value
var (
AnswerFeedback_CorrectnessLevel_name = map[int32]string{
0: "CORRECTNESS_LEVEL_UNSPECIFIED",
1: "NOT_CORRECT",
2: "PARTIALLY_CORRECT",
3: "FULLY_CORRECT",
}
AnswerFeedback_CorrectnessLevel_value = map[string]int32{
"CORRECTNESS_LEVEL_UNSPECIFIED": 0,
"NOT_CORRECT": 1,
"PARTIALLY_CORRECT": 2,
"FULLY_CORRECT": 3,
}
)
Enum value maps for AnswerFeedback_CorrectnessLevel.
ConversationParticipant_Role_name, ConversationParticipant_Role_value
var (
ConversationParticipant_Role_name = map[int32]string{
0: "ROLE_UNSPECIFIED",
1: "HUMAN_AGENT",
2: "AUTOMATED_AGENT",
3: "END_USER",
4: "ANY_AGENT",
}
ConversationParticipant_Role_value = map[string]int32{
"ROLE_UNSPECIFIED": 0,
"HUMAN_AGENT": 1,
"AUTOMATED_AGENT": 2,
"END_USER": 3,
"ANY_AGENT": 4,
}
)
Enum value maps for ConversationParticipant_Role.
AnnotatorSelector_SummarizationConfig_SummarizationModel_name, AnnotatorSelector_SummarizationConfig_SummarizationModel_value
var (
AnnotatorSelector_SummarizationConfig_SummarizationModel_name = map[int32]string{
0: "SUMMARIZATION_MODEL_UNSPECIFIED",
1: "BASELINE_MODEL",
}
AnnotatorSelector_SummarizationConfig_SummarizationModel_value = map[string]int32{
"SUMMARIZATION_MODEL_UNSPECIFIED": 0,
"BASELINE_MODEL": 1,
}
)
Enum value maps for AnnotatorSelector_SummarizationConfig_SummarizationModel.
File_google_cloud_contactcenterinsights_v1_contact_center_insights_proto
var File_google_cloud_contactcenterinsights_v1_contact_center_insights_proto protoreflect.FileDescriptor
File_google_cloud_contactcenterinsights_v1_resources_proto
var File_google_cloud_contactcenterinsights_v1_resources_proto protoreflect.FileDescriptor
Functions
func RegisterContactCenterInsightsServer
func RegisterContactCenterInsightsServer(s *grpc.Server, srv ContactCenterInsightsServer)
Analysis
type Analysis struct {
// Immutable. The resource name of the analysis.
// Format:
// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time at which the analysis was requested.
RequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"`
// Output only. The time at which the analysis was created, which occurs when
// the long-running operation completes.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The result of the analysis, which is populated when the
// analysis finishes.
AnalysisResult *AnalysisResult `protobuf:"bytes,7,opt,name=analysis_result,json=analysisResult,proto3" json:"analysis_result,omitempty"`
// To select the annotators to run and the phrase matchers to use
// (if any). If not specified, all annotators will be run.
AnnotatorSelector *AnnotatorSelector `protobuf:"bytes,8,opt,name=annotator_selector,json=annotatorSelector,proto3" json:"annotator_selector,omitempty"`
// contains filtered or unexported fields
}
The analysis resource.
func (*Analysis) Descriptor
Deprecated: Use Analysis.ProtoReflect.Descriptor instead.
func (*Analysis) GetAnalysisResult
func (x *Analysis) GetAnalysisResult() *AnalysisResult
func (*Analysis) GetAnnotatorSelector
func (x *Analysis) GetAnnotatorSelector() *AnnotatorSelector
func (*Analysis) GetCreateTime
func (x *Analysis) GetCreateTime() *timestamppb.Timestamp
func (*Analysis) GetName
func (*Analysis) GetRequestTime
func (x *Analysis) GetRequestTime() *timestamppb.Timestamp
func (*Analysis) ProtoMessage
func (*Analysis) ProtoMessage()
func (*Analysis) ProtoReflect
func (x *Analysis) ProtoReflect() protoreflect.Message
func (*Analysis) Reset
func (x *Analysis) Reset()
func (*Analysis) String
AnalysisResult
type AnalysisResult struct {
// Metadata discovered during analysis.
//
// Types that are assignable to Metadata:
//
// *AnalysisResult_CallAnalysisMetadata_
Metadata isAnalysisResult_Metadata `protobuf_oneof:"metadata"`
// The time at which the analysis ended.
EndTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
The result of an analysis.
func (*AnalysisResult) Descriptor
func (*AnalysisResult) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisResult.ProtoReflect.Descriptor instead.
func (*AnalysisResult) GetCallAnalysisMetadata
func (x *AnalysisResult) GetCallAnalysisMetadata() *AnalysisResult_CallAnalysisMetadata
func (*AnalysisResult) GetEndTime
func (x *AnalysisResult) GetEndTime() *timestamppb.Timestamp
func (*AnalysisResult) GetMetadata
func (m *AnalysisResult) GetMetadata() isAnalysisResult_Metadata
func (*AnalysisResult) ProtoMessage
func (*AnalysisResult) ProtoMessage()
func (*AnalysisResult) ProtoReflect
func (x *AnalysisResult) ProtoReflect() protoreflect.Message
func (*AnalysisResult) Reset
func (x *AnalysisResult) Reset()
func (*AnalysisResult) String
func (x *AnalysisResult) String() string
AnalysisResult_CallAnalysisMetadata
type AnalysisResult_CallAnalysisMetadata struct {
Annotations []*CallAnnotation `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty"`
Entities map[string]*Entity "" /* 157 byte string literal not displayed */
Sentiments []*ConversationLevelSentiment `protobuf:"bytes,4,rep,name=sentiments,proto3" json:"sentiments,omitempty"`
Intents map[string]*Intent "" /* 155 byte string literal not displayed */
PhraseMatchers map[string]*PhraseMatchData "" /* 191 byte string literal not displayed */
IssueModelResult *IssueModelResult `protobuf:"bytes,8,opt,name=issue_model_result,json=issueModelResult,proto3" json:"issue_model_result,omitempty"`
}
Call-specific metadata created during analysis.
func (*AnalysisResult_CallAnalysisMetadata) Descriptor
func (*AnalysisResult_CallAnalysisMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisResult_CallAnalysisMetadata.ProtoReflect.Descriptor instead.
func (*AnalysisResult_CallAnalysisMetadata) GetAnnotations
func (x *AnalysisResult_CallAnalysisMetadata) GetAnnotations() []*CallAnnotation
func (*AnalysisResult_CallAnalysisMetadata) GetEntities
func (x *AnalysisResult_CallAnalysisMetadata) GetEntities() map[string]*Entity
func (*AnalysisResult_CallAnalysisMetadata) GetIntents
func (x *AnalysisResult_CallAnalysisMetadata) GetIntents() map[string]*Intent
func (*AnalysisResult_CallAnalysisMetadata) GetIssueModelResult
func (x *AnalysisResult_CallAnalysisMetadata) GetIssueModelResult() *IssueModelResult
func (*AnalysisResult_CallAnalysisMetadata) GetPhraseMatchers
func (x *AnalysisResult_CallAnalysisMetadata) GetPhraseMatchers() map[string]*PhraseMatchData
func (*AnalysisResult_CallAnalysisMetadata) GetSentiments
func (x *AnalysisResult_CallAnalysisMetadata) GetSentiments() []*ConversationLevelSentiment
func (*AnalysisResult_CallAnalysisMetadata) ProtoMessage
func (*AnalysisResult_CallAnalysisMetadata) ProtoMessage()
func (*AnalysisResult_CallAnalysisMetadata) ProtoReflect
func (x *AnalysisResult_CallAnalysisMetadata) ProtoReflect() protoreflect.Message
func (*AnalysisResult_CallAnalysisMetadata) Reset
func (x *AnalysisResult_CallAnalysisMetadata) Reset()
func (*AnalysisResult_CallAnalysisMetadata) String
func (x *AnalysisResult_CallAnalysisMetadata) String() string
AnalysisResult_CallAnalysisMetadata_
type AnalysisResult_CallAnalysisMetadata_ struct {
// Call-specific metadata created by the analysis.
CallAnalysisMetadata *AnalysisResult_CallAnalysisMetadata `protobuf:"bytes,2,opt,name=call_analysis_metadata,json=callAnalysisMetadata,proto3,oneof"`
}
AnnotationBoundary
type AnnotationBoundary struct {
// A detailed boundary, which describes a more specific point.
//
// Types that are assignable to DetailedBoundary:
//
// *AnnotationBoundary_WordIndex
DetailedBoundary isAnnotationBoundary_DetailedBoundary `protobuf_oneof:"detailed_boundary"`
// The index in the sequence of transcribed pieces of the conversation where
// the boundary is located. This index starts at zero.
TranscriptIndex int32 `protobuf:"varint,1,opt,name=transcript_index,json=transcriptIndex,proto3" json:"transcript_index,omitempty"`
// contains filtered or unexported fields
}
A point in a conversation that marks the start or the end of an annotation.
func (*AnnotationBoundary) Descriptor
func (*AnnotationBoundary) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationBoundary.ProtoReflect.Descriptor instead.
func (*AnnotationBoundary) GetDetailedBoundary
func (m *AnnotationBoundary) GetDetailedBoundary() isAnnotationBoundary_DetailedBoundary
func (*AnnotationBoundary) GetTranscriptIndex
func (x *AnnotationBoundary) GetTranscriptIndex() int32
func (*AnnotationBoundary) GetWordIndex
func (x *AnnotationBoundary) GetWordIndex() int32
func (*AnnotationBoundary) ProtoMessage
func (*AnnotationBoundary) ProtoMessage()
func (*AnnotationBoundary) ProtoReflect
func (x *AnnotationBoundary) ProtoReflect() protoreflect.Message
func (*AnnotationBoundary) Reset
func (x *AnnotationBoundary) Reset()
func (*AnnotationBoundary) String
func (x *AnnotationBoundary) String() string
AnnotationBoundary_WordIndex
type AnnotationBoundary_WordIndex struct {
// The word index of this boundary with respect to the first word in the
// transcript piece. This index starts at zero.
WordIndex int32 `protobuf:"varint,3,opt,name=word_index,json=wordIndex,proto3,oneof"`
}
AnnotatorSelector
type AnnotatorSelector struct {
RunInterruptionAnnotator bool "" /* 136 byte string literal not displayed */
RunSilenceAnnotator bool `protobuf:"varint,2,opt,name=run_silence_annotator,json=runSilenceAnnotator,proto3" json:"run_silence_annotator,omitempty"`
RunPhraseMatcherAnnotator bool "" /* 141 byte string literal not displayed */
PhraseMatchers []string `protobuf:"bytes,4,rep,name=phrase_matchers,json=phraseMatchers,proto3" json:"phrase_matchers,omitempty"`
RunSentimentAnnotator bool "" /* 127 byte string literal not displayed */
RunEntityAnnotator bool `protobuf:"varint,6,opt,name=run_entity_annotator,json=runEntityAnnotator,proto3" json:"run_entity_annotator,omitempty"`
RunIntentAnnotator bool `protobuf:"varint,7,opt,name=run_intent_annotator,json=runIntentAnnotator,proto3" json:"run_intent_annotator,omitempty"`
RunIssueModelAnnotator bool "" /* 132 byte string literal not displayed */
IssueModels []string `protobuf:"bytes,10,rep,name=issue_models,json=issueModels,proto3" json:"issue_models,omitempty"`
RunSummarizationAnnotator bool "" /* 139 byte string literal not displayed */
SummarizationConfig *AnnotatorSelector_SummarizationConfig `protobuf:"bytes,11,opt,name=summarization_config,json=summarizationConfig,proto3" json:"summarization_config,omitempty"`
}
Selector of all available annotators and phrase matchers to run.
func (*AnnotatorSelector) Descriptor
func (*AnnotatorSelector) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatorSelector.ProtoReflect.Descriptor instead.
func (*AnnotatorSelector) GetIssueModels
func (x *AnnotatorSelector) GetIssueModels() []string
func (*AnnotatorSelector) GetPhraseMatchers
func (x *AnnotatorSelector) GetPhraseMatchers() []string
func (*AnnotatorSelector) GetRunEntityAnnotator
func (x *AnnotatorSelector) GetRunEntityAnnotator() bool
func (*AnnotatorSelector) GetRunIntentAnnotator
func (x *AnnotatorSelector) GetRunIntentAnnotator() bool
func (*AnnotatorSelector) GetRunInterruptionAnnotator
func (x *AnnotatorSelector) GetRunInterruptionAnnotator() bool
func (*AnnotatorSelector) GetRunIssueModelAnnotator
func (x *AnnotatorSelector) GetRunIssueModelAnnotator() bool
func (*AnnotatorSelector) GetRunPhraseMatcherAnnotator
func (x *AnnotatorSelector) GetRunPhraseMatcherAnnotator() bool
func (*AnnotatorSelector) GetRunSentimentAnnotator
func (x *AnnotatorSelector) GetRunSentimentAnnotator() bool
func (*AnnotatorSelector) GetRunSilenceAnnotator
func (x *AnnotatorSelector) GetRunSilenceAnnotator() bool
func (*AnnotatorSelector) GetRunSummarizationAnnotator
func (x *AnnotatorSelector) GetRunSummarizationAnnotator() bool
func (*AnnotatorSelector) GetSummarizationConfig
func (x *AnnotatorSelector) GetSummarizationConfig() *AnnotatorSelector_SummarizationConfig
func (*AnnotatorSelector) ProtoMessage
func (*AnnotatorSelector) ProtoMessage()
func (*AnnotatorSelector) ProtoReflect
func (x *AnnotatorSelector) ProtoReflect() protoreflect.Message
func (*AnnotatorSelector) Reset
func (x *AnnotatorSelector) Reset()
func (*AnnotatorSelector) String
func (x *AnnotatorSelector) String() string
AnnotatorSelector_SummarizationConfig
type AnnotatorSelector_SummarizationConfig struct {
// Summarization must use either a preexisting conversation profile or one
// of the supported default models.
//
// Types that are assignable to ModelSource:
//
// *AnnotatorSelector_SummarizationConfig_ConversationProfile
// *AnnotatorSelector_SummarizationConfig_SummarizationModel_
ModelSource isAnnotatorSelector_SummarizationConfig_ModelSource `protobuf_oneof:"model_source"`
// contains filtered or unexported fields
}
Configuration for summarization.
func (*AnnotatorSelector_SummarizationConfig) Descriptor
func (*AnnotatorSelector_SummarizationConfig) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatorSelector_SummarizationConfig.ProtoReflect.Descriptor instead.
func (*AnnotatorSelector_SummarizationConfig) GetConversationProfile
func (x *AnnotatorSelector_SummarizationConfig) GetConversationProfile() string
func (*AnnotatorSelector_SummarizationConfig) GetModelSource
func (m *AnnotatorSelector_SummarizationConfig) GetModelSource() isAnnotatorSelector_SummarizationConfig_ModelSource
func (*AnnotatorSelector_SummarizationConfig) GetSummarizationModel
func (x *AnnotatorSelector_SummarizationConfig) GetSummarizationModel() AnnotatorSelector_SummarizationConfig_SummarizationModel
func (*AnnotatorSelector_SummarizationConfig) ProtoMessage
func (*AnnotatorSelector_SummarizationConfig) ProtoMessage()
func (*AnnotatorSelector_SummarizationConfig) ProtoReflect
func (x *AnnotatorSelector_SummarizationConfig) ProtoReflect() protoreflect.Message
func (*AnnotatorSelector_SummarizationConfig) Reset
func (x *AnnotatorSelector_SummarizationConfig) Reset()
func (*AnnotatorSelector_SummarizationConfig) String
func (x *AnnotatorSelector_SummarizationConfig) String() string
AnnotatorSelector_SummarizationConfig_ConversationProfile
type AnnotatorSelector_SummarizationConfig_ConversationProfile struct {
// Resource name of the Dialogflow conversation profile.
// Format:
// projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}
ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3,oneof"`
}
AnnotatorSelector_SummarizationConfig_SummarizationModel
type AnnotatorSelector_SummarizationConfig_SummarizationModel int32
Summarization model to use, if conversation_profile
is not used.
AnnotatorSelector_SummarizationConfig_SUMMARIZATION_MODEL_UNSPECIFIED, AnnotatorSelector_SummarizationConfig_BASELINE_MODEL
const (
// Unspecified summarization model.
AnnotatorSelector_SummarizationConfig_SUMMARIZATION_MODEL_UNSPECIFIED AnnotatorSelector_SummarizationConfig_SummarizationModel = 0
// The CCAI baseline model.
AnnotatorSelector_SummarizationConfig_BASELINE_MODEL AnnotatorSelector_SummarizationConfig_SummarizationModel = 1
)
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) Descriptor
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) Descriptor() protoreflect.EnumDescriptor
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) Enum
func (x AnnotatorSelector_SummarizationConfig_SummarizationModel) Enum() *AnnotatorSelector_SummarizationConfig_SummarizationModel
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) EnumDescriptor
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnnotatorSelector_SummarizationConfig_SummarizationModel.Descriptor instead.
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) Number
func (x AnnotatorSelector_SummarizationConfig_SummarizationModel) Number() protoreflect.EnumNumber
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) String
func (x AnnotatorSelector_SummarizationConfig_SummarizationModel) String() string
func (AnnotatorSelector_SummarizationConfig_SummarizationModel) Type
AnnotatorSelector_SummarizationConfig_SummarizationModel_
type AnnotatorSelector_SummarizationConfig_SummarizationModel_ struct {
SummarizationModel AnnotatorSelector_SummarizationConfig_SummarizationModel "" /* 185 byte string literal not displayed */
}
AnswerFeedback
type AnswerFeedback struct {
CorrectnessLevel AnswerFeedback_CorrectnessLevel "" /* 185 byte string literal not displayed */
Clicked bool `protobuf:"varint,2,opt,name=clicked,proto3" json:"clicked,omitempty"`
Displayed bool `protobuf:"varint,3,opt,name=displayed,proto3" json:"displayed,omitempty"`
}
The feedback that the customer has about a certain answer in the conversation.
func (*AnswerFeedback) Descriptor
func (*AnswerFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.
func (*AnswerFeedback) GetClicked
func (x *AnswerFeedback) GetClicked() bool
func (*AnswerFeedback) GetCorrectnessLevel
func (x *AnswerFeedback) GetCorrectnessLevel() AnswerFeedback_CorrectnessLevel
func (*AnswerFeedback) GetDisplayed
func (x *AnswerFeedback) GetDisplayed() bool
func (*AnswerFeedback) ProtoMessage
func (*AnswerFeedback) ProtoMessage()
func (*AnswerFeedback) ProtoReflect
func (x *AnswerFeedback) ProtoReflect() protoreflect.Message
func (*AnswerFeedback) Reset
func (x *AnswerFeedback) Reset()
func (*AnswerFeedback) String
func (x *AnswerFeedback) String() string
AnswerFeedback_CorrectnessLevel
type AnswerFeedback_CorrectnessLevel int32
The correctness level of an answer.
AnswerFeedback_CORRECTNESS_LEVEL_UNSPECIFIED, AnswerFeedback_NOT_CORRECT, AnswerFeedback_PARTIALLY_CORRECT, AnswerFeedback_FULLY_CORRECT
const (
// Correctness level unspecified.
AnswerFeedback_CORRECTNESS_LEVEL_UNSPECIFIED AnswerFeedback_CorrectnessLevel = 0
// Answer is totally wrong.
AnswerFeedback_NOT_CORRECT AnswerFeedback_CorrectnessLevel = 1
// Answer is partially correct.
AnswerFeedback_PARTIALLY_CORRECT AnswerFeedback_CorrectnessLevel = 2
// Answer is fully correct.
AnswerFeedback_FULLY_CORRECT AnswerFeedback_CorrectnessLevel = 3
)
func (AnswerFeedback_CorrectnessLevel) Descriptor
func (AnswerFeedback_CorrectnessLevel) Descriptor() protoreflect.EnumDescriptor
func (AnswerFeedback_CorrectnessLevel) Enum
func (x AnswerFeedback_CorrectnessLevel) Enum() *AnswerFeedback_CorrectnessLevel
func (AnswerFeedback_CorrectnessLevel) EnumDescriptor
func (AnswerFeedback_CorrectnessLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback_CorrectnessLevel.Descriptor instead.
func (AnswerFeedback_CorrectnessLevel) Number
func (x AnswerFeedback_CorrectnessLevel) Number() protoreflect.EnumNumber
func (AnswerFeedback_CorrectnessLevel) String
func (x AnswerFeedback_CorrectnessLevel) String() string
func (AnswerFeedback_CorrectnessLevel) Type
func (AnswerFeedback_CorrectnessLevel) Type() protoreflect.EnumType
ArticleSuggestionData
type ArticleSuggestionData struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
Metadata map[string]string "" /* 157 byte string literal not displayed */
QueryRecord string `protobuf:"bytes,5,opt,name=query_record,json=queryRecord,proto3" json:"query_record,omitempty"`
Source string `protobuf:"bytes,6,opt,name=source,proto3" json:"source,omitempty"`
}
Agent Assist Article Suggestion data.
func (*ArticleSuggestionData) Descriptor
func (*ArticleSuggestionData) Descriptor() ([]byte, []int)
Deprecated: Use ArticleSuggestionData.ProtoReflect.Descriptor instead.
func (*ArticleSuggestionData) GetConfidenceScore
func (x *ArticleSuggestionData) GetConfidenceScore() float32
func (*ArticleSuggestionData) GetMetadata
func (x *ArticleSuggestionData) GetMetadata() map[string]string
func (*ArticleSuggestionData) GetQueryRecord
func (x *ArticleSuggestionData) GetQueryRecord() string
func (*ArticleSuggestionData) GetSource
func (x *ArticleSuggestionData) GetSource() string
func (*ArticleSuggestionData) GetTitle
func (x *ArticleSuggestionData) GetTitle() string
func (*ArticleSuggestionData) GetUri
func (x *ArticleSuggestionData) GetUri() string
func (*ArticleSuggestionData) ProtoMessage
func (*ArticleSuggestionData) ProtoMessage()
func (*ArticleSuggestionData) ProtoReflect
func (x *ArticleSuggestionData) ProtoReflect() protoreflect.Message
func (*ArticleSuggestionData) Reset
func (x *ArticleSuggestionData) Reset()
func (*ArticleSuggestionData) String
func (x *ArticleSuggestionData) String() string
BulkAnalyzeConversationsMetadata
type BulkAnalyzeConversationsMetadata struct {
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Request *BulkAnalyzeConversationsRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
CompletedAnalysesCount int32 "" /* 130 byte string literal not displayed */
FailedAnalysesCount int32 `protobuf:"varint,5,opt,name=failed_analyses_count,json=failedAnalysesCount,proto3" json:"failed_analyses_count,omitempty"`
TotalRequestedAnalysesCount int32 "" /* 147 byte string literal not displayed */
PartialErrors []*status.Status `protobuf:"bytes,7,rep,name=partial_errors,json=partialErrors,proto3" json:"partial_errors,omitempty"`
}
The metadata for a bulk analyze conversations operation.
func (*BulkAnalyzeConversationsMetadata) Descriptor
func (*BulkAnalyzeConversationsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BulkAnalyzeConversationsMetadata.ProtoReflect.Descriptor instead.
func (*BulkAnalyzeConversationsMetadata) GetCompletedAnalysesCount
func (x *BulkAnalyzeConversationsMetadata) GetCompletedAnalysesCount() int32
func (*BulkAnalyzeConversationsMetadata) GetCreateTime
func (x *BulkAnalyzeConversationsMetadata) GetCreateTime() *timestamppb.Timestamp
func (*BulkAnalyzeConversationsMetadata) GetEndTime
func (x *BulkAnalyzeConversationsMetadata) GetEndTime() *timestamppb.Timestamp
func (*BulkAnalyzeConversationsMetadata) GetFailedAnalysesCount
func (x *BulkAnalyzeConversationsMetadata) GetFailedAnalysesCount() int32
func (*BulkAnalyzeConversationsMetadata) GetPartialErrors
func (x *BulkAnalyzeConversationsMetadata) GetPartialErrors() []*status.Status
func (*BulkAnalyzeConversationsMetadata) GetRequest
func (x *BulkAnalyzeConversationsMetadata) GetRequest() *BulkAnalyzeConversationsRequest
func (*BulkAnalyzeConversationsMetadata) GetTotalRequestedAnalysesCount
func (x *BulkAnalyzeConversationsMetadata) GetTotalRequestedAnalysesCount() int32
func (*BulkAnalyzeConversationsMetadata) ProtoMessage
func (*BulkAnalyzeConversationsMetadata) ProtoMessage()
func (*BulkAnalyzeConversationsMetadata) ProtoReflect
func (x *BulkAnalyzeConversationsMetadata) ProtoReflect() protoreflect.Message
func (*BulkAnalyzeConversationsMetadata) Reset
func (x *BulkAnalyzeConversationsMetadata) Reset()
func (*BulkAnalyzeConversationsMetadata) String
func (x *BulkAnalyzeConversationsMetadata) String() string
BulkAnalyzeConversationsRequest
type BulkAnalyzeConversationsRequest struct {
// Required. The parent resource to create analyses in.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Filter used to select the subset of conversations to analyze.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Required. Percentage of selected conversation to analyze, between
// [0, 100].
AnalysisPercentage float32 `protobuf:"fixed32,3,opt,name=analysis_percentage,json=analysisPercentage,proto3" json:"analysis_percentage,omitempty"`
// To select the annotators to run and the phrase matchers to use
// (if any). If not specified, all annotators will be run.
AnnotatorSelector *AnnotatorSelector `protobuf:"bytes,8,opt,name=annotator_selector,json=annotatorSelector,proto3" json:"annotator_selector,omitempty"`
// contains filtered or unexported fields
}
The request to analyze conversations in bulk.
func (*BulkAnalyzeConversationsRequest) Descriptor
func (*BulkAnalyzeConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkAnalyzeConversationsRequest.ProtoReflect.Descriptor instead.
func (*BulkAnalyzeConversationsRequest) GetAnalysisPercentage
func (x *BulkAnalyzeConversationsRequest) GetAnalysisPercentage() float32
func (*BulkAnalyzeConversationsRequest) GetAnnotatorSelector
func (x *BulkAnalyzeConversationsRequest) GetAnnotatorSelector() *AnnotatorSelector
func (*BulkAnalyzeConversationsRequest) GetFilter
func (x *BulkAnalyzeConversationsRequest) GetFilter() string
func (*BulkAnalyzeConversationsRequest) GetParent
func (x *BulkAnalyzeConversationsRequest) GetParent() string
func (*BulkAnalyzeConversationsRequest) ProtoMessage
func (*BulkAnalyzeConversationsRequest) ProtoMessage()
func (*BulkAnalyzeConversationsRequest) ProtoReflect
func (x *BulkAnalyzeConversationsRequest) ProtoReflect() protoreflect.Message
func (*BulkAnalyzeConversationsRequest) Reset
func (x *BulkAnalyzeConversationsRequest) Reset()
func (*BulkAnalyzeConversationsRequest) String
func (x *BulkAnalyzeConversationsRequest) String() string
BulkAnalyzeConversationsResponse
type BulkAnalyzeConversationsResponse struct {
SuccessfulAnalysisCount int32 "" /* 133 byte string literal not displayed */
FailedAnalysisCount int32 `protobuf:"varint,2,opt,name=failed_analysis_count,json=failedAnalysisCount,proto3" json:"failed_analysis_count,omitempty"`
}
The response for a bulk analyze conversations operation.
func (*BulkAnalyzeConversationsResponse) Descriptor
func (*BulkAnalyzeConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkAnalyzeConversationsResponse.ProtoReflect.Descriptor instead.
func (*BulkAnalyzeConversationsResponse) GetFailedAnalysisCount
func (x *BulkAnalyzeConversationsResponse) GetFailedAnalysisCount() int32
func (*BulkAnalyzeConversationsResponse) GetSuccessfulAnalysisCount
func (x *BulkAnalyzeConversationsResponse) GetSuccessfulAnalysisCount() int32
func (*BulkAnalyzeConversationsResponse) ProtoMessage
func (*BulkAnalyzeConversationsResponse) ProtoMessage()
func (*BulkAnalyzeConversationsResponse) ProtoReflect
func (x *BulkAnalyzeConversationsResponse) ProtoReflect() protoreflect.Message
func (*BulkAnalyzeConversationsResponse) Reset
func (x *BulkAnalyzeConversationsResponse) Reset()
func (*BulkAnalyzeConversationsResponse) String
func (x *BulkAnalyzeConversationsResponse) String() string
BulkDeleteConversationsMetadata
type BulkDeleteConversationsMetadata struct {
// The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// The original request for bulk delete.
Request *BulkDeleteConversationsRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// Partial errors during bulk delete conversations operation that might cause
// the operation output to be incomplete.
PartialErrors []*status.Status `protobuf:"bytes,4,rep,name=partial_errors,json=partialErrors,proto3" json:"partial_errors,omitempty"`
// contains filtered or unexported fields
}
The metadata for a bulk delete conversations operation.
func (*BulkDeleteConversationsMetadata) Descriptor
func (*BulkDeleteConversationsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteConversationsMetadata.ProtoReflect.Descriptor instead.
func (*BulkDeleteConversationsMetadata) GetCreateTime
func (x *BulkDeleteConversationsMetadata) GetCreateTime() *timestamppb.Timestamp
func (*BulkDeleteConversationsMetadata) GetEndTime
func (x *BulkDeleteConversationsMetadata) GetEndTime() *timestamppb.Timestamp
func (*BulkDeleteConversationsMetadata) GetPartialErrors
func (x *BulkDeleteConversationsMetadata) GetPartialErrors() []*status.Status
func (*BulkDeleteConversationsMetadata) GetRequest
func (x *BulkDeleteConversationsMetadata) GetRequest() *BulkDeleteConversationsRequest
func (*BulkDeleteConversationsMetadata) ProtoMessage
func (*BulkDeleteConversationsMetadata) ProtoMessage()
func (*BulkDeleteConversationsMetadata) ProtoReflect
func (x *BulkDeleteConversationsMetadata) ProtoReflect() protoreflect.Message
func (*BulkDeleteConversationsMetadata) Reset
func (x *BulkDeleteConversationsMetadata) Reset()
func (*BulkDeleteConversationsMetadata) String
func (x *BulkDeleteConversationsMetadata) String() string
BulkDeleteConversationsRequest
type BulkDeleteConversationsRequest struct {
// Required. The parent resource to delete conversations from.
// Format:
// projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Filter used to select the subset of conversations to delete.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Maximum number of conversations to delete.
MaxDeleteCount int32 `protobuf:"varint,3,opt,name=max_delete_count,json=maxDeleteCount,proto3" json:"max_delete_count,omitempty"`
// If set to true, all of this conversation's analyses will also be deleted.
// Otherwise, the request will only succeed if the conversation has no
// analyses.
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
The request to delete conversations in bulk.
func (*BulkDeleteConversationsRequest) Descriptor
func (*BulkDeleteConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteConversationsRequest.ProtoReflect.Descriptor instead.
func (*BulkDeleteConversationsRequest) GetFilter
func (x *BulkDeleteConversationsRequest) GetFilter() string
func (*BulkDeleteConversationsRequest) GetForce
func (x *BulkDeleteConversationsRequest) GetForce() bool
func (*BulkDeleteConversationsRequest) GetMaxDeleteCount
func (x *BulkDeleteConversationsRequest) GetMaxDeleteCount() int32
func (*BulkDeleteConversationsRequest) GetParent
func (x *BulkDeleteConversationsRequest) GetParent() string
func (*BulkDeleteConversationsRequest) ProtoMessage
func (*BulkDeleteConversationsRequest) ProtoMessage()
func (*BulkDeleteConversationsRequest) ProtoReflect
func (x *BulkDeleteConversationsRequest) ProtoReflect() protoreflect.Message
func (*BulkDeleteConversationsRequest) Reset
func (x *BulkDeleteConversationsRequest) Reset()
func (*BulkDeleteConversationsRequest) String
func (x *BulkDeleteConversationsRequest) String() string
BulkDeleteConversationsResponse
type BulkDeleteConversationsResponse struct {
// contains filtered or unexported fields
}
The response for a bulk delete conversations operation.
func (*BulkDeleteConversationsResponse) Descriptor
func (*BulkDeleteConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteConversationsResponse.ProtoReflect.Descriptor instead.
func (*BulkDeleteConversationsResponse) ProtoMessage
func (*BulkDeleteConversationsResponse) ProtoMessage()
func (*BulkDeleteConversationsResponse) ProtoReflect
func (x *BulkDeleteConversationsResponse) ProtoReflect() protoreflect.Message
func (*BulkDeleteConversationsResponse) Reset
func (x *BulkDeleteConversationsResponse) Reset()
func (*BulkDeleteConversationsResponse) String
func (x *BulkDeleteConversationsResponse) String() string
CalculateIssueModelStatsRequest
type CalculateIssueModelStatsRequest struct {
// Required. The resource name of the issue model to query against.
IssueModel string `protobuf:"bytes,1,opt,name=issue_model,json=issueModel,proto3" json:"issue_model,omitempty"`
// contains filtered or unexported fields
}
Request to get statistics of an issue model.
func (*CalculateIssueModelStatsRequest) Descriptor
func (*CalculateIssueModelStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalculateIssueModelStatsRequest.ProtoReflect.Descriptor instead.
func (*CalculateIssueModelStatsRequest) GetIssueModel
func (x *CalculateIssueModelStatsRequest) GetIssueModel() string
func (*CalculateIssueModelStatsRequest) ProtoMessage
func (*CalculateIssueModelStatsRequest) ProtoMessage()
func (*CalculateIssueModelStatsRequest) ProtoReflect
func (x *CalculateIssueModelStatsRequest) ProtoReflect() protoreflect.Message
func (*CalculateIssueModelStatsRequest) Reset
func (x *CalculateIssueModelStatsRequest) Reset()
func (*CalculateIssueModelStatsRequest) String
func (x *CalculateIssueModelStatsRequest) String() string
CalculateIssueModelStatsResponse
type CalculateIssueModelStatsResponse struct {
// The latest label statistics for the queried issue model. Includes results
// on both training data and data labeled after deployment.
CurrentStats *IssueModelLabelStats `protobuf:"bytes,4,opt,name=current_stats,json=currentStats,proto3" json:"current_stats,omitempty"`
// contains filtered or unexported fields
}
Response of querying an issue model's statistics.
func (*CalculateIssueModelStatsResponse) Descriptor
func (*CalculateIssueModelStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CalculateIssueModelStatsResponse.ProtoReflect.Descriptor instead.
func (*CalculateIssueModelStatsResponse) GetCurrentStats
func (x *CalculateIssueModelStatsResponse) GetCurrentStats() *IssueModelLabelStats
func (*CalculateIssueModelStatsResponse) ProtoMessage
func (*CalculateIssueModelStatsResponse) ProtoMessage()
func (*CalculateIssueModelStatsResponse) ProtoReflect
func (x *CalculateIssueModelStatsResponse) ProtoReflect() protoreflect.Message
func (*CalculateIssueModelStatsResponse) Reset
func (x *CalculateIssueModelStatsResponse) Reset()
func (*CalculateIssueModelStatsResponse) String
func (x *CalculateIssueModelStatsResponse) String() string
CalculateStatsRequest
type CalculateStatsRequest struct {
// Required. The location of the conversations.
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
// A filter to reduce results to a specific subset. This field is useful for
// getting statistics about conversations with specific properties.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
The request for calculating conversation statistics.
func (*CalculateStatsRequest) Descriptor
func (*CalculateStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CalculateStatsRequest.ProtoReflect.Descriptor instead.
func (*CalculateStatsRequest) GetFilter
func (x *CalculateStatsRequest) GetFilter() string
func (*CalculateStatsRequest) GetLocation
func (x *CalculateStatsRequest) GetLocation() string
func (*CalculateStatsRequest) ProtoMessage
func (*CalculateStatsRequest) ProtoMessage()
func (*CalculateStatsRequest) ProtoReflect
func (x *CalculateStatsRequest) ProtoReflect() protoreflect.Message
func (*CalculateStatsRequest) Reset
func (x *CalculateStatsRequest) Reset()
func (*CalculateStatsRequest) String
func (x *CalculateStatsRequest) String() string
CalculateStatsResponse
type CalculateStatsResponse struct {
AverageDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=average_duration,json=averageDuration,proto3" json:"average_duration,omitempty"`
AverageTurnCount int32 `protobuf:"varint,2,opt,name=average_turn_count,json=averageTurnCount,proto3" json:"average_turn_count,omitempty"`
ConversationCount int32 `protobuf:"varint,3,opt,name=conversation_count,json=conversationCount,proto3" json:"conversation_count,omitempty"`
SmartHighlighterMatches map[string]int32 "" /* 221 byte string literal not displayed */
CustomHighlighterMatches map[string]int32 "" /* 224 byte string literal not displayed */
IssueMatches map[string]int32 "" /* 186 byte string literal not displayed */
IssueMatchesStats map[string]*IssueModelLabelStats_IssueStats "" /* 202 byte string literal not displayed */
ConversationCountTimeSeries *CalculateStatsResponse_TimeSeries "" /* 146 byte string literal not displayed */
}
The response for calculating conversation statistics.
func (*CalculateStatsResponse) Descriptor
func (*CalculateStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CalculateStatsResponse.ProtoReflect.Descriptor instead.
func (*CalculateStatsResponse) GetAverageDuration
func (x *CalculateStatsResponse) GetAverageDuration() *durationpb.Duration
func (*CalculateStatsResponse) GetAverageTurnCount
func (x *CalculateStatsResponse) GetAverageTurnCount() int32
func (*CalculateStatsResponse) GetConversationCount
func (x *CalculateStatsResponse) GetConversationCount() int32
func (*CalculateStatsResponse) GetConversationCountTimeSeries
func (x *CalculateStatsResponse) GetConversationCountTimeSeries() *CalculateStatsResponse_TimeSeries
func (*CalculateStatsResponse) GetCustomHighlighterMatches
func (x *CalculateStatsResponse) GetCustomHighlighterMatches() map[string]int32
func (*CalculateStatsResponse) GetIssueMatches
func (x *CalculateStatsResponse) GetIssueMatches() map[string]int32
Deprecated: Marked as deprecated in google/cloud/contactcenterinsights/v1/contact_center_insights.proto.
func (*CalculateStatsResponse) GetIssueMatchesStats
func (x *CalculateStatsResponse) GetIssueMatchesStats() map[string]*IssueModelLabelStats_IssueStats
func (*CalculateStatsResponse) GetSmartHighlighterMatches
func (x *CalculateStatsResponse) GetSmartHighlighterMatches() map[string]int32
func (*CalculateStatsResponse) ProtoMessage
func (*CalculateStatsResponse) ProtoMessage()
func (*CalculateStatsResponse) ProtoReflect
func (x *CalculateStatsResponse) ProtoReflect() protoreflect.Message
func (*CalculateStatsResponse) Reset
func (x *CalculateStatsResponse) Reset()
func (*CalculateStatsResponse) String
func (x *CalculateStatsResponse) String() string
CalculateStatsResponse_TimeSeries
type CalculateStatsResponse_TimeSeries struct {
// The duration of each interval.
IntervalDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=interval_duration,json=intervalDuration,proto3" json:"interval_duration,omitempty"`
// An ordered list of intervals from earliest to latest, where each interval
// represents the number of conversations that transpired during the time
// window.
Points []*CalculateStatsResponse_TimeSeries_Interval `protobuf:"bytes,2,rep,name=points,proto3" json:"points,omitempty"`
// contains filtered or unexported fields
}
A time series representing conversations over time.
func (*CalculateStatsResponse_TimeSeries) Descriptor
func (*CalculateStatsResponse_TimeSeries) Descriptor() ([]byte, []int)
Deprecated: Use CalculateStatsResponse_TimeSeries.ProtoReflect.Descriptor instead.
func (*CalculateStatsResponse_TimeSeries) GetIntervalDuration
func (x *CalculateStatsResponse_TimeSeries) GetIntervalDuration() *durationpb.Duration
func (*CalculateStatsResponse_TimeSeries) GetPoints
func (x *CalculateStatsResponse_TimeSeries) GetPoints() []*CalculateStatsResponse_TimeSeries_Interval
func (*CalculateStatsResponse_TimeSeries) ProtoMessage
func (*CalculateStatsResponse_TimeSeries) ProtoMessage()
func (*CalculateStatsResponse_TimeSeries) ProtoReflect
func (x *CalculateStatsResponse_TimeSeries) ProtoReflect() protoreflect.Message
func (*CalculateStatsResponse_TimeSeries) Reset
func (x *CalculateStatsResponse_TimeSeries) Reset()
func (*CalculateStatsResponse_TimeSeries) String
func (x *CalculateStatsResponse_TimeSeries) String() string
CalculateStatsResponse_TimeSeries_Interval
type CalculateStatsResponse_TimeSeries_Interval struct {
// The start time of this interval.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The number of conversations created in this interval.
ConversationCount int32 `protobuf:"varint,2,opt,name=conversation_count,json=conversationCount,proto3" json:"conversation_count,omitempty"`
// contains filtered or unexported fields
}
A single interval in a time series.
func (*CalculateStatsResponse_TimeSeries_Interval) Descriptor
func (*CalculateStatsResponse_TimeSeries_Interval) Descriptor() ([]byte, []int)
Deprecated: Use CalculateStatsResponse_TimeSeries_Interval.ProtoReflect.Descriptor instead.
func (*CalculateStatsResponse_TimeSeries_Interval) GetConversationCount
func (x *CalculateStatsResponse_TimeSeries_Interval) GetConversationCount() int32
func (*CalculateStatsResponse_TimeSeries_Interval) GetStartTime
func (x *CalculateStatsResponse_TimeSeries_Interval) GetStartTime() *timestamppb.Timestamp
func (*CalculateStatsResponse_TimeSeries_Interval) ProtoMessage
func (*CalculateStatsResponse_TimeSeries_Interval) ProtoMessage()
func (*CalculateStatsResponse_TimeSeries_Interval) ProtoReflect
func (x *CalculateStatsResponse_TimeSeries_Interval) ProtoReflect() protoreflect.Message
func (*CalculateStatsResponse_TimeSeries_Interval) Reset
func (x *CalculateStatsResponse_TimeSeries_Interval) Reset()
func (*CalculateStatsResponse_TimeSeries_Interval) String
func (x *CalculateStatsResponse_TimeSeries_Interval) String() string
CallAnnotation
type CallAnnotation struct {
Data isCallAnnotation_Data `protobuf_oneof:"data"`
ChannelTag int32 `protobuf:"varint,1,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
AnnotationStartBoundary *AnnotationBoundary "" /* 132 byte string literal not displayed */
AnnotationEndBoundary *AnnotationBoundary `protobuf:"bytes,5,opt,name=annotation_end_boundary,json=annotationEndBoundary,proto3" json:"annotation_end_boundary,omitempty"`
}
A piece of metadata that applies to a window of a call.
func (*CallAnnotation) Descriptor
func (*CallAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use CallAnnotation.ProtoReflect.Descriptor instead.
func (*CallAnnotation) GetAnnotationEndBoundary
func (x *CallAnnotation) GetAnnotationEndBoundary() *AnnotationBoundary
func (*CallAnnotation) GetAnnotationStartBoundary
func (x *CallAnnotation) GetAnnotationStartBoundary() *AnnotationBoundary
func (*CallAnnotation) GetChannelTag
func (x *CallAnnotation) GetChannelTag() int32
func (*CallAnnotation) GetData
func (m *CallAnnotation) GetData() isCallAnnotation_Data
func (*CallAnnotation) GetEntityMentionData
func (x *CallAnnotation) GetEntityMentionData() *EntityMentionData
func (*CallAnnotation) GetHoldData
func (x *CallAnnotation) GetHoldData() *HoldData
func (*CallAnnotation) GetIntentMatchData
func (x *CallAnnotation) GetIntentMatchData() *IntentMatchData
func (*CallAnnotation) GetInterruptionData
func (x *CallAnnotation) GetInterruptionData() *InterruptionData
func (*CallAnnotation) GetIssueMatchData
func (x *CallAnnotation) GetIssueMatchData() *IssueMatchData
func (*CallAnnotation) GetPhraseMatchData
func (x *CallAnnotation) GetPhraseMatchData() *PhraseMatchData
func (*CallAnnotation) GetSentimentData
func (x *CallAnnotation) GetSentimentData() *SentimentData
func (*CallAnnotation) GetSilenceData
func (x *CallAnnotation) GetSilenceData() *SilenceData
func (*CallAnnotation) ProtoMessage
func (*CallAnnotation) ProtoMessage()
func (*CallAnnotation) ProtoReflect
func (x *CallAnnotation) ProtoReflect() protoreflect.Message
func (*CallAnnotation) Reset
func (x *CallAnnotation) Reset()
func (*CallAnnotation) String
func (x *CallAnnotation) String() string
CallAnnotation_EntityMentionData
type CallAnnotation_EntityMentionData struct {
// Data specifying an entity mention.
EntityMentionData *EntityMentionData `protobuf:"bytes,15,opt,name=entity_mention_data,json=entityMentionData,proto3,oneof"`
}
CallAnnotation_HoldData
type CallAnnotation_HoldData struct {
// Data specifying a hold.
HoldData *HoldData `protobuf:"bytes,13,opt,name=hold_data,json=holdData,proto3,oneof"`
}
CallAnnotation_IntentMatchData
type CallAnnotation_IntentMatchData struct {
// Data specifying an intent match.
IntentMatchData *IntentMatchData `protobuf:"bytes,16,opt,name=intent_match_data,json=intentMatchData,proto3,oneof"`
}
CallAnnotation_InterruptionData
type CallAnnotation_InterruptionData struct {
// Data specifying an interruption.
InterruptionData *InterruptionData `protobuf:"bytes,10,opt,name=interruption_data,json=interruptionData,proto3,oneof"`
}
CallAnnotation_IssueMatchData
type CallAnnotation_IssueMatchData struct {
// Data specifying an issue match.
IssueMatchData *IssueMatchData `protobuf:"bytes,18,opt,name=issue_match_data,json=issueMatchData,proto3,oneof"`
}
CallAnnotation_PhraseMatchData
type CallAnnotation_PhraseMatchData struct {
// Data specifying a phrase match.
PhraseMatchData *PhraseMatchData `protobuf:"bytes,17,opt,name=phrase_match_data,json=phraseMatchData,proto3,oneof"`
}
CallAnnotation_SentimentData
type CallAnnotation_SentimentData struct {
// Data specifying sentiment.
SentimentData *SentimentData `protobuf:"bytes,11,opt,name=sentiment_data,json=sentimentData,proto3,oneof"`
}
CallAnnotation_SilenceData
type CallAnnotation_SilenceData struct {
// Data specifying silence.
SilenceData *SilenceData `protobuf:"bytes,12,opt,name=silence_data,json=silenceData,proto3,oneof"`
}
ContactCenterInsightsClient
type ContactCenterInsightsClient interface {
// Creates a conversation.
CreateConversation(ctx context.Context, in *CreateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Create a longrunning conversation upload operation. This method differs
// from CreateConversation by allowing audio transcription and optional DLP
// redaction.
UploadConversation(ctx context.Context, in *UploadConversationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a conversation.
UpdateConversation(ctx context.Context, in *UpdateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Gets a conversation.
GetConversation(ctx context.Context, in *GetConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Lists conversations.
ListConversations(ctx context.Context, in *ListConversationsRequest, opts ...grpc.CallOption) (*ListConversationsResponse, error)
// Deletes a conversation.
DeleteConversation(ctx context.Context, in *DeleteConversationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Creates an analysis. The long running operation is done when the analysis
// has completed.
CreateAnalysis(ctx context.Context, in *CreateAnalysisRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets an analysis.
GetAnalysis(ctx context.Context, in *GetAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error)
// Lists analyses.
ListAnalyses(ctx context.Context, in *ListAnalysesRequest, opts ...grpc.CallOption) (*ListAnalysesResponse, error)
// Deletes an analysis.
DeleteAnalysis(ctx context.Context, in *DeleteAnalysisRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Analyzes multiple conversations in a single request.
BulkAnalyzeConversations(ctx context.Context, in *BulkAnalyzeConversationsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes multiple conversations in a single request.
BulkDeleteConversations(ctx context.Context, in *BulkDeleteConversationsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports conversations and processes them according to the user's
// configuration.
IngestConversations(ctx context.Context, in *IngestConversationsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Export insights data to a destination defined in the request body.
ExportInsightsData(ctx context.Context, in *ExportInsightsDataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates an issue model.
CreateIssueModel(ctx context.Context, in *CreateIssueModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an issue model.
UpdateIssueModel(ctx context.Context, in *UpdateIssueModelRequest, opts ...grpc.CallOption) (*IssueModel, error)
// Gets an issue model.
GetIssueModel(ctx context.Context, in *GetIssueModelRequest, opts ...grpc.CallOption) (*IssueModel, error)
// Lists issue models.
ListIssueModels(ctx context.Context, in *ListIssueModelsRequest, opts ...grpc.CallOption) (*ListIssueModelsResponse, error)
// Deletes an issue model.
DeleteIssueModel(ctx context.Context, in *DeleteIssueModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deploys an issue model. Returns an error if a model is already deployed.
// An issue model can only be used in analysis after it has been deployed.
DeployIssueModel(ctx context.Context, in *DeployIssueModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Undeploys an issue model.
// An issue model can not be used in analysis after it has been undeployed.
UndeployIssueModel(ctx context.Context, in *UndeployIssueModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets an issue.
GetIssue(ctx context.Context, in *GetIssueRequest, opts ...grpc.CallOption) (*Issue, error)
// Lists issues.
ListIssues(ctx context.Context, in *ListIssuesRequest, opts ...grpc.CallOption) (*ListIssuesResponse, error)
// Updates an issue.
UpdateIssue(ctx context.Context, in *UpdateIssueRequest, opts ...grpc.CallOption) (*Issue, error)
// Deletes an issue.
DeleteIssue(ctx context.Context, in *DeleteIssueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Gets an issue model's statistics.
CalculateIssueModelStats(ctx context.Context, in *CalculateIssueModelStatsRequest, opts ...grpc.CallOption) (*CalculateIssueModelStatsResponse, error)
// Creates a phrase matcher.
CreatePhraseMatcher(ctx context.Context, in *CreatePhraseMatcherRequest, opts ...grpc.CallOption) (*PhraseMatcher, error)
// Gets a phrase matcher.
GetPhraseMatcher(ctx context.Context, in *GetPhraseMatcherRequest, opts ...grpc.CallOption) (*PhraseMatcher, error)
// Lists phrase matchers.
ListPhraseMatchers(ctx context.Context, in *ListPhraseMatchersRequest, opts ...grpc.CallOption) (*ListPhraseMatchersResponse, error)
// Deletes a phrase matcher.
DeletePhraseMatcher(ctx context.Context, in *DeletePhraseMatcherRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Updates a phrase matcher.
UpdatePhraseMatcher(ctx context.Context, in *UpdatePhraseMatcherRequest, opts ...grpc.CallOption) (*PhraseMatcher, error)
// Gets conversation statistics.
CalculateStats(ctx context.Context, in *CalculateStatsRequest, opts ...grpc.CallOption) (*CalculateStatsResponse, error)
// Gets project-level settings.
GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
// Updates project-level settings.
UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*Settings, error)
// Creates a view.
CreateView(ctx context.Context, in *CreateViewRequest, opts ...grpc.CallOption) (*View, error)
// Gets a view.
GetView(ctx context.Context, in *GetViewRequest, opts ...grpc.CallOption) (*View, error)
// Lists views.
ListViews(ctx context.Context, in *ListViewsRequest, opts ...grpc.CallOption) (*ListViewsResponse, error)
// Updates a view.
UpdateView(ctx context.Context, in *UpdateViewRequest, opts ...grpc.CallOption) (*View, error)
// Deletes a view.
DeleteView(ctx context.Context, in *DeleteViewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
ContactCenterInsightsClient is the client API for ContactCenterInsights service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewContactCenterInsightsClient
func NewContactCenterInsightsClient(cc grpc.ClientConnInterface) ContactCenterInsightsClient
ContactCenterInsightsServer
type ContactCenterInsightsServer interface {
// Creates a conversation.
CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
// Create a longrunning conversation upload operation. This method differs
// from CreateConversation by allowing audio transcription and optional DLP
// redaction.
UploadConversation(context.Context, *UploadConversationRequest) (*longrunningpb.Operation, error)
// Updates a conversation.
UpdateConversation(context.Context, *UpdateConversationRequest) (*Conversation, error)
// Gets a conversation.
GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
// Lists conversations.
ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
// Deletes a conversation.
DeleteConversation(context.Context, *DeleteConversationRequest) (*emptypb.Empty, error)
// Creates an analysis. The long running operation is done when the analysis
// has completed.
CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunningpb.Operation, error)
// Gets an analysis.
GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
// Lists analyses.
ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
// Deletes an analysis.
DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*emptypb.Empty, error)
// Analyzes multiple conversations in a single request.
BulkAnalyzeConversations(context.Context, *BulkAnalyzeConversationsRequest) (*longrunningpb.Operation, error)
// Deletes multiple conversations in a single request.
BulkDeleteConversations(context.Context, *BulkDeleteConversationsRequest) (*longrunningpb.Operation, error)
// Imports conversations and processes them according to the user's
// configuration.
IngestConversations(context.Context, *IngestConversationsRequest) (*longrunningpb.Operation, error)
// Export insights data to a destination defined in the request body.
ExportInsightsData(context.Context, *ExportInsightsDataRequest) (*longrunningpb.Operation, error)
// Creates an issue model.
CreateIssueModel(context.Context, *CreateIssueModelRequest) (*longrunningpb.Operation, error)
// Updates an issue model.
UpdateIssueModel(context.Context, *UpdateIssueModelRequest) (*IssueModel, error)
// Gets an issue model.
GetIssueModel(context.Context, *GetIssueModelRequest) (*IssueModel, error)
// Lists issue models.
ListIssueModels(context.Context, *ListIssueModelsRequest) (*ListIssueModelsResponse, error)
// Deletes an issue model.
DeleteIssueModel(context.Context, *DeleteIssueModelRequest) (*longrunningpb.Operation, error)
// Deploys an issue model. Returns an error if a model is already deployed.
// An issue model can only be used in analysis after it has been deployed.
DeployIssueModel(context.Context, *DeployIssueModelRequest) (*longrunningpb.Operation, error)
// Undeploys an issue model.
// An issue model can not be used in analysis after it has been undeployed.
UndeployIssueModel(context.Context, *UndeployIssueModelRequest) (*longrunningpb.Operation, error)
// Gets an issue.
GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
// Lists issues.
ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)
// Updates an issue.
UpdateIssue(context.Context, *UpdateIssueRequest) (*Issue, error)
// Deletes an issue.
DeleteIssue(context.Context, *DeleteIssueRequest) (*emptypb.Empty, error)
// Gets an issue model's statistics.
CalculateIssueModelStats(context.Context, *CalculateIssueModelStatsRequest) (*CalculateIssueModelStatsResponse, error)
// Creates a phrase matcher.
CreatePhraseMatcher(context.Context, *CreatePhraseMatcherRequest) (*PhraseMatcher, error)
// Gets a phrase matcher.
GetPhraseMatcher(context.Context, *GetPhraseMatcherRequest) (*PhraseMatcher, error)
// Lists phrase matchers.
ListPhraseMatchers(context.Context, *ListPhraseMatchersRequest) (*ListPhraseMatchersResponse, error)
// Deletes a phrase matcher.
DeletePhraseMatcher(context.Context, *DeletePhraseMatcherRequest) (*emptypb.Empty, error)
// Updates a phrase matcher.
UpdatePhraseMatcher(context.Context, *UpdatePhraseMatcherRequest) (*PhraseMatcher, error)
// Gets conversation statistics.
CalculateStats(context.Context, *CalculateStatsRequest) (*CalculateStatsResponse, error)
// Gets project-level settings.
GetSettings(context.Context, *GetSettingsRequest) (*Settings, error)
// Updates project-level settings.
UpdateSettings(context.Context, *UpdateSettingsRequest) (*Settings, error)
// Creates a view.
CreateView(context.Context, *CreateViewRequest) (*View, error)
// Gets a view.
GetView(context.Context, *GetViewRequest) (*View, error)
// Lists views.
ListViews(context.Context, *ListViewsRequest) (*ListViewsResponse, error)
// Updates a view.
UpdateView(context.Context, *UpdateViewRequest) (*View, error)
// Deletes a view.
DeleteView(context.Context, *DeleteViewRequest) (*emptypb.Empty, error)
}
ContactCenterInsightsServer is the server API for ContactCenterInsights service.
Conversation
type Conversation struct {
Metadata isConversation_Metadata `protobuf_oneof:"metadata"`
Expiration isConversation_Expiration `protobuf_oneof:"expiration"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DataSource *ConversationDataSource `protobuf:"bytes,2,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
LanguageCode string `protobuf:"bytes,14,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
AgentId string `protobuf:"bytes,5,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
QualityMetadata *Conversation_QualityMetadata `protobuf:"bytes,24,opt,name=quality_metadata,json=qualityMetadata,proto3" json:"quality_metadata,omitempty"`
Transcript *Conversation_Transcript `protobuf:"bytes,8,opt,name=transcript,proto3" json:"transcript,omitempty"`
Medium Conversation_Medium "" /* 129 byte string literal not displayed */
Duration *durationpb.Duration `protobuf:"bytes,10,opt,name=duration,proto3" json:"duration,omitempty"`
TurnCount int32 `protobuf:"varint,11,opt,name=turn_count,json=turnCount,proto3" json:"turn_count,omitempty"`
LatestAnalysis *Analysis `protobuf:"bytes,12,opt,name=latest_analysis,json=latestAnalysis,proto3" json:"latest_analysis,omitempty"`
LatestSummary *ConversationSummarizationSuggestionData `protobuf:"bytes,20,opt,name=latest_summary,json=latestSummary,proto3" json:"latest_summary,omitempty"`
RuntimeAnnotations []*RuntimeAnnotation `protobuf:"bytes,13,rep,name=runtime_annotations,json=runtimeAnnotations,proto3" json:"runtime_annotations,omitempty"`
DialogflowIntents map[string]*DialogflowIntent "" /* 201 byte string literal not displayed */
ObfuscatedUserId string `protobuf:"bytes,21,opt,name=obfuscated_user_id,json=obfuscatedUserId,proto3" json:"obfuscated_user_id,omitempty"`
}
The conversation resource.
func (*Conversation) Descriptor
func (*Conversation) Descriptor() ([]byte, []int)
Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) GetAgentId
func (x *Conversation) GetAgentId() string
func (*Conversation) GetCallMetadata
func (x *Conversation) GetCallMetadata() *Conversation_CallMetadata
func (*Conversation) GetCreateTime
func (x *Conversation) GetCreateTime() *timestamppb.Timestamp
func (*Conversation) GetDataSource
func (x *Conversation) GetDataSource() *ConversationDataSource
func (*Conversation) GetDialogflowIntents
func (x *Conversation) GetDialogflowIntents() map[string]*DialogflowIntent
func (*Conversation) GetDuration
func (x *Conversation) GetDuration() *durationpb.Duration
func (*Conversation) GetExpiration
func (m *Conversation) GetExpiration() isConversation_Expiration
func (*Conversation) GetExpireTime
func (x *Conversation) GetExpireTime() *timestamppb.Timestamp
func (*Conversation) GetLabels
func (x *Conversation) GetLabels() map[string]string
func (*Conversation) GetLanguageCode
func (x *Conversation) GetLanguageCode() string
func (*Conversation) GetLatestAnalysis
func (x *Conversation) GetLatestAnalysis() *Analysis
func (*Conversation) GetLatestSummary
func (x *Conversation) GetLatestSummary() *ConversationSummarizationSuggestionData
func (*Conversation) GetMedium
func (x *Conversation) GetMedium() Conversation_Medium
func (*Conversation) GetMetadata
func (m *Conversation) GetMetadata() isConversation_Metadata
func (*Conversation) GetName
func (x *Conversation) GetName() string
func (*Conversation) GetObfuscatedUserId
func (x *Conversation) GetObfuscatedUserId() string
func (*Conversation) GetQualityMetadata
func (x *Conversation) GetQualityMetadata() *Conversation_QualityMetadata
func (*Conversation) GetRuntimeAnnotations
func (x *Conversation) GetRuntimeAnnotations() []*RuntimeAnnotation
func (*Conversation) GetStartTime
func (x *Conversation) GetStartTime() *timestamppb.Timestamp
func (*Conversation) GetTranscript
func (x *Conversation) GetTranscript() *Conversation_Transcript
func (*Conversation) GetTtl
func (x *Conversation) GetTtl() *durationpb.Duration
func (*Conversation) GetTurnCount
func (x *Conversation) GetTurnCount() int32
func (*Conversation) GetUpdateTime
func (x *Conversation) GetUpdateTime() *timestamppb.Timestamp
func (*Conversation) ProtoMessage
func (*Conversation) ProtoMessage()
func (*Conversation) ProtoReflect
func (x *Conversation) ProtoReflect() protoreflect.Message
func (*Conversation) Reset
func (x *Conversation) Reset()
func (*Conversation) String
func (x *Conversation) String() string
ConversationDataSource
type ConversationDataSource struct {
// The source of the conversation.
//
// Types that are assignable to Source:
//
// *ConversationDataSource_GcsSource
// *ConversationDataSource_DialogflowSource
Source isConversationDataSource_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
The conversation source, which is a combination of transcript and audio.
func (*ConversationDataSource) Descriptor
func (*ConversationDataSource) Descriptor() ([]byte, []int)
Deprecated: Use ConversationDataSource.ProtoReflect.Descriptor instead.
func (*ConversationDataSource) GetDialogflowSource
func (x *ConversationDataSource) GetDialogflowSource() *DialogflowSource
func (*ConversationDataSource) GetGcsSource
func (x *ConversationDataSource) GetGcsSource() *GcsSource
func (*ConversationDataSource) GetSource
func (m *ConversationDataSource) GetSource() isConversationDataSource_Source
func (*ConversationDataSource) ProtoMessage
func (*ConversationDataSource) ProtoMessage()
func (*ConversationDataSource) ProtoReflect
func (x *ConversationDataSource) ProtoReflect() protoreflect.Message
func (*ConversationDataSource) Reset
func (x *ConversationDataSource) Reset()
func (*ConversationDataSource) String
func (x *ConversationDataSource) String() string
ConversationDataSource_DialogflowSource
type ConversationDataSource_DialogflowSource struct {
// The source when the conversation comes from Dialogflow.
DialogflowSource *DialogflowSource `protobuf:"bytes,3,opt,name=dialogflow_source,json=dialogflowSource,proto3,oneof"`
}
ConversationDataSource_GcsSource
type ConversationDataSource_GcsSource struct {
// A Cloud Storage location specification for the audio and transcript.
GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
ConversationLevelSentiment
type ConversationLevelSentiment struct {
// The channel of the audio that the data applies to.
ChannelTag int32 `protobuf:"varint,1,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
// Data specifying sentiment.
SentimentData *SentimentData `protobuf:"bytes,2,opt,name=sentiment_data,json=sentimentData,proto3" json:"sentiment_data,omitempty"`
// contains filtered or unexported fields
}
One channel of conversation-level sentiment data.
func (*ConversationLevelSentiment) Descriptor
func (*ConversationLevelSentiment) Descriptor() ([]byte, []int)
Deprecated: Use ConversationLevelSentiment.ProtoReflect.Descriptor instead.
func (*ConversationLevelSentiment) GetChannelTag
func (x *ConversationLevelSentiment) GetChannelTag() int32
func (*ConversationLevelSentiment) GetSentimentData
func (x *ConversationLevelSentiment) GetSentimentData() *SentimentData
func (*ConversationLevelSentiment) ProtoMessage
func (*ConversationLevelSentiment) ProtoMessage()
func (*ConversationLevelSentiment) ProtoReflect
func (x *ConversationLevelSentiment) ProtoReflect() protoreflect.Message
func (*ConversationLevelSentiment) Reset
func (x *ConversationLevelSentiment) Reset()
func (*ConversationLevelSentiment) String
func (x *ConversationLevelSentiment) String() string
ConversationParticipant
type ConversationParticipant struct {
Participant isConversationParticipant_Participant `protobuf_oneof:"participant"`
DialogflowParticipant string `protobuf:"bytes,1,opt,name=dialogflow_participant,json=dialogflowParticipant,proto3" json:"dialogflow_participant,omitempty"`
ObfuscatedExternalUserId string "" /* 137 byte string literal not displayed */
Role ConversationParticipant_Role "" /* 134 byte string literal not displayed */
}
The call participant speaking for a given utterance.
func (*ConversationParticipant) Descriptor
func (*ConversationParticipant) Descriptor() ([]byte, []int)
Deprecated: Use ConversationParticipant.ProtoReflect.Descriptor instead.
func (*ConversationParticipant) GetDialogflowParticipant
func (x *ConversationParticipant) GetDialogflowParticipant() string
Deprecated: Marked as deprecated in google/cloud/contactcenterinsights/v1/resources.proto.
func (*ConversationParticipant) GetDialogflowParticipantName
func (x *ConversationParticipant) GetDialogflowParticipantName() string
func (*ConversationParticipant) GetObfuscatedExternalUserId
func (x *ConversationParticipant) GetObfuscatedExternalUserId() string
func (*ConversationParticipant) GetParticipant
func (m *ConversationParticipant) GetParticipant() isConversationParticipant_Participant
func (*ConversationParticipant) GetRole
func (x *ConversationParticipant) GetRole() ConversationParticipant_Role
func (*ConversationParticipant) GetUserId
func (x *ConversationParticipant) GetUserId() string
func (*ConversationParticipant) ProtoMessage
func (*ConversationParticipant) ProtoMessage()
func (*ConversationParticipant) ProtoReflect
func (x *ConversationParticipant) ProtoReflect() protoreflect.Message
func (*ConversationParticipant) Reset
func (x *ConversationParticipant) Reset()
func (*ConversationParticipant) String
func (x *ConversationParticipant) String() string
ConversationParticipant_DialogflowParticipantName
type ConversationParticipant_DialogflowParticipantName struct {
// The name of the participant provided by Dialogflow. Format:
// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
DialogflowParticipantName string `protobuf:"bytes,5,opt,name=dialogflow_participant_name,json=dialogflowParticipantName,proto3,oneof"`
}
ConversationParticipant_Role
type ConversationParticipant_Role int32
The role of the participant.
ConversationParticipant_ROLE_UNSPECIFIED, ConversationParticipant_HUMAN_AGENT, ConversationParticipant_AUTOMATED_AGENT, ConversationParticipant_END_USER, ConversationParticipant_ANY_AGENT
const (
// Participant's role is not set.
ConversationParticipant_ROLE_UNSPECIFIED ConversationParticipant_Role = 0
// Participant is a human agent.
ConversationParticipant_HUMAN_AGENT ConversationParticipant_Role = 1
// Participant is an automated agent.
ConversationParticipant_AUTOMATED_AGENT ConversationParticipant_Role = 2
// Participant is an end user who conversed with the contact center.
ConversationParticipant_END_USER ConversationParticipant_Role = 3
// Participant is either a human or automated agent.
ConversationParticipant_ANY_AGENT ConversationParticipant_Role = 4
)
func (ConversationParticipant_Role) Descriptor
func (ConversationParticipant_Role) Descriptor() protoreflect.EnumDescriptor
func (ConversationParticipant_Role) Enum
func (x ConversationParticipant_Role) Enum() *ConversationParticipant_Role
func (ConversationParticipant_Role) EnumDescriptor
func (ConversationParticipant_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConversationParticipant_Role.Descriptor instead.
func (ConversationParticipant_Role) Number
func (x ConversationParticipant_Role) Number() protoreflect.EnumNumber
func (ConversationParticipant_Role) String
func (x ConversationParticipant_Role) String() string
func (ConversationParticipant_Role) Type
func (ConversationParticipant_Role) Type() protoreflect.EnumType
ConversationParticipant_UserId
type ConversationParticipant_UserId struct {
// A user-specified ID representing the participant.
UserId string `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3,oneof"`
}
ConversationSummarizationSuggestionData
type ConversationSummarizationSuggestionData struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
TextSections map[string]string "" /* 185 byte string literal not displayed */
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
Metadata map[string]string "" /* 157 byte string literal not displayed */
AnswerRecord string `protobuf:"bytes,4,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
ConversationModel string `protobuf:"bytes,6,opt,name=conversation_model,json=conversationModel,proto3" json:"conversation_model,omitempty"`
}
Conversation summarization suggestion data.
func (*ConversationSummarizationSuggestionData) Descriptor
func (*ConversationSummarizationSuggestionData) Descriptor() ([]byte, []int)
Deprecated: Use ConversationSummarizationSuggestionData.ProtoReflect.Descriptor instead.
func (*ConversationSummarizationSuggestionData) GetAnswerRecord
func (x *ConversationSummarizationSuggestionData) GetAnswerRecord() string
func (*ConversationSummarizationSuggestionData) GetConfidence
func (x *ConversationSummarizationSuggestionData) GetConfidence() float32
func (*ConversationSummarizationSuggestionData) GetConversationModel
func (x *ConversationSummarizationSuggestionData) GetConversationModel() string
func (*ConversationSummarizationSuggestionData) GetMetadata
func (x *ConversationSummarizationSuggestionData) GetMetadata() map[string]string
func (*ConversationSummarizationSuggestionData) GetText
func (x *ConversationSummarizationSuggestionData) GetText() string
func (*ConversationSummarizationSuggestionData) GetTextSections
func (x *ConversationSummarizationSuggestionData) GetTextSections() map[string]string
func (*ConversationSummarizationSuggestionData) ProtoMessage
func (*ConversationSummarizationSuggestionData) ProtoMessage()
func (*ConversationSummarizationSuggestionData) ProtoReflect
func (x *ConversationSummarizationSuggestionData) ProtoReflect() protoreflect.Message
func (*ConversationSummarizationSuggestionData) Reset
func (x *ConversationSummarizationSuggestionData) Reset()
func (*ConversationSummarizationSuggestionData) String
func (x *ConversationSummarizationSuggestionData) String() string
ConversationView
type ConversationView int32
Represents the options for viewing a conversation.
ConversationView_CONVERSATION_VIEW_UNSPECIFIED, ConversationView_FULL, ConversationView_BASIC
const (
// The conversation view is not specified.
//
// * Defaults to `FULL` in `GetConversationRequest`.
// * Defaults to `BASIC` in `ListConversationsRequest`.
ConversationView_CONVERSATION_VIEW_UNSPECIFIED ConversationView = 0
// Populates all fields in the conversation.
ConversationView_FULL ConversationView = 2
// Populates all fields in the conversation except the transcript.
ConversationView_BASIC ConversationView = 1
)
func (ConversationView) Descriptor
func (ConversationView) Descriptor() protoreflect.EnumDescriptor
func (ConversationView) Enum
func (x ConversationView) Enum() *ConversationView
func (ConversationView) EnumDescriptor
func (ConversationView) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConversationView.Descriptor instead.
func (ConversationView) Number
func (x ConversationView) Number() protoreflect.EnumNumber
func (ConversationView) String
func (x ConversationView) String() string
func (ConversationView) Type
func (ConversationView) Type() protoreflect.EnumType
Conversation_CallMetadata
type Conversation_CallMetadata struct {
// The audio channel that contains the customer.
CustomerChannel int32 `protobuf:"varint,1,opt,name=customer_channel,json=customerChannel,proto3" json:"customer_channel,omitempty"`
// The audio channel that contains the agent.
AgentChannel int32 `protobuf:"varint,2,opt,name=agent_channel,json=agentChannel,proto3" json:"agent_channel,omitempty"`
// contains filtered or unexported fields
}
Call-specific metadata.
func (*Conversation_CallMetadata) Descriptor
func (*Conversation_CallMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_CallMetadata.ProtoReflect.Descriptor instead.
func (*Conversation_CallMetadata) GetAgentChannel
func (x *Conversation_CallMetadata) GetAgentChannel() int32
func (*Conversation_CallMetadata) GetCustomerChannel
func (x *Conversation_CallMetadata) GetCustomerChannel() int32
func (*Conversation_CallMetadata) ProtoMessage
func (*Conversation_CallMetadata) ProtoMessage()
func (*Conversation_CallMetadata) ProtoReflect
func (x *Conversation_CallMetadata) ProtoReflect() protoreflect.Message
func (*Conversation_CallMetadata) Reset
func (x *Conversation_CallMetadata) Reset()
func (*Conversation_CallMetadata) String
func (x *Conversation_CallMetadata) String() string
Conversation_CallMetadata_
type Conversation_CallMetadata_ struct {
// Call-specific metadata.
CallMetadata *Conversation_CallMetadata `protobuf:"bytes,7,opt,name=call_metadata,json=callMetadata,proto3,oneof"`
}
Conversation_ExpireTime
type Conversation_ExpireTime struct {
// The time at which this conversation should expire. After this time, the
// conversation data and any associated analyses will be deleted.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=expire_time,json=expireTime,proto3,oneof"`
}
Conversation_Medium
type Conversation_Medium int32
Possible media for the conversation.
Conversation_MEDIUM_UNSPECIFIED, Conversation_PHONE_CALL, Conversation_CHAT
const (
// Default value, if unspecified will default to PHONE_CALL.
Conversation_MEDIUM_UNSPECIFIED Conversation_Medium = 0
// The format for conversations that took place over the phone.
Conversation_PHONE_CALL Conversation_Medium = 1
// The format for conversations that took place over chat.
Conversation_CHAT Conversation_Medium = 2
)
func (Conversation_Medium) Descriptor
func (Conversation_Medium) Descriptor() protoreflect.EnumDescriptor
func (Conversation_Medium) Enum
func (x Conversation_Medium) Enum() *Conversation_Medium
func (Conversation_Medium) EnumDescriptor
func (Conversation_Medium) EnumDescriptor() ([]byte, []int)
Deprecated: Use Conversation_Medium.Descriptor instead.
func (Conversation_Medium) Number
func (x Conversation_Medium) Number() protoreflect.EnumNumber
func (Conversation_Medium) String
func (x Conversation_Medium) String() string
func (Conversation_Medium) Type
func (Conversation_Medium) Type() protoreflect.EnumType
Conversation_QualityMetadata
type Conversation_QualityMetadata struct {
CustomerSatisfactionRating int32 "" /* 142 byte string literal not displayed */
WaitDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=wait_duration,json=waitDuration,proto3" json:"wait_duration,omitempty"`
MenuPath string `protobuf:"bytes,3,opt,name=menu_path,json=menuPath,proto3" json:"menu_path,omitempty"`
AgentInfo []*Conversation_QualityMetadata_AgentInfo `protobuf:"bytes,4,rep,name=agent_info,json=agentInfo,proto3" json:"agent_info,omitempty"`
}
Conversation metadata related to quality management.
func (*Conversation_QualityMetadata) Descriptor
func (*Conversation_QualityMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_QualityMetadata.ProtoReflect.Descriptor instead.
func (*Conversation_QualityMetadata) GetAgentInfo
func (x *Conversation_QualityMetadata) GetAgentInfo() []*Conversation_QualityMetadata_AgentInfo
func (*Conversation_QualityMetadata) GetCustomerSatisfactionRating
func (x *Conversation_QualityMetadata) GetCustomerSatisfactionRating() int32
func (*Conversation_QualityMetadata) GetMenuPath
func (x *Conversation_QualityMetadata) GetMenuPath() string
func (*Conversation_QualityMetadata) GetWaitDuration
func (x *Conversation_QualityMetadata) GetWaitDuration() *durationpb.Duration
func (*Conversation_QualityMetadata) ProtoMessage
func (*Conversation_QualityMetadata) ProtoMessage()
func (*Conversation_QualityMetadata) ProtoReflect
func (x *Conversation_QualityMetadata) ProtoReflect() protoreflect.Message
func (*Conversation_QualityMetadata) Reset
func (x *Conversation_QualityMetadata) Reset()
func (*Conversation_QualityMetadata) String
func (x *Conversation_QualityMetadata) String() string
Conversation_QualityMetadata_AgentInfo
type Conversation_QualityMetadata_AgentInfo struct {
// A user-specified string representing the agent.
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// The agent's name.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A user-specified string representing the agent's team.
Team string `protobuf:"bytes,3,opt,name=team,proto3" json:"team,omitempty"`
// A user-provided string indicating the outcome of the agent's segment of
// the call.
DispositionCode string `protobuf:"bytes,4,opt,name=disposition_code,json=dispositionCode,proto3" json:"disposition_code,omitempty"`
// contains filtered or unexported fields
}
Information about an agent involved in the conversation.
func (*Conversation_QualityMetadata_AgentInfo) Descriptor
func (*Conversation_QualityMetadata_AgentInfo) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_QualityMetadata_AgentInfo.ProtoReflect.Descriptor instead.
func (*Conversation_QualityMetadata_AgentInfo) GetAgentId
func (x *Conversation_QualityMetadata_AgentInfo) GetAgentId() string
func (*Conversation_QualityMetadata_AgentInfo) GetDisplayName
func (x *Conversation_QualityMetadata_AgentInfo) GetDisplayName() string
func (*Conversation_QualityMetadata_AgentInfo) GetDispositionCode
func (x *Conversation_QualityMetadata_AgentInfo) GetDispositionCode() string
func (*Conversation_QualityMetadata_AgentInfo) GetTeam
func (x *Conversation_QualityMetadata_AgentInfo) GetTeam() string
func (*Conversation_QualityMetadata_AgentInfo) ProtoMessage
func (*Conversation_QualityMetadata_AgentInfo) ProtoMessage()
func (*Conversation_QualityMetadata_AgentInfo) ProtoReflect
func (x *Conversation_QualityMetadata_AgentInfo) ProtoReflect() protoreflect.Message
func (*Conversation_QualityMetadata_AgentInfo) Reset
func (x *Conversation_QualityMetadata_AgentInfo) Reset()
func (*Conversation_QualityMetadata_AgentInfo) String
func (x *Conversation_QualityMetadata_AgentInfo) String() string
Conversation_Transcript
type Conversation_Transcript struct {
// A list of sequential transcript segments that comprise the conversation.
TranscriptSegments []*Conversation_Transcript_TranscriptSegment `protobuf:"bytes,1,rep,name=transcript_segments,json=transcriptSegments,proto3" json:"transcript_segments,omitempty"`
// contains filtered or unexported fields
}
A message representing the transcript of a conversation.
func (*Conversation_Transcript) Descriptor
func (*Conversation_Transcript) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_Transcript.ProtoReflect.Descriptor instead.
func (*Conversation_Transcript) GetTranscriptSegments
func (x *Conversation_Transcript) GetTranscriptSegments() []*Conversation_Transcript_TranscriptSegment
func (*Conversation_Transcript) ProtoMessage
func (*Conversation_Transcript) ProtoMessage()
func (*Conversation_Transcript) ProtoReflect
func (x *Conversation_Transcript) ProtoReflect() protoreflect.Message
func (*Conversation_Transcript) Reset
func (x *Conversation_Transcript) Reset()
func (*Conversation_Transcript) String
func (x *Conversation_Transcript) String() string
Conversation_Transcript_TranscriptSegment
type Conversation_Transcript_TranscriptSegment struct {
MessageTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=message_time,json=messageTime,proto3" json:"message_time,omitempty"`
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
Words []*Conversation_Transcript_TranscriptSegment_WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"`
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
ChannelTag int32 `protobuf:"varint,5,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
SegmentParticipant *ConversationParticipant `protobuf:"bytes,9,opt,name=segment_participant,json=segmentParticipant,proto3" json:"segment_participant,omitempty"`
DialogflowSegmentMetadata *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata "" /* 139 byte string literal not displayed */
Sentiment *SentimentData `protobuf:"bytes,11,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
}
A segment of a full transcript.
func (*Conversation_Transcript_TranscriptSegment) Descriptor
func (*Conversation_Transcript_TranscriptSegment) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_Transcript_TranscriptSegment.ProtoReflect.Descriptor instead.
func (*Conversation_Transcript_TranscriptSegment) GetChannelTag
func (x *Conversation_Transcript_TranscriptSegment) GetChannelTag() int32
func (*Conversation_Transcript_TranscriptSegment) GetConfidence
func (x *Conversation_Transcript_TranscriptSegment) GetConfidence() float32
func (*Conversation_Transcript_TranscriptSegment) GetDialogflowSegmentMetadata
func (x *Conversation_Transcript_TranscriptSegment) GetDialogflowSegmentMetadata() *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata
func (*Conversation_Transcript_TranscriptSegment) GetLanguageCode
func (x *Conversation_Transcript_TranscriptSegment) GetLanguageCode() string
func (*Conversation_Transcript_TranscriptSegment) GetMessageTime
func (x *Conversation_Transcript_TranscriptSegment) GetMessageTime() *timestamppb.Timestamp
func (*Conversation_Transcript_TranscriptSegment) GetSegmentParticipant
func (x *Conversation_Transcript_TranscriptSegment) GetSegmentParticipant() *ConversationParticipant
func (*Conversation_Transcript_TranscriptSegment) GetSentiment
func (x *Conversation_Transcript_TranscriptSegment) GetSentiment() *SentimentData
func (*Conversation_Transcript_TranscriptSegment) GetText
func (x *Conversation_Transcript_TranscriptSegment) GetText() string
func (*Conversation_Transcript_TranscriptSegment) GetWords
func (x *Conversation_Transcript_TranscriptSegment) GetWords() []*Conversation_Transcript_TranscriptSegment_WordInfo
func (*Conversation_Transcript_TranscriptSegment) ProtoMessage
func (*Conversation_Transcript_TranscriptSegment) ProtoMessage()
func (*Conversation_Transcript_TranscriptSegment) ProtoReflect
func (x *Conversation_Transcript_TranscriptSegment) ProtoReflect() protoreflect.Message
func (*Conversation_Transcript_TranscriptSegment) Reset
func (x *Conversation_Transcript_TranscriptSegment) Reset()
func (*Conversation_Transcript_TranscriptSegment) String
func (x *Conversation_Transcript_TranscriptSegment) String() string
Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata
type Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata struct {
SmartReplyAllowlistCovered bool "" /* 144 byte string literal not displayed */
}
Metadata from Dialogflow relating to the current transcript segment.
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) Descriptor
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata.ProtoReflect.Descriptor instead.
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) GetSmartReplyAllowlistCovered
func (x *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) GetSmartReplyAllowlistCovered() bool
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) ProtoMessage
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) ProtoMessage()
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) ProtoReflect
func (x *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) ProtoReflect() protoreflect.Message
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) Reset
func (x *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) Reset()
func (*Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) String
func (x *Conversation_Transcript_TranscriptSegment_DialogflowSegmentMetadata) String() string
Conversation_Transcript_TranscriptSegment_WordInfo
type Conversation_Transcript_TranscriptSegment_WordInfo struct {
// Time offset of the start of this word relative to the beginning of
// the total conversation.
StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
// Time offset of the end of this word relative to the beginning of the
// total conversation.
EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
// The word itself. Includes punctuation marks that surround the word.
Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
// A confidence estimate between 0.0 and 1.0 of the fidelity of this
// word. A default value of 0.0 indicates that the value is unset.
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}
Word-level info for words in a transcript.
func (*Conversation_Transcript_TranscriptSegment_WordInfo) Descriptor
func (*Conversation_Transcript_TranscriptSegment_WordInfo) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_Transcript_TranscriptSegment_WordInfo.ProtoReflect.Descriptor instead.
func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetConfidence
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) GetConfidence() float32
func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetEndOffset
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) GetEndOffset() *durationpb.Duration
func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetStartOffset
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) GetStartOffset() *durationpb.Duration
func (*Conversation_Transcript_TranscriptSegment_WordInfo) GetWord
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) GetWord() string
func (*Conversation_Transcript_TranscriptSegment_WordInfo) ProtoMessage
func (*Conversation_Transcript_TranscriptSegment_WordInfo) ProtoMessage()
func (*Conversation_Transcript_TranscriptSegment_WordInfo) ProtoReflect
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) ProtoReflect() protoreflect.Message
func (*Conversation_Transcript_TranscriptSegment_WordInfo) Reset
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) Reset()
func (*Conversation_Transcript_TranscriptSegment_WordInfo) String
func (x *Conversation_Transcript_TranscriptSegment_WordInfo) String() string
Conversation_Ttl
type Conversation_Ttl struct {
// Input only. The TTL for this resource. If specified, then this TTL will
// be used to calculate the expire time.
Ttl *durationpb.Duration `protobuf:"bytes,16,opt,name=ttl,proto3,oneof"`
}
CreateAnalysisOperationMetadata
type CreateAnalysisOperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. The Conversation that this Analysis Operation belongs to.
Conversation string `protobuf:"bytes,3,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Output only. The annotator selector used for the analysis (if any).
AnnotatorSelector *