19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_EXPERIMENTS_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_EXPERIMENTS_CLIENT_H
22#include "google/cloud/dialogflow_cx/experiments_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
83 return a.connection_ == b.connection_;
130 std::string
const& parent,
Options opts
= {});
171 google::
cloud::dialogflow::cx::v3::ListExperimentsRequest request,
234 google::
cloud::dialogflow::cx::v3::GetExperimentRequest
const& request,
266 std::string
const& parent,
267 google::
cloud::dialogflow::cx::v3::Experiment
const& experiment,
300 google::
cloud::dialogflow::cx::v3::CreateExperimentRequest
const& request,
329 google::
cloud::dialogflow::cx::v3::Experiment
const& experiment,
362 google::
cloud::dialogflow::cx::v3::UpdateExperimentRequest
const& request,
420 google::
cloud::dialogflow::cx::v3::DeleteExperimentRequest
const& request,
484 google::
cloud::dialogflow::cx::v3::StartExperimentRequest
const& request,
546 google::
cloud::dialogflow::cx::v3::StopExperimentRequest
const& request,
554GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Service for managing Experiments.
Definition: experiments_client.h:65
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > CreateExperiment(std::string const &parent, google::cloud::dialogflow::cx::v3::Experiment const &experiment, Options opts={})
Creates an Experiment in the specified [Environment][google.cloud.dialogflow.cx.v3....
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > StartExperiment(std::string const &name, Options opts={})
Starts the specified Experiment.
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > StopExperiment(google::cloud::dialogflow::cx::v3::StopExperimentRequest const &request, Options opts={})
Stops the specified Experiment.
Status DeleteExperiment(google::cloud::dialogflow::cx::v3::DeleteExperimentRequest const &request, Options opts={})
Deletes the specified Experiment.
StreamRange< google::cloud::dialogflow::cx::v3::Experiment > ListExperiments(google::cloud::dialogflow::cx::v3::ListExperimentsRequest request, Options opts={})
Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow....
StreamRange< google::cloud::dialogflow::cx::v3::Experiment > ListExperiments(std::string const &parent, Options opts={})
Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow....
friend bool operator!=(ExperimentsClient const &a, ExperimentsClient const &b)
Definition: experiments_client.h:85
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > CreateExperiment(google::cloud::dialogflow::cx::v3::CreateExperimentRequest const &request, Options opts={})
Creates an Experiment in the specified [Environment][google.cloud.dialogflow.cx.v3....
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > StopExperiment(std::string const &name, Options opts={})
Stops the specified Experiment.
ExperimentsClient(ExperimentsClient &&)=default
ExperimentsClient & operator=(ExperimentsClient const &)=default
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > StartExperiment(google::cloud::dialogflow::cx::v3::StartExperimentRequest const &request, Options opts={})
Starts the specified Experiment.
ExperimentsClient(ExperimentsClient const &)=default
ExperimentsClient(std::shared_ptr< ExperimentsConnection > connection, Options opts={})
Status DeleteExperiment(std::string const &name, Options opts={})
Deletes the specified Experiment.
ExperimentsClient & operator=(ExperimentsClient &&)=default
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > UpdateExperiment(google::cloud::dialogflow::cx::v3::Experiment const &experiment, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified Experiment.
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > GetExperiment(google::cloud::dialogflow::cx::v3::GetExperimentRequest const &request, Options opts={})
Retrieves the specified Experiment.
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > GetExperiment(std::string const &name, Options opts={})
Retrieves the specified Experiment.
friend bool operator==(ExperimentsClient const &a, ExperimentsClient const &b)
Definition: experiments_client.h:81
StatusOr< google::cloud::dialogflow::cx::v3::Experiment > UpdateExperiment(google::cloud::dialogflow::cx::v3::UpdateExperimentRequest const &request, Options opts={})
Updates the specified Experiment.
The ExperimentsConnection object for ExperimentsClient.
Definition: experiments_connection.h:61
Definition: agents_client.h:33