public static final class SystemPolicyV1Grpc.SystemPolicyV1BlockingStub extends AbstractBlockingStub<SystemPolicyV1Grpc.SystemPolicyV1BlockingStub>A stub to allow clients to do limited synchronous rpc calls to service SystemPolicyV1.
API for working with the system policy.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SystemPolicyV1Grpc.SystemPolicyV1BlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected SystemPolicyV1Grpc.SystemPolicyV1BlockingStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
SystemPolicyV1Grpc.SystemPolicyV1BlockingStub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
getSystemPolicy(Service.GetSystemPolicyRequest request)
public Resources.Policy getSystemPolicy(Service.GetSystemPolicyRequest request)Gets the current system policy in the specified location.
| Parameter | |
|---|---|
| Name | Description |
request |
Service.GetSystemPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
Resources.Policy |
|