code: func (s *ConfigService) GetTask(taskID string) (*TaskInfo, *Response, error) {
  	u := fmt.Sprintf("config/server/tasks/%s", taskID)
  
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	v := new(TaskInfo)
  	resp, err := s.client.Do(req, v)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return v, resp, err
  }
docs: // GetTask retrieves a task from the background work queue that the Gerrit daemon is currently performing, or will perform in the near future.
  // End-users may see a task only if they can also see the project the task is associated with.
  // Tasks operating on other projects, or that do not have a specific project, are hidden.
  //
  // The caller must be a member of a group that is granted one of the following capabilities:
  // * View Queue
  // * Maintain Server
  // * Administrate Server
  //
  // Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-config.html#get-task