Enum DataSourceRefreshScope
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
CakupanPembaruanSumberData
Enumerasi cakupan untuk pembaruan.
Untuk memanggil enum, Anda memanggil class induk, nama, dan propertinya. Misalnya,
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
.
Properti
Properti | Jenis | Deskripsi |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | Cakupan pembaruan sumber data tidak didukung. |
ALL_DATA_SOURCES | Enum | Pembaruan berlaku untuk semua sumber data dalam spreadsheet. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eDataSourceRefreshScope\u003c/code\u003e is used to define the scope of data refreshes within a spreadsheet.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the scope using properties like \u003ccode\u003eALL_DATA_SOURCES\u003c/code\u003e to refresh all data sources or \u003ccode\u003eDATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED\u003c/code\u003e if the scope is not supported.\u003c/p\u003e\n"],["\u003cp\u003eTo use these properties, you need to call them using the parent class followed by the enum name and property like \u003ccode\u003eSpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `DataSourceRefreshScope` enumeration defines the scope of data refreshes within a spreadsheet. It includes two properties: `DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED`, indicating an unsupported refresh scope, and `ALL_DATA_SOURCES`, which signifies that the refresh will affect every data source in the spreadsheet. To use an enumeration property, you would call it using the `SpreadsheetApp.DataSourceRefreshScope` parent class, followed by the desired property name.\n"],null,["# Enum DataSourceRefreshScope\n\nDataSourceRefreshScope\n\nAn enumeration of scopes for refreshes.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------------------------------|--------|-------------------------------------------------------------|\n| `DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED` | `Enum` | The data source refresh scope is unsupported. |\n| `ALL_DATA_SOURCES` | `Enum` | The refresh applies to all data sources in the spreadsheet. |"]]