# Google Cloud Policy Simulator V1 Client - Class ResultsSummary (1.3.4)

1.3.4 (latest) 1.3.3 1.2.0 1.1.1 1.0.3 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ResultsSummary.

Summary statistics about the replayed log entries.

Generated from protobuf message `google.cloud.policysimulator.v1.Replay.ResultsSummary`

## Namespace

Google \\ Cloud \\ PolicySimulator \\ V1 \\ Replay

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ log_count` | `int` The total number of log entries replayed. |
| `↳ unchanged_count` | `int` The number of replayed log entries with no difference between baseline and simulated policies. |
| `↳ difference_count` | `int` The number of replayed log entries with a difference between baseline and simulated policies. |
| `↳ error_count` | `int` The number of log entries that could not be replayed. |
| `↳ oldest_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` The date of the oldest log entry replayed. |
| `↳ newest_date` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` The date of the newest log entry replayed. |

### getLogCount

The total number of log entries replayed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setLogCount

The total number of log entries replayed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnchangedCount

The number of replayed log entries with no difference between
baseline and simulated policies.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setUnchangedCount

The number of replayed log entries with no difference between
baseline and simulated policies.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDifferenceCount

The number of replayed log entries with a difference between baseline and
simulated policies.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setDifferenceCount

The number of replayed log entries with a difference between baseline and
simulated policies.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getErrorCount

The number of log entries that could not be replayed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setErrorCount

The number of log entries that could not be replayed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOldestDate

The date of the oldest log entry replayed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasOldestDate

### clearOldestDate

### setOldestDate

The date of the oldest log entry replayed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNewestDate

The date of the newest log entry replayed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html|null` |   |

### hasNewestDate

### clearNewestDate

### setNewestDate

The date of the newest log entry replayed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Date.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |