public class AndroidEnterprise.Entitlements
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidEnterprise.Entitlements.Delete |
class |
AndroidEnterprise.Entitlements.Get |
class |
AndroidEnterprise.Entitlements.List |
class |
AndroidEnterprise.Entitlements.Update |
Constructor and Description |
---|
Entitlements() |
Modifier and Type | Method and Description |
---|---|
AndroidEnterprise.Entitlements.Delete |
delete(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String entitlementId)
Removes an entitlement to an app for a user.
|
AndroidEnterprise.Entitlements.Get |
get(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String entitlementId)
Retrieves details of an entitlement.
|
AndroidEnterprise.Entitlements.List |
list(java.lang.String enterpriseId,
java.lang.String userId)
Lists all entitlements for the specified user.
|
AndroidEnterprise.Entitlements.Update |
update(java.lang.String enterpriseId,
java.lang.String userId,
java.lang.String entitlementId,
Entitlement content)
Adds or updates an entitlement to an app for a user.
|
public AndroidEnterprise.Entitlements.Delete delete(java.lang.String enterpriseId, java.lang.String userId, java.lang.String entitlementId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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".java.io.IOException
public AndroidEnterprise.Entitlements.Get get(java.lang.String enterpriseId, java.lang.String userId, java.lang.String entitlementId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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".java.io.IOException
public AndroidEnterprise.Entitlements.List list(java.lang.String enterpriseId, java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.java.io.IOException
public AndroidEnterprise.Entitlements.Update update(java.lang.String enterpriseId, java.lang.String userId, java.lang.String entitlementId, Entitlement content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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
java.io.IOException