# REST Resource: projects.locations.validations

- [Resource: Validation](https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations#Validation)
  - [JSON representation](https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations#Validation.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations#METHODS_SUMMARY)

## Resource: Validation

Represents a `Validation` dry run of a fault injection.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string, "action": { object (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/Action`) }, "state": enum (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/State`), "createTime": string, "stopTime": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Unique identifier for the `Validation` dry run. Format: `projects/{projectId}/locations/{location}/validations/{validationId}`. |
| `displayName` | `string` Optional. A human-readable name of the `Validation` dry run. |
| `description` | `string` Optional. Notes or details about the `Validation` dry run. Minimum length is 0, maximum length is 2000. |
| `action` | ``object (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/Action`)`` Required. The fault injection action being checked. |
| `state` | ``enum (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/State`)`` Output only. The current state of the `Validation` dry run. Either `PREPARING` or `COMPLETED`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The date and time when this `Validation` dry run was started (RFC3339 UTC "Zulu" format). Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `stopTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The date and time when this `Validation` dry run finished (RFC3339 UTC "Zulu" format). Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations/create` | Creates a new `Validation` dry run. |
| ### `https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations/delete` | Deletes a record of a dry run. |
| ### `https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations/get` | Retrieves the details of a specific `Validation` dry run. |
| ### `https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations/list` | Lists all dry runs in a specified project and location. |