All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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.
    • Constructor Detail

      • Grants

        public Grants()
    • 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