Class PartnersResource.SubscriptionsResource.UndoCancelRequest
Revokes the pending cancellation of a subscription, which is currently in STATE_CANCEL_AT_END_OF_CYCLE
state. If the subscription is already cancelled, the request will fail. - This API doesn't apply to
YouTube subscriptions. It should be called directly by the partner using service accounts.
Inheritance
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse>
PartnersResource.SubscriptionsResource.UndoCancelRequest
Implements
Inherited Members
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.SubscriptionsResource.UndoCancelRequest : PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse>, IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse>, IClientServiceRequest
Constructors
UndoCancelRequest(IClientService, GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest, string)
Constructs a new UndoCancel request.
Declaration
public UndoCancelRequest(IClientService service, GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest | body | |
string | name |
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
Name
Required. The name of the subscription resource whose pending cancellation needs to be undone. It will have the format of "partners/{partner_id}/subscriptions/{subscription_id}"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 UndoCancel parameter list.
Declaration
protected override void InitParameters()