Class InterconnectAttachmentsConnection (2.20.0)

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)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::AggregatedListInterconnectAttachmentsRequest
Returns
Type Description
StreamRange< std::pair< std::string, google::cloud::cpp::compute::v1::InterconnectAttachmentsScopedList > >

virtual DeleteInterconnectAttachment(google::cloud::cpp::compute::interconnect_attachments::v1::DeleteInterconnectAttachmentRequest const &)

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

virtual GetInterconnectAttachment(google::cloud::cpp::compute::interconnect_attachments::v1::GetInterconnectAttachmentRequest const &)

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

virtual InsertInterconnectAttachment(google::cloud::cpp::compute::interconnect_attachments::v1::InsertInterconnectAttachmentRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::InsertInterconnectAttachmentRequest 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 PatchInterconnectAttachment(google::cloud::cpp::compute::interconnect_attachments::v1::PatchInterconnectAttachmentRequest const &)

Parameter
Name Description
request google::cloud::cpp::compute::interconnect_attachments::v1::PatchInterconnectAttachmentRequest 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 > >