Method: properties.dataStreams.measurementProtocolSecrets.get
किसी एक MeasurementProtocolSecret के लिए लुकअप.
एचटीटीपी अनुरोध
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. उस मेज़रमेंट प्रोटोकॉल सीक्रेट का नाम जिसे लुकअप करना है. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में MeasurementProtocolSecret
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इसके लिए, 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) को अपडेट किया गया."],[[["Look up a single \"GA4\" MeasurementProtocolSecret using the provided HTTP request."],["The request requires the `name` parameter, specifying the MeasurementProtocolSecret's location within the property and data stream."],["An empty request body is necessary, and a successful response returns a MeasurementProtocolSecret object."],["Authorization is required, utilizing either `analytics.readonly` or `analytics.edit` OAuth scopes."]]],["This document outlines the process to retrieve a single MeasurementProtocolSecret. A `GET` HTTP request is sent to a specific URL, defined by a `name` parameter in the path. The format of the `name` is provided and is required. The request body must be empty. A successful response will include a `MeasurementProtocolSecret` instance in the response body. The request requires one of two OAuth scopes for authorization: `analytics.readonly` or `analytics.edit`.\n"]]