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
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"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
82 return a.connection_ == b.connection_;
116 StatusOr<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
118 std::string
const& parent,
119 google::
cloud::dialogflow::cx::v3::SecuritySettings
const&
151 StatusOr<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
153 google::
cloud::dialogflow::cx::v3::CreateSecuritySettingsRequest
const&
184 StatusOr<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
217 StatusOr<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
219 google::
cloud::dialogflow::cx::v3::GetSecuritySettingsRequest
const&
250 StatusOr<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
252 google::
cloud::dialogflow::cx::v3::SecuritySettings
const&
285 StatusOr<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
287 google::
cloud::dialogflow::cx::v3::UpdateSecuritySettingsRequest
const&
324 StreamRange<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
364 StreamRange<
google::
cloud::dialogflow::cx::v3::SecuritySettings>
366 google::
cloud::dialogflow::cx::v3::ListSecuritySettingsRequest request,
424 google::
cloud::dialogflow::cx::v3::DeleteSecuritySettingsRequest
const&
433GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
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.
~SecuritySettingsServiceClient()
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