
target.apidocs.com.google.api.services.androidpublisher.AndroidPublisher.Grants.html Maven / Gradle / Ivy
AndroidPublisher.Grants (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher
Class AndroidPublisher.Grants
- java.lang.Object
-
- com.google.api.services.androidpublisher.AndroidPublisher.Grants
-
- Enclosing class:
- AndroidPublisher
public class AndroidPublisher.Grants
extends Object
The "grants" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AndroidPublisher.Grants.Create
class
AndroidPublisher.Grants.Delete
class
AndroidPublisher.Grants.Patch
-
Constructor Summary
Constructors
Constructor and Description
Grants()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
create
public AndroidPublisher.Grants.Create create(String parent,
Grant content)
throws IOException
Grant access for a user to the given package.
Create a request for the method "grants.create".
This request holds the parameters needed by the androidpublisher server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The user which needs permission. Format: developers/{developer}/users/{user}
content
- the Grant
- Returns:
- the request
- Throws:
IOException
-
delete
public AndroidPublisher.Grants.Delete delete(String name)
throws IOException
Removes all access for the user to the given package or developer account.
Create a request for the method "grants.delete".
This request holds the parameters needed by the androidpublisher server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The name of the grant to delete. Format:
developers/{developer}/users/{email}/grants/{package_name}
- Returns:
- the request
- Throws:
IOException
-
patch
public AndroidPublisher.Grants.Patch patch(String name,
Grant content)
throws IOException
Updates access for the user to the given package.
Create a request for the method "grants.patch".
This request holds the parameters needed by the androidpublisher server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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 Grant
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy