Validators

The following methods are available for validating Google Cloud resource identifiers:

Package Validator Description
project IsValidProjectID Validates GCP project identifier
project IsValidProjectName Validates GCP project display name
project IsValidProjectLocationParent Validates project/location parent path
location IsValidRegion Validates region identifier
location IsValidZone Validates zone identifier
location IsValidLocation Validates location identifier (region, zone, or global)
storage IsValidBucketName Validates Cloud Storage bucket name
vertexai IsValidVertexModelName Validates Vertex AI model display name
vertexai IsValidVertexEndpointName Validates Vertex AI endpoint display name
vertexai IsValidVertexModelResourceName Validates full Vertex AI model resource path

Table of contents