19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_EXPERIMENTS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_EXPERIMENTS_CONNECTION_H
22#include "google/cloud/dialogflow_cx/experiments_connection_idempotency_policy.h"
23#include "google/cloud/dialogflow_cx/internal/experiments_retry_traits.h"
24#include "google/cloud/backoff_policy.h"
25#include "google/cloud/options.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/stream_range.h"
28#include "google/cloud/version.h"
29#include <google/cloud/dialogflow/cx/v3/experiment.pb.h>
36GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
38using ExperimentsRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
39 dialogflow_cx_internal::ExperimentsRetryTraits>;
41using ExperimentsLimitedTimeRetryPolicy =
43 dialogflow_cx_internal::ExperimentsRetryTraits>;
45using ExperimentsLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 dialogflow_cx_internal::ExperimentsRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
67 virtual StreamRange<
google::
cloud::dialogflow::cx::v3::Experiment>
69 google::
cloud::dialogflow::cx::v3::ListExperimentsRequest request);
72 google::
cloud::dialogflow::cx::v3::GetExperimentRequest
const& request);
74 virtual StatusOr<
google::
cloud::dialogflow::cx::v3::Experiment>
76 google::
cloud::dialogflow::cx::v3::CreateExperimentRequest
const&
79 virtual StatusOr<
google::
cloud::dialogflow::cx::v3::Experiment>
81 google::
cloud::dialogflow::cx::v3::UpdateExperimentRequest
const&
85 google::
cloud::dialogflow::cx::v3::DeleteExperimentRequest
const&
88 virtual StatusOr<
google::
cloud::dialogflow::cx::v3::Experiment>
90 google::
cloud::dialogflow::cx::v3::StartExperimentRequest
const& request);
92 virtual StatusOr<
google::
cloud::dialogflow::cx::v3::Experiment>
94 google::
cloud::dialogflow::cx::v3::StopExperimentRequest
const& request);
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
120 std::string
const& location,
Options options
= {});
123
124
125
126
127
128
132GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The ExperimentsConnection object for ExperimentsClient.
Definition: experiments_connection.h:61
virtual StreamRange< google::cloud::dialogflow::cx::v3::Experiment > ListExperiments(google::cloud::dialogflow::cx::v3::ListExperimentsRequest request)
virtual Options options()
Definition: experiments_connection.h:65
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 > StopExperiment(google::cloud::dialogflow::cx::v3::StopExperimentRequest const &request)
virtual StatusOr< google::cloud::dialogflow::cx::v3::Experiment > GetExperiment(google::cloud::dialogflow::cx::v3::GetExperimentRequest const &request)
virtual ~ExperimentsConnection()=0
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)
Definition: agents_client.h:33
std::shared_ptr< ExperimentsConnection > MakeExperimentsConnection(Options options={})
A backwards-compatible version of the previous factory function.
std::shared_ptr< ExperimentsConnection > MakeExperimentsConnection(std::string const &location, Options options={})
A factory function to construct an object of type ExperimentsConnection.