[BindServiceMethod(typeof(DnsThreatDetectorService), "BindService")]
public abstract class DnsThreatDetectorService.DnsThreatDetectorServiceBaseReference documentation and code samples for the Network Security v1beta1 API class DnsThreatDetectorService.DnsThreatDetectorServiceBase.
Base class for server-side implementations of DnsThreatDetectorService
Namespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
Google.Cloud.NetworkSecurity.V1Beta1.dll
Methods
CreateDnsThreatDetector(CreateDnsThreatDetectorRequest, ServerCallContext)
public virtual Task<DnsThreatDetector> CreateDnsThreatDetector(CreateDnsThreatDetectorRequest request, ServerCallContext context)Creates a new DnsThreatDetector in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDnsThreatDetectorRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDnsThreatDetector |
The response to send back to the client (wrapped by a task). |
DeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest, ServerCallContext)
public virtual Task<Empty> DeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request, ServerCallContext context)Deletes a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDnsThreatDetectorRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
GetDnsThreatDetector(GetDnsThreatDetectorRequest, ServerCallContext)
public virtual Task<DnsThreatDetector> GetDnsThreatDetector(GetDnsThreatDetectorRequest request, ServerCallContext context)Gets the details of a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDnsThreatDetectorRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDnsThreatDetector |
The response to send back to the client (wrapped by a task). |
ListDnsThreatDetectors(ListDnsThreatDetectorsRequest, ServerCallContext)
public virtual Task<ListDnsThreatDetectorsResponse> ListDnsThreatDetectors(ListDnsThreatDetectorsRequest request, ServerCallContext context)Lists DnsThreatDetectors in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDnsThreatDetectorsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListDnsThreatDetectorsResponse |
The response to send back to the client (wrapped by a task). |
UpdateDnsThreatDetector(UpdateDnsThreatDetectorRequest, ServerCallContext)
public virtual Task<DnsThreatDetector> UpdateDnsThreatDetector(UpdateDnsThreatDetectorRequest request, ServerCallContext context)Updates a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDnsThreatDetectorRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDnsThreatDetector |
The response to send back to the client (wrapped by a task). |