Class InterconnectAttachmentsConnection (2.15.1)

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

To create a concrete instance, see MakeInterconnectAttachmentsConnection().

For mocking, see compute_interconnect_attachments_v1_mocks::MockInterconnectAttachmentsConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual AggregatedListInterconnectAttachments(google::cloud::cpp::compute::interconnect_attachments::v1::AggregatedListInterconnectAttachmentsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::AggregatedListInterconnectAttachmentsRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::InterconnectAttachmentAggregatedList >

virtual DeleteInterconnectAttachments(google::cloud::cpp::compute::interconnect_attachments::v1::DeleteInterconnectAttachmentsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::DeleteInterconnectAttachmentsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual GetInterconnectAttachments(google::cloud::cpp::compute::interconnect_attachments::v1::GetInterconnectAttachmentsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::GetInterconnectAttachmentsRequest const &
Returns
Type Description
StatusOr< google::cloud::cpp::compute::v1::InterconnectAttachment >

virtual InsertInterconnectAttachments(google::cloud::cpp::compute::interconnect_attachments::v1::InsertInterconnectAttachmentsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::InsertInterconnectAttachmentsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual ListInterconnectAttachments(google::cloud::cpp::compute::interconnect_attachments::v1::ListInterconnectAttachmentsRequest)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::ListInterconnectAttachmentsRequest
Returns
Type Description
StreamRange< google::cloud::cpp::compute::v1::InterconnectAttachment >

virtual PatchInterconnectAttachments(google::cloud::cpp::compute::interconnect_attachments::v1::PatchInterconnectAttachmentsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::PatchInterconnectAttachmentsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

virtual SetLabels(google::cloud::cpp::compute::interconnect_attachments::v1::SetLabelsRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::SetLabelsRequest const &
Returns
Type Description
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >