19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_MOCKS_MOCK_FLOWS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_MOCKS_MOCK_FLOWS_CONNECTION_H
22#include "google/cloud/dialogflow_cx/flows_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
50 StatusOr<
google::
cloud::dialogflow::cx::v3::Flow>, CreateFlow,
51 (
google::
cloud::dialogflow::cx::v3::CreateFlowRequest
const& request),
56 (
google::
cloud::dialogflow::cx::v3::DeleteFlowRequest
const& request),
59 MOCK_METHOD(StreamRange<
google::
cloud::dialogflow::cx::v3::Flow>, ListFlows,
60 (
google::
cloud::dialogflow::cx::v3::ListFlowsRequest request),
64 StatusOr<
google::
cloud::dialogflow::cx::v3::Flow>, GetFlow,
65 (
google::
cloud::dialogflow::cx::v3::GetFlowRequest
const& request),
69 StatusOr<
google::
cloud::dialogflow::cx::v3::Flow>, UpdateFlow,
70 (
google::
cloud::dialogflow::cx::v3::UpdateFlowRequest
const& request),
75 (
google::
cloud::dialogflow::cx::v3::TrainFlowRequest
const& request),
79 StatusOr<
google::
cloud::dialogflow::cx::v3::FlowValidationResult>,
81 (
google::
cloud::dialogflow::cx::v3::ValidateFlowRequest
const& request),
85 StatusOr<
google::
cloud::dialogflow::cx::v3::FlowValidationResult>,
86 GetFlowValidationResult,
87 (
google::
cloud::dialogflow::cx::v3::GetFlowValidationResultRequest
const&
94 (
google::
cloud::dialogflow::cx::v3::ImportFlowRequest
const& request),
100 (
google::
cloud::dialogflow::cx::v3::ExportFlowRequest
const& request),
104GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The FlowsConnection object for FlowsClient.
Definition: flows_connection.h:65
A class to mock FlowsConnection.
Definition: mock_flows_connection.h:45
friend friend class future
Definition: mock_agents_connection.h:27
Definition: agents_client.h:33