19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CONNECTION_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CONNECTION_H
22#include "google/cloud/dialogflow_cx/internal/pages_retry_traits.h"
23#include "google/cloud/dialogflow_cx/pages_connection_idempotency_policy.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/page.pb.h>
36GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
38using PagesRetryPolicy = ::
google::
cloud::internal::TraitBasedRetryPolicy<
39 dialogflow_cx_internal::PagesRetryTraits>;
41using PagesLimitedTimeRetryPolicy =
43 dialogflow_cx_internal::PagesRetryTraits>;
45using PagesLimitedErrorCountRetryPolicy =
46 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
47 dialogflow_cx_internal::PagesRetryTraits>;
50
51
52
53
54
55
56
57
58
59
60
68 google::
cloud::dialogflow::cx::v3::ListPagesRequest request);
71 google::
cloud::dialogflow::cx::v3::GetPageRequest
const& request);
74 google::
cloud::dialogflow::cx::v3::CreatePageRequest
const& request);
77 google::
cloud::dialogflow::cx::v3::UpdatePageRequest
const& request);
80 google::
cloud::dialogflow::cx::v3::DeletePageRequest
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 PagesConnection object for PagesClient.
Definition: pages_connection.h:61
virtual StreamRange< google::cloud::dialogflow::cx::v3::Page > ListPages(google::cloud::dialogflow::cx::v3::ListPagesRequest request)
virtual Options options()
Definition: pages_connection.h:65
virtual StatusOr< google::cloud::dialogflow::cx::v3::Page > UpdatePage(google::cloud::dialogflow::cx::v3::UpdatePageRequest const &request)
virtual Status DeletePage(google::cloud::dialogflow::cx::v3::DeletePageRequest const &request)
virtual StatusOr< google::cloud::dialogflow::cx::v3::Page > GetPage(google::cloud::dialogflow::cx::v3::GetPageRequest const &request)
virtual StatusOr< google::cloud::dialogflow::cx::v3::Page > CreatePage(google::cloud::dialogflow::cx::v3::CreatePageRequest const &request)
virtual ~PagesConnection()=0
Definition: agents_client.h:33
std::shared_ptr< PagesConnection > MakePagesConnection(std::string const &location, Options options={})
A factory function to construct an object of type PagesConnection.
std::shared_ptr< PagesConnection > MakePagesConnection(Options options={})
A backwards-compatible version of the previous factory function.