Class CaseAttachmentServiceConnection (2.23.0-rc)

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

To create a concrete instance, see MakeCaseAttachmentServiceConnection().

For mocking, see support_v2_mocks::MockCaseAttachmentServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListAttachments(google::cloud::support::v2::ListAttachmentsRequest)

Parameter
NameDescription
request google::cloud::support::v2::ListAttachmentsRequest
Returns
TypeDescription
StreamRange< google::cloud::support::v2::Attachment >