19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_ES_MOCKS_MOCK_DOCUMENTS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_ES_MOCKS_MOCK_DOCUMENTS_CONNECTION_H
22#include "google/cloud/dialogflow_es/documents_connection.h"
23#include <gmock/gmock.h>
28GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
31
32
33
34
35
36
37
38
39
40
41
42
43
44
49 MOCK_METHOD(StreamRange<
google::
cloud::dialogflow::v2::Document>,
51 (
google::
cloud::dialogflow::v2::ListDocumentsRequest request),
55 StatusOr<
google::
cloud::dialogflow::v2::Document>, GetDocument,
56 (
google::
cloud::dialogflow::v2::GetDocumentRequest
const& request),
61 (
google::
cloud::dialogflow::v2::CreateDocumentRequest
const& request),
67 (
google::
cloud::dialogflow::v2::ImportDocumentsRequest
const& request),
72 StatusOr<
google::
cloud::dialogflow::v2::KnowledgeOperationMetadata>>,
74 (
google::
cloud::dialogflow::v2::DeleteDocumentRequest
const& request),
79 (
google::
cloud::dialogflow::v2::UpdateDocumentRequest
const& request),
84 (
google::
cloud::dialogflow::v2::ReloadDocumentRequest
const& request),
89 (
google::
cloud::dialogflow::v2::ExportDocumentRequest
const& request),
93GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The DocumentsConnection object for DocumentsClient.
Definition: documents_connection.h:64
A class to mock DocumentsConnection.
Definition: mock_documents_connection.h:45
friend friend class future
Definition: mock_agents_connection.h:27
Definition: agents_client.h:33