Class CaseAttachmentServiceConnection (2.33.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::support::v2::ListAttachmentsRequest
Returns
Type Description
StreamRange< google::cloud::support::v2::Attachment >