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

## Resource: ValidationResource

Represents a specific Google Cloud resource that a `Validation` dry run identified as *potentially* being affected.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "affectedResourceUri": string, "cloudConsolePath": string, "state": enum (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/State`), "stateMessage": string, "error": { object (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/Status`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. Unique identifier for this specific record within the `Validation` results. Format: `projects/{project}/locations/{location}/validations/{validation}/validationResources/{validationResourceId}`. |
| `displayName` | `string` Optional. A human-readable name for the `ValidationResource` record. |
| `affectedResourceUri` | `string` Required. The full unique address (URI) of the Google Cloud resource that was identified. |
| `cloudConsolePath` | `string` Output only. A direct link to view this specific resource in the Google Cloud Console. |
| `state` | ``enum (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/State`)`` The current state of this resource within the dry run. Typically `COMPLETED`. |
| `stateMessage` | `string` A human-readable description of the validation status for this resource. |
| `error` | ``object (`https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/Status`)`` Output only. Details of any error encountered while checking the resource during the dry run. Empty if the check was successful. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations.validationResources/get` | Gets the details of a specific `ValidationResource`. |
| ### `https://docs.cloud.google.com/fault-injection-testing/reference/rest/v1alpha/projects.locations.validations.validationResources/list` | Lists all cloud resources identified as potentially affected within a specific `Validation` dry run. |