Class InappproductsResource.UpdateRequest
Updates an in-app product (i.e. a managed product or a subscriptions).
Inheritance
System.Object
InappproductsResource.UpdateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class 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 | |
System.String | packageName | |
System.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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.Nullable<System.Boolean> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.InAppProduct>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.InAppProduct>.MethodName
PackageName
Package name of the app.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.InAppProduct>.RestPath
Sku
Unique identifier for the in-app product.
Declaration
[RequestParameter("sku", RequestParameterType.Path)]
public virtual string Sku { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AndroidPublisher.v3.Data.InAppProduct>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v3.AndroidPublisherBaseServiceRequest<Google.Apis.AndroidPublisher.v3.Data.InAppProduct>.InitParameters()