// Get table metadata, and apply a view to the table fields
// Supported views include ID, schema or full
// View defaults to schema if unspecified.
const options = {
view: 'id',
};
const [tableMetadata] = await table.getMetadata(options);
console.log(`Metadata: ${JSON.stringify(tableMetadata)}`);