Class PartnersResource.PromotionsResource.FindEligibleRequest
To find eligible promotions for the current user. The API requires user authorization via OAuth. The
bare minimum oauth scope openid
is sufficient, which will skip the consent screen.
Inheritance
PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse>
PartnersResource.PromotionsResource.FindEligibleRequest
Implements
Inherited Members
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.PromotionsResource.FindEligibleRequest : PaymentsResellerSubscriptionBaseServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse>, IClientServiceRequest<GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse>, IClientServiceRequest
Constructors
FindEligibleRequest(IClientService, GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest, string)
Constructs a new FindEligible request.
Declaration
public FindEligibleRequest(IClientService service, GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest | body | |
string | parent |
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
Parent
Required. The parent, the partner that can resell. Format: partners/{partner}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes FindEligible parameter list.
Declaration
protected override void InitParameters()