Class EdgeNetworkConnection (2.27.0-rc)

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

To create a concrete instance, see MakeEdgeNetworkConnection().

For mocking, see edgenetwork_v1_mocks::MockEdgeNetworkConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual InitializeZone(google::cloud::edgenetwork::v1::InitializeZoneRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::InitializeZoneRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::InitializeZoneResponse >

virtual ListZones(google::cloud::edgenetwork::v1::ListZonesRequest)

Parameter
Name Description
request google::cloud::edgenetwork::v1::ListZonesRequest
Returns
Type Description
StreamRange< google::cloud::edgenetwork::v1::Zone >

virtual GetZone(google::cloud::edgenetwork::v1::GetZoneRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::GetZoneRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::Zone >

virtual ListNetworks(google::cloud::edgenetwork::v1::ListNetworksRequest)

Parameter
Name Description
request google::cloud::edgenetwork::v1::ListNetworksRequest
Returns
Type Description
StreamRange< google::cloud::edgenetwork::v1::Network >

virtual GetNetwork(google::cloud::edgenetwork::v1::GetNetworkRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::GetNetworkRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::Network >

virtual DiagnoseNetwork(google::cloud::edgenetwork::v1::DiagnoseNetworkRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DiagnoseNetworkRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::DiagnoseNetworkResponse >

virtual CreateNetwork(google::cloud::edgenetwork::v1::CreateNetworkRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::CreateNetworkRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Network > >

virtual CreateNetwork(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::CreateNetworkRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::CreateNetworkRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateNetwork(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Network > >

virtual DeleteNetwork(google::cloud::edgenetwork::v1::DeleteNetworkRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DeleteNetworkRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual DeleteNetwork(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::DeleteNetworkRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::DeleteNetworkRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteNetwork(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual ListSubnets(google::cloud::edgenetwork::v1::ListSubnetsRequest)

Parameter
Name Description
request google::cloud::edgenetwork::v1::ListSubnetsRequest
Returns
Type Description
StreamRange< google::cloud::edgenetwork::v1::Subnet >

virtual GetSubnet(google::cloud::edgenetwork::v1::GetSubnetRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::GetSubnetRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::Subnet >

virtual CreateSubnet(google::cloud::edgenetwork::v1::CreateSubnetRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::CreateSubnetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > >

virtual CreateSubnet(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::CreateSubnetRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::CreateSubnetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateSubnet(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > >

virtual UpdateSubnet(google::cloud::edgenetwork::v1::UpdateSubnetRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::UpdateSubnetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > >

virtual UpdateSubnet(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::UpdateSubnetRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::UpdateSubnetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateSubnet(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Subnet > >

virtual DeleteSubnet(google::cloud::edgenetwork::v1::DeleteSubnetRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DeleteSubnetRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual DeleteSubnet(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::DeleteSubnetRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::DeleteSubnetRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteSubnet(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual ListInterconnects(google::cloud::edgenetwork::v1::ListInterconnectsRequest)

Parameter
Name Description
request google::cloud::edgenetwork::v1::ListInterconnectsRequest
Returns
Type Description
StreamRange< google::cloud::edgenetwork::v1::Interconnect >

virtual GetInterconnect(google::cloud::edgenetwork::v1::GetInterconnectRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::GetInterconnectRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::Interconnect >

virtual DiagnoseInterconnect(google::cloud::edgenetwork::v1::DiagnoseInterconnectRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DiagnoseInterconnectRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::DiagnoseInterconnectResponse >

virtual ListInterconnectAttachments(google::cloud::edgenetwork::v1::ListInterconnectAttachmentsRequest)

Parameter
Name Description
request google::cloud::edgenetwork::v1::ListInterconnectAttachmentsRequest
Returns
Type Description
StreamRange< google::cloud::edgenetwork::v1::InterconnectAttachment >

virtual GetInterconnectAttachment(google::cloud::edgenetwork::v1::GetInterconnectAttachmentRequest const &)

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

virtual CreateInterconnectAttachment(google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > >

virtual CreateInterconnectAttachment(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::CreateInterconnectAttachmentRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateInterconnectAttachment(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::InterconnectAttachment > >

virtual DeleteInterconnectAttachment(google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual DeleteInterconnectAttachment(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::DeleteInterconnectAttachmentRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteInterconnectAttachment(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual ListRouters(google::cloud::edgenetwork::v1::ListRoutersRequest)

Parameter
Name Description
request google::cloud::edgenetwork::v1::ListRoutersRequest
Returns
Type Description
StreamRange< google::cloud::edgenetwork::v1::Router >

virtual GetRouter(google::cloud::edgenetwork::v1::GetRouterRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::GetRouterRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::Router >

virtual DiagnoseRouter(google::cloud::edgenetwork::v1::DiagnoseRouterRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DiagnoseRouterRequest const &
Returns
Type Description
StatusOr< google::cloud::edgenetwork::v1::DiagnoseRouterResponse >

virtual CreateRouter(google::cloud::edgenetwork::v1::CreateRouterRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::CreateRouterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Router > >

virtual CreateRouter(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::CreateRouterRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::CreateRouterRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateRouter(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Router > >

virtual UpdateRouter(google::cloud::edgenetwork::v1::UpdateRouterRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::UpdateRouterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Router > >

virtual UpdateRouter(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::UpdateRouterRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::UpdateRouterRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateRouter(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::Router > >

virtual DeleteRouter(google::cloud::edgenetwork::v1::DeleteRouterRequest const &)

Parameter
Name Description
request google::cloud::edgenetwork::v1::DeleteRouterRequest const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >

virtual DeleteRouter(ExperimentalTag, NoAwaitTag, google::cloud::edgenetwork::v1::DeleteRouterRequest const &)

Parameters
Name Description
ExperimentalTag
NoAwaitTag
request google::cloud::edgenetwork::v1::DeleteRouterRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteRouter(ExperimentalTag, google::longrunning::Operation const &)

Parameters
Name Description
ExperimentalTag
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::edgenetwork::v1::OperationMetadata > >