public static final class SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub extends AbstractAsyncStub<SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub>
A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1Beta1.
API for working with the system policy.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1StubMethods
build(Channel channel, CallOptions callOptions)
protected SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
getSystemPolicy(GetSystemPolicyRequest request, StreamObserver<Policy> responseObserver)
public void getSystemPolicy(GetSystemPolicyRequest request, StreamObserver<Policy> responseObserver)
Gets the current system policy in the specified location.
Parameters | |
---|---|
Name | Description |
request |
GetSystemPolicyRequest |
responseObserver |
io.grpc.stub.StreamObserver<Policy> |