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

The ConnectionServiceConnection object for ConnectionServiceClient. More...

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

Public Member Functions

virtual ~ConnectionServiceConnection ()=0
 
virtual Options options ()
 
virtual StatusOr< google::cloud::bigquery::connection::v1::Connection > CreateConnection (google::cloud::bigquery::connection::v1::CreateConnectionRequest const &request)
 
virtual StatusOr< google::cloud::bigquery::connection::v1::Connection > GetConnection (google::cloud::bigquery::connection::v1::GetConnectionRequest const &request)
 
virtual StreamRange< google::cloud::bigquery::connection::v1::Connection > ListConnections (google::cloud::bigquery::connection::v1::ListConnectionsRequest request)
 
virtual StatusOr< google::cloud::bigquery::connection::v1::Connection > UpdateConnection (google::cloud::bigquery::connection::v1::UpdateConnectionRequest const &request)
 
virtual Status DeleteConnection (google::cloud::bigquery::connection::v1::DeleteConnectionRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::Policy > SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request)
 
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request)
 

Detailed Description

The ConnectionServiceConnection object for ConnectionServiceClient.

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

To create a concrete instance, see MakeConnectionServiceConnection().

For mocking, see bigquery_mocks::MockConnectionServiceConnection.

Definition at line 61 of file connection_connection.h.

Constructor & Destructor Documentation

◆ ~ConnectionServiceConnection()

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

Member Function Documentation

◆ CreateConnection()

virtual StatusOr<google::cloud::bigquery::connection::v1::Connection> google::cloud::bigquery::ConnectionServiceConnection::CreateConnection ( google::cloud::bigquery::connection::v1::CreateConnectionRequest const &  request)
virtual

◆ DeleteConnection()

virtual Status google::cloud::bigquery::ConnectionServiceConnection::DeleteConnection ( google::cloud::bigquery::connection::v1::DeleteConnectionRequest const &  request)
virtual

◆ GetConnection()

virtual StatusOr<google::cloud::bigquery::connection::v1::Connection> google::cloud::bigquery::ConnectionServiceConnection::GetConnection ( google::cloud::bigquery::connection::v1::GetConnectionRequest const &  request)
virtual

◆ GetIamPolicy()

virtual StatusOr<google::iam::v1::Policy> google::cloud::bigquery::ConnectionServiceConnection::GetIamPolicy ( google::iam::v1::GetIamPolicyRequest const &  request)
virtual

◆ ListConnections()

virtual StreamRange<google::cloud::bigquery::connection::v1::Connection> google::cloud::bigquery::ConnectionServiceConnection::ListConnections ( google::cloud::bigquery::connection::v1::ListConnectionsRequest  request)
virtual

◆ options()

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

Definition at line 65 of file connection_connection.h.

◆ SetIamPolicy()

virtual StatusOr<google::iam::v1::Policy> google::cloud::bigquery::ConnectionServiceConnection::SetIamPolicy ( google::iam::v1::SetIamPolicyRequest const &  request)
virtual

◆ TestIamPermissions()

virtual StatusOr<google::iam::v1::TestIamPermissionsResponse> google::cloud::bigquery::ConnectionServiceConnection::TestIamPermissions ( google::iam::v1::TestIamPermissionsRequest const &  request)
virtual

◆ UpdateConnection()

virtual StatusOr<google::cloud::bigquery::connection::v1::Connection> google::cloud::bigquery::ConnectionServiceConnection::UpdateConnection ( google::cloud::bigquery::connection::v1::UpdateConnectionRequest const &  request)
virtual