public sealed class DnsThreatDetectorServiceClientImpl : DnsThreatDetectorServiceClientReference documentation and code samples for the Network Security v1beta1 API class DnsThreatDetectorServiceClientImpl.
DnsThreatDetectorService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
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 |
DnsThreatDetectorServiceDnsThreatDetectorServiceClientThe underlying gRPC client. |
settings |
DnsThreatDetectorServiceSettingsThe base DnsThreatDetectorServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override DnsThreatDetectorService.DnsThreatDetectorServiceClient GrpcClient { get; }The underlying gRPC DnsThreatDetectorService client
| Property Value | |
|---|---|
| Type | Description |
DnsThreatDetectorServiceDnsThreatDetectorServiceClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
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 |
CreateDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector |
The RPC response. |
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 |
CreateDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDnsThreatDetector |
A Task containing the RPC response. |
DeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest, CallSettings)
public override void DeleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request, CallSettings callSettings = null)Deletes a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteDnsThreatDetectorAsync(DeleteDnsThreatDetectorRequest, CallSettings)
public override Task DeleteDnsThreatDetectorAsync(DeleteDnsThreatDetectorRequest request, CallSettings callSettings = null)Deletes a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetDnsThreatDetector(GetDnsThreatDetectorRequest, CallSettings)
public override DnsThreatDetector GetDnsThreatDetector(GetDnsThreatDetectorRequest request, CallSettings callSettings = null)Gets the details of a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector |
The RPC response. |
GetDnsThreatDetectorAsync(GetDnsThreatDetectorRequest, CallSettings)
public override Task<DnsThreatDetector> GetDnsThreatDetectorAsync(GetDnsThreatDetectorRequest request, CallSettings callSettings = null)Gets the details of a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDnsThreatDetector |
A Task containing the RPC response. |
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 |
ListDnsThreatDetectorsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDnsThreatDetectorsResponseDnsThreatDetector |
A pageable sequence of DnsThreatDetector resources. |
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 |
ListDnsThreatDetectorsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDnsThreatDetectorsResponseDnsThreatDetector |
A pageable asynchronous sequence of DnsThreatDetector resources. |
UpdateDnsThreatDetector(UpdateDnsThreatDetectorRequest, CallSettings)
public override DnsThreatDetector UpdateDnsThreatDetector(UpdateDnsThreatDetectorRequest request, CallSettings callSettings = null)Updates a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector |
The RPC response. |
UpdateDnsThreatDetectorAsync(UpdateDnsThreatDetectorRequest, CallSettings)
public override Task<DnsThreatDetector> UpdateDnsThreatDetectorAsync(UpdateDnsThreatDetectorRequest request, CallSettings callSettings = null)Updates a single DnsThreatDetector.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDnsThreatDetectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDnsThreatDetector |
A Task containing the RPC response. |