Class UsersResource.SetAvailableProductSetRequest
Modifies the set of products that a user is entitled to access (referred to as whitelisted products). Only products that are approved or products that were previously approved (products with revoked approval) can be whitelisted. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
Inheritance
UsersResource.SetAvailableProductSetRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class UsersResource.SetAvailableProductSetRequest : AndroidEnterpriseBaseServiceRequest<ProductSet>, IClientServiceRequest<ProductSet>, IClientServiceRequest
Constructors
SetAvailableProductSetRequest(IClientService, ProductSet, string, string)
Constructs a new SetAvailableProductSet request.
Declaration
public SetAvailableProductSetRequest(IClientService service, ProductSet body, string enterpriseId, string userId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ProductSet | body | |
string | enterpriseId | |
string | userId |
Properties
EnterpriseId
The ID of the enterprise.
Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserId
The ID of the user.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SetAvailableProductSet parameter list.
Declaration
protected override void InitParameters()