Class MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.PatchRequest
Updates an existing subscription offer.
Inheritance
System.Object
MonetizationResource.SubscriptionsResource.BasePlansResource.OffersResource.PatchRequest
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 PatchRequest : AndroidPublisherBaseServiceRequest<SubscriptionOffer>, IClientServiceRequest<SubscriptionOffer>, IClientServiceRequest
Constructors
PatchRequest(IClientService, SubscriptionOffer, String, String, String, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, SubscriptionOffer body, string packageName, string productId, string basePlanId, string offerId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SubscriptionOffer | body | |
System.String | packageName | |
System.String | productId | |
System.String | basePlanId | |
System.String | offerId |
Properties
BasePlanId
Required. Immutable. The ID of the base plan to which this offer is an extension.
Declaration
[RequestParameter("basePlanId", RequestParameterType.Path)]
public virtual string BasePlanId { get; }
Property Value
Type | Description |
---|---|
System.String |
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.SubscriptionOffer>.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.SubscriptionOffer>.MethodName
OfferId
Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan.
Declaration
[RequestParameter("offerId", RequestParameterType.Path)]
public virtual string OfferId { get; }
Property Value
Type | Description |
---|---|
System.String |
PackageName
Required. Immutable. The package name of the app the parent subscription belongs to.
Declaration
[RequestParameter("packageName", RequestParameterType.Path)]
public virtual string PackageName { get; }
Property Value
Type | Description |
---|---|
System.String |
ProductId
Required. Immutable. The ID of the parent subscription this offer belongs to.
Declaration
[RequestParameter("productId", RequestParameterType.Path)]
public virtual string ProductId { get; }
Property Value
Type | Description |
---|---|
System.String |
RegionsVersionVersion
Required. A string representing version of the available regions being used for the specified resource. The current version is 2022/02.
Declaration
[RequestParameter("regionsVersion.version", RequestParameterType.Query)]
public virtual string RegionsVersionVersion { get; set; }
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.SubscriptionOffer>.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 |
---|---|
System.Object |
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.SubscriptionOffer>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AndroidPublisher.v3.AndroidPublisherBaseServiceRequest<Google.Apis.AndroidPublisher.v3.Data.SubscriptionOffer>.InitParameters()