Network Services v1 API - Class NetworkServices.NetworkServicesBase (1.0.0-beta01)

[BindServiceMethod(typeof(NetworkServices), "BindService")]
public abstract class NetworkServices.NetworkServicesBase

Reference documentation and code samples for the Network Services v1 API class NetworkServices.NetworkServicesBase.

Base class for server-side implementations of NetworkServices

Inheritance

object > NetworkServices.NetworkServicesBase

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Methods

CreateEndpointPolicy(CreateEndpointPolicyRequest, ServerCallContext)

public virtual Task<Operation> CreateEndpointPolicy(CreateEndpointPolicyRequest request, ServerCallContext context)

Creates a new EndpointPolicy in a given project and location.

Parameters
Name Description
request CreateEndpointPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateGateway(CreateGatewayRequest, ServerCallContext)

public virtual Task<Operation> CreateGateway(CreateGatewayRequest request, ServerCallContext context)

Creates a new Gateway in a given project and location.

Parameters
Name Description
request CreateGatewayRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateGrpcRoute(CreateGrpcRouteRequest, ServerCallContext)

public virtual Task<Operation> CreateGrpcRoute(CreateGrpcRouteRequest request, ServerCallContext context)

Creates a new GrpcRoute in a given project and location.

Parameters
Name Description
request CreateGrpcRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateHttpRoute(CreateHttpRouteRequest, ServerCallContext)

public virtual Task<Operation> CreateHttpRoute(CreateHttpRouteRequest request, ServerCallContext context)

Creates a new HttpRoute in a given project and location.

Parameters
Name Description
request CreateHttpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateMesh(CreateMeshRequest, ServerCallContext)

public virtual Task<Operation> CreateMesh(CreateMeshRequest request, ServerCallContext context)

Creates a new Mesh in a given project and location.

Parameters
Name Description
request CreateMeshRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateServiceBinding(CreateServiceBindingRequest, ServerCallContext)

public virtual Task<Operation> CreateServiceBinding(CreateServiceBindingRequest request, ServerCallContext context)

Creates a new ServiceBinding in a given project and location.

Parameters
Name Description
request CreateServiceBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateTcpRoute(CreateTcpRouteRequest, ServerCallContext)

public virtual Task<Operation> CreateTcpRoute(CreateTcpRouteRequest request, ServerCallContext context)

Creates a new TcpRoute in a given project and location.

Parameters
Name Description
request CreateTcpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateTlsRoute(CreateTlsRouteRequest, ServerCallContext)

public virtual Task<Operation> CreateTlsRoute(CreateTlsRouteRequest request, ServerCallContext context)

Creates a new TlsRoute in a given project and location.

Parameters
Name Description
request CreateTlsRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteEndpointPolicy(DeleteEndpointPolicyRequest, ServerCallContext)

public virtual Task<Operation> DeleteEndpointPolicy(DeleteEndpointPolicyRequest request, ServerCallContext context)

Deletes a single EndpointPolicy.

Parameters
Name Description
request DeleteEndpointPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteGateway(DeleteGatewayRequest, ServerCallContext)

public virtual Task<Operation> DeleteGateway(DeleteGatewayRequest request, ServerCallContext context)

Deletes a single Gateway.

Parameters
Name Description
request DeleteGatewayRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteGrpcRoute(DeleteGrpcRouteRequest, ServerCallContext)

public virtual Task<Operation> DeleteGrpcRoute(DeleteGrpcRouteRequest request, ServerCallContext context)

Deletes a single GrpcRoute.

Parameters
Name Description
request DeleteGrpcRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteHttpRoute(DeleteHttpRouteRequest, ServerCallContext)

public virtual Task<Operation> DeleteHttpRoute(DeleteHttpRouteRequest request, ServerCallContext context)

Deletes a single HttpRoute.

Parameters
Name Description
request DeleteHttpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteMesh(DeleteMeshRequest, ServerCallContext)

public virtual Task<Operation> DeleteMesh(DeleteMeshRequest request, ServerCallContext context)

Deletes a single Mesh.

Parameters
Name Description
request DeleteMeshRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteServiceBinding(DeleteServiceBindingRequest, ServerCallContext)

public virtual Task<Operation> DeleteServiceBinding(DeleteServiceBindingRequest request, ServerCallContext context)

