Class SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub>
com.google.protos.google.cloud.binaryauthorization.v1.SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub
- Enclosing class:
- SystemPolicyV1Grpc
public static final class SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1.
API for working with the system policy.
-
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) Gets the current system policy in the specified location.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 SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SystemPolicyV1Grpc.SystemPolicyV1BlockingV2Stub>
-
getSystemPolicy
public Resources.Policy getSystemPolicy(Service.GetSystemPolicyRequest request) throws io.grpc.StatusException Gets the current system policy in the specified location.
- Throws:
io.grpc.StatusException
-