Show / Hide Table of Contents

Class InappproductsResource

The "inappproducts" collection of methods.

Inheritance
object
InappproductsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class InappproductsResource

Constructors

InappproductsResource(IClientService)

Constructs a new resource.

Declaration
public InappproductsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchDelete(InappproductsBatchDeleteRequest, string)

Deletes in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should not be used to delete subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.BatchDeleteRequest BatchDelete(InappproductsBatchDeleteRequest body, string packageName)
Parameters
Type Name Description
InappproductsBatchDeleteRequest body

The body of the request.

string packageName

Package name of the app.

Returns
Type Description
InappproductsResource.BatchDeleteRequest

BatchGet(string)

Reads multiple in-app products, which can be managed products or subscriptions. This method should not be used to retrieve subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.BatchGetRequest BatchGet(string packageName)
Parameters
Type Name Description
string packageName

Package name of the app.

Returns
Type Description
InappproductsResource.BatchGetRequest

BatchUpdate(InappproductsBatchUpdateRequest, string)

Updates or inserts one or more in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should no longer be used to update subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.BatchUpdateRequest BatchUpdate(InappproductsBatchUpdateRequest body, string packageName)
Parameters
Type Name Description
InappproductsBatchUpdateRequest body

The body of the request.

string packageName

Package name of the app.

Returns
Type Description
InappproductsResource.BatchUpdateRequest

Delete(string, string)

Deletes an in-app product (a managed product or a subscription). This method should no longer be used to delete subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.DeleteRequest Delete(string packageName, string sku)
Parameters
Type Name Description
string packageName

Package name of the app.

string sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.DeleteRequest

Get(string, string)

Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.GetRequest Get(string packageName, string sku)
Parameters
Type Name Description
string packageName

Package name of the app.

string sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.GetRequest

Insert(InAppProduct, string)

Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.InsertRequest Insert(InAppProduct body, string packageName)
Parameters
Type Name Description
InAppProduct body

The body of the request.

string packageName

Package name of the app.

Returns
Type Description
InappproductsResource.InsertRequest

List(string)

Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field tokenPagination.nextPageToken will be set and the caller should provide its value as a token request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See this article for more information.

Declaration
public virtual InappproductsResource.ListRequest List(string packageName)
Parameters
Type Name Description
string packageName

Package name of the app.

Returns
Type Description
InappproductsResource.ListRequest

Patch(InAppProduct, string, string)

Patches 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.

Declaration
public virtual InappproductsResource.PatchRequest Patch(InAppProduct body, string packageName, string sku)
Parameters
Type Name Description
InAppProduct body

The body of the request.

string packageName

Package name of the app.

string sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.PatchRequest

Update(InAppProduct, string, string)

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.

Declaration
public virtual InappproductsResource.UpdateRequest Update(InAppProduct body, string packageName, string sku)
Parameters
Type Name Description
InAppProduct body

The body of the request.

string packageName

Package name of the app.

string sku

Unique identifier for the in-app product.

Returns
Type Description
InappproductsResource.UpdateRequest
In this article
Back to top Generated by DocFX