Class EntitlementsResource
The "entitlements" collection of methods.
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EntitlementsResource
Constructors
EntitlementsResource(IClientService)
Constructs a new resource.
Declaration
public EntitlementsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
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.
Declaration
public virtual EntitlementsResource.DeleteRequest Delete(string enterpriseId, string userId, string entitlementId)
Parameters
Type | Name | Description |
---|---|---|
string | enterpriseId | The ID of the enterprise. |
string | userId | The ID of the user. |
string | entitlementId | The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". |
Returns
Type | Description |
---|---|
EntitlementsResource.DeleteRequest |
Get(string, string, string)
Retrieves details of an entitlement. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
Declaration
public virtual EntitlementsResource.GetRequest Get(string enterpriseId, string userId, string entitlementId)
Parameters
Type | Name | Description |
---|---|---|
string | enterpriseId | The ID of the enterprise. |
string | userId | The ID of the user. |
string | entitlementId | The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". |
Returns
Type | Description |
---|---|
EntitlementsResource.GetRequest |
List(string, string)
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.
Declaration
public virtual EntitlementsResource.ListRequest List(string enterpriseId, string userId)
Parameters
Type | Name | Description |
---|---|---|
string | enterpriseId | The ID of the enterprise. |
string | userId | The ID of the user. |
Returns
Type | Description |
---|---|
EntitlementsResource.ListRequest |
Update(Entitlement, string, string, string)
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.
Declaration
public virtual EntitlementsResource.UpdateRequest Update(Entitlement body, string enterpriseId, string userId, string entitlementId)
Parameters
Type | Name | Description |
---|---|---|
Entitlement | body | The body of the request. |
string | enterpriseId | The ID of the enterprise. |
string | userId | The ID of the user. |
string | entitlementId | The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm". |
Returns
Type | Description |
---|---|
EntitlementsResource.UpdateRequest |