Class MockContactCenterInsightsConnection (2.33.0)

A class to mock ContactCenterInsightsConnection.

Application developers may want to test their code with simulated responses, including errors, from an object of type ContactCenterInsightsClient. To do so, construct an object of type ContactCenterInsightsClient with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.

See Also

This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of *Client and *Connection.

Functions

virtual options()

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Returns
Type Description
Options

virtual CreateConversation(google::cloud::contactcenterinsights::v1::CreateConversationRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateConversationRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

virtual UploadConversation(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Conversation > >

virtual UpdateConversation(google::cloud::contactcenterinsights::v1::UpdateConversationRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateConversationRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

virtual GetConversation(google::cloud::contactcenterinsights::v1::GetConversationRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetConversationRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Conversation >

virtual ListConversations(google::cloud::contactcenterinsights::v1::ListConversationsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListConversationsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::Conversation >

virtual DeleteConversation(google::cloud::contactcenterinsights::v1::DeleteConversationRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteConversationRequest const &
Returns
Type Description
Status

virtual CreateAnalysis(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::Analysis > >

virtual GetAnalysis(google::cloud::contactcenterinsights::v1::GetAnalysisRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetAnalysisRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Analysis >

virtual ListAnalyses(google::cloud::contactcenterinsights::v1::ListAnalysesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListAnalysesRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::Analysis >

virtual DeleteAnalysis(google::cloud::contactcenterinsights::v1::DeleteAnalysisRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteAnalysisRequest const &
Returns
Type Description
Status

virtual BulkAnalyzeConversations(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkAnalyzeConversationsResponse > >

virtual BulkDeleteConversations(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDeleteConversationsResponse > >

virtual IngestConversations(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IngestConversationsResponse > >

virtual ExportInsightsData(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportInsightsDataResponse > >

virtual CreateIssueModel(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::IssueModel > >

virtual UpdateIssueModel(google::cloud::contactcenterinsights::v1::UpdateIssueModelRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateIssueModelRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::IssueModel >

virtual GetIssueModel(google::cloud::contactcenterinsights::v1::GetIssueModelRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetIssueModelRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::IssueModel >

virtual ListIssueModels(google::cloud::contactcenterinsights::v1::ListIssueModelsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListIssueModelsRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::ListIssueModelsResponse >

virtual DeleteIssueModel(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeleteIssueModelMetadata > >

virtual DeployIssueModel(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::DeployIssueModelResponse > >

virtual UndeployIssueModel(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::UndeployIssueModelResponse > >

virtual ExportIssueModel(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ExportIssueModelResponse > >

virtual ImportIssueModel(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::ImportIssueModelResponse > >

virtual GetIssue(google::cloud::contactcenterinsights::v1::GetIssueRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetIssueRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Issue >

virtual ListIssues(google::cloud::contactcenterinsights::v1::ListIssuesRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListIssuesRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::ListIssuesResponse >

virtual UpdateIssue(google::cloud::contactcenterinsights::v1::UpdateIssueRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateIssueRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Issue >

virtual DeleteIssue(google::cloud::contactcenterinsights::v1::DeleteIssueRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteIssueRequest const &
Returns
Type Description
Status

virtual CalculateIssueModelStats(google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::CalculateIssueModelStatsResponse >

virtual CreatePhraseMatcher(google::cloud::contactcenterinsights::v1::CreatePhraseMatcherRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreatePhraseMatcherRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

virtual GetPhraseMatcher(google::cloud::contactcenterinsights::v1::GetPhraseMatcherRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetPhraseMatcherRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

virtual ListPhraseMatchers(google::cloud::contactcenterinsights::v1::ListPhraseMatchersRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListPhraseMatchersRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::PhraseMatcher >

virtual DeletePhraseMatcher(google::cloud::contactcenterinsights::v1::DeletePhraseMatcherRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeletePhraseMatcherRequest const &
Returns
Type Description
Status

virtual UpdatePhraseMatcher(google::cloud::contactcenterinsights::v1::UpdatePhraseMatcherRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdatePhraseMatcherRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::PhraseMatcher >

virtual CalculateStats(google::cloud::contactcenterinsights::v1::CalculateStatsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CalculateStatsRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::CalculateStatsResponse >

virtual GetSettings(google::cloud::contactcenterinsights::v1::GetSettingsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetSettingsRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Settings >

virtual UpdateSettings(google::cloud::contactcenterinsights::v1::UpdateSettingsRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateSettingsRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::Settings >

virtual CreateAnalysisRule(google::cloud::contactcenterinsights::v1::CreateAnalysisRuleRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateAnalysisRuleRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

virtual GetAnalysisRule(google::cloud::contactcenterinsights::v1::GetAnalysisRuleRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetAnalysisRuleRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

virtual ListAnalysisRules(google::cloud::contactcenterinsights::v1::ListAnalysisRulesRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListAnalysisRulesRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::AnalysisRule >

virtual UpdateAnalysisRule(google::cloud::contactcenterinsights::v1::UpdateAnalysisRuleRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateAnalysisRuleRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::AnalysisRule >

virtual DeleteAnalysisRule(google::cloud::contactcenterinsights::v1::DeleteAnalysisRuleRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteAnalysisRuleRequest const &
Returns
Type Description
Status

virtual GetEncryptionSpec(google::cloud::contactcenterinsights::v1::GetEncryptionSpecRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetEncryptionSpecRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::EncryptionSpec >

virtual InitializeEncryptionSpec(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::InitializeEncryptionSpecResponse > >

virtual CreateView(google::cloud::contactcenterinsights::v1::CreateViewRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateViewRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

virtual GetView(google::cloud::contactcenterinsights::v1::GetViewRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetViewRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

virtual ListViews(google::cloud::contactcenterinsights::v1::ListViewsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListViewsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::View >

virtual UpdateView(google::cloud::contactcenterinsights::v1::UpdateViewRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateViewRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::View >

virtual DeleteView(google::cloud::contactcenterinsights::v1::DeleteViewRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteViewRequest const &
Returns
Type Description
Status

virtual QueryMetrics(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::QueryMetricsResponse > >

virtual CreateQaQuestion(google::cloud::contactcenterinsights::v1::CreateQaQuestionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateQaQuestionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

virtual GetQaQuestion(google::cloud::contactcenterinsights::v1::GetQaQuestionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetQaQuestionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

virtual UpdateQaQuestion(google::cloud::contactcenterinsights::v1::UpdateQaQuestionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateQaQuestionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaQuestion >

virtual DeleteQaQuestion(google::cloud::contactcenterinsights::v1::DeleteQaQuestionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteQaQuestionRequest const &
Returns
Type Description
Status

virtual ListQaQuestions(google::cloud::contactcenterinsights::v1::ListQaQuestionsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListQaQuestionsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaQuestion >

virtual CreateQaScorecard(google::cloud::contactcenterinsights::v1::CreateQaScorecardRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateQaScorecardRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

virtual GetQaScorecard(google::cloud::contactcenterinsights::v1::GetQaScorecardRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetQaScorecardRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

virtual UpdateQaScorecard(google::cloud::contactcenterinsights::v1::UpdateQaScorecardRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateQaScorecardRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecard >

virtual DeleteQaScorecard(google::cloud::contactcenterinsights::v1::DeleteQaScorecardRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteQaScorecardRequest const &
Returns
Type Description
Status

virtual ListQaScorecards(google::cloud::contactcenterinsights::v1::ListQaScorecardsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListQaScorecardsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaScorecard >

virtual CreateQaScorecardRevision(google::cloud::contactcenterinsights::v1::CreateQaScorecardRevisionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateQaScorecardRevisionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

virtual GetQaScorecardRevision(google::cloud::contactcenterinsights::v1::GetQaScorecardRevisionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetQaScorecardRevisionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

virtual TuneQaScorecardRevision(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::TuneQaScorecardRevisionResponse > >

virtual DeployQaScorecardRevision(google::cloud::contactcenterinsights::v1::DeployQaScorecardRevisionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeployQaScorecardRevisionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

virtual UndeployQaScorecardRevision(google::cloud::contactcenterinsights::v1::UndeployQaScorecardRevisionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UndeployQaScorecardRevisionRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

virtual DeleteQaScorecardRevision(google::cloud::contactcenterinsights::v1::DeleteQaScorecardRevisionRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteQaScorecardRevisionRequest const &
Returns
Type Description
Status

virtual ListQaScorecardRevisions(google::cloud::contactcenterinsights::v1::ListQaScorecardRevisionsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListQaScorecardRevisionsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::QaScorecardRevision >

virtual CreateFeedbackLabel(google::cloud::contactcenterinsights::v1::CreateFeedbackLabelRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::CreateFeedbackLabelRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

virtual ListFeedbackLabels(google::cloud::contactcenterinsights::v1::ListFeedbackLabelsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListFeedbackLabelsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::FeedbackLabel >

virtual GetFeedbackLabel(google::cloud::contactcenterinsights::v1::GetFeedbackLabelRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::GetFeedbackLabelRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

virtual UpdateFeedbackLabel(google::cloud::contactcenterinsights::v1::UpdateFeedbackLabelRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::UpdateFeedbackLabelRequest const &
Returns
Type Description
StatusOr< google::cloud::contactcenterinsights::v1::FeedbackLabel >

virtual DeleteFeedbackLabel(google::cloud::contactcenterinsights::v1::DeleteFeedbackLabelRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::DeleteFeedbackLabelRequest const &
Returns
Type Description
Status

virtual ListAllFeedbackLabels(google::cloud::contactcenterinsights::v1::ListAllFeedbackLabelsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::cloud::contactcenterinsights::v1::ListAllFeedbackLabelsRequest
Returns
Type Description
StreamRange< google::cloud::contactcenterinsights::v1::FeedbackLabel >

virtual BulkUploadFeedbackLabels(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkUploadFeedbackLabelsResponse > >

virtual BulkDownloadFeedbackLabels(google::longrunning::Operation const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::contactcenterinsights::v1::BulkDownloadFeedbackLabelsResponse > >

virtual ListOperations(google::longrunning::ListOperationsRequest)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

This function is implemented using gMock's MOCK_METHOD(). Consult the gMock documentation to use this mock in your tests.

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status