Class InappproductsResource.UpdateRequest
Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See this article for more information.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InappproductsResource.UpdateRequest : AndroidPublisherBaseServiceRequest<InAppProduct>, IClientServiceRequest<InAppProduct>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, InAppProduct, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, InAppProduct body, string packageName, string sku)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
InAppProduct | body | |
string | packageName | |
string | sku |
Properties
AllowMissing
If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created.
Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
Type | Description |
---|---|
bool? |
AutoConvertMissingPrices
If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.
Declaration
[RequestParameter("autoConvertMissingPrices", RequestParameterType.Query)]
public virtual bool? AutoConvertMissingPrices { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 InappproductsResource.UpdateRequest.LatencyToleranceEnum? LatencyTolerance { get; set; }
Property Value
Type | Description |
---|---|
InappproductsResource.UpdateRequest.LatencyToleranceEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PackageName
Package name of the app.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Sku
Unique identifier for the in-app product.
Declaration
[RequestParameter("sku", RequestParameterType.Path)]
public virtual string Sku { 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 Update parameter list.
Declaration
protected override void InitParameters()