REST Resource: enterprises.webTokens
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: WebToken
'कारोबार के लिए Google Play iframe' को ऐक्सेस करने के लिए इस्तेमाल किया जाने वाला वेब टोकन.
JSON के काेड में दिखाना |
{
"name": string,
"value": string,
"permissions": [
enum (WebTokenPermission )
],
"parentFrameUrl": string,
"enabledFeatures": [
enum (IframeFeature )
]
} |
फ़ील्ड |
name |
string
वेब टोकन का नाम, जिसे सर्वर बनाते समय, enterprises/{enterpriseId}/webTokens/{webTokenId} फ़ॉर्म में जनरेट करता है.
|
value |
string
टोकन वैल्यू, जिसका इस्तेमाल होस्टिंग पेज में, एम्बेड किए गए यूज़र इंटरफ़ेस (यूआई) वाला iframe जनरेट करने के लिए किया जाता है. यह रीड-ओनली फ़ील्ड है, जिसे सर्वर जनरेट करता है.
|
permissions[] (deprecated) |
enum (WebTokenPermission )
एम्बेड किए गए यूज़र इंटरफ़ेस (यूआई) में एडमिन को मिलने वाली अनुमतियां. यूज़र इंटरफ़ेस (यूआई) देखने के लिए, एडमिन के पास ये सभी अनुमतियां होनी चाहिए. यह फ़ील्ड काम नहीं करता है.
|
parentFrameUrl |
string
एम्बेड किए गए यूज़र इंटरफ़ेस (यूआई) वाले iframe को होस्ट करने वाले पैरंट फ़्रेम का यूआरएल. XSS को रोकने के लिए, हो सकता है कि iframe को अन्य URL पर होस्ट न किया गया हो. यूआरएल में एचटीटीपीएस स्कीम का इस्तेमाल किया जाना चाहिए.
|
enabledFeatures[] |
enum (IframeFeature )
चालू की जाने वाली सुविधाएं. अगर आपको यह कंट्रोल करना है कि कौनसी सुविधा(सुविधाओं) को असल में चालू किया जाएगा, तो इसका इस्तेमाल करें; सभी सुविधाओं को अनुमति देने के लिए, फ़ील्ड को खाली छोड़ें. पाबंदियां / ध्यान देने वाली बातें: - अगर इस सूची में कोई सुविधा नहीं है, तो सभी सुविधाएं चालू हो जाती हैं — यह एक डिफ़ॉल्ट तरीका है, जिसमें एडमिन को सभी सुविधाओं का ऐक्सेस दिया जाता है.
- इसमें कोई
FEATURE_UNSPECIFIED वैल्यू नहीं होनी चाहिए. - दोहराए गए मानों को अनदेखा कर दिया जाता है
|
WebTokenPermission
'कारोबार के लिए Google Play iframe' में, एडमिन को मिलने वाली अनुमतियां.
Enums |
WEB_TOKEN_PERMISSION_UNSPECIFIED |
इस वैल्यू को अनदेखा किया जाता है. |
APPROVE_APPS |
एंटरप्राइज़ के लिए ऐप्लिकेशन को मंज़ूरी देने की अनुमति. |
IframeFeature
iframe के ज़रिए उपलब्ध होने वाली सुविधा, जिसका ऐक्सेस यह WebToken देता है.
तरीके |
|
यह नीति किसी एंटरप्राइज़ के लिए, मैनेज किए जा रहे Google Play के उस वेब यूज़र इंटरफ़ेस (यूआई) को ऐक्सेस करने के लिए वेब टोकन बनाती है जिसे मैनेज किया जा सकता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eA WebToken is used to access the managed Google Play iframe and allows admins to perform tasks within the embedded UI, such as approving apps or managing configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe WebToken includes fields such as the token value, permissions, and enabled features which determine the functionalities available to the admin.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the parent frame URL where the iframe will be hosted and the specific features that should be enabled within the iframe for the admin.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epermissions\u003c/code\u003e field in \u003ccode\u003eWebToken\u003c/code\u003e is deprecated and the \u003ccode\u003eenabledFeatures\u003c/code\u003e field should be used to control functionalities instead.\u003c/p\u003e\n"]]],["A web token is used to access the managed Google Play iframe, with a server-generated `name` and `value`. The `parentFrameUrl` specifies the hosting URL, using HTTPS. The `enabledFeatures` field determines iframe functionality, such as `PLAY_SEARCH`, `PRIVATE_APPS`, or `STORE_BUILDER`. The deprecated `permissions` field controlled admin access to UI elements like app approvals. `WebTokenPermission` defines permissions like `APPROVE_APPS`, while `IframeFeature` lists available features. A web token can be created for a given enterprise using the `create` method.\n"],null,["# REST Resource: enterprises.webTokens\n\n- [Resource: WebToken](#WebToken)\n - [JSON representation](#WebToken.SCHEMA_REPRESENTATION)\n- [WebTokenPermission](#WebTokenPermission)\n- [IframeFeature](#IframeFeature)\n- [Methods](#METHODS_SUMMARY)\n\nResource: WebToken\n------------------\n\nA web token used to access the managed Google Play iframe.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"value\": string, \"permissions\": [ enum (/android/management/reference/rest/v1/enterprises.webTokens#WebTokenPermission) ], \"parentFrameUrl\": string, \"enabledFeatures\": [ enum (/android/management/reference/rest/v1/enterprises.webTokens#IframeFeature) ] } ``` |\n\n| Fields ||\n|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the web token, which is generated by the server during creation in the form `enterprises/{enterpriseId}/webTokens/{webTokenId}`. |\n| `value` | `string` The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server. |\n| `permissions[]` **(deprecated)** | `enum (`[WebTokenPermission](/android/management/reference/rest/v1/enterprises.webTokens#WebTokenPermission)`)` | This item is deprecated! Permissions available to an admin in the embedded UI. An admin must have all of these permissions in order to view the UI. This field is deprecated. |\n| `parentFrameUrl` | `string` The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the https scheme. |\n| `enabledFeatures[]` | `enum (`[IframeFeature](/android/management/reference/rest/v1/enterprises.webTokens#IframeFeature)`)` The features to enable. Use this if you want to control exactly which feature(s) will be activated; leave empty to allow all features. Restrictions / things to note: - If no features are listed here, all features are enabled --- this is the default behavior where you give access to all features to your admins. - This must not contain any `FEATURE_UNSPECIFIED` values. - Repeated values are ignored \u003cbr /\u003e |\n\nWebTokenPermission\n------------------\n\nPermissions available to an admin in the managed Google Play iframe.\n\n| Enums ||\n|------------------------------------|----------------------------------------------------|\n| `WEB_TOKEN_PERMISSION_UNSPECIFIED` | This value is ignored. |\n| `APPROVE_APPS` | The permission to approve apps for the enterprise. |\n\nIframeFeature\n-------------\n\nThe feature available via an iframe that this WebToken will give access to.\n\n| Enums ||\n|----------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| `FEATURE_UNSPECIFIED` | Unspecified feature. |\n| `PLAY_SEARCH` | The [Managed Play search apps page](https://developers.google.com/android/management/apps#search-apps). |\n| `PRIVATE_APPS` | The [private apps page](https://developers.google.com/android/management/apps#private-apps). |\n| `WEB_APPS` | The [Web Apps page](https://developers.google.com/android/management/apps#web-apps). |\n| `STORE_BUILDER` | The [organize apps page](https://developers.google.com/android/management/apps#organize-apps). |\n| `MANAGED_CONFIGURATIONS` | The [managed configurations page](https://developers.google.com/android/management/managed-configurations-iframe). |\n| `ZERO_TOUCH_CUSTOMER_MANAGEMENT` | The [zero-touch iframe](https://developers.google.com/android/management/zero-touch-iframe). |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| ### [create](/android/management/reference/rest/v1/enterprises.webTokens/create) | Creates a web token to access an embeddable managed Google Play web UI for a given enterprise. |"]]