class GcpStackUtil {

    public static String getProjectId(CloudCredential credential) {
        String projectId = credential.getParameter(PROJECT_ID, String.class);
        if (projectId == null) {
            throw new CredentialVerificationException("Missing Project Id from GCP Credential");
        }
        return projectId.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "-");
    }

    private  GcpStackUtil();

}