Class PartnersResource.SubscriptionsResource.ExtendRequest
[Opt-in only] Most partners should be on auto-extend by default. Used by partners to extend a subscription service for their customers on an ongoing basis for the subscription to remain active and renewable. It should be called directly by the partner using service accounts.
Inheritance
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>
PartnersResource.SubscriptionsResource.ExtendRequest
Implements
Inherited Members
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>.ETagAction
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.SubscriptionsResource.ExtendRequest : PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>, IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>, IClientServiceRequest
Constructors
ExtendRequest(IClientService, GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest, string)
Constructs a new Extend request.
Declaration
public ExtendRequest(IClientService service, GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse>.MethodName
Name
Required. The name of the subscription resource to be extended. 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 Extend parameter list.
Declaration
protected override void InitParameters()