code: func resourceProjectName(v string) (p, n string, err error) {
  	parts := splitResource(v)
  	if len(parts) != 4 {
  		err = errors.New("malformed resource")
  		return
  	}
  	p, n = parts[1], parts[3]
  	return
  }
docs: // resourceProjectName returns the resource's project and name components.