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::WebhooksConnection Class Referenceabstract

The WebhooksConnection object for WebhooksClient. More...

#include <google/cloud/dialogflow_cx/webhooks_connection.h>

Public Member Functions

virtual ~WebhooksConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Webhook > ListWebhooks (google::cloud::dialogflow::cx::v3::ListWebhooksRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Webhook > GetWebhook (google::cloud::dialogflow::cx::v3::GetWebhookRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Webhook > CreateWebhook (google::cloud::dialogflow::cx::v3::CreateWebhookRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Webhook > UpdateWebhook (google::cloud::dialogflow::cx::v3::UpdateWebhookRequest const &request)
 
virtual Status DeleteWebhook (google::cloud::dialogflow::cx::v3::DeleteWebhookRequest const &request)
 

Detailed Description

The WebhooksConnection object for WebhooksClient.

This interface defines virtual methods for each of the user-facing overload sets in WebhooksClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type WebhooksClient.

To create a concrete instance, see MakeWebhooksConnection().

For mocking, see dialogflow_cx_mocks::MockWebhooksConnection.

Constructor & Destructor Documentation

◆ ~WebhooksConnection()

virtual google::cloud::dialogflow_cx::WebhooksConnection::~WebhooksConnection ( )
pure virtual

Member Function Documentation

◆ CreateWebhook()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Webhook > google::cloud::dialogflow_cx::WebhooksConnection::CreateWebhook ( google::cloud::dialogflow::cx::v3::CreateWebhookRequest const &  request)
virtual

◆ DeleteWebhook()

virtual Status google::cloud::dialogflow_cx::WebhooksConnection::DeleteWebhook ( google::cloud::dialogflow::cx::v3::DeleteWebhookRequest const &  request)
virtual

◆ GetWebhook()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Webhook > google::cloud::dialogflow_cx::WebhooksConnection::GetWebhook ( google::cloud::dialogflow::cx::v3::GetWebhookRequest const &  request)
virtual

◆ ListWebhooks()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Webhook > google::cloud::dialogflow_cx::WebhooksConnection::ListWebhooks ( google::cloud::dialogflow::cx::v3::ListWebhooksRequest  request)
virtual

◆ options()

virtual Options google::cloud::dialogflow_cx::WebhooksConnection::options ( )
inlinevirtual

◆ UpdateWebhook()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Webhook > google::cloud::dialogflow_cx::WebhooksConnection::UpdateWebhook ( google::cloud::dialogflow::cx::v3::UpdateWebhookRequest const &  request)
virtual