試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
Method: properties.firebaseLinks.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
可列出資源上的 FirebaseLink。資源最多只能有一個 FirebaseLink。
HTTP 要求
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/firebaseLinks
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。格式:properties/{property_id} 範例:properties/1234
|
查詢參數
參數 |
pageSize |
integer
要傳回的資源數量上限。即使有其他網頁,服務傳回的數量仍可能少於這個值。如未指定,最多會傳回 50 項資源。許可的最大值為 200;(系統會將較高的值轉換為最大值)
|
pageToken |
string
屬於接收自前一個 firebaseLinks.list 呼叫的網頁權杖。提供此項目即可擷取後續網頁。進行分頁時,提供至 firebaseLinks.list 的所有其他參數須與提供網頁權杖的呼叫相符。
|
回應主體
firebaseLinks.list RPC 回應訊息
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"firebaseLinks": [
{
object (FirebaseLink )
}
],
"nextPageToken": string
} |
欄位 |
firebaseLinks[] |
object (FirebaseLink )
FirebaseLinks 清單。最多只能有一個值。
|
nextPageToken |
string
可做為 pageToken 傳送的權杖,用於擷取後續網頁。如果省略這個欄位,就不會有後續網頁。目前,Google Analytics 為每個資源僅支援一個 Firebase 連結,因此不會填入任何值。
|
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eLists FirebaseLinks on a Google Analytics 4 property, with properties having at most one FirebaseLink.\u003c/p\u003e\n"],["\u003cp\u003eAllows you to retrieve and paginate through FirebaseLinks using the \u003ccode\u003eGET\u003c/code\u003e method and query parameters like \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe API response includes a list of FirebaseLinks (maximum one) and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, although currently only one FirebaseLink is supported per property.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with either \u003ccode\u003eanalytics.readonly\u003c/code\u003e or \u003ccode\u003eanalytics.edit\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details how to retrieve FirebaseLinks associated with a property using a `GET` request. The request URL uses `properties/{property_id}/firebaseLinks`, where `property_id` is a required path parameter. Optional query parameters include `pageSize` (max 200) and `pageToken` for pagination. The request body is empty. The response includes a list named `firebaseLinks`, which is expected to have at most one link. Also it returns an empty string `nextPageToken`. Authentication requires `analytics.readonly` or `analytics.edit` OAuth scopes.\n"],null,["# Method: properties.firebaseLinks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListFirebaseLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists FirebaseLinks on a property. Properties can have at most one FirebaseLink.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/firebaseLinks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|--------------------------------------------------------------------------------|\n| `parent` | `string` Required. Format: properties/{property_id} Example: `properties/1234` |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |\n| `pageToken` | `string` A page token, received from a previous `firebaseLinks.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `firebaseLinks.list` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for firebaseLinks.list RPC\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"firebaseLinks\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.firebaseLinks#FirebaseLink) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `firebaseLinks[]` | `object (`[FirebaseLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.firebaseLinks#FirebaseLink)`)` List of FirebaseLinks. This will have at most one value. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. Currently, Google Analytics supports only one FirebaseLink per property, so this will never be populated. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]