Class MonetizationResource.SubscriptionsResource.BasePlansResource.BatchUpdateStatesRequest
Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.
Inheritance
MonetizationResource.SubscriptionsResource.BasePlansResource.BatchUpdateStatesRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.BatchUpdateStatesRequest : AndroidPublisherBaseServiceRequest<BatchUpdateBasePlanStatesResponse>, IClientServiceRequest<BatchUpdateBasePlanStatesResponse>, IClientServiceRequest
Constructors
BatchUpdateStatesRequest(IClientService, BatchUpdateBasePlanStatesRequest, string, string)
Constructs a new BatchUpdateStates request.
Declaration
public BatchUpdateStatesRequest(IClientService service, BatchUpdateBasePlanStatesRequest body, string packageName, string productId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchUpdateBasePlanStatesRequest | body | |
string | packageName | |
string | productId |
Properties
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
PackageName
Required. The parent app (package name) of the updated base plans.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
ProductId
Required. The product ID of the parent subscription, if all updated base plans belong to the same subscription. If this batch update spans multiple subscriptions, set this field to "-". Must be set.
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 BatchUpdateStates parameter list.
Declaration
protected override void InitParameters()