Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
transition_route_groups_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/transition_route_group.proto
18
19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_TRANSITION_ROUTE_GROUPS_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_TRANSITION_ROUTE_GROUPS_CLIENT_H
21
22#include "google/cloud/dialogflow_cx/transition_route_groups_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
37/// [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
38///
39/// @par Equality
40///
41/// Instances of this class created via copy-construction or copy-assignment
42/// always compare equal. Instances created with equal
43/// `std::shared_ptr<*Connection>` objects compare equal. Objects that compare
44/// equal share the same underlying resources.
45///
46/// @par Performance
47///
48/// Creating a new instance of this class is a relatively expensive operation,
49/// new objects establish new connections to the service. In contrast,
50/// copy-construction, move-construction, and the corresponding assignment
51/// operations are relatively efficient as the copies share all underlying
52/// resources.
53///
54/// @par Thread Safety
55///
56/// Concurrent access to different instances of this class, even if they compare
57/// equal, is guaranteed to work. Two or more threads operating on the same
58/// instance of this class is not guaranteed to work. Since copy-construction
59/// and move-construction is a relatively efficient operation, consider using
60/// such a copy when using this class from multiple threads.
61///
62/// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]:
63/// @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
64///
66 public:
68 std::shared_ptr<TransitionRouteGroupsConnection> connection,
69 Options opts = {});
71
72 ///@{
73 /// @name Copy and move support
76 default;
79 default;
80 ///@}
81
82 ///@{
83 /// @name Equality
84 friend bool operator==(TransitionRouteGroupsClient const& a,
86 return a.connection_ == b.connection_;
87 }
88 friend bool operator!=(TransitionRouteGroupsClient const& a,
90 return !(a == b);
91 }
92 ///@}
93
94 // clang-format off
95 ///
96 /// Returns the list of all transition route groups in the specified flow.
97 ///
98 /// @param parent Required. The flow to list all transition route groups for.
99 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
100 /// ID>/flows/<Flow ID>`.
101 /// @param opts Optional. Override the class-level options, such as retry and
102 /// backoff policies.
103 /// @return a [StreamRange](@ref google::cloud::StreamRange)
104 /// to iterate of the results. See the documentation of this type for
105 /// details. In brief, this class has `begin()` and `end()` member
106 /// functions returning a iterator class meeting the
107 /// [input iterator requirements]. The value type for this iterator is a
108 /// [`StatusOr`] as the iteration may fail even after some values are
109 /// retrieved successfully, for example, if there is a network disconnect.
110 /// An empty set of results does not indicate an error, it indicates
111 /// that there are no resources meeting the request criteria.
112 /// On a successful iteration the `StatusOr<T>` contains elements of type
113 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup], or rather,
114 /// the C++ class generated by Protobuf from that type. Please consult the
115 /// Protobuf documentation for details on the [Protobuf mapping rules].
116 ///
117 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
118 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
119 /// [Long Running Operation]: https://google.aip.dev/151
120 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
121 /// [`future`]: @ref google::cloud::future
122 /// [`StatusOr`]: @ref google::cloud::StatusOr
123 /// [`Status`]: @ref google::cloud::Status
124 /// [google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L136}
125 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
126 ///
127 // clang-format on
128 StreamRange<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
129 ListTransitionRouteGroups(std::string const& parent, Options opts = {});
130
131 // clang-format off
132 ///
133 /// Returns the list of all transition route groups in the specified flow.
134 ///
135 /// @param request Unary RPCs, such as the one wrapped by this
136 /// function, receive a single `request` proto message which includes all
137 /// the inputs for the RPC. In this case, the proto message is a
138 /// [google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest].
139 /// Proto messages are converted to C++ classes by Protobuf, using the
140 /// [Protobuf mapping rules].
141 /// @param opts Optional. Override the class-level options, such as retry and
142 /// backoff policies.
143 /// @return a [StreamRange](@ref google::cloud::StreamRange)
144 /// to iterate of the results. See the documentation of this type for
145 /// details. In brief, this class has `begin()` and `end()` member
146 /// functions returning a iterator class meeting the
147 /// [input iterator requirements]. The value type for this iterator is a
148 /// [`StatusOr`] as the iteration may fail even after some values are
149 /// retrieved successfully, for example, if there is a network disconnect.
150 /// An empty set of results does not indicate an error, it indicates
151 /// that there are no resources meeting the request criteria.
152 /// On a successful iteration the `StatusOr<T>` contains elements of type
153 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup], or rather,
154 /// the C++ class generated by Protobuf from that type. Please consult the
155 /// Protobuf documentation for details on the [Protobuf mapping rules].
156 ///
157 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
158 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
159 /// [Long Running Operation]: https://google.aip.dev/151
160 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
161 /// [`future`]: @ref google::cloud::future
162 /// [`StatusOr`]: @ref google::cloud::StatusOr
163 /// [`Status`]: @ref google::cloud::Status
164 /// [google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L136}
165 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
166 ///
167 // clang-format on
168 StreamRange<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
170 google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest
171 request,
172 Options opts = {});
173
174 // clang-format off
175 ///
176 /// Retrieves the specified
177 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
178 ///
179 /// @param name Required. The name of the
180 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
181 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
182 /// ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
183 /// @param opts Optional. Override the class-level options, such as retry and
184 /// backoff policies.
185 /// @return the result of the RPC. The response message type
186 /// ([google.cloud.dialogflow.cx.v3.TransitionRouteGroup])
187 /// is mapped to a C++ class using the [Protobuf mapping rules].
188 /// If the request fails, the [`StatusOr`] contains the error details.
189 ///
190 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
191 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
192 /// [Long Running Operation]: https://google.aip.dev/151
193 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
194 /// [`future`]: @ref google::cloud::future
195 /// [`StatusOr`]: @ref google::cloud::StatusOr
196 /// [`Status`]: @ref google::cloud::Status
197 /// [google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L186}
198 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
199 ///
200 // clang-format on
201 StatusOr<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
202 GetTransitionRouteGroup(std::string const& name, Options opts = {});
203
204 // clang-format off
205 ///
206 /// Retrieves the specified
207 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
208 ///
209 /// @param request Unary RPCs, such as the one wrapped by this
210 /// function, receive a single `request` proto message which includes all
211 /// the inputs for the RPC. In this case, the proto message is a
212 /// [google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest].
213 /// Proto messages are converted to C++ classes by Protobuf, using the
214 /// [Protobuf mapping rules].
215 /// @param opts Optional. Override the class-level options, such as retry and
216 /// backoff policies.
217 /// @return the result of the RPC. The response message type
218 /// ([google.cloud.dialogflow.cx.v3.TransitionRouteGroup])
219 /// is mapped to a C++ class using the [Protobuf mapping rules].
220 /// If the request fails, the [`StatusOr`] contains the error details.
221 ///
222 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
223 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
224 /// [Long Running Operation]: https://google.aip.dev/151
225 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
226 /// [`future`]: @ref google::cloud::future
227 /// [`StatusOr`]: @ref google::cloud::StatusOr
228 /// [`Status`]: @ref google::cloud::Status
229 /// [google.cloud.dialogflow.cx.v3.GetTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L186}
230 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
231 ///
232 // clang-format on
233 StatusOr<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
235 google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const&
236 request,
237 Options opts = {});
238
239 // clang-format off
240 ///
241 /// Creates an
242 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
243 /// in the specified flow.
244 ///
245 /// Note: You should always train a flow prior to sending it queries. See the
246 /// [training
247 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
248 ///
249 /// @param parent Required. The flow to create an
250 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
251 /// for. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
252 /// ID>/flows/<Flow ID>`.
253 /// @param transition_route_group Required. The transition route group to create.
254 /// @param opts Optional. Override the class-level options, such as retry and
255 /// backoff policies.
256 /// @return the result of the RPC. The response message type
257 /// ([google.cloud.dialogflow.cx.v3.TransitionRouteGroup])
258 /// is mapped to a C++ class using the [Protobuf mapping rules].
259 /// If the request fails, the [`StatusOr`] contains the error details.
260 ///
261 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
262 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
263 /// [Long Running Operation]: https://google.aip.dev/151
264 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
265 /// [`future`]: @ref google::cloud::future
266 /// [`StatusOr`]: @ref google::cloud::StatusOr
267 /// [`Status`]: @ref google::cloud::Status
268 /// [google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L215}
269 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
270 ///
271 // clang-format on
272 StatusOr<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
274 std::string const& parent,
275 google::cloud::dialogflow::cx::v3::TransitionRouteGroup const&
276 transition_route_group,
277 Options opts = {});
278
279 // clang-format off
280 ///
281 /// Creates an
282 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
283 /// in the specified flow.
284 ///
285 /// Note: You should always train a flow prior to sending it queries. See the
286 /// [training
287 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
288 ///
289 /// @param request Unary RPCs, such as the one wrapped by this
290 /// function, receive a single `request` proto message which includes all
291 /// the inputs for the RPC. In this case, the proto message is a
292 /// [google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest].
293 /// Proto messages are converted to C++ classes by Protobuf, using the
294 /// [Protobuf mapping rules].
295 /// @param opts Optional. Override the class-level options, such as retry and
296 /// backoff policies.
297 /// @return the result of the RPC. The response message type
298 /// ([google.cloud.dialogflow.cx.v3.TransitionRouteGroup])
299 /// is mapped to a C++ class using the [Protobuf mapping rules].
300 /// If the request fails, the [`StatusOr`] contains the error details.
301 ///
302 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
303 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
304 /// [Long Running Operation]: https://google.aip.dev/151
305 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
306 /// [`future`]: @ref google::cloud::future
307 /// [`StatusOr`]: @ref google::cloud::StatusOr
308 /// [`Status`]: @ref google::cloud::Status
309 /// [google.cloud.dialogflow.cx.v3.CreateTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L215}
310 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
311 ///
312 // clang-format on
313 StatusOr<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
315 google::cloud::dialogflow::cx::v3::
316 CreateTransitionRouteGroupRequest const& request,
317 Options opts = {});
318
319 // clang-format off
320 ///
321 /// Updates the specified
322 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
323 ///
324 /// Note: You should always train a flow prior to sending it queries. See the
325 /// [training
326 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
327 ///
328 /// @param transition_route_group Required. The transition route group to update.
329 /// @param update_mask The mask to control which fields get updated.
330 /// @param opts Optional. Override the class-level options, such as retry and
331 /// backoff policies.
332 /// @return the result of the RPC. The response message type
333 /// ([google.cloud.dialogflow.cx.v3.TransitionRouteGroup])
334 /// is mapped to a C++ class using the [Protobuf mapping rules].
335 /// If the request fails, the [`StatusOr`] contains the error details.
336 ///
337 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
338 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
339 /// [Long Running Operation]: https://google.aip.dev/151
340 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
341 /// [`future`]: @ref google::cloud::future
342 /// [`StatusOr`]: @ref google::cloud::StatusOr
343 /// [`Status`]: @ref google::cloud::Status
344 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
345 /// [google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L247}
346 ///
347 // clang-format on
348 StatusOr<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
350 google::cloud::dialogflow::cx::v3::TransitionRouteGroup const&
351 transition_route_group,
352 google::protobuf::FieldMask const& update_mask, Options opts = {});
353
354 // clang-format off
355 ///
356 /// Updates the specified
357 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
358 ///
359 /// Note: You should always train a flow prior to sending it queries. See the
360 /// [training
361 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
362 ///
363 /// @param request Unary RPCs, such as the one wrapped by this
364 /// function, receive a single `request` proto message which includes all
365 /// the inputs for the RPC. In this case, the proto message is a
366 /// [google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest].
367 /// Proto messages are converted to C++ classes by Protobuf, using the
368 /// [Protobuf mapping rules].
369 /// @param opts Optional. Override the class-level options, such as retry and
370 /// backoff policies.
371 /// @return the result of the RPC. The response message type
372 /// ([google.cloud.dialogflow.cx.v3.TransitionRouteGroup])
373 /// is mapped to a C++ class using the [Protobuf mapping rules].
374 /// If the request fails, the [`StatusOr`] contains the error details.
375 ///
376 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
377 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
378 /// [Long Running Operation]: https://google.aip.dev/151
379 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
380 /// [`future`]: @ref google::cloud::future
381 /// [`StatusOr`]: @ref google::cloud::StatusOr
382 /// [`Status`]: @ref google::cloud::Status
383 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
384 /// [google.cloud.dialogflow.cx.v3.UpdateTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L247}
385 ///
386 // clang-format on
387 StatusOr<google::cloud::dialogflow::cx::v3::TransitionRouteGroup>
389 google::cloud::dialogflow::cx::v3::
390 UpdateTransitionRouteGroupRequest const& request,
391 Options opts = {});
392
393 // clang-format off
394 ///
395 /// Deletes the specified
396 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
397 ///
398 /// Note: You should always train a flow prior to sending it queries. See the
399 /// [training
400 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
401 ///
402 /// @param name Required. The name of the
403 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
404 /// to delete. Format:
405 /// @n
406 /// @code
407 /// projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>
408 /// @endcode
409 /// @param opts Optional. Override the class-level options, such as retry and
410 /// backoff policies.
411 /// @return a [`Status`] object. If the request failed, the
412 /// status contains the details of the failure.
413 ///
414 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
415 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
416 /// [Long Running Operation]: https://google.aip.dev/151
417 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
418 /// [`future`]: @ref google::cloud::future
419 /// [`StatusOr`]: @ref google::cloud::StatusOr
420 /// [`Status`]: @ref google::cloud::Status
421 /// [google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L271}
422 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
423 ///
424 // clang-format on
425 Status DeleteTransitionRouteGroup(std::string const& name, Options opts = {});
426
427 // clang-format off
428 ///
429 /// Deletes the specified
430 /// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
431 ///
432 /// Note: You should always train a flow prior to sending it queries. See the
433 /// [training
434 /// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
435 ///
436 /// @param request Unary RPCs, such as the one wrapped by this
437 /// function, receive a single `request` proto message which includes all
438 /// the inputs for the RPC. In this case, the proto message is a
439 /// [google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest].
440 /// Proto messages are converted to C++ classes by Protobuf, using the
441 /// [Protobuf mapping rules].
442 /// @param opts Optional. Override the class-level options, such as retry and
443 /// backoff policies.
444 /// @return a [`Status`] object. If the request failed, the
445 /// status contains the details of the failure.
446 ///
447 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
448 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
449 /// [Long Running Operation]: https://google.aip.dev/151
450 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
451 /// [`future`]: @ref google::cloud::future
452 /// [`StatusOr`]: @ref google::cloud::StatusOr
453 /// [`Status`]: @ref google::cloud::Status
454 /// [google.cloud.dialogflow.cx.v3.DeleteTransitionRouteGroupRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L271}
455 /// [google.cloud.dialogflow.cx.v3.TransitionRouteGroup]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/transition_route_group.proto#L112}
456 ///
457 // clang-format on
459 google::cloud::dialogflow::cx::v3::
460 DeleteTransitionRouteGroupRequest const& request,
461 Options opts = {});
462
463 private:
464 std::shared_ptr<TransitionRouteGroupsConnection> connection_;
465 Options options_;
466};
467
468GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
469} // namespace dialogflow_cx
470} // namespace cloud
471} // namespace google
472
473#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_TRANSITION_ROUTE_GROUPS_CLIENT_H
Service for managing TransitionRouteGroups.
Definition: transition_route_groups_client.h:65
TransitionRouteGroupsClient(TransitionRouteGroupsClient const &)=default
TransitionRouteGroupsClient(std::shared_ptr< TransitionRouteGroupsConnection > connection, Options opts={})
friend bool operator!=(TransitionRouteGroupsClient const &a, TransitionRouteGroupsClient const &b)
Definition: transition_route_groups_client.h:88
Status DeleteTransitionRouteGroup(google::cloud::dialogflow::cx::v3::DeleteTransitionRouteGroupRequest const &request, Options opts={})
Deletes the specified TransitionRouteGroup.
TransitionRouteGroupsClient & operator=(TransitionRouteGroupsClient const &)=default
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > UpdateTransitionRouteGroup(google::cloud::dialogflow::cx::v3::TransitionRouteGroup const &transition_route_group, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified TransitionRouteGroup.
StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > ListTransitionRouteGroups(std::string const &parent, Options opts={})
Returns the list of all transition route groups in the specified flow.
Status DeleteTransitionRouteGroup(std::string const &name, Options opts={})
Deletes the specified TransitionRouteGroup.
TransitionRouteGroupsClient & operator=(TransitionRouteGroupsClient &&)=default
TransitionRouteGroupsClient(TransitionRouteGroupsClient &&)=default
friend bool operator==(TransitionRouteGroupsClient const &a, TransitionRouteGroupsClient const &b)
Definition: transition_route_groups_client.h:84
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > CreateTransitionRouteGroup(std::string const &parent, google::cloud::dialogflow::cx::v3::TransitionRouteGroup const &transition_route_group, Options opts={})
Creates an TransitionRouteGroup in the specified flow.
StreamRange< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > ListTransitionRouteGroups(google::cloud::dialogflow::cx::v3::ListTransitionRouteGroupsRequest request, Options opts={})
Returns the list of all transition route groups in the specified flow.
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > GetTransitionRouteGroup(google::cloud::dialogflow::cx::v3::GetTransitionRouteGroupRequest const &request, Options opts={})
Retrieves the specified TransitionRouteGroup.
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > CreateTransitionRouteGroup(google::cloud::dialogflow::cx::v3::CreateTransitionRouteGroupRequest const &request, Options opts={})
Creates an TransitionRouteGroup in the specified flow.
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > GetTransitionRouteGroup(std::string const &name, Options opts={})
Retrieves the specified TransitionRouteGroup.
StatusOr< google::cloud::dialogflow::cx::v3::TransitionRouteGroup > UpdateTransitionRouteGroup(google::cloud::dialogflow::cx::v3::UpdateTransitionRouteGroupRequest const &request, Options opts={})
Updates the specified TransitionRouteGroup.
The TransitionRouteGroupsConnection object for TransitionRouteGroupsClient.
Definition: transition_route_groups_connection.h:63
Definition: agents_client.h:33