# Policy Simulator v1 API - Class SimulatorClientImpl (1.4.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.4.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClientImpl)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.3.0/Google.Cloud.PolicySimulator.V1.SimulatorClientImpl)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.2.0/Google.Cloud.PolicySimulator.V1.SimulatorClientImpl)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.1.0/Google.Cloud.PolicySimulator.V1.SimulatorClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/1.0.0/Google.Cloud.PolicySimulator.V1.SimulatorClientImpl)

    public sealed class SimulatorClientImpl : SimulatorClient

Reference documentation and code samples for the Policy Simulator v1 API class SimulatorClientImpl.

Simulator client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [SimulatorClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient) \> SimulatorClientImpl

## Inherited Members

[SimulatorClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_DefaultEndpoint) [SimulatorClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_DefaultScopes) [SimulatorClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ServiceMetadata) [SimulatorClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateAsync_System_Threading_CancellationToken_) [SimulatorClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_Create) [SimulatorClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ShutdownDefaultChannelsAsync) [SimulatorClient.GetReplayAsync(GetReplayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplayAsync_Google_Cloud_PolicySimulator_V1_GetReplayRequest_System_Threading_CancellationToken_) [SimulatorClient.GetReplay(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplay_System_String_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.GetReplayAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplayAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.GetReplayAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplayAsync_System_String_System_Threading_CancellationToken_) [SimulatorClient.GetReplay(ReplayName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplay_Google_Cloud_PolicySimulator_V1_ReplayName_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.GetReplayAsync(ReplayName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplayAsync_Google_Cloud_PolicySimulator_V1_ReplayName_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.GetReplayAsync(ReplayName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplayAsync_Google_Cloud_PolicySimulator_V1_ReplayName_System_Threading_CancellationToken_) [SimulatorClient.CreateReplayAsync(CreateReplayRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplayAsync_Google_Cloud_PolicySimulator_V1_CreateReplayRequest_System_Threading_CancellationToken_) [SimulatorClient.PollOnceCreateReplay(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_PollOnceCreateReplay_System_String_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.PollOnceCreateReplayAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_PollOnceCreateReplayAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.CreateReplay(string, Replay, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplay_System_String_Google_Cloud_PolicySimulator_V1_Replay_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.CreateReplayAsync(string, Replay, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplayAsync_System_String_Google_Cloud_PolicySimulator_V1_Replay_Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.CreateReplayAsync(string, Replay, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplayAsync_System_String_Google_Cloud_PolicySimulator_V1_Replay_System_Threading_CancellationToken_) [SimulatorClient.ListReplayResults(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ListReplayResults_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.ListReplayResultsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ListReplayResultsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.ListReplayResults(ReplayName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ListReplayResults_Google_Cloud_PolicySimulator_V1_ReplayName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [SimulatorClient.ListReplayResultsAsync(ReplayName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ListReplayResultsAsync_Google_Cloud_PolicySimulator_V1_ReplayName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.PolicySimulator.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1)

## Assembly

Google.Cloud.PolicySimulator.V1.dll

## Remarks

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.

## Constructors

### SimulatorClientImpl(SimulatorClient, SimulatorSettings, ILogger)

    public SimulatorClientImpl(Simulator.SimulatorClient grpcClient, SimulatorSettings settings, ILogger logger)

Constructs a client wrapper for the Simulator service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Simulatorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Simulator.SimulatorClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorSettings` The base [SimulatorSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### CreateReplayOperationsClient

    public override OperationsClient CreateReplayOperationsClient { get; }

The long-running operations client for `CreateReplay`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [SimulatorClient.CreateReplayOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplayOperationsClient)

### GrpcClient

    public override Simulator.SimulatorClient GrpcClient { get; }

The underlying gRPC Simulator client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Simulatorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Simulator.SimulatorClient` |   |

**Overrides** [SimulatorClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GrpcClient)

## Methods

### CreateReplay(CreateReplayRequest, CallSettings)

    public override Operation<Replay, ReplayOperationMetadata> CreateReplay(CreateReplayRequest request, CallSettings callSettings = null)

Creates and starts a \[Replay\]\[google.cloud.policysimulator.v1.Replay\] using
the given \[ReplayConfig\]\[google.cloud.policysimulator.v1.ReplayConfig\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.CreateReplayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Replayhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ReplayOperationMetadata` | The RPC response. |

**Overrides** [SimulatorClient.CreateReplay(CreateReplayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplay_Google_Cloud_PolicySimulator_V1_CreateReplayRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateReplayAsync(CreateReplayRequest, CallSettings)

    public override Task<Operation<Replay, ReplayOperationMetadata>> CreateReplayAsync(CreateReplayRequest request, CallSettings callSettings = null)

Creates and starts a \[Replay\]\[google.cloud.policysimulator.v1.Replay\] using
the given \[ReplayConfig\]\[google.cloud.policysimulator.v1.ReplayConfig\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.CreateReplayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Replayhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ReplayOperationMetadata` | A Task containing the RPC response. |

**Overrides** [SimulatorClient.CreateReplayAsync(CreateReplayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_CreateReplayAsync_Google_Cloud_PolicySimulator_V1_CreateReplayRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetReplay(GetReplayRequest, CallSettings)

    public override Replay GetReplay(GetReplayRequest request, CallSettings callSettings = null)

Gets the specified \[Replay\]\[google.cloud.policysimulator.v1.Replay\]. Each
`Replay` is available for at least 7 days.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetReplayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Replay` | The RPC response. |

**Overrides** [SimulatorClient.GetReplay(GetReplayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplay_Google_Cloud_PolicySimulator_V1_GetReplayRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetReplayAsync(GetReplayRequest, CallSettings)

    public override Task<Replay> GetReplayAsync(GetReplayRequest request, CallSettings callSettings = null)

Gets the specified \[Replay\]\[google.cloud.policysimulator.v1.Replay\]. Each
`Replay` is available for at least 7 days.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.GetReplayRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.Replay` | A Task containing the RPC response. |

**Overrides** [SimulatorClient.GetReplayAsync(GetReplayRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_GetReplayAsync_Google_Cloud_PolicySimulator_V1_GetReplayRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListReplayResults(ListReplayResultsRequest, CallSettings)

    public override PagedEnumerable<ListReplayResultsResponse, ReplayResult> ListReplayResults(ListReplayResultsRequest request, CallSettings callSettings = null)

Lists the results of running a
\[Replay\]\[google.cloud.policysimulator.v1.Replay\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListReplayResultsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListReplayResultsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ReplayResult` | A pageable sequence of [ReplayResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ReplayResult) resources. |

**Overrides** [SimulatorClient.ListReplayResults(ListReplayResultsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ListReplayResults_Google_Cloud_PolicySimulator_V1_ListReplayResultsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListReplayResultsAsync(ListReplayResultsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListReplayResultsResponse, ReplayResult> ListReplayResultsAsync(ListReplayResultsRequest request, CallSettings callSettings = null)

Lists the results of running a
\[Replay\]\[google.cloud.policysimulator.v1.Replay\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListReplayResultsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ListReplayResultsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ReplayResult` | A pageable asynchronous sequence of [ReplayResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.ReplayResult) resources. |

**Overrides** [SimulatorClient.ListReplayResultsAsync(ListReplayResultsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PolicySimulator.V1/latest/Google.Cloud.PolicySimulator.V1.SimulatorClient#Google_Cloud_PolicySimulator_V1_SimulatorClient_ListReplayResultsAsync_Google_Cloud_PolicySimulator_V1_ListReplayResultsRequest_Google_Api_Gax_Grpc_CallSettings_)