Method: folders.locations.replays.create

Creates and starts a Replay using the given ReplayConfig.

HTTP request

POST https://policysimulator.googleapis.com/v1beta/{parent=folders/*/locations/*}/replays

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location.

Example: projects/my-example-project/locations/global

Request body

The request body contains an instance of Replay.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • policysimulator.replays.create

For more information, see the IAM documentation.