The ExperimentsConnection
object for ExperimentsClient
.
More...
#include <google/cloud/dialogflow_cx/experiments_connection.h>
|
virtual | ~ExperimentsConnection ()=0 |
|
virtual Options | options () |
|
virtual StreamRange< google::cloud::dialogflow::cx::v3::Experiment > | ListExperiments (google::cloud::dialogflow::cx::v3::ListExperimentsRequest request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | GetExperiment (google::cloud::dialogflow::cx::v3::GetExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | CreateExperiment (google::cloud::dialogflow::cx::v3::CreateExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | UpdateExperiment (google::cloud::dialogflow::cx::v3::UpdateExperimentRequest const &request) |
|
virtual Status | DeleteExperiment (google::cloud::dialogflow::cx::v3::DeleteExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | StartExperiment (google::cloud::dialogflow::cx::v3::StartExperimentRequest const &request) |
|
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > | StopExperiment (google::cloud::dialogflow::cx::v3::StopExperimentRequest const &request) |
|
The ExperimentsConnection
object for ExperimentsClient
.
This interface defines virtual methods for each of the user-facing overload sets in ExperimentsClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type ExperimentsClient
.
To create a concrete instance, see MakeExperimentsConnection()
.
For mocking, see dialogflow_cx_mocks::MockExperimentsConnection
.
◆ ~ExperimentsConnection()
virtual google::cloud::dialogflow_cx::ExperimentsConnection::~ExperimentsConnection |
( |
| ) |
|
|
pure virtual |
◆ CreateExperiment()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > google::cloud::dialogflow_cx::ExperimentsConnection::CreateExperiment |
( |
google::cloud::dialogflow::cx::v3::CreateExperimentRequest const & |
request | ) |
|
|
virtual |
◆ DeleteExperiment()
virtual Status google::cloud::dialogflow_cx::ExperimentsConnection::DeleteExperiment |
( |
google::cloud::dialogflow::cx::v3::DeleteExperimentRequest const & |
request | ) |
|
|
virtual |
◆ GetExperiment()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > google::cloud::dialogflow_cx::ExperimentsConnection::GetExperiment |
( |
google::cloud::dialogflow::cx::v3::GetExperimentRequest const & |
request | ) |
|
|
virtual |
◆ ListExperiments()
virtual StreamRange< google::cloud::dialogflow::cx::v3::Experiment > google::cloud::dialogflow_cx::ExperimentsConnection::ListExperiments |
( |
google::cloud::dialogflow::cx::v3::ListExperimentsRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::dialogflow_cx::ExperimentsConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ StartExperiment()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > google::cloud::dialogflow_cx::ExperimentsConnection::StartExperiment |
( |
google::cloud::dialogflow::cx::v3::StartExperimentRequest const & |
request | ) |
|
|
virtual |
◆ StopExperiment()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > google::cloud::dialogflow_cx::ExperimentsConnection::StopExperiment |
( |
google::cloud::dialogflow::cx::v3::StopExperimentRequest const & |
request | ) |
|
|
virtual |
◆ UpdateExperiment()
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > google::cloud::dialogflow_cx::ExperimentsConnection::UpdateExperiment |
( |
google::cloud::dialogflow::cx::v3::UpdateExperimentRequest const & |
request | ) |
|
|
virtual |