Class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.PatchRequest
Updates an existing subscription offer.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.PatchRequest : AndroidPublisherBaseServiceRequest<SubscriptionOffer>, IClientServiceRequest<SubscriptionOffer>, IClientServiceRequest
Constructors
PatchRequest(IClientService, SubscriptionOffer, string, string, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, SubscriptionOffer body, string packageName, string productId, string basePlanId, string offerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SubscriptionOffer | body | |
string | packageName | |
string | productId | |
string | basePlanId | |
string | offerId |
Properties
AllowMissing
Optional. If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored.
Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
Type | Description |
---|---|
bool? |
BasePlanId
Required. Immutable. The ID of the base plan to which this offer is an extension.
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
LatencyTolerance
Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.
Declaration
[RequestParameter("latencyTolerance", RequestParameterType.Query)]
public virtual MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.PatchRequest.LatencyToleranceEnum? LatencyTolerance { get; set; }
Property Value
Type | Description |
---|---|
MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.PatchRequest.LatencyToleranceEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OfferId
Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.
Declaration
[RequestParameter("offerId", RequestParameterType.Path)]
public virtual string OfferId { get; }
Property Value
Type | Description |
---|---|
string |
PackageName
Required. Immutable. The package name of the app the parent subscription belongs to.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
ProductId
Required. Immutable. The ID of the parent subscription this offer belongs to.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
string |
RegionsVersionVersion
Required. A string representing the version of available regions being used for the specified resource. Regional prices for the resource have to be specified according to the information published in this article. Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available. The latest version is 2022/02.
Declaration
[RequestParameter("regionsVersion.version", RequestParameterType.Query)]
public virtual string RegionsVersionVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
Required. The list of fields to be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()