Class DocumentLinkServiceConnection (2.22.0)

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

To create a concrete instance, see MakeDocumentLinkServiceConnection().

For mocking, see contentwarehouse_v1_mocks::MockDocumentLinkServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListLinkedTargets(google::cloud::contentwarehouse::v1::ListLinkedTargetsRequest const &)

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::ListLinkedTargetsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::contentwarehouse::v1::ListLinkedTargetsResponse >

virtual ListLinkedSources(google::cloud::contentwarehouse::v1::ListLinkedSourcesRequest)

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::ListLinkedSourcesRequest
Returns
TypeDescription
StreamRange< google::cloud::contentwarehouse::v1::DocumentLink >

virtual CreateDocumentLink(google::cloud::contentwarehouse::v1::CreateDocumentLinkRequest const &)

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::CreateDocumentLinkRequest const &
Returns
TypeDescription
StatusOr< google::cloud::contentwarehouse::v1::DocumentLink >

virtual DeleteDocumentLink(google::cloud::contentwarehouse::v1::DeleteDocumentLinkRequest const &)

Parameter
NameDescription
request google::cloud::contentwarehouse::v1::DeleteDocumentLinkRequest const &
Returns
TypeDescription
Status