Show / Hide Table of Contents

Class MonetizationResource.OnetimeproductsResource.PatchRequest

Creates or updates a one-time product.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<OneTimeProduct>
AndroidPublisherBaseServiceRequest<OneTimeProduct>
MonetizationResource.OnetimeproductsResource.PatchRequest
Implements
IClientServiceRequest<OneTimeProduct>
IClientServiceRequest
Inherited Members
AndroidPublisherBaseServiceRequest<OneTimeProduct>.Xgafv
AndroidPublisherBaseServiceRequest<OneTimeProduct>.AccessToken
AndroidPublisherBaseServiceRequest<OneTimeProduct>.Alt
AndroidPublisherBaseServiceRequest<OneTimeProduct>.Callback
AndroidPublisherBaseServiceRequest<OneTimeProduct>.Fields
AndroidPublisherBaseServiceRequest<OneTimeProduct>.Key
AndroidPublisherBaseServiceRequest<OneTimeProduct>.OauthToken
AndroidPublisherBaseServiceRequest<OneTimeProduct>.PrettyPrint
AndroidPublisherBaseServiceRequest<OneTimeProduct>.QuotaUser
AndroidPublisherBaseServiceRequest<OneTimeProduct>.UploadType
AndroidPublisherBaseServiceRequest<OneTimeProduct>.UploadProtocol
ClientServiceRequest<OneTimeProduct>.Execute()
ClientServiceRequest<OneTimeProduct>.ExecuteAsStream()
ClientServiceRequest<OneTimeProduct>.ExecuteAsync()
ClientServiceRequest<OneTimeProduct>.ExecuteAsync(CancellationToken)
ClientServiceRequest<OneTimeProduct>.ExecuteAsStreamAsync()
ClientServiceRequest<OneTimeProduct>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<OneTimeProduct>.CreateRequest(bool?)
ClientServiceRequest<OneTimeProduct>.GenerateRequestUri()
ClientServiceRequest<OneTimeProduct>.GetDefaultETagAction(string)
ClientServiceRequest<OneTimeProduct>.ETagAction
ClientServiceRequest<OneTimeProduct>.ModifyRequest
ClientServiceRequest<OneTimeProduct>.ValidateParameters
ClientServiceRequest<OneTimeProduct>.ApiVersion
ClientServiceRequest<OneTimeProduct>.RequestParameters
ClientServiceRequest<OneTimeProduct>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 MonetizationResource.OnetimeproductsResource.PatchRequest : AndroidPublisherBaseServiceRequest<OneTimeProduct>, IClientServiceRequest<OneTimeProduct>, IClientServiceRequest

Constructors

PatchRequest(IClientService, OneTimeProduct, string, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, OneTimeProduct body, string packageName, string productId)
Parameters
Type Name Description
IClientService service
OneTimeProduct body
string packageName
string productId

Properties

AllowMissing

Optional. If set to true, and the one-time product with the given package_name and product_id doesn't exist, the one-time product will be created. If a new one-time product is created, update_mask is ignored.

Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
Type Description
bool?

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<OneTimeProduct>.HttpMethod

LatencyTolerance

Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.

Declaration
[RequestParameter("latencyTolerance", RequestParameterType.Query)]
public virtual MonetizationResource.OnetimeproductsResource.PatchRequest.LatencyToleranceEnum? LatencyTolerance { get; set; }
Property Value
Type Description
MonetizationResource.OnetimeproductsResource.PatchRequest.LatencyToleranceEnum?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<OneTimeProduct>.MethodName

PackageName

Required. Immutable. Package name of the parent app.

Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type Description
string

ProductId

Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.).

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 and latest supported version 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.

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
ClientServiceRequest<OneTimeProduct>.RestPath

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
ClientServiceRequest<OneTimeProduct>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
AndroidPublisherBaseServiceRequest<OneTimeProduct>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX