Class SystemPolicyV1Grpc.SystemPolicyV1FutureStub (1.6.0)

public static final class SystemPolicyV1Grpc.SystemPolicyV1FutureStub extends AbstractFutureStub<SystemPolicyV1Grpc.SystemPolicyV1FutureStub>

API for working with the system policy.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SystemPolicyV1Grpc.SystemPolicyV1FutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getSystemPolicy(Service.GetSystemPolicyRequest request)

public ListenableFuture<Resources.Policy> getSystemPolicy(Service.GetSystemPolicyRequest request)

Gets the current system policy in the specified location.

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