Class PartnersResource.SubscriptionsResource.EntitleRequest
Used by partners to entitle a previously provisioned subscription to the current end user. The end user identity is inferred from the authorized credential of the request. This API must be authorized by the end user using OAuth.
Inheritance
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse>
PartnersResource.SubscriptionsResource.EntitleRequest
Implements
Inherited Members
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.SubscriptionsResource.EntitleRequest : PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse>, IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse>, IClientServiceRequest
Constructors
EntitleRequest(IClientService, GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest, string)
Constructs a new Entitle request.
Declaration
public EntitleRequest(IClientService service, GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest | 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 that is entitled to the current end user. 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
ClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse>.GetBody()
InitParameters()
Initializes Entitle parameter list.
Declaration
protected override void InitParameters()