Class SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub (1.42.0)

public static final class SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub extends AbstractBlockingStub<SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub>

A stub to allow clients to do synchronous rpc calls to service SystemPolicyV1Beta1.

API for working with the system policy.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getSystemPolicy(GetSystemPolicyRequest request)

public Policy getSystemPolicy(GetSystemPolicyRequest request)

Gets the current system policy in the specified location.

Parameter
Name Description
request GetSystemPolicyRequest
Returns
Type Description
Policy