Stay organized with collections
Save and categorize content based on your preferences.
Lists the field configuration and metadata for this database. Currently,
FirestoreAdmin.ListFields only supports listing fields that have been
explicitly overridden. To issue this query, call
FirestoreAdmin.ListFields with the filter set to
indexConfig.usesAncestorConfig:false .
Arguments
Parameters
parent
string
Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
filter
string
The filter to apply to list results. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this query, call FirestoreAdmin.ListFields with a filter that includes indexConfig.usesAncestorConfig:false .
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Method: googleapis.firestore.v1.projects.databases.collectionGroups.fields.list\n\nLists the field configuration and metadata for this database. Currently,\nFirestoreAdmin.ListFields only supports listing fields that have been\nexplicitly overridden. To issue this query, call\nFirestoreAdmin.ListFields with the filter set to\n`indexConfig.usesAncestorConfig:false` .\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`GoogleFirestoreAdminV1ListFieldsResponse`](/workflows/docs/reference/googleapis/firestore/v1/Overview#GoogleFirestoreAdminV1ListFieldsResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.collectionGroups.fields/list). \n\n### YAML\n\n```yaml\n- list:\n call: googleapis.firestore.v1.projects.databases.collectionGroups.fields.list\n args:\n parent: ...\n filter: ...\n pageSize: ...\n pageToken: ...\n result: listResult\n```\n\n### JSON\n\n```json\n[\n {\n \"list\": {\n \"call\": \"googleapis.firestore.v1.projects.databases.collectionGroups.fields.list\",\n \"args\": {\n \"parent\": \"...\",\n \"filter\": \"...\",\n \"pageSize\": \"...\",\n \"pageToken\": \"...\"\n },\n \"result\": \"listResult\"\n }\n }\n]\n```"]]