Class NetworkServicesConnection (2.29.0-rc)

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

To create a concrete instance, see MakeNetworkServicesConnection().

For mocking, see networkservices_v1_mocks::MockNetworkServicesConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListEndpointPolicies(google::cloud::networkservices::v1::ListEndpointPoliciesRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListEndpointPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::EndpointPolicy >

virtual GetEndpointPolicy(google::cloud::networkservices::v1::GetEndpointPolicyRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetEndpointPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::EndpointPolicy >

virtual CreateEndpointPolicy(google::cloud::networkservices::v1::CreateEndpointPolicyRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateEndpointPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::EndpointPolicy > >

virtual CreateEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::CreateEndpointPolicyRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateEndpointPolicyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateEndpointPolicy(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::EndpointPolicy > >

virtual UpdateEndpointPolicy(google::cloud::networkservices::v1::UpdateEndpointPolicyRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateEndpointPolicyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::EndpointPolicy > >

virtual UpdateEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::UpdateEndpointPolicyRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateEndpointPolicyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateEndpointPolicy(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::EndpointPolicy > >

virtual DeleteEndpointPolicy(google::cloud::networkservices::v1::DeleteEndpointPolicyRequest const &)

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

virtual DeleteEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::DeleteEndpointPolicyRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteEndpointPolicyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteEndpointPolicy(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListGateways(google::cloud::networkservices::v1::ListGatewaysRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListGatewaysRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::Gateway >

virtual GetGateway(google::cloud::networkservices::v1::GetGatewayRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetGatewayRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::Gateway >

virtual CreateGateway(google::cloud::networkservices::v1::CreateGatewayRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateGatewayRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Gateway > >

virtual CreateGateway(NoAwaitTag, google::cloud::networkservices::v1::CreateGatewayRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateGatewayRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateGateway(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Gateway > >

virtual UpdateGateway(google::cloud::networkservices::v1::UpdateGatewayRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateGatewayRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Gateway > >

virtual UpdateGateway(NoAwaitTag, google::cloud::networkservices::v1::UpdateGatewayRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateGatewayRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateGateway(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Gateway > >

virtual DeleteGateway(google::cloud::networkservices::v1::DeleteGatewayRequest const &)

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

virtual DeleteGateway(NoAwaitTag, google::cloud::networkservices::v1::DeleteGatewayRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteGatewayRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteGateway(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListGrpcRoutes(google::cloud::networkservices::v1::ListGrpcRoutesRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListGrpcRoutesRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::GrpcRoute >

virtual GetGrpcRoute(google::cloud::networkservices::v1::GetGrpcRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetGrpcRouteRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::GrpcRoute >

virtual CreateGrpcRoute(google::cloud::networkservices::v1::CreateGrpcRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateGrpcRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::GrpcRoute > >

virtual CreateGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateGrpcRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateGrpcRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateGrpcRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::GrpcRoute > >

virtual UpdateGrpcRoute(google::cloud::networkservices::v1::UpdateGrpcRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateGrpcRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::GrpcRoute > >

virtual UpdateGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateGrpcRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateGrpcRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateGrpcRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::GrpcRoute > >

virtual DeleteGrpcRoute(google::cloud::networkservices::v1::DeleteGrpcRouteRequest const &)

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

virtual DeleteGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteGrpcRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteGrpcRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteGrpcRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListHttpRoutes(google::cloud::networkservices::v1::ListHttpRoutesRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListHttpRoutesRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::HttpRoute >

virtual GetHttpRoute(google::cloud::networkservices::v1::GetHttpRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetHttpRouteRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::HttpRoute >

virtual CreateHttpRoute(google::cloud::networkservices::v1::CreateHttpRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateHttpRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::HttpRoute > >

virtual CreateHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateHttpRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateHttpRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateHttpRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::HttpRoute > >

virtual UpdateHttpRoute(google::cloud::networkservices::v1::UpdateHttpRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateHttpRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::HttpRoute > >

virtual UpdateHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateHttpRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateHttpRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateHttpRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::HttpRoute > >

virtual DeleteHttpRoute(google::cloud::networkservices::v1::DeleteHttpRouteRequest const &)

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

virtual DeleteHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteHttpRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteHttpRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteHttpRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListTcpRoutes(google::cloud::networkservices::v1::ListTcpRoutesRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListTcpRoutesRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::TcpRoute >

virtual GetTcpRoute(google::cloud::networkservices::v1::GetTcpRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetTcpRouteRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::TcpRoute >

virtual CreateTcpRoute(google::cloud::networkservices::v1::CreateTcpRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateTcpRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TcpRoute > >

virtual CreateTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateTcpRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateTcpRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateTcpRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TcpRoute > >

virtual UpdateTcpRoute(google::cloud::networkservices::v1::UpdateTcpRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateTcpRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TcpRoute > >

virtual UpdateTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateTcpRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateTcpRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateTcpRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TcpRoute > >

virtual DeleteTcpRoute(google::cloud::networkservices::v1::DeleteTcpRouteRequest const &)

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

virtual DeleteTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteTcpRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteTcpRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteTcpRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListTlsRoutes(google::cloud::networkservices::v1::ListTlsRoutesRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListTlsRoutesRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::TlsRoute >

virtual GetTlsRoute(google::cloud::networkservices::v1::GetTlsRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetTlsRouteRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::TlsRoute >

virtual CreateTlsRoute(google::cloud::networkservices::v1::CreateTlsRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateTlsRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TlsRoute > >

virtual CreateTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateTlsRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateTlsRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateTlsRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TlsRoute > >

virtual UpdateTlsRoute(google::cloud::networkservices::v1::UpdateTlsRouteRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateTlsRouteRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TlsRoute > >

virtual UpdateTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateTlsRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateTlsRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateTlsRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::TlsRoute > >

virtual DeleteTlsRoute(google::cloud::networkservices::v1::DeleteTlsRouteRequest const &)

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

virtual DeleteTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteTlsRouteRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteTlsRouteRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteTlsRoute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListServiceBindings(google::cloud::networkservices::v1::ListServiceBindingsRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListServiceBindingsRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::ServiceBinding >

virtual GetServiceBinding(google::cloud::networkservices::v1::GetServiceBindingRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetServiceBindingRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::ServiceBinding >

virtual CreateServiceBinding(google::cloud::networkservices::v1::CreateServiceBindingRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateServiceBindingRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::ServiceBinding > >

virtual CreateServiceBinding(NoAwaitTag, google::cloud::networkservices::v1::CreateServiceBindingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateServiceBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateServiceBinding(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::ServiceBinding > >

virtual DeleteServiceBinding(google::cloud::networkservices::v1::DeleteServiceBindingRequest const &)

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

virtual DeleteServiceBinding(NoAwaitTag, google::cloud::networkservices::v1::DeleteServiceBindingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteServiceBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteServiceBinding(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >

virtual ListMeshes(google::cloud::networkservices::v1::ListMeshesRequest)

Parameter
Name Description
request google::cloud::networkservices::v1::ListMeshesRequest
Returns
Type Description
StreamRange< google::cloud::networkservices::v1::Mesh >

virtual GetMesh(google::cloud::networkservices::v1::GetMeshRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::GetMeshRequest const &
Returns
Type Description
StatusOr< google::cloud::networkservices::v1::Mesh >

virtual CreateMesh(google::cloud::networkservices::v1::CreateMeshRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::CreateMeshRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Mesh > >

virtual CreateMesh(NoAwaitTag, google::cloud::networkservices::v1::CreateMeshRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::CreateMeshRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateMesh(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Mesh > >

virtual UpdateMesh(google::cloud::networkservices::v1::UpdateMeshRequest const &)

Parameter
Name Description
request google::cloud::networkservices::v1::UpdateMeshRequest const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Mesh > >

virtual UpdateMesh(NoAwaitTag, google::cloud::networkservices::v1::UpdateMeshRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::UpdateMeshRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateMesh(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::Mesh > >

virtual DeleteMesh(google::cloud::networkservices::v1::DeleteMeshRequest const &)

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

virtual DeleteMesh(NoAwaitTag, google::cloud::networkservices::v1::DeleteMeshRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::networkservices::v1::DeleteMeshRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteMesh(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > >