Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
webhooks_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/webhook.proto
18
19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_WEBHOOKS_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_WEBHOOKS_CLIENT_H
21
22#include "google/cloud/dialogflow_cx/webhooks_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 [Webhooks][google.cloud.dialogflow.cx.v3.Webhook].
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.Webhook]:
62/// @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
63///
64class WebhooksClient {
65 public:
66 explicit WebhooksClient(std::shared_ptr<WebhooksConnection> connection,
67 Options opts = {});
69
70 ///@{
71 /// @name Copy and move support
72 WebhooksClient(WebhooksClient const&) = default;
73 WebhooksClient& operator=(WebhooksClient const&) = default;
74 WebhooksClient(WebhooksClient&&) = default;
76 ///@}
77
78 ///@{
79 /// @name Equality
80 friend bool operator==(WebhooksClient const& a, WebhooksClient const& b) {
81 return a.connection_ == b.connection_;
82 }
83 friend bool operator!=(WebhooksClient const& a, WebhooksClient const& b) {
84 return !(a == b);
85 }
86 ///@}
87
88 // clang-format off
89 ///
90 /// Returns the list of all webhooks in the specified agent.
91 ///
92 /// @param parent Required. The agent to list all webhooks for.
93 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
94 /// @param opts Optional. Override the class-level options, such as retry and
95 /// backoff policies.
96 /// @return a [StreamRange](@ref google::cloud::StreamRange)
97 /// to iterate of the results. See the documentation of this type for
98 /// details. In brief, this class has `begin()` and `end()` member
99 /// functions returning a iterator class meeting the
100 /// [input iterator requirements]. The value type for this iterator is a
101 /// [`StatusOr`] as the iteration may fail even after some values are
102 /// retrieved successfully, for example, if there is a network disconnect.
103 /// An empty set of results does not indicate an error, it indicates
104 /// that there are no resources meeting the request criteria.
105 /// On a successful iteration the `StatusOr<T>` contains elements of type
106 /// [google.cloud.dialogflow.cx.v3.Webhook], or rather,
107 /// the C++ class generated by Protobuf from that type. Please consult the
108 /// Protobuf documentation for details on the [Protobuf mapping rules].
109 ///
110 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
111 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
112 /// [Long Running Operation]: https://google.aip.dev/151
113 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
114 /// [`future`]: @ref google::cloud::future
115 /// [`StatusOr`]: @ref google::cloud::StatusOr
116 /// [`Status`]: @ref google::cloud::Status
117 /// [google.cloud.dialogflow.cx.v3.ListWebhooksRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L244}
118 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
119 ///
120 // clang-format on
121 StreamRange<google::cloud::dialogflow::cx::v3::Webhook> ListWebhooks(
122 std::string const& parent, Options opts = {});
123
124 // clang-format off
125 ///
126 /// Returns the list of all webhooks in the specified agent.
127 ///
128 /// @param request Unary RPCs, such as the one wrapped by this
129 /// function, receive a single `request` proto message which includes all
130 /// the inputs for the RPC. In this case, the proto message is a
131 /// [google.cloud.dialogflow.cx.v3.ListWebhooksRequest].
132 /// Proto messages are converted to C++ classes by Protobuf, using the
133 /// [Protobuf mapping rules].
134 /// @param opts Optional. Override the class-level options, such as retry and
135 /// backoff policies.
136 /// @return a [StreamRange](@ref google::cloud::StreamRange)
137 /// to iterate of the results. See the documentation of this type for
138 /// details. In brief, this class has `begin()` and `end()` member
139 /// functions returning a iterator class meeting the
140 /// [input iterator requirements]. The value type for this iterator is a
141 /// [`StatusOr`] as the iteration may fail even after some values are
142 /// retrieved successfully, for example, if there is a network disconnect.
143 /// An empty set of results does not indicate an error, it indicates
144 /// that there are no resources meeting the request criteria.
145 /// On a successful iteration the `StatusOr<T>` contains elements of type
146 /// [google.cloud.dialogflow.cx.v3.Webhook], or rather,
147 /// the C++ class generated by Protobuf from that type. Please consult the
148 /// Protobuf documentation for details on the [Protobuf mapping rules].
149 ///
150 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
151 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
152 /// [Long Running Operation]: https://google.aip.dev/151
153 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
154 /// [`future`]: @ref google::cloud::future
155 /// [`StatusOr`]: @ref google::cloud::StatusOr
156 /// [`Status`]: @ref google::cloud::Status
157 /// [google.cloud.dialogflow.cx.v3.ListWebhooksRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L244}
158 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
159 ///
160 // clang-format on
161 StreamRange<google::cloud::dialogflow::cx::v3::Webhook> ListWebhooks(
162 google::cloud::dialogflow::cx::v3::ListWebhooksRequest request,
163 Options opts = {});
164
165 // clang-format off
166 ///
167 /// Retrieves the specified webhook.
168 ///
169 /// @param name Required. The name of the webhook.
170 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
171 /// ID>/webhooks/<Webhook ID>`.
172 /// @param opts Optional. Override the class-level options, such as retry and
173 /// backoff policies.
174 /// @return the result of the RPC. The response message type
175 /// ([google.cloud.dialogflow.cx.v3.Webhook])
176 /// is mapped to a C++ class using the [Protobuf mapping rules].
177 /// If the request fails, the [`StatusOr`] contains the error details.
178 ///
179 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
180 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
181 /// [Long Running Operation]: https://google.aip.dev/151
182 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
183 /// [`future`]: @ref google::cloud::future
184 /// [`StatusOr`]: @ref google::cloud::StatusOr
185 /// [`Status`]: @ref google::cloud::Status
186 /// [google.cloud.dialogflow.cx.v3.GetWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L276}
187 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
188 ///
189 // clang-format on
190 StatusOr<google::cloud::dialogflow::cx::v3::Webhook> GetWebhook(
191 std::string const& name, Options opts = {});
192
193 // clang-format off
194 ///
195 /// Retrieves the specified webhook.
196 ///
197 /// @param request Unary RPCs, such as the one wrapped by this
198 /// function, receive a single `request` proto message which includes all
199 /// the inputs for the RPC. In this case, the proto message is a
200 /// [google.cloud.dialogflow.cx.v3.GetWebhookRequest].
201 /// Proto messages are converted to C++ classes by Protobuf, using the
202 /// [Protobuf mapping rules].
203 /// @param opts Optional. Override the class-level options, such as retry and
204 /// backoff policies.
205 /// @return the result of the RPC. The response message type
206 /// ([google.cloud.dialogflow.cx.v3.Webhook])
207 /// is mapped to a C++ class using the [Protobuf mapping rules].
208 /// If the request fails, the [`StatusOr`] contains the error details.
209 ///
210 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
211 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
212 /// [Long Running Operation]: https://google.aip.dev/151
213 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
214 /// [`future`]: @ref google::cloud::future
215 /// [`StatusOr`]: @ref google::cloud::StatusOr
216 /// [`Status`]: @ref google::cloud::Status
217 /// [google.cloud.dialogflow.cx.v3.GetWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L276}
218 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
219 ///
220 // clang-format on
221 StatusOr<google::cloud::dialogflow::cx::v3::Webhook> GetWebhook(
222 google::cloud::dialogflow::cx::v3::GetWebhookRequest const& request,
223 Options opts = {});
224
225 // clang-format off
226 ///
227 /// Creates a webhook in the specified agent.
228 ///
229 /// @param parent Required. The agent to create a webhook for.
230 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
231 /// @param webhook Required. The webhook to create.
232 /// @param opts Optional. Override the class-level options, such as retry and
233 /// backoff policies.
234 /// @return the result of the RPC. The response message type
235 /// ([google.cloud.dialogflow.cx.v3.Webhook])
236 /// is mapped to a C++ class using the [Protobuf mapping rules].
237 /// If the request fails, the [`StatusOr`] contains the error details.
238 ///
239 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
240 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
241 /// [Long Running Operation]: https://google.aip.dev/151
242 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
243 /// [`future`]: @ref google::cloud::future
244 /// [`StatusOr`]: @ref google::cloud::StatusOr
245 /// [`Status`]: @ref google::cloud::Status
246 /// [google.cloud.dialogflow.cx.v3.CreateWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L290}
247 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
248 ///
249 // clang-format on
250 StatusOr<google::cloud::dialogflow::cx::v3::Webhook> CreateWebhook(
251 std::string const& parent,
252 google::cloud::dialogflow::cx::v3::Webhook const& webhook,
253 Options opts = {});
254
255 // clang-format off
256 ///
257 /// Creates a webhook in the specified agent.
258 ///
259 /// @param request Unary RPCs, such as the one wrapped by this
260 /// function, receive a single `request` proto message which includes all
261 /// the inputs for the RPC. In this case, the proto message is a
262 /// [google.cloud.dialogflow.cx.v3.CreateWebhookRequest].
263 /// Proto messages are converted to C++ classes by Protobuf, using the
264 /// [Protobuf mapping rules].
265 /// @param opts Optional. Override the class-level options, such as retry and
266 /// backoff policies.
267 /// @return the result of the RPC. The response message type
268 /// ([google.cloud.dialogflow.cx.v3.Webhook])
269 /// is mapped to a C++ class using the [Protobuf mapping rules].
270 /// If the request fails, the [`StatusOr`] contains the error details.
271 ///
272 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
273 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
274 /// [Long Running Operation]: https://google.aip.dev/151
275 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
276 /// [`future`]: @ref google::cloud::future
277 /// [`StatusOr`]: @ref google::cloud::StatusOr
278 /// [`Status`]: @ref google::cloud::Status
279 /// [google.cloud.dialogflow.cx.v3.CreateWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L290}
280 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
281 ///
282 // clang-format on
283 StatusOr<google::cloud::dialogflow::cx::v3::Webhook> CreateWebhook(
284 google::cloud::dialogflow::cx::v3::CreateWebhookRequest const& request,
285 Options opts = {});
286
287 // clang-format off
288 ///
289 /// Updates the specified webhook.
290 ///
291 /// @param webhook Required. The webhook to update.
292 /// @param update_mask The mask to control which fields get updated. If the mask is not present,
293 /// all fields will be updated.
294 /// @param opts Optional. Override the class-level options, such as retry and
295 /// backoff policies.
296 /// @return the result of the RPC. The response message type
297 /// ([google.cloud.dialogflow.cx.v3.Webhook])
298 /// is mapped to a C++ class using the [Protobuf mapping rules].
299 /// If the request fails, the [`StatusOr`] contains the error details.
300 ///
301 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
302 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
303 /// [Long Running Operation]: https://google.aip.dev/151
304 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
305 /// [`future`]: @ref google::cloud::future
306 /// [`StatusOr`]: @ref google::cloud::StatusOr
307 /// [`Status`]: @ref google::cloud::Status
308 /// [google.cloud.dialogflow.cx.v3.UpdateWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L306}
309 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
310 ///
311 // clang-format on
312 StatusOr<google::cloud::dialogflow::cx::v3::Webhook> UpdateWebhook(
313 google::cloud::dialogflow::cx::v3::Webhook const& webhook,
314 google::protobuf::FieldMask const& update_mask, Options opts = {});
315
316 // clang-format off
317 ///
318 /// Updates the specified webhook.
319 ///
320 /// @param request Unary RPCs, such as the one wrapped by this
321 /// function, receive a single `request` proto message which includes all
322 /// the inputs for the RPC. In this case, the proto message is a
323 /// [google.cloud.dialogflow.cx.v3.UpdateWebhookRequest].
324 /// Proto messages are converted to C++ classes by Protobuf, using the
325 /// [Protobuf mapping rules].
326 /// @param opts Optional. Override the class-level options, such as retry and
327 /// backoff policies.
328 /// @return the result of the RPC. The response message type
329 /// ([google.cloud.dialogflow.cx.v3.Webhook])
330 /// is mapped to a C++ class using the [Protobuf mapping rules].
331 /// If the request fails, the [`StatusOr`] contains the error details.
332 ///
333 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
334 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
335 /// [Long Running Operation]: https://google.aip.dev/151
336 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
337 /// [`future`]: @ref google::cloud::future
338 /// [`StatusOr`]: @ref google::cloud::StatusOr
339 /// [`Status`]: @ref google::cloud::Status
340 /// [google.cloud.dialogflow.cx.v3.UpdateWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L306}
341 /// [google.cloud.dialogflow.cx.v3.Webhook]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L96}
342 ///
343 // clang-format on
344 StatusOr<google::cloud::dialogflow::cx::v3::Webhook> UpdateWebhook(
345 google::cloud::dialogflow::cx::v3::UpdateWebhookRequest const& request,
346 Options opts = {});
347
348 // clang-format off
349 ///
350 /// Deletes the specified webhook.
351 ///
352 /// @param name Required. The name of the webhook to delete.
353 /// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
354 /// ID>/webhooks/<Webhook ID>`.
355 /// @param opts Optional. Override the class-level options, such as retry and
356 /// backoff policies.
357 /// @return a [`Status`] object. If the request failed, the
358 /// status contains the details of the failure.
359 ///
360 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
361 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
362 /// [Long Running Operation]: https://google.aip.dev/151
363 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
364 /// [`future`]: @ref google::cloud::future
365 /// [`StatusOr`]: @ref google::cloud::StatusOr
366 /// [`Status`]: @ref google::cloud::Status
367 /// [google.cloud.dialogflow.cx.v3.DeleteWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L317}
368 ///
369 // clang-format on
370 Status DeleteWebhook(std::string const& name, Options opts = {});
371
372 // clang-format off
373 ///
374 /// Deletes the specified webhook.
375 ///
376 /// @param request Unary RPCs, such as the one wrapped by this
377 /// function, receive a single `request` proto message which includes all
378 /// the inputs for the RPC. In this case, the proto message is a
379 /// [google.cloud.dialogflow.cx.v3.DeleteWebhookRequest].
380 /// Proto messages are converted to C++ classes by Protobuf, using the
381 /// [Protobuf mapping rules].
382 /// @param opts Optional. Override the class-level options, such as retry and
383 /// backoff policies.
384 /// @return a [`Status`] object. If the request failed, the
385 /// status contains the details of the failure.
386 ///
387 /// [Protobuf mapping rules]: https://protobuf.dev/reference/cpp/cpp-generated/
388 /// [input iterator requirements]: https://en.cppreference.com/w/cpp/named_req/InputIterator
389 /// [Long Running Operation]: https://google.aip.dev/151
390 /// [`std::string`]: https://en.cppreference.com/w/cpp/string/basic_string
391 /// [`future`]: @ref google::cloud::future
392 /// [`StatusOr`]: @ref google::cloud::StatusOr
393 /// [`Status`]: @ref google::cloud::Status
394 /// [google.cloud.dialogflow.cx.v3.DeleteWebhookRequest]: @googleapis_reference_link{google/cloud/dialogflow/cx/v3/webhook.proto#L317}
395 ///
396 // clang-format on
398 google::cloud::dialogflow::cx::v3::DeleteWebhookRequest const& request,
399 Options opts = {});
400
401 private:
402 std::shared_ptr<WebhooksConnection> connection_;
403 Options options_;
404};
405
406GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
407} // namespace dialogflow_cx
408} // namespace cloud
409} // namespace google
410
411#endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_DIALOGFLOW_CX_WEBHOOKS_CLIENT_H
Service for managing Webhooks.
Definition: webhooks_client.h:64
StatusOr< google::cloud::dialogflow::cx::v3::Webhook > UpdateWebhook(google::cloud::dialogflow::cx::v3::UpdateWebhookRequest const &request, Options opts={})
Updates the specified webhook.
StatusOr< google::cloud::dialogflow::cx::v3::Webhook > CreateWebhook(google::cloud::dialogflow::cx::v3::CreateWebhookRequest const &request, Options opts={})
Creates a webhook in the specified agent.
StatusOr< google::cloud::dialogflow::cx::v3::Webhook > CreateWebhook(std::string const &parent, google::cloud::dialogflow::cx::v3::Webhook const &webhook, Options opts={})
Creates a webhook in the specified agent.
WebhooksClient(WebhooksClient const &)=default
StreamRange< google::cloud::dialogflow::cx::v3::Webhook > ListWebhooks(google::cloud::dialogflow::cx::v3::ListWebhooksRequest request, Options opts={})
Returns the list of all webhooks in the specified agent.
StatusOr< google::cloud::dialogflow::cx::v3::Webhook > GetWebhook(google::cloud::dialogflow::cx::v3::GetWebhookRequest const &request, Options opts={})
Retrieves the specified webhook.
WebhooksClient & operator=(WebhooksClient &&)=default
friend bool operator!=(WebhooksClient const &a, WebhooksClient const &b)
Definition: webhooks_client.h:83
WebhooksClient & operator=(WebhooksClient const &)=default
WebhooksClient(std::shared_ptr< WebhooksConnection > connection, Options opts={})
Status DeleteWebhook(google::cloud::dialogflow::cx::v3::DeleteWebhookRequest const &request, Options opts={})
Deletes the specified webhook.
StatusOr< google::cloud::dialogflow::cx::v3::Webhook > GetWebhook(std::string const &name, Options opts={})
Retrieves the specified webhook.
StreamRange< google::cloud::dialogflow::cx::v3::Webhook > ListWebhooks(std::string const &parent, Options opts={})
Returns the list of all webhooks in the specified agent.
WebhooksClient(WebhooksClient &&)=default
Status DeleteWebhook(std::string const &name, Options opts={})
Deletes the specified webhook.
friend bool operator==(WebhooksClient const &a, WebhooksClient const &b)
Definition: webhooks_client.h:80
StatusOr< google::cloud::dialogflow::cx::v3::Webhook > UpdateWebhook(google::cloud::dialogflow::cx::v3::Webhook const &webhook, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates the specified webhook.
The WebhooksConnection object for WebhooksClient.
Definition: webhooks_connection.h:61
Definition: agents_client.h:33