Class SimulatorGrpc.SimulatorBlockingStub (0.15.0)

public static final class SimulatorGrpc.SimulatorBlockingStub extends AbstractBlockingStub<SimulatorGrpc.SimulatorBlockingStub>

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

Policy Simulator API service. Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A 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, 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SimulatorGrpc.SimulatorBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createReplay(CreateReplayRequest request)

public Operation createReplay(CreateReplayRequest request)

Creates and starts a Replay using the given ReplayConfig.

Parameter
NameDescription
requestCreateReplayRequest
Returns
TypeDescription
Operation

getReplay(GetReplayRequest request)

public Replay getReplay(GetReplayRequest request)

Gets the specified Replay. Each Replay is available for at least 7 days.

Parameter
NameDescription
requestGetReplayRequest
Returns
TypeDescription
Replay

listReplayResults(ListReplayResultsRequest request)

public ListReplayResultsResponse listReplayResults(ListReplayResultsRequest request)

Lists the results of running a Replay.

Parameter
NameDescription
requestListReplayResultsRequest
Returns
TypeDescription
ListReplayResultsResponse