Class VpcAccessServiceConnection (2.11.0)

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

To create a concrete instance, see MakeVpcAccessServiceConnection().

For mocking, see vpcaccess_v1_mocks::MockVpcAccessServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateConnector(google::cloud::vpcaccess::v1::CreateConnectorRequest const &)

Parameter
Name Description
request google::cloud::vpcaccess::v1::CreateConnectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::vpcaccess::v1::Connector > >

virtual GetConnector(google::cloud::vpcaccess::v1::GetConnectorRequest const &)

Parameter
Name Description
request google::cloud::vpcaccess::v1::GetConnectorRequest const &
Returns
Type Description
StatusOr< google::cloud::vpcaccess::v1::Connector >

virtual ListConnectors(google::cloud::vpcaccess::v1::ListConnectorsRequest)

Parameter
Name Description
request google::cloud::vpcaccess::v1::ListConnectorsRequest
Returns
Type Description
StreamRange< google::cloud::vpcaccess::v1::Connector >

virtual DeleteConnector(google::cloud::vpcaccess::v1::DeleteConnectorRequest const &)

Parameter
Name Description
request google::cloud::vpcaccess::v1::DeleteConnectorRequest const &
Returns
Type Description
future< StatusOr< google::cloud::vpcaccess::v1::OperationMetadata > >