Constructor
new CloudChannelService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new CloudChannelService service.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {CloudChannelService}
Creates new CloudChannelService service using the specified rpc implementation.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
| Type | Description |
|---|---|
| CloudChannelService |
RPC service. Useful where requests and/or responses are streamed. |
activateEntitlement(request, callback) → {undefined}
Calls ActivateEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
activateEntitlement(request) → {Promise.<google.longrunning.Operation>}
Calls ActivateEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IActivateEntitlementRequest |
ActivateEntitlementRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
cancelEntitlement(request, callback) → {undefined}
Calls CancelEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
cancelEntitlement(request) → {Promise.<google.longrunning.Operation>}
Calls CancelEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ICancelEntitlementRequest |
CancelEntitlementRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
changeOffer(request, callback) → {undefined}
Calls ChangeOffer.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
changeOffer(request) → {Promise.<google.longrunning.Operation>}
Calls ChangeOffer.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IChangeOfferRequest |
ChangeOfferRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
changeParameters(request, callback) → {undefined}
Calls ChangeParameters.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
changeParameters(request) → {Promise.<google.longrunning.Operation>}
Calls ChangeParameters.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IChangeParametersRequest |
ChangeParametersRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
changeRenewalSettings(request, callback) → {undefined}
Calls ChangeRenewalSettings.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
changeRenewalSettings(request) → {Promise.<google.longrunning.Operation>}
Calls ChangeRenewalSettings.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IChangeRenewalSettingsRequest |
ChangeRenewalSettingsRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
checkCloudIdentityAccountsExist(request, callback) → {undefined}
Calls CheckCloudIdentityAccountsExist.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
checkCloudIdentityAccountsExist(request) → {Promise.<google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse>}
Calls CheckCloudIdentityAccountsExist.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ICheckCloudIdentityAccountsExistRequest |
CheckCloudIdentityAccountsExistRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse> |
Promise |
createChannelPartnerLink(request, callback) → {undefined}
Calls CreateChannelPartnerLink.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
createChannelPartnerLink(request) → {Promise.<google.cloud.channel.v1.ChannelPartnerLink>}
Calls CreateChannelPartnerLink.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ICreateChannelPartnerLinkRequest |
CreateChannelPartnerLinkRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ChannelPartnerLink> |
Promise |
createCustomer(request, callback) → {undefined}
Calls CreateCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
createCustomer(request) → {Promise.<google.cloud.channel.v1.Customer>}
Calls CreateCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ICreateCustomerRequest |
CreateCustomerRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.Customer> |
Promise |
createEntitlement(request, callback) → {undefined}
Calls CreateEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
createEntitlement(request) → {Promise.<google.longrunning.Operation>}
Calls CreateEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ICreateEntitlementRequest |
CreateEntitlementRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
deleteCustomer(request, callback) → {undefined}
Calls DeleteCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.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:
| Type | Description |
|---|---|
| undefined |
deleteCustomer(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IDeleteCustomerRequest |
DeleteCustomerRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.protobuf.Empty> |
Promise |
getChannelPartnerLink(request, callback) → {undefined}
Calls GetChannelPartnerLink.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
getChannelPartnerLink(request) → {Promise.<google.cloud.channel.v1.ChannelPartnerLink>}
Calls GetChannelPartnerLink.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IGetChannelPartnerLinkRequest |
GetChannelPartnerLinkRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ChannelPartnerLink> |
Promise |
getCustomer(request, callback) → {undefined}
Calls GetCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
getCustomer(request) → {Promise.<google.cloud.channel.v1.Customer>}
Calls GetCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IGetCustomerRequest |
GetCustomerRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.Customer> |
Promise |
getEntitlement(request, callback) → {undefined}
Calls GetEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
getEntitlement(request) → {Promise.<google.cloud.channel.v1.Entitlement>}
Calls GetEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IGetEntitlementRequest |
GetEntitlementRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.Entitlement> |
Promise |
listChannelPartnerLinks(request, callback) → {undefined}
Calls ListChannelPartnerLinks.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.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:
| Type | Description |
|---|---|
| undefined |
listChannelPartnerLinks(request) → {Promise.<google.cloud.channel.v1.ListChannelPartnerLinksResponse>}
Calls ListChannelPartnerLinks.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListChannelPartnerLinksRequest |
ListChannelPartnerLinksRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListChannelPartnerLinksResponse> |
Promise |
listCustomers(request, callback) → {undefined}
Calls ListCustomers.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listCustomers(request) → {Promise.<google.cloud.channel.v1.ListCustomersResponse>}
Calls ListCustomers.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListCustomersRequest |
ListCustomersRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListCustomersResponse> |
Promise |
listEntitlements(request, callback) → {undefined}
Calls ListEntitlements.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listEntitlements(request) → {Promise.<google.cloud.channel.v1.ListEntitlementsResponse>}
Calls ListEntitlements.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListEntitlementsRequest |
ListEntitlementsRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListEntitlementsResponse> |
Promise |
listOffers(request, callback) → {undefined}
Calls ListOffers.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listOffers(request) → {Promise.<google.cloud.channel.v1.ListOffersResponse>}
Calls ListOffers.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListOffersRequest |
ListOffersRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListOffersResponse> |
Promise |
listProducts(request, callback) → {undefined}
Calls ListProducts.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listProducts(request) → {Promise.<google.cloud.channel.v1.ListProductsResponse>}
Calls ListProducts.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListProductsRequest |
ListProductsRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListProductsResponse> |
Promise |
listPurchasableOffers(request, callback) → {undefined}
Calls ListPurchasableOffers.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listPurchasableOffers(request) → {Promise.<google.cloud.channel.v1.ListPurchasableOffersResponse>}
Calls ListPurchasableOffers.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListPurchasableOffersRequest |
ListPurchasableOffersRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListPurchasableOffersResponse> |
Promise |
listPurchasableSkus(request, callback) → {undefined}
Calls ListPurchasableSkus.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.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:
| Type | Description |
|---|---|
| undefined |
listPurchasableSkus(request) → {Promise.<google.cloud.channel.v1.ListPurchasableSkusResponse>}
Calls ListPurchasableSkus.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListPurchasableSkusRequest |
ListPurchasableSkusRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListPurchasableSkusResponse> |
Promise |
listSkus(request, callback) → {undefined}
Calls ListSkus.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listSkus(request) → {Promise.<google.cloud.channel.v1.ListSkusResponse>}
Calls ListSkus.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListSkusRequest |
ListSkusRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListSkusResponse> |
Promise |
listTransferableOffers(request, callback) → {undefined}
Calls ListTransferableOffers.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listTransferableOffers(request) → {Promise.<google.cloud.channel.v1.ListTransferableOffersResponse>}
Calls ListTransferableOffers.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListTransferableOffersRequest |
ListTransferableOffersRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListTransferableOffersResponse> |
Promise |
listTransferableSkus(request, callback) → {undefined}
Calls ListTransferableSkus.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
listTransferableSkus(request) → {Promise.<google.cloud.channel.v1.ListTransferableSkusResponse>}
Calls ListTransferableSkus.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IListTransferableSkusRequest |
ListTransferableSkusRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ListTransferableSkusResponse> |
Promise |
provisionCloudIdentity(request, callback) → {undefined}
Calls ProvisionCloudIdentity.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.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:
| Type | Description |
|---|---|
| undefined |
provisionCloudIdentity(request) → {Promise.<google.longrunning.Operation>}
Calls ProvisionCloudIdentity.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IProvisionCloudIdentityRequest |
ProvisionCloudIdentityRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
startPaidService(request, callback) → {undefined}
Calls StartPaidService.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
startPaidService(request) → {Promise.<google.longrunning.Operation>}
Calls StartPaidService.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IStartPaidServiceRequest |
StartPaidServiceRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
suspendEntitlement(request, callback) → {undefined}
Calls SuspendEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
suspendEntitlement(request) → {Promise.<google.longrunning.Operation>}
Calls SuspendEntitlement.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ISuspendEntitlementRequest |
SuspendEntitlementRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
transferEntitlements(request, callback) → {undefined}
Calls TransferEntitlements.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
transferEntitlements(request) → {Promise.<google.longrunning.Operation>}
Calls TransferEntitlements.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ITransferEntitlementsRequest |
TransferEntitlementsRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
transferEntitlementsToGoogle(request, callback) → {undefined}
Calls TransferEntitlementsToGoogle.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
transferEntitlementsToGoogle(request) → {Promise.<google.longrunning.Operation>}
Calls TransferEntitlementsToGoogle.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.ITransferEntitlementsToGoogleRequest |
TransferEntitlementsToGoogleRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.longrunning.Operation> |
Promise |
updateChannelPartnerLink(request, callback) → {undefined}
Calls UpdateChannelPartnerLink.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
updateChannelPartnerLink(request) → {Promise.<google.cloud.channel.v1.ChannelPartnerLink>}
Calls UpdateChannelPartnerLink.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IUpdateChannelPartnerLinkRequest |
UpdateChannelPartnerLinkRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.ChannelPartnerLink> |
Promise |
updateCustomer(request, callback) → {undefined}
Calls UpdateCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
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:
| Type | Description |
|---|---|
| undefined |
updateCustomer(request) → {Promise.<google.cloud.channel.v1.Customer>}
Calls UpdateCustomer.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.channel.v1.IUpdateCustomerRequest |
UpdateCustomerRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.channel.v1.Customer> |
Promise |
Type Definitions
ActivateEntitlementCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#activateEntitlement.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CancelEntitlementCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#cancelEntitlement.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
ChangeOfferCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#changeOffer.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
ChangeParametersCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#changeParameters.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
ChangeRenewalSettingsCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#changeRenewalSettings.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CheckCloudIdentityAccountsExistCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#checkCloudIdentityAccountsExist.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse |
<optional> |
CheckCloudIdentityAccountsExistResponse |
CreateChannelPartnerLinkCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#createChannelPartnerLink.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ChannelPartnerLink |
<optional> |
ChannelPartnerLink |
CreateCustomerCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#createCustomer.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.Customer |
<optional> |
Customer |
CreateEntitlementCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#createEntitlement.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
DeleteCustomerCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#deleteCustomer.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetChannelPartnerLinkCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#getChannelPartnerLink.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ChannelPartnerLink |
<optional> |
ChannelPartnerLink |
GetCustomerCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#getCustomer.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.Customer |
<optional> |
Customer |
GetEntitlementCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#getEntitlement.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.Entitlement |
<optional> |
Entitlement |
ListChannelPartnerLinksCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listChannelPartnerLinks.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListChannelPartnerLinksResponse |
<optional> |
ListChannelPartnerLinksResponse |
ListCustomersCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listCustomers.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListCustomersResponse |
<optional> |
ListCustomersResponse |
ListEntitlementsCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listEntitlements.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListEntitlementsResponse |
<optional> |
ListEntitlementsResponse |
ListOffersCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listOffers.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListOffersResponse |
<optional> |
ListOffersResponse |
ListProductsCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listProducts.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListProductsResponse |
<optional> |
ListProductsResponse |
ListPurchasableOffersCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listPurchasableOffers.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListPurchasableOffersResponse |
<optional> |
ListPurchasableOffersResponse |
ListPurchasableSkusCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listPurchasableSkus.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListPurchasableSkusResponse |
<optional> |
ListPurchasableSkusResponse |
ListSkusCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listSkus.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListSkusResponse |
<optional> |
ListSkusResponse |
ListTransferableOffersCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listTransferableOffers.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListTransferableOffersResponse |
<optional> |
ListTransferableOffersResponse |
ListTransferableSkusCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#listTransferableSkus.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ListTransferableSkusResponse |
<optional> |
ListTransferableSkusResponse |
ProvisionCloudIdentityCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#provisionCloudIdentity.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
StartPaidServiceCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#startPaidService.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
SuspendEntitlementCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#suspendEntitlement.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
TransferEntitlementsCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#transferEntitlements.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
TransferEntitlementsToGoogleCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#transferEntitlementsToGoogle.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
UpdateChannelPartnerLinkCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#updateChannelPartnerLink.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.ChannelPartnerLink |
<optional> |
ChannelPartnerLink |
UpdateCustomerCallback(error, responseopt)
Callback as used by google.cloud.channel.v1.CloudChannelService#updateCustomer.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.channel.v1.Customer |
<optional> |
Customer |