code: func updateTaskStatus(t *api.Task, newStatus api.TaskState, message string) {
  	t.Status = api.TaskStatus{
  		State:     newStatus,
  		Message:   message,
  		Timestamp: ptypes.MustTimestampProto(time.Now()),
  	}
  }
docs: // updateTaskStatus sets TaskStatus and updates timestamp.