Menu
Sheets.spreadsheets.developer Metadata.search
Returns all developer metadata matching the specified DataFilter. If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.
POST
/v4/spreadsheets/{spreadsheetId}/developerMetadata:searchUse it in a workflow
- Add a step and choose the Google Sheets connector.
- Pick the Sheets.spreadsheets.developer Metadata.search action (under spreadsheets).
- Fill in the fields below, then reference the result from later steps as
{{sheetsSpreadsheetsDeveloperMetadataSearch.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"dataFilters": [
{
"a1Range": "string",
"developerMetadataLookup": {
"locationMatchingStrategy": "DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED",
"locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
"metadataId": 0,
"metadataKey": "string",
"metadataLocation": {
"dimensionRange": {
"dimension": "DIMENSION_UNSPECIFIED",
"endIndex": 0,
"sheetId": 0,
"startIndex": 0
},
"locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
"sheetId": 0,
"spreadsheet": false
},
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
},
"gridRange": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
}
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{sheetsSpreadsheetsDeveloperMetadataSearch.response.data.<field>}}.
{
"matchedDeveloperMetadata": [
{
"dataFilters": [
{
"a1Range": "string",
"developerMetadataLookup": {
"locationMatchingStrategy": "DEVELOPER_METADATA_LOCATION_MATCHING_STRATEGY_UNSPECIFIED",
"locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
"metadataId": 0,
"metadataKey": "string",
"metadataLocation": {
"dimensionRange": null,
"locationType": null,
"sheetId": null,
"spreadsheet": null
},
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
},
"gridRange": {
"endColumnIndex": 0,
"endRowIndex": 0,
"sheetId": 0,
"startColumnIndex": 0,
"startRowIndex": 0
}
}
],
"developerMetadata": {
"location": {
"dimensionRange": {
"dimension": "DIMENSION_UNSPECIFIED",
"endIndex": 0,
"sheetId": 0,
"startIndex": 0
},
"locationType": "DEVELOPER_METADATA_LOCATION_TYPE_UNSPECIFIED",
"sheetId": 0,
"spreadsheet": false
},
"metadataId": 0,
"metadataKey": "string",
"metadataValue": "string",
"visibility": "DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED"
}
}
]
}
Need more? See the Google Sheets guide for connection setup and behaviour shared by every action.
Was this page helpful?