Class PartnersResource.PromotionsResource
The "promotions" collection of methods.
Inherited Members
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.PromotionsResource
Constructors
PromotionsResource(IClientService)
Constructs a new resource.
Declaration
public PromotionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
FindEligible(GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest, string)
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.
Declaration
public virtual PartnersResource.PromotionsResource.FindEligibleRequest FindEligible(GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest | body | The body of the request. |
string | parent | Required. The parent, the partner that can resell. Format: partners/{partner} |
Returns
Type | Description |
---|---|
PartnersResource.PromotionsResource.FindEligibleRequest |
List(string)
Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't apply to YouTube promotions currently. It should be autenticated with a service account.
Declaration
public virtual PartnersResource.PromotionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, the partner that can resell. Format: partners/{partner} |
Returns
Type | Description |
---|---|
PartnersResource.PromotionsResource.ListRequest |