public static final class DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub extends AbstractBlockingStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service DnsThreatDetectorService.
The Network Security API for DNS Threat Detectors.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createDnsThreatDetector(CreateDnsThreatDetectorRequest request)
public DnsThreatDetector createDnsThreatDetector(CreateDnsThreatDetectorRequest request)Creates a new DnsThreatDetector in a given project and location.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateDnsThreatDetectorRequest |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request)
public Empty deleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request)Deletes a single DnsThreatDetector.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteDnsThreatDetectorRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getDnsThreatDetector(GetDnsThreatDetectorRequest request)
public DnsThreatDetector getDnsThreatDetector(GetDnsThreatDetectorRequest request)Gets the details of a single DnsThreatDetector.
| Parameter | |
|---|---|
| Name | Description |
request |
GetDnsThreatDetectorRequest |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listDnsThreatDetectors(ListDnsThreatDetectorsRequest request)
public ListDnsThreatDetectorsResponse listDnsThreatDetectors(ListDnsThreatDetectorsRequest request)Lists DnsThreatDetectors in a given project and location.
| Parameter | |
|---|---|
| Name | Description |
request |
ListDnsThreatDetectorsRequest |
| Returns | |
|---|---|
| Type | Description |
ListDnsThreatDetectorsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateDnsThreatDetector(UpdateDnsThreatDetectorRequest request)
public DnsThreatDetector updateDnsThreatDetector(UpdateDnsThreatDetectorRequest request)Updates a single DnsThreatDetector.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateDnsThreatDetectorRequest |
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|