Method: accounts.get
एचटीटीपी अनुरोध
GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. खोजने के लिए खाते का नाम. फ़ॉर्मैट: accounts/{account} उदाहरण: "accounts/100"
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Account
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इनमें से किसी एक 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) को अपडेट किया गया."],[[["Lookup an Account using its resource name with a `GET` request to the specified endpoint."],["The request requires specifying the `name` path parameter in the URL, representing the Account's identifier."],["An empty request body is necessary for this operation."],["Upon success, the response includes detailed information about the Account in the specified format."],["Authorization is required with scopes allowing read-only or edit access to Analytics data."]]],["The core content describes how to retrieve a single account using an HTTP GET request. The request is made to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*}`, where `name` is a required path parameter specifying the account's identifier (e.g., \"accounts/100\"). The request body must be empty. A successful response returns an `Account` object. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. Users can test the request using the provided \"Try it!\" feature.\n"]]