Class RoutineServiceConnection (2.31.0-rc)

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

To create a concrete instance, see MakeRoutineServiceConnection().

For mocking, see bigquerycontrol_v2_mocks::MockRoutineServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetRoutine(google::cloud::bigquery::v2::GetRoutineRequest const &)

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

virtual InsertRoutine(google::cloud::bigquery::v2::InsertRoutineRequest const &)

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

virtual UpdateRoutine(google::cloud::bigquery::v2::UpdateRoutineRequest const &)

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

virtual PatchRoutine(google::cloud::bigquery::v2::PatchRoutineRequest const &)

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

virtual DeleteRoutine(google::cloud::bigquery::v2::DeleteRoutineRequest const &)

Parameter
Name Description
request google::cloud::bigquery::v2::DeleteRoutineRequest const &
Returns
Type Description
Status

virtual ListRoutines(google::cloud::bigquery::v2::ListRoutinesRequest const &)

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