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
This function is implemented using gMock's MOCK_METHOD()
.
Consult the gMock documentation to use this mock in your tests.
Returns |
Type |
Description |
Options |
|
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 > |
|
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 > > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > > |
|
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 > |
|
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 > |
|
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 |
|
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 > > |
|
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 > > |
|
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 > > |
|
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 > > |
|
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 > > |
|
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 > |
|
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 > |
|
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 > |
|
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 > > |
|
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 > > |
|
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 > > |
|
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 > > |
|
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 > > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > > |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > |
|
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 > |
|
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 > > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 > |
|
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 |
|
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 > |
|
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 > > |
|
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 > > |
|
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 > |
|
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 > |
|
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 |
|