I'm having the same problem. I'm trying to find a list of worksheets in a spreadsheets and do a query on them. All I can get is a string representation of worksheets. I can't find any method that would give me the ID of each worksheets.
Google spreadsheets API needs better documentation with more examples.
