Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
pages_client.h
1// Copyright 2022 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Generated by the Codegen C++ plugin.
16// If you make any local changes, they will be lost.
17// source: google/cloud/dialogflow/cx/v3/page.proto
18
19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CLIENT_H
21
22#include "google/cloud/dialogflow_cx/pages_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"
28#include <memory>
29
30namespace google {
31namespace cloud {
32namespace dialogflow_cx {
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
34
35///
36/// Service for managing [Pages][google.cloud.dialogflow.cx.v3.Page].
37///
38/// @par Equality
39///
40/// Instances of this class created via copy-construction or copy-assignment
41/// always compare equal. Instances created with equal
42/// `std::shared_ptr<*Connection>` objects compare equal. Objects that compare
43/// equal share the same underlying resources.
44///
45/// @par Performance
46///
47/// Creating a new instance of this class is a relatively expensive operation,
48/// new objects establish new connections to the service. In contrast,
49/// copy-construction, move-construction, and the corresponding assignment
50/// operations are relatively efficient as the copies share all underlying
51/// resources.
52///
53/// @par Thread Safety
54///
55/// Concurrent access to different instances of this class, even if they compare
56/// equal, is guaranteed to work. Two or more threads operating on the same
57/// instance of this class is not guaranteed to work. Since copy-construction
58/// and move-construction is a relatively efficient operation, consider using
59/// such a copy when using this class from multiple threads.
60///
61/// [google.cloud.dialogflow.cx.v3.Page]:
62/// @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
63///
64class PagesClient {
65 public:
66 explicit PagesClient(std::shared_ptr<PagesConnection> connection,
67 Options opts = {});
68 ~PagesClient();
69
70 ///@{
71 /// @name Copy and move support
72 PagesClient(PagesClient const&) = default;
73 PagesClient& operator=(PagesClient const&) = default;
74 PagesClient(PagesClient&&) = default;
75 PagesClient& operator=(PagesClient&&) = default;
76 ///@}
77
78 ///@{
79 /// @name Equality
80 friend bool operator==(PagesClient const& a, PagesClient const& b) {
81 return a.connection_ == b.connection_;
82 }
83 friend bool operator!=(PagesClient const& a, PagesClient const& b) {
84 return !(a == b);
85 }
86 ///@}
87
88 // clang-format off
89 ///
90 /// Returns the list of all pages in the specified flow.
91 ///
92 /// @param parent Required. The flow to list all pages for.
93 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
94 /// ID>/flows/<Flow ID>`.
95 /// @param opts Optional. Override the class-level options, such as retry and
96 /// backoff policies.
97 /// @return a [StreamRange](@ref google::cloud::StreamRange)
98 /// to iterate of the results. See the documentation of this type for
99 /// details. In brief, this class has `begin()` and `end()` member
100 /// functions returning a iterator class meeting the
101 /// [input iterator requirements]. The value type for this iterator is a
102 /// [`StatusOr`] as the iteration may fail even after some values are
103 /// retrieved successfully, for example, if there is a network disconnect.
104 /// An empty set of results does not indicate an error, it indicates
105 /// that there are no resources meeting the request criteria.
106 /// On a successful iteration the `StatusOr<T>` contains elements of type
107 /// [google.cloud.dialogflow.cx.v3.Page], or rather,
108 /// the C++ class generated by Protobuf from that type. Please consult the
109 /// Protobuf documentation for details on the [Protobuf mapping rules].
110 ///
111 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
112 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
113 /// [Long Running Operation]: https://google.aip.dev/151
114 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
115 /// [`future`]: @ref google::cloud::future
116 /// [`StatusOr`]: @ref google::cloud::StatusOr
117 /// [`Status`]: @ref google::cloud::Status
118 /// [google.cloud.dialogflow.cx.v3.ListPagesRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L405}
119 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
120 ///
121 // clang-format on
122 StreamRange<google::cloud::dialogflow::cx::v3::Page> ListPages(
123 std::string const& parent, Options opts = {});
124
125 // clang-format off
126 ///
127 /// Returns the list of all pages in the specified flow.
128 ///
129 /// @param request Unary RPCs, such as the one wrapped by this
130 /// function, receive a single `request` proto message which includes all
131 /// the inputs for the RPC. In this case, the proto message is a
132 /// [google.cloud.dialogflow.cx.v3.ListPagesRequest].
133 /// Proto messages are converted to C++ classes by Protobuf, using the
134 /// [Protobuf mapping rules].
135 /// @param opts Optional. Override the class-level options, such as retry and
136 /// backoff policies.
137 /// @return a [StreamRange](@ref google::cloud::StreamRange)
138 /// to iterate of the results. See the documentation of this type for
139 /// details. In brief, this class has `begin()` and `end()` member
140 /// functions returning a iterator class meeting the
141 /// [input iterator requirements]. The value type for this iterator is a
142 /// [`StatusOr`] as the iteration may fail even after some values are
143 /// retrieved successfully, for example, if there is a network disconnect.
144 /// An empty set of results does not indicate an error, it indicates
145 /// that there are no resources meeting the request criteria.
146 /// On a successful iteration the `StatusOr<T>` contains elements of type
147 /// [google.cloud.dialogflow.cx.v3.Page], or rather,
148 /// the C++ class generated by Protobuf from that type. Please consult the
149 /// Protobuf documentation for details on the [Protobuf mapping rules].
150 ///
151 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
152 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
153 /// [Long Running Operation]: https://google.aip.dev/151
154 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
155 /// [`future`]: @ref google::cloud::future
156 /// [`StatusOr`]: @ref google::cloud::StatusOr
157 /// [`Status`]: @ref google::cloud::Status
158 /// [google.cloud.dialogflow.cx.v3.ListPagesRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L405}
159 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
160 ///
161 // clang-format on
162 StreamRange<google::cloud::dialogflow::cx::v3::Page> ListPages(
163 google::cloud::dialogflow::cx::v3::ListPagesRequest request,
164 Options opts = {});
165
166 // clang-format off
167 ///
168 /// Retrieves the specified page.
169 ///
170 /// @param name Required. The name of the page.
171 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
172 /// ID>/flows/<Flow ID>/pages/<Page ID>`.
173 /// @param opts Optional. Override the class-level options, such as retry and
174 /// backoff policies.
175 /// @return the result of the RPC. The response message type
176 /// ([google.cloud.dialogflow.cx.v3.Page])
177 /// is mapped to a C++ class using the [Protobuf mapping rules].
178 /// If the request fails, the [`StatusOr`] contains the error details.
179 ///
180 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
181 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
182 /// [Long Running Operation]: https://google.aip.dev/151
183 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
184 /// [`future`]: @ref google::cloud::future
185 /// [`StatusOr`]: @ref google::cloud::StatusOr
186 /// [`Status`]: @ref google::cloud::Status
187 /// [google.cloud.dialogflow.cx.v3.GetPageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L461}
188 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
189 ///
190 // clang-format on
191 StatusOr<google::cloud::dialogflow::cx::v3::Page> GetPage(
192 std::string const& name, Options opts = {});
193
194 // clang-format off
195 ///
196 /// Retrieves the specified page.
197 ///
198 /// @param request Unary RPCs, such as the one wrapped by this
199 /// function, receive a single `request` proto message which includes all
200 /// the inputs for the RPC. In this case, the proto message is a
201 /// [google.cloud.dialogflow.cx.v3.GetPageRequest].
202 /// Proto messages are converted to C++ classes by Protobuf, using the
203 /// [Protobuf mapping rules].
204 /// @param opts Optional. Override the class-level options, such as retry and
205 /// backoff policies.
206 /// @return the result of the RPC. The response message type
207 /// ([google.cloud.dialogflow.cx.v3.Page])
208 /// is mapped to a C++ class using the [Protobuf mapping rules].
209 /// If the request fails, the [`StatusOr`] contains the error details.
210 ///
211 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
212 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
213 /// [Long Running Operation]: https://google.aip.dev/151
214 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
215 /// [`future`]: @ref google::cloud::future
216 /// [`StatusOr`]: @ref google::cloud::StatusOr
217 /// [`Status`]: @ref google::cloud::Status
218 /// [google.cloud.dialogflow.cx.v3.GetPageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L461}
219 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
220 ///
221 // clang-format on
222 StatusOr<google::cloud::dialogflow::cx::v3::Page> GetPage(
223 google::cloud::dialogflow::cx::v3::GetPageRequest const& request,
224 Options opts = {});
225
226 // clang-format off
227 ///
228 /// Creates a page in the specified flow.
229 ///
230 /// Note: You should always train a flow prior to sending it queries. See the
231 /// [training
232 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
233 ///
234 /// @param parent Required. The flow to create a page for.
235 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
236 /// ID>/flows/<Flow ID>`.
237 /// @param page Required. The page to create.
238 /// @param opts Optional. Override the class-level options, such as retry and
239 /// backoff policies.
240 /// @return the result of the RPC. The response message type
241 /// ([google.cloud.dialogflow.cx.v3.Page])
242 /// is mapped to a C++ class using the [Protobuf mapping rules].
243 /// If the request fails, the [`StatusOr`] contains the error details.
244 ///
245 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
246 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
247 /// [Long Running Operation]: https://google.aip.dev/151
248 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
249 /// [`future`]: @ref google::cloud::future
250 /// [`StatusOr`]: @ref google::cloud::StatusOr
251 /// [`Status`]: @ref google::cloud::Status
252 /// [google.cloud.dialogflow.cx.v3.CreatePageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L496}
253 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
254 ///
255 // clang-format on
256 StatusOr<google::cloud::dialogflow::cx::v3::Page> CreatePage(
257 std::string const& parent,
258 google::cloud::dialogflow::cx::v3::Page const& page, Options opts = {});
259
260 // clang-format off
261 ///
262 /// Creates a page in the specified flow.
263 ///
264 /// Note: You should always train a flow prior to sending it queries. See the
265 /// [training
266 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
267 ///
268 /// @param request Unary RPCs, such as the one wrapped by this
269 /// function, receive a single `request` proto message which includes all
270 /// the inputs for the RPC. In this case, the proto message is a
271 /// [google.cloud.dialogflow.cx.v3.CreatePageRequest].
272 /// Proto messages are converted to C++ classes by Protobuf, using the
273 /// [Protobuf mapping rules].
274 /// @param opts Optional. Override the class-level options, such as retry and
275 /// backoff policies.
276 /// @return the result of the RPC. The response message type
277 /// ([google.cloud.dialogflow.cx.v3.Page])
278 /// is mapped to a C++ class using the [Protobuf mapping rules].
279 /// If the request fails, the [`StatusOr`] contains the error details.
280 ///
281 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
282 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
283 /// [Long Running Operation]: https://google.aip.dev/151
284 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
285 /// [`future`]: @ref google::cloud::future
286 /// [`StatusOr`]: @ref google::cloud::StatusOr
287 /// [`Status`]: @ref google::cloud::Status
288 /// [google.cloud.dialogflow.cx.v3.CreatePageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L496}
289 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
290 ///
291 // clang-format on
292 StatusOr<google::cloud::dialogflow::cx::v3::Page> CreatePage(
293 google::cloud::dialogflow::cx::v3::CreatePageRequest const& request,
294 Options opts = {});
295
296 // clang-format off
297 ///
298 /// Updates the specified page.
299 ///
300 /// Note: You should always train a flow prior to sending it queries. See the
301 /// [training
302 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
303 ///
304 /// @param page Required. The page to update.
305 /// @param update_mask The mask to control which fields get updated. If the mask is not present,
306 /// all fields will be updated.
307 /// @param opts Optional. Override the class-level options, such as retry and
308 /// backoff policies.
309 /// @return the result of the RPC. The response message type
310 /// ([google.cloud.dialogflow.cx.v3.Page])
311 /// is mapped to a C++ class using the [Protobuf mapping rules].
312 /// If the request fails, the [`StatusOr`] contains the error details.
313 ///
314 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
315 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
316 /// [Long Running Operation]: https://google.aip.dev/151
317 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
318 /// [`future`]: @ref google::cloud::future
319 /// [`StatusOr`]: @ref google::cloud::StatusOr
320 /// [`Status`]: @ref google::cloud::Status
321 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
322 /// [google.cloud.dialogflow.cx.v3.UpdatePageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L535}
323 ///
324 // clang-format on
325 StatusOr<google::cloud::dialogflow::cx::v3::Page> UpdatePage(
326 google::cloud::dialogflow::cx::v3::Page const& page,
327 google::protobuf::FieldMask const& update_mask, Options opts = {});
328
329 // clang-format off
330 ///
331 /// Updates the specified page.
332 ///
333 /// Note: You should always train a flow prior to sending it queries. See the
334 /// [training
335 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
336 ///
337 /// @param request Unary RPCs, such as the one wrapped by this
338 /// function, receive a single `request` proto message which includes all
339 /// the inputs for the RPC. In this case, the proto message is a
340 /// [google.cloud.dialogflow.cx.v3.UpdatePageRequest].
341 /// Proto messages are converted to C++ classes by Protobuf, using the
342 /// [Protobuf mapping rules].
343 /// @param opts Optional. Override the class-level options, such as retry and
344 /// backoff policies.
345 /// @return the result of the RPC. The response message type
346 /// ([google.cloud.dialogflow.cx.v3.Page])
347 /// is mapped to a C++ class using the [Protobuf mapping rules].
348 /// If the request fails, the [`StatusOr`] contains the error details.
349 ///
350 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
351 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
352 /// [Long Running Operation]: https://google.aip.dev/151
353 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
354 /// [`future`]: @ref google::cloud::future
355 /// [`StatusOr`]: @ref google::cloud::StatusOr
356 /// [`Status`]: @ref google::cloud::Status
357 /// [google.cloud.dialogflow.cx.v3.Page]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L115}
358 /// [google.cloud.dialogflow.cx.v3.UpdatePageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L535}
359 ///
360 // clang-format on
361 StatusOr<google::cloud::dialogflow::cx::v3::Page> UpdatePage(
362 google::cloud::dialogflow::cx::v3::UpdatePageRequest const& request,
363 Options opts = {});
364
365 // clang-format off
366 ///
367 /// Deletes the specified page.
368 ///
369 /// Note: You should always train a flow prior to sending it queries. See the
370 /// [training
371 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
372 ///
373 /// @param name Required. The name of the page to delete.
374 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
375 /// ID>/Flows/<flow ID>/pages/<Page ID>`.
376 /// @param opts Optional. Override the class-level options, such as retry and
377 /// backoff policies.
378 /// @return a [`Status`] object. If the request failed, the
379 /// status contains the details of the failure.
380 ///
381 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
382 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
383 /// [Long Running Operation]: https://google.aip.dev/151
384 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
385 /// [`future`]: @ref google::cloud::future
386 /// [`StatusOr`]: @ref google::cloud::StatusOr
387 /// [`Status`]: @ref google::cloud::Status
388 /// [google.cloud.dialogflow.cx.v3.DeletePageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L568}
389 ///
390 // clang-format on
391 Status DeletePage(std::string const& name, Options opts = {});
392
393 // clang-format off
394 ///
395 /// Deletes the specified page.
396 ///
397 /// Note: You should always train a flow prior to sending it queries. See the
398 /// [training
399 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
400 ///
401 /// @param request Unary RPCs, such as the one wrapped by this
402 /// function, receive a single `request` proto message which includes all
403 /// the inputs for the RPC. In this case, the proto message is a
404 /// [google.cloud.dialogflow.cx.v3.DeletePageRequest].
405 /// Proto messages are converted to C++ classes by Protobuf, using the
406 /// [Protobuf mapping rules].
407 /// @param opts Optional. Override the class-level options, such as retry and
408 /// backoff policies.
409 /// @return a [`Status`] object. If the request failed, the
410 /// status contains the details of the failure.
411 ///
412 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
413 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
414 /// [Long Running Operation]: https://google.aip.dev/151
415 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
416 /// [`future`]: @ref google::cloud::future
417 /// [`StatusOr`]: @ref google::cloud::StatusOr
418 /// [`Status`]: @ref google::cloud::Status
419 /// [google.cloud.dialogflow.cx.v3.DeletePageRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/page.proto#L568}
420 ///
421 // clang-format on
423 google::cloud::dialogflow::cx::v3::DeletePageRequest const& request,
424 Options opts = {});
425
426 private:
427 std::shared_ptr<PagesConnection> connection_;
428 Options options_;
429};
430
431GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
432} // namespace dialogflow_cx
433} // namespace cloud
434} // namespace google
435
436#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_PAGES_CLIENT_H
Service for managing Pages.
Definition: pages_client.h:64
StatusOr< google::cloud::dialogflow::cx::v3::Page > CreatePage(google::cloud::dialogflow::cx::v3::CreatePageRequest const &request, Options opts={})
Creates a page in the specified flow.
PagesClient & operator=(PagesClient const &)=default
StatusOr< google::cloud::dialogflow::cx::v3::Page > GetPage(google::cloud::dialogflow::cx::v3::GetPageRequest const &request, Options opts={})
Retrieves the specified page.
StatusOr< google::cloud::dialogflow::cx::v3::Page > GetPage(std::string const &name, Options opts={})
Retrieves the specified page.
friend bool operator!=(PagesClient const &a, PagesClient const &b)
Definition: pages_client.h:83
friend bool operator==(PagesClient const &a, PagesClient const &b)
Definition: pages_client.h:80
StatusOr< google::cloud::dialogflow::cx::v3::Page > CreatePage(std::string const &parent, google::cloud::dialogflow::cx::v3::Page const &page, Options opts={})
Creates a page in the specified flow.
Status DeletePage(std::string const &name, Options opts={})
Deletes the specified page.
PagesClient & operator=(PagesClient &&)=default
PagesClient(std::shared_ptr< PagesConnection > connection, Options opts={})
StreamRange< google::cloud::dialogflow::cx::v3::Page > ListPages(google::cloud::dialogflow::cx::v3::ListPagesRequest request, Options opts={})
Returns the list of all pages in the specified flow.
PagesClient(PagesClient const &)=default
StreamRange< google::cloud::dialogflow::cx::v3::Page > ListPages(std::string const &parent, Options opts={})
Returns the list of all pages in the specified flow.
Status DeletePage(google::cloud::dialogflow::cx::v3::DeletePageRequest const &request, Options opts={})
Deletes the specified page.
StatusOr< google::cloud::dialogflow::cx::v3::Page > UpdatePage(google::cloud::dialogflow::cx::v3::UpdatePageRequest const &request, Options opts={})
Updates the specified page.
StatusOr< google::cloud::dialogflow::cx::v3::Page > UpdatePage(google::cloud::dialogflow::cx::v3::Page const &page, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified page.
The PagesConnection object for PagesClient.
Definition: pages_connection.h:61
Definition: agents_client.h:33