Class PartnersResource.SubscriptionsResource.ResumeRequest
Resumes a suspended subscription. The new billing cycle will start at the time of the request. It should be called directly by the partner using service accounts.
Inheritance
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse>
PartnersResource.SubscriptionsResource.ResumeRequest
Implements
Inherited Members
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse>.ETagAction
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.SubscriptionsResource.ResumeRequest : PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse>, IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse>, IClientServiceRequest
Constructors
ResumeRequest(IClientService, GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest, string)
Constructs a new Resume request.
Declaration
public ResumeRequest(IClientService service, GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse>.MethodName
Name
Required. The name of the subscription resource to be resumed. 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 Resume parameter list.
Declaration
protected override void InitParameters()