public class AndroidEnterprise.Entitlements extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AndroidEnterprise.Entitlements.Delete |
class |
AndroidEnterprise.Entitlements.Get |
class |
AndroidEnterprise.Entitlements.List |
class |
AndroidEnterprise.Entitlements.Patch |
class |
AndroidEnterprise.Entitlements.Update |
| Constructor and Description |
|---|
Entitlements() |
| 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.Patch |
patch(String enterpriseId,
String userId,
String entitlementId,
Entitlement content)
Adds or updates an entitlement to an app for a user.
|
AndroidEnterprise.Entitlements.Update |
update(String enterpriseId,
String userId,
String entitlementId,
Entitlement content)
Adds or updates an entitlement to an app for a user.
|
public AndroidEnterprise.Entitlements.Delete delete(String enterpriseId, String userId, String entitlementId) throws 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".IOExceptionpublic AndroidEnterprise.Entitlements.Get get(String enterpriseId, String userId, String entitlementId) throws 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".IOExceptionpublic AndroidEnterprise.Entitlements.List list(String enterpriseId, String userId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.enterpriseId - The ID of the enterprise.userId - The ID of the user.IOExceptionpublic AndroidEnterprise.Entitlements.Patch patch(String enterpriseId, String userId, String entitlementId, Entitlement content) throws 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 EntitlementIOExceptionpublic AndroidEnterprise.Entitlements.Update update(String enterpriseId, String userId, String entitlementId, Entitlement content) throws 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 EntitlementIOExceptionCopyright © 2011–2018 Google. All rights reserved.