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

The VersionsConnection object for VersionsClient. More...

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

Public Member Functions

virtual ~VersionsConnection ()=0
 
virtual Options options ()
 
virtual StreamRange< google::cloud::dialogflow::cx::v3::Version > ListVersions (google::cloud::dialogflow::cx::v3::ListVersionsRequest request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Version > GetVersion (google::cloud::dialogflow::cx::v3::GetVersionRequest const &request)
 
virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Version > > CreateVersion (google::cloud::dialogflow::cx::v3::CreateVersionRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::Version > UpdateVersion (google::cloud::dialogflow::cx::v3::UpdateVersionRequest const &request)
 
virtual Status DeleteVersion (google::cloud::dialogflow::cx::v3::DeleteVersionRequest const &request)
 
virtual future< StatusOr< google::protobuf::Struct > > LoadVersion (google::cloud::dialogflow::cx::v3::LoadVersionRequest const &request)
 
virtual StatusOr< google::cloud::dialogflow::cx::v3::CompareVersionsResponse > CompareVersions (google::cloud::dialogflow::cx::v3::CompareVersionsRequest const &request)
 

Detailed Description

The VersionsConnection object for VersionsClient.

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

To create a concrete instance, see MakeVersionsConnection().

For mocking, see dialogflow_cx_mocks::MockVersionsConnection.

Constructor & Destructor Documentation

◆ ~VersionsConnection()

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

Member Function Documentation

◆ CompareVersions()

virtual StatusOr< google::cloud::dialogflow::cx::v3::CompareVersionsResponse > google::cloud::dialogflow_cx::VersionsConnection::CompareVersions ( google::cloud::dialogflow::cx::v3::CompareVersionsRequest const &  request)
virtual

◆ CreateVersion()

virtual future< StatusOr< google::cloud::dialogflow::cx::v3::Version > > google::cloud::dialogflow_cx::VersionsConnection::CreateVersion ( google::cloud::dialogflow::cx::v3::CreateVersionRequest const &  request)
virtual

◆ DeleteVersion()

virtual Status google::cloud::dialogflow_cx::VersionsConnection::DeleteVersion ( google::cloud::dialogflow::cx::v3::DeleteVersionRequest const &  request)
virtual

◆ GetVersion()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Version > google::cloud::dialogflow_cx::VersionsConnection::GetVersion ( google::cloud::dialogflow::cx::v3::GetVersionRequest const &  request)
virtual

◆ ListVersions()

virtual StreamRange< google::cloud::dialogflow::cx::v3::Version > google::cloud::dialogflow_cx::VersionsConnection::ListVersions ( google::cloud::dialogflow::cx::v3::ListVersionsRequest  request)
virtual

◆ LoadVersion()

virtual future< StatusOr< google::protobuf::Struct > > google::cloud::dialogflow_cx::VersionsConnection::LoadVersion ( google::cloud::dialogflow::cx::v3::LoadVersionRequest const &  request)
virtual

◆ options()

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

◆ UpdateVersion()

virtual StatusOr< google::cloud::dialogflow::cx::v3::Version > google::cloud::dialogflow_cx::VersionsConnection::UpdateVersion ( google::cloud::dialogflow::cx::v3::UpdateVersionRequest const &  request)
virtual