# Policy Simulator V1 API - Class Google::Cloud::PolicySimulator::V1::GetReplayRequest (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::GetReplayRequest.

Request message for
[Simulator.GetReplay](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_get_replay_instance_ "Google::Cloud::PolicySimulator::V1::Simulator::Client#get_replay (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of 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 retrieve, in the following format:


  `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`,
  where `{resource-id}` is the ID of the project, folder, or organization
  that owns the `Replay`.

  Example:
  `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of 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 retrieve, in the following format:


  `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`,
  where `{resource-id}` is the ID of the project, folder, or organization
  that owns the `Replay`.

  Example:
  `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
**Returns**

- (::String) --- Required. The name of 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 retrieve, in the following format:


  `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`,
  where `{resource-id}` is the ID of the project, folder, or organization
  that owns the `Replay`.

  Example:
  `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`