Show / Hide Table of Contents

Class AccountsResource.CustomersResource.ListPurchasableOffersRequest

Lists the following: * Offers that you can purchase for a customer. * Offers that you can change for an entitlement. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid.

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

Constructors

ListPurchasableOffersRequest(IClientService, string)

Constructs a new ListPurchasableOffers request.

Declaration
public ListPurchasableOffersRequest(IClientService service, string customer)
Parameters
Type Name Description
IClientService service
string customer

Properties

ChangeOfferPurchaseBillingAccount

Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

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

ChangeOfferPurchaseEntitlement

Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

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

ChangeOfferPurchaseNewSku

Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}

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

CreateEntitlementPurchaseBillingAccount

Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

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

CreateEntitlementPurchaseSku

Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.

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

Customer

Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}.

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

HttpMethod

Gets the HTTP method.

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

LanguageCode

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

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

MethodName

Gets the method name.

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

PageSize

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. The maximum value is 1000; the server will coerce values above 1000.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. A token for a page of results other than the first page.

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

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes ListPurchasableOffers parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableOffersResponse>.InitParameters()

Implements

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