# Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::CreateReplayRequest (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.4.0 0.3.2 0.2.0 0.1.1 Reference documentation and code samples for the Policy Simulator V1 API class Google::Cloud::PolicySimulator::V1::CreateReplayRequest.

Request message for
[Simulator.CreateReplay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Simulator-Client#Google__Cloud__PolicySimulator__V1__Simulator__Client_create_replay_instance_ "Google::Cloud::PolicySimulator::V1::Simulator::Client#create_replay (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource where this [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") will be created. This resource must be a project, folder, or organization with a location.


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

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource where this [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") will be created. This resource must be a project, folder, or organization with a location.


  Example: `projects/my-example-project/locations/global`
**Returns**

- (::String) --- Required. The parent resource where this [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") will be created. This resource must be a project, folder, or organization with a location.


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

### #replay

    def replay() -> ::Google::Cloud::PolicySimulator::V1::Replay

**Returns**

- ([::Google::Cloud::PolicySimulator::V1::Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay)) --- Required. The [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") to create. Set `Replay.ReplayConfig` to configure the replay.

### #replay=

    def replay=(value) -> ::Google::Cloud::PolicySimulator::V1::Replay

**Parameter**

- **value** ([::Google::Cloud::PolicySimulator::V1::Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay)) --- Required. The [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") to create. Set `Replay.ReplayConfig` to configure the replay.
**Returns**

- ([::Google::Cloud::PolicySimulator::V1::Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay)) --- Required. The [Replay](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-policy_simulator-v1/latest/Google-Cloud-PolicySimulator-V1-Replay "Google::Cloud::PolicySimulator::V1::Replay (class)") to create. Set `Replay.ReplayConfig` to configure the replay.