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.
Dimension_DimensionKey_name, Dimension_DimensionKey_value
var (
Dimension_DimensionKey_name = map[int32]string{
0: "DIMENSION_KEY_UNSPECIFIED",
1: "ISSUE",
2: "AGENT",
3: "AGENT_TEAM",
4: "QA_QUESTION_ID",
5: "QA_QUESTION_ANSWER_VALUE",
6: "CONVERSATION_PROFILE_ID",
}
Dimension_DimensionKey_value = map[string]int32{
"DIMENSION_KEY_UNSPECIFIED": 0,
"ISSUE": 1,
"AGENT": 2,
"AGENT_TEAM": 3,
"QA_QUESTION_ID": 4,
"QA_QUESTION_ANSWER_VALUE": 5,
"CONVERSATION_PROFILE_ID": 6,
}
)
Enum value maps for Dimension_DimensionKey.
QueryMetricsRequest_TimeGranularity_name, QueryMetricsRequest_TimeGranularity_value
var (
QueryMetricsRequest_TimeGranularity_name = map[int32]string{
0: "TIME_GRANULARITY_UNSPECIFIED",
1: "NONE",
2: "DAILY",
3: "HOURLY",
4: "PER_MINUTE",
5: "PER_5_MINUTES",
6: "MONTHLY",
}
QueryMetricsRequest_TimeGranularity_value = map[string]int32{
"TIME_GRANULARITY_UNSPECIFIED": 0,
"NONE": 1,
"DAILY": 2,
"HOURLY": 3,
"PER_MINUTE": 4,
"PER_5_MINUTES": 5,
"MONTHLY": 6,
}
)
Enum value maps for QueryMetricsRequest_TimeGranularity.
BulkUploadFeedbackLabelsRequest_GcsSource_Format_name, BulkUploadFeedbackLabelsRequest_GcsSource_Format_value
var (
BulkUploadFeedbackLabelsRequest_GcsSource_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "CSV",
2: "JSON",
}
BulkUploadFeedbackLabelsRequest_GcsSource_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"CSV": 1,
"JSON": 2,
}
)
Enum value maps for BulkUploadFeedbackLabelsRequest_GcsSource_Format.
BulkDownloadFeedbackLabelsRequest_FeedbackLabelType_name, BulkDownloadFeedbackLabelsRequest_FeedbackLabelType_value
var (
BulkDownloadFeedbackLabelsRequest_FeedbackLabelType_name = map[int32]string{
0: "FEEDBACK_LABEL_TYPE_UNSPECIFIED",
1: "QUALITY_AI",
2: "TOPIC_MODELING",
}
BulkDownloadFeedbackLabelsRequest_FeedbackLabelType_value = map[string]int32{
"FEEDBACK_LABEL_TYPE_UNSPECIFIED": 0,
"QUALITY_AI": 1,
"TOPIC_MODELING": 2,
}
)
Enum value maps for BulkDownloadFeedbackLabelsRequest_FeedbackLabelType.
BulkDownloadFeedbackLabelsRequest_GcsDestination_Format_name, BulkDownloadFeedbackLabelsRequest_GcsDestination_Format_value
var (
BulkDownloadFeedbackLabelsRequest_GcsDestination_Format_name = map[int32]string{
0: "FORMAT_UNSPECIFIED",
1: "CSV",
2: "JSON",
}
BulkDownloadFeedbackLabelsRequest_GcsDestination_Format_value = map[string]int32{
"FORMAT_UNSPECIFIED": 0,
"CSV": 1,
"JSON": 2,
}
)
Enum value maps for BulkDownloadFeedbackLabelsRequest_GcsDestination_Format.
DatasetValidationWarning_name, DatasetValidationWarning_value
var (
DatasetValidationWarning_name = map[int32]string{
0: "DATASET_VALIDATION_WARNING_UNSPECIFIED",
1: "TOO_MANY_INVALID_FEEDBACK_LABELS",
2: "INSUFFICIENT_FEEDBACK_LABELS",
3: "INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER",
4: "ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER",
}
DatasetValidationWarning_value = map[string]int32{
"DATASET_VALIDATION_WARNING_UNSPECIFIED": 0,
"TOO_MANY_INVALID_FEEDBACK_LABELS": 1,
"INSUFFICIENT_FEEDBACK_LABELS": 2,
"INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER": 3,
"ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER": 4,
}
)
Enum value maps for DatasetValidationWarning.
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.
RuntimeAnnotation_UserInput_QuerySource_name, RuntimeAnnotation_UserInput_QuerySource_value
var (
RuntimeAnnotation_UserInput_QuerySource_name = map[int32]string{
0: "QUERY_SOURCE_UNSPECIFIED",
1: "AGENT_QUERY",
2: "SUGGESTED_QUERY",
}
RuntimeAnnotation_UserInput_QuerySource_value = map[string]int32{
"QUERY_SOURCE_UNSPECIFIED": 0,
"AGENT_QUERY": 1,
"SUGGESTED_QUERY": 2,
}
)
Enum value maps for RuntimeAnnotation_UserInput_QuerySource.
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",
2: "BASELINE_MODEL_V2_0",
}
AnnotatorSelector_SummarizationConfig_SummarizationModel_value = map[string]int32{
"SUMMARIZATION_MODEL_UNSPECIFIED": 0,
"BASELINE_MODEL": 1,
"BASELINE_MODEL_V2_0": 2,
}
)
Enum value maps for AnnotatorSelector_SummarizationConfig_SummarizationModel.
QaScorecardRevision_State_name, QaScorecardRevision_State_value
var (
QaScorecardRevision_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
12: "EDITABLE",
2: "TRAINING",
9: "TRAINING_FAILED",
11: "READY",
7: "DELETING",
14: "TRAINING_CANCELLED",
}
QaScorecardRevision_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"EDITABLE": 12,
"TRAINING": 2,
"TRAINING_FAILED": 9,
"READY": 11,
"DELETING": 7,
"TRAINING_CANCELLED": 14,
}
)
Enum value maps for QaScorecardRevision_State.
QaAnswer_AnswerSource_SourceType_name, QaAnswer_AnswerSource_SourceType_value
var (
QaAnswer_AnswerSource_SourceType_name = map[int32]string{
0: "SOURCE_TYPE_UNSPECIFIED",
1: "SYSTEM_GENERATED",
2: "MANUAL_EDIT",
}
QaAnswer_AnswerSource_SourceType_value = map[string]int32{
"SOURCE_TYPE_UNSPECIFIED": 0,
"SYSTEM_GENERATED": 1,
"MANUAL_EDIT": 2,
}
)
Enum value maps for QaAnswer_AnswerSource_SourceType.
QaScorecardResult_ScoreSource_SourceType_name, QaScorecardResult_ScoreSource_SourceType_value
var (
QaScorecardResult_ScoreSource_SourceType_name = map[int32]string{
0: "SOURCE_TYPE_UNSPECIFIED",
1: "SYSTEM_GENERATED_ONLY",
2: "INCLUDES_MANUAL_EDITS",
}
QaScorecardResult_ScoreSource_SourceType_value = map[string]int32{
"SOURCE_TYPE_UNSPECIFIED": 0,
"SYSTEM_GENERATED_ONLY": 1,
"INCLUDES_MANUAL_EDITS": 2,
}
)
Enum value maps for QaScorecardResult_ScoreSource_SourceType.
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"`
Silence *ConversationLevelSilence `protobuf:"bytes,11,opt,name=silence,proto3" json:"silence,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"`
QaScorecardResults []*QaScorecardResult `protobuf:"bytes,10,rep,name=qa_scorecard_results,json=qaScorecardResults,proto3" json:"qa_scorecard_results,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) GetQaScorecardResults
func (x *AnalysisResult_CallAnalysisMetadata) GetQaScorecardResults() []*QaScorecardResult
func (*AnalysisResult_CallAnalysisMetadata) GetSentiments
func (x *AnalysisResult_CallAnalysisMetadata) GetSentiments() []*ConversationLevelSentiment
func (*AnalysisResult_CallAnalysisMetadata) GetSilence
func (x *AnalysisResult_CallAnalysisMetadata) GetSilence() *ConversationLevelSilence
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"`
}
AnalysisRule
type AnalysisRule struct {
// Identifier. The resource name of the analysis rule.
// Format:
// projects/{project}/locations/{location}/analysisRules/{analysis_rule}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time at which this analysis rule was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The most recent time at which this analysis rule was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Display Name of the analysis rule.
DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
// Filter for the conversations that should apply this analysis
// rule. An empty filter means this analysis rule applies to all
// conversations.
ConversationFilter string `protobuf:"bytes,5,opt,name=conversation_filter,json=conversationFilter,proto3" json:"conversation_filter,omitempty"`
// Selector of annotators to run and the phrase matchers to use for
// conversations that matches the conversation_filter. If not specified, NO
// annotators will be run.
AnnotatorSelector *AnnotatorSelector `protobuf:"bytes,6,opt,name=annotator_selector,json=annotatorSelector,proto3" json:"annotator_selector,omitempty"`
// Percentage of conversations that we should apply this analysis setting
// automatically, between [0, 1]. For example, 0.1 means 10%. Conversations
// are sampled in a determenestic way. The original runtime_percentage &
// upload percentage will be replaced by defining filters on the conversation.
AnalysisPercentage float64 `protobuf:"fixed64,7,opt,name=analysis_percentage,json=analysisPercentage,proto3" json:"analysis_percentage,omitempty"`
// If true, apply this rule to conversations. Otherwise, this rule is
// inactive and saved as a draft.
Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
// contains filtered or unexported fields
}
The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
func (*AnalysisRule) Descriptor
func (*AnalysisRule) Descriptor() ([]byte, []int)
Deprecated: Use AnalysisRule.ProtoReflect.Descriptor instead.
func (*AnalysisRule) GetActive
func (x *AnalysisRule) GetActive() bool
func (*AnalysisRule) GetAnalysisPercentage
func (x *AnalysisRule) GetAnalysisPercentage() float64
func (*AnalysisRule) GetAnnotatorSelector
func (x *AnalysisRule) GetAnnotatorSelector() *AnnotatorSelector
func (*AnalysisRule) GetConversationFilter
func (x *AnalysisRule) GetConversationFilter() string
func (*AnalysisRule) GetCreateTime
func (x *AnalysisRule) GetCreateTime() *timestamppb.Timestamp
func (*AnalysisRule) GetDisplayName
func (x *AnalysisRule) GetDisplayName() string
func (*AnalysisRule) GetName
func (x *AnalysisRule) GetName() string
func (*AnalysisRule) GetUpdateTime
func (x *AnalysisRule) GetUpdateTime() *timestamppb.Timestamp
func (*AnalysisRule) ProtoMessage
func (*AnalysisRule) ProtoMessage()
func (*AnalysisRule) ProtoReflect
func (x *AnalysisRule) ProtoReflect() protoreflect.Message
func (*AnalysisRule) Reset
func (x *AnalysisRule) Reset()
func (*AnalysisRule) String
func (x *AnalysisRule) String() string
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"`
RunQaAnnotator bool `protobuf:"varint,12,opt,name=run_qa_annotator,json=runQaAnnotator,proto3" json:"run_qa_annotator,omitempty"`
QaConfig *AnnotatorSelector_QaConfig `protobuf:"bytes,13,opt,name=qa_config,json=qaConfig,proto3" json:"qa_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) GetQaConfig
func (x *AnnotatorSelector) GetQaConfig() *AnnotatorSelector_QaConfig
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) GetRunQaAnnotator
func (x *AnnotatorSelector) GetRunQaAnnotator() 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_QaConfig
type AnnotatorSelector_QaConfig struct {
// Which scorecards should be scored.
//
// Types that are assignable to ScorecardSource:
//
// *AnnotatorSelector_QaConfig_ScorecardList_
ScorecardSource isAnnotatorSelector_QaConfig_ScorecardSource `protobuf_oneof:"scorecard_source"`
// contains filtered or unexported fields
}
Configuration for the QA feature.
func (*AnnotatorSelector_QaConfig) Descriptor
func (*AnnotatorSelector_QaConfig) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatorSelector_QaConfig.ProtoReflect.Descriptor instead.
func (*AnnotatorSelector_QaConfig) GetScorecardList
func (x *AnnotatorSelector_QaConfig) GetScorecardList() *AnnotatorSelector_QaConfig_ScorecardList
func (*AnnotatorSelector_QaConfig) GetScorecardSource
func (m *AnnotatorSelector_QaConfig) GetScorecardSource() isAnnotatorSelector_QaConfig_ScorecardSource
func (*AnnotatorSelector_QaConfig) ProtoMessage
func (*AnnotatorSelector_QaConfig) ProtoMessage()
func (*AnnotatorSelector_QaConfig) ProtoReflect
func (x *AnnotatorSelector_QaConfig) ProtoReflect() protoreflect.Message
func (*AnnotatorSelector_QaConfig) Reset
func (x *AnnotatorSelector_QaConfig) Reset()
func (*AnnotatorSelector_QaConfig) String
func (x *AnnotatorSelector_QaConfig) String() string
AnnotatorSelector_QaConfig_ScorecardList
type AnnotatorSelector_QaConfig_ScorecardList struct {
// List of QaScorecardRevisions.
QaScorecardRevisions []string `protobuf:"bytes,1,rep,name=qa_scorecard_revisions,json=qaScorecardRevisions,proto3" json:"qa_scorecard_revisions,omitempty"`
// contains filtered or unexported fields
}
Container for a list of scorecards.
func (*AnnotatorSelector_QaConfig_ScorecardList) Descriptor
func (*AnnotatorSelector_QaConfig_ScorecardList) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatorSelector_QaConfig_ScorecardList.ProtoReflect.Descriptor instead.
func (*AnnotatorSelector_QaConfig_ScorecardList) GetQaScorecardRevisions
func (x *AnnotatorSelector_QaConfig_ScorecardList) GetQaScorecardRevisions() []string
func (*AnnotatorSelector_QaConfig_ScorecardList) ProtoMessage
func (*AnnotatorSelector_QaConfig_ScorecardList) ProtoMessage()
func (*AnnotatorSelector_QaConfig_ScorecardList) ProtoReflect
func (x *AnnotatorSelector_QaConfig_ScorecardList) ProtoReflect() protoreflect.Message
func (*AnnotatorSelector_QaConfig_ScorecardList) Reset
func (x *AnnotatorSelector_QaConfig_ScorecardList) Reset()
func (*AnnotatorSelector_QaConfig_ScorecardList) String
func (x *AnnotatorSelector_QaConfig_ScorecardList) String() string
AnnotatorSelector_QaConfig_ScorecardList_
type AnnotatorSelector_QaConfig_ScorecardList_ struct {
// A manual list of scorecards to score.
ScorecardList *AnnotatorSelector_QaConfig_ScorecardList `protobuf:"bytes,1,opt,name=scorecard_list,json=scorecardList,proto3,oneof"`
}
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, AnnotatorSelector_SummarizationConfig_BASELINE_MODEL_V2_0
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
// The CCAI baseline model, V2.0.
AnnotatorSelector_SummarizationConfig_BASELINE_MODEL_V2_0 AnnotatorSelector_SummarizationConfig_SummarizationModel = 2
)
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
BulkDownloadFeedbackLabelsMetadata
type BulkDownloadFeedbackLabelsMetadata 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 original request for download.
Request *BulkDownloadFeedbackLabelsRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// Partial errors during ingest 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"`
// Output only. Statistics for BulkDownloadFeedbackLabels operation.
DownloadStats *BulkDownloadFeedbackLabelsMetadata_DownloadStats `protobuf:"bytes,5,opt,name=download_stats,json=downloadStats,proto3" json:"download_stats,omitempty"`
// contains filtered or unexported fields
}
Metadata for the BulkDownloadFeedbackLabel endpoint.
func (*BulkDownloadFeedbackLabelsMetadata) Descriptor
func (*BulkDownloadFeedbackLabelsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsMetadata.ProtoReflect.Descriptor instead.
func (*BulkDownloadFeedbackLabelsMetadata) GetCreateTime
func (x *BulkDownloadFeedbackLabelsMetadata) GetCreateTime() *timestamppb.Timestamp
func (*BulkDownloadFeedbackLabelsMetadata) GetDownloadStats
func (x *BulkDownloadFeedbackLabelsMetadata) GetDownloadStats() *BulkDownloadFeedbackLabelsMetadata_DownloadStats
func (*BulkDownloadFeedbackLabelsMetadata) GetEndTime
func (x *BulkDownloadFeedbackLabelsMetadata) GetEndTime() *timestamppb.Timestamp
func (*BulkDownloadFeedbackLabelsMetadata) GetPartialErrors
func (x *BulkDownloadFeedbackLabelsMetadata) GetPartialErrors() []*status.Status
func (*BulkDownloadFeedbackLabelsMetadata) GetRequest
func (x *BulkDownloadFeedbackLabelsMetadata) GetRequest() *BulkDownloadFeedbackLabelsRequest
func (*BulkDownloadFeedbackLabelsMetadata) ProtoMessage
func (*BulkDownloadFeedbackLabelsMetadata) ProtoMessage()
func (*BulkDownloadFeedbackLabelsMetadata) ProtoReflect
func (x *BulkDownloadFeedbackLabelsMetadata) ProtoReflect() protoreflect.Message
func (*BulkDownloadFeedbackLabelsMetadata) Reset
func (x *BulkDownloadFeedbackLabelsMetadata) Reset()
func (*BulkDownloadFeedbackLabelsMetadata) String
func (x *BulkDownloadFeedbackLabelsMetadata) String() string
BulkDownloadFeedbackLabelsMetadata_DownloadStats
type BulkDownloadFeedbackLabelsMetadata_DownloadStats struct {
ProcessedObjectCount int32 `protobuf:"varint,1,opt,name=processed_object_count,json=processedObjectCount,proto3" json:"processed_object_count,omitempty"`
SuccessfulDownloadCount int32 "" /* 133 byte string literal not displayed */
TotalFilesWritten int32 `protobuf:"varint,3,opt,name=total_files_written,json=totalFilesWritten,proto3" json:"total_files_written,omitempty"`
FileNames []string `protobuf:"bytes,4,rep,name=file_names,json=fileNames,proto3" json:"file_names,omitempty"`
}
Statistics for BulkDownloadFeedbackLabels operation.
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) Descriptor
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) Descriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsMetadata_DownloadStats.ProtoReflect.Descriptor instead.
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetFileNames
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetFileNames() []string
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetProcessedObjectCount
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetProcessedObjectCount() int32
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetSuccessfulDownloadCount
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetSuccessfulDownloadCount() int32
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetTotalFilesWritten
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) GetTotalFilesWritten() int32
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) ProtoMessage
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) ProtoMessage()
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) ProtoReflect
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) ProtoReflect() protoreflect.Message
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) Reset
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) Reset()
func (*BulkDownloadFeedbackLabelsMetadata_DownloadStats) String
func (x *BulkDownloadFeedbackLabelsMetadata_DownloadStats) String() string
BulkDownloadFeedbackLabelsRequest
type BulkDownloadFeedbackLabelsRequest struct {
Destination isBulkDownloadFeedbackLabelsRequest_Destination `protobuf_oneof:"destination"`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
MaxDownloadCount int32 `protobuf:"varint,4,opt,name=max_download_count,json=maxDownloadCount,proto3" json:"max_download_count,omitempty"`
FeedbackLabelType BulkDownloadFeedbackLabelsRequest_FeedbackLabelType "" /* 210 byte string literal not displayed */
ConversationFilter string `protobuf:"bytes,6,opt,name=conversation_filter,json=conversationFilter,proto3" json:"conversation_filter,omitempty"`
TemplateQaScorecardId []string "" /* 128 byte string literal not displayed */
}
Request for the BulkDownloadFeedbackLabel endpoint.
func (*BulkDownloadFeedbackLabelsRequest) Descriptor
func (*BulkDownloadFeedbackLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsRequest.ProtoReflect.Descriptor instead.
func (*BulkDownloadFeedbackLabelsRequest) GetConversationFilter
func (x *BulkDownloadFeedbackLabelsRequest) GetConversationFilter() string
func (*BulkDownloadFeedbackLabelsRequest) GetDestination
func (m *BulkDownloadFeedbackLabelsRequest) GetDestination() isBulkDownloadFeedbackLabelsRequest_Destination
func (*BulkDownloadFeedbackLabelsRequest) GetFeedbackLabelType
func (x *BulkDownloadFeedbackLabelsRequest) GetFeedbackLabelType() BulkDownloadFeedbackLabelsRequest_FeedbackLabelType
func (*BulkDownloadFeedbackLabelsRequest) GetFilter
func (x *BulkDownloadFeedbackLabelsRequest) GetFilter() string
func (*BulkDownloadFeedbackLabelsRequest) GetGcsDestination
func (x *BulkDownloadFeedbackLabelsRequest) GetGcsDestination() *BulkDownloadFeedbackLabelsRequest_GcsDestination
func (*BulkDownloadFeedbackLabelsRequest) GetMaxDownloadCount
func (x *BulkDownloadFeedbackLabelsRequest) GetMaxDownloadCount() int32
func (*BulkDownloadFeedbackLabelsRequest) GetParent
func (x *BulkDownloadFeedbackLabelsRequest) GetParent() string
func (*BulkDownloadFeedbackLabelsRequest) GetTemplateQaScorecardId
func (x *BulkDownloadFeedbackLabelsRequest) GetTemplateQaScorecardId() []string
func (*BulkDownloadFeedbackLabelsRequest) ProtoMessage
func (*BulkDownloadFeedbackLabelsRequest) ProtoMessage()
func (*BulkDownloadFeedbackLabelsRequest) ProtoReflect
func (x *BulkDownloadFeedbackLabelsRequest) ProtoReflect() protoreflect.Message
func (*BulkDownloadFeedbackLabelsRequest) Reset
func (x *BulkDownloadFeedbackLabelsRequest) Reset()
func (*BulkDownloadFeedbackLabelsRequest) String
func (x *BulkDownloadFeedbackLabelsRequest) String() string
BulkDownloadFeedbackLabelsRequest_FeedbackLabelType
type BulkDownloadFeedbackLabelsRequest_FeedbackLabelType int32
Possible feedback label types that will be downloaded.
BulkDownloadFeedbackLabelsRequest_FEEDBACK_LABEL_TYPE_UNSPECIFIED, BulkDownloadFeedbackLabelsRequest_QUALITY_AI, BulkDownloadFeedbackLabelsRequest_TOPIC_MODELING
const (
// Unspecified format
BulkDownloadFeedbackLabelsRequest_FEEDBACK_LABEL_TYPE_UNSPECIFIED BulkDownloadFeedbackLabelsRequest_FeedbackLabelType = 0
// Downloaded file will contain all Quality AI labels from the latest
// scorecard revision.
BulkDownloadFeedbackLabelsRequest_QUALITY_AI BulkDownloadFeedbackLabelsRequest_FeedbackLabelType = 1
// Downloaded file will contain only Topic Modeling labels.
BulkDownloadFeedbackLabelsRequest_TOPIC_MODELING BulkDownloadFeedbackLabelsRequest_FeedbackLabelType = 2
)
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Descriptor
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Descriptor() protoreflect.EnumDescriptor
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Enum
func (x BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Enum() *BulkDownloadFeedbackLabelsRequest_FeedbackLabelType
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) EnumDescriptor
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsRequest_FeedbackLabelType.Descriptor instead.
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Number
func (x BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Number() protoreflect.EnumNumber
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) String
func (x BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) String() string
func (BulkDownloadFeedbackLabelsRequest_FeedbackLabelType) Type
BulkDownloadFeedbackLabelsRequest_GcsDestination
type BulkDownloadFeedbackLabelsRequest_GcsDestination struct {
Format BulkDownloadFeedbackLabelsRequest_GcsDestination_Format "" /* 165 byte string literal not displayed */
ObjectUri string `protobuf:"bytes,2,opt,name=object_uri,json=objectUri,proto3" json:"object_uri,omitempty"`
AddWhitespace bool `protobuf:"varint,3,opt,name=add_whitespace,json=addWhitespace,proto3" json:"add_whitespace,omitempty"`
AlwaysPrintEmptyFields bool "" /* 132 byte string literal not displayed */
RecordsPerFileCount int64 `protobuf:"varint,5,opt,name=records_per_file_count,json=recordsPerFileCount,proto3" json:"records_per_file_count,omitempty"`
}
Google Cloud Storage Object details to write the feedback labels to.
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) Descriptor
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) Descriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsRequest_GcsDestination.ProtoReflect.Descriptor instead.
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) GetAddWhitespace
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) GetAddWhitespace() bool
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) GetAlwaysPrintEmptyFields
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) GetAlwaysPrintEmptyFields() bool
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) GetFormat
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) GetFormat() BulkDownloadFeedbackLabelsRequest_GcsDestination_Format
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) GetObjectUri
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) GetObjectUri() string
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) GetRecordsPerFileCount
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) GetRecordsPerFileCount() int64
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) ProtoMessage
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) ProtoMessage()
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) ProtoReflect
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) ProtoReflect() protoreflect.Message
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) Reset
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) Reset()
func (*BulkDownloadFeedbackLabelsRequest_GcsDestination) String
func (x *BulkDownloadFeedbackLabelsRequest_GcsDestination) String() string
BulkDownloadFeedbackLabelsRequest_GcsDestination_
type BulkDownloadFeedbackLabelsRequest_GcsDestination_ struct {
// A cloud storage bucket destination.
GcsDestination *BulkDownloadFeedbackLabelsRequest_GcsDestination `protobuf:"bytes,3,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
}
BulkDownloadFeedbackLabelsRequest_GcsDestination_Format
type BulkDownloadFeedbackLabelsRequest_GcsDestination_Format int32
All permissible file formats.
See records_per_file_count
to override the default number of records
per file.
BulkDownloadFeedbackLabelsRequest_GcsDestination_FORMAT_UNSPECIFIED, BulkDownloadFeedbackLabelsRequest_GcsDestination_CSV, BulkDownloadFeedbackLabelsRequest_GcsDestination_JSON
const (
// Unspecified format.
BulkDownloadFeedbackLabelsRequest_GcsDestination_FORMAT_UNSPECIFIED BulkDownloadFeedbackLabelsRequest_GcsDestination_Format = 0
// CSV format.
// 1,000 labels are stored per CSV file by default.
BulkDownloadFeedbackLabelsRequest_GcsDestination_CSV BulkDownloadFeedbackLabelsRequest_GcsDestination_Format = 1
// JSON format.
// 1 label stored per JSON file by default.
BulkDownloadFeedbackLabelsRequest_GcsDestination_JSON BulkDownloadFeedbackLabelsRequest_GcsDestination_Format = 2
)
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Descriptor
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Descriptor() protoreflect.EnumDescriptor
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Enum
func (x BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Enum() *BulkDownloadFeedbackLabelsRequest_GcsDestination_Format
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) EnumDescriptor
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsRequest_GcsDestination_Format.Descriptor instead.
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Number
func (x BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Number() protoreflect.EnumNumber
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) String
func (x BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) String() string
func (BulkDownloadFeedbackLabelsRequest_GcsDestination_Format) Type
BulkDownloadFeedbackLabelsResponse
type BulkDownloadFeedbackLabelsResponse struct {
// contains filtered or unexported fields
}
Response for the BulkDownloadFeedbackLabel endpoint.
func (*BulkDownloadFeedbackLabelsResponse) Descriptor
func (*BulkDownloadFeedbackLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkDownloadFeedbackLabelsResponse.ProtoReflect.Descriptor instead.
func (*BulkDownloadFeedbackLabelsResponse) ProtoMessage
func (*BulkDownloadFeedbackLabelsResponse) ProtoMessage()
func (*BulkDownloadFeedbackLabelsResponse) ProtoReflect
func (x *BulkDownloadFeedbackLabelsResponse) ProtoReflect() protoreflect.Message
func (*BulkDownloadFeedbackLabelsResponse) Reset
func (x *BulkDownloadFeedbackLabelsResponse) Reset()
func (*BulkDownloadFeedbackLabelsResponse) String
func (x *BulkDownloadFeedbackLabelsResponse) String() string
BulkUploadFeedbackLabelsMetadata
type BulkUploadFeedbackLabelsMetadata 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 original request for ingest.
Request *BulkUploadFeedbackLabelsRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// Partial errors during ingest 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"`
// Output only. Statistics for BulkUploadFeedbackLabels operation.
UploadStats *BulkUploadFeedbackLabelsMetadata_UploadStats `protobuf:"bytes,5,opt,name=upload_stats,json=uploadStats,proto3" json:"upload_stats,omitempty"`
// contains filtered or unexported fields
}
Metadata for the Bulk Upload Feedback Labels API.
func (*BulkUploadFeedbackLabelsMetadata) Descriptor
func (*BulkUploadFeedbackLabelsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BulkUploadFeedbackLabelsMetadata.ProtoReflect.Descriptor instead.
func (*BulkUploadFeedbackLabelsMetadata) GetCreateTime
func (x *BulkUploadFeedbackLabelsMetadata) GetCreateTime() *timestamppb.Timestamp
func (*BulkUploadFeedbackLabelsMetadata) GetEndTime
func (x *BulkUploadFeedbackLabelsMetadata) GetEndTime() *timestamppb.Timestamp
func (*BulkUploadFeedbackLabelsMetadata) GetPartialErrors
func (x *BulkUploadFeedbackLabelsMetadata) GetPartialErrors() []*status.Status
func (*BulkUploadFeedbackLabelsMetadata) GetRequest
func (x *BulkUploadFeedbackLabelsMetadata) GetRequest() *BulkUploadFeedbackLabelsRequest
func (*BulkUploadFeedbackLabelsMetadata) GetUploadStats
func (x *BulkUploadFeedbackLabelsMetadata) GetUploadStats() *BulkUploadFeedbackLabelsMetadata_UploadStats
func (*BulkUploadFeedbackLabelsMetadata) ProtoMessage
func (*BulkUploadFeedbackLabelsMetadata) ProtoMessage()
func (*BulkUploadFeedbackLabelsMetadata) ProtoReflect
func (x *BulkUploadFeedbackLabelsMetadata) ProtoReflect() protoreflect.Message
func (*BulkUploadFeedbackLabelsMetadata) Reset
func (x *BulkUploadFeedbackLabelsMetadata) Reset()
func (*BulkUploadFeedbackLabelsMetadata) String
func (x *BulkUploadFeedbackLabelsMetadata) String() string
BulkUploadFeedbackLabelsMetadata_UploadStats
type BulkUploadFeedbackLabelsMetadata_UploadStats struct {
ProcessedObjectCount int32 `protobuf:"varint,1,opt,name=processed_object_count,json=processedObjectCount,proto3" json:"processed_object_count,omitempty"`
FailedValidationCount int32 "" /* 127 byte string literal not displayed */
SuccessfulUploadCount int32 "" /* 127 byte string literal not displayed */
}
Statistics for BulkUploadFeedbackLabels operation.
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) Descriptor
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) Descriptor() ([]byte, []int)
Deprecated: Use BulkUploadFeedbackLabelsMetadata_UploadStats.ProtoReflect.Descriptor instead.
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) GetFailedValidationCount
func (x *BulkUploadFeedbackLabelsMetadata_UploadStats) GetFailedValidationCount() int32
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) GetProcessedObjectCount
func (x *BulkUploadFeedbackLabelsMetadata_UploadStats) GetProcessedObjectCount() int32
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) GetSuccessfulUploadCount
func (x *BulkUploadFeedbackLabelsMetadata_UploadStats) GetSuccessfulUploadCount() int32
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) ProtoMessage
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) ProtoMessage()
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) ProtoReflect
func (x *BulkUploadFeedbackLabelsMetadata_UploadStats) ProtoReflect() protoreflect.Message
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) Reset
func (x *BulkUploadFeedbackLabelsMetadata_UploadStats) Reset()
func (*BulkUploadFeedbackLabelsMetadata_UploadStats) String
func (x *BulkUploadFeedbackLabelsMetadata_UploadStats) String() string
BulkUploadFeedbackLabelsRequest
type BulkUploadFeedbackLabelsRequest struct {
// Configuration for an external data store containing objects that will
// be converted to FeedbackLabels.
//
// Types that are assignable to Source:
//
// *BulkUploadFeedbackLabelsRequest_GcsSource_
Source isBulkUploadFeedbackLabelsRequest_Source `protobuf_oneof:"source"`
// Required. The parent resource for new feedback labels.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. If set, upload will not happen and the labels will be validated.
// If not set, then default behavior will be to upload the labels after
// validation is complete.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
The request for bulk uploading feedback labels.
func (*BulkUploadFeedbackLabelsRequest) Descriptor
func (*BulkUploadFeedbackLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkUploadFeedbackLabelsRequest.ProtoReflect.Descriptor instead.
func (*BulkUploadFeedbackLabelsRequest) GetGcsSource
func (x *BulkUploadFeedbackLabelsRequest) GetGcsSource() *BulkUploadFeedbackLabelsRequest_GcsSource
func (*BulkUploadFeedbackLabelsRequest) GetParent
func (x *BulkUploadFeedbackLabelsRequest) GetParent() string
func (*BulkUploadFeedbackLabelsRequest) GetSource
func (m *BulkUploadFeedbackLabelsRequest) GetSource() isBulkUploadFeedbackLabelsRequest_Source
func (*BulkUploadFeedbackLabelsRequest) GetValidateOnly
func (x *BulkUploadFeedbackLabelsRequest) GetValidateOnly() bool
func (*BulkUploadFeedbackLabelsRequest) ProtoMessage
func (*BulkUploadFeedbackLabelsRequest) ProtoMessage()
func (*BulkUploadFeedbackLabelsRequest) ProtoReflect
func (x *BulkUploadFeedbackLabelsRequest) ProtoReflect() protoreflect.Message
func (*BulkUploadFeedbackLabelsRequest) Reset
func (x *BulkUploadFeedbackLabelsRequest) Reset()
func (*BulkUploadFeedbackLabelsRequest) String
func (x *BulkUploadFeedbackLabelsRequest) String() string
BulkUploadFeedbackLabelsRequest_GcsSource
type BulkUploadFeedbackLabelsRequest_GcsSource struct {
Format BulkUploadFeedbackLabelsRequest_GcsSource_Format "" /* 158 byte string literal not displayed */
ObjectUri string `protobuf:"bytes,2,opt,name=object_uri,json=objectUri,proto3" json:"object_uri,omitempty"`
}
Google Cloud Storage Object details to get the feedback label file from.
func (*BulkUploadFeedbackLabelsRequest_GcsSource) Descriptor
func (*BulkUploadFeedbackLabelsRequest_GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use BulkUploadFeedbackLabelsRequest_GcsSource.ProtoReflect.Descriptor instead.
func (*BulkUploadFeedbackLabelsRequest_GcsSource) GetFormat
func (x *BulkUploadFeedbackLabelsRequest_GcsSource) GetFormat() BulkUploadFeedbackLabelsRequest_GcsSource_Format
func (*BulkUploadFeedbackLabelsRequest_GcsSource) GetObjectUri
func (x *BulkUploadFeedbackLabelsRequest_GcsSource) GetObjectUri() string
func (*BulkUploadFeedbackLabelsRequest_GcsSource) ProtoMessage
func (*BulkUploadFeedbackLabelsRequest_GcsSource) ProtoMessage()
func (*BulkUploadFeedbackLabelsRequest_GcsSource) ProtoReflect
func (x *BulkUploadFeedbackLabelsRequest_GcsSource) ProtoReflect() protoreflect.Message
func (*BulkUploadFeedbackLabelsRequest_GcsSource) Reset
func (x *BulkUploadFeedbackLabelsRequest_GcsSource) Reset()
func (*BulkUploadFeedbackLabelsRequest_GcsSource) String
func (x *BulkUploadFeedbackLabelsRequest_GcsSource) String() string
BulkUploadFeedbackLabelsRequest_GcsSource_
type BulkUploadFeedbackLabelsRequest_GcsSource_ struct {
// A cloud storage bucket source.
GcsSource *BulkUploadFeedbackLabelsRequest_GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
BulkUploadFeedbackLabelsRequest_GcsSource_Format
type BulkUploadFeedbackLabelsRequest_GcsSource_Format int32
All permissible file formats.
BulkUploadFeedbackLabelsRequest_GcsSource_FORMAT_UNSPECIFIED, BulkUploadFeedbackLabelsRequest_GcsSource_CSV, BulkUploadFeedbackLabelsRequest_GcsSource_JSON
const (
// Unspecified format.
BulkUploadFeedbackLabelsRequest_GcsSource_FORMAT_UNSPECIFIED BulkUploadFeedbackLabelsRequest_GcsSource_Format = 0
// CSV format.
BulkUploadFeedbackLabelsRequest_GcsSource_CSV BulkUploadFeedbackLabelsRequest_GcsSource_Format = 1
// JSON format.
BulkUploadFeedbackLabelsRequest_GcsSource_JSON BulkUploadFeedbackLabelsRequest_GcsSource_Format = 2
)
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) Descriptor
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) Descriptor() protoreflect.EnumDescriptor
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) Enum
func (x BulkUploadFeedbackLabelsRequest_GcsSource_Format) Enum() *BulkUploadFeedbackLabelsRequest_GcsSource_Format
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) EnumDescriptor
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use BulkUploadFeedbackLabelsRequest_GcsSource_Format.Descriptor instead.
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) Number
func (x BulkUploadFeedbackLabelsRequest_GcsSource_Format) Number() protoreflect.EnumNumber
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) String
func (x BulkUploadFeedbackLabelsRequest_GcsSource_Format) String() string
func (BulkUploadFeedbackLabelsRequest_GcsSource_Format) Type
BulkUploadFeedbackLabelsResponse
type BulkUploadFeedbackLabelsResponse struct {
// contains filtered or unexported fields
}
Response for the Bulk Upload Feedback Labels API.
func (*BulkUploadFeedbackLabelsResponse) Descriptor
func (*BulkUploadFeedbackLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkUploadFeedbackLabelsResponse.ProtoReflect.Descriptor instead.
func (*BulkUploadFeedbackLabelsResponse) ProtoMessage
func (*BulkUploadFeedbackLabelsResponse) ProtoMessage()
func (*BulkUploadFeedbackLabelsResponse) ProtoReflect
func (x *BulkUploadFeedbackLabelsResponse) ProtoReflect() protoreflect.Message
func (*BulkUploadFeedbackLabelsResponse) Reset
func (x *BulkUploadFeedbackLabelsResponse) Reset()
func (*BulkUploadFeedbackLabelsResponse) String
func (x *BulkUploadFeedbackLabelsResponse) 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.
// Note that this method does not support audio transcription or redaction.
// Use `conversations.upload` instead.
CreateConversation(ctx context.Context, in *CreateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Create a long-running 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)
// Exports an issue model to the provided destination.
ExportIssueModel(ctx context.Context, in *ExportIssueModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports an issue model from a Cloud Storage bucket.
ImportIssueModel(ctx context.Context, in *ImportIssueModelRequest, 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 analysis rule.
CreateAnalysisRule(ctx context.Context, in *CreateAnalysisRuleRequest, opts ...grpc.CallOption) (*AnalysisRule, error)
// Get a analysis rule.
GetAnalysisRule(ctx context.Context, in *GetAnalysisRuleRequest, opts ...grpc.CallOption) (*AnalysisRule, error)
// Lists analysis rules.
ListAnalysisRules(ctx context.Context, in *ListAnalysisRulesRequest, opts ...grpc.CallOption) (*ListAnalysisRulesResponse, error)
// Updates a analysis rule.
UpdateAnalysisRule(ctx context.Context, in *UpdateAnalysisRuleRequest, opts ...grpc.CallOption) (*AnalysisRule, error)
// Deletes a analysis rule.
DeleteAnalysisRule(ctx context.Context, in *DeleteAnalysisRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Gets location-level encryption key specification.
GetEncryptionSpec(ctx context.Context, in *GetEncryptionSpecRequest, opts ...grpc.CallOption) (*EncryptionSpec, error)
// Initializes a location-level encryption key specification. An error will
// result if the location has resources already created before the
// initialization. After the encryption specification is initialized at a
// location, it is immutable and all newly created resources under the
// location will be encrypted with the existing specification.
InitializeEncryptionSpec(ctx context.Context, in *InitializeEncryptionSpecRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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)
// Query metrics.
QueryMetrics(ctx context.Context, in *QueryMetricsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Create a QaQuestion.
CreateQaQuestion(ctx context.Context, in *CreateQaQuestionRequest, opts ...grpc.CallOption) (*QaQuestion, error)
// Gets a QaQuestion.
GetQaQuestion(ctx context.Context, in *GetQaQuestionRequest, opts ...grpc.CallOption) (*QaQuestion, error)
// Updates a QaQuestion.
UpdateQaQuestion(ctx context.Context, in *UpdateQaQuestionRequest, opts ...grpc.CallOption) (*QaQuestion, error)
// Deletes a QaQuestion.
DeleteQaQuestion(ctx context.Context, in *DeleteQaQuestionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists QaQuestions.
ListQaQuestions(ctx context.Context, in *ListQaQuestionsRequest, opts ...grpc.CallOption) (*ListQaQuestionsResponse, error)
// Create a QaScorecard.
CreateQaScorecard(ctx context.Context, in *CreateQaScorecardRequest, opts ...grpc.CallOption) (*QaScorecard, error)
// Gets a QaScorecard.
GetQaScorecard(ctx context.Context, in *GetQaScorecardRequest, opts ...grpc.CallOption) (*QaScorecard, error)
// Updates a QaScorecard.
UpdateQaScorecard(ctx context.Context, in *UpdateQaScorecardRequest, opts ...grpc.CallOption) (*QaScorecard, error)
// Deletes a QaScorecard.
DeleteQaScorecard(ctx context.Context, in *DeleteQaScorecardRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists QaScorecards.
ListQaScorecards(ctx context.Context, in *ListQaScorecardsRequest, opts ...grpc.CallOption) (*ListQaScorecardsResponse, error)
// Creates a QaScorecardRevision.
CreateQaScorecardRevision(ctx context.Context, in *CreateQaScorecardRevisionRequest, opts ...grpc.CallOption) (*QaScorecardRevision, error)
// Gets a QaScorecardRevision.
GetQaScorecardRevision(ctx context.Context, in *GetQaScorecardRevisionRequest, opts ...grpc.CallOption) (*QaScorecardRevision, error)
// Fine tune one or more QaModels.
TuneQaScorecardRevision(ctx context.Context, in *TuneQaScorecardRevisionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deploy a QaScorecardRevision.
DeployQaScorecardRevision(ctx context.Context, in *DeployQaScorecardRevisionRequest, opts ...grpc.CallOption) (*QaScorecardRevision, error)
// Undeploy a QaScorecardRevision.
UndeployQaScorecardRevision(ctx context.Context, in *UndeployQaScorecardRevisionRequest, opts ...grpc.CallOption) (*QaScorecardRevision, error)
// Deletes a QaScorecardRevision.
DeleteQaScorecardRevision(ctx context.Context, in *DeleteQaScorecardRevisionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists all revisions under the parent QaScorecard.
ListQaScorecardRevisions(ctx context.Context, in *ListQaScorecardRevisionsRequest, opts ...grpc.CallOption) (*ListQaScorecardRevisionsResponse, error)
// Create feedback label.
CreateFeedbackLabel(ctx context.Context, in *CreateFeedbackLabelRequest, opts ...grpc.CallOption) (*FeedbackLabel, error)
// List feedback labels.
ListFeedbackLabels(ctx context.Context, in *ListFeedbackLabelsRequest, opts ...grpc.CallOption) (*ListFeedbackLabelsResponse, error)
// Get feedback label.
GetFeedbackLabel(ctx context.Context, in *GetFeedbackLabelRequest, opts ...grpc.CallOption) (*FeedbackLabel, error)
// Update feedback label.
UpdateFeedbackLabel(ctx context.Context, in *UpdateFeedbackLabelRequest, opts ...grpc.CallOption) (*FeedbackLabel, error)
// Delete feedback label.
DeleteFeedbackLabel(ctx context.Context, in *DeleteFeedbackLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// List all feedback labels by project number.
ListAllFeedbackLabels(ctx context.Context, in *ListAllFeedbackLabelsRequest, opts ...grpc.CallOption) (*ListAllFeedbackLabelsResponse, error)
// Upload feedback labels in bulk.
BulkUploadFeedbackLabels(ctx context.Context, in *BulkUploadFeedbackLabelsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Download feedback labels in bulk.
BulkDownloadFeedbackLabels(ctx context.Context, in *BulkDownloadFeedbackLabelsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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.
// Note that this method does not support audio transcription or redaction.
// Use `conversations.upload` instead.
CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
// Create a long-running 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)
// Exports an issue model to the provided destination.
ExportIssueModel(context.Context, *ExportIssueModelRequest) (*longrunningpb.Operation, error)
// Imports an issue model from a Cloud Storage bucket.
ImportIssueModel(context.Context, *ImportIssueModelRequest) (*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 analysis rule.
CreateAnalysisRule(context.Context, *CreateAnalysisRuleRequest) (*AnalysisRule, error)
// Get a analysis rule.
GetAnalysisRule(context.Context, *GetAnalysisRuleRequest) (*AnalysisRule, error)
// Lists analysis rules.
ListAnalysisRules(context.Context, *ListAnalysisRulesRequest) (*ListAnalysisRulesResponse, error)
// Updates a analysis rule.
UpdateAnalysisRule(context.Context, *UpdateAnalysisRuleRequest) (*AnalysisRule, error)
// Deletes a analysis rule.
DeleteAnalysisRule(context.Context, *DeleteAnalysisRuleRequest) (*emptypb.Empty, error)
// Gets location-level encryption key specification.
GetEncryptionSpec(context.Context, *GetEncryptionSpecRequest) (*EncryptionSpec, error)
// Initializes a location-level encryption key specification. An error will
// result if the location has resources already created before the
// initialization. After the encryption specification is initialized at a
// location, it is immutable and all newly created resources under the
// location will be encrypted with the existing specification.
InitializeEncryptionSpec(context.Context, *InitializeEncryptionSpecRequest) (*longrunningpb.Operation, 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)
// Query metrics.
QueryMetrics(context.Context, *QueryMetricsRequest) (*longrunningpb.Operation, error)
// Create a QaQuestion.
CreateQaQuestion(context.Context, *CreateQaQuestionRequest) (*QaQuestion, error)
// Gets a QaQuestion.
GetQaQuestion(context.Context, *GetQaQuestionRequest) (*QaQuestion, error)
// Updates a QaQuestion.
UpdateQaQuestion(context.Context, *UpdateQaQuestionRequest) (*QaQuestion, error)
// Deletes a QaQuestion.
DeleteQaQuestion(context.Context, *DeleteQaQuestionRequest) (*emptypb.Empty, error)
// Lists QaQuestions.
ListQaQuestions(context.Context, *ListQaQuestionsRequest) (*ListQaQuestionsResponse, error)
// Create a QaScorecard.
CreateQaScorecard(context.Context, *CreateQaScorecardRequest) (*QaScorecard, error)
// Gets a QaScorecard.
GetQaScorecard(context.Context, *GetQaScorecardRequest) (*QaScorecard, error)
// Updates a QaScorecard.
UpdateQaScorecard(context.Context, *UpdateQaScorecardRequest) (*QaScorecard, error)
// Deletes a QaScorecard.
DeleteQaScorecard(context.Context, *DeleteQaScorecardRequest) (*emptypb.Empty, error)
// Lists QaScorecards.
ListQaScorecards(context.Context, *ListQaScorecardsRequest) (*ListQaScorecardsResponse, error)
// Creates a QaScorecardRevision.
CreateQaScorecardRevision(context.Context, *CreateQaScorecardRevisionRequest) (*QaScorecardRevision, error)
// Gets a QaScorecardRevision.
GetQaScorecardRevision(context.Context, *GetQaScorecardRevisionRequest) (*QaScorecardRevision, error)
// Fine tune one or more QaModels.
TuneQaScorecardRevision(context.Context, *TuneQaScorecardRevisionRequest) (*longrunningpb.Operation, error)
// Deploy a QaScorecardRevision.
DeployQaScorecardRevision(context.Context, *DeployQaScorecardRevisionRequest) (*QaScorecardRevision, error)
// Undeploy a QaScorecardRevision.
UndeployQaScorecardRevision(context.Context, *UndeployQaScorecardRevisionRequest) (*QaScorecardRevision, error)
// Deletes a QaScorecardRevision.
DeleteQaScorecardRevision(context.Context, *DeleteQaScorecardRevisionRequest) (*emptypb.Empty, error)
// Lists all revisions under the parent QaScorecard.
ListQaScorecardRevisions(context.Context, *ListQaScorecardRevisionsRequest) (*ListQaScorecardRevisionsResponse, error)
// Create feedback label.
CreateFeedbackLabel(context.Context, *CreateFeedbackLabelRequest) (*FeedbackLabel, error)
// List feedback labels.
ListFeedbackLabels(context.Context, *ListFeedbackLabelsRequest) (*ListFeedbackLabelsResponse, error)
// Get feedback label.
GetFeedbackLabel(context.Context, *GetFeedbackLabelRequest) (*FeedbackLabel, error)
// Update feedback label.
UpdateFeedbackLabel(context.Context, *UpdateFeedbackLabelRequest) (*FeedbackLabel, error)
// Delete feedback label.
DeleteFeedbackLabel(context.Context, *DeleteFeedbackLabelRequest) (*emptypb.Empty, error)
// List all feedback labels by project number.
ListAllFeedbackLabels(context.Context, *ListAllFeedbackLabelsRequest) (*ListAllFeedbackLabelsResponse, error)
// Upload feedback labels in bulk.
BulkUploadFeedbackLabels(context.Context, *BulkUploadFeedbackLabelsRequest) (*longrunningpb.Operation, error)
// Download feedback labels in bulk.
BulkDownloadFeedbackLabels(context.Context, *BulkDownloadFeedbackLabelsRequest) (*longrunningpb.Operation, 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"`
MetadataJson string `protobuf:"bytes,25,opt,name=metadata_json,json=metadataJson,proto3" json:"metadata_json,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) GetMetadataJson
func (x *Conversation) GetMetadataJson() string
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
ConversationLevelSilence
type ConversationLevelSilence struct {
// Amount of time calculated to be in silence.
SilenceDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=silence_duration,json=silenceDuration,proto3" json:"silence_duration,omitempty"`
// Percentage of the total conversation spent in silence.
SilencePercentage float32 `protobuf:"fixed32,2,opt,name=silence_percentage,json=silencePercentage,proto3" json:"silence_percentage,omitempty"`
// contains filtered or unexported fields
}
Conversation-level silence data.
func (*ConversationLevelSilence) Descriptor
func (*ConversationLevelSilence) Descriptor() ([]byte, []int)
Deprecated: Use ConversationLevelSilence.ProtoReflect.Descriptor instead.
func (*ConversationLevelSilence) GetSilenceDuration
func (x *ConversationLevelSilence) GetSilenceDuration() *durationpb.Duration
func (*ConversationLevelSilence) GetSilencePercentage
func (x *ConversationLevelSilence) GetSilencePercentage() float32
func (*ConversationLevelSilence) ProtoMessage
func (*ConversationLevelSilence) ProtoMessage()
func (*ConversationLevelSilence) ProtoReflect
func (x *ConversationLevelSilence) ProtoReflect() protoreflect.Message
func (*ConversationLevelSilence) Reset
func (x *ConversationLevelSilence) Reset()
func (*ConversationLevelSilence) String
func (x *ConversationLevelSilence) 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 *AnnotatorSelector `protobuf:"bytes,4,opt,name=annotator_selector,json=annotatorSelector,proto3" json:"annotator_selector,omitempty"`
// contains filtered or unexported fields
}
Metadata for a create analysis operation.
func (*CreateAnalysisOperationMetadata) Descriptor
func (*CreateAnalysisOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnalysisOperationMetadata.ProtoReflect.Descriptor instead.
func (*CreateAnalysisOperationMetadata) GetAnnotatorSelector
func (x *CreateAnalysisOperationMetadata) GetAnnotatorSelector() *AnnotatorSelector
func (*CreateAnalysisOperationMetadata) GetConversation
func (x *CreateAnalysisOperationMetadata) GetConversation() string
func (*CreateAnalysisOperationMetadata) GetCreateTime
func (x *CreateAnalysisOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*CreateAnalysisOperationMetadata) GetEndTime
func (x *CreateAnalysisOperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*CreateAnalysisOperationMetadata) ProtoMessage
func (*CreateAnalysisOperationMetadata) ProtoMessage()
func (*CreateAnalysisOperationMetadata) ProtoReflect
func (x *CreateAnalysisOperationMetadata) ProtoReflect() protoreflect.Message
func (*CreateAnalysisOperationMetadata) Reset
func (x *CreateAnalysisOperationMetadata) Reset()
func (*CreateAnalysisOperationMetadata) String
func (x *CreateAnalysisOperationMetadata) String() string
CreateAnalysisRequest
type CreateAnalysisRequest struct {
// Required. The parent resource of the analysis.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The analysis to create.
Analysis *Analysis `protobuf:"bytes,2,opt,name=analysis,proto3" json:"analysis,omitempty"`
// contains filtered or unexported fields
}
The request to create an analysis.
func (*CreateAnalysisRequest) Descriptor
func (*CreateAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnalysisRequest.ProtoReflect.Descriptor instead.
func (*CreateAnalysisRequest) GetAnalysis
func (x *CreateAnalysisRequest) GetAnalysis() *Analysis
func (*CreateAnalysisRequest) GetParent
func (x *CreateAnalysisRequest) GetParent() string
func (*CreateAnalysisRequest) ProtoMessage
func (*CreateAnalysisRequest) ProtoMessage()
func (*CreateAnalysisRequest) ProtoReflect
func (x *CreateAnalysisRequest) ProtoReflect() protoreflect.Message
func (*CreateAnalysisRequest) Reset
func (x *CreateAnalysisRequest) Reset()
func (*CreateAnalysisRequest) String
func (x *CreateAnalysisRequest) String() string
CreateAnalysisRuleRequest
type CreateAnalysisRuleRequest struct {
// Required. The parent resource of the analysis rule. Required. The location
// to create a analysis rule for. Format: `projects/
The request to create a analysis rule. analysis_rule_id will be generated by the server.
func (*CreateAnalysisRuleRequest) Descriptor
func (*CreateAnalysisRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnalysisRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateAnalysisRuleRequest) GetAnalysisRule
func (x *CreateAnalysisRuleRequest) GetAnalysisRule() *AnalysisRule
func (*CreateAnalysisRuleRequest) GetParent
func (x *CreateAnalysisRuleRequest) GetParent() string
func (*CreateAnalysisRuleRequest) ProtoMessage
func (*CreateAnalysisRuleRequest) ProtoMessage()
func (*CreateAnalysisRuleRequest) ProtoReflect
func (x *CreateAnalysisRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateAnalysisRuleRequest) Reset
func (x *CreateAnalysisRuleRequest) Reset()
func (*CreateAnalysisRuleRequest) String
func (x *CreateAnalysisRuleRequest) String() string
CreateConversationRequest
type CreateConversationRequest struct {
// Required. The parent resource of the conversation.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The conversation resource to create.
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
// A unique ID for the new conversation. This ID will become the final
// component of the conversation's resource name. If no ID is specified, a
// server-generated ID will be used.
//
// This value should be 4-64 characters and must match the regular
// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
ConversationId string `protobuf:"bytes,3,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
// contains filtered or unexported fields
}
Request to create a conversation.
func (*CreateConversationRequest) Descriptor
func (*CreateConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConversationRequest.ProtoReflect.Descriptor instead.
func (*CreateConversationRequest) GetConversation
func (x *CreateConversationRequest) GetConversation() *Conversation
func (*CreateConversationRequest) GetConversationId
func (x *CreateConversationRequest) GetConversationId() string
func (*CreateConversationRequest) GetParent
func (x *CreateConversationRequest) GetParent() string
func (*CreateConversationRequest) ProtoMessage
func (*CreateConversationRequest) ProtoMessage()
func (*CreateConversationRequest) ProtoReflect
func (x *CreateConversationRequest) ProtoReflect() protoreflect.Message
func (*CreateConversationRequest) Reset
func (x *CreateConversationRequest) Reset()
func (*CreateConversationRequest) String
func (x *CreateConversationRequest) String() string
CreateFeedbackLabelRequest
type CreateFeedbackLabelRequest struct {
// Required. The parent resource of the feedback label.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The ID of the feedback label to create.
// If one is not specified it will be generated by the server.
FeedbackLabelId string `protobuf:"bytes,2,opt,name=feedback_label_id,json=feedbackLabelId,proto3" json:"feedback_label_id,omitempty"`
// Required. The feedback label to create.
FeedbackLabel *FeedbackLabel `protobuf:"bytes,3,opt,name=feedback_label,json=feedbackLabel,proto3" json:"feedback_label,omitempty"`
// contains filtered or unexported fields
}
The request for creating a feedback label.
func (*CreateFeedbackLabelRequest) Descriptor
func (*CreateFeedbackLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeedbackLabelRequest.ProtoReflect.Descriptor instead.
func (*CreateFeedbackLabelRequest) GetFeedbackLabel
func (x *CreateFeedbackLabelRequest) GetFeedbackLabel() *FeedbackLabel
func (*CreateFeedbackLabelRequest) GetFeedbackLabelId
func (x *CreateFeedbackLabelRequest) GetFeedbackLabelId() string
func (*CreateFeedbackLabelRequest) GetParent
func (x *CreateFeedbackLabelRequest) GetParent() string
func (*CreateFeedbackLabelRequest) ProtoMessage
func (*CreateFeedbackLabelRequest) ProtoMessage()
func (*CreateFeedbackLabelRequest) ProtoReflect
func (x *CreateFeedbackLabelRequest) ProtoReflect() protoreflect.Message
func (*CreateFeedbackLabelRequest) Reset
func (x *CreateFeedbackLabelRequest) Reset()
func (*CreateFeedbackLabelRequest) String
func (x *CreateFeedbackLabelRequest) String() string
CreateIssueModelMetadata
type CreateIssueModelMetadata 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"`
// The original request for creation.
Request *CreateIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Metadata for creating an issue model.
func (*CreateIssueModelMetadata) Descriptor
func (*CreateIssueModelMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateIssueModelMetadata.ProtoReflect.Descriptor instead.
func (*CreateIssueModelMetadata) GetCreateTime
func (x *CreateIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp
func (*CreateIssueModelMetadata) GetEndTime
func (x *CreateIssueModelMetadata) GetEndTime() *timestamppb.Timestamp
func (*CreateIssueModelMetadata) GetRequest
func (x *CreateIssueModelMetadata) GetRequest() *CreateIssueModelRequest
func (*CreateIssueModelMetadata) ProtoMessage
func (*CreateIssueModelMetadata) ProtoMessage()
func (*CreateIssueModelMetadata) ProtoReflect
func (x *CreateIssueModelMetadata) ProtoReflect() protoreflect.Message
func (*CreateIssueModelMetadata) Reset
func (x *CreateIssueModelMetadata) Reset()
func (*CreateIssueModelMetadata) String
func (x *CreateIssueModelMetadata) String() string
CreateIssueModelRequest
type CreateIssueModelRequest struct {
// Required. The parent resource of the issue model.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The issue model to create.
IssueModel *IssueModel `protobuf:"bytes,2,opt,name=issue_model,json=issueModel,proto3" json:"issue_model,omitempty"`
// contains filtered or unexported fields
}
The request to create an issue model.
func (*CreateIssueModelRequest) Descriptor
func (*CreateIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIssueModelRequest.ProtoReflect.Descriptor instead.
func (*CreateIssueModelRequest) GetIssueModel
func (x *CreateIssueModelRequest) GetIssueModel() *IssueModel
func (*CreateIssueModelRequest) GetParent
func (x *CreateIssueModelRequest) GetParent() string
func (*CreateIssueModelRequest) ProtoMessage
func (*CreateIssueModelRequest) ProtoMessage()
func (*CreateIssueModelRequest) ProtoReflect
func (x *CreateIssueModelRequest) ProtoReflect() protoreflect.Message
func (*CreateIssueModelRequest) Reset
func (x *CreateIssueModelRequest) Reset()
func (*CreateIssueModelRequest) String
func (x *CreateIssueModelRequest) String() string
CreatePhraseMatcherRequest
type CreatePhraseMatcherRequest struct {
// Required. The parent resource of the phrase matcher. Required. The location
// to create a phrase matcher for. Format: `projects/
Request to create a phrase matcher.
func (*CreatePhraseMatcherRequest) Descriptor
func (*CreatePhraseMatcherRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePhraseMatcherRequest.ProtoReflect.Descriptor instead.
func (*CreatePhraseMatcherRequest) GetParent
func (x *CreatePhraseMatcherRequest) GetParent() string
func (*CreatePhraseMatcherRequest) GetPhraseMatcher
func (x *CreatePhraseMatcherRequest) GetPhraseMatcher() *PhraseMatcher
func (*CreatePhraseMatcherRequest) ProtoMessage
func (*CreatePhraseMatcherRequest) ProtoMessage()
func (*CreatePhraseMatcherRequest) ProtoReflect
func (x *CreatePhraseMatcherRequest) ProtoReflect() protoreflect.Message
func (*CreatePhraseMatcherRequest) Reset
func (x *CreatePhraseMatcherRequest) Reset()
func (*CreatePhraseMatcherRequest) String
func (x *CreatePhraseMatcherRequest) String() string
CreateQaQuestionRequest
type CreateQaQuestionRequest struct {
// Required. The parent resource of the QaQuestion.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The QaQuestion to create.
QaQuestion *QaQuestion `protobuf:"bytes,2,opt,name=qa_question,json=qaQuestion,proto3" json:"qa_question,omitempty"`
// Optional. A unique ID for the new question. This ID will become the final
// component of the question's resource name. If no ID is specified, a
// server-generated ID will be used.
//
// This value should be 4-64 characters and must match the regular
// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`.
QaQuestionId string `protobuf:"bytes,3,opt,name=qa_question_id,json=qaQuestionId,proto3" json:"qa_question_id,omitempty"`
// contains filtered or unexported fields
}
The request for creating a QaQuestion.
func (*CreateQaQuestionRequest) Descriptor
func (*CreateQaQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateQaQuestionRequest.ProtoReflect.Descriptor instead.
func (*CreateQaQuestionRequest) GetParent
func (x *CreateQaQuestionRequest) GetParent() string
func (*CreateQaQuestionRequest) GetQaQuestion
func (x *CreateQaQuestionRequest) GetQaQuestion() *QaQuestion
func (*CreateQaQuestionRequest) GetQaQuestionId
func (x *CreateQaQuestionRequest) GetQaQuestionId() string
func (*CreateQaQuestionRequest) ProtoMessage
func (*CreateQaQuestionRequest) ProtoMessage()
func (*CreateQaQuestionRequest) ProtoReflect
func (x *CreateQaQuestionRequest) ProtoReflect() protoreflect.Message
func (*CreateQaQuestionRequest) Reset
func (x *CreateQaQuestionRequest) Reset()
func (*CreateQaQuestionRequest) String
func (x *CreateQaQuestionRequest) String() string
CreateQaScorecardRequest
type CreateQaScorecardRequest struct {
// Required. The parent resource of the QaScorecard.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The QaScorecard to create.
QaScorecard *QaScorecard `protobuf:"bytes,2,opt,name=qa_scorecard,json=qaScorecard,proto3" json:"qa_scorecard,omitempty"`
// Optional. A unique ID for the new QaScorecard. This ID will become the
// final component of the QaScorecard's resource name. If no ID is specified,
// a server-generated ID will be used.
//
// This value should be 4-64 characters and must match the regular
// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`.
QaScorecardId string `protobuf:"bytes,3,opt,name=qa_scorecard_id,json=qaScorecardId,proto3" json:"qa_scorecard_id,omitempty"`
// contains filtered or unexported fields
}
The request for creating a QaScorecard.
func (*CreateQaScorecardRequest) Descriptor
func (*CreateQaScorecardRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateQaScorecardRequest.ProtoReflect.Descriptor instead.
func (*CreateQaScorecardRequest) GetParent
func (x *CreateQaScorecardRequest) GetParent() string
func (*CreateQaScorecardRequest) GetQaScorecard
func (x *CreateQaScorecardRequest) GetQaScorecard() *QaScorecard
func (*CreateQaScorecardRequest) GetQaScorecardId
func (x *CreateQaScorecardRequest) GetQaScorecardId() string
func (*CreateQaScorecardRequest) ProtoMessage
func (*CreateQaScorecardRequest) ProtoMessage()
func (*CreateQaScorecardRequest) ProtoReflect
func (x *CreateQaScorecardRequest) ProtoReflect() protoreflect.Message
func (*CreateQaScorecardRequest) Reset
func (x *CreateQaScorecardRequest) Reset()
func (*CreateQaScorecardRequest) String
func (x *CreateQaScorecardRequest) String() string
CreateQaScorecardRevisionRequest
type CreateQaScorecardRevisionRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
QaScorecardRevision *QaScorecardRevision `protobuf:"bytes,2,opt,name=qa_scorecard_revision,json=qaScorecardRevision,proto3" json:"qa_scorecard_revision,omitempty"`
QaScorecardRevisionId string "" /* 128 byte string literal not displayed */
}
The request for creating a QaScorecardRevision.
func (*CreateQaScorecardRevisionRequest) Descriptor
func (*CreateQaScorecardRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateQaScorecardRevisionRequest.ProtoReflect.Descriptor instead.
func (*CreateQaScorecardRevisionRequest) GetParent
func (x *CreateQaScorecardRevisionRequest) GetParent() string
func (*CreateQaScorecardRevisionRequest) GetQaScorecardRevision
func (x *CreateQaScorecardRevisionRequest) GetQaScorecardRevision() *QaScorecardRevision
func (*CreateQaScorecardRevisionRequest) GetQaScorecardRevisionId
func (x *CreateQaScorecardRevisionRequest) GetQaScorecardRevisionId() string
func (*CreateQaScorecardRevisionRequest) ProtoMessage
func (*CreateQaScorecardRevisionRequest) ProtoMessage()
func (*CreateQaScorecardRevisionRequest) ProtoReflect
func (x *CreateQaScorecardRevisionRequest) ProtoReflect() protoreflect.Message
func (*CreateQaScorecardRevisionRequest) Reset
func (x *CreateQaScorecardRevisionRequest) Reset()
func (*CreateQaScorecardRevisionRequest) String
func (x *CreateQaScorecardRevisionRequest) String() string
CreateViewRequest
type CreateViewRequest struct {
// Required. The parent resource of the view. Required. The location to create
// a view for.
// Format: `projects/
The request to create a view.
func (*CreateViewRequest) Descriptor
func (*CreateViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateViewRequest.ProtoReflect.Descriptor instead.
func (*CreateViewRequest) GetParent
func (x *CreateViewRequest) GetParent() string
func (*CreateViewRequest) GetView
func (x *CreateViewRequest) GetView() *View
func (*CreateViewRequest) ProtoMessage
func (*CreateViewRequest) ProtoMessage()
func (*CreateViewRequest) ProtoReflect
func (x *CreateViewRequest) ProtoReflect() protoreflect.Message
func (*CreateViewRequest) Reset
func (x *CreateViewRequest) Reset()
func (*CreateViewRequest) String
func (x *CreateViewRequest) String() string
DatasetValidationWarning
type DatasetValidationWarning int32
Enum for the different types of issues a tuning dataset can have. These warnings are currentlyraised when trying to validate a dataset for tuning a scorecard.
DatasetValidationWarning_DATASET_VALIDATION_WARNING_UNSPECIFIED, DatasetValidationWarning_TOO_MANY_INVALID_FEEDBACK_LABELS, DatasetValidationWarning_INSUFFICIENT_FEEDBACK_LABELS, DatasetValidationWarning_INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER, DatasetValidationWarning_ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER
const (
// Unspecified data validation warning.
DatasetValidationWarning_DATASET_VALIDATION_WARNING_UNSPECIFIED DatasetValidationWarning = 0
// A non-trivial percentage of the feedback labels are invalid.
DatasetValidationWarning_TOO_MANY_INVALID_FEEDBACK_LABELS DatasetValidationWarning = 1
// The quantity of valid feedback labels provided is less than the
// recommended minimum.
DatasetValidationWarning_INSUFFICIENT_FEEDBACK_LABELS DatasetValidationWarning = 2
// One or more of the answers have less than the recommended minimum of
// feedback labels.
DatasetValidationWarning_INSUFFICIENT_FEEDBACK_LABELS_PER_ANSWER DatasetValidationWarning = 3
// All the labels in the dataset come from a single answer choice.
DatasetValidationWarning_ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER DatasetValidationWarning = 4
)
func (DatasetValidationWarning) Descriptor
func (DatasetValidationWarning) Descriptor() protoreflect.EnumDescriptor
func (DatasetValidationWarning) Enum
func (x DatasetValidationWarning) Enum() *DatasetValidationWarning
func (DatasetValidationWarning) EnumDescriptor
func (DatasetValidationWarning) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatasetValidationWarning.Descriptor instead.
func (DatasetValidationWarning) Number
func (x DatasetValidationWarning) Number() protoreflect.EnumNumber
func (DatasetValidationWarning) String
func (x DatasetValidationWarning) String() string
func (DatasetValidationWarning) Type
func (DatasetValidationWarning) Type() protoreflect.EnumType
DeleteAnalysisRequest
type DeleteAnalysisRequest struct {
// Required. The name of the analysis to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete an analysis.
func (*DeleteAnalysisRequest) Descriptor
func (*DeleteAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnalysisRequest.ProtoReflect.Descriptor instead.
func (*DeleteAnalysisRequest) GetName
func (x *DeleteAnalysisRequest) GetName() string
func (*DeleteAnalysisRequest) ProtoMessage
func (*DeleteAnalysisRequest) ProtoMessage()
func (*DeleteAnalysisRequest) ProtoReflect
func (x *DeleteAnalysisRequest) ProtoReflect() protoreflect.Message
func (*DeleteAnalysisRequest) Reset
func (x *DeleteAnalysisRequest) Reset()
func (*DeleteAnalysisRequest) String
func (x *DeleteAnalysisRequest) String() string
DeleteAnalysisRuleRequest
type DeleteAnalysisRuleRequest struct {
// Required. The name of the analysis rule to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete a analysis rule.
func (*DeleteAnalysisRuleRequest) Descriptor
func (*DeleteAnalysisRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnalysisRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteAnalysisRuleRequest) GetName
func (x *DeleteAnalysisRuleRequest) GetName() string
func (*DeleteAnalysisRuleRequest) ProtoMessage
func (*DeleteAnalysisRuleRequest) ProtoMessage()
func (*DeleteAnalysisRuleRequest) ProtoReflect
func (x *DeleteAnalysisRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteAnalysisRuleRequest) Reset
func (x *DeleteAnalysisRuleRequest) Reset()
func (*DeleteAnalysisRuleRequest) String
func (x *DeleteAnalysisRuleRequest) String() string
DeleteConversationRequest
type DeleteConversationRequest struct {
// Required. The name of the conversation to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
The request to delete a conversation.
func (*DeleteConversationRequest) Descriptor
func (*DeleteConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConversationRequest.ProtoReflect.Descriptor instead.
func (*DeleteConversationRequest) GetForce
func (x *DeleteConversationRequest) GetForce() bool
func (*DeleteConversationRequest) GetName
func (x *DeleteConversationRequest) GetName() string
func (*DeleteConversationRequest) ProtoMessage
func (*DeleteConversationRequest) ProtoMessage()
func (*DeleteConversationRequest) ProtoReflect
func (x *DeleteConversationRequest) ProtoReflect() protoreflect.Message
func (*DeleteConversationRequest) Reset
func (x *DeleteConversationRequest) Reset()
func (*DeleteConversationRequest) String
func (x *DeleteConversationRequest) String() string
DeleteFeedbackLabelRequest
type DeleteFeedbackLabelRequest struct {
// Required. The name of the feedback label to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for deleting a feedback label.
func (*DeleteFeedbackLabelRequest) Descriptor
func (*DeleteFeedbackLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFeedbackLabelRequest.ProtoReflect.Descriptor instead.
func (*DeleteFeedbackLabelRequest) GetName
func (x *DeleteFeedbackLabelRequest) GetName() string
func (*DeleteFeedbackLabelRequest) ProtoMessage
func (*DeleteFeedbackLabelRequest) ProtoMessage()
func (*DeleteFeedbackLabelRequest) ProtoReflect
func (x *DeleteFeedbackLabelRequest) ProtoReflect() protoreflect.Message
func (*DeleteFeedbackLabelRequest) Reset
func (x *DeleteFeedbackLabelRequest) Reset()
func (*DeleteFeedbackLabelRequest) String
func (x *DeleteFeedbackLabelRequest) String() string
DeleteIssueModelMetadata
type DeleteIssueModelMetadata 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"`
// The original request for deletion.
Request *DeleteIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Metadata for deleting an issue model.
func (*DeleteIssueModelMetadata) Descriptor
func (*DeleteIssueModelMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIssueModelMetadata.ProtoReflect.Descriptor instead.
func (*DeleteIssueModelMetadata) GetCreateTime
func (x *DeleteIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp
func (*DeleteIssueModelMetadata) GetEndTime
func (x *DeleteIssueModelMetadata) GetEndTime() *timestamppb.Timestamp
func (*DeleteIssueModelMetadata) GetRequest
func (x *DeleteIssueModelMetadata) GetRequest() *DeleteIssueModelRequest
func (*DeleteIssueModelMetadata) ProtoMessage
func (*DeleteIssueModelMetadata) ProtoMessage()
func (*DeleteIssueModelMetadata) ProtoReflect
func (x *DeleteIssueModelMetadata) ProtoReflect() protoreflect.Message
func (*DeleteIssueModelMetadata) Reset
func (x *DeleteIssueModelMetadata) Reset()
func (*DeleteIssueModelMetadata) String
func (x *DeleteIssueModelMetadata) String() string
DeleteIssueModelRequest
type DeleteIssueModelRequest struct {
// Required. The name of the issue model to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete an issue model.
func (*DeleteIssueModelRequest) Descriptor
func (*DeleteIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIssueModelRequest.ProtoReflect.Descriptor instead.
func (*DeleteIssueModelRequest) GetName
func (x *DeleteIssueModelRequest) GetName() string
func (*DeleteIssueModelRequest) ProtoMessage
func (*DeleteIssueModelRequest) ProtoMessage()
func (*DeleteIssueModelRequest) ProtoReflect
func (x *DeleteIssueModelRequest) ProtoReflect() protoreflect.Message
func (*DeleteIssueModelRequest) Reset
func (x *DeleteIssueModelRequest) Reset()
func (*DeleteIssueModelRequest) String
func (x *DeleteIssueModelRequest) String() string
DeleteIssueRequest
type DeleteIssueRequest struct {
// Required. The name of the issue to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete an issue.
func (*DeleteIssueRequest) Descriptor
func (*DeleteIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIssueRequest.ProtoReflect.Descriptor instead.
func (*DeleteIssueRequest) GetName
func (x *DeleteIssueRequest) GetName() string
func (*DeleteIssueRequest) ProtoMessage
func (*DeleteIssueRequest) ProtoMessage()
func (*DeleteIssueRequest) ProtoReflect
func (x *DeleteIssueRequest) ProtoReflect() protoreflect.Message
func (*DeleteIssueRequest) Reset
func (x *DeleteIssueRequest) Reset()
func (*DeleteIssueRequest) String
func (x *DeleteIssueRequest) String() string
DeletePhraseMatcherRequest
type DeletePhraseMatcherRequest struct {
// Required. The name of the phrase matcher to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete a phrase matcher.
func (*DeletePhraseMatcherRequest) Descriptor
func (*DeletePhraseMatcherRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePhraseMatcherRequest.ProtoReflect.Descriptor instead.
func (*DeletePhraseMatcherRequest) GetName
func (x *DeletePhraseMatcherRequest) GetName() string
func (*DeletePhraseMatcherRequest) ProtoMessage
func (*DeletePhraseMatcherRequest) ProtoMessage()
func (*DeletePhraseMatcherRequest) ProtoReflect
func (x *DeletePhraseMatcherRequest) ProtoReflect() protoreflect.Message
func (*DeletePhraseMatcherRequest) Reset
func (x *DeletePhraseMatcherRequest) Reset()
func (*DeletePhraseMatcherRequest) String
func (x *DeletePhraseMatcherRequest) String() string
DeleteQaQuestionRequest
type DeleteQaQuestionRequest struct {
// Required. The name of the QaQuestion to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for deleting a QaQuestion.
func (*DeleteQaQuestionRequest) Descriptor
func (*DeleteQaQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteQaQuestionRequest.ProtoReflect.Descriptor instead.
func (*DeleteQaQuestionRequest) GetName
func (x *DeleteQaQuestionRequest) GetName() string
func (*DeleteQaQuestionRequest) ProtoMessage
func (*DeleteQaQuestionRequest) ProtoMessage()
func (*DeleteQaQuestionRequest) ProtoReflect
func (x *DeleteQaQuestionRequest) ProtoReflect() protoreflect.Message
func (*DeleteQaQuestionRequest) Reset
func (x *DeleteQaQuestionRequest) Reset()
func (*DeleteQaQuestionRequest) String
func (x *DeleteQaQuestionRequest) String() string
DeleteQaScorecardRequest
type DeleteQaScorecardRequest struct {
// Required. The name of the QaScorecard to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, all of this QaScorecard's child resources will
// also be deleted. Otherwise, the request will only succeed if it has none.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
The request for deleting a QaScorecard.
func (*DeleteQaScorecardRequest) Descriptor
func (*DeleteQaScorecardRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteQaScorecardRequest.ProtoReflect.Descriptor instead.
func (*DeleteQaScorecardRequest) GetForce
func (x *DeleteQaScorecardRequest) GetForce() bool
func (*DeleteQaScorecardRequest) GetName
func (x *DeleteQaScorecardRequest) GetName() string
func (*DeleteQaScorecardRequest) ProtoMessage
func (*DeleteQaScorecardRequest) ProtoMessage()
func (*DeleteQaScorecardRequest) ProtoReflect
func (x *DeleteQaScorecardRequest) ProtoReflect() protoreflect.Message
func (*DeleteQaScorecardRequest) Reset
func (x *DeleteQaScorecardRequest) Reset()
func (*DeleteQaScorecardRequest) String
func (x *DeleteQaScorecardRequest) String() string
DeleteQaScorecardRevisionRequest
type DeleteQaScorecardRevisionRequest struct {
// Required. The name of the QaScorecardRevision to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set to true, all of this QaScorecardRevision's child resources
// will also be deleted. Otherwise, the request will only succeed if it has
// none.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
The request to delete a QaScorecardRevision.
func (*DeleteQaScorecardRevisionRequest) Descriptor
func (*DeleteQaScorecardRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteQaScorecardRevisionRequest.ProtoReflect.Descriptor instead.
func (*DeleteQaScorecardRevisionRequest) GetForce
func (x *DeleteQaScorecardRevisionRequest) GetForce() bool
func (*DeleteQaScorecardRevisionRequest) GetName
func (x *DeleteQaScorecardRevisionRequest) GetName() string
func (*DeleteQaScorecardRevisionRequest) ProtoMessage
func (*DeleteQaScorecardRevisionRequest) ProtoMessage()
func (*DeleteQaScorecardRevisionRequest) ProtoReflect
func (x *DeleteQaScorecardRevisionRequest) ProtoReflect() protoreflect.Message
func (*DeleteQaScorecardRevisionRequest) Reset
func (x *DeleteQaScorecardRevisionRequest) Reset()
func (*DeleteQaScorecardRevisionRequest) String
func (x *DeleteQaScorecardRevisionRequest) String() string
DeleteViewRequest
type DeleteViewRequest struct {
// Required. The name of the view to delete.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to delete a view.
func (*DeleteViewRequest) Descriptor
func (*DeleteViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteViewRequest.ProtoReflect.Descriptor instead.
func (*DeleteViewRequest) GetName
func (x *DeleteViewRequest) GetName() string
func (*DeleteViewRequest) ProtoMessage
func (*DeleteViewRequest) ProtoMessage()
func (*DeleteViewRequest) ProtoReflect
func (x *DeleteViewRequest) ProtoReflect() protoreflect.Message
func (*DeleteViewRequest) Reset
func (x *DeleteViewRequest) Reset()
func (*DeleteViewRequest) String
func (x *DeleteViewRequest) String() string
DeployIssueModelMetadata
type DeployIssueModelMetadata 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"`
// The original request for deployment.
Request *DeployIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Metadata for deploying an issue model.
func (*DeployIssueModelMetadata) Descriptor
func (*DeployIssueModelMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeployIssueModelMetadata.ProtoReflect.Descriptor instead.
func (*DeployIssueModelMetadata) GetCreateTime
func (x *DeployIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp
func (*DeployIssueModelMetadata) GetEndTime
func (x *DeployIssueModelMetadata) GetEndTime() *timestamppb.Timestamp
func (*DeployIssueModelMetadata) GetRequest
func (x *DeployIssueModelMetadata) GetRequest() *DeployIssueModelRequest
func (*DeployIssueModelMetadata) ProtoMessage
func (*DeployIssueModelMetadata) ProtoMessage()
func (*DeployIssueModelMetadata) ProtoReflect
func (x *DeployIssueModelMetadata) ProtoReflect() protoreflect.Message
func (*DeployIssueModelMetadata) Reset
func (x *DeployIssueModelMetadata) Reset()
func (*DeployIssueModelMetadata) String
func (x *DeployIssueModelMetadata) String() string
DeployIssueModelRequest
type DeployIssueModelRequest struct {
// Required. The issue model to deploy.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to deploy an issue model.
func (*DeployIssueModelRequest) Descriptor
func (*DeployIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployIssueModelRequest.ProtoReflect.Descriptor instead.
func (*DeployIssueModelRequest) GetName
func (x *DeployIssueModelRequest) GetName() string
func (*DeployIssueModelRequest) ProtoMessage
func (*DeployIssueModelRequest) ProtoMessage()
func (*DeployIssueModelRequest) ProtoReflect
func (x *DeployIssueModelRequest) ProtoReflect() protoreflect.Message
func (*DeployIssueModelRequest) Reset
func (x *DeployIssueModelRequest) Reset()
func (*DeployIssueModelRequest) String
func (x *DeployIssueModelRequest) String() string
DeployIssueModelResponse
type DeployIssueModelResponse struct {
// contains filtered or unexported fields
}
The response to deploy an issue model.
func (*DeployIssueModelResponse) Descriptor
func (*DeployIssueModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeployIssueModelResponse.ProtoReflect.Descriptor instead.
func (*DeployIssueModelResponse) ProtoMessage
func (*DeployIssueModelResponse) ProtoMessage()
func (*DeployIssueModelResponse) ProtoReflect
func (x *DeployIssueModelResponse) ProtoReflect() protoreflect.Message
func (*DeployIssueModelResponse) Reset
func (x *DeployIssueModelResponse) Reset()
func (*DeployIssueModelResponse) String
func (x *DeployIssueModelResponse) String() string
DeployQaScorecardRevisionRequest
type DeployQaScorecardRevisionRequest struct {
// Required. The name of the QaScorecardRevision to deploy.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to deploy a QaScorecardRevision
func (*DeployQaScorecardRevisionRequest) Descriptor
func (*DeployQaScorecardRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployQaScorecardRevisionRequest.ProtoReflect.Descriptor instead.
func (*DeployQaScorecardRevisionRequest) GetName
func (x *DeployQaScorecardRevisionRequest) GetName() string
func (*DeployQaScorecardRevisionRequest) ProtoMessage
func (*DeployQaScorecardRevisionRequest) ProtoMessage()
func (*DeployQaScorecardRevisionRequest) ProtoReflect
func (x *DeployQaScorecardRevisionRequest) ProtoReflect() protoreflect.Message
func (*DeployQaScorecardRevisionRequest) Reset
func (x *DeployQaScorecardRevisionRequest) Reset()
func (*DeployQaScorecardRevisionRequest) String
func (x *DeployQaScorecardRevisionRequest) String() string
DialogflowIntent
type DialogflowIntent struct {
// The human-readable name of the intent.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
The data for a Dialogflow intent. Represents a detected intent in the conversation, e.g. MAKES_PROMISE.
func (*DialogflowIntent) Descriptor
func (*DialogflowIntent) Descriptor() ([]byte, []int)
Deprecated: Use DialogflowIntent.ProtoReflect.Descriptor instead.
func (*DialogflowIntent) GetDisplayName
func (x *DialogflowIntent) GetDisplayName() string
func (*DialogflowIntent) ProtoMessage
func (*DialogflowIntent) ProtoMessage()
func (*DialogflowIntent) ProtoReflect
func (x *DialogflowIntent) ProtoReflect() protoreflect.Message
func (*DialogflowIntent) Reset
func (x *DialogflowIntent) Reset()
func (*DialogflowIntent) String
func (x *DialogflowIntent) String() string
DialogflowInteractionData
type DialogflowInteractionData struct {
// The Dialogflow intent resource path. Format:
// projects/{project}/agent/{agent}/intents/{intent}
DialogflowIntentId string `protobuf:"bytes,1,opt,name=dialogflow_intent_id,json=dialogflowIntentId,proto3" json:"dialogflow_intent_id,omitempty"`
// The confidence of the match ranging from 0.0 (completely uncertain) to 1.0
// (completely certain).
Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}
Dialogflow interaction data.
func (*DialogflowInteractionData) Descriptor
func (*DialogflowInteractionData) Descriptor() ([]byte, []int)
Deprecated: Use DialogflowInteractionData.ProtoReflect.Descriptor instead.
func (*DialogflowInteractionData) GetConfidence
func (x *DialogflowInteractionData) GetConfidence() float32
func (*DialogflowInteractionData) GetDialogflowIntentId
func (x *DialogflowInteractionData) GetDialogflowIntentId() string
func (*DialogflowInteractionData) ProtoMessage
func (*DialogflowInteractionData) ProtoMessage()
func (*DialogflowInteractionData) ProtoReflect
func (x *DialogflowInteractionData) ProtoReflect() protoreflect.Message
func (*DialogflowInteractionData) Reset
func (x *DialogflowInteractionData) Reset()
func (*DialogflowInteractionData) String
func (x *DialogflowInteractionData) String() string
DialogflowSource
type DialogflowSource struct {
DialogflowConversation string "" /* 127 byte string literal not displayed */
AudioUri string `protobuf:"bytes,3,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"`
}
A Dialogflow source of conversation data.
func (*DialogflowSource) Descriptor
func (*DialogflowSource) Descriptor() ([]byte, []int)
Deprecated: Use DialogflowSource.ProtoReflect.Descriptor instead.
func (*DialogflowSource) GetAudioUri
func (x *DialogflowSource) GetAudioUri() string
func (*DialogflowSource) GetDialogflowConversation
func (x *DialogflowSource) GetDialogflowConversation() string
func (*DialogflowSource) ProtoMessage
func (*DialogflowSource) ProtoMessage()
func (*DialogflowSource) ProtoReflect
func (x *DialogflowSource) ProtoReflect() protoreflect.Message
func (*DialogflowSource) Reset
func (x *DialogflowSource) Reset()
func (*DialogflowSource) String
func (x *DialogflowSource) String() string
Dimension
type Dimension struct {
DimensionMetadata isDimension_DimensionMetadata `protobuf_oneof:"dimension_metadata"`
DimensionKey Dimension_DimensionKey "" /* 164 byte string literal not displayed */
}
A dimension determines the grouping key for the query. In SQL terms, these would be part of both the "SELECT" and "GROUP BY" clauses.
func (*Dimension) Descriptor
Deprecated: Use Dimension.ProtoReflect.Descriptor instead.
func (*Dimension) GetAgentDimensionMetadata
func (x *Dimension) GetAgentDimensionMetadata() *Dimension_AgentDimensionMetadata
func (*Dimension) GetDimensionKey
func (x *Dimension) GetDimensionKey() Dimension_DimensionKey
func (*Dimension) GetDimensionMetadata
func (m *Dimension) GetDimensionMetadata() isDimension_DimensionMetadata
func (*Dimension) GetIssueDimensionMetadata
func (x *Dimension) GetIssueDimensionMetadata() *Dimension_IssueDimensionMetadata
func (*Dimension) GetQaQuestionAnswerDimensionMetadata
func (x *Dimension) GetQaQuestionAnswerDimensionMetadata() *Dimension_QaQuestionAnswerDimensionMetadata
func (*Dimension) GetQaQuestionDimensionMetadata
func (x *Dimension) GetQaQuestionDimensionMetadata() *Dimension_QaQuestionDimensionMetadata
func (*Dimension) ProtoMessage
func (*Dimension) ProtoMessage()
func (*Dimension) ProtoReflect
func (x *Dimension) ProtoReflect() protoreflect.Message
func (*Dimension) Reset
func (x *Dimension) Reset()
func (*Dimension) String
Dimension_AgentDimensionMetadata
type Dimension_AgentDimensionMetadata struct {
// Optional. A user-specified string representing the agent.
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// Optional. The agent's name
AgentDisplayName string `protobuf:"bytes,2,opt,name=agent_display_name,json=agentDisplayName,proto3" json:"agent_display_name,omitempty"`
// Optional. A user-specified string representing the agent's team.
AgentTeam string `protobuf:"bytes,3,opt,name=agent_team,json=agentTeam,proto3" json:"agent_team,omitempty"`
// contains filtered or unexported fields
}
Metadata about the agent dimension.
func (*Dimension_AgentDimensionMetadata) Descriptor
func (*Dimension_AgentDimensionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Dimension_AgentDimensionMetadata.ProtoReflect.Descriptor instead.
func (*Dimension_AgentDimensionMetadata) GetAgentDisplayName
func (x *Dimension_AgentDimensionMetadata) GetAgentDisplayName() string
func (*Dimension_AgentDimensionMetadata) GetAgentId
func (x *Dimension_AgentDimensionMetadata) GetAgentId() string
func (*Dimension_AgentDimensionMetadata) GetAgentTeam
func (x *Dimension_AgentDimensionMetadata) GetAgentTeam() string
func (*Dimension_AgentDimensionMetadata) ProtoMessage
func (*Dimension_AgentDimensionMetadata) ProtoMessage()
func (*Dimension_AgentDimensionMetadata) ProtoReflect
func (x *Dimension_AgentDimensionMetadata) ProtoReflect() protoreflect.Message
func (*Dimension_AgentDimensionMetadata) Reset
func (x *Dimension_AgentDimensionMetadata) Reset()
func (*Dimension_AgentDimensionMetadata) String
func (x *Dimension_AgentDimensionMetadata) String() string
Dimension_AgentDimensionMetadata_
type Dimension_AgentDimensionMetadata_ struct {
// Output only. Metadata about the agent dimension.
AgentDimensionMetadata *Dimension_AgentDimensionMetadata `protobuf:"bytes,3,opt,name=agent_dimension_metadata,json=agentDimensionMetadata,proto3,oneof"`
}
Dimension_DimensionKey
type Dimension_DimensionKey int32
The key of the dimension.
Dimension_DIMENSION_KEY_UNSPECIFIED, Dimension_ISSUE, Dimension_AGENT, Dimension_AGENT_TEAM, Dimension_QA_QUESTION_ID, Dimension_QA_QUESTION_ANSWER_VALUE, Dimension_CONVERSATION_PROFILE_ID
const (
// The key of the dimension is unspecified.
Dimension_DIMENSION_KEY_UNSPECIFIED Dimension_DimensionKey = 0
// The dimension is keyed by issues.
Dimension_ISSUE Dimension_DimensionKey = 1
// The dimension is keyed by agents.
Dimension_AGENT Dimension_DimensionKey = 2
// The dimension is keyed by agent teams.
Dimension_AGENT_TEAM Dimension_DimensionKey = 3
// The dimension is keyed by QaQuestionIds.
// Note that: We only group by the QuestionId and not the revision-id of the
// scorecard this question is a part of. This allows for showing stats for
// the same question across different scorecard revisions.
Dimension_QA_QUESTION_ID Dimension_DimensionKey = 4
// The dimension is keyed by QaQuestionIds-Answer value pairs.
// Note that: We only group by the QuestionId and not the revision-id of the
// scorecard this question is a part of. This allows for showing
// distribution of answers per question across different scorecard
// revisions.
Dimension_QA_QUESTION_ANSWER_VALUE Dimension_DimensionKey = 5
// The dimension is keyed by the conversation profile ID.
Dimension_CONVERSATION_PROFILE_ID Dimension_DimensionKey = 6
)
func (Dimension_DimensionKey) Descriptor
func (Dimension_DimensionKey) Descriptor() protoreflect.EnumDescriptor
func (Dimension_DimensionKey) Enum
func (x Dimension_DimensionKey) Enum() *Dimension_DimensionKey
func (Dimension_DimensionKey) EnumDescriptor
func (Dimension_DimensionKey) EnumDescriptor() ([]byte, []int)
Deprecated: Use Dimension_DimensionKey.Descriptor instead.
func (Dimension_DimensionKey) Number
func (x Dimension_DimensionKey) Number() protoreflect.EnumNumber
func (Dimension_DimensionKey) String
func (x Dimension_DimensionKey) String() string
func (Dimension_DimensionKey) Type
func (Dimension_DimensionKey) Type() protoreflect.EnumType
Dimension_IssueDimensionMetadata
type Dimension_IssueDimensionMetadata struct {
// The issue ID.
IssueId string `protobuf:"bytes,1,opt,name=issue_id,json=issueId,proto3" json:"issue_id,omitempty"`
// The issue display name.
IssueDisplayName string `protobuf:"bytes,2,opt,name=issue_display_name,json=issueDisplayName,proto3" json:"issue_display_name,omitempty"`
// The parent issue model ID.
IssueModelId string `protobuf:"bytes,3,opt,name=issue_model_id,json=issueModelId,proto3" json:"issue_model_id,omitempty"`
// contains filtered or unexported fields
}
Metadata about the issue dimension.
func (*Dimension_IssueDimensionMetadata) Descriptor
func (*Dimension_IssueDimensionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Dimension_IssueDimensionMetadata.ProtoReflect.Descriptor instead.
func (*Dimension_IssueDimensionMetadata) GetIssueDisplayName
func (x *Dimension_IssueDimensionMetadata) GetIssueDisplayName() string
func (*Dimension_IssueDimensionMetadata) GetIssueId
func (x *Dimension_IssueDimensionMetadata) GetIssueId() string
func (*Dimension_IssueDimensionMetadata) GetIssueModelId
func (x *Dimension_IssueDimensionMetadata) GetIssueModelId() string
func (*Dimension_IssueDimensionMetadata) ProtoMessage
func (*Dimension_IssueDimensionMetadata) ProtoMessage()
func (*Dimension_IssueDimensionMetadata) ProtoReflect
func (x *Dimension_IssueDimensionMetadata) ProtoReflect() protoreflect.Message
func (*Dimension_IssueDimensionMetadata) Reset
func (x *Dimension_IssueDimensionMetadata) Reset()
func (*Dimension_IssueDimensionMetadata) String
func (x *Dimension_IssueDimensionMetadata) String() string
Dimension_IssueDimensionMetadata_
type Dimension_IssueDimensionMetadata_ struct {
// Output only. Metadata about the issue dimension.
IssueDimensionMetadata *Dimension_IssueDimensionMetadata `protobuf:"bytes,2,opt,name=issue_dimension_metadata,json=issueDimensionMetadata,proto3,oneof"`
}
Dimension_QaQuestionAnswerDimensionMetadata
type Dimension_QaQuestionAnswerDimensionMetadata struct {
// Optional. The QA scorecard ID.
QaScorecardId string `protobuf:"bytes,1,opt,name=qa_scorecard_id,json=qaScorecardId,proto3" json:"qa_scorecard_id,omitempty"`
// Optional. The QA question ID.
QaQuestionId string `protobuf:"bytes,2,opt,name=qa_question_id,json=qaQuestionId,proto3" json:"qa_question_id,omitempty"`
// Optional. The full body of the question.
QuestionBody string `protobuf:"bytes,3,opt,name=question_body,json=questionBody,proto3" json:"question_body,omitempty"`
// Optional. The full body of the question.
AnswerValue string `protobuf:"bytes,4,opt,name=answer_value,json=answerValue,proto3" json:"answer_value,omitempty"`
// contains filtered or unexported fields
}
Metadata about the QA question-answer dimension. This is useful for showing the answer distribution for questions for a given scorecard.
func (*Dimension_QaQuestionAnswerDimensionMetadata) Descriptor
func (*Dimension_QaQuestionAnswerDimensionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Dimension_QaQuestionAnswerDimensionMetadata.ProtoReflect.Descriptor instead.
func (*Dimension_QaQuestionAnswerDimensionMetadata) GetAnswerValue
func (x *Dimension_QaQuestionAnswerDimensionMetadata) GetAnswerValue() string
func (*Dimension_QaQuestionAnswerDimensionMetadata) GetQaQuestionId
func (x *Dimension_QaQuestionAnswerDimensionMetadata) GetQaQuestionId() string
func (*Dimension_QaQuestionAnswerDimensionMetadata) GetQaScorecardId
func (x *Dimension_QaQuestionAnswerDimensionMetadata) GetQaScorecardId() string
func (*Dimension_QaQuestionAnswerDimensionMetadata) GetQuestionBody
func (x *Dimension_QaQuestionAnswerDimensionMetadata) GetQuestionBody() string
func (*Dimension_QaQuestionAnswerDimensionMetadata) ProtoMessage
func (*Dimension_QaQuestionAnswerDimensionMetadata) ProtoMessage()
func (*Dimension_QaQuestionAnswerDimensionMetadata) ProtoReflect
func (x *Dimension_QaQuestionAnswerDimensionMetadata) ProtoReflect() protoreflect.Message
func (*Dimension_QaQuestionAnswerDimensionMetadata) Reset
func (x *Dimension_QaQuestionAnswerDimensionMetadata) Reset()
func (*Dimension_QaQuestionAnswerDimensionMetadata) String
func (x *Dimension_QaQuestionAnswerDimensionMetadata) String() string
Dimension_QaQuestionAnswerDimensionMetadata_
type Dimension_QaQuestionAnswerDimensionMetadata_ struct {
// Output only. Metadata about the QA question-answer dimension.
QaQuestionAnswerDimensionMetadata *Dimension_QaQuestionAnswerDimensionMetadata `protobuf:"bytes,5,opt,name=qa_question_answer_dimension_metadata,json=qaQuestionAnswerDimensionMetadata,proto3,oneof"`
}
Dimension_QaQuestionDimensionMetadata
type Dimension_QaQuestionDimensionMetadata struct {
// Optional. The QA scorecard ID.
QaScorecardId string `protobuf:"bytes,1,opt,name=qa_scorecard_id,json=qaScorecardId,proto3" json:"qa_scorecard_id,omitempty"`
// Optional. The QA question ID.
QaQuestionId string `protobuf:"bytes,2,opt,name=qa_question_id,json=qaQuestionId,proto3" json:"qa_question_id,omitempty"`
// Optional. The full body of the question.
QuestionBody string `protobuf:"bytes,3,opt,name=question_body,json=questionBody,proto3" json:"question_body,omitempty"`
// contains filtered or unexported fields
}
Metadata about the QA question dimension.
func (*Dimension_QaQuestionDimensionMetadata) Descriptor
func (*Dimension_QaQuestionDimensionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use Dimension_QaQuestionDimensionMetadata.ProtoReflect.Descriptor instead.
func (*Dimension_QaQuestionDimensionMetadata) GetQaQuestionId
func (x *Dimension_QaQuestionDimensionMetadata) GetQaQuestionId() string
func (*Dimension_QaQuestionDimensionMetadata) GetQaScorecardId
func (x *Dimension_QaQuestionDimensionMetadata) GetQaScorecardId() string
func (*Dimension_QaQuestionDimensionMetadata) GetQuestionBody
func (x *Dimension_QaQuestionDimensionMetadata) GetQuestionBody() string
func (*Dimension_QaQuestionDimensionMetadata) ProtoMessage
func (*Dimension_QaQuestionDimensionMetadata) ProtoMessage()
func (*Dimension_QaQuestionDimensionMetadata) ProtoReflect
func (x *Dimension_QaQuestionDimensionMetadata) ProtoReflect() protoreflect.Message
func (*Dimension_QaQuestionDimensionMetadata) Reset
func (x *Dimension_QaQuestionDimensionMetadata) Reset()
func (*Dimension_QaQuestionDimensionMetadata) String
func (x *Dimension_QaQuestionDimensionMetadata) String() string
Dimension_QaQuestionDimensionMetadata_
type Dimension_QaQuestionDimensionMetadata_ struct {
// Output only. Metadata about the QA question dimension.
QaQuestionDimensionMetadata *Dimension_QaQuestionDimensionMetadata `protobuf:"bytes,4,opt,name=qa_question_dimension_metadata,json=qaQuestionDimensionMetadata,proto3,oneof"`
}
EncryptionSpec
type EncryptionSpec struct {
// Immutable. The resource name of the encryption key specification resource.
// Format:
// projects/{project}/locations/{location}/encryptionSpec
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The name of customer-managed encryption key that is used to
// secure a resource and its sub-resources. If empty, the resource is secured
// by our default encryption key. Only the key in the same location as this
// resource is allowed to be used for encryption. Format:
// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
KmsKey string `protobuf:"bytes,2,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// contains filtered or unexported fields
}
A customer-managed encryption key specification that can be applied to all
created resources (e.g. Conversation
).
func (*EncryptionSpec) Descriptor
func (*EncryptionSpec) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionSpec.ProtoReflect.Descriptor instead.
func (*EncryptionSpec) GetKmsKey
func (x *EncryptionSpec) GetKmsKey() string
func (*EncryptionSpec) GetName
func (x *EncryptionSpec) GetName() string
func (*EncryptionSpec) ProtoMessage
func (*EncryptionSpec) ProtoMessage()
func (*EncryptionSpec) ProtoReflect
func (x *EncryptionSpec) ProtoReflect() protoreflect.Message
func (*EncryptionSpec) Reset
func (x *EncryptionSpec) Reset()
func (*EncryptionSpec) String
func (x *EncryptionSpec) String() string
Entity
type Entity struct {
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Type Entity_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.contactcenterinsights.v1.Entity_Type" json:"type,omitempty"`
Metadata map[string]string "" /* 157 byte string literal not displayed */
Salience float32 `protobuf:"fixed32,4,opt,name=salience,proto3" json:"salience,omitempty"`
Sentiment *SentimentData `protobuf:"bytes,5,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
}
The data for an entity annotation. Represents a phrase in the conversation that is a known entity, such as a person, an organization, or location.
func (*Entity) Descriptor
Deprecated: Use Entity.ProtoReflect.Descriptor instead.
func (*Entity) GetDisplayName
func (*Entity) GetMetadata
func (*Entity) GetSalience
func (*Entity) GetSentiment
func (x *Entity) GetSentiment() *SentimentData
func (*Entity) GetType
func (x *Entity) GetType() Entity_Type
func (*Entity) ProtoMessage
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect
func (x *Entity) ProtoReflect() protoreflect.Message
func (*Entity) Reset
func (x *Entity) Reset()
func (*Entity) String
EntityMentionData
type EntityMentionData struct {
EntityUniqueId string `protobuf:"bytes,1,opt,name=entity_unique_id,json=entityUniqueId,proto3" json:"entity_unique_id,omitempty"`
Type EntityMentionData_MentionType "" /* 135 byte string literal not displayed */
Sentiment *SentimentData `protobuf:"bytes,3,opt,name=sentiment,proto3" json:"sentiment,omitempty"`
}
The data for an entity mention annotation.
This represents a mention of an Entity
in the conversation.
func (*EntityMentionData) Descriptor
func (*EntityMentionData) Descriptor() ([]byte, []int)
Deprecated: Use EntityMentionData.ProtoReflect.Descriptor instead.
func (*EntityMentionData) GetEntityUniqueId
func (x *EntityMentionData) GetEntityUniqueId() string
func (*EntityMentionData) GetSentiment
func (x *EntityMentionData) GetSentiment() *SentimentData
func (*EntityMentionData) GetType
func (x *EntityMentionData) GetType() EntityMentionData_MentionType
func (*EntityMentionData) ProtoMessage
func (*EntityMentionData) ProtoMessage()
func (*EntityMentionData) ProtoReflect
func (x *EntityMentionData) ProtoReflect() protoreflect.Message
func (*EntityMentionData) Reset
func (x *EntityMentionData) Reset()
func (*EntityMentionData) String
func (x *EntityMentionData) String() string
EntityMentionData_MentionType
type EntityMentionData_MentionType int32
The supported types of mentions.
EntityMentionData_MENTION_TYPE_UNSPECIFIED, EntityMentionData_PROPER, EntityMentionData_COMMON
const (
// Unspecified.
EntityMentionData_MENTION_TYPE_UNSPECIFIED EntityMentionData_MentionType = 0
// Proper noun.
EntityMentionData_PROPER EntityMentionData_MentionType = 1
// Common noun (or noun compound).
EntityMentionData_COMMON EntityMentionData_MentionType = 2
)
func (EntityMentionData_MentionType) Descriptor
func (EntityMentionData_MentionType) Descriptor() protoreflect.EnumDescriptor
func (EntityMentionData_MentionType) Enum
func (x EntityMentionData_MentionType) Enum() *EntityMentionData_MentionType
func (EntityMentionData_MentionType) EnumDescriptor
func (EntityMentionData_MentionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityMentionData_MentionType.Descriptor instead.
func (EntityMentionData_MentionType) Number
func (x EntityMentionData_MentionType) Number() protoreflect.EnumNumber
func (EntityMentionData_MentionType) String
func (x EntityMentionData_MentionType) String() string
func (EntityMentionData_MentionType) Type
func (EntityMentionData_MentionType) Type() protoreflect.EnumType
Entity_Type
type Entity_Type int32
The type of the entity. For most entity types, the associated metadata is a
Wikipedia URL (wikipedia_url
) and Knowledge Graph MID (mid
). The table
below lists the associated fields for entities that have different
metadata.
Entity_TYPE_UNSPECIFIED, Entity_PERSON, Entity_LOCATION, Entity_ORGANIZATION, Entity_EVENT, Entity_WORK_OF_ART, Entity_CONSUMER_GOOD, Entity_OTHER, Entity_PHONE_NUMBER, Entity_ADDRESS, Entity_DATE, Entity_NUMBER, Entity_PRICE
const (
// Unspecified.
Entity_TYPE_UNSPECIFIED Entity_Type = 0
// Person.
Entity_PERSON Entity_Type = 1
// Location.
Entity_LOCATION Entity_Type = 2
// Organization.
Entity_ORGANIZATION Entity_Type = 3
// Event.
Entity_EVENT Entity_Type = 4
// Artwork.
Entity_WORK_OF_ART Entity_Type = 5
// Consumer product.
Entity_CONSUMER_GOOD Entity_Type = 6
// Other types of entities.
Entity_OTHER Entity_Type = 7
// Phone number.
//
// The metadata lists the phone number (formatted according to local
// convention), plus whichever additional elements appear in the text:
//
// * `number` - The actual number, broken down into sections according to
// local convention.
// * `national_prefix` - Country code, if detected.
// * `area_code` - Region or area code, if detected.
// * `extension` - Phone extension (to be dialed after connection), if
// detected.
Entity_PHONE_NUMBER Entity_Type = 9
// Address.
//
// The metadata identifies the street number and locality plus whichever
// additional elements appear in the text:
//
// * `street_number` - Street number.
// * `locality` - City or town.
// * `street_name` - Street/route name, if detected.
// * `postal_code` - Postal code, if detected.
// * `country` - Country, if detected.
// * `broad_region` - Administrative area, such as the state, if detected.
// * `narrow_region` - Smaller administrative area, such as county, if
// detected.
// * `sublocality` - Used in Asian addresses to demark a district within a
// city, if detected.
Entity_ADDRESS Entity_Type = 10
// Date.
//
// The metadata identifies the components of the date:
//
// * `year` - Four digit year, if detected.
// * `month` - Two digit month number, if detected.
// * `day` - Two digit day number, if detected.
Entity_DATE Entity_Type = 11
// Number.
//
// The metadata is the number itself.
Entity_NUMBER Entity_Type = 12
// Price.
//
// The metadata identifies the `value` and `currency`.
Entity_PRICE Entity_Type = 13
)
func (Entity_Type) Descriptor
func (Entity_Type) Descriptor() protoreflect.EnumDescriptor
func (Entity_Type) Enum
func (x Entity_Type) Enum() *Entity_Type
func (Entity_Type) EnumDescriptor
func (Entity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Entity_Type.Descriptor instead.
func (Entity_Type) Number
func (x Entity_Type) Number() protoreflect.EnumNumber
func (Entity_Type) String
func (x Entity_Type) String() string
func (Entity_Type) Type
func (Entity_Type) Type() protoreflect.EnumType
ExactMatchConfig
type ExactMatchConfig struct {
// Whether to consider case sensitivity when performing an exact match.
CaseSensitive bool `protobuf:"varint,1,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
// contains filtered or unexported fields
}
Exact match configuration.
func (*ExactMatchConfig) Descriptor
func (*ExactMatchConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExactMatchConfig.ProtoReflect.Descriptor instead.
func (*ExactMatchConfig) GetCaseSensitive
func (x *ExactMatchConfig) GetCaseSensitive() bool
func (*ExactMatchConfig) ProtoMessage
func (*ExactMatchConfig) ProtoMessage()
func (*ExactMatchConfig) ProtoReflect
func (x *ExactMatchConfig) ProtoReflect() protoreflect.Message
func (*ExactMatchConfig) Reset
func (x *ExactMatchConfig) Reset()
func (*ExactMatchConfig) String
func (x *ExactMatchConfig) String() string
ExportInsightsDataMetadata
type ExportInsightsDataMetadata 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"`
// The original request for export.
Request *ExportInsightsDataRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// Partial errors during export 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
}
Metadata for an export insights operation.
func (*ExportInsightsDataMetadata) Descriptor
func (*ExportInsightsDataMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportInsightsDataMetadata.ProtoReflect.Descriptor instead.
func (*ExportInsightsDataMetadata) GetCreateTime
func (x *ExportInsightsDataMetadata) GetCreateTime() *timestamppb.Timestamp
func (*ExportInsightsDataMetadata) GetEndTime
func (x *ExportInsightsDataMetadata) GetEndTime() *timestamppb.Timestamp
func (*ExportInsightsDataMetadata) GetPartialErrors
func (x *ExportInsightsDataMetadata) GetPartialErrors() []*status.Status
func (*ExportInsightsDataMetadata) GetRequest
func (x *ExportInsightsDataMetadata) GetRequest() *ExportInsightsDataRequest
func (*ExportInsightsDataMetadata) ProtoMessage
func (*ExportInsightsDataMetadata) ProtoMessage()
func (*ExportInsightsDataMetadata) ProtoReflect
func (x *ExportInsightsDataMetadata) ProtoReflect() protoreflect.Message
func (*ExportInsightsDataMetadata) Reset
func (x *ExportInsightsDataMetadata) Reset()
func (*ExportInsightsDataMetadata) String
func (x *ExportInsightsDataMetadata) String() string
ExportInsightsDataRequest
type ExportInsightsDataRequest struct {
Destination isExportInsightsDataRequest_Destination `protobuf_oneof:"destination"`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
KmsKey string `protobuf:"bytes,4,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
WriteDisposition ExportInsightsDataRequest_WriteDisposition "" /* 196 byte string literal not displayed */
}
The request to export insights.
func (*ExportInsightsDataRequest) Descriptor
func (*ExportInsightsDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportInsightsDataRequest.ProtoReflect.Descriptor instead.
func (*ExportInsightsDataRequest) GetBigQueryDestination
func (x *ExportInsightsDataRequest) GetBigQueryDestination() *ExportInsightsDataRequest_BigQueryDestination
func (*ExportInsightsDataRequest) GetDestination
func (m *ExportInsightsDataRequest) GetDestination() isExportInsightsDataRequest_Destination
func (*ExportInsightsDataRequest) GetFilter
func (x *ExportInsightsDataRequest) GetFilter() string
func (*ExportInsightsDataRequest) GetKmsKey
func (x *ExportInsightsDataRequest) GetKmsKey() string
func (*ExportInsightsDataRequest) GetParent
func (x *ExportInsightsDataRequest) GetParent() string
func (*ExportInsightsDataRequest) GetWriteDisposition
func (x *ExportInsightsDataRequest) GetWriteDisposition() ExportInsightsDataRequest_WriteDisposition
func (*ExportInsightsDataRequest) ProtoMessage
func (*ExportInsightsDataRequest) ProtoMessage()
func (*ExportInsightsDataRequest) ProtoReflect
func (x *ExportInsightsDataRequest) ProtoReflect() protoreflect.Message
func (*ExportInsightsDataRequest) Reset
func (x *ExportInsightsDataRequest) Reset()
func (*ExportInsightsDataRequest) String
func (x *ExportInsightsDataRequest) String() string
ExportInsightsDataRequest_BigQueryDestination
type ExportInsightsDataRequest_BigQueryDestination struct {
// A project ID or number. If specified, then export will attempt to
// write data to this project instead of the resource project. Otherwise,
// the resource project will be used.
ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The name of the BigQuery dataset that the snapshot result
// should be exported to. If this dataset does not exist, the export call
// returns an INVALID_ARGUMENT error.
Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
// The BigQuery table name to which the insights data should be written.
// If this table does not exist, the export call returns an INVALID_ARGUMENT
// error.
Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
// contains filtered or unexported fields
}
A BigQuery Table Reference.
func (*ExportInsightsDataRequest_BigQueryDestination) Descriptor
func (*ExportInsightsDataRequest_BigQueryDestination) Descriptor() ([]byte, []int)
Deprecated: Use ExportInsightsDataRequest_BigQueryDestination.ProtoReflect.Descriptor instead.
func (*ExportInsightsDataRequest_BigQueryDestination) GetDataset
func (x *ExportInsightsDataRequest_BigQueryDestination) GetDataset() string
func (*ExportInsightsDataRequest_BigQueryDestination) GetProjectId
func (x *ExportInsightsDataRequest_BigQueryDestination) GetProjectId() string
func (*ExportInsightsDataRequest_BigQueryDestination) GetTable
func (x *ExportInsightsDataRequest_BigQueryDestination) GetTable() string
func (*ExportInsightsDataRequest_BigQueryDestination) ProtoMessage
func (*ExportInsightsDataRequest_BigQueryDestination) ProtoMessage()
func (*ExportInsightsDataRequest_BigQueryDestination) ProtoReflect
func (x *ExportInsightsDataRequest_BigQueryDestination) ProtoReflect() protoreflect.Message
func (*ExportInsightsDataRequest_BigQueryDestination) Reset
func (x *ExportInsightsDataRequest_BigQueryDestination) Reset()
func (*ExportInsightsDataRequest_BigQueryDestination) String
func (x *ExportInsightsDataRequest_BigQueryDestination) String() string
ExportInsightsDataRequest_BigQueryDestination_
type ExportInsightsDataRequest_BigQueryDestination_ struct {
// Specified if sink is a BigQuery table.
BigQueryDestination *ExportInsightsDataRequest_BigQueryDestination `protobuf:"bytes,2,opt,name=big_query_destination,json=bigQueryDestination,proto3,oneof"`
}
ExportInsightsDataRequest_WriteDisposition
type ExportInsightsDataRequest_WriteDisposition int32
Specifies the action that occurs if the destination table already exists.
ExportInsightsDataRequest_WRITE_DISPOSITION_UNSPECIFIED, ExportInsightsDataRequest_WRITE_TRUNCATE, ExportInsightsDataRequest_WRITE_APPEND
const (
// Write disposition is not specified. Defaults to WRITE_TRUNCATE.
ExportInsightsDataRequest_WRITE_DISPOSITION_UNSPECIFIED ExportInsightsDataRequest_WriteDisposition = 0
// If the table already exists, BigQuery will overwrite the table data and
// use the schema from the load.
ExportInsightsDataRequest_WRITE_TRUNCATE ExportInsightsDataRequest_WriteDisposition = 1
// If the table already exists, BigQuery will append data to the table.
ExportInsightsDataRequest_WRITE_APPEND ExportInsightsDataRequest_WriteDisposition = 2
)
func (ExportInsightsDataRequest_WriteDisposition) Descriptor
func (ExportInsightsDataRequest_WriteDisposition) Descriptor() protoreflect.EnumDescriptor
func (ExportInsightsDataRequest_WriteDisposition) Enum
func (x ExportInsightsDataRequest_WriteDisposition) Enum() *ExportInsightsDataRequest_WriteDisposition
func (ExportInsightsDataRequest_WriteDisposition) EnumDescriptor
func (ExportInsightsDataRequest_WriteDisposition) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExportInsightsDataRequest_WriteDisposition.Descriptor instead.
func (ExportInsightsDataRequest_WriteDisposition) Number
func (x ExportInsightsDataRequest_WriteDisposition) Number() protoreflect.EnumNumber
func (ExportInsightsDataRequest_WriteDisposition) String
func (x ExportInsightsDataRequest_WriteDisposition) String() string
func (ExportInsightsDataRequest_WriteDisposition) Type
func (ExportInsightsDataRequest_WriteDisposition) Type() protoreflect.EnumType
ExportInsightsDataResponse
type ExportInsightsDataResponse struct {
// contains filtered or unexported fields
}
Response for an export insights operation.
func (*ExportInsightsDataResponse) Descriptor
func (*ExportInsightsDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportInsightsDataResponse.ProtoReflect.Descriptor instead.
func (*ExportInsightsDataResponse) ProtoMessage
func (*ExportInsightsDataResponse) ProtoMessage()
func (*ExportInsightsDataResponse) ProtoReflect
func (x *ExportInsightsDataResponse) ProtoReflect() protoreflect.Message
func (*ExportInsightsDataResponse) Reset
func (x *ExportInsightsDataResponse) Reset()
func (*ExportInsightsDataResponse) String
func (x *ExportInsightsDataResponse) String() string
ExportIssueModelMetadata
type ExportIssueModelMetadata 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 export request.
Request *ExportIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Metadata used for export issue model.
func (*ExportIssueModelMetadata) Descriptor
func (*ExportIssueModelMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportIssueModelMetadata.ProtoReflect.Descriptor instead.
func (*ExportIssueModelMetadata) GetCreateTime
func (x *ExportIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp
func (*ExportIssueModelMetadata) GetEndTime
func (x *ExportIssueModelMetadata) GetEndTime() *timestamppb.Timestamp
func (*ExportIssueModelMetadata) GetRequest
func (x *ExportIssueModelMetadata) GetRequest() *ExportIssueModelRequest
func (*ExportIssueModelMetadata) ProtoMessage
func (*ExportIssueModelMetadata) ProtoMessage()
func (*ExportIssueModelMetadata) ProtoReflect
func (x *ExportIssueModelMetadata) ProtoReflect() protoreflect.Message
func (*ExportIssueModelMetadata) Reset
func (x *ExportIssueModelMetadata) Reset()
func (*ExportIssueModelMetadata) String
func (x *ExportIssueModelMetadata) String() string
ExportIssueModelRequest
type ExportIssueModelRequest struct {
// Types that are assignable to Destination:
//
// *ExportIssueModelRequest_GcsDestination_
Destination isExportIssueModelRequest_Destination `protobuf_oneof:"Destination"`
// Required. The issue model to export.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request to export an issue model.
func (*ExportIssueModelRequest) Descriptor
func (*ExportIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportIssueModelRequest.ProtoReflect.Descriptor instead.
func (*ExportIssueModelRequest) GetDestination
func (m *ExportIssueModelRequest) GetDestination() isExportIssueModelRequest_Destination
func (*ExportIssueModelRequest) GetGcsDestination
func (x *ExportIssueModelRequest) GetGcsDestination() *ExportIssueModelRequest_GcsDestination
func (*ExportIssueModelRequest) GetName
func (x *ExportIssueModelRequest) GetName() string
func (*ExportIssueModelRequest) ProtoMessage
func (*ExportIssueModelRequest) ProtoMessage()
func (*ExportIssueModelRequest) ProtoReflect
func (x *ExportIssueModelRequest) ProtoReflect() protoreflect.Message
func (*ExportIssueModelRequest) Reset
func (x *ExportIssueModelRequest) Reset()
func (*ExportIssueModelRequest) String
func (x *ExportIssueModelRequest) String() string
ExportIssueModelRequest_GcsDestination
type ExportIssueModelRequest_GcsDestination struct {
// Required. Format: `gs://
Google Cloud Storage Object URI to save the issue model to.
func (*ExportIssueModelRequest_GcsDestination) Descriptor
func (*ExportIssueModelRequest_GcsDestination) Descriptor() ([]byte, []int)
Deprecated: Use ExportIssueModelRequest_GcsDestination.ProtoReflect.Descriptor instead.
func (*ExportIssueModelRequest_GcsDestination) GetObjectUri
func (x *ExportIssueModelRequest_GcsDestination) GetObjectUri() string
func (*ExportIssueModelRequest_GcsDestination) ProtoMessage
func (*ExportIssueModelRequest_GcsDestination) ProtoMessage()
func (*ExportIssueModelRequest_GcsDestination) ProtoReflect
func (x *ExportIssueModelRequest_GcsDestination) ProtoReflect() protoreflect.Message
func (*ExportIssueModelRequest_GcsDestination) Reset
func (x *ExportIssueModelRequest_GcsDestination) Reset()
func (*ExportIssueModelRequest_GcsDestination) String
func (x *ExportIssueModelRequest_GcsDestination) String() string
ExportIssueModelRequest_GcsDestination_
type ExportIssueModelRequest_GcsDestination_ struct {
// Google Cloud Storage URI to export the issue model to.
GcsDestination *ExportIssueModelRequest_GcsDestination `protobuf:"bytes,2,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"`
}
ExportIssueModelResponse
type ExportIssueModelResponse struct {
// contains filtered or unexported fields
}
Response from export issue model
func (*ExportIssueModelResponse) Descriptor
func (*ExportIssueModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportIssueModelResponse.ProtoReflect.Descriptor instead.
func (*ExportIssueModelResponse) ProtoMessage
func (*ExportIssueModelResponse) ProtoMessage()
func (*ExportIssueModelResponse) ProtoReflect
func (x *ExportIssueModelResponse) ProtoReflect() protoreflect.Message
func (*ExportIssueModelResponse) Reset
func (x *ExportIssueModelResponse) Reset()
func (*ExportIssueModelResponse) String
func (x *ExportIssueModelResponse) String() string
FaqAnswerData
type FaqAnswerData struct {
Answer string `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"`
ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
Question string `protobuf:"bytes,3,opt,name=question,proto3" json:"question,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 frequently-asked-question answer data.
func (*FaqAnswerData) Descriptor
func (*FaqAnswerData) Descriptor() ([]byte, []int)
Deprecated: Use FaqAnswerData.ProtoReflect.Descriptor instead.
func (*FaqAnswerData) GetAnswer
func (x *FaqAnswerData) GetAnswer() string
func (*FaqAnswerData) GetConfidenceScore
func (x *FaqAnswerData) GetConfidenceScore() float32
func (*FaqAnswerData) GetMetadata
func (x *FaqAnswerData) GetMetadata() map[string]string
func (*FaqAnswerData) GetQueryRecord
func (x *FaqAnswerData) GetQueryRecord() string
func (*FaqAnswerData) GetQuestion
func (x *FaqAnswerData) GetQuestion() string
func (*FaqAnswerData) GetSource
func (x *FaqAnswerData) GetSource() string
func (*FaqAnswerData) ProtoMessage
func (*FaqAnswerData) ProtoMessage()
func (*FaqAnswerData) ProtoReflect
func (x *FaqAnswerData) ProtoReflect() protoreflect.Message
func (*FaqAnswerData) Reset
func (x *FaqAnswerData) Reset()
func (*FaqAnswerData) String
func (x *FaqAnswerData) String() string
FeedbackLabel
type FeedbackLabel struct {
// Label type.
//
// Types that are assignable to LabelType:
//
// *FeedbackLabel_Label
// *FeedbackLabel_QaAnswerLabel
LabelType isFeedbackLabel_LabelType `protobuf_oneof:"label_type"`
// Immutable. Resource name of the FeedbackLabel.
// Format:
// projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Resource name of the resource to be labeled.
LabeledResource string `protobuf:"bytes,3,opt,name=labeled_resource,json=labeledResource,proto3" json:"labeled_resource,omitempty"`
// Output only. Create time of the label.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Update time of the label.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
Represents a conversation, resource, and label provided by the user.
func (*FeedbackLabel) Descriptor
func (*FeedbackLabel) Descriptor() ([]byte, []int)
Deprecated: Use FeedbackLabel.ProtoReflect.Descriptor instead.
func (*FeedbackLabel) GetCreateTime
func (x *FeedbackLabel) GetCreateTime() *timestamppb.Timestamp
func (*FeedbackLabel) GetLabel
func (x *FeedbackLabel) GetLabel() string
func (*FeedbackLabel) GetLabelType
func (m *FeedbackLabel) GetLabelType() isFeedbackLabel_LabelType
func (*FeedbackLabel) GetLabeledResource
func (x *FeedbackLabel) GetLabeledResource() string
func (*FeedbackLabel) GetName
func (x *FeedbackLabel) GetName() string
func (*FeedbackLabel) GetQaAnswerLabel
func (x *FeedbackLabel) GetQaAnswerLabel() *QaAnswer_AnswerValue
func (*FeedbackLabel) GetUpdateTime
func (x *FeedbackLabel) GetUpdateTime() *timestamppb.Timestamp
func (*FeedbackLabel) ProtoMessage
func (*FeedbackLabel) ProtoMessage()
func (*FeedbackLabel) ProtoReflect
func (x *FeedbackLabel) ProtoReflect() protoreflect.Message
func (*FeedbackLabel) Reset
func (x *FeedbackLabel) Reset()
func (*FeedbackLabel) String
func (x *FeedbackLabel) String() string
FeedbackLabel_Label
type FeedbackLabel_Label struct {
// String label.
Label string `protobuf:"bytes,4,opt,name=label,proto3,oneof"`
}
FeedbackLabel_QaAnswerLabel
type FeedbackLabel_QaAnswerLabel struct {
// QaAnswer label.
QaAnswerLabel *QaAnswer_AnswerValue `protobuf:"bytes,7,opt,name=qa_answer_label,json=qaAnswerLabel,proto3,oneof"`
}
GcsSource
type GcsSource struct {
// Cloud Storage URI that points to a file that contains the conversation
// audio.
AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"`
// Immutable. Cloud Storage URI that points to a file that contains the
// conversation transcript.
TranscriptUri string `protobuf:"bytes,2,opt,name=transcript_uri,json=transcriptUri,proto3" json:"transcript_uri,omitempty"`
// contains filtered or unexported fields
}
A Cloud Storage source of conversation data.
func (*GcsSource) Descriptor
Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
func (*GcsSource) GetAudioUri
func (*GcsSource) GetTranscriptUri
func (*GcsSource) ProtoMessage
func (*GcsSource) ProtoMessage()
func (*GcsSource) ProtoReflect
func (x *GcsSource) ProtoReflect() protoreflect.Message
func (*GcsSource) Reset
func (x *GcsSource) Reset()
func (*GcsSource) String
GetAnalysisRequest
type GetAnalysisRequest struct {
// Required. The name of the analysis to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get an analysis.
func (*GetAnalysisRequest) Descriptor
func (*GetAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnalysisRequest.ProtoReflect.Descriptor instead.
func (*GetAnalysisRequest) GetName
func (x *GetAnalysisRequest) GetName() string
func (*GetAnalysisRequest) ProtoMessage
func (*GetAnalysisRequest) ProtoMessage()
func (*GetAnalysisRequest) ProtoReflect
func (x *GetAnalysisRequest) ProtoReflect() protoreflect.Message
func (*GetAnalysisRequest) Reset
func (x *GetAnalysisRequest) Reset()
func (*GetAnalysisRequest) String
func (x *GetAnalysisRequest) String() string
GetAnalysisRuleRequest
type GetAnalysisRuleRequest struct {
// Required. The name of the AnalysisRule to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for getting a analysis rule.
func (*GetAnalysisRuleRequest) Descriptor
func (*GetAnalysisRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnalysisRuleRequest.ProtoReflect.Descriptor instead.
func (*GetAnalysisRuleRequest) GetName
func (x *GetAnalysisRuleRequest) GetName() string
func (*GetAnalysisRuleRequest) ProtoMessage
func (*GetAnalysisRuleRequest) ProtoMessage()
func (*GetAnalysisRuleRequest) ProtoReflect
func (x *GetAnalysisRuleRequest) ProtoReflect() protoreflect.Message
func (*GetAnalysisRuleRequest) Reset
func (x *GetAnalysisRuleRequest) Reset()
func (*GetAnalysisRuleRequest) String
func (x *GetAnalysisRuleRequest) String() string
GetConversationRequest
type GetConversationRequest struct {
// Required. The name of the conversation to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The level of details of the conversation. Default is `FULL`.
View ConversationView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.contactcenterinsights.v1.ConversationView" json:"view,omitempty"`
// contains filtered or unexported fields
}
The request to get a conversation.
func (*GetConversationRequest) Descriptor
func (*GetConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationRequest.ProtoReflect.Descriptor instead.
func (*GetConversationRequest) GetName
func (x *GetConversationRequest) GetName() string
func (*GetConversationRequest) GetView
func (x *GetConversationRequest) GetView() ConversationView
func (*GetConversationRequest) ProtoMessage
func (*GetConversationRequest) ProtoMessage()
func (*GetConversationRequest) ProtoReflect
func (x *GetConversationRequest) ProtoReflect() protoreflect.Message
func (*GetConversationRequest) Reset
func (x *GetConversationRequest) Reset()
func (*GetConversationRequest) String
func (x *GetConversationRequest) String() string
GetEncryptionSpecRequest
type GetEncryptionSpecRequest struct {
// Required. The name of the encryption spec resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get location-level encryption specification.
func (*GetEncryptionSpecRequest) Descriptor
func (*GetEncryptionSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEncryptionSpecRequest.ProtoReflect.Descriptor instead.
func (*GetEncryptionSpecRequest) GetName
func (x *GetEncryptionSpecRequest) GetName() string
func (*GetEncryptionSpecRequest) ProtoMessage
func (*GetEncryptionSpecRequest) ProtoMessage()
func (*GetEncryptionSpecRequest) ProtoReflect
func (x *GetEncryptionSpecRequest) ProtoReflect() protoreflect.Message
func (*GetEncryptionSpecRequest) Reset
func (x *GetEncryptionSpecRequest) Reset()
func (*GetEncryptionSpecRequest) String
func (x *GetEncryptionSpecRequest) String() string
GetFeedbackLabelRequest
type GetFeedbackLabelRequest struct {
// Required. The name of the feedback label to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for getting a feedback label.
func (*GetFeedbackLabelRequest) Descriptor
func (*GetFeedbackLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeedbackLabelRequest.ProtoReflect.Descriptor instead.
func (*GetFeedbackLabelRequest) GetName
func (x *GetFeedbackLabelRequest) GetName() string
func (*GetFeedbackLabelRequest) ProtoMessage
func (*GetFeedbackLabelRequest) ProtoMessage()
func (*GetFeedbackLabelRequest) ProtoReflect
func (x *GetFeedbackLabelRequest) ProtoReflect() protoreflect.Message
func (*GetFeedbackLabelRequest) Reset
func (x *GetFeedbackLabelRequest) Reset()
func (*GetFeedbackLabelRequest) String
func (x *GetFeedbackLabelRequest) String() string
GetIssueModelRequest
type GetIssueModelRequest struct {
// Required. The name of the issue model to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get an issue model.
func (*GetIssueModelRequest) Descriptor
func (*GetIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIssueModelRequest.ProtoReflect.Descriptor instead.
func (*GetIssueModelRequest) GetName
func (x *GetIssueModelRequest) GetName() string
func (*GetIssueModelRequest) ProtoMessage
func (*GetIssueModelRequest) ProtoMessage()
func (*GetIssueModelRequest) ProtoReflect
func (x *GetIssueModelRequest) ProtoReflect() protoreflect.Message
func (*GetIssueModelRequest) Reset
func (x *GetIssueModelRequest) Reset()
func (*GetIssueModelRequest) String
func (x *GetIssueModelRequest) String() string
GetIssueRequest
type GetIssueRequest struct {
// Required. The name of the issue to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get an issue.
func (*GetIssueRequest) Descriptor
func (*GetIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIssueRequest.ProtoReflect.Descriptor instead.
func (*GetIssueRequest) GetName
func (x *GetIssueRequest) GetName() string
func (*GetIssueRequest) ProtoMessage
func (*GetIssueRequest) ProtoMessage()
func (*GetIssueRequest) ProtoReflect
func (x *GetIssueRequest) ProtoReflect() protoreflect.Message
func (*GetIssueRequest) Reset
func (x *GetIssueRequest) Reset()
func (*GetIssueRequest) String
func (x *GetIssueRequest) String() string
GetPhraseMatcherRequest
type GetPhraseMatcherRequest struct {
// Required. The name of the phrase matcher to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get a a phrase matcher.
func (*GetPhraseMatcherRequest) Descriptor
func (*GetPhraseMatcherRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPhraseMatcherRequest.ProtoReflect.Descriptor instead.
func (*GetPhraseMatcherRequest) GetName
func (x *GetPhraseMatcherRequest) GetName() string
func (*GetPhraseMatcherRequest) ProtoMessage
func (*GetPhraseMatcherRequest) ProtoMessage()
func (*GetPhraseMatcherRequest) ProtoReflect
func (x *GetPhraseMatcherRequest) ProtoReflect() protoreflect.Message
func (*GetPhraseMatcherRequest) Reset
func (x *GetPhraseMatcherRequest) Reset()
func (*GetPhraseMatcherRequest) String
func (x *GetPhraseMatcherRequest) String() string
GetQaQuestionRequest
type GetQaQuestionRequest struct {
// Required. The name of the QaQuestion to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for a QaQuestion.
func (*GetQaQuestionRequest) Descriptor
func (*GetQaQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQaQuestionRequest.ProtoReflect.Descriptor instead.
func (*GetQaQuestionRequest) GetName
func (x *GetQaQuestionRequest) GetName() string
func (*GetQaQuestionRequest) ProtoMessage
func (*GetQaQuestionRequest) ProtoMessage()
func (*GetQaQuestionRequest) ProtoReflect
func (x *GetQaQuestionRequest) ProtoReflect() protoreflect.Message
func (*GetQaQuestionRequest) Reset
func (x *GetQaQuestionRequest) Reset()
func (*GetQaQuestionRequest) String
func (x *GetQaQuestionRequest) String() string
GetQaScorecardRequest
type GetQaScorecardRequest struct {
// Required. The name of the QaScorecard to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for a QaScorecard. By default, returns the latest revision.
func (*GetQaScorecardRequest) Descriptor
func (*GetQaScorecardRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQaScorecardRequest.ProtoReflect.Descriptor instead.
func (*GetQaScorecardRequest) GetName
func (x *GetQaScorecardRequest) GetName() string
func (*GetQaScorecardRequest) ProtoMessage
func (*GetQaScorecardRequest) ProtoMessage()
func (*GetQaScorecardRequest) ProtoReflect
func (x *GetQaScorecardRequest) ProtoReflect() protoreflect.Message
func (*GetQaScorecardRequest) Reset
func (x *GetQaScorecardRequest) Reset()
func (*GetQaScorecardRequest) String
func (x *GetQaScorecardRequest) String() string
GetQaScorecardRevisionRequest
type GetQaScorecardRevisionRequest struct {
// Required. The name of the QaScorecardRevision to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request for a QaScorecardRevision.
func (*GetQaScorecardRevisionRequest) Descriptor
func (*GetQaScorecardRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQaScorecardRevisionRequest.ProtoReflect.Descriptor instead.
func (*GetQaScorecardRevisionRequest) GetName
func (x *GetQaScorecardRevisionRequest) GetName() string
func (*GetQaScorecardRevisionRequest) ProtoMessage
func (*GetQaScorecardRevisionRequest) ProtoMessage()
func (*GetQaScorecardRevisionRequest) ProtoReflect
func (x *GetQaScorecardRevisionRequest) ProtoReflect() protoreflect.Message
func (*GetQaScorecardRevisionRequest) Reset
func (x *GetQaScorecardRevisionRequest) Reset()
func (*GetQaScorecardRevisionRequest) String
func (x *GetQaScorecardRevisionRequest) String() string
GetSettingsRequest
type GetSettingsRequest struct {
// Required. The name of the settings resource to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get project-level settings.
func (*GetSettingsRequest) Descriptor
func (*GetSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSettingsRequest) GetName
func (x *GetSettingsRequest) GetName() string
func (*GetSettingsRequest) ProtoMessage
func (*GetSettingsRequest) ProtoMessage()
func (*GetSettingsRequest) ProtoReflect
func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetSettingsRequest) Reset
func (x *GetSettingsRequest) Reset()
func (*GetSettingsRequest) String
func (x *GetSettingsRequest) String() string
GetViewRequest
type GetViewRequest struct {
// Required. The name of the view to get.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to get a view.
func (*GetViewRequest) Descriptor
func (*GetViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetViewRequest.ProtoReflect.Descriptor instead.
func (*GetViewRequest) GetName
func (x *GetViewRequest) GetName() string
func (*GetViewRequest) ProtoMessage
func (*GetViewRequest) ProtoMessage()
func (*GetViewRequest) ProtoReflect
func (x *GetViewRequest) ProtoReflect() protoreflect.Message
func (*GetViewRequest) Reset
func (x *GetViewRequest) Reset()
func (*GetViewRequest) String
func (x *GetViewRequest) String() string
HoldData
type HoldData struct {
// contains filtered or unexported fields
}
The data for a hold annotation.
func (*HoldData) Descriptor
Deprecated: Use HoldData.ProtoReflect.Descriptor instead.
func (*HoldData) ProtoMessage
func (*HoldData) ProtoMessage()
func (*HoldData) ProtoReflect
func (x *HoldData) ProtoReflect() protoreflect.Message
func (*HoldData) Reset
func (x *HoldData) Reset()
func (*HoldData) String
ImportIssueModelMetadata
type ImportIssueModelMetadata 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 import request.
Request *ImportIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Metadata used for import issue model.
func (*ImportIssueModelMetadata) Descriptor
func (*ImportIssueModelMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportIssueModelMetadata.ProtoReflect.Descriptor instead.
func (*ImportIssueModelMetadata) GetCreateTime
func (x *ImportIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp
func (*ImportIssueModelMetadata) GetEndTime
func (x *ImportIssueModelMetadata) GetEndTime() *timestamppb.Timestamp
func (*ImportIssueModelMetadata) GetRequest
func (x *ImportIssueModelMetadata) GetRequest() *ImportIssueModelRequest
func (*ImportIssueModelMetadata) ProtoMessage
func (*ImportIssueModelMetadata) ProtoMessage()
func (*ImportIssueModelMetadata) ProtoReflect
func (x *ImportIssueModelMetadata) ProtoReflect() protoreflect.Message
func (*ImportIssueModelMetadata) Reset
func (x *ImportIssueModelMetadata) Reset()
func (*ImportIssueModelMetadata) String
func (x *ImportIssueModelMetadata) String() string
ImportIssueModelRequest
type ImportIssueModelRequest struct {
// Types that are assignable to Source:
//
// *ImportIssueModelRequest_GcsSource_
Source isImportIssueModelRequest_Source `protobuf_oneof:"Source"`
// Required. The parent resource of the issue model.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. If set to true, will create an issue model from the imported file
// with randomly generated IDs for the issue model and corresponding issues.
// Otherwise, replaces an existing model with the same ID as the file.
CreateNewModel bool `protobuf:"varint,3,opt,name=create_new_model,json=createNewModel,proto3" json:"create_new_model,omitempty"`
// contains filtered or unexported fields
}
Request to import an issue model.
func (*ImportIssueModelRequest) Descriptor
func (*ImportIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportIssueModelRequest.ProtoReflect.Descriptor instead.
func (*ImportIssueModelRequest) GetCreateNewModel
func (x *ImportIssueModelRequest) GetCreateNewModel() bool
func (*ImportIssueModelRequest) GetGcsSource
func (x *ImportIssueModelRequest) GetGcsSource() *ImportIssueModelRequest_GcsSource
func (*ImportIssueModelRequest) GetParent
func (x *ImportIssueModelRequest) GetParent() string
func (*ImportIssueModelRequest) GetSource
func (m *ImportIssueModelRequest) GetSource() isImportIssueModelRequest_Source
func (*ImportIssueModelRequest) ProtoMessage
func (*ImportIssueModelRequest) ProtoMessage()
func (*ImportIssueModelRequest) ProtoReflect
func (x *ImportIssueModelRequest) ProtoReflect() protoreflect.Message
func (*ImportIssueModelRequest) Reset
func (x *ImportIssueModelRequest) Reset()
func (*ImportIssueModelRequest) String
func (x *ImportIssueModelRequest) String() string
ImportIssueModelRequest_GcsSource
type ImportIssueModelRequest_GcsSource struct {
// Required. Format: `gs://
Google Cloud Storage Object URI to get the issue model file from.
func (*ImportIssueModelRequest_GcsSource) Descriptor
func (*ImportIssueModelRequest_GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use ImportIssueModelRequest_GcsSource.ProtoReflect.Descriptor instead.
func (*ImportIssueModelRequest_GcsSource) GetObjectUri
func (x *ImportIssueModelRequest_GcsSource) GetObjectUri() string
func (*ImportIssueModelRequest_GcsSource) ProtoMessage
func (*ImportIssueModelRequest_GcsSource) ProtoMessage()
func (*ImportIssueModelRequest_GcsSource) ProtoReflect
func (x *ImportIssueModelRequest_GcsSource) ProtoReflect() protoreflect.Message
func (*ImportIssueModelRequest_GcsSource) Reset
func (x *ImportIssueModelRequest_GcsSource) Reset()
func (*ImportIssueModelRequest_GcsSource) String
func (x *ImportIssueModelRequest_GcsSource) String() string
ImportIssueModelRequest_GcsSource_
type ImportIssueModelRequest_GcsSource_ struct {
// Google Cloud Storage source message.
GcsSource *ImportIssueModelRequest_GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
ImportIssueModelResponse
type ImportIssueModelResponse struct {
// contains filtered or unexported fields
}
Response from import issue model
func (*ImportIssueModelResponse) Descriptor
func (*ImportIssueModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportIssueModelResponse.ProtoReflect.Descriptor instead.
func (*ImportIssueModelResponse) ProtoMessage
func (*ImportIssueModelResponse) ProtoMessage()
func (*ImportIssueModelResponse) ProtoReflect
func (x *ImportIssueModelResponse) ProtoReflect() protoreflect.Message
func (*ImportIssueModelResponse) Reset
func (x *ImportIssueModelResponse) Reset()
func (*ImportIssueModelResponse) String
func (x *ImportIssueModelResponse) String() string
IngestConversationsMetadata
type IngestConversationsMetadata 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 *IngestConversationsRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
PartialErrors []*status.Status `protobuf:"bytes,4,rep,name=partial_errors,json=partialErrors,proto3" json:"partial_errors,omitempty"`
IngestConversationsStats *IngestConversationsMetadata_IngestConversationsStats "" /* 135 byte string literal not displayed */
}
The metadata for an IngestConversations operation.
func (*IngestConversationsMetadata) Descriptor
func (*IngestConversationsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsMetadata.ProtoReflect.Descriptor instead.
func (*IngestConversationsMetadata) GetCreateTime
func (x *IngestConversationsMetadata) GetCreateTime() *timestamppb.Timestamp
func (*IngestConversationsMetadata) GetEndTime
func (x *IngestConversationsMetadata) GetEndTime() *timestamppb.Timestamp
func (*IngestConversationsMetadata) GetIngestConversationsStats
func (x *IngestConversationsMetadata) GetIngestConversationsStats() *IngestConversationsMetadata_IngestConversationsStats
func (*IngestConversationsMetadata) GetPartialErrors
func (x *IngestConversationsMetadata) GetPartialErrors() []*status.Status
func (*IngestConversationsMetadata) GetRequest
func (x *IngestConversationsMetadata) GetRequest() *IngestConversationsRequest
func (*IngestConversationsMetadata) ProtoMessage
func (*IngestConversationsMetadata) ProtoMessage()
func (*IngestConversationsMetadata) ProtoReflect
func (x *IngestConversationsMetadata) ProtoReflect() protoreflect.Message
func (*IngestConversationsMetadata) Reset
func (x *IngestConversationsMetadata) Reset()
func (*IngestConversationsMetadata) String
func (x *IngestConversationsMetadata) String() string
IngestConversationsMetadata_IngestConversationsStats
type IngestConversationsMetadata_IngestConversationsStats struct {
ProcessedObjectCount int32 `protobuf:"varint,1,opt,name=processed_object_count,json=processedObjectCount,proto3" json:"processed_object_count,omitempty"`
DuplicatesSkippedCount int32 "" /* 130 byte string literal not displayed */
SuccessfulIngestCount int32 "" /* 127 byte string literal not displayed */
FailedIngestCount int32 `protobuf:"varint,4,opt,name=failed_ingest_count,json=failedIngestCount,proto3" json:"failed_ingest_count,omitempty"`
}
Statistics for IngestConversations operation.
func (*IngestConversationsMetadata_IngestConversationsStats) Descriptor
func (*IngestConversationsMetadata_IngestConversationsStats) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsMetadata_IngestConversationsStats.ProtoReflect.Descriptor instead.
func (*IngestConversationsMetadata_IngestConversationsStats) GetDuplicatesSkippedCount
func (x *IngestConversationsMetadata_IngestConversationsStats) GetDuplicatesSkippedCount() int32
func (*IngestConversationsMetadata_IngestConversationsStats) GetFailedIngestCount
func (x *IngestConversationsMetadata_IngestConversationsStats) GetFailedIngestCount() int32
func (*IngestConversationsMetadata_IngestConversationsStats) GetProcessedObjectCount
func (x *IngestConversationsMetadata_IngestConversationsStats) GetProcessedObjectCount() int32
func (*IngestConversationsMetadata_IngestConversationsStats) GetSuccessfulIngestCount
func (x *IngestConversationsMetadata_IngestConversationsStats) GetSuccessfulIngestCount() int32
func (*IngestConversationsMetadata_IngestConversationsStats) ProtoMessage
func (*IngestConversationsMetadata_IngestConversationsStats) ProtoMessage()
func (*IngestConversationsMetadata_IngestConversationsStats) ProtoReflect
func (x *IngestConversationsMetadata_IngestConversationsStats) ProtoReflect() protoreflect.Message
func (*IngestConversationsMetadata_IngestConversationsStats) Reset
func (x *IngestConversationsMetadata_IngestConversationsStats) Reset()
func (*IngestConversationsMetadata_IngestConversationsStats) String
func (x *IngestConversationsMetadata_IngestConversationsStats) String() string
IngestConversationsRequest
type IngestConversationsRequest struct {
// Configuration for an external data store containing objects that will
// be converted to conversations.
//
// Types that are assignable to Source:
//
// *IngestConversationsRequest_GcsSource_
Source isIngestConversationsRequest_Source `protobuf_oneof:"source"`
// Configuration for converting individual `source` objects to conversations.
//
// Types that are assignable to ObjectConfig:
//
// *IngestConversationsRequest_TranscriptObjectConfig_
ObjectConfig isIngestConversationsRequest_ObjectConfig `protobuf_oneof:"object_config"`
// Required. The parent resource for new conversations.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Configuration that applies to all conversations.
ConversationConfig *IngestConversationsRequest_ConversationConfig `protobuf:"bytes,4,opt,name=conversation_config,json=conversationConfig,proto3" json:"conversation_config,omitempty"`
// Optional. DLP settings for transcript redaction. Optional, will default to
// the config specified in Settings.
RedactionConfig *RedactionConfig `protobuf:"bytes,5,opt,name=redaction_config,json=redactionConfig,proto3" json:"redaction_config,omitempty"`
// Optional. Default Speech-to-Text configuration. Optional, will default to
// the config specified in Settings.
SpeechConfig *SpeechConfig `protobuf:"bytes,6,opt,name=speech_config,json=speechConfig,proto3" json:"speech_config,omitempty"`
// Optional. If set, this fields indicates the number of objects to ingest
// from the Cloud Storage bucket. If empty, the entire bucket will be
// ingested. Unless they are first deleted, conversations produced through
// sampling won't be ingested by subsequent ingest requests.
SampleSize *int32 `protobuf:"varint,7,opt,name=sample_size,json=sampleSize,proto3,oneof" json:"sample_size,omitempty"`
// contains filtered or unexported fields
}
The request to ingest conversations.
func (*IngestConversationsRequest) Descriptor
func (*IngestConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsRequest.ProtoReflect.Descriptor instead.
func (*IngestConversationsRequest) GetConversationConfig
func (x *IngestConversationsRequest) GetConversationConfig() *IngestConversationsRequest_ConversationConfig
func (*IngestConversationsRequest) GetGcsSource
func (x *IngestConversationsRequest) GetGcsSource() *IngestConversationsRequest_GcsSource
func (*IngestConversationsRequest) GetObjectConfig
func (m *IngestConversationsRequest) GetObjectConfig() isIngestConversationsRequest_ObjectConfig
func (*IngestConversationsRequest) GetParent
func (x *IngestConversationsRequest) GetParent() string
func (*IngestConversationsRequest) GetRedactionConfig
func (x *IngestConversationsRequest) GetRedactionConfig() *RedactionConfig
func (*IngestConversationsRequest) GetSampleSize
func (x *IngestConversationsRequest) GetSampleSize() int32
func (*IngestConversationsRequest) GetSource
func (m *IngestConversationsRequest) GetSource() isIngestConversationsRequest_Source
func (*IngestConversationsRequest) GetSpeechConfig
func (x *IngestConversationsRequest) GetSpeechConfig() *SpeechConfig
func (*IngestConversationsRequest) GetTranscriptObjectConfig
func (x *IngestConversationsRequest) GetTranscriptObjectConfig() *IngestConversationsRequest_TranscriptObjectConfig
func (*IngestConversationsRequest) ProtoMessage
func (*IngestConversationsRequest) ProtoMessage()
func (*IngestConversationsRequest) ProtoReflect
func (x *IngestConversationsRequest) ProtoReflect() protoreflect.Message
func (*IngestConversationsRequest) Reset
func (x *IngestConversationsRequest) Reset()
func (*IngestConversationsRequest) String
func (x *IngestConversationsRequest) String() string
IngestConversationsRequest_ConversationConfig
type IngestConversationsRequest_ConversationConfig struct {
// Optional. An opaque, user-specified string representing a human agent who
// handled all conversations in the import. Note that this will be
// overridden if per-conversation metadata is provided through the
// `metadata_bucket_uri`.
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// Optional. Indicates which of the channels, 1 or 2, contains the agent.
// Note that this must be set for conversations to be properly displayed and
// analyzed.
AgentChannel int32 `protobuf:"varint,2,opt,name=agent_channel,json=agentChannel,proto3" json:"agent_channel,omitempty"`
// Optional. Indicates which of the channels, 1 or 2, contains the agent.
// Note that this must be set for conversations to be properly displayed and
// analyzed.
CustomerChannel int32 `protobuf:"varint,3,opt,name=customer_channel,json=customerChannel,proto3" json:"customer_channel,omitempty"`
// contains filtered or unexported fields
}
Configuration that applies to all conversations.
func (*IngestConversationsRequest_ConversationConfig) Descriptor
func (*IngestConversationsRequest_ConversationConfig) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsRequest_ConversationConfig.ProtoReflect.Descriptor instead.
func (*IngestConversationsRequest_ConversationConfig) GetAgentChannel
func (x *IngestConversationsRequest_ConversationConfig) GetAgentChannel() int32
func (*IngestConversationsRequest_ConversationConfig) GetAgentId
func (x *IngestConversationsRequest_ConversationConfig) GetAgentId() string
func (*IngestConversationsRequest_ConversationConfig) GetCustomerChannel
func (x *IngestConversationsRequest_ConversationConfig) GetCustomerChannel() int32
func (*IngestConversationsRequest_ConversationConfig) ProtoMessage
func (*IngestConversationsRequest_ConversationConfig) ProtoMessage()
func (*IngestConversationsRequest_ConversationConfig) ProtoReflect
func (x *IngestConversationsRequest_ConversationConfig) ProtoReflect() protoreflect.Message
func (*IngestConversationsRequest_ConversationConfig) Reset
func (x *IngestConversationsRequest_ConversationConfig) Reset()
func (*IngestConversationsRequest_ConversationConfig) String
func (x *IngestConversationsRequest_ConversationConfig) String() string
IngestConversationsRequest_GcsSource
type IngestConversationsRequest_GcsSource struct {
BucketUri string `protobuf:"bytes,1,opt,name=bucket_uri,json=bucketUri,proto3" json:"bucket_uri,omitempty"`
BucketObjectType IngestConversationsRequest_GcsSource_BucketObjectType "" /* 209 byte string literal not displayed */
MetadataBucketUri *string `protobuf:"bytes,3,opt,name=metadata_bucket_uri,json=metadataBucketUri,proto3,oneof" json:"metadata_bucket_uri,omitempty"`
CustomMetadataKeys []string `protobuf:"bytes,12,rep,name=custom_metadata_keys,json=customMetadataKeys,proto3" json:"custom_metadata_keys,omitempty"`
}
Configuration for Cloud Storage bucket sources.
func (*IngestConversationsRequest_GcsSource) Descriptor
func (*IngestConversationsRequest_GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsRequest_GcsSource.ProtoReflect.Descriptor instead.
func (*IngestConversationsRequest_GcsSource) GetBucketObjectType
func (x *IngestConversationsRequest_GcsSource) GetBucketObjectType() IngestConversationsRequest_GcsSource_BucketObjectType
func (*IngestConversationsRequest_GcsSource) GetBucketUri
func (x *IngestConversationsRequest_GcsSource) GetBucketUri() string
func (*IngestConversationsRequest_GcsSource) GetCustomMetadataKeys
func (x *IngestConversationsRequest_GcsSource) GetCustomMetadataKeys() []string
func (*IngestConversationsRequest_GcsSource) GetMetadataBucketUri
func (x *IngestConversationsRequest_GcsSource) GetMetadataBucketUri() string
func (*IngestConversationsRequest_GcsSource) ProtoMessage
func (*IngestConversationsRequest_GcsSource) ProtoMessage()
func (*IngestConversationsRequest_GcsSource) ProtoReflect
func (x *IngestConversationsRequest_GcsSource) ProtoReflect() protoreflect.Message
func (*IngestConversationsRequest_GcsSource) Reset
func (x *IngestConversationsRequest_GcsSource) Reset()
func (*IngestConversationsRequest_GcsSource) String
func (x *IngestConversationsRequest_GcsSource) String() string
IngestConversationsRequest_GcsSource_
type IngestConversationsRequest_GcsSource_ struct {
// A cloud storage bucket source. Note that any previously ingested objects
// from the source will be skipped to avoid duplication.
GcsSource *IngestConversationsRequest_GcsSource `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
IngestConversationsRequest_GcsSource_BucketObjectType
type IngestConversationsRequest_GcsSource_BucketObjectType int32
IngestConversationsRequest_GcsSource_BUCKET_OBJECT_TYPE_UNSPECIFIED, IngestConversationsRequest_GcsSource_TRANSCRIPT, IngestConversationsRequest_GcsSource_AUDIO
const (
// The object type is unspecified and will default to `TRANSCRIPT`.
IngestConversationsRequest_GcsSource_BUCKET_OBJECT_TYPE_UNSPECIFIED IngestConversationsRequest_GcsSource_BucketObjectType = 0
// The object is a transcript.
IngestConversationsRequest_GcsSource_TRANSCRIPT IngestConversationsRequest_GcsSource_BucketObjectType = 1
// The object is an audio file.
IngestConversationsRequest_GcsSource_AUDIO IngestConversationsRequest_GcsSource_BucketObjectType = 2
)
func (IngestConversationsRequest_GcsSource_BucketObjectType) Descriptor
func (IngestConversationsRequest_GcsSource_BucketObjectType) Descriptor() protoreflect.EnumDescriptor
func (IngestConversationsRequest_GcsSource_BucketObjectType) Enum
func (x IngestConversationsRequest_GcsSource_BucketObjectType) Enum() *IngestConversationsRequest_GcsSource_BucketObjectType
func (IngestConversationsRequest_GcsSource_BucketObjectType) EnumDescriptor
func (IngestConversationsRequest_GcsSource_BucketObjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IngestConversationsRequest_GcsSource_BucketObjectType.Descriptor instead.
func (IngestConversationsRequest_GcsSource_BucketObjectType) Number
func (x IngestConversationsRequest_GcsSource_BucketObjectType) Number() protoreflect.EnumNumber
func (IngestConversationsRequest_GcsSource_BucketObjectType) String
func (x IngestConversationsRequest_GcsSource_BucketObjectType) String() string
func (IngestConversationsRequest_GcsSource_BucketObjectType) Type
IngestConversationsRequest_TranscriptObjectConfig
type IngestConversationsRequest_TranscriptObjectConfig struct {
Medium Conversation_Medium "" /* 129 byte string literal not displayed */
}
Configuration for processing transcript objects.
func (*IngestConversationsRequest_TranscriptObjectConfig) Descriptor
func (*IngestConversationsRequest_TranscriptObjectConfig) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsRequest_TranscriptObjectConfig.ProtoReflect.Descriptor instead.
func (*IngestConversationsRequest_TranscriptObjectConfig) GetMedium
func (x *IngestConversationsRequest_TranscriptObjectConfig) GetMedium() Conversation_Medium
func (*IngestConversationsRequest_TranscriptObjectConfig) ProtoMessage
func (*IngestConversationsRequest_TranscriptObjectConfig) ProtoMessage()
func (*IngestConversationsRequest_TranscriptObjectConfig) ProtoReflect
func (x *IngestConversationsRequest_TranscriptObjectConfig) ProtoReflect() protoreflect.Message
func (*IngestConversationsRequest_TranscriptObjectConfig) Reset
func (x *IngestConversationsRequest_TranscriptObjectConfig) Reset()
func (*IngestConversationsRequest_TranscriptObjectConfig) String
func (x *IngestConversationsRequest_TranscriptObjectConfig) String() string
IngestConversationsRequest_TranscriptObjectConfig_
type IngestConversationsRequest_TranscriptObjectConfig_ struct {
// Configuration for when `source` contains conversation transcripts.
TranscriptObjectConfig *IngestConversationsRequest_TranscriptObjectConfig `protobuf:"bytes,3,opt,name=transcript_object_config,json=transcriptObjectConfig,proto3,oneof"`
}
IngestConversationsResponse
type IngestConversationsResponse struct {
// contains filtered or unexported fields
}
The response to an IngestConversations operation.
func (*IngestConversationsResponse) Descriptor
func (*IngestConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use IngestConversationsResponse.ProtoReflect.Descriptor instead.
func (*IngestConversationsResponse) ProtoMessage
func (*IngestConversationsResponse) ProtoMessage()
func (*IngestConversationsResponse) ProtoReflect
func (x *IngestConversationsResponse) ProtoReflect() protoreflect.Message
func (*IngestConversationsResponse) Reset
func (x *IngestConversationsResponse) Reset()
func (*IngestConversationsResponse) String
func (x *IngestConversationsResponse) String() string
InitializeEncryptionSpecMetadata
type InitializeEncryptionSpecMetadata 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 original request for initialization.
Request *InitializeEncryptionSpecRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// Partial errors during initializing 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
}
Metadata for initializing a location-level encryption specification.
func (*InitializeEncryptionSpecMetadata) Descriptor
func (*InitializeEncryptionSpecMetadata) Descriptor() ([]byte, []int)
Deprecated: Use InitializeEncryptionSpecMetadata.ProtoReflect.Descriptor instead.
func (*InitializeEncryptionSpecMetadata) GetCreateTime
func (x *InitializeEncryptionSpecMetadata) GetCreateTime() *timestamppb.Timestamp
func (*InitializeEncryptionSpecMetadata) GetEndTime
func (x *InitializeEncryptionSpecMetadata) GetEndTime() *timestamppb.Timestamp
func (*InitializeEncryptionSpecMetadata) GetPartialErrors
func (x *InitializeEncryptionSpecMetadata) GetPartialErrors() []*status.Status
func (*InitializeEncryptionSpecMetadata) GetRequest
func (x *InitializeEncryptionSpecMetadata) GetRequest() *InitializeEncryptionSpecRequest
func (*InitializeEncryptionSpecMetadata) ProtoMessage
func (*InitializeEncryptionSpecMetadata) ProtoMessage()
func (*InitializeEncryptionSpecMetadata) ProtoReflect
func (x *InitializeEncryptionSpecMetadata) ProtoReflect() protoreflect.Message
func (*InitializeEncryptionSpecMetadata) Reset
func (x *InitializeEncryptionSpecMetadata) Reset()
func (*InitializeEncryptionSpecMetadata) String
func (x *InitializeEncryptionSpecMetadata) String() string
InitializeEncryptionSpecRequest
type InitializeEncryptionSpecRequest struct {
// Required. The encryption spec used for CMEK encryption. It is required that
// the kms key is in the same region as the endpoint. The same key will be
// used for all provisioned resources, if encryption is available. If the
// `kms_key_name` field is left empty, no encryption will be enforced.
EncryptionSpec *EncryptionSpec `protobuf:"bytes,1,opt,name=encryption_spec,json=encryptionSpec,proto3" json:"encryption_spec,omitempty"`
// contains filtered or unexported fields
}
The request to initialize a location-level encryption specification.
func (*InitializeEncryptionSpecRequest) Descriptor
func (*InitializeEncryptionSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeEncryptionSpecRequest.ProtoReflect.Descriptor instead.
func (*InitializeEncryptionSpecRequest) GetEncryptionSpec
func (x *InitializeEncryptionSpecRequest) GetEncryptionSpec() *EncryptionSpec
func (*InitializeEncryptionSpecRequest) ProtoMessage
func (*InitializeEncryptionSpecRequest) ProtoMessage()
func (*InitializeEncryptionSpecRequest) ProtoReflect
func (x *InitializeEncryptionSpecRequest) ProtoReflect() protoreflect.Message
func (*InitializeEncryptionSpecRequest) Reset
func (x *InitializeEncryptionSpecRequest) Reset()
func (*InitializeEncryptionSpecRequest) String
func (x *InitializeEncryptionSpecRequest) String() string
InitializeEncryptionSpecResponse
type InitializeEncryptionSpecResponse struct {
// contains filtered or unexported fields
}
The response to initialize a location-level encryption specification.
func (*InitializeEncryptionSpecResponse) Descriptor
func (*InitializeEncryptionSpecResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeEncryptionSpecResponse.ProtoReflect.Descriptor instead.
func (*InitializeEncryptionSpecResponse) ProtoMessage
func (*InitializeEncryptionSpecResponse) ProtoMessage()
func (*InitializeEncryptionSpecResponse) ProtoReflect
func (x *InitializeEncryptionSpecResponse) ProtoReflect() protoreflect.Message
func (*InitializeEncryptionSpecResponse) Reset
func (x *InitializeEncryptionSpecResponse) Reset()
func (*InitializeEncryptionSpecResponse) String
func (x *InitializeEncryptionSpecResponse) String() string
Intent
type Intent struct {
// The unique identifier of the intent.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The human-readable name of the intent.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.
func (*Intent) Descriptor
Deprecated: Use Intent.ProtoReflect.Descriptor instead.
func (*Intent) GetDisplayName
func (*Intent) GetId
func (*Intent) ProtoMessage
func (*Intent) ProtoMessage()
func (*Intent) ProtoReflect
func (x *Intent) ProtoReflect() protoreflect.Message
func (*Intent) Reset
func (x *Intent) Reset()
func (*Intent) String
IntentMatchData
type IntentMatchData struct {
// The id of the matched intent.
// Can be used to retrieve the corresponding intent information.
IntentUniqueId string `protobuf:"bytes,1,opt,name=intent_unique_id,json=intentUniqueId,proto3" json:"intent_unique_id,omitempty"`
// contains filtered or unexported fields
}
The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.
func (*IntentMatchData) Descriptor
func (*IntentMatchData) Descriptor() ([]byte, []int)
Deprecated: Use IntentMatchData.ProtoReflect.Descriptor instead.
func (*IntentMatchData) GetIntentUniqueId
func (x *IntentMatchData) GetIntentUniqueId() string
func (*IntentMatchData) ProtoMessage
func (*IntentMatchData) ProtoMessage()
func (*IntentMatchData) ProtoReflect
func (x *IntentMatchData) ProtoReflect() protoreflect.Message
func (*IntentMatchData) Reset
func (x *IntentMatchData) Reset()
func (*IntentMatchData) String
func (x *IntentMatchData) String() string
InterruptionData
type InterruptionData struct {
// contains filtered or unexported fields
}
The data for an interruption annotation.
func (*InterruptionData) Descriptor
func (*InterruptionData) Descriptor() ([]byte, []int)
Deprecated: Use InterruptionData.ProtoReflect.Descriptor instead.
func (*InterruptionData) ProtoMessage
func (*InterruptionData) ProtoMessage()
func (*InterruptionData) ProtoReflect
func (x *InterruptionData) ProtoReflect() protoreflect.Message
func (*InterruptionData) Reset
func (x *InterruptionData) Reset()
func (*InterruptionData) String
func (x *InterruptionData) String() string
Issue
type Issue struct {
// Immutable. The resource name of the issue.
// Format:
// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The representative name for the issue.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The time at which this issue was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The most recent time that this issue was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Resource names of the sample representative utterances that
// match to this issue.
SampleUtterances []string `protobuf:"bytes,6,rep,name=sample_utterances,json=sampleUtterances,proto3" json:"sample_utterances,omitempty"`
// Representative description of the issue.
DisplayDescription string `protobuf:"bytes,14,opt,name=display_description,json=displayDescription,proto3" json:"display_description,omitempty"`
// contains filtered or unexported fields
}
The issue resource.
func (*Issue) Descriptor
Deprecated: Use Issue.ProtoReflect.Descriptor instead.
func (*Issue) GetCreateTime
func (x *Issue) GetCreateTime() *timestamppb.Timestamp
func (*Issue) GetDisplayDescription
func (*Issue) GetDisplayName
func (*Issue) GetName
func (*Issue) GetSampleUtterances
func (*Issue) GetUpdateTime
func (x *Issue) GetUpdateTime() *timestamppb.Timestamp
func (*Issue) ProtoMessage
func (*Issue) ProtoMessage()
func (*Issue) ProtoReflect
func (x *Issue) ProtoReflect() protoreflect.Message
func (*Issue) Reset
func (x *Issue) Reset()
func (*Issue) String
IssueAssignment
type IssueAssignment struct {
// Resource name of the assigned issue.
Issue string `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"`
// Score indicating the likelihood of the issue assignment.
// currently bounded on [0,1].
Score float64 `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
// Immutable. Display name of the assigned issue. This field is set at time of
// analyis and immutable since then.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Information about the issue.
func (*IssueAssignment) Descriptor
func (*IssueAssignment) Descriptor() ([]byte, []int)
Deprecated: Use IssueAssignment.ProtoReflect.Descriptor instead.
func (*IssueAssignment) GetDisplayName
func (x *IssueAssignment) GetDisplayName() string
func (*IssueAssignment) GetIssue
func (x *IssueAssignment) GetIssue() string
func (*IssueAssignment) GetScore
func (x *IssueAssignment) GetScore() float64
func (*IssueAssignment) ProtoMessage
func (*IssueAssignment) ProtoMessage()
func (*IssueAssignment) ProtoReflect
func (x *IssueAssignment) ProtoReflect() protoreflect.Message
func (*IssueAssignment) Reset
func (x *IssueAssignment) Reset()
func (*IssueAssignment) String
func (x *IssueAssignment) String() string
IssueMatchData
type IssueMatchData struct {
// Information about the issue's assignment.
IssueAssignment *IssueAssignment `protobuf:"bytes,1,opt,name=issue_assignment,json=issueAssignment,proto3" json:"issue_assignment,omitempty"`
// contains filtered or unexported fields
}
The data for an issue match annotation.
func (*IssueMatchData) Descriptor
func (*IssueMatchData) Descriptor() ([]byte, []int)
Deprecated: Use IssueMatchData.ProtoReflect.Descriptor instead.
func (*IssueMatchData) GetIssueAssignment
func (x *IssueMatchData) GetIssueAssignment() *IssueAssignment
func (*IssueMatchData) ProtoMessage
func (*IssueMatchData) ProtoMessage()
func (*IssueMatchData) ProtoReflect
func (x *IssueMatchData) ProtoReflect() protoreflect.Message
func (*IssueMatchData) Reset
func (x *IssueMatchData) Reset()
func (*IssueMatchData) String
func (x *IssueMatchData) String() string
IssueModel
type IssueModel struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
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"`
IssueCount int64 `protobuf:"varint,8,opt,name=issue_count,json=issueCount,proto3" json:"issue_count,omitempty"`
State IssueModel_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.contactcenterinsights.v1.IssueModel_State" json:"state,omitempty"`
InputDataConfig *IssueModel_InputDataConfig `protobuf:"bytes,6,opt,name=input_data_config,json=inputDataConfig,proto3" json:"input_data_config,omitempty"`
TrainingStats *IssueModelLabelStats `protobuf:"bytes,7,opt,name=training_stats,json=trainingStats,proto3" json:"training_stats,omitempty"`
ModelType IssueModel_ModelType "" /* 153 byte string literal not displayed */
LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
}
The issue model resource.
func (*IssueModel) Descriptor
func (*IssueModel) Descriptor() ([]byte, []int)
Deprecated: Use IssueModel.ProtoReflect.Descriptor instead.
func (*IssueModel) GetCreateTime
func (x *IssueModel) GetCreateTime() *timestamppb.Timestamp
func (*IssueModel) GetDisplayName
func (x *IssueModel) GetDisplayName() string
func (*IssueModel) GetInputDataConfig
func (x *IssueModel) GetInputDataConfig() *IssueModel_InputDataConfig
func (*IssueModel) GetIssueCount
func (x *IssueModel) GetIssueCount() int64
func (*IssueModel) GetLanguageCode
func (x *IssueModel) GetLanguageCode() string
func (*IssueModel) GetModelType
func (x *IssueModel) GetModelType() IssueModel_ModelType
func (*IssueModel) GetName
func (x *IssueModel) GetName() string
func (*IssueModel) GetState
func (x *IssueModel) GetState() IssueModel_State
func (*IssueModel) GetTrainingStats
func (x *IssueModel) GetTrainingStats() *IssueModelLabelStats
func (*IssueModel) GetUpdateTime
func (x *IssueModel) GetUpdateTime() *timestamppb.Timestamp
func (*IssueModel) ProtoMessage
func (*IssueModel) ProtoMessage()
func (*IssueModel) ProtoReflect
func (x *IssueModel) ProtoReflect() protoreflect.Message
func (*IssueModel) Reset
func (x *IssueModel) Reset()
func (*IssueModel) String
func (x *IssueModel) String() string
IssueModelLabelStats
type IssueModelLabelStats struct {
AnalyzedConversationsCount int64 "" /* 142 byte string literal not displayed */
UnclassifiedConversationsCount int64 "" /* 154 byte string literal not displayed */
IssueStats map[string]*IssueModelLabelStats_IssueStats "" /* 179 byte string literal not displayed */
}
Aggregated statistics about an issue model.
func (*IssueModelLabelStats) Descriptor
func (*IssueModelLabelStats) Descriptor() ([]byte, []int)
Deprecated: Use IssueModelLabelStats.ProtoReflect.Descriptor instead.
func (*IssueModelLabelStats) GetAnalyzedConversationsCount
func (x *IssueModelLabelStats) GetAnalyzedConversationsCount() int64
func (*IssueModelLabelStats) GetIssueStats
func (x *IssueModelLabelStats) GetIssueStats() map[string]*IssueModelLabelStats_IssueStats
func (*IssueModelLabelStats) GetUnclassifiedConversationsCount
func (x *IssueModelLabelStats) GetUnclassifiedConversationsCount() int64
func (*IssueModelLabelStats) ProtoMessage
func (*IssueModelLabelStats) ProtoMessage()
func (*IssueModelLabelStats) ProtoReflect
func (x *IssueModelLabelStats) ProtoReflect() protoreflect.Message
func (*IssueModelLabelStats) Reset
func (x *IssueModelLabelStats) Reset()
func (*IssueModelLabelStats) String
func (x *IssueModelLabelStats) String() string
IssueModelLabelStats_IssueStats
type IssueModelLabelStats_IssueStats struct {
Issue string `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"`
LabeledConversationsCount int64 "" /* 139 byte string literal not displayed */
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
}
Aggregated statistics about an issue.
func (*IssueModelLabelStats_IssueStats) Descriptor
func (*IssueModelLabelStats_IssueStats) Descriptor() ([]byte, []int)
Deprecated: Use IssueModelLabelStats_IssueStats.ProtoReflect.Descriptor instead.
func (*IssueModelLabelStats_IssueStats) GetDisplayName
func (x *IssueModelLabelStats_IssueStats) GetDisplayName() string
func (*IssueModelLabelStats_IssueStats) GetIssue
func (x *IssueModelLabelStats_IssueStats) GetIssue() string
func (*IssueModelLabelStats_IssueStats) GetLabeledConversationsCount
func (x *IssueModelLabelStats_IssueStats) GetLabeledConversationsCount() int64
func (*IssueModelLabelStats_IssueStats) ProtoMessage
func (*IssueModelLabelStats_IssueStats) ProtoMessage()
func (*IssueModelLabelStats_IssueStats) ProtoReflect
func (x *IssueModelLabelStats_IssueStats) ProtoReflect() protoreflect.Message
func (*IssueModelLabelStats_IssueStats) Reset
func (x *IssueModelLabelStats_IssueStats) Reset()
func (*IssueModelLabelStats_IssueStats) String
func (x *IssueModelLabelStats_IssueStats) String() string
IssueModelResult
type IssueModelResult struct {
// Issue model that generates the result.
// Format: projects/{project}/locations/{location}/issueModels/{issue_model}
IssueModel string `protobuf:"bytes,1,opt,name=issue_model,json=issueModel,proto3" json:"issue_model,omitempty"`
// All the matched issues.
Issues []*IssueAssignment `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
// contains filtered or unexported fields
}
Issue Modeling result on a conversation.
func (*IssueModelResult) Descriptor
func (*IssueModelResult) Descriptor() ([]byte, []int)
Deprecated: Use IssueModelResult.ProtoReflect.Descriptor instead.
func (*IssueModelResult) GetIssueModel
func (x *IssueModelResult) GetIssueModel() string
func (*IssueModelResult) GetIssues
func (x *IssueModelResult) GetIssues() []*IssueAssignment
func (*IssueModelResult) ProtoMessage
func (*IssueModelResult) ProtoMessage()
func (*IssueModelResult) ProtoReflect
func (x *IssueModelResult) ProtoReflect() protoreflect.Message
func (*IssueModelResult) Reset
func (x *IssueModelResult) Reset()
func (*IssueModelResult) String
func (x *IssueModelResult) String() string
IssueModel_InputDataConfig
type IssueModel_InputDataConfig struct {
Medium Conversation_Medium "" /* 129 byte string literal not displayed */
TrainingConversationsCount int64 "" /* 142 byte string literal not displayed */
Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
}
Configs for the input data used to create the issue model.
func (*IssueModel_InputDataConfig) Descriptor
func (*IssueModel_InputDataConfig) Descriptor() ([]byte, []int)
Deprecated: Use IssueModel_InputDataConfig.ProtoReflect.Descriptor instead.
func (*IssueModel_InputDataConfig) GetFilter
func (x *IssueModel_InputDataConfig) GetFilter() string
func (*IssueModel_InputDataConfig) GetMedium
func (x *IssueModel_InputDataConfig) GetMedium() Conversation_Medium
Deprecated: Marked as deprecated in google/cloud/contactcenterinsights/v1/resources.proto.
func (*IssueModel_InputDataConfig) GetTrainingConversationsCount
func (x *IssueModel_InputDataConfig) GetTrainingConversationsCount() int64
func (*IssueModel_InputDataConfig) ProtoMessage
func (*IssueModel_InputDataConfig) ProtoMessage()
func (*IssueModel_InputDataConfig) ProtoReflect
func (x *IssueModel_InputDataConfig) ProtoReflect() protoreflect.Message
func (*IssueModel_InputDataConfig) Reset
func (x *IssueModel_InputDataConfig) Reset()
func (*IssueModel_InputDataConfig) String
func (x *IssueModel_InputDataConfig) String() string
IssueModel_ModelType
type IssueModel_ModelType int32
Type of the model.
IssueModel_MODEL_TYPE_UNSPECIFIED, IssueModel_TYPE_V1, IssueModel_TYPE_V2
const (
// Unspecified model type.
IssueModel_MODEL_TYPE_UNSPECIFIED IssueModel_ModelType = 0
// Type V1.
IssueModel_TYPE_V1 IssueModel_ModelType = 1
// Type V2.
IssueModel_TYPE_V2 IssueModel_ModelType = 2
)
func (IssueModel_ModelType) Descriptor
func (IssueModel_ModelType) Descriptor() protoreflect.EnumDescriptor
func (IssueModel_ModelType) Enum
func (x IssueModel_ModelType) Enum() *IssueModel_ModelType
func (IssueModel_ModelType) EnumDescriptor
func (IssueModel_ModelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IssueModel_ModelType.Descriptor instead.
func (IssueModel_ModelType) Number
func (x IssueModel_ModelType) Number() protoreflect.EnumNumber
func (IssueModel_ModelType) String
func (x IssueModel_ModelType) String() string
func (IssueModel_ModelType) Type
func (IssueModel_ModelType) Type() protoreflect.EnumType
IssueModel_State
type IssueModel_State int32
State of the model.
IssueModel_STATE_UNSPECIFIED, IssueModel_UNDEPLOYED, IssueModel_DEPLOYING, IssueModel_DEPLOYED, IssueModel_UNDEPLOYING, IssueModel_DELETING
const (
// Unspecified.
IssueModel_STATE_UNSPECIFIED IssueModel_State = 0
// Model is not deployed but is ready to deploy.
IssueModel_UNDEPLOYED IssueModel_State = 1
// Model is being deployed.
IssueModel_DEPLOYING IssueModel_State = 2
// Model is deployed and is ready to be used. A model can only be used in
// analysis if it's in this state.
IssueModel_DEPLOYED IssueModel_State = 3
// Model is being undeployed.
IssueModel_UNDEPLOYING IssueModel_State = 4
// Model is being deleted.
IssueModel_DELETING IssueModel_State = 5
)
func (IssueModel_State) Descriptor
func (IssueModel_State) Descriptor() protoreflect.EnumDescriptor
func (IssueModel_State) Enum
func (x IssueModel_State) Enum() *IssueModel_State
func (IssueModel_State) EnumDescriptor
func (IssueModel_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use IssueModel_State.Descriptor instead.
func (IssueModel_State) Number
func (x IssueModel_State) Number() protoreflect.EnumNumber
func (IssueModel_State) String
func (x IssueModel_State) String() string
func (IssueModel_State) Type
func (IssueModel_State) Type() protoreflect.EnumType
ListAllFeedbackLabelsRequest
type ListAllFeedbackLabelsRequest struct {
// Required. The parent resource of all feedback labels per project.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of feedback labels to return in the response.
// A valid page size ranges from 0 to 100,000 inclusive. If the page size is
// zero or unspecified, a default page size of 100 will be chosen. Note that a
// call might return fewer results than the requested page size.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value returned by the last `ListAllFeedbackLabelsResponse`.
// This value indicates that this is a continuation of a prior
// `ListAllFeedbackLabels` call and that the system should return the next
// page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter to reduce results to a specific subset in the entire
// project. Supports disjunctions (OR) and conjunctions (AND).
//
// Supported fields:
//
// * `issue_model_id`
// * `qa_question_id`
// * `min_create_time`
// * `max_create_time`
// * `min_update_time`
// * `max_update_time`
// * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
The request for listing all feedback labels.
func (*ListAllFeedbackLabelsRequest) Descriptor
func (*ListAllFeedbackLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAllFeedbackLabelsRequest.ProtoReflect.Descriptor instead.
func (*ListAllFeedbackLabelsRequest) GetFilter
func (x *ListAllFeedbackLabelsRequest) GetFilter() string
func (*ListAllFeedbackLabelsRequest) GetPageSize
func (x *ListAllFeedbackLabelsRequest) GetPageSize() int32
func (*ListAllFeedbackLabelsRequest) GetPageToken
func (x *ListAllFeedbackLabelsRequest) GetPageToken() string
func (*ListAllFeedbackLabelsRequest) GetParent
func (x *ListAllFeedbackLabelsRequest) GetParent() string
func (*ListAllFeedbackLabelsRequest) ProtoMessage
func (*ListAllFeedbackLabelsRequest) ProtoMessage()
func (*ListAllFeedbackLabelsRequest) ProtoReflect
func (x *ListAllFeedbackLabelsRequest) ProtoReflect() protoreflect.Message
func (*ListAllFeedbackLabelsRequest) Reset
func (x *ListAllFeedbackLabelsRequest) Reset()
func (*ListAllFeedbackLabelsRequest) String
func (x *ListAllFeedbackLabelsRequest) String() string
ListAllFeedbackLabelsResponse
type ListAllFeedbackLabelsResponse struct {
// The feedback labels that match the request.
FeedbackLabels []*FeedbackLabel `protobuf:"bytes,1,rep,name=feedback_labels,json=feedbackLabels,proto3" json:"feedback_labels,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response for listing all feedback labels.
func (*ListAllFeedbackLabelsResponse) Descriptor
func (*ListAllFeedbackLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAllFeedbackLabelsResponse.ProtoReflect.Descriptor instead.
func (*ListAllFeedbackLabelsResponse) GetFeedbackLabels
func (x *ListAllFeedbackLabelsResponse) GetFeedbackLabels() []*FeedbackLabel
func (*ListAllFeedbackLabelsResponse) GetNextPageToken
func (x *ListAllFeedbackLabelsResponse) GetNextPageToken() string
func (*ListAllFeedbackLabelsResponse) ProtoMessage
func (*ListAllFeedbackLabelsResponse) ProtoMessage()
func (*ListAllFeedbackLabelsResponse) ProtoReflect
func (x *ListAllFeedbackLabelsResponse) ProtoReflect() protoreflect.Message
func (*ListAllFeedbackLabelsResponse) Reset
func (x *ListAllFeedbackLabelsResponse) Reset()
func (*ListAllFeedbackLabelsResponse) String
func (x *ListAllFeedbackLabelsResponse) String() string
ListAnalysesRequest
type ListAnalysesRequest struct {
// Required. The parent resource of the analyses.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of analyses to return in the response. If this
// value is zero, the service will select a default size. A call might return
// fewer objects than requested. A non-empty `next_page_token` in the response
// indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value returned by the last `ListAnalysesResponse`; indicates
// that this is a continuation of a prior `ListAnalyses` call and
// the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter to reduce results to a specific subset. Useful for querying
// conversations with specific properties.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
The request to list analyses.
func (*ListAnalysesRequest) Descriptor
func (*ListAnalysesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysesRequest.ProtoReflect.Descriptor instead.
func (*ListAnalysesRequest) GetFilter
func (x *ListAnalysesRequest) GetFilter() string
func (*ListAnalysesRequest) GetPageSize
func (x *ListAnalysesRequest) GetPageSize() int32
func (*ListAnalysesRequest) GetPageToken
func (x *ListAnalysesRequest) GetPageToken() string
func (*ListAnalysesRequest) GetParent
func (x *ListAnalysesRequest) GetParent() string
func (*ListAnalysesRequest) ProtoMessage
func (*ListAnalysesRequest) ProtoMessage()
func (*ListAnalysesRequest) ProtoReflect
func (x *ListAnalysesRequest) ProtoReflect() protoreflect.Message
func (*ListAnalysesRequest) Reset
func (x *ListAnalysesRequest) Reset()
func (*ListAnalysesRequest) String
func (x *ListAnalysesRequest) String() string
ListAnalysesResponse
type ListAnalysesResponse struct {
// The analyses that match the request.
Analyses []*Analysis `protobuf:"bytes,1,rep,name=analyses,proto3" json:"analyses,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response to list analyses.
func (*ListAnalysesResponse) Descriptor
func (*ListAnalysesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysesResponse.ProtoReflect.Descriptor instead.
func (*ListAnalysesResponse) GetAnalyses
func (x *ListAnalysesResponse) GetAnalyses() []*Analysis
func (*ListAnalysesResponse) GetNextPageToken
func (x *ListAnalysesResponse) GetNextPageToken() string
func (*ListAnalysesResponse) ProtoMessage
func (*ListAnalysesResponse) ProtoMessage()
func (*ListAnalysesResponse) ProtoReflect
func (x *ListAnalysesResponse) ProtoReflect() protoreflect.Message
func (*ListAnalysesResponse) Reset
func (x *ListAnalysesResponse) Reset()
func (*ListAnalysesResponse) String
func (x *ListAnalysesResponse) String() string
ListAnalysisRulesRequest
type ListAnalysisRulesRequest struct {
// Required. The parent resource of the analysis rules.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of analysis rule to return in the response. If
// this value is zero, the service will select a default size. A call may
// return fewer objects than requested. A non-empty `next_page_token` in the
// response indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value returned by the last `ListAnalysisRulesResponse`;
// indicates that this is a continuation of a prior `ListAnalysisRules` call
// and the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
The request to list analysis rules.
func (*ListAnalysisRulesRequest) Descriptor
func (*ListAnalysisRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysisRulesRequest.ProtoReflect.Descriptor instead.
func (*ListAnalysisRulesRequest) GetPageSize
func (x *ListAnalysisRulesRequest) GetPageSize() int32
func (*ListAnalysisRulesRequest) GetPageToken
func (x *ListAnalysisRulesRequest) GetPageToken() string
func (*ListAnalysisRulesRequest) GetParent
func (x *ListAnalysisRulesRequest) GetParent() string
func (*ListAnalysisRulesRequest) ProtoMessage
func (*ListAnalysisRulesRequest) ProtoMessage()
func (*ListAnalysisRulesRequest) ProtoReflect
func (x *ListAnalysisRulesRequest) ProtoReflect() protoreflect.Message
func (*ListAnalysisRulesRequest) Reset
func (x *ListAnalysisRulesRequest) Reset()
func (*ListAnalysisRulesRequest) String
func (x *ListAnalysisRulesRequest) String() string
ListAnalysisRulesResponse
type ListAnalysisRulesResponse struct {
// The analysis_rule that match the request.
AnalysisRules []*AnalysisRule `protobuf:"bytes,1,rep,name=analysis_rules,json=analysisRules,proto3" json:"analysis_rules,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response of listing views.
func (*ListAnalysisRulesResponse) Descriptor
func (*ListAnalysisRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnalysisRulesResponse.ProtoReflect.Descriptor instead.
func (*ListAnalysisRulesResponse) GetAnalysisRules
func (x *ListAnalysisRulesResponse) GetAnalysisRules() []*AnalysisRule
func (*ListAnalysisRulesResponse) GetNextPageToken
func (x *ListAnalysisRulesResponse) GetNextPageToken() string
func (*ListAnalysisRulesResponse) ProtoMessage
func (*ListAnalysisRulesResponse) ProtoMessage()
func (*ListAnalysisRulesResponse) ProtoReflect
func (x *ListAnalysisRulesResponse) ProtoReflect() protoreflect.Message
func (*ListAnalysisRulesResponse) Reset
func (x *ListAnalysisRulesResponse) Reset()
func (*ListAnalysisRulesResponse) String
func (x *ListAnalysisRulesResponse) String() string
ListConversationsRequest
type ListConversationsRequest struct {
// Required. The parent resource of the conversation.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of conversations to return in the response. A valid page
// size ranges from 0 to 100,000 inclusive. If the page size is zero or
// unspecified, a default page size of 100 will be chosen. Note that a call
// might return fewer results than the requested page size.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value returned by the last `ListConversationsResponse`. This value
// indicates that this is a continuation of a prior `ListConversations` call
// and that the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter to reduce results to a specific subset. Useful for querying
// conversations with specific properties.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The attribute by which to order conversations in the response.
// If empty, conversations will be ordered by descending creation time.
// Supported values are one of the following:
//
// * create_time
// * customer_satisfaction_rating
// * duration
// * latest_analysis
// * start_time
// * turn_count
//
// The default sort order is ascending. To specify order, append `asc` or
// `desc` (`create_time desc`).
// For more details, see [Google AIPs
// Ordering](https://google.aip.dev/132#ordering).
OrderBy string `protobuf:"bytes,7,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// The level of details of the conversation. Default is `BASIC`.
View ConversationView `protobuf:"varint,5,opt,name=view,proto3,enum=google.cloud.contactcenterinsights.v1.ConversationView" json:"view,omitempty"`
// contains filtered or unexported fields
}
Request to list conversations.
func (*ListConversationsRequest) Descriptor
func (*ListConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConversationsRequest.ProtoReflect.Descriptor instead.
func (*ListConversationsRequest) GetFilter
func (x *ListConversationsRequest) GetFilter() string
func (*ListConversationsRequest) GetOrderBy
func (x *ListConversationsRequest) GetOrderBy() string
func (*ListConversationsRequest) GetPageSize
func (x *ListConversationsRequest) GetPageSize() int32
func (*ListConversationsRequest) GetPageToken
func (x *ListConversationsRequest) GetPageToken() string
func (*ListConversationsRequest) GetParent
func (x *ListConversationsRequest) GetParent() string
func (*ListConversationsRequest) GetView
func (x *ListConversationsRequest) GetView() ConversationView
func (*ListConversationsRequest) ProtoMessage
func (*ListConversationsRequest) ProtoMessage()
func (*ListConversationsRequest) ProtoReflect
func (x *ListConversationsRequest) ProtoReflect() protoreflect.Message
func (*ListConversationsRequest) Reset
func (x *ListConversationsRequest) Reset()
func (*ListConversationsRequest) String
func (x *ListConversationsRequest) String() string
ListConversationsResponse
type ListConversationsResponse struct {
// The conversations that match the request.
Conversations []*Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"`
// A token which can be sent as `page_token` to retrieve the next page. If
// this field is set, it means there is another page available. If it is not
// set, it means no other pages are available.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response of listing conversations.
func (*ListConversationsResponse) Descriptor
func (*ListConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConversationsResponse.ProtoReflect.Descriptor instead.
func (*ListConversationsResponse) GetConversations
func (x *ListConversationsResponse) GetConversations() []*Conversation
func (*ListConversationsResponse) GetNextPageToken
func (x *ListConversationsResponse) GetNextPageToken() string
func (*ListConversationsResponse) ProtoMessage
func (*ListConversationsResponse) ProtoMessage()
func (*ListConversationsResponse) ProtoReflect
func (x *ListConversationsResponse) ProtoReflect() protoreflect.Message
func (*ListConversationsResponse) Reset
func (x *ListConversationsResponse) Reset()
func (*ListConversationsResponse) String
func (x *ListConversationsResponse) String() string
ListFeedbackLabelsRequest
type ListFeedbackLabelsRequest struct {
// Required. The parent resource of the feedback labels.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. A filter to reduce results to a specific subset. Supports
// disjunctions (OR) and conjunctions (AND). Automatically sorts by
// conversation ID. To sort by all feedback labels in a project see
// ListAllFeedbackLabels.
//
// Supported fields:
//
// * `issue_model_id`
// * `qa_question_id`
// * `qa_scorecard_id`
// * `min_create_time`
// * `max_create_time`
// * `min_update_time`
// * `max_update_time`
// * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. The maximum number of feedback labels to return in the response.
// A valid page size ranges from 0 to 100,000 inclusive. If the page size is
// zero or unspecified, a default page size of 100 will be chosen. Note that a
// call might return fewer results than the requested page size.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
// value indicates that this is a continuation of a prior `ListFeedbackLabels`
// call and that the system should return the next page of data.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
The request for listing feedback labels.
func (*ListFeedbackLabelsRequest) Descriptor
func (*ListFeedbackLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFeedbackLabelsRequest.ProtoReflect.Descriptor instead.
func (*ListFeedbackLabelsRequest) GetFilter
func (x *ListFeedbackLabelsRequest) GetFilter() string
func (*ListFeedbackLabelsRequest) GetPageSize
func (x *ListFeedbackLabelsRequest) GetPageSize() int32
func (*ListFeedbackLabelsRequest) GetPageToken
func (x *ListFeedbackLabelsRequest) GetPageToken() string
func (*ListFeedbackLabelsRequest) GetParent
func (x *ListFeedbackLabelsRequest) GetParent() string
func (*ListFeedbackLabelsRequest) ProtoMessage
func (*ListFeedbackLabelsRequest) ProtoMessage()
func (*ListFeedbackLabelsRequest) ProtoReflect
func (x *ListFeedbackLabelsRequest) ProtoReflect() protoreflect.Message
func (*ListFeedbackLabelsRequest) Reset
func (x *ListFeedbackLabelsRequest) Reset()
func (*ListFeedbackLabelsRequest) String
func (x *ListFeedbackLabelsRequest) String() string
ListFeedbackLabelsResponse
type ListFeedbackLabelsResponse struct {
// The feedback labels that match the request.
FeedbackLabels []*FeedbackLabel `protobuf:"bytes,1,rep,name=feedback_labels,json=feedbackLabels,proto3" json:"feedback_labels,omitempty"`
// The next page token.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response for listing feedback labels.
func (*ListFeedbackLabelsResponse) Descriptor
func (*ListFeedbackLabelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFeedbackLabelsResponse.ProtoReflect.Descriptor instead.
func (*ListFeedbackLabelsResponse) GetFeedbackLabels
func (x *ListFeedbackLabelsResponse) GetFeedbackLabels() []*FeedbackLabel
func (*ListFeedbackLabelsResponse) GetNextPageToken
func (x *ListFeedbackLabelsResponse) GetNextPageToken() string
func (*ListFeedbackLabelsResponse) ProtoMessage
func (*ListFeedbackLabelsResponse) ProtoMessage()
func (*ListFeedbackLabelsResponse) ProtoReflect
func (x *ListFeedbackLabelsResponse) ProtoReflect() protoreflect.Message
func (*ListFeedbackLabelsResponse) Reset
func (x *ListFeedbackLabelsResponse) Reset()
func (*ListFeedbackLabelsResponse) String
func (x *ListFeedbackLabelsResponse) String() string
ListIssueModelsRequest
type ListIssueModelsRequest struct {
// Required. The parent resource of the issue model.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
Request to list issue models.
func (*ListIssueModelsRequest) Descriptor
func (*ListIssueModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIssueModelsRequest.ProtoReflect.Descriptor instead.
func (*ListIssueModelsRequest) GetParent
func (x *ListIssueModelsRequest) GetParent() string
func (*ListIssueModelsRequest) ProtoMessage
func (*ListIssueModelsRequest) ProtoMessage()
func (*ListIssueModelsRequest) ProtoReflect
func (x *ListIssueModelsRequest) ProtoReflect() protoreflect.Message
func (*ListIssueModelsRequest) Reset
func (x *ListIssueModelsRequest) Reset()
func (*ListIssueModelsRequest) String
func (x *ListIssueModelsRequest) String() string
ListIssueModelsResponse
type ListIssueModelsResponse struct {
// The issue models that match the request.
IssueModels []*IssueModel `protobuf:"bytes,1,rep,name=issue_models,json=issueModels,proto3" json:"issue_models,omitempty"`
// contains filtered or unexported fields
}
The response of listing issue models.
func (*ListIssueModelsResponse) Descriptor
func (*ListIssueModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIssueModelsResponse.ProtoReflect.Descriptor instead.
func (*ListIssueModelsResponse) GetIssueModels
func (x *ListIssueModelsResponse) GetIssueModels() []*IssueModel
func (*ListIssueModelsResponse) ProtoMessage
func (*ListIssueModelsResponse) ProtoMessage()
func (*ListIssueModelsResponse) ProtoReflect
func (x *ListIssueModelsResponse) ProtoReflect() protoreflect.Message
func (*ListIssueModelsResponse) Reset
func (x *ListIssueModelsResponse) Reset()
func (*ListIssueModelsResponse) String
func (x *ListIssueModelsResponse) String() string
ListIssuesRequest
type ListIssuesRequest struct {
// Required. The parent resource of the issue.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// contains filtered or unexported fields
}
Request to list issues.
func (*ListIssuesRequest) Descriptor
func (*ListIssuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIssuesRequest.ProtoReflect.Descriptor instead.
func (*ListIssuesRequest) GetParent
func (x *ListIssuesRequest) GetParent() string
func (*ListIssuesRequest) ProtoMessage
func (*ListIssuesRequest) ProtoMessage()
func (*ListIssuesRequest) ProtoReflect
func (x *ListIssuesRequest) ProtoReflect() protoreflect.Message
func (*ListIssuesRequest) Reset
func (x *ListIssuesRequest) Reset()
func (*ListIssuesRequest) String
func (x *ListIssuesRequest) String() string
ListIssuesResponse
type ListIssuesResponse struct {
// The issues that match the request.
Issues []*Issue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
// contains filtered or unexported fields
}
The response of listing issues.
func (*ListIssuesResponse) Descriptor
func (*ListIssuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIssuesResponse.ProtoReflect.Descriptor instead.
func (*ListIssuesResponse) GetIssues
func (x *ListIssuesResponse) GetIssues() []*Issue
func (*ListIssuesResponse) ProtoMessage
func (*ListIssuesResponse) ProtoMessage()
func (*ListIssuesResponse) ProtoReflect
func (x *ListIssuesResponse) ProtoReflect() protoreflect.Message
func (*ListIssuesResponse) Reset
func (x *ListIssuesResponse) Reset()
func (*ListIssuesResponse) String
func (x *ListIssuesResponse) String() string
ListPhraseMatchersRequest
type ListPhraseMatchersRequest struct {
// Required. The parent resource of the phrase matcher.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of phrase matchers to return in the response. If this
// value is zero, the service will select a default size. A call might return
// fewer objects than requested. A non-empty `next_page_token` in the response
// indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value returned by the last `ListPhraseMatchersResponse`. This value
// indicates that this is a continuation of a prior `ListPhraseMatchers` call
// and that the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// A filter to reduce results to a specific subset. Useful for querying
// phrase matchers with specific properties.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request to list phrase matchers.
func (*ListPhraseMatchersRequest) Descriptor
func (*ListPhraseMatchersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPhraseMatchersRequest.ProtoReflect.Descriptor instead.
func (*ListPhraseMatchersRequest) GetFilter
func (x *ListPhraseMatchersRequest) GetFilter() string
func (*ListPhraseMatchersRequest) GetPageSize
func (x *ListPhraseMatchersRequest) GetPageSize() int32
func (*ListPhraseMatchersRequest) GetPageToken
func (x *ListPhraseMatchersRequest) GetPageToken() string
func (*ListPhraseMatchersRequest) GetParent
func (x *ListPhraseMatchersRequest) GetParent() string
func (*ListPhraseMatchersRequest) ProtoMessage
func (*ListPhraseMatchersRequest) ProtoMessage()
func (*ListPhraseMatchersRequest) ProtoReflect
func (x *ListPhraseMatchersRequest) ProtoReflect() protoreflect.Message
func (*ListPhraseMatchersRequest) Reset
func (x *ListPhraseMatchersRequest) Reset()
func (*ListPhraseMatchersRequest) String
func (x *ListPhraseMatchersRequest) String() string
ListPhraseMatchersResponse
type ListPhraseMatchersResponse struct {
// The phrase matchers that match the request.
PhraseMatchers []*PhraseMatcher `protobuf:"bytes,1,rep,name=phrase_matchers,json=phraseMatchers,proto3" json:"phrase_matchers,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response of listing phrase matchers.
func (*ListPhraseMatchersResponse) Descriptor
func (*ListPhraseMatchersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPhraseMatchersResponse.ProtoReflect.Descriptor instead.
func (*ListPhraseMatchersResponse) GetNextPageToken
func (x *ListPhraseMatchersResponse) GetNextPageToken() string
func (*ListPhraseMatchersResponse) GetPhraseMatchers
func (x *ListPhraseMatchersResponse) GetPhraseMatchers() []*PhraseMatcher
func (*ListPhraseMatchersResponse) ProtoMessage
func (*ListPhraseMatchersResponse) ProtoMessage()
func (*ListPhraseMatchersResponse) ProtoReflect
func (x *ListPhraseMatchersResponse) ProtoReflect() protoreflect.Message
func (*ListPhraseMatchersResponse) Reset
func (x *ListPhraseMatchersResponse) Reset()
func (*ListPhraseMatchersResponse) String
func (x *ListPhraseMatchersResponse) String() string
ListQaQuestionsRequest
type ListQaQuestionsRequest struct {
// Required. The parent resource of the questions.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of questions to return in the response. If the
// value is zero, the service will select a default size. A call might return
// fewer objects than requested. A non-empty `next_page_token` in the response
// indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value returned by the last `ListQaQuestionsResponse`. This
// value indicates that this is a continuation of a prior `ListQaQuestions`
// call and that the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request to list QaQuestions.
func (*ListQaQuestionsRequest) Descriptor
func (*ListQaQuestionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQaQuestionsRequest.ProtoReflect.Descriptor instead.
func (*ListQaQuestionsRequest) GetPageSize
func (x *ListQaQuestionsRequest) GetPageSize() int32
func (*ListQaQuestionsRequest) GetPageToken
func (x *ListQaQuestionsRequest) GetPageToken() string
func (*ListQaQuestionsRequest) GetParent
func (x *ListQaQuestionsRequest) GetParent() string
func (*ListQaQuestionsRequest) ProtoMessage
func (*ListQaQuestionsRequest) ProtoMessage()
func (*ListQaQuestionsRequest) ProtoReflect
func (x *ListQaQuestionsRequest) ProtoReflect() protoreflect.Message
func (*ListQaQuestionsRequest) Reset
func (x *ListQaQuestionsRequest) Reset()
func (*ListQaQuestionsRequest) String
func (x *ListQaQuestionsRequest) String() string
ListQaQuestionsResponse
type ListQaQuestionsResponse struct {
// The QaQuestions under the parent.
QaQuestions []*QaQuestion `protobuf:"bytes,1,rep,name=qa_questions,json=qaQuestions,proto3" json:"qa_questions,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response from a ListQaQuestions request.
func (*ListQaQuestionsResponse) Descriptor
func (*ListQaQuestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQaQuestionsResponse.ProtoReflect.Descriptor instead.
func (*ListQaQuestionsResponse) GetNextPageToken
func (x *ListQaQuestionsResponse) GetNextPageToken() string
func (*ListQaQuestionsResponse) GetQaQuestions
func (x *ListQaQuestionsResponse) GetQaQuestions() []*QaQuestion
func (*ListQaQuestionsResponse) ProtoMessage
func (*ListQaQuestionsResponse) ProtoMessage()
func (*ListQaQuestionsResponse) ProtoReflect
func (x *ListQaQuestionsResponse) ProtoReflect() protoreflect.Message
func (*ListQaQuestionsResponse) Reset
func (x *ListQaQuestionsResponse) Reset()
func (*ListQaQuestionsResponse) String
func (x *ListQaQuestionsResponse) String() string
ListQaScorecardRevisionsRequest
type ListQaScorecardRevisionsRequest struct {
// Required. The parent resource of the scorecard revisions. To list all
// revisions of all scorecards, substitute the QaScorecard ID with a '-'
// character.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of scorecard revisions to return in the
// response. If the value is zero, the service will select a default size. A
// call might return fewer objects than requested. A non-empty
// `next_page_token` in the response indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value returned by the last
// `ListQaScorecardRevisionsResponse`. This value indicates that this is a
// continuation of a prior `ListQaScorecardRevisions` call and that the system
// should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A filter to reduce results to a specific subset. Useful for
// querying scorecard revisions with specific properties.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Request to list QaScorecardRevisions
func (*ListQaScorecardRevisionsRequest) Descriptor
func (*ListQaScorecardRevisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQaScorecardRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListQaScorecardRevisionsRequest) GetFilter
func (x *ListQaScorecardRevisionsRequest) GetFilter() string
func (*ListQaScorecardRevisionsRequest) GetPageSize
func (x *ListQaScorecardRevisionsRequest) GetPageSize() int32
func (*ListQaScorecardRevisionsRequest) GetPageToken
func (x *ListQaScorecardRevisionsRequest) GetPageToken() string
func (*ListQaScorecardRevisionsRequest) GetParent
func (x *ListQaScorecardRevisionsRequest) GetParent() string
func (*ListQaScorecardRevisionsRequest) ProtoMessage
func (*ListQaScorecardRevisionsRequest) ProtoMessage()
func (*ListQaScorecardRevisionsRequest) ProtoReflect
func (x *ListQaScorecardRevisionsRequest) ProtoReflect() protoreflect.Message
func (*ListQaScorecardRevisionsRequest) Reset
func (x *ListQaScorecardRevisionsRequest) Reset()
func (*ListQaScorecardRevisionsRequest) String
func (x *ListQaScorecardRevisionsRequest) String() string
ListQaScorecardRevisionsResponse
type ListQaScorecardRevisionsResponse struct {
// The QaScorecards under the parent.
QaScorecardRevisions []*QaScorecardRevision `protobuf:"bytes,1,rep,name=qa_scorecard_revisions,json=qaScorecardRevisions,proto3" json:"qa_scorecard_revisions,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response from a ListQaScorecardRevisions request.
func (*ListQaScorecardRevisionsResponse) Descriptor
func (*ListQaScorecardRevisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQaScorecardRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListQaScorecardRevisionsResponse) GetNextPageToken
func (x *ListQaScorecardRevisionsResponse) GetNextPageToken() string
func (*ListQaScorecardRevisionsResponse) GetQaScorecardRevisions
func (x *ListQaScorecardRevisionsResponse) GetQaScorecardRevisions() []*QaScorecardRevision
func (*ListQaScorecardRevisionsResponse) ProtoMessage
func (*ListQaScorecardRevisionsResponse) ProtoMessage()
func (*ListQaScorecardRevisionsResponse) ProtoReflect
func (x *ListQaScorecardRevisionsResponse) ProtoReflect() protoreflect.Message
func (*ListQaScorecardRevisionsResponse) Reset
func (x *ListQaScorecardRevisionsResponse) Reset()
func (*ListQaScorecardRevisionsResponse) String
func (x *ListQaScorecardRevisionsResponse) String() string
ListQaScorecardsRequest
type ListQaScorecardsRequest struct {
// Required. The parent resource of the scorecards.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of scorecards to return in the response. If
// the value is zero, the service will select a default size. A call might
// return fewer objects than requested. A non-empty `next_page_token` in the
// response indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The value returned by the last `ListQaScorecardsResponse`. This
// value indicates that this is a continuation of a prior `ListQaScorecards`
// call and that the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request to list QaScorecards.
func (*ListQaScorecardsRequest) Descriptor
func (*ListQaScorecardsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListQaScorecardsRequest.ProtoReflect.Descriptor instead.
func (*ListQaScorecardsRequest) GetPageSize
func (x *ListQaScorecardsRequest) GetPageSize() int32
func (*ListQaScorecardsRequest) GetPageToken
func (x *ListQaScorecardsRequest) GetPageToken() string
func (*ListQaScorecardsRequest) GetParent
func (x *ListQaScorecardsRequest) GetParent() string
func (*ListQaScorecardsRequest) ProtoMessage
func (*ListQaScorecardsRequest) ProtoMessage()
func (*ListQaScorecardsRequest) ProtoReflect
func (x *ListQaScorecardsRequest) ProtoReflect() protoreflect.Message
func (*ListQaScorecardsRequest) Reset
func (x *ListQaScorecardsRequest) Reset()
func (*ListQaScorecardsRequest) String
func (x *ListQaScorecardsRequest) String() string
ListQaScorecardsResponse
type ListQaScorecardsResponse struct {
// The QaScorecards under the parent.
QaScorecards []*QaScorecard `protobuf:"bytes,1,rep,name=qa_scorecards,json=qaScorecards,proto3" json:"qa_scorecards,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response from a ListQaScorecards request.
func (*ListQaScorecardsResponse) Descriptor
func (*ListQaScorecardsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListQaScorecardsResponse.ProtoReflect.Descriptor instead.
func (*ListQaScorecardsResponse) GetNextPageToken
func (x *ListQaScorecardsResponse) GetNextPageToken() string
func (*ListQaScorecardsResponse) GetQaScorecards
func (x *ListQaScorecardsResponse) GetQaScorecards() []*QaScorecard
func (*ListQaScorecardsResponse) ProtoMessage
func (*ListQaScorecardsResponse) ProtoMessage()
func (*ListQaScorecardsResponse) ProtoReflect
func (x *ListQaScorecardsResponse) ProtoReflect() protoreflect.Message
func (*ListQaScorecardsResponse) Reset
func (x *ListQaScorecardsResponse) Reset()
func (*ListQaScorecardsResponse) String
func (x *ListQaScorecardsResponse) String() string
ListViewsRequest
type ListViewsRequest struct {
// Required. The parent resource of the views.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of views to return in the response. If this
// value is zero, the service will select a default size. A call may return
// fewer objects than requested. A non-empty `next_page_token` in the response
// indicates that more data is available.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The value returned by the last `ListViewsResponse`; indicates
// that this is a continuation of a prior `ListViews` call and
// the system should return the next page of data.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
The request to list views.
func (*ListViewsRequest) Descriptor
func (*ListViewsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListViewsRequest.ProtoReflect.Descriptor instead.
func (*ListViewsRequest) GetPageSize
func (x *ListViewsRequest) GetPageSize() int32
func (*ListViewsRequest) GetPageToken
func (x *ListViewsRequest) GetPageToken() string
func (*ListViewsRequest) GetParent
func (x *ListViewsRequest) GetParent() string
func (*ListViewsRequest) ProtoMessage
func (*ListViewsRequest) ProtoMessage()
func (*ListViewsRequest) ProtoReflect
func (x *ListViewsRequest) ProtoReflect() protoreflect.Message
func (*ListViewsRequest) Reset
func (x *ListViewsRequest) Reset()
func (*ListViewsRequest) String
func (x *ListViewsRequest) String() string
ListViewsResponse
type ListViewsResponse struct {
// The views that match the request.
Views []*View `protobuf:"bytes,1,rep,name=views,proto3" json:"views,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
The response of listing views.
func (*ListViewsResponse) Descriptor
func (*ListViewsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListViewsResponse.ProtoReflect.Descriptor instead.
func (*ListViewsResponse) GetNextPageToken
func (x *ListViewsResponse) GetNextPageToken() string
func (*ListViewsResponse) GetViews
func (x *ListViewsResponse) GetViews() []*View
func (*ListViewsResponse) ProtoMessage
func (*ListViewsResponse) ProtoMessage()
func (*ListViewsResponse) ProtoReflect
func (x *ListViewsResponse) ProtoReflect() protoreflect.Message
func (*ListViewsResponse) Reset
func (x *ListViewsResponse) Reset()
func (*ListViewsResponse) String
func (x *ListViewsResponse) String() string
PhraseMatchData
type PhraseMatchData struct {
// The unique identifier (the resource name) of the phrase matcher.
PhraseMatcher string `protobuf:"bytes,1,opt,name=phrase_matcher,json=phraseMatcher,proto3" json:"phrase_matcher,omitempty"`
// The human-readable name of the phrase matcher.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
The data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.
func (*PhraseMatchData) Descriptor
func (*PhraseMatchData) Descriptor() ([]byte, []int)
Deprecated: Use PhraseMatchData.ProtoReflect.Descriptor instead.
func (*PhraseMatchData) GetDisplayName
func (x *PhraseMatchData) GetDisplayName() string
func (*PhraseMatchData) GetPhraseMatcher
func (x *PhraseMatchData) GetPhraseMatcher() string
func (*PhraseMatchData) ProtoMessage
func (*PhraseMatchData) ProtoMessage()
func (*PhraseMatchData) ProtoReflect
func (x *PhraseMatchData) ProtoReflect() protoreflect.Message
func (*PhraseMatchData) Reset
func (x *PhraseMatchData) Reset()
func (*PhraseMatchData) String
func (x *PhraseMatchData) String() string
PhraseMatchRule
type PhraseMatchRule struct {
// Required. The phrase to be matched.
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// Specifies whether the phrase must be missing from the transcript segment or
// present in the transcript segment.
Negated bool `protobuf:"varint,2,opt,name=negated,proto3" json:"negated,omitempty"`
// Provides additional information about the rule that specifies how to apply
// the rule.
Config *PhraseMatchRuleConfig `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
The data for a phrase match rule.
func (*PhraseMatchRule) Descriptor
func (*PhraseMatchRule) Descriptor() ([]byte, []int)
Deprecated: Use PhraseMatchRule.ProtoReflect.Descriptor instead.
func (*PhraseMatchRule) GetConfig
func (x *PhraseMatchRule) GetConfig() *PhraseMatchRuleConfig
func (*PhraseMatchRule) GetNegated
func (x *PhraseMatchRule) GetNegated() bool
func (*PhraseMatchRule) GetQuery
func (x *PhraseMatchRule) GetQuery() string
func (*PhraseMatchRule) ProtoMessage
func (*PhraseMatchRule) ProtoMessage()
func (*PhraseMatchRule) ProtoReflect
func (x *PhraseMatchRule) ProtoReflect() protoreflect.Message
func (*PhraseMatchRule) Reset
func (x *PhraseMatchRule) Reset()
func (*PhraseMatchRule) String
func (x *PhraseMatchRule) String() string
PhraseMatchRuleConfig
type PhraseMatchRuleConfig struct {
// The configuration of the phrase match rule.
//
// Types that are assignable to Config:
//
// *PhraseMatchRuleConfig_ExactMatchConfig
Config isPhraseMatchRuleConfig_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}
Configuration information of a phrase match rule.
func (*PhraseMatchRuleConfig) Descriptor
func (*PhraseMatchRuleConfig) Descriptor() ([]byte, []int)
Deprecated: Use PhraseMatchRuleConfig.ProtoReflect.Descriptor instead.
func (*PhraseMatchRuleConfig) GetConfig
func (m *PhraseMatchRuleConfig) GetConfig() isPhraseMatchRuleConfig_Config
func (*PhraseMatchRuleConfig) GetExactMatchConfig
func (x *PhraseMatchRuleConfig) GetExactMatchConfig() *ExactMatchConfig
func (*PhraseMatchRuleConfig) ProtoMessage
func (*PhraseMatchRuleConfig) ProtoMessage()
func (*PhraseMatchRuleConfig) ProtoReflect
func (x *PhraseMatchRuleConfig) ProtoReflect() protoreflect.Message
func (*PhraseMatchRuleConfig) Reset
func (x *PhraseMatchRuleConfig) Reset()
func (*PhraseMatchRuleConfig) String
func (x *PhraseMatchRuleConfig) String() string
PhraseMatchRuleConfig_ExactMatchConfig
type PhraseMatchRuleConfig_ExactMatchConfig struct {
// The configuration for the exact match rule.
ExactMatchConfig *ExactMatchConfig `protobuf:"bytes,1,opt,name=exact_match_config,json=exactMatchConfig,proto3,oneof"`
}
PhraseMatchRuleGroup
type PhraseMatchRuleGroup struct {
Type PhraseMatchRuleGroup_PhraseMatchRuleGroupType "" /* 151 byte string literal not displayed */
PhraseMatchRules []*PhraseMatchRule `protobuf:"bytes,2,rep,name=phrase_match_rules,json=phraseMatchRules,proto3" json:"phrase_match_rules,omitempty"`
}
A message representing a rule in the phrase matcher.
func (*PhraseMatchRuleGroup) Descriptor
func (*PhraseMatchRuleGroup) Descriptor() ([]byte, []int)
Deprecated: Use PhraseMatchRuleGroup.ProtoReflect.Descriptor instead.
func (*PhraseMatchRuleGroup) GetPhraseMatchRules
func (x *PhraseMatchRuleGroup) GetPhraseMatchRules() []*PhraseMatchRule
func (*PhraseMatchRuleGroup) GetType
func (x *PhraseMatchRuleGroup) GetType() PhraseMatchRuleGroup_PhraseMatchRuleGroupType
func (*PhraseMatchRuleGroup) ProtoMessage
func (*PhraseMatchRuleGroup) ProtoMessage()
func (*PhraseMatchRuleGroup) ProtoReflect
func (x *PhraseMatchRuleGroup) ProtoReflect() protoreflect.Message
func (*PhraseMatchRuleGroup) Reset
func (x *PhraseMatchRuleGroup) Reset()
func (*PhraseMatchRuleGroup) String
func (x *PhraseMatchRuleGroup) String() string
PhraseMatchRuleGroup_PhraseMatchRuleGroupType
type PhraseMatchRuleGroup_PhraseMatchRuleGroupType int32
Specifies how to combine each phrase match rule for whether there is a match.
PhraseMatchRuleGroup_PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED, PhraseMatchRuleGroup_ALL_OF, PhraseMatchRuleGroup_ANY_OF
const (
// Unspecified.
PhraseMatchRuleGroup_PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED PhraseMatchRuleGroup_PhraseMatchRuleGroupType = 0
// Must meet all phrase match rules or there is no match.
PhraseMatchRuleGroup_ALL_OF PhraseMatchRuleGroup_PhraseMatchRuleGroupType = 1
// If any of the phrase match rules are met, there is a match.
PhraseMatchRuleGroup_ANY_OF PhraseMatchRuleGroup_PhraseMatchRuleGroupType = 2
)
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Descriptor
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Descriptor() protoreflect.EnumDescriptor
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Enum
func (x PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Enum() *PhraseMatchRuleGroup_PhraseMatchRuleGroupType
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) EnumDescriptor
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PhraseMatchRuleGroup_PhraseMatchRuleGroupType.Descriptor instead.
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Number
func (x PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Number() protoreflect.EnumNumber
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) String
func (x PhraseMatchRuleGroup_PhraseMatchRuleGroupType) String() string
func (PhraseMatchRuleGroup_PhraseMatchRuleGroupType) Type
PhraseMatcher
type PhraseMatcher struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
VersionTag string `protobuf:"bytes,3,opt,name=version_tag,json=versionTag,proto3" json:"version_tag,omitempty"`
RevisionCreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=revision_create_time,json=revisionCreateTime,proto3" json:"revision_create_time,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Type PhraseMatcher_PhraseMatcherType "" /* 137 byte string literal not displayed */
Active bool `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"`
PhraseMatchRuleGroups []*PhraseMatchRuleGroup "" /* 128 byte string literal not displayed */
ActivationUpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=activation_update_time,json=activationUpdateTime,proto3" json:"activation_update_time,omitempty"`
RoleMatch ConversationParticipant_Role "" /* 162 byte string literal not displayed */
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
}
The phrase matcher resource.
func (*PhraseMatcher) Descriptor
func (*PhraseMatcher) Descriptor() ([]byte, []int)
Deprecated: Use PhraseMatcher.ProtoReflect.Descriptor instead.
func (*PhraseMatcher) GetActivationUpdateTime
func (x *PhraseMatcher) GetActivationUpdateTime() *timestamppb.Timestamp
func (*PhraseMatcher) GetActive
func (x *PhraseMatcher) GetActive() bool
func (*PhraseMatcher) GetDisplayName
func (x *PhraseMatcher) GetDisplayName() string
func (*PhraseMatcher) GetName
func (x *PhraseMatcher) GetName() string
func (*PhraseMatcher) GetPhraseMatchRuleGroups
func (x *PhraseMatcher) GetPhraseMatchRuleGroups() []*PhraseMatchRuleGroup
func (*PhraseMatcher) GetRevisionCreateTime
func (x *PhraseMatcher) GetRevisionCreateTime() *timestamppb.Timestamp
func (*PhraseMatcher) GetRevisionId
func (x *PhraseMatcher) GetRevisionId() string
func (*PhraseMatcher) GetRoleMatch
func (x *PhraseMatcher) GetRoleMatch() ConversationParticipant_Role
func (*PhraseMatcher) GetType
func (x *PhraseMatcher) GetType() PhraseMatcher_PhraseMatcherType
func (*PhraseMatcher) GetUpdateTime
func (x *PhraseMatcher) GetUpdateTime() *timestamppb.Timestamp
func (*PhraseMatcher) GetVersionTag
func (x *PhraseMatcher) GetVersionTag() string
func (*PhraseMatcher) ProtoMessage
func (*PhraseMatcher) ProtoMessage()
func (*PhraseMatcher) ProtoReflect
func (x *PhraseMatcher) ProtoReflect() protoreflect.Message
func (*PhraseMatcher) Reset
func (x *PhraseMatcher) Reset()
func (*PhraseMatcher) String
func (x *PhraseMatcher) String() string
PhraseMatcher_PhraseMatcherType
type PhraseMatcher_PhraseMatcherType int32
Specifies how to combine each phrase match rule group to determine whether there is a match.
PhraseMatcher_PHRASE_MATCHER_TYPE_UNSPECIFIED, PhraseMatcher_ALL_OF, PhraseMatcher_ANY_OF
const (
// Unspecified.
PhraseMatcher_PHRASE_MATCHER_TYPE_UNSPECIFIED PhraseMatcher_PhraseMatcherType = 0
// Must meet all phrase match rule groups or there is no match.
PhraseMatcher_ALL_OF PhraseMatcher_PhraseMatcherType = 1
// If any of the phrase match rule groups are met, there is a match.
PhraseMatcher_ANY_OF PhraseMatcher_PhraseMatcherType = 2
)
func (PhraseMatcher_PhraseMatcherType) Descriptor
func (PhraseMatcher_PhraseMatcherType) Descriptor() protoreflect.EnumDescriptor
func (PhraseMatcher_PhraseMatcherType) Enum
func (x PhraseMatcher_PhraseMatcherType) Enum() *PhraseMatcher_PhraseMatcherType
func (PhraseMatcher_PhraseMatcherType) EnumDescriptor
func (PhraseMatcher_PhraseMatcherType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PhraseMatcher_PhraseMatcherType.Descriptor instead.
func (PhraseMatcher_PhraseMatcherType) Number
func (x PhraseMatcher_PhraseMatcherType) Number() protoreflect.EnumNumber
func (PhraseMatcher_PhraseMatcherType) String
func (x PhraseMatcher_PhraseMatcherType) String() string
func (PhraseMatcher_PhraseMatcherType) Type
func (PhraseMatcher_PhraseMatcherType) Type() protoreflect.EnumType
QaAnswer
type QaAnswer struct {
// The QaQuestion answered by this answer.
QaQuestion string `protobuf:"bytes,7,opt,name=qa_question,json=qaQuestion,proto3" json:"qa_question,omitempty"`
// The conversation the answer applies to.
Conversation string `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Question text. E.g., "Did the agent greet the customer?"
QuestionBody string `protobuf:"bytes,6,opt,name=question_body,json=questionBody,proto3" json:"question_body,omitempty"`
// The main answer value, incorporating any manual edits if they exist.
AnswerValue *QaAnswer_AnswerValue `protobuf:"bytes,3,opt,name=answer_value,json=answerValue,proto3" json:"answer_value,omitempty"`
// User-defined list of arbitrary tags. Matches the value from
// QaScorecard.ScorecardQuestion.tags. Used for grouping/organization and
// for weighting the score of each answer.
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
// List of all individual answers given to the question.
AnswerSources []*QaAnswer_AnswerSource `protobuf:"bytes,8,rep,name=answer_sources,json=answerSources,proto3" json:"answer_sources,omitempty"`
// contains filtered or unexported fields
}
An answer to a QaQuestion.
func (*QaAnswer) Descriptor
Deprecated: Use QaAnswer.ProtoReflect.Descriptor instead.
func (*QaAnswer) GetAnswerSources
func (x *QaAnswer) GetAnswerSources() []*QaAnswer_AnswerSource
func (*QaAnswer) GetAnswerValue
func (x *QaAnswer) GetAnswerValue() *QaAnswer_AnswerValue
func (*QaAnswer) GetConversation
func (*QaAnswer) GetQaQuestion
func (*QaAnswer) GetQuestionBody
func (*QaAnswer) GetTags
func (*QaAnswer) ProtoMessage
func (*QaAnswer) ProtoMessage()
func (*QaAnswer) ProtoReflect
func (x *QaAnswer) ProtoReflect() protoreflect.Message
func (*QaAnswer) Reset
func (x *QaAnswer) Reset()
func (*QaAnswer) String
QaAnswer_AnswerSource
type QaAnswer_AnswerSource struct {
SourceType QaAnswer_AnswerSource_SourceType "" /* 168 byte string literal not displayed */
AnswerValue *QaAnswer_AnswerValue `protobuf:"bytes,2,opt,name=answer_value,json=answerValue,proto3" json:"answer_value,omitempty"`
}
A question may have multiple answers from varying sources, one of which becomes the "main" answer above. AnswerSource represents each individual answer.
func (*QaAnswer_AnswerSource) Descriptor
func (*QaAnswer_AnswerSource) Descriptor() ([]byte, []int)
Deprecated: Use QaAnswer_AnswerSource.ProtoReflect.Descriptor instead.
func (*QaAnswer_AnswerSource) GetAnswerValue
func (x *QaAnswer_AnswerSource) GetAnswerValue() *QaAnswer_AnswerValue
func (*QaAnswer_AnswerSource) GetSourceType
func (x *QaAnswer_AnswerSource) GetSourceType() QaAnswer_AnswerSource_SourceType
func (*QaAnswer_AnswerSource) ProtoMessage
func (*QaAnswer_AnswerSource) ProtoMessage()
func (*QaAnswer_AnswerSource) ProtoReflect
func (x *QaAnswer_AnswerSource) ProtoReflect() protoreflect.Message
func (*QaAnswer_AnswerSource) Reset
func (x *QaAnswer_AnswerSource) Reset()
func (*QaAnswer_AnswerSource) String
func (x *QaAnswer_AnswerSource) String() string
QaAnswer_AnswerSource_SourceType
type QaAnswer_AnswerSource_SourceType int32
What created the answer.
QaAnswer_AnswerSource_SOURCE_TYPE_UNSPECIFIED, QaAnswer_AnswerSource_SYSTEM_GENERATED, QaAnswer_AnswerSource_MANUAL_EDIT
const (
// Source type is unspecified.
QaAnswer_AnswerSource_SOURCE_TYPE_UNSPECIFIED QaAnswer_AnswerSource_SourceType = 0
// Answer was system-generated; created during an Insights analysis.
QaAnswer_AnswerSource_SYSTEM_GENERATED QaAnswer_AnswerSource_SourceType = 1
// Answer was created by a human via manual edit.
QaAnswer_AnswerSource_MANUAL_EDIT QaAnswer_AnswerSource_SourceType = 2
)
func (QaAnswer_AnswerSource_SourceType) Descriptor
func (QaAnswer_AnswerSource_SourceType) Descriptor() protoreflect.EnumDescriptor
func (QaAnswer_AnswerSource_SourceType) Enum
func (x QaAnswer_AnswerSource_SourceType) Enum() *QaAnswer_AnswerSource_SourceType
func (QaAnswer_AnswerSource_SourceType) EnumDescriptor
func (QaAnswer_AnswerSource_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use QaAnswer_AnswerSource_SourceType.Descriptor instead.
func (QaAnswer_AnswerSource_SourceType) Number
func (x QaAnswer_AnswerSource_SourceType) Number() protoreflect.EnumNumber
func (QaAnswer_AnswerSource_SourceType) String
func (x QaAnswer_AnswerSource_SourceType) String() string
func (QaAnswer_AnswerSource_SourceType) Type
func (QaAnswer_AnswerSource_SourceType) Type() protoreflect.EnumType
QaAnswer_AnswerValue
type QaAnswer_AnswerValue struct {
// The answer value may be one of a few different types.
//
// Types that are assignable to Value:
//
// *QaAnswer_AnswerValue_StrValue
// *QaAnswer_AnswerValue_NumValue
// *QaAnswer_AnswerValue_BoolValue
// *QaAnswer_AnswerValue_NaValue
Value isQaAnswer_AnswerValue_Value `protobuf_oneof:"value"`
// A short string used as an identifier. Matches the value used in
// QaQuestion.AnswerChoice.key.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Output only. Numerical score of the answer.
Score *float64 `protobuf:"fixed64,6,opt,name=score,proto3,oneof" json:"score,omitempty"`
// Output only. The maximum potential score of the question.
PotentialScore *float64 `protobuf:"fixed64,7,opt,name=potential_score,json=potentialScore,proto3,oneof" json:"potential_score,omitempty"`
// Output only. Normalized score of the questions. Calculated as score /
// potential_score.
NormalizedScore *float64 `protobuf:"fixed64,8,opt,name=normalized_score,json=normalizedScore,proto3,oneof" json:"normalized_score,omitempty"`
// contains filtered or unexported fields
}
Message for holding the value of a [QaAnswer][google.cloud.contactcenterinsights.v1.QaAnswer]. [QaQuestion.AnswerChoice][google.cloud.contactcenterinsights.v1.QaQuestion.AnswerChoice] defines the possible answer values for a question.
func (*QaAnswer_AnswerValue) Descriptor
func (*QaAnswer_AnswerValue) Descriptor() ([]byte, []int)
Deprecated: Use QaAnswer_AnswerValue.ProtoReflect.Descriptor instead.
func (*QaAnswer_AnswerValue) GetBoolValue
func (x *QaAnswer_AnswerValue) GetBoolValue() bool
func (*QaAnswer_AnswerValue) GetKey
func (x *QaAnswer_AnswerValue) GetKey() string
func (*QaAnswer_AnswerValue) GetNaValue
func (x *QaAnswer_AnswerValue) GetNaValue() bool
func (*QaAnswer_AnswerValue) GetNormalizedScore
func (x *QaAnswer_AnswerValue) GetNormalizedScore() float64
func (*QaAnswer_AnswerValue) GetNumValue
func (x *QaAnswer_AnswerValue) GetNumValue() float64
func (*QaAnswer_AnswerValue) GetPotentialScore
func (x *QaAnswer_AnswerValue) GetPotentialScore() float64
func (*QaAnswer_AnswerValue) GetScore
func (x *QaAnswer_AnswerValue) GetScore() float64
func (*QaAnswer_AnswerValue) GetStrValue
func (x *QaAnswer_AnswerValue) GetStrValue() string
func (*QaAnswer_AnswerValue) GetValue
func (m *QaAnswer_AnswerValue) GetValue() isQaAnswer_AnswerValue_Value
func (*QaAnswer_AnswerValue) ProtoMessage
func (*QaAnswer_AnswerValue) ProtoMessage()
func (*QaAnswer_AnswerValue) ProtoReflect
func (x *QaAnswer_AnswerValue) ProtoReflect() protoreflect.Message
func (*QaAnswer_AnswerValue) Reset
func (x *QaAnswer_AnswerValue) Reset()
func (*QaAnswer_AnswerValue) String
func (x *QaAnswer_AnswerValue) String() string
QaAnswer_AnswerValue_BoolValue
type QaAnswer_AnswerValue_BoolValue struct {
// Boolean value.
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
QaAnswer_AnswerValue_NaValue
type QaAnswer_AnswerValue_NaValue struct {
// A value of "Not Applicable (N/A)". Should only ever be `true`.
NaValue bool `protobuf:"varint,5,opt,name=na_value,json=naValue,proto3,oneof"`
}
QaAnswer_AnswerValue_NumValue
type QaAnswer_AnswerValue_NumValue struct {
// Numerical value.
NumValue float64 `protobuf:"fixed64,3,opt,name=num_value,json=numValue,proto3,oneof"`
}
QaAnswer_AnswerValue_StrValue
type QaAnswer_AnswerValue_StrValue struct {
// String value.
StrValue string `protobuf:"bytes,2,opt,name=str_value,json=strValue,proto3,oneof"`
}
QaQuestion
type QaQuestion struct {
// Identifier. The resource name of the question.
// Format:
// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}/qaQuestions/{qa_question}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Short, descriptive string, used in the UI where it's not practical
// to display the full question body. E.g., "Greeting".
Abbreviation string `protobuf:"bytes,2,opt,name=abbreviation,proto3" json:"abbreviation,omitempty"`
// Output only. The time at which this question was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The most recent time at which the question was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Question text. E.g., "Did the agent greet the customer?"
QuestionBody string `protobuf:"bytes,5,opt,name=question_body,json=questionBody,proto3" json:"question_body,omitempty"`
// Instructions describing how to determine the answer.
AnswerInstructions string `protobuf:"bytes,9,opt,name=answer_instructions,json=answerInstructions,proto3" json:"answer_instructions,omitempty"`
// A list of valid answers to the question, which the LLM must choose from.
AnswerChoices []*QaQuestion_AnswerChoice `protobuf:"bytes,6,rep,name=answer_choices,json=answerChoices,proto3" json:"answer_choices,omitempty"`
// User-defined list of arbitrary tags for the question. Used for
// grouping/organization and for weighting the score of each question.
Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
// Defines the order of the question within its parent scorecard revision.
Order int32 `protobuf:"varint,8,opt,name=order,proto3" json:"order,omitempty"`
// Metrics of the underlying tuned LLM over a holdout/test set while fine
// tuning the underlying LLM for the given question. This field will only be
// populated if and only if the question is part of a scorecard revision that
// has been tuned.
Metrics *QaQuestion_Metrics `protobuf:"bytes,10,opt,name=metrics,proto3" json:"metrics,omitempty"`
// Metadata about the tuning operation for the question.This field will only
// be populated if and only if the question is part of a scorecard revision
// that has been tuned.
TuningMetadata *QaQuestion_TuningMetadata `protobuf:"bytes,11,opt,name=tuning_metadata,json=tuningMetadata,proto3" json:"tuning_metadata,omitempty"`
// contains filtered or unexported fields
}
A single question to be scored by the Insights QA feature.
func (*QaQuestion) Descriptor
func (*QaQuestion) Descriptor() ([]byte, []int)
Deprecated: Use QaQuestion.ProtoReflect.Descriptor instead.
func (*QaQuestion) GetAbbreviation
func (x *QaQuestion) GetAbbreviation() string
func (*QaQuestion) GetAnswerChoices
func (x *QaQuestion) GetAnswerChoices() []*QaQuestion_AnswerChoice
func (*QaQuestion) GetAnswerInstructions
func (x *QaQuestion) GetAnswerInstructions() string
func (*QaQuestion) GetCreateTime
func (x *QaQuestion) GetCreateTime() *timestamppb.Timestamp
func (*QaQuestion) GetMetrics
func (x *QaQuestion) GetMetrics() *QaQuestion_Metrics
func (*QaQuestion) GetName
func (x *QaQuestion) GetName() string
func (*QaQuestion) GetOrder
func (x *QaQuestion) GetOrder() int32
func (*QaQuestion) GetQuestionBody
func (x *QaQuestion) GetQuestionBody() string
func (*QaQuestion) GetTags
func (x *QaQuestion) GetTags() []string
func (*QaQuestion) GetTuningMetadata
func (x *QaQuestion) GetTuningMetadata() *QaQuestion_TuningMetadata
func (*QaQuestion) GetUpdateTime
func (x *QaQuestion) GetUpdateTime() *timestamppb.Timestamp
func (*QaQuestion) ProtoMessage
func (*QaQuestion) ProtoMessage()
func (*QaQuestion) ProtoReflect
func (x *QaQuestion) ProtoReflect() protoreflect.Message
func (*QaQuestion) Reset
func (x *QaQuestion) Reset()
func (*QaQuestion) String
func (x *QaQuestion) String() string
QaQuestion_AnswerChoice
type QaQuestion_AnswerChoice struct {
// The answer value may be one of a few different types.
//
// Types that are assignable to Value:
//
// *QaQuestion_AnswerChoice_StrValue
// *QaQuestion_AnswerChoice_NumValue
// *QaQuestion_AnswerChoice_BoolValue
// *QaQuestion_AnswerChoice_NaValue
Value isQaQuestion_AnswerChoice_Value `protobuf_oneof:"value"`
// A short string used as an identifier.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Numerical score of the answer, used for generating the overall score of
// a QaScorecardResult. If the answer uses na_value, this field is unused.
Score *float64 `protobuf:"fixed64,6,opt,name=score,proto3,oneof" json:"score,omitempty"`
// contains filtered or unexported fields
}
Message representing a possible answer to the question.
func (*QaQuestion_AnswerChoice) Descriptor
func (*QaQuestion_AnswerChoice) Descriptor() ([]byte, []int)
Deprecated: Use QaQuestion_AnswerChoice.ProtoReflect.Descriptor instead.
func (*QaQuestion_AnswerChoice) GetBoolValue
func (x *QaQuestion_AnswerChoice) GetBoolValue() bool
func (*QaQuestion_AnswerChoice) GetKey
func (x *QaQuestion_AnswerChoice) GetKey() string
func (*QaQuestion_AnswerChoice) GetNaValue
func (x *QaQuestion_AnswerChoice) GetNaValue() bool
func (*QaQuestion_AnswerChoice) GetNumValue
func (x *QaQuestion_AnswerChoice) GetNumValue() float64
func (*QaQuestion_AnswerChoice) GetScore
func (x *QaQuestion_AnswerChoice) GetScore() float64
func (*QaQuestion_AnswerChoice) GetStrValue
func (x *QaQuestion_AnswerChoice) GetStrValue() string
func (*QaQuestion_AnswerChoice) GetValue
func (m *QaQuestion_AnswerChoice) GetValue() isQaQuestion_AnswerChoice_Value
func (*QaQuestion_AnswerChoice) ProtoMessage
func (*QaQuestion_AnswerChoice) ProtoMessage()
func (*QaQuestion_AnswerChoice) ProtoReflect
func (x *QaQuestion_AnswerChoice) ProtoReflect() protoreflect.Message
func (*QaQuestion_AnswerChoice) Reset
func (x *QaQuestion_AnswerChoice) Reset()
func (*QaQuestion_AnswerChoice) String
func (x *QaQuestion_AnswerChoice) String() string
QaQuestion_AnswerChoice_BoolValue
type QaQuestion_AnswerChoice_BoolValue struct {
// Boolean value.
BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
QaQuestion_AnswerChoice_NaValue
type QaQuestion_AnswerChoice_NaValue struct {
// A value of "Not Applicable (N/A)". If provided, this field may only
// be set to `true`. If a question receives this answer, it will be
// excluded from any score calculations.
NaValue bool `protobuf:"varint,5,opt,name=na_value,json=naValue,proto3,oneof"`
}
QaQuestion_AnswerChoice_NumValue
type QaQuestion_AnswerChoice_NumValue struct {
// Numerical value.
NumValue float64 `protobuf:"fixed64,3,opt,name=num_value,json=numValue,proto3,oneof"`
}
QaQuestion_AnswerChoice_StrValue
type QaQuestion_AnswerChoice_StrValue struct {
// String value.
StrValue string `protobuf:"bytes,2,opt,name=str_value,json=strValue,proto3,oneof"`
}
QaQuestion_Metrics
type QaQuestion_Metrics struct {
// Output only. Accuracy of the model. Measures the percentage of correct
// answers the model gave on the test set.
Accuracy float64 `protobuf:"fixed64,1,opt,name=accuracy,proto3" json:"accuracy,omitempty"`
// contains filtered or unexported fields
}
A wrapper representing metrics calculated against a test-set on a LLM that was fine tuned for this question.
func (*QaQuestion_Metrics) Descriptor
func (*QaQuestion_Metrics) Descriptor() ([]byte, []int)
Deprecated: Use QaQuestion_Metrics.ProtoReflect.Descriptor instead.
func (*QaQuestion_Metrics) GetAccuracy
func (x *QaQuestion_Metrics) GetAccuracy() float64
func (*QaQuestion_Metrics) ProtoMessage
func (*QaQuestion_Metrics) ProtoMessage()
func (*QaQuestion_Metrics) ProtoReflect
func (x *QaQuestion_Metrics) ProtoReflect() protoreflect.Message
func (*QaQuestion_Metrics) Reset
func (x *QaQuestion_Metrics) Reset()
func (*QaQuestion_Metrics) String
func (x *QaQuestion_Metrics) String() string
QaQuestion_TuningMetadata
type QaQuestion_TuningMetadata struct {
TotalValidLabelCount int64 `protobuf:"varint,1,opt,name=total_valid_label_count,json=totalValidLabelCount,proto3" json:"total_valid_label_count,omitempty"`
DatasetValidationWarnings []DatasetValidationWarning "" /* 214 byte string literal not displayed */
TuningError string `protobuf:"bytes,3,opt,name=tuning_error,json=tuningError,proto3" json:"tuning_error,omitempty"`
}
Metadata about the tuning operation for the question. Will only be set if a scorecard containing this question has been tuned.
func (*QaQuestion_TuningMetadata) Descriptor
func (*QaQuestion_TuningMetadata) Descriptor() ([]byte, []int)
Deprecated: Use QaQuestion_TuningMetadata.ProtoReflect.Descriptor instead.
func (*QaQuestion_TuningMetadata) GetDatasetValidationWarnings
func (x *QaQuestion_TuningMetadata) GetDatasetValidationWarnings() []DatasetValidationWarning
func (*QaQuestion_TuningMetadata) GetTotalValidLabelCount
func (x *QaQuestion_TuningMetadata) GetTotalValidLabelCount() int64
func (*QaQuestion_TuningMetadata) GetTuningError
func (x *QaQuestion_TuningMetadata) GetTuningError() string
func (*QaQuestion_TuningMetadata) ProtoMessage
func (*QaQuestion_TuningMetadata) ProtoMessage()
func (*QaQuestion_TuningMetadata) ProtoReflect
func (x *QaQuestion_TuningMetadata) ProtoReflect() protoreflect.Message
func (*QaQuestion_TuningMetadata) Reset
func (x *QaQuestion_TuningMetadata) Reset()
func (*QaQuestion_TuningMetadata) String
func (x *QaQuestion_TuningMetadata) String() string
QaScorecard
type QaScorecard struct {
// Identifier. The scorecard name.
// Format:
// projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The user-specified display name of the scorecard.
DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// A text description explaining the intent of the scorecard.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Output only. The time at which this scorecard was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The most recent time at which the scorecard was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
A QaScorecard represents a collection of questions to be scored during analysis.
func (*QaScorecard) Descriptor
func (*QaScorecard) Descriptor() ([]byte, []int)
Deprecated: Use QaScorecard.ProtoReflect.Descriptor instead.
func (*QaScorecard) GetCreateTime
func (x *QaScorecard) GetCreateTime() *timestamppb.Timestamp
func (*QaScorecard) GetDescription
func (x *QaScorecard) GetDescription() string
func (*QaScorecard) GetDisplayName
func (x *QaScorecard) GetDisplayName() string
func (*QaScorecard) GetName
func (x *QaScorecard) GetName() string
func (*QaScorecard) GetUpdateTime
func (x *QaScorecard) GetUpdateTime() *timestamppb.Timestamp
func (*QaScorecard) ProtoMessage
func (*QaScorecard) ProtoMessage()
func (*QaScorecard) ProtoReflect
func (x *QaScorecard) ProtoReflect() protoreflect.Message
func (*QaScorecard) Reset
func (x *QaScorecard) Reset()
func (*QaScorecard) String
func (x *QaScorecard) String() string
QaScorecardResult
type QaScorecardResult struct {
// Identifier. The name of the scorecard result.
// Format:
// projects/{project}/locations/{location}/qaScorecardResults/{qa_scorecard_result}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The QaScorecardRevision scored by this result.
QaScorecardRevision string `protobuf:"bytes,2,opt,name=qa_scorecard_revision,json=qaScorecardRevision,proto3" json:"qa_scorecard_revision,omitempty"`
// The conversation scored by this result.
Conversation string `protobuf:"bytes,3,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Output only. The timestamp that the revision was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// ID of the agent that handled the conversation.
AgentId string `protobuf:"bytes,5,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// Set of QaAnswers represented in the result.
QaAnswers []*QaAnswer `protobuf:"bytes,6,rep,name=qa_answers,json=qaAnswers,proto3" json:"qa_answers,omitempty"`
// The overall numerical score of the result, incorporating any manual edits
// if they exist.
Score *float64 `protobuf:"fixed64,7,opt,name=score,proto3,oneof" json:"score,omitempty"`
// The maximum potential overall score of the scorecard. Any questions
// answered using `na_value` are excluded from this calculation.
PotentialScore *float64 `protobuf:"fixed64,8,opt,name=potential_score,json=potentialScore,proto3,oneof" json:"potential_score,omitempty"`
// The normalized score, which is the score divided by the potential score.
// Any manual edits are included if they exist.
NormalizedScore *float64 `protobuf:"fixed64,9,opt,name=normalized_score,json=normalizedScore,proto3,oneof" json:"normalized_score,omitempty"`
// Collection of tags and their scores.
QaTagResults []*QaScorecardResult_QaTagResult `protobuf:"bytes,10,rep,name=qa_tag_results,json=qaTagResults,proto3" json:"qa_tag_results,omitempty"`
// List of all individual score sets.
ScoreSources []*QaScorecardResult_ScoreSource `protobuf:"bytes,11,rep,name=score_sources,json=scoreSources,proto3" json:"score_sources,omitempty"`
// contains filtered or unexported fields
}
The results of scoring a single conversation against a QaScorecard. Contains a collection of QaAnswers and aggregate score.
func (*QaScorecardResult) Descriptor
func (*QaScorecardResult) Descriptor() ([]byte, []int)
Deprecated: Use QaScorecardResult.ProtoReflect.Descriptor instead.
func (*QaScorecardResult) GetAgentId
func (x *QaScorecardResult) GetAgentId() string
func (*QaScorecardResult) GetConversation
func (x *QaScorecardResult) GetConversation() string
func (*QaScorecardResult) GetCreateTime
func (x *QaScorecardResult) GetCreateTime() *timestamppb.Timestamp
func (*QaScorecardResult) GetName
func (x *QaScorecardResult) GetName() string
func (*QaScorecardResult) GetNormalizedScore
func (x *QaScorecardResult) GetNormalizedScore() float64
func (*QaScorecardResult) GetPotentialScore
func (x *QaScorecardResult) GetPotentialScore() float64
func (*QaScorecardResult) GetQaAnswers
func (x *QaScorecardResult) GetQaAnswers() []*QaAnswer
func (*QaScorecardResult) GetQaScorecardRevision
func (x *QaScorecardResult) GetQaScorecardRevision() string
func (*QaScorecardResult) GetQaTagResults
func (x *QaScorecardResult) GetQaTagResults() []*QaScorecardResult_QaTagResult
func (*QaScorecardResult) GetScore
func (x *QaScorecardResult) GetScore() float64
func (*QaScorecardResult) GetScoreSources
func (x *QaScorecardResult) GetScoreSources() []*QaScorecardResult_ScoreSource
func (*QaScorecardResult) ProtoMessage
func (*QaScorecardResult) ProtoMessage()
func (*QaScorecardResult) ProtoReflect
func (x *QaScorecardResult) ProtoReflect() protoreflect.Message
func (*QaScorecardResult) Reset
func (x *QaScorecardResult) Reset()
func (*QaScorecardResult) String
func (x *QaScorecardResult) String() string
QaScorecardResult_QaTagResult
type QaScorecardResult_QaTagResult struct {
// The tag the score applies to.
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// The score the tag applies to.
Score *float64 `protobuf:"fixed64,2,opt,name=score,proto3,oneof" json:"score,omitempty"`
// The potential score the tag applies to.
PotentialScore *float64 `protobuf:"fixed64,3,opt,name=potential_score,json=potentialScore,proto3,oneof" json:"potential_score,omitempty"`
// The normalized score the tag applies to.
NormalizedScore *float64 `protobuf:"fixed64,4,opt,name=normalized_score,json=normalizedScore,proto3,oneof" json:"normalized_score,omitempty"`
// contains filtered or unexported fields
}
Tags and their corresponding results.
func (*QaScorecardResult_QaTagResult) Descriptor
func (*QaScorecardResult_QaTagResult) Descriptor() ([]byte, []int)
Deprecated: Use QaScorecardResult_QaTagResult.ProtoReflect.Descriptor instead.
func (*QaScorecardResult_QaTagResult) GetNormalizedScore
func (x *QaScorecardResult_QaTagResult) GetNormalizedScore() float64
func (*QaScorecardResult_QaTagResult) GetPotentialScore
func (x *QaScorecardResult_QaTagResult) GetPotentialScore() float64
func (*QaScorecardResult_QaTagResult) GetScore
func (x *QaScorecardResult_QaTagResult) GetScore() float64
func (*QaScorecardResult_QaTagResult) GetTag
func (x *QaScorecardResult_QaTagResult) GetTag() string
func (*QaScorecardResult_QaTagResult) ProtoMessage
func (*QaScorecardResult_QaTagResult) ProtoMessage()
func (*QaScorecardResult_QaTagResult) ProtoReflect
func (x *QaScorecardResult_QaTagResult) ProtoReflect() protoreflect.Message
func (*QaScorecardResult_QaTagResult) Reset
func (x *QaScorecardResult_QaTagResult) Reset()
func (*QaScorecardResult_QaTagResult) String
func (x *QaScorecardResult_QaTagResult) String() string
QaScorecardResult_ScoreSource
type QaScorecardResult_ScoreSource struct {
SourceType QaScorecardResult_ScoreSource_SourceType "" /* 176 byte string literal not displayed */
Score *float64 `protobuf:"fixed64,2,opt,name=score,proto3,oneof" json:"score,omitempty"`
PotentialScore *float64 `protobuf:"fixed64,3,opt,name=potential_score,json=potentialScore,proto3,oneof" json:"potential_score,omitempty"`
NormalizedScore *float64 `protobuf:"fixed64,4,opt,name=normalized_score,json=normalizedScore,proto3,oneof" json:"normalized_score,omitempty"`
QaTagResults []*QaScorecardResult_QaTagResult `protobuf:"bytes,5,rep,name=qa_tag_results,json=qaTagResults,proto3" json:"qa_tag_results,omitempty"`
}
A scorecard result may have multiple sets of scores from varying sources, one of which becomes the "main" answer above. A ScoreSource represents each individual set of scores.
func (*QaScorecardResult_ScoreSource) Descriptor
func (*QaScorecardResult_ScoreSource) Descriptor() ([]byte, []int)
Deprecated: Use QaScorecardResult_ScoreSource.ProtoReflect.Descriptor instead.
func (*QaScorecardResult_ScoreSource) GetNormalizedScore
func (x *QaScorecardResult_ScoreSource) GetNormalizedScore() float64
func (*QaScorecardResult_ScoreSource) GetPotentialScore
func (x *QaScorecardResult_ScoreSource) GetPotentialScore() float64
func (*QaScorecardResult_ScoreSource) GetQaTagResults
func (x *QaScorecardResult_ScoreSource) GetQaTagResults() []*QaScorecardResult_QaTagResult
func (*QaScorecardResult_ScoreSource) GetScore
func (x *QaScorecardResult_ScoreSource) GetScore() float64
func (*QaScorecardResult_ScoreSource) GetSourceType
func (x *QaScorecardResult_ScoreSource) GetSourceType() QaScorecardResult_ScoreSource_SourceType
func (*QaScorecardResult_ScoreSource) ProtoMessage
func (*QaScorecardResult_ScoreSource) ProtoMessage()
func (*QaScorecardResult_ScoreSource) ProtoReflect
func (x *QaScorecardResult_ScoreSource) ProtoReflect() protoreflect.Message
func (*QaScorecardResult_ScoreSource) Reset
func (x *QaScorecardResult_ScoreSource) Reset()
func (*QaScorecardResult_ScoreSource) String
func (x *QaScorecardResult_ScoreSource) String() string
QaScorecardResult_ScoreSource_SourceType
type QaScorecardResult_ScoreSource_SourceType int32
What created the score.
QaScorecardResult_ScoreSource_SOURCE_TYPE_UNSPECIFIED, QaScorecardResult_ScoreSource_SYSTEM_GENERATED_ONLY, QaScorecardResult_ScoreSource_INCLUDES_MANUAL_EDITS
const (
// Source type is unspecified.
QaScorecardResult_ScoreSource_SOURCE_TYPE_UNSPECIFIED QaScorecardResult_ScoreSource_SourceType = 0
// Score is derived only from system-generated answers.
QaScorecardResult_ScoreSource_SYSTEM_GENERATED_ONLY QaScorecardResult_ScoreSource_SourceType = 1
// Score is derived from both system-generated answers, and includes
// any manual edits if they exist.
QaScorecardResult_ScoreSource_INCLUDES_MANUAL_EDITS QaScorecardResult_ScoreSource_SourceType = 2
)
func (QaScorecardResult_ScoreSource_SourceType) Descriptor
func (QaScorecardResult_ScoreSource_SourceType) Descriptor() protoreflect.EnumDescriptor
func (QaScorecardResult_ScoreSource_SourceType) Enum
func (QaScorecardResult_ScoreSource_SourceType) EnumDescriptor
func (QaScorecardResult_ScoreSource_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use QaScorecardResult_ScoreSource_SourceType.Descriptor instead.
func (QaScorecardResult_ScoreSource_SourceType) Number
func (x QaScorecardResult_ScoreSource_SourceType) Number() protoreflect.EnumNumber
func (QaScorecardResult_ScoreSource_SourceType) String
func (x QaScorecardResult_ScoreSource_SourceType) String() string
func (QaScorecardResult_ScoreSource_SourceType) Type
func (QaScorecardResult_ScoreSource_SourceType) Type() protoreflect.EnumType
QaScorecardRevision
type QaScorecardRevision struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Snapshot *QaScorecard `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
AlternateIds []string `protobuf:"bytes,4,rep,name=alternate_ids,json=alternateIds,proto3" json:"alternate_ids,omitempty"`
State QaScorecardRevision_State "" /* 133 byte string literal not displayed */
}
A revision of a QaScorecard.
Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource.
func (*QaScorecardRevision) Descriptor
func (*QaScorecardRevision) Descriptor() ([]byte, []int)
Deprecated: Use QaScorecardRevision.ProtoReflect.Descriptor instead.
func (*QaScorecardRevision) GetAlternateIds
func (x *QaScorecardRevision) GetAlternateIds() []string
func (*QaScorecardRevision) GetCreateTime
func (x *QaScorecardRevision) GetCreateTime() *timestamppb.Timestamp
func (*QaScorecardRevision) GetName
func (x *QaScorecardRevision) GetName() string
func (*QaScorecardRevision) GetSnapshot
func (x *QaScorecardRevision) GetSnapshot() *QaScorecard
func (*QaScorecardRevision) GetState
func (x *QaScorecardRevision) GetState() QaScorecardRevision_State
func (*QaScorecardRevision) ProtoMessage
func (*QaScorecardRevision) ProtoMessage()
func (*QaScorecardRevision) ProtoReflect
func (x *QaScorecardRevision) ProtoReflect() protoreflect.Message
func (*QaScorecardRevision) Reset
func (x *QaScorecardRevision) Reset()
func (*QaScorecardRevision) String
func (x *QaScorecardRevision) String() string
QaScorecardRevision_State
type QaScorecardRevision_State int32
Enum representing the set of states a scorecard revision may be in.
QaScorecardRevision_STATE_UNSPECIFIED, QaScorecardRevision_EDITABLE, QaScorecardRevision_TRAINING, QaScorecardRevision_TRAINING_FAILED, QaScorecardRevision_READY, QaScorecardRevision_DELETING, QaScorecardRevision_TRAINING_CANCELLED
const (
// Unspecified.
QaScorecardRevision_STATE_UNSPECIFIED QaScorecardRevision_State = 0
// The scorecard revision can be edited.
QaScorecardRevision_EDITABLE QaScorecardRevision_State = 12
// Scorecard model training is in progress.
QaScorecardRevision_TRAINING QaScorecardRevision_State = 2
// Scorecard revision model training failed.
QaScorecardRevision_TRAINING_FAILED QaScorecardRevision_State = 9
// The revision can be used in analysis.
QaScorecardRevision_READY QaScorecardRevision_State = 11
// Scorecard is being deleted.
QaScorecardRevision_DELETING QaScorecardRevision_State = 7
// Scorecard model training was explicitly cancelled by the user.
QaScorecardRevision_TRAINING_CANCELLED QaScorecardRevision_State = 14
)
func (QaScorecardRevision_State) Descriptor
func (QaScorecardRevision_State) Descriptor() protoreflect.EnumDescriptor
func (QaScorecardRevision_State) Enum
func (x QaScorecardRevision_State) Enum() *QaScorecardRevision_State
func (QaScorecardRevision_State) EnumDescriptor
func (QaScorecardRevision_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use QaScorecardRevision_State.Descriptor instead.
func (QaScorecardRevision_State) Number
func (x QaScorecardRevision_State) Number() protoreflect.EnumNumber
func (QaScorecardRevision_State) String
func (x QaScorecardRevision_State) String() string
func (QaScorecardRevision_State) Type
func (QaScorecardRevision_State) Type() protoreflect.EnumType
QueryMetricsMetadata
type QueryMetricsMetadata struct {
// contains filtered or unexported fields
}
The metadata from querying metrics.
func (*QueryMetricsMetadata) Descriptor
func (*QueryMetricsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsMetadata.ProtoReflect.Descriptor instead.
func (*QueryMetricsMetadata) ProtoMessage
func (*QueryMetricsMetadata) ProtoMessage()
func (*QueryMetricsMetadata) ProtoReflect
func (x *QueryMetricsMetadata) ProtoReflect() protoreflect.Message
func (*QueryMetricsMetadata) Reset
func (x *QueryMetricsMetadata) Reset()
func (*QueryMetricsMetadata) String
func (x *QueryMetricsMetadata) String() string
QueryMetricsRequest
type QueryMetricsRequest struct {
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
TimeGranularity QueryMetricsRequest_TimeGranularity "" /* 186 byte string literal not displayed */
Dimensions []*Dimension `protobuf:"bytes,4,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
MeasureMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=measure_mask,json=measureMask,proto3" json:"measure_mask,omitempty"`
}
The request for querying metrics.
func (*QueryMetricsRequest) Descriptor
func (*QueryMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsRequest.ProtoReflect.Descriptor instead.
func (*QueryMetricsRequest) GetDimensions
func (x *QueryMetricsRequest) GetDimensions() []*Dimension
func (*QueryMetricsRequest) GetFilter
func (x *QueryMetricsRequest) GetFilter() string
func (*QueryMetricsRequest) GetLocation
func (x *QueryMetricsRequest) GetLocation() string
func (*QueryMetricsRequest) GetMeasureMask
func (x *QueryMetricsRequest) GetMeasureMask() *fieldmaskpb.FieldMask
func (*QueryMetricsRequest) GetTimeGranularity
func (x *QueryMetricsRequest) GetTimeGranularity() QueryMetricsRequest_TimeGranularity
func (*QueryMetricsRequest) ProtoMessage
func (*QueryMetricsRequest) ProtoMessage()
func (*QueryMetricsRequest) ProtoReflect
func (x *QueryMetricsRequest) ProtoReflect() protoreflect.Message
func (*QueryMetricsRequest) Reset
func (x *QueryMetricsRequest) Reset()
func (*QueryMetricsRequest) String
func (x *QueryMetricsRequest) String() string
QueryMetricsRequest_TimeGranularity
type QueryMetricsRequest_TimeGranularity int32
A time granularity divides the time line into discrete time periods. This is useful for defining buckets over which filtering and aggregation should be performed.
QueryMetricsRequest_TIME_GRANULARITY_UNSPECIFIED, QueryMetricsRequest_NONE, QueryMetricsRequest_DAILY, QueryMetricsRequest_HOURLY, QueryMetricsRequest_PER_MINUTE, QueryMetricsRequest_PER_5_MINUTES, QueryMetricsRequest_MONTHLY
const (
// The time granularity is unspecified and will default to NONE.
QueryMetricsRequest_TIME_GRANULARITY_UNSPECIFIED QueryMetricsRequest_TimeGranularity = 0
// No time granularity. The response won't contain a time series.
// This is the default value if no time granularity is specified.
QueryMetricsRequest_NONE QueryMetricsRequest_TimeGranularity = 1
// Data points in the time series will aggregate at a daily granularity.
// 1 day means [midnight to midnight).
QueryMetricsRequest_DAILY QueryMetricsRequest_TimeGranularity = 2
// Data points in the time series will aggregate at a daily granularity.
// 1 HOUR means [01:00 to 02:00).
QueryMetricsRequest_HOURLY QueryMetricsRequest_TimeGranularity = 3
// Data points in the time series will aggregate at a daily granularity.
// PER_MINUTE means [01:00 to 01:01).
QueryMetricsRequest_PER_MINUTE QueryMetricsRequest_TimeGranularity = 4
// Data points in the time series will aggregate at a 1 minute granularity.
// PER_5_MINUTES means [01:00 to 01:05).
QueryMetricsRequest_PER_5_MINUTES QueryMetricsRequest_TimeGranularity = 5
// Data points in the time series will aggregate at a monthly granularity.
// 1 MONTH means [01st of the month to 1st of the next month).
QueryMetricsRequest_MONTHLY QueryMetricsRequest_TimeGranularity = 6
)
func (QueryMetricsRequest_TimeGranularity) Descriptor
func (QueryMetricsRequest_TimeGranularity) Descriptor() protoreflect.EnumDescriptor
func (QueryMetricsRequest_TimeGranularity) Enum
func (x QueryMetricsRequest_TimeGranularity) Enum() *QueryMetricsRequest_TimeGranularity
func (QueryMetricsRequest_TimeGranularity) EnumDescriptor
func (QueryMetricsRequest_TimeGranularity) EnumDescriptor() ([]byte, []int)
Deprecated: Use QueryMetricsRequest_TimeGranularity.Descriptor instead.
func (QueryMetricsRequest_TimeGranularity) Number
func (x QueryMetricsRequest_TimeGranularity) Number() protoreflect.EnumNumber
func (QueryMetricsRequest_TimeGranularity) String
func (x QueryMetricsRequest_TimeGranularity) String() string
func (QueryMetricsRequest_TimeGranularity) Type
func (QueryMetricsRequest_TimeGranularity) Type() protoreflect.EnumType
QueryMetricsResponse
type QueryMetricsResponse struct {
// Required. The location of the data.
// "projects/{project}/locations/{location}"
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
// The metrics last update time.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// A slice contains a total and (if the request specified a time granularity)
// a time series of metric values. Each slice contains a unique combination of
// the cardinality of dimensions from the request.
Slices []*QueryMetricsResponse_Slice `protobuf:"bytes,2,rep,name=slices,proto3" json:"slices,omitempty"`
// The macro average slice contains aggregated averages across the selected
// dimension. i.e. if group_by agent is specified this field will contain the
// average across all agents.
// This field is only populated if the request specifies a Dimension.
MacroAverageSlice *QueryMetricsResponse_Slice `protobuf:"bytes,4,opt,name=macro_average_slice,json=macroAverageSlice,proto3,oneof" json:"macro_average_slice,omitempty"`
// contains filtered or unexported fields
}
The response for querying metrics.
func (*QueryMetricsResponse) Descriptor
func (*QueryMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse) GetLocation
func (x *QueryMetricsResponse) GetLocation() string
func (*QueryMetricsResponse) GetMacroAverageSlice
func (x *QueryMetricsResponse) GetMacroAverageSlice() *QueryMetricsResponse_Slice
func (*QueryMetricsResponse) GetSlices
func (x *QueryMetricsResponse) GetSlices() []*QueryMetricsResponse_Slice
func (*QueryMetricsResponse) GetUpdateTime
func (x *QueryMetricsResponse) GetUpdateTime() *timestamppb.Timestamp
func (*QueryMetricsResponse) ProtoMessage
func (*QueryMetricsResponse) ProtoMessage()
func (*QueryMetricsResponse) ProtoReflect
func (x *QueryMetricsResponse) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse) Reset
func (x *QueryMetricsResponse) Reset()
func (*QueryMetricsResponse) String
func (x *QueryMetricsResponse) String() string
QueryMetricsResponse_Slice
type QueryMetricsResponse_Slice struct {
// A unique combination of dimensions that this slice represents.
Dimensions []*Dimension `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
// The total metric value. The interval of this data point is
// [starting create time, ending create time) from the request.
Total *QueryMetricsResponse_Slice_DataPoint `protobuf:"bytes,2,opt,name=total,proto3" json:"total,omitempty"`
// A time series of metric values. This is only populated if the request
// specifies a time granularity other than NONE.
TimeSeries *QueryMetricsResponse_Slice_TimeSeries `protobuf:"bytes,3,opt,name=time_series,json=timeSeries,proto3" json:"time_series,omitempty"`
// contains filtered or unexported fields
}
A slice contains a total and (if the request specified a time granularity) a time series of metric values. Each slice contains a unique combination of the cardinality of dimensions from the request.
For example, if the request specifies a single ISSUE dimension and it has a cardinality of 2 (i.e. the data used to compute the metrics has 2 issues in total), the response will have 2 slices:
- Slice 1 -> dimensions=[Issue 1]
- Slice 2 -> dimensions=[Issue 2]
func (*QueryMetricsResponse_Slice) Descriptor
func (*QueryMetricsResponse_Slice) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse_Slice.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse_Slice) GetDimensions
func (x *QueryMetricsResponse_Slice) GetDimensions() []*Dimension
func (*QueryMetricsResponse_Slice) GetTimeSeries
func (x *QueryMetricsResponse_Slice) GetTimeSeries() *QueryMetricsResponse_Slice_TimeSeries
func (*QueryMetricsResponse_Slice) GetTotal
func (x *QueryMetricsResponse_Slice) GetTotal() *QueryMetricsResponse_Slice_DataPoint
func (*QueryMetricsResponse_Slice) ProtoMessage
func (*QueryMetricsResponse_Slice) ProtoMessage()
func (*QueryMetricsResponse_Slice) ProtoReflect
func (x *QueryMetricsResponse_Slice) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse_Slice) Reset
func (x *QueryMetricsResponse_Slice) Reset()
func (*QueryMetricsResponse_Slice) String
func (x *QueryMetricsResponse_Slice) String() string
QueryMetricsResponse_Slice_DataPoint
type QueryMetricsResponse_Slice_DataPoint struct {
// The measure included in this data point.
//
// Types that are assignable to Measure:
//
// *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_
Measure isQueryMetricsResponse_Slice_DataPoint_Measure `protobuf_oneof:"measure"`
// The interval that this data point represents.
//
// * If this is the total data point, the interval is
// [starting create time, ending create time) from the request.
// * If this a data point from the time series, the interval is
// [time, time + time granularity from the request).
Interval *interval.Interval `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"`
// contains filtered or unexported fields
}
A data point contains the metric values mapped to an interval.
func (*QueryMetricsResponse_Slice_DataPoint) Descriptor
func (*QueryMetricsResponse_Slice_DataPoint) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse_Slice_DataPoint.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse_Slice_DataPoint) GetConversationMeasure
func (x *QueryMetricsResponse_Slice_DataPoint) GetConversationMeasure() *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure
func (*QueryMetricsResponse_Slice_DataPoint) GetInterval
func (x *QueryMetricsResponse_Slice_DataPoint) GetInterval() *interval.Interval
func (*QueryMetricsResponse_Slice_DataPoint) GetMeasure
func (m *QueryMetricsResponse_Slice_DataPoint) GetMeasure() isQueryMetricsResponse_Slice_DataPoint_Measure
func (*QueryMetricsResponse_Slice_DataPoint) ProtoMessage
func (*QueryMetricsResponse_Slice_DataPoint) ProtoMessage()
func (*QueryMetricsResponse_Slice_DataPoint) ProtoReflect
func (x *QueryMetricsResponse_Slice_DataPoint) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse_Slice_DataPoint) Reset
func (x *QueryMetricsResponse_Slice_DataPoint) Reset()
func (*QueryMetricsResponse_Slice_DataPoint) String
func (x *QueryMetricsResponse_Slice_DataPoint) String() string
QueryMetricsResponse_Slice_DataPoint_ConversationMeasure
type QueryMetricsResponse_Slice_DataPoint_ConversationMeasure struct {
ConversationCount *int32 `protobuf:"varint,1,opt,name=conversation_count,json=conversationCount,proto3,oneof" json:"conversation_count,omitempty"`
AverageSilencePercentage *float32 "" /* 143 byte string literal not displayed */
AverageDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=average_duration,json=averageDuration,proto3,oneof" json:"average_duration,omitempty"`
AverageTurnCount *float32 `protobuf:"fixed32,4,opt,name=average_turn_count,json=averageTurnCount,proto3,oneof" json:"average_turn_count,omitempty"`
AverageAgentSentimentScore *float32 "" /* 151 byte string literal not displayed */
AverageClientSentimentScore *float32 "" /* 154 byte string literal not displayed */
AverageCustomerSatisfactionRating *float64 "" /* 172 byte string literal not displayed */
AverageQaNormalizedScore *float64 "" /* 145 byte string literal not displayed */
QaTagScores []*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore `protobuf:"bytes,9,rep,name=qa_tag_scores,json=qaTagScores,proto3" json:"qa_tag_scores,omitempty"`
AverageQaQuestionNormalizedScore *float64 "" /* 172 byte string literal not displayed */
}
The measure related to conversations.
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) Descriptor
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse_Slice_DataPoint_ConversationMeasure.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageAgentSentimentScore
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageAgentSentimentScore() float32
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageClientSentimentScore
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageClientSentimentScore() float32
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageCustomerSatisfactionRating
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageCustomerSatisfactionRating() float64
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageDuration
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageDuration() *durationpb.Duration
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageQaNormalizedScore
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageQaNormalizedScore() float64
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageQaQuestionNormalizedScore
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageQaQuestionNormalizedScore() float64
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageSilencePercentage
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageSilencePercentage() float32
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageTurnCount
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetAverageTurnCount() float32
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetConversationCount
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetConversationCount() int32
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetQaTagScores
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) GetQaTagScores() []*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) ProtoMessage
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) ProtoMessage()
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) ProtoReflect
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) Reset
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) Reset()
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) String
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure) String() string
QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_
type QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_ struct {
// The measure related to conversations.
ConversationMeasure *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure `protobuf:"bytes,2,opt,name=conversation_measure,json=conversationMeasure,proto3,oneof"`
}
QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore
type QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
AverageTagNormalizedScore float64 "" /* 142 byte string literal not displayed */
}
Average QA normalized score for the tag.
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) Descriptor
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) GetAverageTagNormalizedScore
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) GetAverageTagNormalizedScore() float64
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) GetTag
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) GetTag() string
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) ProtoMessage
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) ProtoMessage()
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) ProtoReflect
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) Reset
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) Reset()
func (*QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) String
func (x *QueryMetricsResponse_Slice_DataPoint_ConversationMeasure_QaTagScore) String() string
QueryMetricsResponse_Slice_TimeSeries
type QueryMetricsResponse_Slice_TimeSeries struct {
// The data points that make up the time series .
DataPoints []*QueryMetricsResponse_Slice_DataPoint `protobuf:"bytes,4,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
// contains filtered or unexported fields
}
A time series of metric values.
func (*QueryMetricsResponse_Slice_TimeSeries) Descriptor
func (*QueryMetricsResponse_Slice_TimeSeries) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse_Slice_TimeSeries.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse_Slice_TimeSeries) GetDataPoints
func (x *QueryMetricsResponse_Slice_TimeSeries) GetDataPoints() []*QueryMetricsResponse_Slice_DataPoint
func (*QueryMetricsResponse_Slice_TimeSeries) ProtoMessage
func (*QueryMetricsResponse_Slice_TimeSeries) ProtoMessage()
func (*QueryMetricsResponse_Slice_TimeSeries) ProtoReflect
func (x *QueryMetricsResponse_Slice_TimeSeries) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse_Slice_TimeSeries) Reset
func (x *QueryMetricsResponse_Slice_TimeSeries) Reset()
func (*QueryMetricsResponse_Slice_TimeSeries) String
func (x *QueryMetricsResponse_Slice_TimeSeries) String() string
RedactionConfig
type RedactionConfig struct {
// The fully-qualified DLP deidentify template resource name.
// Format:
// `projects/{project}/deidentifyTemplates/{template}`
DeidentifyTemplate string `protobuf:"bytes,1,opt,name=deidentify_template,json=deidentifyTemplate,proto3" json:"deidentify_template,omitempty"`
// The fully-qualified DLP inspect template resource name.
// Format:
// `projects/{project}/locations/{location}/inspectTemplates/{template}`
InspectTemplate string `protobuf:"bytes,2,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
// contains filtered or unexported fields
}
DLP resources used for redaction while ingesting conversations.
DLP settings are applied to conversations ingested from the
UploadConversation
and IngestConversations
endpoints, including
conversation coming from CCAI Platform. They are not applied to conversations
ingested from the CreateConversation
endpoint or the Dialogflow / Agent
Assist runtime integrations. When using Dialogflow / Agent Assist runtime
integrations, redaction should be performed in Dialogflow / Agent Assist.
func (*RedactionConfig) Descriptor
func (*RedactionConfig) Descriptor() ([]byte, []int)
Deprecated: Use RedactionConfig.ProtoReflect.Descriptor instead.
func (*RedactionConfig) GetDeidentifyTemplate
func (x *RedactionConfig) GetDeidentifyTemplate() string
func (*RedactionConfig) GetInspectTemplate
func (x *RedactionConfig) GetInspectTemplate() string
func (*RedactionConfig) ProtoMessage
func (*RedactionConfig) ProtoMessage()
func (*RedactionConfig) ProtoReflect
func (x *RedactionConfig) ProtoReflect() protoreflect.Message
func (*RedactionConfig) Reset
func (x *RedactionConfig) Reset()
func (*RedactionConfig) String
func (x *RedactionConfig) String() string
RuntimeAnnotation
type RuntimeAnnotation struct {
// The data in the annotation.
//
// Types that are assignable to Data:
//
// *RuntimeAnnotation_ArticleSuggestion
// *RuntimeAnnotation_FaqAnswer
// *RuntimeAnnotation_SmartReply
// *RuntimeAnnotation_SmartComposeSuggestion
// *RuntimeAnnotation_DialogflowInteraction
// *RuntimeAnnotation_ConversationSummarizationSuggestion
Data isRuntimeAnnotation_Data `protobuf_oneof:"data"`
// The unique identifier of the annotation.
// Format:
// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation}
AnnotationId string `protobuf:"bytes,1,opt,name=annotation_id,json=annotationId,proto3" json:"annotation_id,omitempty"`
// The time at which this annotation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The boundary in the conversation where the annotation starts, inclusive.
StartBoundary *AnnotationBoundary `protobuf:"bytes,3,opt,name=start_boundary,json=startBoundary,proto3" json:"start_boundary,omitempty"`
// The boundary in the conversation where the annotation ends, inclusive.
EndBoundary *AnnotationBoundary `protobuf:"bytes,4,opt,name=end_boundary,json=endBoundary,proto3" json:"end_boundary,omitempty"`
// The feedback that the customer has about the answer in `data`.
AnswerFeedback *AnswerFeedback `protobuf:"bytes,5,opt,name=answer_feedback,json=answerFeedback,proto3" json:"answer_feedback,omitempty"`
// Explicit input used for generating the answer
UserInput *RuntimeAnnotation_UserInput `protobuf:"bytes,16,opt,name=user_input,json=userInput,proto3" json:"user_input,omitempty"`
// contains filtered or unexported fields
}
An annotation that was generated during the customer and agent interaction.
func (*RuntimeAnnotation) Descriptor
func (*RuntimeAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeAnnotation.ProtoReflect.Descriptor instead.
func (*RuntimeAnnotation) GetAnnotationId
func (x *RuntimeAnnotation) GetAnnotationId() string
func (*RuntimeAnnotation) GetAnswerFeedback
func (x *RuntimeAnnotation) GetAnswerFeedback() *AnswerFeedback
func (*RuntimeAnnotation) GetArticleSuggestion
func (x *RuntimeAnnotation) GetArticleSuggestion() *ArticleSuggestionData
func (*RuntimeAnnotation) GetConversationSummarizationSuggestion
func (x *RuntimeAnnotation) GetConversationSummarizationSuggestion() *ConversationSummarizationSuggestionData
func (*RuntimeAnnotation) GetCreateTime
func (x *RuntimeAnnotation) GetCreateTime() *timestamppb.Timestamp
func (*RuntimeAnnotation) GetData
func (m *RuntimeAnnotation) GetData() isRuntimeAnnotation_Data
func (*RuntimeAnnotation) GetDialogflowInteraction
func (x *RuntimeAnnotation) GetDialogflowInteraction() *DialogflowInteractionData
func (*RuntimeAnnotation) GetEndBoundary
func (x *RuntimeAnnotation) GetEndBoundary() *AnnotationBoundary
func (*RuntimeAnnotation) GetFaqAnswer
func (x *RuntimeAnnotation) GetFaqAnswer() *FaqAnswerData
func (*RuntimeAnnotation) GetSmartComposeSuggestion
func (x *RuntimeAnnotation) GetSmartComposeSuggestion() *SmartComposeSuggestionData
func (*RuntimeAnnotation) GetSmartReply
func (x *RuntimeAnnotation) GetSmartReply() *SmartReplyData
func (*RuntimeAnnotation) GetStartBoundary
func (x *RuntimeAnnotation) GetStartBoundary() *AnnotationBoundary
func (*RuntimeAnnotation) GetUserInput
func (x *RuntimeAnnotation) GetUserInput() *RuntimeAnnotation_UserInput
func (*RuntimeAnnotation) ProtoMessage
func (*RuntimeAnnotation) ProtoMessage()
func (*RuntimeAnnotation) ProtoReflect
func (x *RuntimeAnnotation) ProtoReflect() protoreflect.Message
func (*RuntimeAnnotation) Reset
func (x *RuntimeAnnotation) Reset()
func (*RuntimeAnnotation) String
func (x *RuntimeAnnotation) String() string
RuntimeAnnotation_ArticleSuggestion
type RuntimeAnnotation_ArticleSuggestion struct {
// Agent Assist Article Suggestion data.
ArticleSuggestion *ArticleSuggestionData `protobuf:"bytes,6,opt,name=article_suggestion,json=articleSuggestion,proto3,oneof"`
}
RuntimeAnnotation_ConversationSummarizationSuggestion
type RuntimeAnnotation_ConversationSummarizationSuggestion struct {
// Conversation summarization suggestion data.
ConversationSummarizationSuggestion *ConversationSummarizationSuggestionData `protobuf:"bytes,12,opt,name=conversation_summarization_suggestion,json=conversationSummarizationSuggestion,proto3,oneof"`
}
RuntimeAnnotation_DialogflowInteraction
type RuntimeAnnotation_DialogflowInteraction struct {
// Dialogflow interaction data.
DialogflowInteraction *DialogflowInteractionData `protobuf:"bytes,10,opt,name=dialogflow_interaction,json=dialogflowInteraction,proto3,oneof"`
}
RuntimeAnnotation_FaqAnswer
type RuntimeAnnotation_FaqAnswer struct {
// Agent Assist FAQ answer data.
FaqAnswer *FaqAnswerData `protobuf:"bytes,7,opt,name=faq_answer,json=faqAnswer,proto3,oneof"`
}
RuntimeAnnotation_SmartComposeSuggestion
type RuntimeAnnotation_SmartComposeSuggestion struct {
// Agent Assist Smart Compose suggestion data.
SmartComposeSuggestion *SmartComposeSuggestionData `protobuf:"bytes,9,opt,name=smart_compose_suggestion,json=smartComposeSuggestion,proto3,oneof"`
}
RuntimeAnnotation_SmartReply
type RuntimeAnnotation_SmartReply struct {
// Agent Assist Smart Reply data.
SmartReply *SmartReplyData `protobuf:"bytes,8,opt,name=smart_reply,json=smartReply,proto3,oneof"`
}
RuntimeAnnotation_UserInput
type RuntimeAnnotation_UserInput struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
GeneratorName string `protobuf:"bytes,2,opt,name=generator_name,json=generatorName,proto3" json:"generator_name,omitempty"`
QuerySource RuntimeAnnotation_UserInput_QuerySource "" /* 178 byte string literal not displayed */
}
Explicit input used for generating the answer
func (*RuntimeAnnotation_UserInput) Descriptor
func (*RuntimeAnnotation_UserInput) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeAnnotation_UserInput.ProtoReflect.Descriptor instead.
func (*RuntimeAnnotation_UserInput) GetGeneratorName
func (x *RuntimeAnnotation_UserInput) GetGeneratorName() string
func (*RuntimeAnnotation_UserInput) GetQuery
func (x *RuntimeAnnotation_UserInput) GetQuery() string
func (*RuntimeAnnotation_UserInput) GetQuerySource
func (x *RuntimeAnnotation_UserInput) GetQuerySource() RuntimeAnnotation_UserInput_QuerySource
func (*RuntimeAnnotation_UserInput) ProtoMessage
func (*RuntimeAnnotation_UserInput) ProtoMessage()
func (*RuntimeAnnotation_UserInput) ProtoReflect
func (x *RuntimeAnnotation_UserInput) ProtoReflect() protoreflect.Message
func (*RuntimeAnnotation_UserInput) Reset
func (x *RuntimeAnnotation_UserInput) Reset()
func (*RuntimeAnnotation_UserInput) String
func (x *RuntimeAnnotation_UserInput) String() string
RuntimeAnnotation_UserInput_QuerySource
type RuntimeAnnotation_UserInput_QuerySource int32
The source of the query.
RuntimeAnnotation_UserInput_QUERY_SOURCE_UNSPECIFIED, RuntimeAnnotation_UserInput_AGENT_QUERY, RuntimeAnnotation_UserInput_SUGGESTED_QUERY
const (
// Unknown query source.
RuntimeAnnotation_UserInput_QUERY_SOURCE_UNSPECIFIED RuntimeAnnotation_UserInput_QuerySource = 0
// The query is from agents.
RuntimeAnnotation_UserInput_AGENT_QUERY RuntimeAnnotation_UserInput_QuerySource = 1
// The query is a query from previous suggestions, e.g. from a preceding
// SuggestKnowledgeAssist response.
RuntimeAnnotation_UserInput_SUGGESTED_QUERY RuntimeAnnotation_UserInput_QuerySource = 2
)
func (RuntimeAnnotation_UserInput_QuerySource) Descriptor
func (RuntimeAnnotation_UserInput_QuerySource) Descriptor() protoreflect.EnumDescriptor
func (RuntimeAnnotation_UserInput_QuerySource) Enum
func (RuntimeAnnotation_UserInput_QuerySource) EnumDescriptor
func (RuntimeAnnotation_UserInput_QuerySource) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuntimeAnnotation_UserInput_QuerySource.Descriptor instead.
func (RuntimeAnnotation_UserInput_QuerySource) Number
func (x RuntimeAnnotation_UserInput_QuerySource) Number() protoreflect.EnumNumber
func (RuntimeAnnotation_UserInput_QuerySource) String
func (x RuntimeAnnotation_UserInput_QuerySource) String() string
func (RuntimeAnnotation_UserInput_QuerySource) Type
func (RuntimeAnnotation_UserInput_QuerySource) Type() protoreflect.EnumType
SentimentData
type SentimentData struct {
// A non-negative number from 0 to infinity which represents the abolute
// magnitude of sentiment regardless of score.
Magnitude float32 `protobuf:"fixed32,1,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
// The sentiment score between -1.0 (negative) and 1.0 (positive).
Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
The data for a sentiment annotation.
func (*SentimentData) Descriptor
func (*SentimentData) Descriptor() ([]byte, []int)
Deprecated: Use SentimentData.ProtoReflect.Descriptor instead.
func (*SentimentData) GetMagnitude
func (x *SentimentData) GetMagnitude() float32
func (*SentimentData) GetScore
func (x *SentimentData) GetScore() float32
func (*SentimentData) ProtoMessage
func (*SentimentData) ProtoMessage()
func (*SentimentData) ProtoReflect
func (x *SentimentData) ProtoReflect() protoreflect.Message
func (*SentimentData) Reset
func (x *SentimentData) Reset()
func (*SentimentData) String
func (x *SentimentData) String() string
Settings
type Settings struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
ConversationTtl *durationpb.Duration `protobuf:"bytes,5,opt,name=conversation_ttl,json=conversationTtl,proto3" json:"conversation_ttl,omitempty"`
PubsubNotificationSettings map[string]string "" /* 229 byte string literal not displayed */
AnalysisConfig *Settings_AnalysisConfig `protobuf:"bytes,7,opt,name=analysis_config,json=analysisConfig,proto3" json:"analysis_config,omitempty"`
RedactionConfig *RedactionConfig `protobuf:"bytes,10,opt,name=redaction_config,json=redactionConfig,proto3" json:"redaction_config,omitempty"`
SpeechConfig *SpeechConfig `protobuf:"bytes,11,opt,name=speech_config,json=speechConfig,proto3" json:"speech_config,omitempty"`
}
The CCAI Insights project wide settings.
Use these settings to configure the behavior of Insights.
View these settings with
getsettings
and change the settings with
updateSettings
.
func (*Settings) Descriptor
Deprecated: Use Settings.ProtoReflect.Descriptor instead.
func (*Settings) GetAnalysisConfig
func (x *Settings) GetAnalysisConfig() *Settings_AnalysisConfig
func (*Settings) GetConversationTtl
func (x *Settings) GetConversationTtl() *durationpb.Duration
func (*Settings) GetCreateTime
func (x *Settings) GetCreateTime() *timestamppb.Timestamp
func (*Settings) GetLanguageCode
func (*Settings) GetName
func (*Settings) GetPubsubNotificationSettings
func (*Settings) GetRedactionConfig
func (x *Settings) GetRedactionConfig() *RedactionConfig
func (*Settings) GetSpeechConfig
func (x *Settings) GetSpeechConfig() *SpeechConfig
func (*Settings) GetUpdateTime
func (x *Settings) GetUpdateTime() *timestamppb.Timestamp
func (*Settings) ProtoMessage
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect
func (x *Settings) ProtoReflect() protoreflect.Message
func (*Settings) Reset
func (x *Settings) Reset()
func (*Settings) String
Settings_AnalysisConfig
type Settings_AnalysisConfig struct {
RuntimeIntegrationAnalysisPercentage float64 "" /* 175 byte string literal not displayed */
UploadConversationAnalysisPercentage float64 "" /* 175 byte string literal not displayed */
AnnotatorSelector *AnnotatorSelector `protobuf:"bytes,5,opt,name=annotator_selector,json=annotatorSelector,proto3" json:"annotator_selector,omitempty"`
}
Default configuration when creating Analyses in Insights.
func (*Settings_AnalysisConfig) Descriptor
func (*Settings_AnalysisConfig) Descriptor() ([]byte, []int)
Deprecated: Use Settings_AnalysisConfig.ProtoReflect.Descriptor instead.
func (*Settings_AnalysisConfig) GetAnnotatorSelector
func (x *Settings_AnalysisConfig) GetAnnotatorSelector() *AnnotatorSelector
func (*Settings_AnalysisConfig) GetRuntimeIntegrationAnalysisPercentage
func (x *Settings_AnalysisConfig) GetRuntimeIntegrationAnalysisPercentage() float64
func (*Settings_AnalysisConfig) GetUploadConversationAnalysisPercentage
func (x *Settings_AnalysisConfig) GetUploadConversationAnalysisPercentage() float64
func (*Settings_AnalysisConfig) ProtoMessage
func (*Settings_AnalysisConfig) ProtoMessage()
func (*Settings_AnalysisConfig) ProtoReflect
func (x *Settings_AnalysisConfig) ProtoReflect() protoreflect.Message
func (*Settings_AnalysisConfig) Reset
func (x *Settings_AnalysisConfig) Reset()
func (*Settings_AnalysisConfig) String
func (x *Settings_AnalysisConfig) String() string
SilenceData
type SilenceData struct {
// contains filtered or unexported fields
}
The data for a silence annotation.
func (*SilenceData) Descriptor
func (*SilenceData) Descriptor() ([]byte, []int)
Deprecated: Use SilenceData.ProtoReflect.Descriptor instead.
func (*SilenceData) ProtoMessage
func (*SilenceData) ProtoMessage()
func (*SilenceData) ProtoReflect
func (x *SilenceData) ProtoReflect() protoreflect.Message
func (*SilenceData) Reset
func (x *SilenceData) Reset()
func (*SilenceData) String
func (x *SilenceData) String() string
SmartComposeSuggestionData
type SmartComposeSuggestionData struct {
Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
ConfidenceScore float64 `protobuf:"fixed64,2,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,4,opt,name=query_record,json=queryRecord,proto3" json:"query_record,omitempty"`
}
Agent Assist Smart Compose suggestion data.
func (*SmartComposeSuggestionData) Descriptor
func (*SmartComposeSuggestionData) Descriptor() ([]byte, []int)
Deprecated: Use SmartComposeSuggestionData.ProtoReflect.Descriptor instead.
func (*SmartComposeSuggestionData) GetConfidenceScore
func (x *SmartComposeSuggestionData) GetConfidenceScore() float64
func (*SmartComposeSuggestionData) GetMetadata
func (x *SmartComposeSuggestionData) GetMetadata() map[string]string
func (*SmartComposeSuggestionData) GetQueryRecord
func (x *SmartComposeSuggestionData) GetQueryRecord() string
func (*SmartComposeSuggestionData) GetSuggestion
func (x *SmartComposeSuggestionData) GetSuggestion() string
func (*SmartComposeSuggestionData) ProtoMessage
func (*SmartComposeSuggestionData) ProtoMessage()
func (*SmartComposeSuggestionData) ProtoReflect
func (x *SmartComposeSuggestionData) ProtoReflect() protoreflect.Message
func (*SmartComposeSuggestionData) Reset
func (x *SmartComposeSuggestionData) Reset()
func (*SmartComposeSuggestionData) String
func (x *SmartComposeSuggestionData) String() string
SmartReplyData
type SmartReplyData struct {
Reply string `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"`
ConfidenceScore float64 `protobuf:"fixed64,2,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,4,opt,name=query_record,json=queryRecord,proto3" json:"query_record,omitempty"`
}
Agent Assist Smart Reply data.
func (*SmartReplyData) Descriptor
func (*SmartReplyData) Descriptor() ([]byte, []int)
Deprecated: Use SmartReplyData.ProtoReflect.Descriptor instead.
func (*SmartReplyData) GetConfidenceScore
func (x *SmartReplyData) GetConfidenceScore() float64
func (*SmartReplyData) GetMetadata
func (x *SmartReplyData) GetMetadata() map[string]string
func (*SmartReplyData) GetQueryRecord
func (x *SmartReplyData) GetQueryRecord() string
func (*SmartReplyData) GetReply
func (x *SmartReplyData) GetReply() string
func (*SmartReplyData) ProtoMessage
func (*SmartReplyData) ProtoMessage()
func (*SmartReplyData) ProtoReflect
func (x *SmartReplyData) ProtoReflect() protoreflect.Message
func (*SmartReplyData) Reset
func (x *SmartReplyData) Reset()
func (*SmartReplyData) String
func (x *SmartReplyData) String() string
SpeechConfig
type SpeechConfig struct {
// The fully-qualified Speech Recognizer resource name.
// Format:
// `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
SpeechRecognizer string `protobuf:"bytes,1,opt,name=speech_recognizer,json=speechRecognizer,proto3" json:"speech_recognizer,omitempty"`
// contains filtered or unexported fields
}
Speech-to-Text configuration.
Speech-to-Text settings are applied to conversations ingested from the
UploadConversation
and IngestConversations
endpoints, including
conversation coming from CCAI Platform. They are not applied to conversations
ingested from the CreateConversation
endpoint.
func (*SpeechConfig) Descriptor
func (*SpeechConfig) Descriptor() ([]byte, []int)
Deprecated: Use SpeechConfig.ProtoReflect.Descriptor instead.
func (*SpeechConfig) GetSpeechRecognizer
func (x *SpeechConfig) GetSpeechRecognizer() string
func (*SpeechConfig) ProtoMessage
func (*SpeechConfig) ProtoMessage()
func (*SpeechConfig) ProtoReflect
func (x *SpeechConfig) ProtoReflect() protoreflect.Message
func (*SpeechConfig) Reset
func (x *SpeechConfig) Reset()
func (*SpeechConfig) String
func (x *SpeechConfig) String() string
TuneQaScorecardRevisionMetadata
type TuneQaScorecardRevisionMetadata 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 *TuneQaScorecardRevisionRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
QaQuestionDatasetValidationResults []*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult "" /* 169 byte string literal not displayed */
QaQuestionDatasetTuningMetrics []*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics "" /* 157 byte string literal not displayed */
TuningCompletionRatio float64 "" /* 128 byte string literal not displayed */
}
Metadata for TuneQaScorecardRevision endpoint.
func (*TuneQaScorecardRevisionMetadata) Descriptor
func (*TuneQaScorecardRevisionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TuneQaScorecardRevisionMetadata.ProtoReflect.Descriptor instead.
func (*TuneQaScorecardRevisionMetadata) GetCreateTime
func (x *TuneQaScorecardRevisionMetadata) GetCreateTime() *timestamppb.Timestamp
func (*TuneQaScorecardRevisionMetadata) GetEndTime
func (x *TuneQaScorecardRevisionMetadata) GetEndTime() *timestamppb.Timestamp
func (*TuneQaScorecardRevisionMetadata) GetQaQuestionDatasetTuningMetrics
func (x *TuneQaScorecardRevisionMetadata) GetQaQuestionDatasetTuningMetrics() []*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics
func (*TuneQaScorecardRevisionMetadata) GetQaQuestionDatasetValidationResults
func (x *TuneQaScorecardRevisionMetadata) GetQaQuestionDatasetValidationResults() []*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult
func (*TuneQaScorecardRevisionMetadata) GetRequest
func (x *TuneQaScorecardRevisionMetadata) GetRequest() *TuneQaScorecardRevisionRequest
func (*TuneQaScorecardRevisionMetadata) GetTuningCompletionRatio
func (x *TuneQaScorecardRevisionMetadata) GetTuningCompletionRatio() float64
func (*TuneQaScorecardRevisionMetadata) ProtoMessage
func (*TuneQaScorecardRevisionMetadata) ProtoMessage()
func (*TuneQaScorecardRevisionMetadata) ProtoReflect
func (x *TuneQaScorecardRevisionMetadata) ProtoReflect() protoreflect.Message
func (*TuneQaScorecardRevisionMetadata) Reset
func (x *TuneQaScorecardRevisionMetadata) Reset()
func (*TuneQaScorecardRevisionMetadata) String
func (x *TuneQaScorecardRevisionMetadata) String() string
TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics
type TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics struct {
// Output only. The resource path of the question whose dataset was
// evaluated for tuning.
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
// Output only. The metrics for the question's dataset.
Metrics *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
// contains filtered or unexported fields
}
Contains performance metrics for each QaQuestion in the TuneScorecardRevision request.
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) Descriptor
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) Descriptor() ([]byte, []int)
Deprecated: Use TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics.ProtoReflect.Descriptor instead.
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) GetMetrics
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) GetMetrics() *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) GetQuestion
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) GetQuestion() string
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) ProtoMessage
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) ProtoMessage()
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) ProtoReflect
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) ProtoReflect() protoreflect.Message
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) Reset
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) Reset()
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) String
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics) String() string
TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics
type TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics struct {
// Accuracy of the question's dataset.
Accuracy float64 `protobuf:"fixed64,1,opt,name=accuracy,proto3" json:"accuracy,omitempty"`
// contains filtered or unexported fields
}
Performance metrics for the question's dataset calculated over the tuned model.
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) Descriptor
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) Descriptor() ([]byte, []int)
Deprecated: Use TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics.ProtoReflect.Descriptor instead.
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) GetAccuracy
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) GetAccuracy() float64
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) ProtoMessage
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) ProtoMessage()
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) ProtoReflect
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) ProtoReflect() protoreflect.Message
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) Reset
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) Reset()
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) String
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetTuningMetrics_Metrics) String() string
TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult
type TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult struct {
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
DatasetValidationWarnings []DatasetValidationWarning "" /* 214 byte string literal not displayed */
ValidFeedbackLabelsCount int32 "" /* 138 byte string literal not displayed */
}
Contains validation results for a question in the tuning request.
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) Descriptor
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult.ProtoReflect.Descriptor instead.
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) GetDatasetValidationWarnings
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) GetDatasetValidationWarnings() []DatasetValidationWarning
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) GetQuestion
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) GetQuestion() string
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) GetValidFeedbackLabelsCount
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) GetValidFeedbackLabelsCount() int32
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) ProtoMessage
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) ProtoMessage()
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) ProtoReflect
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) ProtoReflect() protoreflect.Message
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) Reset
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) Reset()
func (*TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) String
func (x *TuneQaScorecardRevisionMetadata_QaQuestionDatasetValidationResult) String() string
TuneQaScorecardRevisionRequest
type TuneQaScorecardRevisionRequest struct {
// Required. The parent resource for new fine tuning job instance.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Filter for selecting the feedback labels that needs to be
// used for training.
// This filter can be used to limit the feedback labels used for tuning to a
// feedback labels created or updated for a specific time-window etc.
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Run in validate only mode, no fine tuning will actually run.
// Data quality validations like training data distributions will run.
// Even when set to false, the data quality validations will still run but
// once the validations complete we will proceed with the fine tune, if
// applicable.
ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}
Request for TuneQaScorecardRevision endpoint.
func (*TuneQaScorecardRevisionRequest) Descriptor
func (*TuneQaScorecardRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use TuneQaScorecardRevisionRequest.ProtoReflect.Descriptor instead.
func (*TuneQaScorecardRevisionRequest) GetFilter
func (x *TuneQaScorecardRevisionRequest) GetFilter() string
func (*TuneQaScorecardRevisionRequest) GetParent
func (x *TuneQaScorecardRevisionRequest) GetParent() string
func (*TuneQaScorecardRevisionRequest) GetValidateOnly
func (x *TuneQaScorecardRevisionRequest) GetValidateOnly() bool
func (*TuneQaScorecardRevisionRequest) ProtoMessage
func (*TuneQaScorecardRevisionRequest) ProtoMessage()
func (*TuneQaScorecardRevisionRequest) ProtoReflect
func (x *TuneQaScorecardRevisionRequest) ProtoReflect() protoreflect.Message
func (*TuneQaScorecardRevisionRequest) Reset
func (x *TuneQaScorecardRevisionRequest) Reset()
func (*TuneQaScorecardRevisionRequest) String
func (x *TuneQaScorecardRevisionRequest) String() string
TuneQaScorecardRevisionResponse
type TuneQaScorecardRevisionResponse struct {
// contains filtered or unexported fields
}
Response for TuneQaScorecardRevision endpoint.
func (*TuneQaScorecardRevisionResponse) Descriptor
func (*TuneQaScorecardRevisionResponse) Descriptor() ([]byte, []int)
Deprecated: Use TuneQaScorecardRevisionResponse.ProtoReflect.Descriptor instead.
func (*TuneQaScorecardRevisionResponse) ProtoMessage
func (*TuneQaScorecardRevisionResponse) ProtoMessage()
func (*TuneQaScorecardRevisionResponse) ProtoReflect
func (x *TuneQaScorecardRevisionResponse) ProtoReflect() protoreflect.Message
func (*TuneQaScorecardRevisionResponse) Reset
func (x *TuneQaScorecardRevisionResponse) Reset()
func (*TuneQaScorecardRevisionResponse) String
func (x *TuneQaScorecardRevisionResponse) String() string
UndeployIssueModelMetadata
type UndeployIssueModelMetadata 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"`
// The original request for undeployment.
Request *UndeployIssueModelRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
// contains filtered or unexported fields
}
Metadata for undeploying an issue model.
func (*UndeployIssueModelMetadata) Descriptor
func (*UndeployIssueModelMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UndeployIssueModelMetadata.ProtoReflect.Descriptor instead.
func (*UndeployIssueModelMetadata) GetCreateTime
func (x *UndeployIssueModelMetadata) GetCreateTime() *timestamppb.Timestamp
func (*UndeployIssueModelMetadata) GetEndTime
func (x *UndeployIssueModelMetadata) GetEndTime() *timestamppb.Timestamp
func (*UndeployIssueModelMetadata) GetRequest
func (x *UndeployIssueModelMetadata) GetRequest() *UndeployIssueModelRequest
func (*UndeployIssueModelMetadata) ProtoMessage
func (*UndeployIssueModelMetadata) ProtoMessage()
func (*UndeployIssueModelMetadata) ProtoReflect
func (x *UndeployIssueModelMetadata) ProtoReflect() protoreflect.Message
func (*UndeployIssueModelMetadata) Reset
func (x *UndeployIssueModelMetadata) Reset()
func (*UndeployIssueModelMetadata) String
func (x *UndeployIssueModelMetadata) String() string
UndeployIssueModelRequest
type UndeployIssueModelRequest struct {
// Required. The issue model to undeploy.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to undeploy an issue model.
func (*UndeployIssueModelRequest) Descriptor
func (*UndeployIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeployIssueModelRequest.ProtoReflect.Descriptor instead.
func (*UndeployIssueModelRequest) GetName
func (x *UndeployIssueModelRequest) GetName() string
func (*UndeployIssueModelRequest) ProtoMessage
func (*UndeployIssueModelRequest) ProtoMessage()
func (*UndeployIssueModelRequest) ProtoReflect
func (x *UndeployIssueModelRequest) ProtoReflect() protoreflect.Message
func (*UndeployIssueModelRequest) Reset
func (x *UndeployIssueModelRequest) Reset()
func (*UndeployIssueModelRequest) String
func (x *UndeployIssueModelRequest) String() string
UndeployIssueModelResponse
type UndeployIssueModelResponse struct {
// contains filtered or unexported fields
}
The response to undeploy an issue model.
func (*UndeployIssueModelResponse) Descriptor
func (*UndeployIssueModelResponse) Descriptor() ([]byte, []int)
Deprecated: Use UndeployIssueModelResponse.ProtoReflect.Descriptor instead.
func (*UndeployIssueModelResponse) ProtoMessage
func (*UndeployIssueModelResponse) ProtoMessage()
func (*UndeployIssueModelResponse) ProtoReflect
func (x *UndeployIssueModelResponse) ProtoReflect() protoreflect.Message
func (*UndeployIssueModelResponse) Reset
func (x *UndeployIssueModelResponse) Reset()
func (*UndeployIssueModelResponse) String
func (x *UndeployIssueModelResponse) String() string
UndeployQaScorecardRevisionRequest
type UndeployQaScorecardRevisionRequest struct {
// Required. The name of the QaScorecardRevision to undeploy.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
The request to undeploy a QaScorecardRevision
func (*UndeployQaScorecardRevisionRequest) Descriptor
func (*UndeployQaScorecardRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeployQaScorecardRevisionRequest.ProtoReflect.Descriptor instead.
func (*UndeployQaScorecardRevisionRequest) GetName
func (x *UndeployQaScorecardRevisionRequest) GetName() string
func (*UndeployQaScorecardRevisionRequest) ProtoMessage
func (*UndeployQaScorecardRevisionRequest) ProtoMessage()
func (*UndeployQaScorecardRevisionRequest) ProtoReflect
func (x *UndeployQaScorecardRevisionRequest) ProtoReflect() protoreflect.Message
func (*UndeployQaScorecardRevisionRequest) Reset
func (x *UndeployQaScorecardRevisionRequest) Reset()
func (*UndeployQaScorecardRevisionRequest) String
func (x *UndeployQaScorecardRevisionRequest) String() string
UnimplementedContactCenterInsightsServer
type UnimplementedContactCenterInsightsServer struct {
}
UnimplementedContactCenterInsightsServer can be embedded to have forward compatible implementations.
func (*UnimplementedContactCenterInsightsServer) BulkAnalyzeConversations
func (*UnimplementedContactCenterInsightsServer) BulkAnalyzeConversations(context.Context, *BulkAnalyzeConversationsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) BulkDeleteConversations
func (*UnimplementedContactCenterInsightsServer) BulkDeleteConversations(context.Context, *BulkDeleteConversationsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) BulkDownloadFeedbackLabels
func (*UnimplementedContactCenterInsightsServer) BulkDownloadFeedbackLabels(context.Context, *BulkDownloadFeedbackLabelsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) BulkUploadFeedbackLabels
func (*UnimplementedContactCenterInsightsServer) BulkUploadFeedbackLabels(context.Context, *BulkUploadFeedbackLabelsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) CalculateIssueModelStats
func (*UnimplementedContactCenterInsightsServer) CalculateIssueModelStats(context.Context, *CalculateIssueModelStatsRequest) (*CalculateIssueModelStatsResponse, error)
func (*UnimplementedContactCenterInsightsServer) CalculateStats
func (*UnimplementedContactCenterInsightsServer) CalculateStats(context.Context, *CalculateStatsRequest) (*CalculateStatsResponse, error)
func (*UnimplementedContactCenterInsightsServer) CreateAnalysis
func (*UnimplementedContactCenterInsightsServer) CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) CreateAnalysisRule
func (*UnimplementedContactCenterInsightsServer) CreateAnalysisRule(context.Context, *CreateAnalysisRuleRequest) (*AnalysisRule, error)
func (*UnimplementedContactCenterInsightsServer) CreateConversation
func (*UnimplementedContactCenterInsightsServer) CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
func (*UnimplementedContactCenterInsightsServer) CreateFeedbackLabel
func (*UnimplementedContactCenterInsightsServer) CreateFeedbackLabel(context.Context, *CreateFeedbackLabelRequest) (*FeedbackLabel, error)
func (*UnimplementedContactCenterInsightsServer) CreateIssueModel
func (*UnimplementedContactCenterInsightsServer) CreateIssueModel(context.Context, *CreateIssueModelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) CreatePhraseMatcher
func (*UnimplementedContactCenterInsightsServer) CreatePhraseMatcher(context.Context, *CreatePhraseMatcherRequest) (*PhraseMatcher, error)
func (*UnimplementedContactCenterInsightsServer) CreateQaQuestion
func (*UnimplementedContactCenterInsightsServer) CreateQaQuestion(context.Context, *CreateQaQuestionRequest) (*QaQuestion, error)
func (*UnimplementedContactCenterInsightsServer) CreateQaScorecard
func (*UnimplementedContactCenterInsightsServer) CreateQaScorecard(context.Context, *CreateQaScorecardRequest) (*QaScorecard, error)
func (*UnimplementedContactCenterInsightsServer) CreateQaScorecardRevision
func (*UnimplementedContactCenterInsightsServer) CreateQaScorecardRevision(context.Context, *CreateQaScorecardRevisionRequest) (*QaScorecardRevision, error)
func (*UnimplementedContactCenterInsightsServer) CreateView
func (*UnimplementedContactCenterInsightsServer) CreateView(context.Context, *CreateViewRequest) (*View, error)
func (*UnimplementedContactCenterInsightsServer) DeleteAnalysis
func (*UnimplementedContactCenterInsightsServer) DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteAnalysisRule
func (*UnimplementedContactCenterInsightsServer) DeleteAnalysisRule(context.Context, *DeleteAnalysisRuleRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteConversation
func (*UnimplementedContactCenterInsightsServer) DeleteConversation(context.Context, *DeleteConversationRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteFeedbackLabel
func (*UnimplementedContactCenterInsightsServer) DeleteFeedbackLabel(context.Context, *DeleteFeedbackLabelRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteIssue
func (*UnimplementedContactCenterInsightsServer) DeleteIssue(context.Context, *DeleteIssueRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteIssueModel
func (*UnimplementedContactCenterInsightsServer) DeleteIssueModel(context.Context, *DeleteIssueModelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) DeletePhraseMatcher
func (*UnimplementedContactCenterInsightsServer) DeletePhraseMatcher(context.Context, *DeletePhraseMatcherRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteQaQuestion
func (*UnimplementedContactCenterInsightsServer) DeleteQaQuestion(context.Context, *DeleteQaQuestionRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteQaScorecard
func (*UnimplementedContactCenterInsightsServer) DeleteQaScorecard(context.Context, *DeleteQaScorecardRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteQaScorecardRevision
func (*UnimplementedContactCenterInsightsServer) DeleteQaScorecardRevision(context.Context, *DeleteQaScorecardRevisionRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeleteView
func (*UnimplementedContactCenterInsightsServer) DeleteView(context.Context, *DeleteViewRequest) (*emptypb.Empty, error)
func (*UnimplementedContactCenterInsightsServer) DeployIssueModel
func (*UnimplementedContactCenterInsightsServer) DeployIssueModel(context.Context, *DeployIssueModelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) DeployQaScorecardRevision
func (*UnimplementedContactCenterInsightsServer) DeployQaScorecardRevision(context.Context, *DeployQaScorecardRevisionRequest) (*QaScorecardRevision, error)
func (*UnimplementedContactCenterInsightsServer) ExportInsightsData
func (*UnimplementedContactCenterInsightsServer) ExportInsightsData(context.Context, *ExportInsightsDataRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) ExportIssueModel
func (*UnimplementedContactCenterInsightsServer) ExportIssueModel(context.Context, *ExportIssueModelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) GetAnalysis
func (*UnimplementedContactCenterInsightsServer) GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error)
func (*UnimplementedContactCenterInsightsServer) GetAnalysisRule
func (*UnimplementedContactCenterInsightsServer) GetAnalysisRule(context.Context, *GetAnalysisRuleRequest) (*AnalysisRule, error)
func (*UnimplementedContactCenterInsightsServer) GetConversation
func (*UnimplementedContactCenterInsightsServer) GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
func (*UnimplementedContactCenterInsightsServer) GetEncryptionSpec
func (*UnimplementedContactCenterInsightsServer) GetEncryptionSpec(context.Context, *GetEncryptionSpecRequest) (*EncryptionSpec, error)
func (*UnimplementedContactCenterInsightsServer) GetFeedbackLabel
func (*UnimplementedContactCenterInsightsServer) GetFeedbackLabel(context.Context, *GetFeedbackLabelRequest) (*FeedbackLabel, error)
func (*UnimplementedContactCenterInsightsServer) GetIssue
func (*UnimplementedContactCenterInsightsServer) GetIssue(context.Context, *GetIssueRequest) (*Issue, error)
func (*UnimplementedContactCenterInsightsServer) GetIssueModel
func (*UnimplementedContactCenterInsightsServer) GetIssueModel(context.Context, *GetIssueModelRequest) (*IssueModel, error)
func (*UnimplementedContactCenterInsightsServer) GetPhraseMatcher
func (*UnimplementedContactCenterInsightsServer) GetPhraseMatcher(context.Context, *GetPhraseMatcherRequest) (*PhraseMatcher, error)
func (*UnimplementedContactCenterInsightsServer) GetQaQuestion
func (*UnimplementedContactCenterInsightsServer) GetQaQuestion(context.Context, *GetQaQuestionRequest) (*QaQuestion, error)
func (*UnimplementedContactCenterInsightsServer) GetQaScorecard
func (*UnimplementedContactCenterInsightsServer) GetQaScorecard(context.Context, *GetQaScorecardRequest) (*QaScorecard, error)
func (*UnimplementedContactCenterInsightsServer) GetQaScorecardRevision
func (*UnimplementedContactCenterInsightsServer) GetQaScorecardRevision(context.Context, *GetQaScorecardRevisionRequest) (*QaScorecardRevision, error)
func (*UnimplementedContactCenterInsightsServer) GetSettings
func (*UnimplementedContactCenterInsightsServer) GetSettings(context.Context, *GetSettingsRequest) (*Settings, error)
func (*UnimplementedContactCenterInsightsServer) GetView
func (*UnimplementedContactCenterInsightsServer) GetView(context.Context, *GetViewRequest) (*View, error)
func (*UnimplementedContactCenterInsightsServer) ImportIssueModel
func (*UnimplementedContactCenterInsightsServer) ImportIssueModel(context.Context, *ImportIssueModelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) IngestConversations
func (*UnimplementedContactCenterInsightsServer) IngestConversations(context.Context, *IngestConversationsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) InitializeEncryptionSpec
func (*UnimplementedContactCenterInsightsServer) InitializeEncryptionSpec(context.Context, *InitializeEncryptionSpecRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) ListAllFeedbackLabels
func (*UnimplementedContactCenterInsightsServer) ListAllFeedbackLabels(context.Context, *ListAllFeedbackLabelsRequest) (*ListAllFeedbackLabelsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListAnalyses
func (*UnimplementedContactCenterInsightsServer) ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListAnalysisRules
func (*UnimplementedContactCenterInsightsServer) ListAnalysisRules(context.Context, *ListAnalysisRulesRequest) (*ListAnalysisRulesResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListConversations
func (*UnimplementedContactCenterInsightsServer) ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListFeedbackLabels
func (*UnimplementedContactCenterInsightsServer) ListFeedbackLabels(context.Context, *ListFeedbackLabelsRequest) (*ListFeedbackLabelsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListIssueModels
func (*UnimplementedContactCenterInsightsServer) ListIssueModels(context.Context, *ListIssueModelsRequest) (*ListIssueModelsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListIssues
func (*UnimplementedContactCenterInsightsServer) ListIssues(context.Context, *ListIssuesRequest) (*ListIssuesResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListPhraseMatchers
func (*UnimplementedContactCenterInsightsServer) ListPhraseMatchers(context.Context, *ListPhraseMatchersRequest) (*ListPhraseMatchersResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListQaQuestions
func (*UnimplementedContactCenterInsightsServer) ListQaQuestions(context.Context, *ListQaQuestionsRequest) (*ListQaQuestionsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListQaScorecardRevisions
func (*UnimplementedContactCenterInsightsServer) ListQaScorecardRevisions(context.Context, *ListQaScorecardRevisionsRequest) (*ListQaScorecardRevisionsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListQaScorecards
func (*UnimplementedContactCenterInsightsServer) ListQaScorecards(context.Context, *ListQaScorecardsRequest) (*ListQaScorecardsResponse, error)
func (*UnimplementedContactCenterInsightsServer) ListViews
func (*UnimplementedContactCenterInsightsServer) ListViews(context.Context, *ListViewsRequest) (*ListViewsResponse, error)
func (*UnimplementedContactCenterInsightsServer) QueryMetrics
func (*UnimplementedContactCenterInsightsServer) QueryMetrics(context.Context, *QueryMetricsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) TuneQaScorecardRevision
func (*UnimplementedContactCenterInsightsServer) TuneQaScorecardRevision(context.Context, *TuneQaScorecardRevisionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) UndeployIssueModel
func (*UnimplementedContactCenterInsightsServer) UndeployIssueModel(context.Context, *UndeployIssueModelRequest) (*longrunningpb.Operation, error)
func (*UnimplementedContactCenterInsightsServer) UndeployQaScorecardRevision
func (*UnimplementedContactCenterInsightsServer) UndeployQaScorecardRevision(context.Context, *UndeployQaScorecardRevisionRequest) (*QaScorecardRevision, error)
func (*UnimplementedContactCenterInsightsServer) UpdateAnalysisRule
func (*UnimplementedContactCenterInsightsServer) UpdateAnalysisRule(context.Context, *UpdateAnalysisRuleRequest) (*AnalysisRule, error)
func (*UnimplementedContactCenterInsightsServer) UpdateConversation
func (*UnimplementedContactCenterInsightsServer) UpdateConversation(context.Context, *UpdateConversationRequest) (*Conversation, error)
func (*UnimplementedContactCenterInsightsServer) UpdateFeedbackLabel
func (*UnimplementedContactCenterInsightsServer) UpdateFeedbackLabel(context.Context, *UpdateFeedbackLabelRequest) (*FeedbackLabel, error)
func (*UnimplementedContactCenterInsightsServer) UpdateIssue
func (*UnimplementedContactCenterInsightsServer) UpdateIssue(context.Context, *UpdateIssueRequest) (*Issue, error)
func (*UnimplementedContactCenterInsightsServer) UpdateIssueModel
func (*UnimplementedContactCenterInsightsServer) UpdateIssueModel(context.Context, *UpdateIssueModelRequest) (*IssueModel, error)
func (*UnimplementedContactCenterInsightsServer) UpdatePhraseMatcher
func (*UnimplementedContactCenterInsightsServer) UpdatePhraseMatcher(context.Context, *UpdatePhraseMatcherRequest) (*PhraseMatcher, error)
func (*UnimplementedContactCenterInsightsServer) UpdateQaQuestion
func (*UnimplementedContactCenterInsightsServer) UpdateQaQuestion(context.Context, *UpdateQaQuestionRequest) (*QaQuestion, error)
func (*UnimplementedContactCenterInsightsServer) UpdateQaScorecard
func (*UnimplementedContactCenterInsightsServer) UpdateQaScorecard(context.Context, *UpdateQaScorecardRequest) (*QaScorecard, error)
func (*UnimplementedContactCenterInsightsServer) UpdateSettings
func (*UnimplementedContactCenterInsightsServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*Settings, error)
func (*UnimplementedContactCenterInsightsServer) UpdateView
func (*UnimplementedContactCenterInsightsServer) UpdateView(context.Context, *UpdateViewRequest) (*View, error)
func (*UnimplementedContactCenterInsightsServer) UploadConversation
func (*UnimplementedContactCenterInsightsServer) UploadConversation(context.Context, *UploadConversationRequest) (*longrunningpb.Operation, error)
UpdateAnalysisRuleRequest
type UpdateAnalysisRuleRequest struct {
// Required. The new analysis rule.
AnalysisRule *AnalysisRule `protobuf:"bytes,1,opt,name=analysis_rule,json=analysisRule,proto3" json:"analysis_rule,omitempty"`
// Optional. The list of fields to be updated.
// If the update_mask is not provided, the update will be applied to all
// fields.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update a analysis rule.
func (*UpdateAnalysisRuleRequest) Descriptor
func (*UpdateAnalysisRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnalysisRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateAnalysisRuleRequest) GetAnalysisRule
func (x *UpdateAnalysisRuleRequest) GetAnalysisRule() *AnalysisRule
func (*UpdateAnalysisRuleRequest) GetUpdateMask
func (x *UpdateAnalysisRuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnalysisRuleRequest) ProtoMessage
func (*UpdateAnalysisRuleRequest) ProtoMessage()
func (*UpdateAnalysisRuleRequest) ProtoReflect
func (x *UpdateAnalysisRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateAnalysisRuleRequest) Reset
func (x *UpdateAnalysisRuleRequest) Reset()
func (*UpdateAnalysisRuleRequest) String
func (x *UpdateAnalysisRuleRequest) String() string
UpdateConversationRequest
type UpdateConversationRequest struct {
// Required. The new values for the conversation.
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
// The list of fields to be updated. All possible fields can be updated by
// passing `*`, or a subset of the following updateable fields can be
// provided:
//
// * `agent_id`
// * `language_code`
// * `labels`
// * `metadata`
// * `quality_metadata`
// * `call_metadata`
// * `start_time`
// * `expire_time` or `ttl`
// * `data_source.gcs_source.audio_uri` or
// `data_source.dialogflow_source.audio_uri`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update a conversation.
func (*UpdateConversationRequest) Descriptor
func (*UpdateConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConversationRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversationRequest) GetConversation
func (x *UpdateConversationRequest) GetConversation() *Conversation
func (*UpdateConversationRequest) GetUpdateMask
func (x *UpdateConversationRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConversationRequest) ProtoMessage
func (*UpdateConversationRequest) ProtoMessage()
func (*UpdateConversationRequest) ProtoReflect
func (x *UpdateConversationRequest) ProtoReflect() protoreflect.Message
func (*UpdateConversationRequest) Reset
func (x *UpdateConversationRequest) Reset()
func (*UpdateConversationRequest) String
func (x *UpdateConversationRequest) String() string
UpdateFeedbackLabelRequest
type UpdateFeedbackLabelRequest struct {
// Required. The feedback label to update.
FeedbackLabel *FeedbackLabel `protobuf:"bytes,1,opt,name=feedback_label,json=feedbackLabel,proto3" json:"feedback_label,omitempty"`
// Required. The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request for updating a feedback label.
func (*UpdateFeedbackLabelRequest) Descriptor
func (*UpdateFeedbackLabelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFeedbackLabelRequest.ProtoReflect.Descriptor instead.
func (*UpdateFeedbackLabelRequest) GetFeedbackLabel
func (x *UpdateFeedbackLabelRequest) GetFeedbackLabel() *FeedbackLabel
func (*UpdateFeedbackLabelRequest) GetUpdateMask
func (x *UpdateFeedbackLabelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFeedbackLabelRequest) ProtoMessage
func (*UpdateFeedbackLabelRequest) ProtoMessage()
func (*UpdateFeedbackLabelRequest) ProtoReflect
func (x *UpdateFeedbackLabelRequest) ProtoReflect() protoreflect.Message
func (*UpdateFeedbackLabelRequest) Reset
func (x *UpdateFeedbackLabelRequest) Reset()
func (*UpdateFeedbackLabelRequest) String
func (x *UpdateFeedbackLabelRequest) String() string
UpdateIssueModelRequest
type UpdateIssueModelRequest struct {
// Required. The new values for the issue model.
IssueModel *IssueModel `protobuf:"bytes,1,opt,name=issue_model,json=issueModel,proto3" json:"issue_model,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update an issue model.
func (*UpdateIssueModelRequest) Descriptor
func (*UpdateIssueModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIssueModelRequest.ProtoReflect.Descriptor instead.
func (*UpdateIssueModelRequest) GetIssueModel
func (x *UpdateIssueModelRequest) GetIssueModel() *IssueModel
func (*UpdateIssueModelRequest) GetUpdateMask
func (x *UpdateIssueModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIssueModelRequest) ProtoMessage
func (*UpdateIssueModelRequest) ProtoMessage()
func (*UpdateIssueModelRequest) ProtoReflect
func (x *UpdateIssueModelRequest) ProtoReflect() protoreflect.Message
func (*UpdateIssueModelRequest) Reset
func (x *UpdateIssueModelRequest) Reset()
func (*UpdateIssueModelRequest) String
func (x *UpdateIssueModelRequest) String() string
UpdateIssueRequest
type UpdateIssueRequest struct {
// Required. The new values for the issue.
Issue *Issue `protobuf:"bytes,1,opt,name=issue,proto3" json:"issue,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update an issue.
func (*UpdateIssueRequest) Descriptor
func (*UpdateIssueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIssueRequest.ProtoReflect.Descriptor instead.
func (*UpdateIssueRequest) GetIssue
func (x *UpdateIssueRequest) GetIssue() *Issue
func (*UpdateIssueRequest) GetUpdateMask
func (x *UpdateIssueRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIssueRequest) ProtoMessage
func (*UpdateIssueRequest) ProtoMessage()
func (*UpdateIssueRequest) ProtoReflect
func (x *UpdateIssueRequest) ProtoReflect() protoreflect.Message
func (*UpdateIssueRequest) Reset
func (x *UpdateIssueRequest) Reset()
func (*UpdateIssueRequest) String
func (x *UpdateIssueRequest) String() string
UpdatePhraseMatcherRequest
type UpdatePhraseMatcherRequest struct {
// Required. The new values for the phrase matcher.
PhraseMatcher *PhraseMatcher `protobuf:"bytes,1,opt,name=phrase_matcher,json=phraseMatcher,proto3" json:"phrase_matcher,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update a phrase matcher.
func (*UpdatePhraseMatcherRequest) Descriptor
func (*UpdatePhraseMatcherRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePhraseMatcherRequest.ProtoReflect.Descriptor instead.
func (*UpdatePhraseMatcherRequest) GetPhraseMatcher
func (x *UpdatePhraseMatcherRequest) GetPhraseMatcher() *PhraseMatcher
func (*UpdatePhraseMatcherRequest) GetUpdateMask
func (x *UpdatePhraseMatcherRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePhraseMatcherRequest) ProtoMessage
func (*UpdatePhraseMatcherRequest) ProtoMessage()
func (*UpdatePhraseMatcherRequest) ProtoReflect
func (x *UpdatePhraseMatcherRequest) ProtoReflect() protoreflect.Message
func (*UpdatePhraseMatcherRequest) Reset
func (x *UpdatePhraseMatcherRequest) Reset()
func (*UpdatePhraseMatcherRequest) String
func (x *UpdatePhraseMatcherRequest) String() string
UpdateQaQuestionRequest
type UpdateQaQuestionRequest struct {
// Required. The QaQuestion to update.
QaQuestion *QaQuestion `protobuf:"bytes,1,opt,name=qa_question,json=qaQuestion,proto3" json:"qa_question,omitempty"`
// Required. The list of fields to be updated. All possible fields can be
// updated by passing `*`, or a subset of the following updateable fields can
// be provided:
//
// * `abbreviation`
// * `answer_choices`
// * `answer_instructions`
// * `order`
// * `question_body`
// * `tags`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request for updating a QaQuestion.
func (*UpdateQaQuestionRequest) Descriptor
func (*UpdateQaQuestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQaQuestionRequest.ProtoReflect.Descriptor instead.
func (*UpdateQaQuestionRequest) GetQaQuestion
func (x *UpdateQaQuestionRequest) GetQaQuestion() *QaQuestion
func (*UpdateQaQuestionRequest) GetUpdateMask
func (x *UpdateQaQuestionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateQaQuestionRequest) ProtoMessage
func (*UpdateQaQuestionRequest) ProtoMessage()
func (*UpdateQaQuestionRequest) ProtoReflect
func (x *UpdateQaQuestionRequest) ProtoReflect() protoreflect.Message
func (*UpdateQaQuestionRequest) Reset
func (x *UpdateQaQuestionRequest) Reset()
func (*UpdateQaQuestionRequest) String
func (x *UpdateQaQuestionRequest) String() string
UpdateQaScorecardRequest
type UpdateQaScorecardRequest struct {
// Required. The QaScorecard to update.
QaScorecard *QaScorecard `protobuf:"bytes,1,opt,name=qa_scorecard,json=qaScorecard,proto3" json:"qa_scorecard,omitempty"`
// Required. The list of fields to be updated. All possible fields can be
// updated by passing `*`, or a subset of the following updateable fields can
// be provided:
//
// * `description`
// * `display_name`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request for updating a QaScorecard.
func (*UpdateQaScorecardRequest) Descriptor
func (*UpdateQaScorecardRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQaScorecardRequest.ProtoReflect.Descriptor instead.
func (*UpdateQaScorecardRequest) GetQaScorecard
func (x *UpdateQaScorecardRequest) GetQaScorecard() *QaScorecard
func (*UpdateQaScorecardRequest) GetUpdateMask
func (x *UpdateQaScorecardRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateQaScorecardRequest) ProtoMessage
func (*UpdateQaScorecardRequest) ProtoMessage()
func (*UpdateQaScorecardRequest) ProtoReflect
func (x *UpdateQaScorecardRequest) ProtoReflect() protoreflect.Message
func (*UpdateQaScorecardRequest) Reset
func (x *UpdateQaScorecardRequest) Reset()
func (*UpdateQaScorecardRequest) String
func (x *UpdateQaScorecardRequest) String() string
UpdateSettingsRequest
type UpdateSettingsRequest struct {
// Required. The new settings values.
Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
// Required. The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update project-level settings.
func (*UpdateSettingsRequest) Descriptor
func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSettingsRequest) GetSettings
func (x *UpdateSettingsRequest) GetSettings() *Settings
func (*UpdateSettingsRequest) GetUpdateMask
func (x *UpdateSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSettingsRequest) ProtoMessage
func (*UpdateSettingsRequest) ProtoMessage()
func (*UpdateSettingsRequest) ProtoReflect
func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateSettingsRequest) Reset
func (x *UpdateSettingsRequest) Reset()
func (*UpdateSettingsRequest) String
func (x *UpdateSettingsRequest) String() string
UpdateViewRequest
type UpdateViewRequest struct {
// Required. The new view.
View *View `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"`
// The list of fields to be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
The request to update a view.
func (*UpdateViewRequest) Descriptor
func (*UpdateViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateViewRequest.ProtoReflect.Descriptor instead.
func (*UpdateViewRequest) GetUpdateMask
func (x *UpdateViewRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateViewRequest) GetView
func (x *UpdateViewRequest) GetView() *View
func (*UpdateViewRequest) ProtoMessage
func (*UpdateViewRequest) ProtoMessage()
func (*UpdateViewRequest) ProtoReflect
func (x *UpdateViewRequest) ProtoReflect() protoreflect.Message
func (*UpdateViewRequest) Reset
func (x *UpdateViewRequest) Reset()
func (*UpdateViewRequest) String
func (x *UpdateViewRequest) String() string
UploadConversationMetadata
type UploadConversationMetadata 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 *UploadConversationRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
AnalysisOperation string `protobuf:"bytes,4,opt,name=analysis_operation,json=analysisOperation,proto3" json:"analysis_operation,omitempty"`
AppliedRedactionConfig *RedactionConfig "" /* 129 byte string literal not displayed */
}
The metadata for an UploadConversation
operation.
func (*UploadConversationMetadata) Descriptor
func (*UploadConversationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UploadConversationMetadata.ProtoReflect.Descriptor instead.
func (*UploadConversationMetadata) GetAnalysisOperation
func (x *UploadConversationMetadata) GetAnalysisOperation() string
func (*UploadConversationMetadata) GetAppliedRedactionConfig
func (x *UploadConversationMetadata) GetAppliedRedactionConfig() *RedactionConfig
func (*UploadConversationMetadata) GetCreateTime
func (x *UploadConversationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*UploadConversationMetadata) GetEndTime
func (x *UploadConversationMetadata) GetEndTime() *timestamppb.Timestamp
func (*UploadConversationMetadata) GetRequest
func (x *UploadConversationMetadata) GetRequest() *UploadConversationRequest
func (*UploadConversationMetadata) ProtoMessage
func (*UploadConversationMetadata) ProtoMessage()
func (*UploadConversationMetadata) ProtoReflect
func (x *UploadConversationMetadata) ProtoReflect() protoreflect.Message
func (*UploadConversationMetadata) Reset
func (x *UploadConversationMetadata) Reset()
func (*UploadConversationMetadata) String
func (x *UploadConversationMetadata) String() string
UploadConversationRequest
type UploadConversationRequest struct {
// Required. The parent resource of the conversation.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The conversation resource to create.
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Optional. A unique ID for the new conversation. This ID will become the
// final component of the conversation's resource name. If no ID is specified,
// a server-generated ID will be used.
//
// This value should be 4-64 characters and must match the regular
// expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-`
ConversationId string `protobuf:"bytes,3,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
// Optional. DLP settings for transcript redaction. Will default to the config
// specified in Settings.
RedactionConfig *RedactionConfig `protobuf:"bytes,4,opt,name=redaction_config,json=redactionConfig,proto3" json:"redaction_config,omitempty"`
// Optional. Speech-to-Text configuration. Will default to the config
// specified in Settings.
SpeechConfig *SpeechConfig `protobuf:"bytes,11,opt,name=speech_config,json=speechConfig,proto3" json:"speech_config,omitempty"`
// contains filtered or unexported fields
}
Request to upload a conversation.
func (*UploadConversationRequest) Descriptor
func (*UploadConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadConversationRequest.ProtoReflect.Descriptor instead.
func (*UploadConversationRequest) GetConversation
func (x *UploadConversationRequest) GetConversation() *Conversation
func (*UploadConversationRequest) GetConversationId
func (x *UploadConversationRequest) GetConversationId() string
func (*UploadConversationRequest) GetParent
func (x *UploadConversationRequest) GetParent() string
func (*UploadConversationRequest) GetRedactionConfig
func (x *UploadConversationRequest) GetRedactionConfig() *RedactionConfig
func (*UploadConversationRequest) GetSpeechConfig
func (x *UploadConversationRequest) GetSpeechConfig() *SpeechConfig
func (*UploadConversationRequest) ProtoMessage
func (*UploadConversationRequest) ProtoMessage()
func (*UploadConversationRequest) ProtoReflect
func (x *UploadConversationRequest) ProtoReflect() protoreflect.Message
func (*UploadConversationRequest) Reset
func (x *UploadConversationRequest) Reset()
func (*UploadConversationRequest) String
func (x *UploadConversationRequest) String() string
View
type View struct {
// Immutable. The resource name of the view.
// Format:
// projects/{project}/locations/{location}/views/{view}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The human-readable display name of the view.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Output only. The time at which this view was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The most recent time at which the view was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// String with specific view properties, must be non-empty.
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
The View resource.
func (*View) Descriptor
Deprecated: Use View.ProtoReflect.Descriptor instead.
func (*View) GetCreateTime
func (x *View) GetCreateTime() *timestamppb.Timestamp
func (*View) GetDisplayName
func (*View) GetName
func (*View) GetUpdateTime
func (x *View) GetUpdateTime() *timestamppb.Timestamp
func (*View) GetValue
func (*View) ProtoMessage
func (*View) ProtoMessage()
func (*View) ProtoReflect
func (x *View) ProtoReflect() protoreflect.Message
func (*View) Reset
func (x *View) Reset()