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
삽입된 UI가 포함된 iframe을 생성하기 위해 호스팅 페이지에서 사용되는 토큰 값입니다. 서버에서 생성하는 읽기 전용 입력란입니다.
|
permissions[] (deprecated) |
enum (WebTokenPermission )
삽입된 UI에서 관리자가 사용할 수 있는 권한입니다. 관리자가 UI를 보려면 이러한 권한을 모두 보유해야 합니다. 이 필드는 더 이상 사용되지 않습니다.
|
parentFrameUrl |
string
삽입된 UI가 있는 iframe을 호스팅하는 상위 프레임의 URL입니다. XSS를 방지하기 위해 iframe이 다른 URL에서 호스팅되지 않을 수 있습니다. URL은 https 스키마를 사용해야 합니다.
|
enabledFeatures[] |
enum (IframeFeature )
사용 설정할 기능입니다. 활성화할 기능을 정확하게 제어하려면 이 속성을 사용합니다. 비워두면 모든 기능을 허용할 수 있습니다. 제한사항 / 참고사항: - 여기에 표시된 기능이 없으면 모든 기능이 사용 설정됩니다. 이는 관리자에게 모든 기능에 대한 액세스 권한을 부여하는 기본 동작입니다.
-
FEATURE_UNSPECIFIED 값을 포함해서는 안 됩니다. - 반복되는 값은 무시됩니다.
|
WebTokenPermission
관리 Google Play iframe에서 관리자가 사용할 수 있는 권한
열거형 |
WEB_TOKEN_PERMISSION_UNSPECIFIED |
이 값은 무시됩니다. |
APPROVE_APPS |
기업용 앱을 승인할 수 있는 권한입니다. |
IframeFeature
이 WebToken이 액세스 권한을 부여하는 iframe을 통해 사용할 수 있는 기능입니다.
메서드 |
|
특정 기업의 삽입 가능한 관리 Google Play 웹 UI에 액세스하기 위한 웹 토큰을 만듭니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 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. |"]]