REST Resource: projects.locations.validations.validationResources

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,
  "cloudConsoleUrl": string,
  "state": enum (State),
  "stateMessage": string,
  "error": {
    object (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.

cloudConsoleUrl

string

Output only. A direct link to view this specific resource in the Google Cloud Console.

state

enum (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 (Status)

Output only. Details of any error encountered while checking the resource during the dry run. Empty if the check was successful.

Methods

get

Gets the details of a specific ValidationResource.

list

Lists all cloud resources identified as potentially affected within a specific Validation dry run.