Method: properties.customDimensions.get
جستجو برای یک CustomDimension واحد.
درخواست HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customDimensions/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
name | string ضروری. نام CustomDimension را دریافت کنید. فرمت مثال: properties/1234/customDimensions/5678 |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از CustomDimension
است.
محدوده مجوز
به یکی از حوزه های 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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-25 بهوقت ساعت هماهنگ جهانی."],[[["This page details how to use the Google Analytics Admin API to look up a single custom dimension."],["Requests must use the `GET` method and provide the `name` of the custom dimension in the URL path."],["No request body is needed, and a successful response returns a `CustomDimension` object."],["Authorization is required with either `analytics.readonly` or `analytics.edit` scopes."]]],["To retrieve a CustomDimension, use a `GET` request to the specified URL, including the dimension's `name` in the path. The `name` parameter is required and follows the format `properties/*/customDimensions/*`. The request body should be empty. A successful response returns a `CustomDimension` instance. This action requires authorization via either the `analytics.readonly` or `analytics.edit` OAuth scopes. The URL format uses gRPC Transcoding syntax.\n"]]