Class VpcAccessServiceConnection (2.31.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 CreateConnector(NoAwaitTag, google::cloud::vpcaccess::v1::CreateConnectorRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::vpcaccess::v1::CreateConnectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateConnector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation 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 > >

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

Parameters
Name Description
NoAwaitTag
request google::cloud::vpcaccess::v1::DeleteConnectorRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteConnector(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::vpcaccess::v1::OperationMetadata > >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >