19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_CHANGELOGS_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_CHANGELOGS_CONNECTION_H
22#include "google/cloud/dialogflow_cx/changelogs_connection_idempotency_policy.h"
23#include "google/cloud/dialogflow_cx/internal/changelogs_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/changelog.pb.h>
36GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
38using ChangelogsRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
39 dialogflow_cx_internal::ChangelogsRetryTraits>;
41using ChangelogsLimitedTimeRetryPolicy =
43 dialogflow_cx_internal::ChangelogsRetryTraits>;
45using ChangelogsLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 dialogflow_cx_internal::ChangelogsRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
67 virtual StreamRange<
google::
cloud::dialogflow::cx::v3::Changelog>
69 google::
cloud::dialogflow::cx::v3::ListChangelogsRequest request);
72 google::
cloud::dialogflow::cx::v3::GetChangelogRequest
const& request);
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
98 std::string
const& location,
Options options
= {});
101
102
103
104
105
106
110GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The ChangelogsConnection object for ChangelogsClient.
Definition: changelogs_connection.h:61
virtual StreamRange< google::cloud::dialogflow::cx::v3::Changelog > ListChangelogs(google::cloud::dialogflow::cx::v3::ListChangelogsRequest request)
virtual StatusOr< google::cloud::dialogflow::cx::v3::Changelog > GetChangelog(google::cloud::dialogflow::cx::v3::GetChangelogRequest const &request)
virtual ~ChangelogsConnection()=0
virtual Options options()
Definition: changelogs_connection.h:65
Definition: agents_client.h:33
std::shared_ptr< ChangelogsConnection > MakeChangelogsConnection(std::string const &location, Options options={})
A factory function to construct an object of type ChangelogsConnection.
std::shared_ptr< ChangelogsConnection > MakeChangelogsConnection(Options options={})
A backwards-compatible version of the previous factory function.