REST Resource: grants
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: Grant
JSON 표현 |
{
"name": string,
"packageName": string,
"appLevelPermissions": [
enum (AppLevelPermission )
]
} |
필드 |
name |
string
필수 항목입니다. 이 권한 부여의 리소스 이름으로, 'developers/{developer}/users/{email}/grants/{packageName}' 패턴을 따릅니다. 임시 앱에 부여된 권한인 경우 패키지 이름 대신 앱 ID가 리소스 이름에 사용됩니다.
|
packageName |
string
변경할 수 없습니다. 앱의 패키지 이름입니다. 앱 초안의 경우 이 입력란이 비어 있습니다.
|
appLevelPermissions[] |
enum (AppLevelPermission )
이 앱에 대해 사용자에게 부여된 권한입니다.
|
AppLevelPermission
열거형 |
APP_LEVEL_PERMISSION_UNSPECIFIED |
알 수 없거나 지정되지 않은 권한입니다. |
CAN_ACCESS_APP |
앱 정보를 봅니다 (읽기 전용). 지원 중단됨: 보다 세분화된 기능을 정의해 보세요. 그렇지 않은 경우 AppLevelPermission.CAN_VIEW_NON_FINANCIAL_DATA를 확인합니다. |
CAN_VIEW_FINANCIAL_DATA |
재무 데이터 보기 |
CAN_MANAGE_PERMISSIONS |
관리자 (모든 권한) |
CAN_REPLY_TO_REVIEWS |
reviews.reply를 받을 수 있습니다. |
CAN_MANAGE_PUBLIC_APKS |
프로덕션으로 출시, 기기 제외, Google Play 앱 서명 사용 |
CAN_MANAGE_TRACK_APKS |
테스트 트랙으로 출시 |
CAN_MANAGE_TRACK_USERS |
테스트 트랙 관리 및 테스터 목록 수정 |
CAN_MANAGE_PUBLIC_LISTING |
앱 정보 관리 |
CAN_MANAGE_DRAFT_APPS |
앱 초안을 수정하고 삭제합니다. |
CAN_MANAGE_ORDERS |
주문 및 정기 결제 관리 |
CAN_MANAGE_APP_CONTENT |
정책 관련 페이지를 관리합니다. |
CAN_VIEW_NON_FINANCIAL_DATA |
앱 정보를 봅니다 (읽기 전용). |
CAN_VIEW_APP_QUALITY |
vitals, 비정상 종료 등의 앱 품질 데이터를 봅니다. |
CAN_MANAGE_DEEPLINKS |
앱의 딥 링크 설정을 관리합니다. |
메서드 |
|
사용자에게 지정된 패키지에 대한 액세스 권한을 부여합니다. |
|
지정된 패키지 또는 개발자 계정에 대한 사용자의 모든 액세스 권한을 삭제합니다. |
|
지정된 패키지에 대한 사용자의 액세스 권한을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThe Grant resource allows you to manage user access to your Google Play Developer account and specific app packages.\u003c/p\u003e\n"],["\u003cp\u003eGrants can be created, updated, and deleted using dedicated methods.\u003c/p\u003e\n"],["\u003cp\u003eAppLevelPermissions define the level of access granted for each app, ranging from read-only to full administrative control.\u003c/p\u003e\n"],["\u003cp\u003ePermissions include managing releases, replying to reviews, viewing financial data, and more.\u003c/p\u003e\n"]]],["A Grant resource manages app access. It has a `name`, `packageName`, and `appLevelPermissions`. AppLevelPermissions define the user's capabilities, such as viewing financial data, managing permissions, replying to reviews, releasing to tracks, managing listings, and more. Core methods include creating a grant to give a user access, deleting to revoke access, and patching to update a user's existing permissions for a package.\n"],null,["# REST Resource: grants\n\n- [Resource: Grant](#Grant)\n - [JSON representation](#Grant.SCHEMA_REPRESENTATION)\n - [AppLevelPermission](#Grant.AppLevelPermission)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Grant\n---------------\n\nAn access grant resource.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"packageName\": string, \"appLevelPermissions\": [ enum (/android-publisher/api-ref/rest/v3/grants#Grant.AppLevelPermission) ] } ``` |\n\n| Fields ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. Resource name for this grant, following the pattern \"developers/{developer}/users/{email}/grants/{packageName}\". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name. |\n| `packageName` | `string` Immutable. The package name of the app. This will be empty for draft apps. |\n| `appLevelPermissions[]` | `enum (`[AppLevelPermission](/android-publisher/api-ref/rest/v3/grants#Grant.AppLevelPermission)`)` The permissions granted to the user for this app. |\n\n### AppLevelPermission\n\nA permission granted at a per-app level.\n\n| Enums ||\n|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `APP_LEVEL_PERMISSION_UNSPECIFIED` | Unknown or unspecified permission. |\n| `CAN_ACCESS_APP` | View app information (read-only). Deprecated: Try defining a more granular capability. Otherwise, check AppLevelPermission.CAN_VIEW_NON_FINANCIAL_DATA. | This item is deprecated! |\n| `CAN_VIEW_FINANCIAL_DATA` | View financial data. |\n| `CAN_MANAGE_PERMISSIONS` | Admin (all permissions). |\n| `CAN_REPLY_TO_REVIEWS` | reviews.reply to reviews. |\n| `CAN_MANAGE_PUBLIC_APKS` | Release to production, exclude devices, and use app signing by Google Play. |\n| `CAN_MANAGE_TRACK_APKS` | Release to testing tracks. |\n| `CAN_MANAGE_TRACK_USERS` | Manage testing tracks and edit tester lists. |\n| `CAN_MANAGE_PUBLIC_LISTING` | Manage store presence. |\n| `CAN_MANAGE_DRAFT_APPS` | Edit and delete draft apps. |\n| `CAN_MANAGE_ORDERS` | Manage orders and subscriptions. |\n| `CAN_MANAGE_APP_CONTENT` | Manage policy related pages. |\n| `CAN_VIEW_NON_FINANCIAL_DATA` | View app information (read-only). |\n| `CAN_VIEW_APP_QUALITY` | View app quality data such as Vitals, Crashes etc. |\n| `CAN_MANAGE_DEEPLINKS` | Manage the deep links setup of an app. |\n\n| Methods ------- ||\n|----------------------------------------------------------------|----------------------------------------------------------------------------|\n| ### [create](/android-publisher/api-ref/rest/v3/grants/create) | Grant access for a user to the given package. |\n| ### [delete](/android-publisher/api-ref/rest/v3/grants/delete) | Removes all access for the user to the given package or developer account. |\n| ### [patch](/android-publisher/api-ref/rest/v3/grants/patch) | Updates access for the user to the given package. |"]]