Show / Hide Table of Contents

Class InappproductsResource.PatchRequest

Updates the details of an in-app product. This method supports patch semantics.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<InAppProduct>
AndroidPublisherBaseServiceRequest<InAppProduct>
InappproductsResource.PatchRequest
Implements
IClientServiceRequest<InAppProduct>
IClientServiceRequest
Inherited Members
AndroidPublisherBaseServiceRequest<InAppProduct>.Alt
AndroidPublisherBaseServiceRequest<InAppProduct>.Fields
AndroidPublisherBaseServiceRequest<InAppProduct>.Key
AndroidPublisherBaseServiceRequest<InAppProduct>.OauthToken
AndroidPublisherBaseServiceRequest<InAppProduct>.PrettyPrint
AndroidPublisherBaseServiceRequest<InAppProduct>.QuotaUser
AndroidPublisherBaseServiceRequest<InAppProduct>.UserIp
ClientServiceRequest<InAppProduct>.Execute()
ClientServiceRequest<InAppProduct>.ExecuteAsStream()
ClientServiceRequest<InAppProduct>.ExecuteAsync()
ClientServiceRequest<InAppProduct>.ExecuteAsync(CancellationToken)
ClientServiceRequest<InAppProduct>.ExecuteAsStreamAsync()
ClientServiceRequest<InAppProduct>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<InAppProduct>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<InAppProduct>.GenerateRequestUri()
ClientServiceRequest<InAppProduct>.GetDefaultETagAction(String)
ClientServiceRequest<InAppProduct>.ETagAction
ClientServiceRequest<InAppProduct>.ModifyRequest
ClientServiceRequest<InAppProduct>.RequestParameters
ClientServiceRequest<InAppProduct>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AndroidPublisher.v2
Assembly: Google.Apis.AndroidPublisher.v2.dll
Syntax
public class PatchRequest : AndroidPublisherBaseServiceRequest<InAppProduct>, IClientServiceRequest<InAppProduct>, IClientServiceRequest

Constructors

PatchRequest(IClientService, InAppProduct, String, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, InAppProduct body, string packageName, string sku)
Parameters
Type Name Description
IClientService service
InAppProduct body
System.String packageName
System.String sku

Properties

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
public virtual Nullable<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.v2.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.v2.Data.InAppProduct>.MethodName

PackageName

Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".

Declaration
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.v2.Data.InAppProduct>.RestPath

Sku

Unique identifier for the in-app product.

Declaration
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.v2.Data.InAppProduct>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v2.AndroidPublisherBaseServiceRequest<Google.Apis.AndroidPublisher.v2.Data.InAppProduct>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top