Dialogflow API C++ Client 2.13.0
A C++ Client Library for the Dialogflow API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection Class Reference

A class to mock SecuritySettingsServiceConnection. More...

#include <google/cloud/dialogflow_cx/mocks/mock_security_settings_connection.h>

Public Member Functions

 MOCK_METHOD (Options, options,(),(override))
 
 MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings >, CreateSecuritySettings,(google::cloud::dialogflow::cx::v3::CreateSecuritySettingsRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings >, GetSecuritySettings,(google::cloud::dialogflow::cx::v3::GetSecuritySettingsRequest const &request),(override))
 
 MOCK_METHOD (StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings >, UpdateSecuritySettings,(google::cloud::dialogflow::cx::v3::UpdateSecuritySettingsRequest const &request),(override))
 
 MOCK_METHOD (StreamRange< google::cloud::dialogflow::cx::v3::SecuritySettings >, ListSecuritySettings,(google::cloud::dialogflow::cx::v3::ListSecuritySettingsRequest request),(override))
 
 MOCK_METHOD (Status, DeleteSecuritySettings,(google::cloud::dialogflow::cx::v3::DeleteSecuritySettingsRequest const &request),(override))
 
virtual Options options ()
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings > CreateSecuritySettings (google::cloud::dialogflow::cx::v3::CreateSecuritySettingsRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings > GetSecuritySettings (google::cloud::dialogflow::cx::v3::GetSecuritySettingsRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings > UpdateSecuritySettings (google::cloud::dialogflow::cx::v3::UpdateSecuritySettingsRequest const &request)
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::SecuritySettings > ListSecuritySettings (google::cloud::dialogflow::cx::v3::ListSecuritySettingsRequest request)
 
virtual Status DeleteSecuritySettings (google::cloud::dialogflow::cx::v3::DeleteSecuritySettingsRequest const &request)
 

Detailed Description

A class to mock SecuritySettingsServiceConnection.

Application developers may want to test their code with simulated responses, including errors, from an object of type SecuritySettingsServiceClient. To do so, construct an object of type SecuritySettingsServiceClient with an instance of this class. Then use the Google Test framework functions to program the behavior of this mock.

See also
This example for how to test your application with GoogleTest. While the example showcases types from the BigQuery library, the underlying principles apply for any pair of *Client and *Connection.

Member Function Documentation

◆ CreateSecuritySettings()

virtual StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings > google::cloud::dialogflow_cx::SecuritySettingsServiceConnection::CreateSecuritySettings ( google::cloud::dialogflow::cx::v3::CreateSecuritySettingsRequest const &  request)
virtualinherited

◆ DeleteSecuritySettings()

virtual Status google::cloud::dialogflow_cx::SecuritySettingsServiceConnection::DeleteSecuritySettings ( google::cloud::dialogflow::cx::v3::DeleteSecuritySettingsRequest const &  request)
virtualinherited

◆ GetSecuritySettings()

virtual StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings > google::cloud::dialogflow_cx::SecuritySettingsServiceConnection::GetSecuritySettings ( google::cloud::dialogflow::cx::v3::GetSecuritySettingsRequest const &  request)
virtualinherited

◆ ListSecuritySettings()

virtual StreamRange< google::cloud::dialogflow::cx::v3::SecuritySettings > google::cloud::dialogflow_cx::SecuritySettingsServiceConnection::ListSecuritySettings ( google::cloud::dialogflow::cx::v3::ListSecuritySettingsRequest  request)
virtualinherited

◆ MOCK_METHOD() [1/6]

google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection::MOCK_METHOD ( Options  ,
options  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [2/6]

google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection::MOCK_METHOD ( Status  ,
DeleteSecuritySettings  ,
(google::cloud::dialogflow::cx::v3::DeleteSecuritySettingsRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [3/6]

google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection::MOCK_METHOD ( StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings >  ,
CreateSecuritySettings  ,
(google::cloud::dialogflow::cx::v3::CreateSecuritySettingsRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [4/6]

google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection::MOCK_METHOD ( StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings >  ,
GetSecuritySettings  ,
(google::cloud::dialogflow::cx::v3::GetSecuritySettingsRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [5/6]

google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection::MOCK_METHOD ( StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings >  ,
UpdateSecuritySettings  ,
(google::cloud::dialogflow::cx::v3::UpdateSecuritySettingsRequest const &request)  ,
(override)   
)

◆ MOCK_METHOD() [6/6]

google::cloud::dialogflow_cx_mocks::MockSecuritySettingsServiceConnection::MOCK_METHOD ( StreamRange< google::cloud::dialogflow::cx::v3::SecuritySettings >  ,
ListSecuritySettings  ,
(google::cloud::dialogflow::cx::v3::ListSecuritySettingsRequest request)  ,
(override)   
)

◆ options()

virtual Options google::cloud::dialogflow_cx::SecuritySettingsServiceConnection::options ( )
inlinevirtualinherited

◆ UpdateSecuritySettings()

virtual StatusOr< google::cloud::dialogflow::cx::v3::SecuritySettings > google::cloud::dialogflow_cx::SecuritySettingsServiceConnection::UpdateSecuritySettings ( google::cloud::dialogflow::cx::v3::UpdateSecuritySettingsRequest const &  request)
virtualinherited