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
or ttlConfig:*
.
HTTP request
GET https://firestore.googleapis.com/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. A parent name of the form |
Query parameters
Parameters | |
---|---|
filter |
The filter to apply to list results. Currently, |
pageSize |
The number of results to return. |
pageToken |
A page token, returned from a previous call to |
Request body
The request body must be empty.
Response body
The response for FirestoreAdmin.ListFields
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"fields": [
{
object ( |
Fields | |
---|---|
fields[] |
The requested fields. |
nextPageToken |
A page token that may be used to request another page of results. If blank, this is the last page. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/datastore
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.