Class ProductsResource.ApproveRequest
Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use managed Google Play to design and create a store layout to display approved products to your users, see Store Layout Design. Note: This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
Inheritance
ProductsResource.ApproveRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class ProductsResource.ApproveRequest : AndroidEnterpriseBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
ApproveRequest(IClientService, ProductsApproveRequest, string, string)
Constructs a new Approve request.
Declaration
public ApproveRequest(IClientService service, ProductsApproveRequest body, string enterpriseId, string productId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ProductsApproveRequest | body | |
string | enterpriseId | |
string | productId |
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
ProductId
The ID of the product.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Approve parameter list.
Declaration
protected override void InitParameters()