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
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

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

ActivateEntitlementRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ActivateEntitlementCallbackcallback

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

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

CancelEntitlementRequest message or plain object

google.cloud.channel.v1.CloudChannelService.CancelEntitlementCallbackcallback

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

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

ChangeOfferRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ChangeOfferCallbackcallback

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

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
TypeNameDescription
IChangeParametersRequestrequest

ChangeParametersRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ChangeParametersCallbackcallback

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
TypeNameDescription
IChangeParametersRequestrequest

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

ChangeRenewalSettingsRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettingsCallbackcallback

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

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
TypeNameDescription
ICheckCloudIdentityAccountsExistRequestrequest

CheckCloudIdentityAccountsExistRequest message or plain object

google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExistCallbackcallback

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
TypeNameDescription
ICheckCloudIdentityAccountsExistRequestrequest

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
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

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

CreateChannelPartnerLinkRequest message or plain object

google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLinkCallbackcallback

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

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
TypeNameDescription
ICreateCustomerRequestrequest

CreateCustomerRequest message or plain object

google.cloud.channel.v1.CloudChannelService.CreateCustomerCallbackcallback

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
TypeNameDescription
ICreateCustomerRequestrequest

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

CreateEntitlementRequest message or plain object

google.cloud.channel.v1.CloudChannelService.CreateEntitlementCallbackcallback

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

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

DeleteCustomerRequest message or plain object

google.cloud.channel.v1.CloudChannelService.DeleteCustomerCallbackcallback

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

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
TypeNameDescription
IGetChannelPartnerLinkRequestrequest

GetChannelPartnerLinkRequest message or plain object

google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLinkCallbackcallback

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
TypeNameDescription
IGetChannelPartnerLinkRequestrequest

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
TypeNameDescription
IGetCustomerRequestrequest

GetCustomerRequest message or plain object

google.cloud.channel.v1.CloudChannelService.GetCustomerCallbackcallback

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
TypeNameDescription
IGetCustomerRequestrequest

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

GetEntitlementRequest message or plain object

google.cloud.channel.v1.CloudChannelService.GetEntitlementCallbackcallback

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

GetEntitlementRequest message or plain object

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

Promise

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

Calls ListChannelPartnerLinks.

Parameters
TypeNameDescription
IListChannelPartnerLinksRequestrequest

ListChannelPartnerLinksRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinksCallbackcallback

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
TypeNameDescription
IListChannelPartnerLinksRequestrequest

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

ListCustomersRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListCustomersCallbackcallback

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

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

ListEntitlementsRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListEntitlementsCallbackcallback

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

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

ListOffersRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListOffersCallbackcallback

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

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

ListProductsRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListProductsCallbackcallback

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

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
TypeNameDescription
IListPurchasableOffersRequestrequest

ListPurchasableOffersRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListPurchasableOffersCallbackcallback

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
TypeNameDescription
IListPurchasableOffersRequestrequest

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
TypeNameDescription
IListPurchasableSkusRequestrequest

ListPurchasableSkusRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListPurchasableSkusCallbackcallback

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
TypeNameDescription
IListPurchasableSkusRequestrequest

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

ListSkusRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListSkusCallbackcallback

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

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
TypeNameDescription
IListSubscribersRequestrequest

ListSubscribersRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListSubscribersCallbackcallback

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
TypeNameDescription
IListSubscribersRequestrequest

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

ListTransferableOffersRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListTransferableOffersCallbackcallback

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

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
TypeNameDescription
IListTransferableSkusRequestrequest

ListTransferableSkusRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ListTransferableSkusCallbackcallback

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
TypeNameDescription
IListTransferableSkusRequestrequest

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

LookupOfferRequest message or plain object

google.cloud.channel.v1.CloudChannelService.LookupOfferCallbackcallback

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

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

ProvisionCloudIdentityRequest message or plain object

google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentityCallbackcallback

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

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

RegisterSubscriberRequest message or plain object

google.cloud.channel.v1.CloudChannelService.RegisterSubscriberCallbackcallback

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

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

StartPaidServiceRequest message or plain object

google.cloud.channel.v1.CloudChannelService.StartPaidServiceCallbackcallback

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

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

SuspendEntitlementRequest message or plain object

google.cloud.channel.v1.CloudChannelService.SuspendEntitlementCallbackcallback

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

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
TypeNameDescription
ITransferEntitlementsRequestrequest

TransferEntitlementsRequest message or plain object

google.cloud.channel.v1.CloudChannelService.TransferEntitlementsCallbackcallback

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
TypeNameDescription
ITransferEntitlementsRequestrequest

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
TypeNameDescription
ITransferEntitlementsToGoogleRequestrequest

TransferEntitlementsToGoogleRequest message or plain object

google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogleCallbackcallback

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
TypeNameDescription
ITransferEntitlementsToGoogleRequestrequest

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
TypeNameDescription
IUnregisterSubscriberRequestrequest

UnregisterSubscriberRequest message or plain object

google.cloud.channel.v1.CloudChannelService.UnregisterSubscriberCallbackcallback

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
TypeNameDescription
IUnregisterSubscriberRequestrequest

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

UpdateChannelPartnerLinkRequest message or plain object

google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLinkCallbackcallback

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

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

UpdateCustomerRequest message or plain object

google.cloud.channel.v1.CloudChannelService.UpdateCustomerCallbackcallback

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

UpdateCustomerRequest message or plain object

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

Promise