Google Cloud BigQuery C++ Client  2.1.0
A C++ Client Library for Google Cloud BigQuery
Public Member Functions | List of all members
google::cloud::bigquery::ModelServiceConnection Class Referenceabstract

The ModelServiceConnection object for ModelServiceClient. More...

#include <google/cloud/bigquery/model_connection.h>

Public Member Functions

virtual ~ModelServiceConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::v2::Model > GetModel (google::cloud::bigquery::v2::GetModelRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::v2::ListModelsResponse > ListModels (google::cloud::bigquery::v2::ListModelsRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::v2::Model > PatchModel (google::cloud::bigquery::v2::PatchModelRequest const &request)
 
virtual Status DeleteModel (google::cloud::bigquery::v2::DeleteModelRequest const &request)
 

Detailed Description

The ModelServiceConnection object for ModelServiceClient.

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

To create a concrete instance, see MakeModelServiceConnection().

For mocking, see bigquery_mocks::MockModelServiceConnection.

Definition at line 60 of file model_connection.h.

Constructor & Destructor Documentation

◆ ~ModelServiceConnection()

virtual google::cloud::bigquery::ModelServiceConnection::~ModelServiceConnection ( )
pure virtual

Member Function Documentation

◆ DeleteModel()

virtual Status google::cloud::bigquery::ModelServiceConnection::DeleteModel ( google::cloud::bigquery::v2::DeleteModelRequest const &  request)
virtual

◆ GetModel()

virtual StatusOr<google::cloud::bigquery::v2::Model> google::cloud::bigquery::ModelServiceConnection::GetModel ( google::cloud::bigquery::v2::GetModelRequest const &  request)
virtual

◆ ListModels()

virtual StatusOr<google::cloud::bigquery::v2::ListModelsResponse> google::cloud::bigquery::ModelServiceConnection::ListModels ( google::cloud::bigquery::v2::ListModelsRequest const &  request)
virtual

◆ options()

virtual Options google::cloud::bigquery::ModelServiceConnection::options ( )
inlinevirtual

Definition at line 64 of file model_connection.h.

◆ PatchModel()

virtual StatusOr<google::cloud::bigquery::v2::Model> google::cloud::bigquery::ModelServiceConnection::PatchModel ( google::cloud::bigquery::v2::PatchModelRequest const &  request)
virtual