Enum DataSourceRefreshScope
Stay organized with collections
Save and categorize content based on your preferences.
DataSourceRefreshScope
An enumeration of scopes for refreshes.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
.
Properties
Property | Type | Description |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | The data source refresh scope is unsupported. |
ALL_DATA_SOURCES | Enum | The refresh applies to all data sources in the spreadsheet. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 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. |"]]