Deletes a single ServiceBinding.

Parameters
Name Description
request DeleteServiceBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteTcpRoute(DeleteTcpRouteRequest, ServerCallContext)

public virtual Task<Operation> DeleteTcpRoute(DeleteTcpRouteRequest request, ServerCallContext context)

Deletes a single TcpRoute.

Parameters
Name Description
request DeleteTcpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteTlsRoute(DeleteTlsRouteRequest, ServerCallContext)

public virtual Task<Operation> DeleteTlsRoute(DeleteTlsRouteRequest request, ServerCallContext context)

Deletes a single TlsRoute.

Parameters
Name Description
request DeleteTlsRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetEndpointPolicy(GetEndpointPolicyRequest, ServerCallContext)

public virtual Task<EndpointPolicy> GetEndpointPolicy(GetEndpointPolicyRequest request, ServerCallContext context)

Gets details of a single EndpointPolicy.

Parameters
Name Description
request GetEndpointPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEndpointPolicy

The response to send back to the client (wrapped by a task).

GetGateway(GetGatewayRequest, ServerCallContext)

public virtual Task<Gateway> GetGateway(GetGatewayRequest request, ServerCallContext context)

Gets details of a single Gateway.

Parameters
Name Description
request GetGatewayRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGateway

The response to send back to the client (wrapped by a task).

GetGrpcRoute(GetGrpcRouteRequest, ServerCallContext)

public virtual Task<GrpcRoute> GetGrpcRoute(GetGrpcRouteRequest request, ServerCallContext context)

Gets details of a single GrpcRoute.

Parameters
Name Description
request GetGrpcRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGrpcRoute

The response to send back to the client (wrapped by a task).

GetHttpRoute(GetHttpRouteRequest, ServerCallContext)

public virtual Task<HttpRoute> GetHttpRoute(GetHttpRouteRequest request, ServerCallContext context)

Gets details of a single HttpRoute.

Parameters
Name Description
request GetHttpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHttpRoute

The response to send back to the client (wrapped by a task).

GetMesh(GetMeshRequest, ServerCallContext)

public virtual Task<Mesh> GetMesh(GetMeshRequest request, ServerCallContext context)

Gets details of a single Mesh.

Parameters
Name Description
request GetMeshRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskMesh

The response to send back to the client (wrapped by a task).

GetServiceBinding(GetServiceBindingRequest, ServerCallContext)

public virtual Task<ServiceBinding> GetServiceBinding(GetServiceBindingRequest request, ServerCallContext context)

Gets details of a single ServiceBinding.

Parameters
Name Description
request GetServiceBindingRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskServiceBinding

The response to send back to the client (wrapped by a task).

GetTcpRoute(GetTcpRouteRequest, ServerCallContext)

public virtual Task<TcpRoute> GetTcpRoute(GetTcpRouteRequest request, ServerCallContext context)

Gets details of a single TcpRoute.

Parameters
Name Description
request GetTcpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTcpRoute

The response to send back to the client (wrapped by a task).

GetTlsRoute(GetTlsRouteRequest, ServerCallContext)

public virtual Task<TlsRoute> GetTlsRoute(GetTlsRouteRequest request, ServerCallContext context)

Gets details of a single TlsRoute.

Parameters
Name Description
request GetTlsRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTlsRoute

The response to send back to the client (wrapped by a task).

ListEndpointPolicies(ListEndpointPoliciesRequest, ServerCallContext)

public virtual Task<ListEndpointPoliciesResponse> ListEndpointPolicies(ListEndpointPoliciesRequest request, ServerCallContext context)

Lists EndpointPolicies in a given project and location.

Parameters
Name Description
request ListEndpointPoliciesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListEndpointPoliciesResponse

The response to send back to the client (wrapped by a task).

ListGateways(ListGatewaysRequest, ServerCallContext)

public virtual Task<ListGatewaysResponse> ListGateways(ListGatewaysRequest request, ServerCallContext context)

Lists Gateways in a given project and location.

Parameters
Name Description
request ListGatewaysRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListGatewaysResponse

The response to send back to the client (wrapped by a task).

ListGrpcRoutes(ListGrpcRoutesRequest, ServerCallContext)

