Class MonetizationResource.OnetimeproductsResource.BatchUpdateRequest
Creates or updates one or more one-time products.
Inheritance
MonetizationResource.OnetimeproductsResource.BatchUpdateRequest
Inherited Members
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class MonetizationResource.OnetimeproductsResource.BatchUpdateRequest : AndroidPublisherBaseServiceRequest<BatchUpdateOneTimeProductsResponse>, IClientServiceRequest<BatchUpdateOneTimeProductsResponse>, IClientServiceRequest
Constructors
BatchUpdateRequest(IClientService, BatchUpdateOneTimeProductsRequest, string)
Constructs a new BatchUpdate request.
Declaration
public BatchUpdateRequest(IClientService service, BatchUpdateOneTimeProductsRequest body, string packageName)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| BatchUpdateOneTimeProductsRequest | body | |
| string | packageName |
Properties
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) for which the one-time products should be updated. Must be equal to the package_name field on all the OneTimeProduct resources.
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
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()