Class protos.google.cloud.channel.v1.CloudChannelService (3.0.0)

Represents a CloudChannelService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.channel.v1.CloudChannelService

Package

@google-cloud/channel

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new CloudChannelService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

activateEntitlement(request, callback)

public activateEntitlement(request: google.cloud.channel.v1.IActivateEntitlementRequest, callback: google.cloud.channel.v1.CloudChannelService.ActivateEntitlementCallback): void;

Calls ActivateEntitlement.

Parameters
NameDescription
request IActivateEntitlementRequest

ActivateEntitlementRequest message or plain object

callback ActivateEntitlementCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

activateEntitlement(request)

public activateEntitlement(request: google.cloud.channel.v1.IActivateEntitlementRequest): Promise<google.longrunning.Operation>;

Calls ActivateEntitlement.

Parameter
NameDescription
request IActivateEntitlementRequest

ActivateEntitlementRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

cancelEntitlement(request, callback)

public cancelEntitlement(request: google.cloud.channel.v1.ICancelEntitlementRequest, callback: google.cloud.channel.v1.CloudChannelService.CancelEntitlementCallback): void;

Calls CancelEntitlement.

Parameters
NameDescription
request ICancelEntitlementRequest

CancelEntitlementRequest message or plain object

callback CancelEntitlementCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

cancelEntitlement(request)

public cancelEntitlement(request: google.cloud.channel.v1.ICancelEntitlementRequest): Promise<google.longrunning.Operation>;

Calls CancelEntitlement.

Parameter
NameDescription
request ICancelEntitlementRequest

CancelEntitlementRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

changeOffer(request, callback)

public changeOffer(request: google.cloud.channel.v1.IChangeOfferRequest, callback: google.cloud.channel.v1.CloudChannelService.ChangeOfferCallback): void;

Calls ChangeOffer.

Parameters
NameDescription
request IChangeOfferRequest

ChangeOfferRequest message or plain object

callback ChangeOfferCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

changeOffer(request)

public changeOffer(request: google.cloud.channel.v1.IChangeOfferRequest): Promise<google.longrunning.Operation>;

Calls ChangeOffer.

Parameter
NameDescription
request IChangeOfferRequest

ChangeOfferRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

changeParameters(request, callback)

public changeParameters(request: google.cloud.channel.v1.IChangeParametersRequest, callback: google.cloud.channel.v1.CloudChannelService.ChangeParametersCallback): void;

Calls ChangeParameters.

Parameters
NameDescription
request IChangeParametersRequest

ChangeParametersRequest message or plain object

callback ChangeParametersCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

changeParameters(request)

public changeParameters(request: google.cloud.channel.v1.IChangeParametersRequest): Promise<google.longrunning.Operation>;

Calls ChangeParameters.

Parameter
NameDescription
request IChangeParametersRequest

ChangeParametersRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

changeRenewalSettings(request, callback)

public changeRenewalSettings(request: google.cloud.channel.v1.IChangeRenewalSettingsRequest, callback: google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettingsCallback): void;

Calls ChangeRenewalSettings.

Parameters
NameDescription
request IChangeRenewalSettingsRequest

ChangeRenewalSettingsRequest message or plain object

callback ChangeRenewalSettingsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

changeRenewalSettings(request)

public changeRenewalSettings(request: google.cloud.channel.v1.IChangeRenewalSettingsRequest): Promise<google.longrunning.Operation>;

Calls ChangeRenewalSettings.

Parameter
NameDescription
request IChangeRenewalSettingsRequest

ChangeRenewalSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

checkCloudIdentityAccountsExist(request, callback)

public checkCloudIdentityAccountsExist(request: google.cloud.channel.v1.ICheckCloudIdentityAccountsExistRequest, callback: google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExistCallback): void;

Calls CheckCloudIdentityAccountsExist.

Parameters
NameDescription
request ICheckCloudIdentityAccountsExistRequest

CheckCloudIdentityAccountsExistRequest message or plain object

callback CheckCloudIdentityAccountsExistCallback

Node-style callback called with the error, if any, and CheckCloudIdentityAccountsExistResponse

Returns
TypeDescription
void

checkCloudIdentityAccountsExist(request)

public checkCloudIdentityAccountsExist(request: google.cloud.channel.v1.ICheckCloudIdentityAccountsExistRequest): Promise<google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>;

Calls CheckCloudIdentityAccountsExist.

Parameter
NameDescription
request ICheckCloudIdentityAccountsExistRequest

CheckCloudIdentityAccountsExistRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudChannelService;

Creates new CloudChannelService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
CloudChannelService

RPC service. Useful where requests and/or responses are streamed.

public createChannelPartnerLink(request: google.cloud.channel.v1.ICreateChannelPartnerLinkRequest, callback: google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLinkCallback): void;

Calls CreateChannelPartnerLink.

Parameters
NameDescription
request ICreateChannelPartnerLinkRequest

CreateChannelPartnerLinkRequest message or plain object

callback CreateChannelPartnerLinkCallback

Node-style callback called with the error, if any, and ChannelPartnerLink

Returns
TypeDescription
void
public createChannelPartnerLink(request: google.cloud.channel.v1.ICreateChannelPartnerLinkRequest): Promise<google.cloud.channel.v1.ChannelPartnerLink>;

Calls CreateChannelPartnerLink.

Parameter
NameDescription
request ICreateChannelPartnerLinkRequest

CreateChannelPartnerLinkRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ChannelPartnerLink>

Promise

createChannelPartnerRepricingConfig(request, callback)

public createChannelPartnerRepricingConfig(request: google.cloud.channel.v1.ICreateChannelPartnerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfigCallback): void;

Calls CreateChannelPartnerRepricingConfig.

Parameters
NameDescription
request ICreateChannelPartnerRepricingConfigRequest

CreateChannelPartnerRepricingConfigRequest message or plain object

callback CreateChannelPartnerRepricingConfigCallback

Node-style callback called with the error, if any, and ChannelPartnerRepricingConfig

Returns
TypeDescription
void

createChannelPartnerRepricingConfig(request)

public createChannelPartnerRepricingConfig(request: google.cloud.channel.v1.ICreateChannelPartnerRepricingConfigRequest): Promise<google.cloud.channel.v1.ChannelPartnerRepricingConfig>;

Calls CreateChannelPartnerRepricingConfig.

Parameter
NameDescription
request ICreateChannelPartnerRepricingConfigRequest

CreateChannelPartnerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ChannelPartnerRepricingConfig>

Promise

createCustomer(request, callback)

public createCustomer(request: google.cloud.channel.v1.ICreateCustomerRequest, callback: google.cloud.channel.v1.CloudChannelService.CreateCustomerCallback): void;

Calls CreateCustomer.

Parameters
NameDescription
request ICreateCustomerRequest

CreateCustomerRequest message or plain object

callback CreateCustomerCallback

Node-style callback called with the error, if any, and Customer

Returns
TypeDescription
void

createCustomer(request)

public createCustomer(request: google.cloud.channel.v1.ICreateCustomerRequest): Promise<google.cloud.channel.v1.Customer>;

Calls CreateCustomer.

Parameter
NameDescription
request ICreateCustomerRequest

CreateCustomerRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.Customer>

Promise

createCustomerRepricingConfig(request, callback)

public createCustomerRepricingConfig(request: google.cloud.channel.v1.ICreateCustomerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfigCallback): void;

Calls CreateCustomerRepricingConfig.

Parameters
NameDescription
request ICreateCustomerRepricingConfigRequest

CreateCustomerRepricingConfigRequest message or plain object

callback CreateCustomerRepricingConfigCallback

Node-style callback called with the error, if any, and CustomerRepricingConfig

Returns
TypeDescription
void

createCustomerRepricingConfig(request)

public createCustomerRepricingConfig(request: google.cloud.channel.v1.ICreateCustomerRepricingConfigRequest): Promise<google.cloud.channel.v1.CustomerRepricingConfig>;

Calls CreateCustomerRepricingConfig.

Parameter
NameDescription
request ICreateCustomerRepricingConfigRequest

CreateCustomerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.CustomerRepricingConfig>

Promise

createEntitlement(request, callback)

public createEntitlement(request: google.cloud.channel.v1.ICreateEntitlementRequest, callback: google.cloud.channel.v1.CloudChannelService.CreateEntitlementCallback): void;

Calls CreateEntitlement.

Parameters
NameDescription
request ICreateEntitlementRequest

CreateEntitlementRequest message or plain object

callback CreateEntitlementCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createEntitlement(request)

public createEntitlement(request: google.cloud.channel.v1.ICreateEntitlementRequest): Promise<google.longrunning.Operation>;

Calls CreateEntitlement.

Parameter
NameDescription
request ICreateEntitlementRequest

CreateEntitlementRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteChannelPartnerRepricingConfig(request, callback)

public deleteChannelPartnerRepricingConfig(request: google.cloud.channel.v1.IDeleteChannelPartnerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.DeleteChannelPartnerRepricingConfigCallback): void;

Calls DeleteChannelPartnerRepricingConfig.

Parameters
NameDescription
request IDeleteChannelPartnerRepricingConfigRequest

DeleteChannelPartnerRepricingConfigRequest message or plain object

callback DeleteChannelPartnerRepricingConfigCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteChannelPartnerRepricingConfig(request)

