19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_INTENTS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_INTENTS_CONNECTION_H
22#include "google/cloud/dialogflow_cx/intents_connection_idempotency_policy.h"
23#include "google/cloud/dialogflow_cx/internal/intents_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/intent.pb.h>
36GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
38using IntentsRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
39 dialogflow_cx_internal::IntentsRetryTraits>;
41using IntentsLimitedTimeRetryPolicy =
43 dialogflow_cx_internal::IntentsRetryTraits>;
45using IntentsLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 dialogflow_cx_internal::IntentsRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
68 google::
cloud::dialogflow::cx::v3::ListIntentsRequest request);
71 google::
cloud::dialogflow::cx::v3::GetIntentRequest
const& request);
74 google::
cloud::dialogflow::cx::v3::CreateIntentRequest
const& request);
77 google::
cloud::dialogflow::cx::v3::UpdateIntentRequest
const& request);
80 google::
cloud::dialogflow::cx::v3::DeleteIntentRequest
const& request);
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
106 std::string
const& location,
Options options
= {});
109
110
111
112
113
114
117GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The IntentsConnection object for IntentsClient.
Definition: intents_connection.h:61
virtual ~IntentsConnection()=0
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > GetIntent(google::cloud::dialogflow::cx::v3::GetIntentRequest const &request)
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > CreateIntent(google::cloud::dialogflow::cx::v3::CreateIntentRequest const &request)
virtual Status DeleteIntent(google::cloud::dialogflow::cx::v3::DeleteIntentRequest const &request)
virtual StreamRange< google::cloud::dialogflow::cx::v3::Intent > ListIntents(google::cloud::dialogflow::cx::v3::ListIntentsRequest request)
virtual StatusOr< google::cloud::dialogflow::cx::v3::Intent > UpdateIntent(google::cloud::dialogflow::cx::v3::UpdateIntentRequest const &request)
virtual Options options()
Definition: intents_connection.h:65
Definition: agents_client.h:33
std::shared_ptr< IntentsConnection > MakeIntentsConnection(Options options={})
A backwards-compatible version of the previous factory function.
std::shared_ptr< IntentsConnection > MakeIntentsConnection(std::string const &location, Options options={})
A factory function to construct an object of type IntentsConnection.