Network Services v1beta1 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 v1beta1 API class NetworkServices.NetworkServicesBase.

Base class for server-side implementations of NetworkServices

Inheritance

object > NetworkServices.NetworkServicesBase

Namespace

Google.Cloud.NetworkServices.V1Beta1

Assembly

Google.Cloud.NetworkServices.V1Beta1.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).

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).

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).

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).

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).