Class SimulatorGrpc
java.lang.Object
com.google.cloud.policysimulator.v1.SimulatorGrpc
Policy Simulator API service. Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A [Replay][google.cloud.policysimulator.v1.Replay] is a type of simulation that lets you see how your principals' access to resources might change if you changed your IAM policy. During a [Replay][google.cloud.policysimulator.v1.Replay], Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your principals' access might change under the proposed policy.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePolicy Simulator API service.static final classA stub to allow clients to do limited synchronous rpc calls to service Simulator.static final classA stub to allow clients to do synchronous rpc calls to service Simulator.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Simulator.static classBase class for the server implementation of the service Simulator.static final classA stub to allow clients to do asynchronous rpc calls to service Simulator. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(SimulatorGrpc.AsyncService service) static io.grpc.MethodDescriptor<CreateReplayRequest,Operation> static io.grpc.MethodDescriptor<GetReplayRequest,Replay> static io.grpc.MethodDescriptor<ListReplayResultsRequest,ListReplayResultsResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SimulatorGrpc.SimulatorStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getGetReplayMethod
-
getCreateReplayMethod
-
getListReplayResultsMethod
public static io.grpc.MethodDescriptor<ListReplayResultsRequest,ListReplayResultsResponse> getListReplayResultsMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-