Show / Hide Table of Contents

Class AccountsResource.CustomersResource.ListPurchasableSkusRequest

Lists the following: * SKUs that you can purchase for a customer * SKUs that you can upgrade or downgrade for an entitlement. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>
AccountsResource.CustomersResource.ListPurchasableSkusRequest
Implements
IClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>
IClientServiceRequest
Inherited Members
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.Xgafv
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.AccessToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.Alt
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.Callback
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.Fields
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.Key
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.OauthToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.PrettyPrint
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.QuotaUser
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.UploadType
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.Execute()
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.GetBody()
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ETagAction
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.ApiVersion
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.RequestParameters
ClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>.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.ListPurchasableSkusRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>, IClientServiceRequest<GoogleCloudChannelV1ListPurchasableSkusResponse>, IClientServiceRequest

Constructors

ListPurchasableSkusRequest(IClientService, string)

Constructs a new ListPurchasableSkus request.

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

Properties

ChangeOfferPurchaseChangeType

Required. Change Type for the entitlement.

Declaration
[RequestParameter("changeOfferPurchase.changeType", RequestParameterType.Query)]
public virtual AccountsResource.CustomersResource.ListPurchasableSkusRequest.ChangeOfferPurchaseChangeTypeEnum? ChangeOfferPurchaseChangeType { get; set; }
Property Value
Type Description
AccountsResource.CustomersResource.ListPurchasableSkusRequest.ChangeOfferPurchaseChangeTypeEnum?

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

CreateEntitlementPurchaseProduct

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

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

Customer

Required. The resource name of the customer to list SKUs 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<GoogleCloudChannelV1ListPurchasableSkusResponse>.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<GoogleCloudChannelV1ListPurchasableSkusResponse>.MethodName

PageSize

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. 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<GoogleCloudChannelV1ListPurchasableSkusResponse>.RestPath

Methods

InitParameters()

Initializes ListPurchasableSkus parameter list.

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

Implements

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