Method: properties.getDataRetentionSettings
इस प्रॉपर्टी के लिए, सिंगलटन डेटा के रखरखाव की सेटिंग दिखाता है.
एचटीटीपी अनुरोध
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataRetentionSettings}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. लुकअप के लिए मौजूद सेटिंग का नाम. फ़ॉर्मैट: प्रॉपर्टीज़/{property}/dataRetrieveSettings का उदाहरण: "property/1000/datacreationSettings"
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में DataRetentionSettings
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इनमें से किसी एक 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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-05-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-05-06 (UTC) को अपडेट किया गया."],[[["Retrieve data retention settings for a specific Google Analytics 4 property using an HTTP GET request."],["The request URL requires a property ID and utilizes gRPC Transcoding syntax."],["An empty request body is necessary, while a successful response returns a DataRetentionSettings object."],["Authorization requires specific OAuth scopes for either read-only or edit access to Analytics data."]]],["This document details retrieving data retention settings for a property using a `GET` request. The core action is to `GET` data from the specified URL, `https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataRetentionSettings}`, using gRPC Transcoding syntax. The `name` path parameter, formatted as \"properties/{property}/dataRetentionSettings\", is required. The request body must be empty. A successful response will include an instance of `DataRetentionSettings`. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]