View source on GitHub |
Ensure that a GCP project ID is valid.
google.appengine.ext.testbed.validate_project_id(
project_id
)
From https://cloud.google.com/resource-manager/docs/creating-managing-projects#before_you_begin The project ID must be a unique string of 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen.
Args | |
---|---|
project_id (str): project id, potentially including domain prefix, to validate. |