Class DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub>
com.google.cloud.networksecurity.v1beta1.DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub
- Enclosing class:
- DnsThreatDetectorServiceGrpc
public static final class DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service DnsThreatDetectorService.
The Network Security API for DNS Threat Detectors.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new DnsThreatDetector in a given project and location.com.google.protobuf.EmptyDeletes a single DnsThreatDetector.Gets the details of a single DnsThreatDetector.Lists DnsThreatDetectors in a given project and location.Updates a single DnsThreatDetector.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DnsThreatDetectorServiceGrpc.DnsThreatDetectorServiceBlockingV2Stub>
-
listDnsThreatDetectors
public ListDnsThreatDetectorsResponse listDnsThreatDetectors(ListDnsThreatDetectorsRequest request) throws io.grpc.StatusException Lists DnsThreatDetectors in a given project and location.
- Throws:
io.grpc.StatusException
-
getDnsThreatDetector
public DnsThreatDetector getDnsThreatDetector(GetDnsThreatDetectorRequest request) throws io.grpc.StatusException Gets the details of a single DnsThreatDetector.
- Throws:
io.grpc.StatusException
-
createDnsThreatDetector
public DnsThreatDetector createDnsThreatDetector(CreateDnsThreatDetectorRequest request) throws io.grpc.StatusException Creates a new DnsThreatDetector in a given project and location.
- Throws:
io.grpc.StatusException
-
updateDnsThreatDetector
public DnsThreatDetector updateDnsThreatDetector(UpdateDnsThreatDetectorRequest request) throws io.grpc.StatusException Updates a single DnsThreatDetector.
- Throws:
io.grpc.StatusException
-
deleteDnsThreatDetector
public com.google.protobuf.Empty deleteDnsThreatDetector(DeleteDnsThreatDetectorRequest request) throws io.grpc.StatusException Deletes a single DnsThreatDetector.
- Throws:
io.grpc.StatusException
-