Method: properties.dataStreams.measurementProtocolSecrets.get
किसी एक MeasurementProtocolSecret के लिए लुकअप.
एचटीटीपी अनुरोध
GET https://analyticsadmin.googleapis.com/v1beta/{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) को अपडेट किया गया."],[[["Retrieve a single \"GA4\" MeasurementProtocolSecret using the provided HTTP request."],["The request requires a specific path parameter to identify the desired MeasurementProtocolSecret by name."],["An empty request body is necessary, while a successful response includes details about the MeasurementProtocolSecret."],["Authorization is required using specific OAuth scopes for either read-only or edit access."]]],["This documentation details how to retrieve a single MeasurementProtocolSecret. The core action is a `GET` HTTP request to a specific URL that includes path parameters, specifically the secret's `name`. This `name` is a formatted string that identifies the resource. The request body must be empty. A successful request returns a `MeasurementProtocolSecret` object. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. The process uses gRPC Transcoding syntax.\n"]]