Class VpcAccessServiceConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::vpcaccess::v1::CreateConnectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::vpcaccess::v1::Connector > >

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

Parameter
NameDescription
request google::cloud::vpcaccess::v1::GetConnectorRequest const &
Returns
TypeDescription
StatusOr< google::cloud::vpcaccess::v1::Connector >

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

Parameter
NameDescription
request google::cloud::vpcaccess::v1::ListConnectorsRequest
Returns
TypeDescription
StreamRange< google::cloud::vpcaccess::v1::Connector >

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

Parameter
NameDescription
request google::cloud::vpcaccess::v1::DeleteConnectorRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::vpcaccess::v1::OperationMetadata > >