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