code: func getConsoleDef(c context.Context, project, name string) (*config.Console, error) {
  	cs, err := common.GetConsole(c, project, name)
  	if err != nil {
  		return nil, err
  	}
  	// TODO(hinoka): Remove builders that the user does not have access to.
  	return &cs.Def, nil
  }
docs: // getConsoleDef finds the console definition as defined by any project.
  // If the user is not a reader of the project, this will return a 404.
  // TODO(hinoka): If the user is not a reader of any of of the builders returned,
  // that builder will be removed from list of results.