Network Security v1beta1 API - Class DnsThreatDetectorService.DnsThreatDetectorServiceBase (2.0.0-beta08)

[BindServiceMethod(typeof(DnsThreatDetectorService), "BindService")]
public abstract class DnsThreatDetectorService.DnsThreatDetectorServiceBase

Reference documentation and code samples for the Network Security v1beta1 API class DnsThreatDetectorService.DnsThreatDetectorServiceBase.

Base class for server-side implementations of DnsThreatDetectorService

Inheritance

object > DnsThreatDetectorService.DnsThreatDetectorServiceBase

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

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 CreateDnsThreatDetectorRequest

The request received from the client.

context ServerCallContext

The 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 DeleteDnsThreatDetectorRequest

The request received from the client.

context ServerCallContext

The 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 GetDnsThreatDetectorRequest

The request received from the client.

context ServerCallContext

The 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 ListDnsThreatDetectorsRequest

The request received from the client.

context ServerCallContext

The 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 UpdateDnsThreatDetectorRequest

The request received from the client.

context ServerCallContext

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