In Google Sheets, if you click Insert → Pre-built tables and then for example Blank table, the vertical padding of cells changes and userEnteredFormat.padding stops having an effect (you can try userEnteredFormat.padding by clicking API on the right here or copying the following code).
{ "requests": [ { "updateCells": { "rows": [ { "values": [ { "userEnteredFormat": { "padding": { "bottom": 0, "left": 0, "right": 0, "top": 0 } } } ] } ], "start": { "columnIndex": 0, "rowIndex": 1, "sheetId": 0 }, "fields": "userEnteredFormat.padding" } } ] } repeatCell has the same problem, see the comment below for a link to that code.
Maybe the so-called table object (or each of its rows or columns) has its own vertical padding value that overrides the value of individual cells. How can I change the vertical padding for all cells of the table?
Table menu (alternatively: Format) → Table formatting → Show condensed view allows switching between only two padding values. I'm looking for other values.
Note: Resize row is set to Fit to data by default. Please don't change that. My question is about that kind of rows.

How can I change the vertical padding for all cells of the table?usinguserEnteredFormat.padding, how about usingrepeatCell? And, in your actual situation, what values do you want to set forbottomandtopas the padding of all cells in the table? But, if I misunderstood your expected result, I apologize.Padding 0 would be nice., I understood that you wanted to set the padding to0. I think that in the current stage, this cannot be achieved. Can I ask you about the problem betweenShow condensed viewand your goal?userEnteredFormat.paddingis used for the fields, onlyuserEnteredFormat.paddingis modified. But if I misunderstood your comment, I have to apologize. I think that such a discussion is very valuable.0. But, in the current stage, this cannot be achieved in the bachUpdate methods for managing the table. The padding can be managed byuserEnteredFormat.padding. This can also be used with UpdateCellsRequest by providing the range. From this situation, I think that your answer is useful for this question.