Show / Hide Table of Contents

Class PartnersResource.PromotionsResource

The "promotions" collection of methods.

Inheritance
object
PartnersResource.PromotionsResource
Inherited Members
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.PromotionsResource

Constructors

PromotionsResource(IClientService)

Constructs a new resource.

Declaration
public PromotionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

FindEligible(GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest, string)

Currently, it is only enabeld for YouTube. Finds 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)

Currently, it doesn't support YouTube promotions. Retrieves the promotions, such as free trial, that can be used by the partner. 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
In this article
Back to top Generated by DocFX