Class IDSConnection (2.19.0)

The IDSConnection object for IDSClient.

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

To create a concrete instance, see MakeIDSConnection().

For mocking, see ids_v1_mocks::MockIDSConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListEndpoints(google::cloud::ids::v1::ListEndpointsRequest)

Parameter
NameDescription
request google::cloud::ids::v1::ListEndpointsRequest
Returns
TypeDescription
StreamRange< google::cloud::ids::v1::Endpoint >

virtual GetEndpoint(google::cloud::ids::v1::GetEndpointRequest const &)

Parameter
NameDescription
request google::cloud::ids::v1::GetEndpointRequest const &
Returns
TypeDescription
StatusOr< google::cloud::ids::v1::Endpoint >

virtual CreateEndpoint(google::cloud::ids::v1::CreateEndpointRequest const &)

Parameter
NameDescription
request google::cloud::ids::v1::CreateEndpointRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::ids::v1::Endpoint > >

virtual DeleteEndpoint(google::cloud::ids::v1::DeleteEndpointRequest const &)

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