Class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.BatchUpdateRequest
Updates a batch of subscription offers. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.BatchUpdateRequest : AndroidPublisherBaseServiceRequest<BatchUpdateSubscriptionOffersResponse>, IClientServiceRequest<BatchUpdateSubscriptionOffersResponse>, IClientServiceRequest
Constructors
BatchUpdateRequest(IClientService, BatchUpdateSubscriptionOffersRequest, string, string, string)
Constructs a new BatchUpdate request.
Declaration
public BatchUpdateRequest(IClientService service, BatchUpdateSubscriptionOffersRequest body, string packageName, string productId, string basePlanId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BatchUpdateSubscriptionOffersRequest | body | |
string | packageName | |
string | productId | |
string | basePlanId |
Properties
BasePlanId
Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans.
Declaration
[RequestParameter("basePlanId", RequestParameterType.Path)]
public virtual string BasePlanId { 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
PackageName
Required. The parent app (package name) of the updated subscription offers. Must be equal to the package_name field on all the updated SubscriptionOffer resources.
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 offers belong to the same subscription. If this request 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 BatchUpdate parameter list.
Declaration
protected override void InitParameters()