code: func tqTask(task *logdog.ArchiveTask) (*taskqueue.Task, error) {
  	payload, err := proto.Marshal(task)
  	return &taskqueue.Task{
  		Name:    task.TaskName,
  		Payload: payload,
  		Method:  "PULL",
  	}, err
  }
docs: // tqTask returns a taskqueue task for an archive task.