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

target.apidocs.com.google.api.services.androidenterprise.AndroidEnterprise.Entitlements.html Maven / Gradle / Ivy

The newest version!






AndroidEnterprise.Entitlements (Google Play EMM API v1-rev20241113-2.0.0)












com.google.api.services.androidenterprise

Class AndroidEnterprise.Entitlements

  • java.lang.Object
    • com.google.api.services.androidenterprise.AndroidEnterprise.Entitlements
  • Enclosing class:
    AndroidEnterprise


    public class AndroidEnterprise.Entitlements
    extends Object
    The "entitlements" collection of methods.
    • Constructor Detail

      • Entitlements

        public Entitlements()
    • Method Detail

      • delete

        public AndroidEnterprise.Entitlements.Delete delete(String enterpriseId,
                                                            String userId,
                                                            String entitlementId)
                                                     throws IOException
        Removes an entitlement to an app for a user. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. Create a request for the method "entitlements.delete". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        userId - The ID of the user.
        entitlementId - The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
        Returns:
        the request
        Throws:
        IOException
      • get

        public AndroidEnterprise.Entitlements.Get get(String enterpriseId,
                                                      String userId,
                                                      String entitlementId)
                                               throws IOException
        Retrieves details of an entitlement. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. Create a request for the method "entitlements.get". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        userId - The ID of the user.
        entitlementId - The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
        Returns:
        the request
        Throws:
        IOException
      • list

        public AndroidEnterprise.Entitlements.List list(String enterpriseId,
                                                        String userId)
                                                 throws IOException
        Lists all entitlements for the specified user. Only the ID is set. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. Create a request for the method "entitlements.list". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        userId - The ID of the user.
        Returns:
        the request
        Throws:
        IOException
      • update

        public AndroidEnterprise.Entitlements.Update update(String enterpriseId,
                                                            String userId,
                                                            String entitlementId,
                                                            Entitlement content)
                                                     throws IOException
        Adds or updates an entitlement to an app for a user. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations. Create a request for the method "entitlements.update". This request holds the parameters needed by the androidenterprise server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        enterpriseId - The ID of the enterprise.
        userId - The ID of the user.
        entitlementId - The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
        content - the Entitlement
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy