Enum DeveloperMetadataLocationType
Stay organized with collections
Save and categorize content based on your preferences.
DeveloperMetadataLocationType
An enumeration of the types of developer metadata location types.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET
.
Properties
Property | Type | Description |
SPREADSHEET | Enum | The location type for developer metadata associated with the top-level spreadsheet. |
SHEET | Enum | The location type for developer metadata associated with a whole sheet. |
ROW | Enum | The location type for developer metadata associated with a row. |
COLUMN | Enum | The location type for developer metadata associated with a column. |
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\u003eDeveloperMetadataLocationType\u003c/code\u003e is an enumeration used to specify where developer metadata is associated within a Google Sheet.\u003c/p\u003e\n"],["\u003cp\u003eIt includes four location types: \u003ccode\u003eSPREADSHEET\u003c/code\u003e, \u003ccode\u003eSHEET\u003c/code\u003e, \u003ccode\u003eROW\u003c/code\u003e, and \u003ccode\u003eCOLUMN\u003c/code\u003e for associating metadata with the entire spreadsheet, a sheet, a row, or a column, respectively.\u003c/p\u003e\n"],["\u003cp\u003eTo use an enum, refer to it using the syntax \u003ccode\u003eSpreadsheetApp.DeveloperMetadataLocationType.[Property]\u003c/code\u003e, such as \u003ccode\u003eSpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET\u003c/code\u003e.\u003c/p\u003e\n"]]],["`DeveloperMetadataLocationType` defines the locations for developer metadata. It uses enumerated types accessed via `SpreadsheetApp.DeveloperMetadataLocationType`. The available properties include `SPREADSHEET` for top-level spreadsheet metadata, `SHEET` for whole sheet metadata, `ROW` for row-specific metadata, and `COLUMN` for column-specific metadata. Each property represents a specific type of location for associating metadata.\n"],null,["# Enum DeveloperMetadataLocationType\n\nDeveloperMetadataLocationType\n\nAn enumeration of the types of developer metadata location types.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DeveloperMetadataLocationType.SPREADSHEET`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|-------------------------------------------------------------------------------------|\n| `SPREADSHEET` | `Enum` | The location type for developer metadata associated with the top-level spreadsheet. |\n| `SHEET` | `Enum` | The location type for developer metadata associated with a whole sheet. |\n| `ROW` | `Enum` | The location type for developer metadata associated with a row. |\n| `COLUMN` | `Enum` | The location type for developer metadata associated with a column. |"]]