この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン | |||
google:oauth_2.0_playground [2019/02/07 07:18] ips |
google:oauth_2.0_playground [2019/02/08 00:09] (現在) ips |
||
---|---|---|---|
ライン 31: | ライン 31: | ||
</code> | </code> | ||
+ | ==== シート名の変更 ==== | ||
+ | |||
+ | <code> | ||
+ | let url2 = "https://sheets.googleapis.com/v4/spreadsheets/" + this.state.spreadsheetId + ":batchUpdate" | ||
+ | let bodyString = `{ | ||
+ | "requests": [ | ||
+ | { | ||
+ | "updateSheetProperties": { | ||
+ | "properties": {"sheetId": 0, "title": "問題"}, | ||
+ | "fields": "title" | ||
+ | } | ||
+ | }, | ||
+ | ] | ||
+ | }` | ||
+ | </code> |