Class protos.google.cloud.channel.v1.CloudChannelService

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 google.cloud.channel.v1.IActivateEntitlementRequest

ActivateEntitlementRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ICancelEntitlementRequest

CancelEntitlementRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IChangeOfferRequest

ChangeOfferRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IChangeParametersRequest

ChangeParametersRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IChangeRenewalSettingsRequest

ChangeRenewalSettingsRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ICheckCloudIdentityAccountsExistRequest

CheckCloudIdentityAccountsExistRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ICreateChannelPartnerLinkRequest

CreateChannelPartnerLinkRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.ICreateChannelPartnerLinkRequest

CreateChannelPartnerLinkRequest message or plain object

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

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 google.cloud.channel.v1.ICreateCustomerRequest

CreateCustomerRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.ICreateCustomerRequest

CreateCustomerRequest message or plain object

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

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 google.cloud.channel.v1.ICreateEntitlementRequest

CreateEntitlementRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.ICreateEntitlementRequest

CreateEntitlementRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

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 google.cloud.channel.v1.CloudChannelService.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

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

Calls GetChannelPartnerLink.

Parameters
NameDescription
request google.cloud.channel.v1.IGetChannelPartnerLinkRequest

GetChannelPartnerLinkRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IGetChannelPartnerLinkRequest

GetChannelPartnerLinkRequest message or plain object

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

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 google.cloud.channel.v1.IGetCustomerRequest

GetCustomerRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IGetCustomerRequest

GetCustomerRequest message or plain object

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

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 google.cloud.channel.v1.IGetEntitlementRequest

GetEntitlementRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IImportCustomerRequest

ImportCustomerRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.CloudChannelService.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

listCustomers(request, callback)

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

Calls ListCustomers.

Parameters
NameDescription
request google.cloud.channel.v1.IListCustomersRequest

ListCustomersRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IListCustomersRequest

ListCustomersRequest message or plain object

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

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 google.cloud.channel.v1.IListEntitlementsRequest

ListEntitlementsRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IListOffersRequest

ListOffersRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IListProductsRequest

ListProductsRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IListPurchasableOffersRequest

ListPurchasableOffersRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.CloudChannelService.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

listSkus(request, callback)

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

Calls ListSkus.

Parameters
NameDescription
request google.cloud.channel.v1.IListSkusRequest

ListSkusRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IListTransferableOffersRequest

ListTransferableOffersRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IListTransferableSkusRequest

ListTransferableSkusRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ILookupOfferRequest

LookupOfferRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IRegisterSubscriberRequest

RegisterSubscriberRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IStartPaidServiceRequest

StartPaidServiceRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ISuspendEntitlementRequest

SuspendEntitlementRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ITransferEntitlementsRequest

TransferEntitlementsRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.ITransferEntitlementsToGoogleRequest

TransferEntitlementsToGoogleRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IUnregisterSubscriberRequest

UnregisterSubscriberRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.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 google.cloud.channel.v1.IUpdateChannelPartnerLinkRequest

UpdateChannelPartnerLinkRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IUpdateChannelPartnerLinkRequest

UpdateChannelPartnerLinkRequest message or plain object

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

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 google.cloud.channel.v1.IUpdateCustomerRequest

UpdateCustomerRequest message or plain object

callback google.cloud.channel.v1.CloudChannelService.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 google.cloud.channel.v1.IUpdateCustomerRequest

UpdateCustomerRequest message or plain object

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

Promise