Method: enterprises.policies.get
एचटीटीपी अनुरोध
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
enterprises/{enterpriseId}/policies/{policyId} फ़ॉर्मैट में नीति का नाम.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Policy
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidmanagement
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-29 (UTC) को अपडेट किया गया."],[[["Retrieves a specific policy using its unique identifier within an enterprise."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["Uses a `GET` request to the specified URL with the policy's name as a path parameter."],["Returns the details of the requested policy if successful."],["Request body should be empty."]]],["This document outlines the process of retrieving a policy via an HTTP GET request. The request URL structure utilizes gRPC Transcoding and requires a `name` parameter, formatted as `enterprises/{enterpriseId}/policies/{policyId}`, specified in the path. The request body must be empty. A successful request returns a `Policy` instance. The operation requires authorization with the `https://www.googleapis.com/auth/androidmanagement` OAuth scope. You can try out this operation using the tool `Try it!`\n"]]