# Google Cloud Policy Simulator V1 Client - Class LogSource (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 LogSource.

The source of the logs to use for a
[Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay).

Protobuf type `google.cloud.policysimulator.v1.ReplayConfig.LogSource`

## Namespace

Google \\ Cloud \\ PolicySimulator \\ V1 \\ ReplayConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### LOG_SOURCE_UNSPECIFIED

    Value: 0

An unspecified log source.

If the log source is unspecified, the
[Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay) defaults to using
`RECENT_ACCESSES`.

Generated from protobuf enum `LOG_SOURCE_UNSPECIFIED = 0;`

### RECENT_ACCESSES

    Value: 1

All access logs from the last 90 days. These logs may not include logs
from the most recent 7 days.

Generated from protobuf enum `RECENT_ACCESSES = 1;`