Class CloudChannelServiceConnection (2.17.0)

This interface defines virtual methods for each of the user-facing overload sets in CloudChannelServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type CloudChannelServiceClient.

To create a concrete instance, see MakeCloudChannelServiceConnection().

For mocking, see channel_v1_mocks::MockCloudChannelServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListCustomers(google::cloud::channel::v1::ListCustomersRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListCustomersRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Customer >

virtual GetCustomer(google::cloud::channel::v1::GetCustomerRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::GetCustomerRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::Customer >

virtual CheckCloudIdentityAccountsExist(google::cloud::channel::v1::CheckCloudIdentityAccountsExistRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CheckCloudIdentityAccountsExistRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::CheckCloudIdentityAccountsExistResponse >

virtual CreateCustomer(google::cloud::channel::v1::CreateCustomerRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CreateCustomerRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::Customer >

virtual UpdateCustomer(google::cloud::channel::v1::UpdateCustomerRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::UpdateCustomerRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::Customer >

virtual DeleteCustomer(google::cloud::channel::v1::DeleteCustomerRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::DeleteCustomerRequest const &
Returns
TypeDescription
Status

virtual ImportCustomer(google::cloud::channel::v1::ImportCustomerRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::ImportCustomerRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::Customer >

virtual ProvisionCloudIdentity(google::cloud::channel::v1::ProvisionCloudIdentityRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::ProvisionCloudIdentityRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Customer > >

virtual ListEntitlements(google::cloud::channel::v1::ListEntitlementsRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListEntitlementsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Entitlement >

virtual ListTransferableSkus(google::cloud::channel::v1::ListTransferableSkusRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListTransferableSkusRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::TransferableSku >

virtual ListTransferableOffers(google::cloud::channel::v1::ListTransferableOffersRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListTransferableOffersRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::TransferableOffer >

virtual GetEntitlement(google::cloud::channel::v1::GetEntitlementRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::GetEntitlementRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::Entitlement >

virtual CreateEntitlement(google::cloud::channel::v1::CreateEntitlementRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CreateEntitlementRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual ChangeParameters(google::cloud::channel::v1::ChangeParametersRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::ChangeParametersRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual ChangeRenewalSettings(google::cloud::channel::v1::ChangeRenewalSettingsRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::ChangeRenewalSettingsRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual ChangeOffer(google::cloud::channel::v1::ChangeOfferRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::ChangeOfferRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual StartPaidService(google::cloud::channel::v1::StartPaidServiceRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::StartPaidServiceRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual SuspendEntitlement(google::cloud::channel::v1::SuspendEntitlementRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::SuspendEntitlementRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual CancelEntitlement(google::cloud::channel::v1::CancelEntitlementRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CancelEntitlementRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::OperationMetadata > >

virtual ActivateEntitlement(google::cloud::channel::v1::ActivateEntitlementRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::ActivateEntitlementRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::Entitlement > >

virtual TransferEntitlements(google::cloud::channel::v1::TransferEntitlementsRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::TransferEntitlementsRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::TransferEntitlementsResponse > >

virtual TransferEntitlementsToGoogle(google::cloud::channel::v1::TransferEntitlementsToGoogleRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::TransferEntitlementsToGoogleRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::channel::v1::OperationMetadata > >

virtual ListChannelPartnerLinks(google::cloud::channel::v1::ListChannelPartnerLinksRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListChannelPartnerLinksRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::ChannelPartnerLink >

virtual GetChannelPartnerLink(google::cloud::channel::v1::GetChannelPartnerLinkRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::GetChannelPartnerLinkRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::ChannelPartnerLink >

virtual CreateChannelPartnerLink(google::cloud::channel::v1::CreateChannelPartnerLinkRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CreateChannelPartnerLinkRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::ChannelPartnerLink >

virtual UpdateChannelPartnerLink(google::cloud::channel::v1::UpdateChannelPartnerLinkRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::UpdateChannelPartnerLinkRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::ChannelPartnerLink >

virtual GetCustomerRepricingConfig(google::cloud::channel::v1::GetCustomerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::GetCustomerRepricingConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::CustomerRepricingConfig >

virtual ListCustomerRepricingConfigs(google::cloud::channel::v1::ListCustomerRepricingConfigsRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListCustomerRepricingConfigsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::CustomerRepricingConfig >

virtual CreateCustomerRepricingConfig(google::cloud::channel::v1::CreateCustomerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CreateCustomerRepricingConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::CustomerRepricingConfig >

virtual UpdateCustomerRepricingConfig(google::cloud::channel::v1::UpdateCustomerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::UpdateCustomerRepricingConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::CustomerRepricingConfig >

virtual DeleteCustomerRepricingConfig(google::cloud::channel::v1::DeleteCustomerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::DeleteCustomerRepricingConfigRequest const &
Returns
TypeDescription
Status

virtual GetChannelPartnerRepricingConfig(google::cloud::channel::v1::GetChannelPartnerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::GetChannelPartnerRepricingConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::ChannelPartnerRepricingConfig >

virtual ListChannelPartnerRepricingConfigs(google::cloud::channel::v1::ListChannelPartnerRepricingConfigsRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListChannelPartnerRepricingConfigsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::ChannelPartnerRepricingConfig >

virtual CreateChannelPartnerRepricingConfig(google::cloud::channel::v1::CreateChannelPartnerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::CreateChannelPartnerRepricingConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::ChannelPartnerRepricingConfig >

virtual UpdateChannelPartnerRepricingConfig(google::cloud::channel::v1::UpdateChannelPartnerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::UpdateChannelPartnerRepricingConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::ChannelPartnerRepricingConfig >

virtual DeleteChannelPartnerRepricingConfig(google::cloud::channel::v1::DeleteChannelPartnerRepricingConfigRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::DeleteChannelPartnerRepricingConfigRequest const &
Returns
TypeDescription
Status

virtual ListSkuGroups(google::cloud::channel::v1::ListSkuGroupsRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListSkuGroupsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::SkuGroup >

virtual ListSkuGroupBillableSkus(google::cloud::channel::v1::ListSkuGroupBillableSkusRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListSkuGroupBillableSkusRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::BillableSku >

virtual LookupOffer(google::cloud::channel::v1::LookupOfferRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::LookupOfferRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::Offer >

virtual ListProducts(google::cloud::channel::v1::ListProductsRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListProductsRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Product >

virtual ListSkus(google::cloud::channel::v1::ListSkusRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListSkusRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Sku >

virtual ListOffers(google::cloud::channel::v1::ListOffersRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListOffersRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::Offer >

virtual ListPurchasableSkus(google::cloud::channel::v1::ListPurchasableSkusRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListPurchasableSkusRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::PurchasableSku >

virtual ListPurchasableOffers(google::cloud::channel::v1::ListPurchasableOffersRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListPurchasableOffersRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::PurchasableOffer >

virtual QueryEligibleBillingAccounts(google::cloud::channel::v1::QueryEligibleBillingAccountsRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::QueryEligibleBillingAccountsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::QueryEligibleBillingAccountsResponse >

virtual RegisterSubscriber(google::cloud::channel::v1::RegisterSubscriberRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::RegisterSubscriberRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::RegisterSubscriberResponse >

virtual UnregisterSubscriber(google::cloud::channel::v1::UnregisterSubscriberRequest const &)

Parameter
NameDescription
request google::cloud::channel::v1::UnregisterSubscriberRequest const &
Returns
TypeDescription
StatusOr< google::cloud::channel::v1::UnregisterSubscriberResponse >

virtual ListSubscribers(google::cloud::channel::v1::ListSubscribersRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListSubscribersRequest
Returns
TypeDescription
StreamRange< std::string >

virtual ListEntitlementChanges(google::cloud::channel::v1::ListEntitlementChangesRequest)

Parameter
NameDescription
request google::cloud::channel::v1::ListEntitlementChangesRequest
Returns
TypeDescription
StreamRange< google::cloud::channel::v1::EntitlementChange >