What’s the syntax for embedding a Goggle sheet in a shortcode?

After looking around on the net, I came up with this solution which works for me. However, I still do not know what is the complete syntax.

First, on the Google sheet you must publish the sheet of interest and ask for the code to write to embed it into an iframe. Then instead of writing it into an iframe, you use that code to fill the a Shortcode block like this one:

[/] Shortcode

 [googleapps domain="docs" height=350 dir="spreadsheets/d/e/2PACX-1vTpRfd83GccrIsp0sxn5Zbj-sND4PCsk-1vJ0BomWlP-cHsP6aOZlAU73gy3QbNQJQtjlytI6SrWv5r/pubhtml" query="gid=1312633965" /]

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)