REST Resource: grants

Resource: Grant

An access grant resource.

JSON representation
{
  "name": string,
  "packageName": string,
  "appLevelPermissions": [
    enum (AppLevelPermission)
  ]
}
Fields
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.

packageName

string

Immutable. The package name of the app. This will be empty for draft apps.

appLevelPermissions[]

enum (AppLevelPermission)

The permissions granted to the user for this app.

AppLevelPermission

A permission granted at a per-app level.

Enums
APP_LEVEL_PERMISSION_UNSPECIFIED Unknown or unspecified permission.
CAN_ACCESS_APP View app information (read-only).
CAN_VIEW_FINANCIAL_DATA View financial data.
CAN_MANAGE_PERMISSIONS Admin (all permissions).
CAN_REPLY_TO_REVIEWS reviews.reply to reviews.
CAN_MANAGE_PUBLIC_APKS Release to production, exclude devices, and use app signing by Google Play.
CAN_MANAGE_TRACK_APKS Release to testing tracks.
CAN_MANAGE_TRACK_USERS Manage testing tracks and edit tester lists.
CAN_MANAGE_PUBLIC_LISTING Manage store presence.
CAN_MANAGE_DRAFT_APPS Edit and delete draft apps.
CAN_MANAGE_ORDERS Manage orders and subscriptions.

Methods

create

Grant access for a user to the given package.

delete

Removes all access for the user to the given package or developer account.

patch

Updates access for the user to the given package.