Class TargetGrpcProxiesConnection (2.17.0)

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

To create a concrete instance, see MakeTargetGrpcProxiesConnection().

For mocking, see compute_target_grpc_proxies_v1_mocks::MockTargetGrpcProxiesConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual DeleteTargetGrpcProxy(google::cloud::cpp::compute::target_grpc_proxies::v1::DeleteTargetGrpcProxyRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::target_grpc_proxies::v1::DeleteTargetGrpcProxyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual GetTargetGrpcProxy(google::cloud::cpp::compute::target_grpc_proxies::v1::GetTargetGrpcProxyRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::target_grpc_proxies::v1::GetTargetGrpcProxyRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::TargetGrpcProxy >

virtual InsertTargetGrpcProxy(google::cloud::cpp::compute::target_grpc_proxies::v1::InsertTargetGrpcProxyRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::target_grpc_proxies::v1::InsertTargetGrpcProxyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual ListTargetGrpcProxies(google::cloud::cpp::compute::target_grpc_proxies::v1::ListTargetGrpcProxiesRequest)

Parameter
Name Description
request google::cloud::cpp::compute::target_grpc_proxies::v1::ListTargetGrpcProxiesRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::TargetGrpcProxy >

virtual PatchTargetGrpcProxy(google::cloud::cpp::compute::target_grpc_proxies::v1::PatchTargetGrpcProxyRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::target_grpc_proxies::v1::PatchTargetGrpcProxyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >