Show / Hide Table of Contents

Class PartnersResource.SubscriptionsResource.CreateRequest

Used by partners to create a subscription for their customers. The created subscription is associated with the end user inferred from the end user credentials. This API must be authorized by the end user using OAuth.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>
PartnersResource.SubscriptionsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>
IClientServiceRequest
Inherited Members
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.Xgafv
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.AccessToken
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.Alt
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.Callback
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.Fields
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.Key
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.OauthToken
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.PrettyPrint
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.QuotaUser
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.UploadType
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.UploadProtocol
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.Execute()
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ExecuteAsync()
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ETagAction
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ModifyRequest
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ValidateParameters
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.ApiVersion
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.RequestParameters
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.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.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.SubscriptionsResource.CreateRequest : PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>, IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudPaymentsResellerSubscriptionV1Subscription, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudPaymentsResellerSubscriptionV1Subscription body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudPaymentsResellerSubscriptionV1Subscription body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

Required. The parent resource name, which is the identifier of the partner. It will have the format of "partners/{partner_id}".

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

RestPath

Gets the REST path.

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

SubscriptionId

Required. Identifies the subscription resource on the Partner side. The value is restricted to 63 ASCII characters at the maximum. If a subscription was previously created with the same subscription_id, we will directly return that one.

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

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1Subscription>.InitParameters()

Implements

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