Class IDSConnection (2.27.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::ids::v1::ListEndpointsRequest
Returns
Type Description
StreamRange< google::cloud::ids::v1::Endpoint >

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

Parameter
Name Description
request google::cloud::ids::v1::GetEndpointRequest const &
Returns
Type Description
StatusOr< google::cloud::ids::v1::Endpoint >

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

Parameter
Name Description
request google::cloud::ids::v1::CreateEndpointRequest const &
Returns
Type Description
future< StatusOr< google::cloud::ids::v1::Endpoint > >

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

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

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

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

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

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

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

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

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

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