Policy Simulator API

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 members' 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 members' access might change under the proposed policy.

Service: policysimulator.googleapis.com

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://policysimulator.googleapis.com

REST Resource: v1beta1.folders.locations.replays

Methods
create POST /v1beta1/{parent=folders/*/locations/*}/replays
Creates and starts a Replay using the given ReplayConfig.
get GET /v1beta1/{name=folders/*/locations/*/replays/*}
Gets the specified Replay.

REST Resource: v1beta1.folders.locations.replays.results

Methods
list GET /v1beta1/{parent=folders/*/locations/*/replays/*}/results
Lists the results of running a Replay.

REST Resource: v1beta1.operations

Methods
get GET /v1beta1/{name=operations/*}
Gets the latest state of a long-running operation.
list GET /v1beta1/operations
Lists operations that match the specified filter in the request.

REST Resource: v1beta1.organizations.locations.replays

Methods
create POST /v1beta1/{parent=organizations/*/locations/*}/replays
Creates and starts a Replay using the given ReplayConfig.
get GET /v1beta1/{name=organizations/*/locations/*/replays/*}
Gets the specified Replay.

REST Resource: v1beta1.organizations.locations.replays.results

Methods
list GET /v1beta1/{parent=organizations/*/locations/*/replays/*}/results
Lists the results of running a Replay.

REST Resource: v1beta1.projects.locations.replays

Methods
create POST /v1beta1/{parent=projects/*/locations/*}/replays
Creates and starts a Replay using the given ReplayConfig.
get GET /v1beta1/{name=projects/*/locations/*/replays/*}
Gets the specified Replay.

REST Resource: v1beta1.projects.locations.replays.results

Methods
list GET /v1beta1/{parent=projects/*/locations/*/replays/*}/results
Lists the results of running a Replay.

Service: policysimulator.googleapis.com

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://policysimulator.googleapis.com

REST Resource: v1.folders.locations.replays

Methods
create POST /v1/{parent=folders/*/locations/*}/replays
Creates and starts a Replay using the given ReplayConfig.
get GET /v1/{name=folders/*/locations/*/replays/*}
Gets the specified Replay.

REST Resource: v1.folders.locations.replays.results

Methods
list GET /v1/{parent=folders/*/locations/*/replays/*}/results
Lists the results of running a Replay.

REST Resource: v1.operations

Methods
get GET /v1/{name=operations/*}
Gets the latest state of a long-running operation.
list GET /v1/operations
Lists operations that match the specified filter in the request.

REST Resource: v1.organizations.locations.replays

Methods
create POST /v1/{parent=organizations/*/locations/*}/replays
Creates and starts a Replay using the given ReplayConfig.
get GET /v1/{name=organizations/*/locations/*/replays/*}
Gets the specified Replay.

REST Resource: v1.organizations.locations.replays.results

Methods
list GET /v1/{parent=organizations/*/locations/*/replays/*}/results
Lists the results of running a Replay.

REST Resource: v1.projects.locations.replays

Methods
create POST /v1/{parent=projects/*/locations/*}/replays
Creates and starts a Replay using the given ReplayConfig.
get GET /v1/{name=projects/*/locations/*/replays/*}
Gets the specified Replay.

REST Resource: v1.projects.locations.replays.results

Methods
list GET /v1/{parent=projects/*/locations/*/replays/*}/results
Lists the results of running a Replay.