Dialogflow API C++ Client  2.4.0
A C++ Client Library for the Dialogflow API
Public Member Functions | List of all members
google::cloud::dialogflow_cx::PagesConnection Class Referenceabstract

The PagesConnection object for PagesClient. More...

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

Public Member Functions

virtual ~PagesConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Page > ListPages (google::cloud::dialogflow::cx::v3::ListPagesRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Page > GetPage (google::cloud::dialogflow::cx::v3::GetPageRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Page > CreatePage (google::cloud::dialogflow::cx::v3::CreatePageRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Page > UpdatePage (google::cloud::dialogflow::cx::v3::UpdatePageRequest const &request)
 
virtual Status DeletePage (google::cloud::dialogflow::cx::v3::DeletePageRequest const &request)
 

Detailed Description

The PagesConnection object for PagesClient.

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

To create a concrete instance, see MakePagesConnection().

For mocking, see dialogflow_cx_mocks::MockPagesConnection.

Definition at line 61 of file pages_connection.h.

Constructor & Destructor Documentation

◆ ~PagesConnection()

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

Member Function Documentation

◆ CreatePage()

virtual StatusOr<google::cloud::dialogflow::cx::v3::Page> google::cloud::dialogflow_cx::PagesConnection::CreatePage ( google::cloud::dialogflow::cx::v3::CreatePageRequest const &  request)
virtual

◆ DeletePage()

virtual Status google::cloud::dialogflow_cx::PagesConnection::DeletePage ( google::cloud::dialogflow::cx::v3::DeletePageRequest const &  request)
virtual

◆ GetPage()

virtual StatusOr<google::cloud::dialogflow::cx::v3::Page> google::cloud::dialogflow_cx::PagesConnection::GetPage ( google::cloud::dialogflow::cx::v3::GetPageRequest const &  request)
virtual

◆ ListPages()

virtual StreamRange<google::cloud::dialogflow::cx::v3::Page> google::cloud::dialogflow_cx::PagesConnection::ListPages ( google::cloud::dialogflow::cx::v3::ListPagesRequest  request)
virtual

◆ options()

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

Definition at line 65 of file pages_connection.h.

◆ UpdatePage()

virtual StatusOr<google::cloud::dialogflow::cx::v3::Page> google::cloud::dialogflow_cx::PagesConnection::UpdatePage ( google::cloud::dialogflow::cx::v3::UpdatePageRequest const &  request)
virtual