public class AndroidPublisher.Grants extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | AndroidPublisher.Grants.Create | 
| class  | AndroidPublisher.Grants.Delete | 
| class  | AndroidPublisher.Grants.Patch | 
| Constructor and Description | 
|---|
| Grants() | 
| Modifier and Type | Method and Description | 
|---|---|
| AndroidPublisher.Grants.Create | create(String parent,
      Grant content)Grant access for a user to the given package. | 
| AndroidPublisher.Grants.Delete | delete(String name)Removes all access for the user to the given package or developer account. | 
| AndroidPublisher.Grants.Patch | patch(String name,
     Grant content)Updates access for the user to the given package. | 
public AndroidPublisher.Grants.Create create(String parent, Grant content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The user which needs permission. Format: developers/{developer}/users/{user}content - the GrantIOExceptionpublic AndroidPublisher.Grants.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The name of the grant to delete. Format:
        developers/{developer}/users/{email}/grants/{package_name}IOExceptionpublic AndroidPublisher.Grants.Patch patch(String name, Grant content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name for this grant, following the pattern
        "developers/{developer}/users/{email}/grants/{package_name}". If this grant is for a draft
        app, the app ID will be used in this resource name instead of the package name.content - the GrantIOExceptionCopyright © 2011–2024 Google. All rights reserved.