Class ProjectServiceConnection (2.28.0)

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

To create a concrete instance, see MakeProjectServiceConnection().

For mocking, see bigquerycontrol_v2_mocks::MockProjectServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetServiceAccount(google::cloud::bigquery::v2::GetServiceAccountRequest const &)

Parameter
Name Description
request google::cloud::bigquery::v2::GetServiceAccountRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::v2::GetServiceAccountResponse >