public static final class SimulatorGrpc.SimulatorBlockingStub extends io.grpc.stub.AbstractBlockingStub<SimulatorGrpc.SimulatorBlockingStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected SimulatorGrpc.SimulatorBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.longrunning.Operation |
createReplay(CreateReplayRequest request)
Creates and starts a [Replay][google.cloud.policysimulator.v1.Replay] using
the given [ReplayConfig][google.cloud.policysimulator.v1.ReplayConfig].
|
Replay |
getReplay(GetReplayRequest request)
Gets the specified [Replay][google.cloud.policysimulator.v1.Replay].
|
ListReplayResultsResponse |
listReplayResults(ListReplayResultsRequest request)
Lists the results of running a
[Replay][google.cloud.policysimulator.v1.Replay].
|
protected SimulatorGrpc.SimulatorBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SimulatorGrpc.SimulatorBlockingStub>public Replay getReplay(GetReplayRequest request)
Gets the specified [Replay][google.cloud.policysimulator.v1.Replay]. Each `Replay` is available for at least 7 days.
public com.google.longrunning.Operation createReplay(CreateReplayRequest request)
Creates and starts a [Replay][google.cloud.policysimulator.v1.Replay] using the given [ReplayConfig][google.cloud.policysimulator.v1.ReplayConfig].
public ListReplayResultsResponse listReplayResults(ListReplayResultsRequest request)
Lists the results of running a [Replay][google.cloud.policysimulator.v1.Replay].
Copyright © 2024 Google LLC. All rights reserved.