public virtual Task<ListGrpcRoutesResponse> ListGrpcRoutes(ListGrpcRoutesRequest request, ServerCallContext context)

Lists GrpcRoutes in a given project and location.

Parameters
Name Description
request ListGrpcRoutesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListGrpcRoutesResponse

The response to send back to the client (wrapped by a task).

ListHttpRoutes(ListHttpRoutesRequest, ServerCallContext)

public virtual Task<ListHttpRoutesResponse> ListHttpRoutes(ListHttpRoutesRequest request, ServerCallContext context)

Lists HttpRoute in a given project and location.

Parameters
Name Description
request ListHttpRoutesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListHttpRoutesResponse

The response to send back to the client (wrapped by a task).

ListMeshes(ListMeshesRequest, ServerCallContext)

public virtual Task<ListMeshesResponse> ListMeshes(ListMeshesRequest request, ServerCallContext context)

Lists Meshes in a given project and location.

Parameters
Name Description
request ListMeshesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListMeshesResponse

The response to send back to the client (wrapped by a task).

ListServiceBindings(ListServiceBindingsRequest, ServerCallContext)

public virtual Task<ListServiceBindingsResponse> ListServiceBindings(ListServiceBindingsRequest request, ServerCallContext context)

Lists ServiceBinding in a given project and location.

Parameters
Name Description
request ListServiceBindingsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListServiceBindingsResponse

The response to send back to the client (wrapped by a task).

ListTcpRoutes(ListTcpRoutesRequest, ServerCallContext)

public virtual Task<ListTcpRoutesResponse> ListTcpRoutes(ListTcpRoutesRequest request, ServerCallContext context)

Lists TcpRoute in a given project and location.

Parameters
Name Description
request ListTcpRoutesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListTcpRoutesResponse

The response to send back to the client (wrapped by a task).

ListTlsRoutes(ListTlsRoutesRequest, ServerCallContext)

public virtual Task<ListTlsRoutesResponse> ListTlsRoutes(ListTlsRoutesRequest request, ServerCallContext context)

Lists TlsRoute in a given project and location.

Parameters
Name Description
request ListTlsRoutesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListTlsRoutesResponse

The response to send back to the client (wrapped by a task).

UpdateEndpointPolicy(UpdateEndpointPolicyRequest, ServerCallContext)

public virtual Task<Operation> UpdateEndpointPolicy(UpdateEndpointPolicyRequest request, ServerCallContext context)

Updates the parameters of a single EndpointPolicy.

Parameters
Name Description
request UpdateEndpointPolicyRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateGateway(UpdateGatewayRequest, ServerCallContext)

public virtual Task<Operation> UpdateGateway(UpdateGatewayRequest request, ServerCallContext context)

Updates the parameters of a single Gateway.

Parameters
Name Description
request UpdateGatewayRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateGrpcRoute(UpdateGrpcRouteRequest, ServerCallContext)

public virtual Task<Operation> UpdateGrpcRoute(UpdateGrpcRouteRequest request, ServerCallContext context)

Updates the parameters of a single GrpcRoute.

Parameters
Name Description
request UpdateGrpcRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateHttpRoute(UpdateHttpRouteRequest, ServerCallContext)

public virtual Task<Operation> UpdateHttpRoute(UpdateHttpRouteRequest request, ServerCallContext context)

Updates the parameters of a single HttpRoute.

Parameters
Name Description
request UpdateHttpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateMesh(UpdateMeshRequest, ServerCallContext)

public virtual Task<Operation> UpdateMesh(UpdateMeshRequest request, ServerCallContext context)

Updates the parameters of a single Mesh.

Parameters
Name Description
request UpdateMeshRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateTcpRoute(UpdateTcpRouteRequest, ServerCallContext)

public virtual Task<Operation> UpdateTcpRoute(UpdateTcpRouteRequest request, ServerCallContext context)

Updates the parameters of a single TcpRoute.

Parameters
Name Description
request UpdateTcpRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateTlsRoute(UpdateTlsRouteRequest, ServerCallContext)

public virtual Task<Operation> UpdateTlsRoute(UpdateTlsRouteRequest request, ServerCallContext context)

Updates the parameters of a single TlsRoute.

Parameters
Name Description
request UpdateTlsRouteRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).