Method: properties.customDimensions.get
جستجو برای یک CustomDimension واحد.
درخواست HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{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 document details how to look up a single CustomDimension using the Google Analytics Admin API."],["It requires a `GET` request to a specific URL with the CustomDimension's name as a path parameter."],["The request body should be empty, and a successful response returns a CustomDimension object."],["Authorization is required with either read-only or edit access scopes for Google Analytics."]]],["The core content describes how to retrieve a single CustomDimension. A `GET` request is made to a specific URL, structured using gRPC Transcoding syntax, with a required `name` path parameter specifying the CustomDimension to fetch. The request body must be empty. A successful response returns a `CustomDimension` instance. Authorization requires either the `analytics.readonly` or `analytics.edit` OAuth scope. The information is available via a URL and the `Try it!` functionality.\n"]]