I'm trying to create a Google Spreadsheet with two sheets or 'tabs' Using javascript. I can Create a sheet and add a title to a tab, but I can only create one tab. I have tried to use the addSheet property as well and it simply over-writes existing sheet. This is the data I'm trying to send as an example:
var data = {
properties: {
title: 'Data Sheet'
},
sheets: [{
properties: {
title: 'data A',
},
properties: {
title: 'data B',
}
}]
};