Show / Hide Table of Contents

Class SubscriptionsResource.DeleteRequest

Cancels, suspends, or transfers a subscription to direct.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<string>
ResellerBaseServiceRequest<string>
SubscriptionsResource.DeleteRequest
Implements
IClientServiceRequest<string>
IClientServiceRequest
Inherited Members
ResellerBaseServiceRequest<string>.Xgafv
ResellerBaseServiceRequest<string>.AccessToken
ResellerBaseServiceRequest<string>.Alt
ResellerBaseServiceRequest<string>.Callback
ResellerBaseServiceRequest<string>.Fields
ResellerBaseServiceRequest<string>.Key
ResellerBaseServiceRequest<string>.OauthToken
ResellerBaseServiceRequest<string>.PrettyPrint
ResellerBaseServiceRequest<string>.QuotaUser
ResellerBaseServiceRequest<string>.UploadType
ResellerBaseServiceRequest<string>.UploadProtocol
ClientServiceRequest<string>.Execute()
ClientServiceRequest<string>.ExecuteAsStream()
ClientServiceRequest<string>.ExecuteAsync()
ClientServiceRequest<string>.ExecuteAsync(CancellationToken)
ClientServiceRequest<string>.ExecuteAsStreamAsync()
ClientServiceRequest<string>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<string>.CreateRequest(bool?)
ClientServiceRequest<string>.GenerateRequestUri()
ClientServiceRequest<string>.GetBody()
ClientServiceRequest<string>.GetDefaultETagAction(string)
ClientServiceRequest<string>.ETagAction
ClientServiceRequest<string>.ModifyRequest
ClientServiceRequest<string>.ValidateParameters
ClientServiceRequest<string>.ApiVersion
ClientServiceRequest<string>.RequestParameters
ClientServiceRequest<string>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Reseller.v1
Assembly: Google.Apis.Reseller.v1.dll
Syntax
public class SubscriptionsResource.DeleteRequest : ResellerBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string, string, DeletionTypeEnum)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string customerId, string subscriptionId, SubscriptionsResource.DeleteRequest.DeletionTypeEnum deletionType)
Parameters
Type Name Description
IClientService service
string customerId
string subscriptionId
SubscriptionsResource.DeleteRequest.DeletionTypeEnum deletionType

Properties

CustomerId

This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.

Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
Type Description
string

DeletionType

The deletionType query string enables the cancellation, downgrade, or suspension of a subscription.

Declaration
[RequestParameter("deletionType", RequestParameterType.Query)]
public virtual SubscriptionsResource.DeleteRequest.DeletionTypeEnum DeletionType { get; }
Property Value
Type Description
SubscriptionsResource.DeleteRequest.DeletionTypeEnum

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<string>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<string>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<string>.RestPath

SubscriptionId

This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method.

Declaration
[RequestParameter("subscriptionId", RequestParameterType.Path)]
public virtual string SubscriptionId { get; }
Property Value
Type Description
string

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
ResellerBaseServiceRequest<string>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX