Class SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub (1.22.0)

public static final class SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub extends AbstractFutureStub<SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SystemPolicyV1Beta1.

API for working with the system policy.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getSystemPolicy(GetSystemPolicyRequest request)

public ListenableFuture<Policy> getSystemPolicy(GetSystemPolicyRequest request)

Gets the current system policy in the specified location.

Parameter
NameDescription
requestGetSystemPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Policy>