Class DeveloperMetadataFinder | Apps Script | Google for Developers (original) (raw)
Class DeveloperMetadataFinder
Stay organized with collections Save and categorize content based on your preferences.
Detailed documentation
find()
Executes this search and returns the matching metadata.
Return
[DeveloperMetadata[]](/apps-script/reference/spreadsheet/developer-metadata)
— The developer metadata that match the search criteria.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/spreadsheets.currentonly
https://www.googleapis.com/auth/spreadsheets
onIntersectingLocations()
Configures the search to consider intersecting locations that have metadata. This option is only valid for range-scoped searches.
Return
[DeveloperMetadataFinder](#)
— The developer metadata finder, for chaining.
withId(id)
Limits this search to consider only metadata that match the specified ID.
Parameters
Name | Type | Description |
---|---|---|
id | Integer | The ID to match when searching for metadata. |
Return
[DeveloperMetadataFinder](#)
— The developer metadata finder, for chaining.
withKey(key)
Limits this search to consider only metadata that match the specified key.
Parameters
Name | Type | Description |
---|---|---|
key | String | The key to match when searching for metadata. |
Return
[DeveloperMetadataFinder](#)
— The developer metadata finder, for chaining.
withValue(value)
Limits this search to consider only metadata that match the specified value.
Parameters
Name | Type | Description |
---|---|---|
value | String | The value to match when searching for metadata. |
Return
[DeveloperMetadataFinder](#)
— The developer metadata finder, for chaining.
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-03 UTC.