19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_MOCKS_MOCK_AGENTS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_MOCKS_MOCK_AGENTS_CONNECTION_H
22#include "google/cloud/dialogflow_cx/agents_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::cx::v3::Agent>, ListAgents,
50 (
google::
cloud::dialogflow::cx::v3::ListAgentsRequest request),
54 StatusOr<
google::
cloud::dialogflow::cx::v3::Agent>, GetAgent,
55 (
google::
cloud::dialogflow::cx::v3::GetAgentRequest
const& request),
59 StatusOr<
google::
cloud::dialogflow::cx::v3::Agent>, CreateAgent,
60 (
google::
cloud::dialogflow::cx::v3::CreateAgentRequest
const& request),
64 StatusOr<
google::
cloud::dialogflow::cx::v3::Agent>, UpdateAgent,
65 (
google::
cloud::dialogflow::cx::v3::UpdateAgentRequest
const& request),
70 (
google::
cloud::dialogflow::cx::v3::DeleteAgentRequest
const& request),
76 (
google::
cloud::dialogflow::cx::v3::ExportAgentRequest
const& request),
80 future<StatusOr<
google::protobuf::Struct>>, RestoreAgent,
81 (
google::
cloud::dialogflow::cx::v3::RestoreAgentRequest
const& request),
85 StatusOr<
google::
cloud::dialogflow::cx::v3::AgentValidationResult>,
87 (
google::
cloud::dialogflow::cx::v3::ValidateAgentRequest
const& request),
91 StatusOr<
google::
cloud::dialogflow::cx::v3::AgentValidationResult>,
92 GetAgentValidationResult,
93 (
google::
cloud::dialogflow::cx::v3::GetAgentValidationResultRequest
const&
98GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The AgentsConnection object for AgentsClient.
Definition: agents_connection.h:65
A class to mock AgentsConnection.
Definition: mock_agents_connection.h:45
friend friend class future
Definition: mock_agents_connection.h:27
Definition: agents_client.h:33