سرور MCP را برای Google Analytics امتحان کنید. از
GitHub نصب کنید و برای جزئیات بیشتر به
اطلاعیه مراجعه کنید.
Method: properties.firebaseLinks.list
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
FirebaseLinks را در یک ویژگی فهرست می کند. ویژگی ها حداکثر می توانند یک FirebaseLink داشته باشند.
درخواست HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/firebaseLinks
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
parent | string مورد نیاز. قالب: خواص/{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 برای بازیابی صفحه بعدی ارسال شود. اگر این قسمت حذف شود، هیچ صفحه بعدی وجود ندارد. در حال حاضر، گوگل آنالیتیکس تنها از یک FirebaseLink در هر ویژگی پشتیبانی می کند، بنابراین هرگز پر نخواهد شد. |
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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`"]]