public deleteChannelPartnerRepricingConfig(request: google.cloud.channel.v1.IDeleteChannelPartnerRepricingConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteChannelPartnerRepricingConfig.

Parameter
NameDescription
request IDeleteChannelPartnerRepricingConfigRequest

DeleteChannelPartnerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteCustomer(request, callback)

public deleteCustomer(request: google.cloud.channel.v1.IDeleteCustomerRequest, callback: google.cloud.channel.v1.CloudChannelService.DeleteCustomerCallback): void;

Calls DeleteCustomer.

Parameters
NameDescription
request IDeleteCustomerRequest

DeleteCustomerRequest message or plain object

callback DeleteCustomerCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteCustomer(request)

public deleteCustomer(request: google.cloud.channel.v1.IDeleteCustomerRequest): Promise<google.protobuf.Empty>;

Calls DeleteCustomer.

Parameter
NameDescription
request IDeleteCustomerRequest

DeleteCustomerRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteCustomerRepricingConfig(request, callback)

public deleteCustomerRepricingConfig(request: google.cloud.channel.v1.IDeleteCustomerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfigCallback): void;

Calls DeleteCustomerRepricingConfig.

Parameters
NameDescription
request IDeleteCustomerRepricingConfigRequest

DeleteCustomerRepricingConfigRequest message or plain object

callback DeleteCustomerRepricingConfigCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteCustomerRepricingConfig(request)

public deleteCustomerRepricingConfig(request: google.cloud.channel.v1.IDeleteCustomerRepricingConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteCustomerRepricingConfig.

Parameter
NameDescription
request IDeleteCustomerRepricingConfigRequest

DeleteCustomerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

public getChannelPartnerLink(request: google.cloud.channel.v1.IGetChannelPartnerLinkRequest, callback: google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLinkCallback): void;

Calls GetChannelPartnerLink.

Parameters
NameDescription
request IGetChannelPartnerLinkRequest

GetChannelPartnerLinkRequest message or plain object

callback GetChannelPartnerLinkCallback

Node-style callback called with the error, if any, and ChannelPartnerLink

Returns
TypeDescription
void
public getChannelPartnerLink(request: google.cloud.channel.v1.IGetChannelPartnerLinkRequest): Promise<google.cloud.channel.v1.ChannelPartnerLink>;

Calls GetChannelPartnerLink.

Parameter
NameDescription
request IGetChannelPartnerLinkRequest

GetChannelPartnerLinkRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ChannelPartnerLink>

Promise

getChannelPartnerRepricingConfig(request, callback)

public getChannelPartnerRepricingConfig(request: google.cloud.channel.v1.IGetChannelPartnerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfigCallback): void;

Calls GetChannelPartnerRepricingConfig.

Parameters
NameDescription
request IGetChannelPartnerRepricingConfigRequest

GetChannelPartnerRepricingConfigRequest message or plain object

callback GetChannelPartnerRepricingConfigCallback

Node-style callback called with the error, if any, and ChannelPartnerRepricingConfig

Returns
TypeDescription
void

getChannelPartnerRepricingConfig(request)

public getChannelPartnerRepricingConfig(request: google.cloud.channel.v1.IGetChannelPartnerRepricingConfigRequest): Promise<google.cloud.channel.v1.ChannelPartnerRepricingConfig>;

Calls GetChannelPartnerRepricingConfig.

Parameter
NameDescription
request IGetChannelPartnerRepricingConfigRequest

GetChannelPartnerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ChannelPartnerRepricingConfig>

Promise

getCustomer(request, callback)

public getCustomer(request: google.cloud.channel.v1.IGetCustomerRequest, callback: google.cloud.channel.v1.CloudChannelService.GetCustomerCallback): void;

Calls GetCustomer.

Parameters
NameDescription
request IGetCustomerRequest

GetCustomerRequest message or plain object

callback GetCustomerCallback

Node-style callback called with the error, if any, and Customer

Returns
TypeDescription
void

getCustomer(request)

public getCustomer(request: google.cloud.channel.v1.IGetCustomerRequest): Promise<google.cloud.channel.v1.Customer>;

Calls GetCustomer.

Parameter
NameDescription
request IGetCustomerRequest

GetCustomerRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.Customer>

Promise

getCustomerRepricingConfig(request, callback)

public getCustomerRepricingConfig(request: google.cloud.channel.v1.IGetCustomerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfigCallback): void;

Calls GetCustomerRepricingConfig.

Parameters
NameDescription
request IGetCustomerRepricingConfigRequest

GetCustomerRepricingConfigRequest message or plain object

callback GetCustomerRepricingConfigCallback

Node-style callback called with the error, if any, and CustomerRepricingConfig

Returns
TypeDescription
void

getCustomerRepricingConfig(request)

public getCustomerRepricingConfig(request: google.cloud.channel.v1.IGetCustomerRepricingConfigRequest): Promise<google.cloud.channel.v1.CustomerRepricingConfig>;

Calls GetCustomerRepricingConfig.

Parameter
NameDescription
request IGetCustomerRepricingConfigRequest

GetCustomerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.CustomerRepricingConfig>

Promise

getEntitlement(request, callback)

public getEntitlement(request: google.cloud.channel.v1.IGetEntitlementRequest, callback: google.cloud.channel.v1.CloudChannelService.GetEntitlementCallback): void;

Calls GetEntitlement.

Parameters
NameDescription
request IGetEntitlementRequest

GetEntitlementRequest message or plain object

callback GetEntitlementCallback

Node-style callback called with the error, if any, and Entitlement

Returns
TypeDescription
void

getEntitlement(request)

public getEntitlement(request: google.cloud.channel.v1.IGetEntitlementRequest): Promise<google.cloud.channel.v1.Entitlement>;

Calls GetEntitlement.

Parameter
NameDescription
request IGetEntitlementRequest

GetEntitlementRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.Entitlement>

Promise

importCustomer(request, callback)

public importCustomer(request: google.cloud.channel.v1.IImportCustomerRequest, callback: google.cloud.channel.v1.CloudChannelService.ImportCustomerCallback): void;

Calls ImportCustomer.

Parameters
NameDescription
request IImportCustomerRequest

ImportCustomerRequest message or plain object

callback ImportCustomerCallback

Node-style callback called with the error, if any, and Customer

Returns
TypeDescription
void

importCustomer(request)

public importCustomer(request: google.cloud.channel.v1.IImportCustomerRequest): Promise<google.cloud.channel.v1.Customer>;

Calls ImportCustomer.

Parameter
NameDescription
request IImportCustomerRequest

ImportCustomerRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.Customer>

Promise

public listChannelPartnerLinks(request: google.cloud.channel.v1.IListChannelPartnerLinksRequest, callback: google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinksCallback): void;

Calls ListChannelPartnerLinks.

Parameters
NameDescription
request IListChannelPartnerLinksRequest

ListChannelPartnerLinksRequest message or plain object

callback ListChannelPartnerLinksCallback

Node-style callback called with the error, if any, and ListChannelPartnerLinksResponse

Returns
TypeDescription
void
public listChannelPartnerLinks(request: google.cloud.channel.v1.IListChannelPartnerLinksRequest): Promise<google.cloud.channel.v1.ListChannelPartnerLinksResponse>;

Calls ListChannelPartnerLinks.

Parameter
NameDescription
request IListChannelPartnerLinksRequest

ListChannelPartnerLinksRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListChannelPartnerLinksResponse>

Promise

listChannelPartnerRepricingConfigs(request, callback)

public listChannelPartnerRepricingConfigs(request: google.cloud.channel.v1.IListChannelPartnerRepricingConfigsRequest, callback: google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigsCallback): void;

Calls ListChannelPartnerRepricingConfigs.

Parameters
NameDescription
request IListChannelPartnerRepricingConfigsRequest

ListChannelPartnerRepricingConfigsRequest message or plain object

callback ListChannelPartnerRepricingConfigsCallback

Node-style callback called with the error, if any, and ListChannelPartnerRepricingConfigsResponse

Returns
TypeDescription
void

listChannelPartnerRepricingConfigs(request)

public listChannelPartnerRepricingConfigs(request: google.cloud.channel.v1.IListChannelPartnerRepricingConfigsRequest): Promise<google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>;

Calls ListChannelPartnerRepricingConfigs.

Parameter
NameDescription
request IListChannelPartnerRepricingConfigsRequest

ListChannelPartnerRepricingConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse>

Promise

listCustomerRepricingConfigs(request, callback)

public listCustomerRepricingConfigs(request: google.cloud.channel.v1.IListCustomerRepricingConfigsRequest, callback: google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigsCallback): void;

Calls ListCustomerRepricingConfigs.

Parameters
NameDescription
request IListCustomerRepricingConfigsRequest

ListCustomerRepricingConfigsRequest message or plain object

callback ListCustomerRepricingConfigsCallback

Node-style callback called with the error, if any, and ListCustomerRepricingConfigsResponse

Returns
TypeDescription
void

listCustomerRepricingConfigs(request)

public listCustomerRepricingConfigs(request: google.cloud.channel.v1.IListCustomerRepricingConfigsRequest): Promise<google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>;

Calls ListCustomerRepricingConfigs.

Parameter
NameDescription
request IListCustomerRepricingConfigsRequest

ListCustomerRepricingConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListCustomerRepricingConfigsResponse>

Promise

listCustomers(request, callback)

public listCustomers(request: google.cloud.channel.v1.IListCustomersRequest, callback: google.cloud.channel.v1.CloudChannelService.ListCustomersCallback): void;

Calls ListCustomers.

Parameters
NameDescription
request IListCustomersRequest

ListCustomersRequest message or plain object

callback ListCustomersCallback

Node-style callback called with the error, if any, and ListCustomersResponse

Returns
TypeDescription
void

listCustomers(request)

public listCustomers(request: google.cloud.channel.v1.IListCustomersRequest): Promise<google.cloud.channel.v1.ListCustomersResponse>;

Calls ListCustomers.

Parameter
NameDescription
request IListCustomersRequest

ListCustomersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListCustomersResponse>

Promise

listEntitlementChanges(request, callback)

public listEntitlementChanges(request: google.cloud.channel.v1.IListEntitlementChangesRequest, callback: google.cloud.channel.v1.CloudChannelService.ListEntitlementChangesCallback): void;

Calls ListEntitlementChanges.

Parameters
NameDescription
request IListEntitlementChangesRequest

ListEntitlementChangesRequest message or plain object

callback ListEntitlementChangesCallback

Node-style callback called with the error, if any, and ListEntitlementChangesResponse

Returns
TypeDescription
void

listEntitlementChanges(request)

public listEntitlementChanges(request: google.cloud.channel.v1.IListEntitlementChangesRequest): Promise<google.cloud.channel.v1.ListEntitlementChangesResponse>;

Calls ListEntitlementChanges.

Parameter
NameDescription
request IListEntitlementChangesRequest

ListEntitlementChangesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListEntitlementChangesResponse>

Promise

listEntitlements(request, callback)

public listEntitlements(request: google.cloud.channel.v1.IListEntitlementsRequest, callback: google.cloud.channel.v1.CloudChannelService.ListEntitlementsCallback): void;

Calls ListEntitlements.

Parameters
NameDescription
request IListEntitlementsRequest

ListEntitlementsRequest message or plain object

callback ListEntitlementsCallback

Node-style callback called with the error, if any, and ListEntitlementsResponse

Returns
TypeDescription
void

listEntitlements(request)

public listEntitlements(request: google.cloud.channel.v1.IListEntitlementsRequest): Promise<google.cloud.channel.v1.ListEntitlementsResponse>;

Calls ListEntitlements.

Parameter
NameDescription
request IListEntitlementsRequest

ListEntitlementsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListEntitlementsResponse>

Promise

listOffers(request, callback)

public listOffers(request: google.cloud.channel.v1.IListOffersRequest, callback: google.cloud.channel.v1.CloudChannelService.ListOffersCallback): void;

Calls ListOffers.

Parameters
NameDescription
request IListOffersRequest

ListOffersRequest message or plain object

callback ListOffersCallback

Node-style callback called with the error, if any, and ListOffersResponse

Returns
TypeDescription
void

listOffers(request)

public listOffers(request: google.cloud.channel.v1.IListOffersRequest): Promise<google.cloud.channel.v1.ListOffersResponse>;

Calls ListOffers.

Parameter
NameDescription
request IListOffersRequest

ListOffersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListOffersResponse>

Promise

listProducts(request, callback)

public listProducts(request: google.cloud.channel.v1.IListProductsRequest, callback: google.cloud.channel.v1.CloudChannelService.ListProductsCallback): void;

Calls ListProducts.

Parameters
NameDescription
request IListProductsRequest

ListProductsRequest message or plain object

callback ListProductsCallback

Node-style callback called with the error, if any, and ListProductsResponse

Returns
TypeDescription
void

listProducts(request)

public listProducts(request: google.cloud.channel.v1.IListProductsRequest): Promise<google.cloud.channel.v1.ListProductsResponse>;

Calls ListProducts.

Parameter
NameDescription
request IListProductsRequest

ListProductsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListProductsResponse>

Promise

listPurchasableOffers(request, callback)

public listPurchasableOffers(request: google.cloud.channel.v1.IListPurchasableOffersRequest, callback: google.cloud.channel.v1.CloudChannelService.ListPurchasableOffersCallback): void;

Calls ListPurchasableOffers.

Parameters
NameDescription
request IListPurchasableOffersRequest

ListPurchasableOffersRequest message or plain object

callback ListPurchasableOffersCallback

Node-style callback called with the error, if any, and ListPurchasableOffersResponse

Returns
TypeDescription
void

listPurchasableOffers(request)

public listPurchasableOffers(request: google.cloud.channel.v1.IListPurchasableOffersRequest): Promise<google.cloud.channel.v1.ListPurchasableOffersResponse>;

Calls ListPurchasableOffers.

Parameter
NameDescription
request IListPurchasableOffersRequest

ListPurchasableOffersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListPurchasableOffersResponse>

Promise

listPurchasableSkus(request, callback)

public listPurchasableSkus(request: google.cloud.channel.v1.IListPurchasableSkusRequest, callback: google.cloud.channel.v1.CloudChannelService.ListPurchasableSkusCallback): void;

Calls ListPurchasableSkus.

Parameters
NameDescription
request IListPurchasableSkusRequest

ListPurchasableSkusRequest message or plain object

callback ListPurchasableSkusCallback

Node-style callback called with the error, if any, and ListPurchasableSkusResponse

Returns
TypeDescription
void

listPurchasableSkus(request)

public listPurchasableSkus(request: google.cloud.channel.v1.IListPurchasableSkusRequest): Promise<google.cloud.channel.v1.ListPurchasableSkusResponse>;

Calls ListPurchasableSkus.

Parameter
NameDescription
request IListPurchasableSkusRequest

ListPurchasableSkusRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListPurchasableSkusResponse>

Promise

listSkuGroupBillableSkus(request, callback)

public listSkuGroupBillableSkus(request: google.cloud.channel.v1.IListSkuGroupBillableSkusRequest, callback: google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkusCallback): void;

Calls ListSkuGroupBillableSkus.

Parameters
NameDescription
request IListSkuGroupBillableSkusRequest

ListSkuGroupBillableSkusRequest message or plain object

callback ListSkuGroupBillableSkusCallback

Node-style callback called with the error, if any, and ListSkuGroupBillableSkusResponse

Returns
TypeDescription
void

listSkuGroupBillableSkus(request)

public listSkuGroupBillableSkus(request: google.cloud.channel.v1.IListSkuGroupBillableSkusRequest): Promise<google.cloud.channel.v1.ListSkuGroupBillableSkusResponse>;

Calls ListSkuGroupBillableSkus.

Parameter
NameDescription
request IListSkuGroupBillableSkusRequest

ListSkuGroupBillableSkusRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListSkuGroupBillableSkusResponse>

Promise

listSkuGroups(request, callback)

public listSkuGroups(request: google.cloud.channel.v1.IListSkuGroupsRequest, callback: google.cloud.channel.v1.CloudChannelService.ListSkuGroupsCallback): void;

Calls ListSkuGroups.

Parameters
NameDescription
request IListSkuGroupsRequest

ListSkuGroupsRequest message or plain object

callback ListSkuGroupsCallback

Node-style callback called with the error, if any, and ListSkuGroupsResponse

Returns
TypeDescription
void

listSkuGroups(request)

public listSkuGroups(request: google.cloud.channel.v1.IListSkuGroupsRequest): Promise<google.cloud.channel.v1.ListSkuGroupsResponse>;

Calls ListSkuGroups.

Parameter
NameDescription
request IListSkuGroupsRequest

ListSkuGroupsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListSkuGroupsResponse>

Promise

listSkus(request, callback)

public listSkus(request: google.cloud.channel.v1.IListSkusRequest, callback: google.cloud.channel.v1.CloudChannelService.ListSkusCallback): void;

Calls ListSkus.

Parameters
NameDescription
request IListSkusRequest

ListSkusRequest message or plain object

callback ListSkusCallback

Node-style callback called with the error, if any, and ListSkusResponse

Returns
TypeDescription
void

listSkus(request)

public listSkus(request: google.cloud.channel.v1.IListSkusRequest): Promise<google.cloud.channel.v1.ListSkusResponse>;

Calls ListSkus.

Parameter
NameDescription
request IListSkusRequest

ListSkusRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListSkusResponse>

Promise

listSubscribers(request, callback)

public listSubscribers(request: google.cloud.channel.v1.IListSubscribersRequest, callback: google.cloud.channel.v1.CloudChannelService.ListSubscribersCallback): void;

Calls ListSubscribers.

Parameters
NameDescription
request IListSubscribersRequest

ListSubscribersRequest message or plain object

callback ListSubscribersCallback

Node-style callback called with the error, if any, and ListSubscribersResponse

Returns
TypeDescription
void

listSubscribers(request)

public listSubscribers(request: google.cloud.channel.v1.IListSubscribersRequest): Promise<google.cloud.channel.v1.ListSubscribersResponse>;

Calls ListSubscribers.

Parameter
NameDescription
request IListSubscribersRequest

ListSubscribersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListSubscribersResponse>

Promise

listTransferableOffers(request, callback)

public listTransferableOffers(request: google.cloud.channel.v1.IListTransferableOffersRequest, callback: google.cloud.channel.v1.CloudChannelService.ListTransferableOffersCallback): void;

Calls ListTransferableOffers.

Parameters
NameDescription
request IListTransferableOffersRequest

ListTransferableOffersRequest message or plain object

callback ListTransferableOffersCallback

Node-style callback called with the error, if any, and ListTransferableOffersResponse

Returns
TypeDescription
void

listTransferableOffers(request)

public listTransferableOffers(request: google.cloud.channel.v1.IListTransferableOffersRequest): Promise<google.cloud.channel.v1.ListTransferableOffersResponse>;

Calls ListTransferableOffers.

Parameter
NameDescription
request IListTransferableOffersRequest

ListTransferableOffersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListTransferableOffersResponse>

Promise

listTransferableSkus(request, callback)

public listTransferableSkus(request: google.cloud.channel.v1.IListTransferableSkusRequest, callback: google.cloud.channel.v1.CloudChannelService.ListTransferableSkusCallback): void;

Calls ListTransferableSkus.

Parameters
NameDescription
request IListTransferableSkusRequest

ListTransferableSkusRequest message or plain object

callback ListTransferableSkusCallback

Node-style callback called with the error, if any, and ListTransferableSkusResponse

Returns
TypeDescription
void

listTransferableSkus(request)

public listTransferableSkus(request: google.cloud.channel.v1.IListTransferableSkusRequest): Promise<google.cloud.channel.v1.ListTransferableSkusResponse>;

Calls ListTransferableSkus.

Parameter
NameDescription
request IListTransferableSkusRequest

ListTransferableSkusRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ListTransferableSkusResponse>

Promise

lookupOffer(request, callback)

public lookupOffer(request: google.cloud.channel.v1.ILookupOfferRequest, callback: google.cloud.channel.v1.CloudChannelService.LookupOfferCallback): void;

Calls LookupOffer.

Parameters
NameDescription
request ILookupOfferRequest

LookupOfferRequest message or plain object

callback LookupOfferCallback

Node-style callback called with the error, if any, and Offer

Returns
TypeDescription
void

lookupOffer(request)

public lookupOffer(request: google.cloud.channel.v1.ILookupOfferRequest): Promise<google.cloud.channel.v1.Offer>;

Calls LookupOffer.

Parameter
NameDescription
request ILookupOfferRequest

LookupOfferRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.Offer>

Promise

provisionCloudIdentity(request, callback)

public provisionCloudIdentity(request: google.cloud.channel.v1.IProvisionCloudIdentityRequest, callback: google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentityCallback): void;

Calls ProvisionCloudIdentity.

Parameters
NameDescription
request IProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest message or plain object

callback ProvisionCloudIdentityCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

provisionCloudIdentity(request)

public provisionCloudIdentity(request: google.cloud.channel.v1.IProvisionCloudIdentityRequest): Promise<google.longrunning.Operation>;

Calls ProvisionCloudIdentity.

Parameter
NameDescription
request IProvisionCloudIdentityRequest

ProvisionCloudIdentityRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

registerSubscriber(request, callback)

public registerSubscriber(request: google.cloud.channel.v1.IRegisterSubscriberRequest, callback: google.cloud.channel.v1.CloudChannelService.RegisterSubscriberCallback): void;

Calls RegisterSubscriber.

Parameters
NameDescription
request IRegisterSubscriberRequest

RegisterSubscriberRequest message or plain object

callback RegisterSubscriberCallback

Node-style callback called with the error, if any, and RegisterSubscriberResponse

Returns
TypeDescription
void

registerSubscriber(request)

public registerSubscriber(request: google.cloud.channel.v1.IRegisterSubscriberRequest): Promise<google.cloud.channel.v1.RegisterSubscriberResponse>;

Calls RegisterSubscriber.

Parameter
NameDescription
request IRegisterSubscriberRequest

RegisterSubscriberRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.RegisterSubscriberResponse>

Promise

startPaidService(request, callback)

public startPaidService(request: google.cloud.channel.v1.IStartPaidServiceRequest, callback: google.cloud.channel.v1.CloudChannelService.StartPaidServiceCallback): void;

Calls StartPaidService.

Parameters
NameDescription
request IStartPaidServiceRequest

StartPaidServiceRequest message or plain object

callback StartPaidServiceCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

startPaidService(request)

public startPaidService(request: google.cloud.channel.v1.IStartPaidServiceRequest): Promise<google.longrunning.Operation>;

Calls StartPaidService.

Parameter
NameDescription
request IStartPaidServiceRequest

StartPaidServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

suspendEntitlement(request, callback)

public suspendEntitlement(request: google.cloud.channel.v1.ISuspendEntitlementRequest, callback: google.cloud.channel.v1.CloudChannelService.SuspendEntitlementCallback): void;

Calls SuspendEntitlement.

Parameters
NameDescription
request ISuspendEntitlementRequest

SuspendEntitlementRequest message or plain object

callback SuspendEntitlementCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

suspendEntitlement(request)

public suspendEntitlement(request: google.cloud.channel.v1.ISuspendEntitlementRequest): Promise<google.longrunning.Operation>;

Calls SuspendEntitlement.

Parameter
NameDescription
request ISuspendEntitlementRequest

SuspendEntitlementRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

transferEntitlements(request, callback)

public transferEntitlements(request: google.cloud.channel.v1.ITransferEntitlementsRequest, callback: google.cloud.channel.v1.CloudChannelService.TransferEntitlementsCallback): void;

Calls TransferEntitlements.

Parameters
NameDescription
request ITransferEntitlementsRequest

TransferEntitlementsRequest message or plain object

callback TransferEntitlementsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

transferEntitlements(request)

public transferEntitlements(request: google.cloud.channel.v1.ITransferEntitlementsRequest): Promise<google.longrunning.Operation>;

Calls TransferEntitlements.

Parameter
NameDescription
request ITransferEntitlementsRequest

TransferEntitlementsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

transferEntitlementsToGoogle(request, callback)

public transferEntitlementsToGoogle(request: google.cloud.channel.v1.ITransferEntitlementsToGoogleRequest, callback: google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogleCallback): void;

Calls TransferEntitlementsToGoogle.

Parameters
NameDescription
request ITransferEntitlementsToGoogleRequest

TransferEntitlementsToGoogleRequest message or plain object

callback TransferEntitlementsToGoogleCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

transferEntitlementsToGoogle(request)

public transferEntitlementsToGoogle(request: google.cloud.channel.v1.ITransferEntitlementsToGoogleRequest): Promise<google.longrunning.Operation>;

Calls TransferEntitlementsToGoogle.

Parameter
NameDescription
request ITransferEntitlementsToGoogleRequest

TransferEntitlementsToGoogleRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

unregisterSubscriber(request, callback)

public unregisterSubscriber(request: google.cloud.channel.v1.IUnregisterSubscriberRequest, callback: google.cloud.channel.v1.CloudChannelService.UnregisterSubscriberCallback): void;

Calls UnregisterSubscriber.

Parameters
NameDescription
request IUnregisterSubscriberRequest

UnregisterSubscriberRequest message or plain object

callback UnregisterSubscriberCallback

Node-style callback called with the error, if any, and UnregisterSubscriberResponse

Returns
TypeDescription
void

unregisterSubscriber(request)

public unregisterSubscriber(request: google.cloud.channel.v1.IUnregisterSubscriberRequest): Promise<google.cloud.channel.v1.UnregisterSubscriberResponse>;

Calls UnregisterSubscriber.

Parameter
NameDescription
request IUnregisterSubscriberRequest

UnregisterSubscriberRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.UnregisterSubscriberResponse>

Promise

public updateChannelPartnerLink(request: google.cloud.channel.v1.IUpdateChannelPartnerLinkRequest, callback: google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLinkCallback): void;

Calls UpdateChannelPartnerLink.

Parameters
NameDescription
request IUpdateChannelPartnerLinkRequest

UpdateChannelPartnerLinkRequest message or plain object

callback UpdateChannelPartnerLinkCallback

Node-style callback called with the error, if any, and ChannelPartnerLink

Returns
TypeDescription
void
public updateChannelPartnerLink(request: google.cloud.channel.v1.IUpdateChannelPartnerLinkRequest): Promise<google.cloud.channel.v1.ChannelPartnerLink>;

Calls UpdateChannelPartnerLink.

Parameter
NameDescription
request IUpdateChannelPartnerLinkRequest

UpdateChannelPartnerLinkRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ChannelPartnerLink>

Promise

updateChannelPartnerRepricingConfig(request, callback)

public updateChannelPartnerRepricingConfig(request: google.cloud.channel.v1.IUpdateChannelPartnerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfigCallback): void;

Calls UpdateChannelPartnerRepricingConfig.

Parameters
NameDescription
request IUpdateChannelPartnerRepricingConfigRequest

UpdateChannelPartnerRepricingConfigRequest message or plain object

callback UpdateChannelPartnerRepricingConfigCallback

Node-style callback called with the error, if any, and ChannelPartnerRepricingConfig

Returns
TypeDescription
void

updateChannelPartnerRepricingConfig(request)

public updateChannelPartnerRepricingConfig(request: google.cloud.channel.v1.IUpdateChannelPartnerRepricingConfigRequest): Promise<google.cloud.channel.v1.ChannelPartnerRepricingConfig>;

Calls UpdateChannelPartnerRepricingConfig.

Parameter
NameDescription
request IUpdateChannelPartnerRepricingConfigRequest

UpdateChannelPartnerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.ChannelPartnerRepricingConfig>

Promise

updateCustomer(request, callback)

public updateCustomer(request: google.cloud.channel.v1.IUpdateCustomerRequest, callback: google.cloud.channel.v1.CloudChannelService.UpdateCustomerCallback): void;

Calls UpdateCustomer.

Parameters
NameDescription
request IUpdateCustomerRequest

UpdateCustomerRequest message or plain object

callback UpdateCustomerCallback

Node-style callback called with the error, if any, and Customer

Returns
TypeDescription
void

updateCustomer(request)

public updateCustomer(request: google.cloud.channel.v1.IUpdateCustomerRequest): Promise<google.cloud.channel.v1.Customer>;

Calls UpdateCustomer.

Parameter
NameDescription
request IUpdateCustomerRequest

UpdateCustomerRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.Customer>

Promise

updateCustomerRepricingConfig(request, callback)

public updateCustomerRepricingConfig(request: google.cloud.channel.v1.IUpdateCustomerRepricingConfigRequest, callback: google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfigCallback): void;

Calls UpdateCustomerRepricingConfig.

Parameters
NameDescription
request IUpdateCustomerRepricingConfigRequest

UpdateCustomerRepricingConfigRequest message or plain object

callback UpdateCustomerRepricingConfigCallback

Node-style callback called with the error, if any, and CustomerRepricingConfig

Returns
TypeDescription
void

updateCustomerRepricingConfig(request)

public updateCustomerRepricingConfig(request: google.cloud.channel.v1.IUpdateCustomerRepricingConfigRequest): Promise<google.cloud.channel.v1.CustomerRepricingConfig>;

Calls UpdateCustomerRepricingConfig.

Parameter
NameDescription
request IUpdateCustomerRepricingConfigRequest

UpdateCustomerRepricingConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.channel.v1.CustomerRepricingConfig>

Promise