[BindServiceMethod(typeof(NetworkServices), "BindService")]
public abstract class NetworkServices.NetworkServicesBaseReference documentation and code samples for the Network Services v1beta1 API class NetworkServices.NetworkServicesBase.
Base class for server-side implementations of NetworkServices
Namespace
Google.Cloud.NetworkServices.V1Beta1Assembly
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 |
CreateEndpointPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteEndpointPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetEndpointPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListEndpointPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateEndpointPolicyRequestThe request received from the client. |
context |
ServerCallContextThe 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). |