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.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AndroidEnterprise.Entitlements.Delete
class
AndroidEnterprise.Entitlements.Get
class
AndroidEnterprise.Entitlements.List
class
AndroidEnterprise.Entitlements.Update
-
Constructor Summary
Constructors
Constructor and Description
Entitlements()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AndroidEnterprise.Entitlements.Delete
delete(String enterpriseId,
String userId,
String entitlementId)
Removes an entitlement to an app for a user.
AndroidEnterprise.Entitlements.Get
get(String enterpriseId,
String userId,
String entitlementId)
Retrieves details of an entitlement.
AndroidEnterprise.Entitlements.List
list(String enterpriseId,
String userId)
Lists all entitlements for the specified user.
AndroidEnterprise.Entitlements.Update
update(String enterpriseId,
String userId,
String entitlementId,
Entitlement content)
Adds or updates an entitlement to an app for a user.
-
-
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