سرور MCP را برای Google Analytics امتحان کنید. از
GitHub نصب کنید و برای جزئیات بیشتر به
اطلاعیه مراجعه کنید.
Method: properties.rollupPropertySourceLinks.list
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پیوندهای موجود در یک دارایی را فهرست می کند. فقط ویژگیهای جمعآوری میتوانند پیوندهای منبع داشته باشند، بنابراین اگر این روش در انواع دیگر ویژگیها استفاده شود، خطا ایجاد میکند.
درخواست HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
parent | string مورد نیاز. نام ویژگی جمعآوری برای فهرست کردن پیوندهای منبع ویژگی جمعآوری در زیر. قالب: خواص/{property_id} مثال: properties/1234 |
پارامترهای پرس و جو
پارامترها |
---|
pageSize | integer اختیاری. حداکثر تعداد منابع برای بازگشت. این سرویس ممکن است کمتر از این مقدار را بازگرداند، حتی اگر صفحات اضافی وجود داشته باشد. اگر نامشخص باشد، حداکثر 50 منبع برگردانده می شود. حداکثر مقدار 200 است. (مقادیر بالاتر تا حداکثر اجباری خواهد بود) |
pageToken | string اختیاری. یک نشانه صفحه، دریافت شده از تماس قبلی rollupPropertySourceLinks.list . این را برای بازیابی صفحه بعدی ارائه کنید. هنگام صفحه بندی، تمام پارامترهای دیگر ارائه شده به rollupPropertySourceLinks.list باید با فراخوانی که توکن صفحه را ارائه می کند مطابقت داشته باشد. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
پیام پاسخ برای rollupPropertySourceLinks.list RPC.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
فیلدها |
---|
rollupPropertySourceLinks[] | object ( RollupPropertySourceLink ) لیست RollupPropertySourceLinks. |
nextPageToken | string یک نشانه، که می تواند به عنوان pageToken برای بازیابی صفحه بعدی ارسال شود. اگر این قسمت حذف شود، هیچ صفحه بعدی وجود ندارد. |
محدوده مجوز
به یکی از حوزه های 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 Rollup Property Source Links associated with a Google Analytics 4 property, specifically for roll-up properties.\u003c/p\u003e\n"],["\u003cp\u003eThe API request uses the \u003ccode\u003eGET\u003c/code\u003e method and requires specifying the parent roll-up property in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters allow for pagination, controlling the number of results returned and retrieving subsequent pages.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes a list of Rollup Property Source Links and a token for pagination if more pages are available.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires specific OAuth scopes for either read-only or edit access to Google Analytics data.\u003c/p\u003e\n"]]],["This document outlines the process for listing roll-up property source links via a `GET` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks`. Key information includes using the `parent` path parameter to specify the roll-up property (e.g., `properties/1234`). Optional query parameters `pageSize` (max 200) and `pageToken` support pagination. The request body is empty. The response body contains a list of `rollupPropertySourceLinks` and an optional `nextPageToken`. Authorization requires specific OAuth scopes.\n"],null,["# Method: properties.rollupPropertySourceLinks.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.ListRollupPropertySourceLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks`\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 name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. 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` Optional. A page token, received from a previous `rollupPropertySourceLinks.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `rollupPropertySourceLinks.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 rollupPropertySourceLinks.list RPC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"rollupPropertySourceLinks\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.rollupPropertySourceLinks#RollupPropertySourceLink) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `rollupPropertySourceLinks[]` | `object (`[RollupPropertySourceLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.rollupPropertySourceLinks#RollupPropertySourceLink)`)` List of RollupPropertySourceLinks. |\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. |\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`"]]