Network Security v1beta1 API - Class DnsThreatDetectorServiceClientImpl (2.0.0-beta08)

public sealed class DnsThreatDetectorServiceClientImpl : DnsThreatDetectorServiceClient

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

DnsThreatDetectorService client wrapper implementation, for convenient use.

Inheritance

object > DnsThreatDetectorServiceClient > DnsThreatDetectorServiceClientImpl

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

Google.Cloud.NetworkSecurity.V1Beta1.dll

Remarks

The Network Security API for DNS Threat Detectors.

Constructors

DnsThreatDetectorServiceClientImpl(DnsThreatDetectorServiceClient, DnsThreatDetectorServiceSettings, ILogger)

public DnsThreatDetectorServiceClientImpl(DnsThreatDetectorService.DnsThreatDetectorServiceClient grpcClient, DnsThreatDetectorServiceSettings settings, ILogger logger)

Constructs a client wrapper for the DnsThreatDetectorService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient DnsThreatDetectorServiceDnsThreatDetectorServiceClient

The underlying gRPC client.

settings DnsThreatDetectorServiceSettings

The base DnsThreatDetectorServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override DnsThreatDetectorService.DnsThreatDetectorServiceClient GrpcClient { get; }

The underlying gRPC DnsThreatDetectorService client

Property Value
Type Description
DnsThreatDetectorServiceDnsThreatDetectorServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateDnsThreatDetector(CreateDnsThreatDetectorRequest, CallSettings)

public override DnsThreatDetector CreateDnsThreatDetector(CreateDnsThreatDetectorRequest request, CallSettings callSettings = null)

Creates a new DnsThreatDetector in a given project and location.

Parameters
Name Description
request CreateDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsThreatDetector

The RPC response.

Overrides

CreateDnsThreatDetectorAsync(CreateDnsThreatDetectorRequest, CallSettings)

public override Task<DnsThreatDetector> CreateDnsThreatDetectorAsync(CreateDnsThreatDetectorRequest request, CallSettings callSettings = null)

Creates a new DnsThreatDetector in a given project and location.

Parameters
Name Description
request CreateDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsThreatDetector

A Task containing the RPC response.

Overrides

DeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest, CallSettings)

public override void DeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request, CallSettings callSettings = null)

Deletes a single DnsThreatDetector.

Parameters
Name Description
request DeleteDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteDnsThreatDetectorAsync(DeleteDnsThreatDetectorRequest, CallSettings)

public override Task DeleteDnsThreatDetectorAsync(DeleteDnsThreatDetectorRequest request, CallSettings callSettings = null)

Deletes a single DnsThreatDetector.

Parameters
Name Description
request DeleteDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetDnsThreatDetector(GetDnsThreatDetectorRequest, CallSettings)

public override DnsThreatDetector GetDnsThreatDetector(GetDnsThreatDetectorRequest request, CallSettings callSettings = null)

Gets the details of a single DnsThreatDetector.

Parameters
Name Description
request GetDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsThreatDetector

The RPC response.

Overrides

GetDnsThreatDetectorAsync(GetDnsThreatDetectorRequest, CallSettings)

public override Task<DnsThreatDetector> GetDnsThreatDetectorAsync(GetDnsThreatDetectorRequest request, CallSettings callSettings = null)

Gets the details of a single DnsThreatDetector.

Parameters
Name Description
request GetDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsThreatDetector

A Task containing the RPC response.

Overrides

ListDnsThreatDetectors(ListDnsThreatDetectorsRequest, CallSettings)

public override PagedEnumerable<ListDnsThreatDetectorsResponse, DnsThreatDetector> ListDnsThreatDetectors(ListDnsThreatDetectorsRequest request, CallSettings callSettings = null)

Lists DnsThreatDetectors in a given project and location.

Parameters
Name Description
request ListDnsThreatDetectorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListDnsThreatDetectorsResponseDnsThreatDetector

A pageable sequence of DnsThreatDetector resources.

Overrides

ListDnsThreatDetectorsAsync(ListDnsThreatDetectorsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDnsThreatDetectorsResponse, DnsThreatDetector> ListDnsThreatDetectorsAsync(ListDnsThreatDetectorsRequest request, CallSettings callSettings = null)

Lists DnsThreatDetectors in a given project and location.

Parameters
Name Description
request ListDnsThreatDetectorsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListDnsThreatDetectorsResponseDnsThreatDetector

A pageable asynchronous sequence of DnsThreatDetector resources.

Overrides

UpdateDnsThreatDetector(UpdateDnsThreatDetectorRequest, CallSettings)

public override DnsThreatDetector UpdateDnsThreatDetector(UpdateDnsThreatDetectorRequest request, CallSettings callSettings = null)

Updates a single DnsThreatDetector.

Parameters
Name Description
request UpdateDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DnsThreatDetector

The RPC response.

Overrides

UpdateDnsThreatDetectorAsync(UpdateDnsThreatDetectorRequest, CallSettings)

public override Task<DnsThreatDetector> UpdateDnsThreatDetectorAsync(UpdateDnsThreatDetectorRequest request, CallSettings callSettings = null)

Updates a single DnsThreatDetector.

Parameters
Name Description
request UpdateDnsThreatDetectorRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDnsThreatDetector

A Task containing the RPC response.

Overrides