संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस संसाधन के लिए तरीकों की सूची देखने के लिए, इस पेज पर सबसे नीचे जाएं.
संसाधन के तौर पर दिखाए जाने वाले आइटम
Enterprises रिसॉर्स, किसी ईएमएम और किसी खास संगठन के बीच बाइंडिंग को दिखाता है. इस एपीआई का इस्तेमाल करके, उस बाइंडिंग को दो अलग-अलग तरीकों से इंस्टैंशिएट किया जा सकता है. इसके लिए, यह तरीका अपनाएं:
Google के मैनेज किए जा रहे डोमेन के ग्राहकों के लिए, इस प्रोसेस में Enterprises.enroll और Enterprises.setAccount का इस्तेमाल करना शामिल है. साथ ही, Admin console और Google API Console से मिले आर्टफ़ैक्ट का इस्तेमाल करना भी शामिल है. इसके बाद, ईएमएम को सबमिट करने के लिए, ज़्यादा या कम मैन्युअल प्रोसेस का इस्तेमाल किया जाता है.
मैनेज किए जा रहे Google Play खातों के ग्राहकों के लिए, मैन्युअल तरीके से बाइंडिंग बनाने के बजाय, मैनेज किए जा रहे Google Play के साइन-अप यूज़र इंटरफ़ेस (यूआई) (Google की ओर से दिया गया तरीका) के साथ Enterprises.generateSignupUrl और Enterprises.completeSignup का इस्तेमाल किया जाता है.
ईएमएम के तौर पर, अपने ईएमएम कंसोल में इनमें से किसी एक या दोनों तरीकों का इस्तेमाल किया जा सकता है. ज़्यादा जानकारी के लिए, एंटरप्राइज़ खाता बनाना लेख पढ़ें.
'साइन अप पूरा हो गया' टोकन और एंटरप्राइज़ टोकन की जानकारी देकर, साइन अप फ़्लो पूरा करता है.
किसी Enterprise
Token के लिए, इस अनुरोध को एक से ज़्यादा बार नहीं बुलाया जाना चाहिए.
एम्बेड किए जा सकने वाले यूज़र इंटरफ़ेस (यूआई) को ऐक्सेस करने के लिए, एक यूनीक टोकन दिखाता है. वेब यूज़र इंटरफ़ेस (यूआई) जनरेट करने के लिए, जनरेट किए गए टोकन को 'कारोबार के लिए Google Play' के मैनेज किए जा रहे JavaScript API में पास करें. हर टोकन का इस्तेमाल सिर्फ़ एक यूज़र इंटरफ़ेस (यूआई) सेशन शुरू करने के लिए किया जा सकता है. ज़्यादा जानकारी के लिए,
JavaScript API से जुड़ा दस्तावेज़ देखें.
'कारोबार के लिए Google Play खाते एंटरप्राइज़' को Managed Google Domains में अपग्रेड करने के लिए, एंटरप्राइज़ अपग्रेड यूआरएल जनरेट करता है.
ज़्यादा जानकारी के लिए,
एक एंटरप्राइज़ खाते को अपग्रेड करने के लिए गाइड देखें.
सेवा खाता और क्रेडेंशियल दिखाता है. setAccount को कॉल करके, सेवा खाते को एंटरप्राइज़ से जोड़ा जा सकता है. सेवा खाता, इस एंटरप्राइज़ और ईएमएम के लिए यूनीक होता है. अगर एंटरप्राइज़ को अनबाउंड किया जाता है, तो यह खाता मिटा दिया जाएगा. क्रेडेंशियल में निजी कुंजी का डेटा होता है और इन्हें सर्वर साइड पर स्टोर नहीं किया जाता.
इस तरीके को सिर्फ़ Enterprises.Enroll या Enterprises.CompleteSignup को कॉल करने के बाद और Enterprises.SetAccount से पहले कॉल किया जा सकता है. ऐसा न करने पर, यह गड़बड़ी दिखाएगा.
पहले कॉल के बाद किए जाने वाले कॉल, क्रेडेंशियल का एक नया और यूनीक सेट जनरेट करेंगे. साथ ही, पहले जनरेट किए गए क्रेडेंशियल अमान्य हो जाएंगे.
सर्विस खाते को एंटरप्राइज़ से बांधने के बाद, उसे serviceAccountKeys संसाधन का इस्तेमाल करके मैनेज किया जा सकता है.
एंटरप्राइज़ के लिए स्टोर का लेआउट दिखाता है. अगर स्टोर का लेआउट सेट नहीं किया गया है, तो स्टोर के लेआउट टाइप के तौर पर "सामान्य" दिखाता है और होम पेज नहीं दिखाता.
डोमेन नेम से किसी एंटरप्राइज़ को खोजता है.
यह सुविधा सिर्फ़ उन एंटरप्राइज़ के लिए उपलब्ध है जिन्हें Google के बनाए गए प्रोसेस के ज़रिए बनाया गया है. ईएमएम से शुरू किए गए फ़्लो की मदद से बनाए गए एंटरप्राइज़ के लिए, आईडी को लुकअप करने की ज़रूरत नहीं होती. ऐसा इसलिए, क्योंकि ईएमएम, Enterprises.generateSignupUrl कॉल में बताए गए कॉलबैक में एंटरप्राइज़ आईडी को जानता है.
अनुरोध के लिए पुष्टि किए गए सेवा खाते से जुड़े एंटरप्राइज़ के लिए, सूचना सेट को खींचता है और दिखाता है. अगर कोई सूचना बाकी नहीं है, तो सूचना सेट खाली हो सकता है.
अगर सूचना सेट खाली नहीं है, तो Enterprises.AcknowledgeNotificationSet को कॉल करके, रिटर्न किए गए सूचना सेट को 20 सेकंड के अंदर स्वीकार करना ज़रूरी है.
जिन सूचनाओं की पुष्टि 20 सेकंड के अंदर नहीं की जाती है उन्हें आखिर में, PullNotificationSet के किसी दूसरे अनुरोध के जवाब में फिर से शामिल किया जाएगा. साथ ही, जिन सूचनाओं की पुष्टि कभी नहीं की जाती है उन्हें Google Cloud Platform के Pub/Sub सिस्टम की नीति के मुताबिक मिटा दिया जाएगा.
सूचनाएं पाने के लिए, एक साथ कई अनुरोध किए जा सकते हैं. ऐसे में, अगर कोई सूचना बाकी है, तो उसे कॉल करने वाले हर व्यक्ति के बीच बांटा जाएगा.
अगर कोई सूचना मौजूद नहीं है, तो सूचनाओं की खाली सूची दिखती है.
बाद में किए गए अनुरोधों से, उपलब्ध होने पर ज़्यादा सूचनाएं मिल सकती हैं.
एंटरप्राइज़ के लिए स्टोर का लेआउट सेट करता है. डिफ़ॉल्ट रूप से, storeLayoutType "बेसिक" पर सेट होता है और स्टोर का बुनियादी लेआउट चालू होता है. बुनियादी लेआउट में सिर्फ़ वे ऐप्लिकेशन होते हैं जिन्हें एडमिन ने अनुमति दी है और जिन्हें किसी उपयोगकर्ता के लिए उपलब्ध प्रॉडक्ट सेट में जोड़ा गया है. इसके लिए,
setAvailableProductSet कॉल का इस्तेमाल किया जाता है. पेज पर मौजूद ऐप्लिकेशन, उनके प्रॉडक्ट आईडी की वैल्यू के हिसाब से क्रम में लगाए जाते हैं. अगर आपने स्टोर का कस्टम लेआउट बनाया है, तो स्टोर का बुनियादी लेआउट बंद हो जाता है. ऐसा करने के लिए, storeLayoutType = "custom" सेट करें और होम पेज सेट करें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-28 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eAn Enterprises resource represents the connection between an EMM and an organization, established through either manual enrollment for Google-managed domains or automated signup for managed Google Play Accounts.\u003c/p\u003e\n"],["\u003cp\u003eEMMs can support either or both enrollment methods, offering flexibility in binding with organizations.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides various methods to manage enterprises, including enrollment, sign-up, retrieval of enterprise details, and more.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnterprises\u003c/code\u003e resource includes properties like ID, primary domain, name, and administrators, offering comprehensive information about the enterprise.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage the API's methods to interact with and manage enterprise data, enabling seamless integration with their EMM solutions.\u003c/p\u003e\n"]]],[],null,["\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n\nAn Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows:\n\n- For Google managed domain customers, the process involves using `Enterprises.enroll` and `Enterprises.setAccount` (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process.\n- For managed Google Play Accounts customers, the process involves using `Enterprises.generateSignupUrl` and `Enterprises.completeSignup` in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps.\n\nAs an EMM, you can support either or both approaches in your EMM console. See [Create an Enterprise](/android/work/play/emm-api/create-enterprise) for details. \n\n\u003cbr /\u003e\n\n```text\n{\n \"kind\": \"androidenterprise#enterprise\",\n \"id\": string,\n \"primaryDomain\": string,\n \"name\": string,\n \"administrator\": [\n {\n \"email\": string\n }\n ],\n \"enterpriseType\": string,\n \"managedGoogleDomainType\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `administrator[]` | `list` | Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow. | |\n| administrator[].`email` | `string` | The admin's email address. | |\n| `enterpriseType` | `string` | The type of the enterprise. \u003cbr /\u003e Acceptable values are: - \"`enterpriseTypeUnspecified`\" - \"`managedGoogleDomain`\" - \"`managedGooglePlayAccountsEnterprise`\" | |\n| `id` | `string` | The unique ID for the enterprise. | |\n| `kind` | `string` | | |\n| `managedGoogleDomainType` | `string` | The type of managed Google domain \u003cbr /\u003e Acceptable values are: - \"`managedGoogleDomainTypeUnspecified`\" - \"`typeDomain`\" - \"`typeTeam`\" | |\n| `name` | `string` | The name of the enterprise, for example, \"Example, Inc\". | |\n| `primaryDomain` | `string` | The enterprise's primary domain, such as \"example.com\". | |\n\nMethods\n\n[acknowledgeNotificationSet](/android/work/play/emm-api/v1/enterprises/acknowledgeNotificationSet)\n: Acknowledges notifications that were received from\n Enterprises.PullNotificationSet to prevent subsequent calls from returning\n the same notifications.\n\n[completeSignup](/android/work/play/emm-api/v1/enterprises/completeSignup)\n: Completes the signup flow, by specifying the Completion token and\n Enterprise token.\n This request must not be called multiple times for a given Enterprise\n Token.\n\n[createWebToken](/android/work/play/emm-api/v1/enterprises/createWebToken)\n: Returns a unique token to access an embeddable UI. To generate a\n web UI, pass the generated token into the managed Google Play javascript\n API. Each token may only be used to start one UI session. See the\n [JavaScript API documentation](https://developers.google.com/api-client-library/javascript/apis/androidenterprise/v1) for further information.\n\n[enroll](/android/work/play/emm-api/v1/enterprises/enroll)\n: Enrolls an enterprise with the calling EMM.\n\n[generateEnterpriseUpgradeUrl](/android/work/play/emm-api/v1/enterprises/generateEnterpriseUpgradeUrl)\n: Generates an enterprise upgrade URL to upgrade an existing managed Google\n Play Accounts enterprise to a managed Google domain.\n See [the guide to upgrading an enterprise](/android/work/play/emm-api/upgrade-an-enterprise) for more details.\n\n[generateSignupUrl](/android/work/play/emm-api/v1/enterprises/generateSignupUrl)\n: Generates a sign-up URL.\n\n[get](/android/work/play/emm-api/v1/enterprises/get)\n: Retrieves the name and domain of an enterprise.\n\n[getServiceAccount](/android/work/play/emm-api/v1/enterprises/getServiceAccount)\n: Returns a service account and credentials. The service account\n can be bound to the enterprise by calling setAccount. The service account\n is unique to this enterprise and EMM, and will be deleted if the enterprise\n is unbound. The credentials contain private key data and are not stored\n server-side.\n\n \u003cbr /\u003e\n\n\n This method can only be called after calling\n Enterprises.Enroll or Enterprises.CompleteSignup, and before\n Enterprises.SetAccount; at other times it will return an error.\n\n \u003cbr /\u003e\n\n\n Subsequent calls after the first will generate a new, unique set of\n credentials, and invalidate the previously generated credentials.\n\n \u003cbr /\u003e\n\n\n Once the service account is bound to the enterprise, it can be managed\n using the serviceAccountKeys resource.\n\n \u003cbr /\u003e\n\n\n \u003cbr /\u003e\n\n | **Note:** After you create a key, you might need to wait for 60 seconds or more before you perform another operation with the key. If you try to perform an operation with the key immediately after you create the key, and you receive an error, you can [retry\n | the request with exponential backoff](https://cloud.google.com/iam/docs/retry-strategy)\n\n \u003cbr /\u003e\n\n .\n\n[getStoreLayout](/android/work/play/emm-api/v1/enterprises/getStoreLayout)\n: Returns the store layout for the enterprise. If the store layout\n has not been set, returns \"basic\" as the store layout type and no\n homepage.\n\n[list](/android/work/play/emm-api/v1/enterprises/list)\n: Looks up an enterprise by domain name.\n This is only supported for enterprises created via the Google-initiated\n creation flow. Lookup of the id is not needed for enterprises created via\n the EMM-initiated flow since the EMM learns the enterprise ID in the\n callback specified in the Enterprises.generateSignupUrl call.\n\n[pullNotificationSet](/android/work/play/emm-api/v1/enterprises/pullNotificationSet)\n: Pulls and returns a notification set for the enterprises associated with\n the service account authenticated for the request. The notification set may\n be empty if no notification are pending.\n\n\n A notification set returned needs to be acknowledged within 20 seconds\n by calling Enterprises.AcknowledgeNotificationSet, unless the\n notification set is empty.\n\n\n Notifications that are not acknowledged within the 20 seconds will\n eventually be included again in the response to another PullNotificationSet\n request, and those that are never acknowledged will ultimately be deleted\n according to the Google Cloud Platform Pub/Sub system policy.\n\n\n Multiple requests might be performed concurrently to retrieve\n notifications, in which case the pending notifications (if any) will be\n split among each caller, if any are pending.\n\n\n If no notifications are present, an empty notification list is returned.\n Subsequent requests may return more notifications once they become\n available.\n\n[sendTestPushNotification](/android/work/play/emm-api/v1/enterprises/sendTestPushNotification)\n: Sends a test notification to validate the EMM integration with\n the Google Cloud Pub/Sub service for this enterprise.\n\n[setAccount](/android/work/play/emm-api/v1/enterprises/setAccount)\n: Sets the account that will be used to authenticate to the API as the\n enterprise.\n\n[setStoreLayout](/android/work/play/emm-api/v1/enterprises/setStoreLayout)\n: Sets the store layout for the enterprise. By default, storeLayoutType\n is set to \"basic\" and the basic store layout is enabled. The basic\n layout only contains apps approved by the admin, and that have\n been added to the available product set for a user (using the\n [setAvailableProductSet](/android/work/play/emm-api/v1/users/setAvailableProductSet) call). Apps on the page are sorted in order of\n their product ID value. If you create a custom store layout (by setting\n storeLayoutType = \"custom\" and setting a homepage), the basic store\n layout is disabled.\n\n[unenroll](/android/work/play/emm-api/v1/enterprises/unenroll)\n: Unenrolls an enterprise from the calling EMM."]]