Method: properties.get
किसी एक GA प्रॉपर्टी के लिए लुकअप.
एचटीटीपी अनुरोध
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. जिस प्रॉपर्टी को लुकअप करना है उसका नाम. फ़ॉर्मैट: properties/{property_id} उदाहरण: "properties/1000"
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Property
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इसके लिए, 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 और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया."],[[["This document explains how to retrieve a single Google Analytics 4 property using the Google Analytics Admin API."],["You will need to make an HTTP GET request to the specified endpoint, providing the property ID as a path parameter."],["The request body should be empty, and a successful response will contain the details of the requested property."],["Authorization is required using one of the specified OAuth scopes: `https://www.googleapis.com/auth/analytics.readonly` or `https://www.googleapis.com/auth/analytics.edit`."]]],["The core content describes how to retrieve a single Google Analytics property using a `GET` request to the specified URL (`https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*}`). The `name` parameter (e.g., \"properties/1000\") within the URL path is required to identify the specific property. The request body must be empty. A successful request returns a `Property` instance in the response body. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]