Required. The Firebase Hosting Site with CustomDomain entities you'd like to list.
Query parameters
Parameters
pageSize
integer
The max number of CustomDomain entities to return in a request. Defaults to 10.
pageToken
string
A token from a previous call to customDomains.list that tells the server where to resume listing.
showDeleted
boolean
If true, the request returns soft-deleted CustomDomains that haven't been fully-deleted yet. To restore deleted CustomDomains, make an customDomains.undelete request.
Request body
The request body must be empty.
Response body
The response from customDomains.list.
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-09-18 UTC."],[],[],null,["# Method: projects.sites.customDomains.list\n\nLists each `CustomDomain` associated with the specified parent Hosting site.\n\nReturns `CustomDomain`s in a consistent, but undefined, order to facilitate pagination.\n\n### HTTP request\n\n`GET https://firebasehosting.googleapis.com/v1beta1/{parent=projects/*/sites/*}/customDomains`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The Firebase Hosting `Site` with `CustomDomain` entities you'd like to list. |\n\n### Query parameters\n\n| Parameters ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The max number of `CustomDomain` entities to return in a request. Defaults to 10. |\n| `pageToken` | `string` A token from a previous call to `customDomains.list` that tells the server where to resume listing. |\n| `showDeleted` | `boolean` If true, the request returns soft-deleted `CustomDomain`s that haven't been fully-deleted yet. To restore deleted `CustomDomain`s, make an `customDomains.undelete` request. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response from `customDomains.list`.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"customDomains\": [ { object (/docs/reference/hosting/rest/v1beta1/projects.sites.customDomains#CustomDomain) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customDomains[]` | `object (`[CustomDomain](/docs/reference/hosting/rest/v1beta1/projects.sites.customDomains#CustomDomain)`)` A list of `CustomDomain` entities associated with the specified Firebase `Site`. |\n| `nextPageToken` | `string` The pagination token, if more results exist beyond the ones in this response. Include this token in your next call to `customDomains.list`. Page tokens are short-lived and should not be stored. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/firebase.hosting.readonly`\n- `\n https://www.googleapis.com/auth/firebase.hosting`\n- `\n https://www.googleapis.com/auth/firebase.readonly`\n- `\n https://www.googleapis.com/auth/firebase`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]