Method: properties.customMetrics.get
একটি একক CustomMetric জন্য সন্ধান করুন.
HTTP অনুরোধ
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customMetrics/*}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। কাস্টমমেট্রিকের নাম পেতে হবে। উদাহরণ বিন্যাস: বৈশিষ্ট্য/1234/কাস্টমমেট্রিক্স/5678 |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে CustomMetric
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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 সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Retrieves a single, user-defined metric (CustomMetric) for analysis within a Google Analytics 4 property."],["Requires specifying the complete resource name of the CustomMetric in the request path."],["The response provides comprehensive details about the requested CustomMetric if authorized with appropriate scopes."],["Allows read-only or edit access to the requested metric based on the provided authorization scope."]]],["The core content describes how to retrieve a single `CustomMetric`. A `GET` request is sent to a specified URL using gRPC Transcoding syntax. The `name` parameter, formatted as `properties/*/customMetrics/*`, is required in the URL path. The request body must be empty. A successful response returns a `CustomMetric` instance. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]