| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/channel/v1/service.proto |
| 20 |
|
| 21 |
package channelpb |
| 22 |
|
| 23 |
import ( |
| 24 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 25 |
context "context" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 30 |
) |
| 31 |
|
| 32 |
// This is a compile-time assertion to ensure that this generated file |
| 33 |
// is compatible with the grpc package it is being compiled against. |
| 34 |
// Requires gRPC-Go v1.32.0 or later. |
| 35 |
const _ = grpc.SupportPackageIsVersion7 |
| 36 |
|
| 37 |
const ( |
| 38 |
CloudChannelService_ListCustomers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListCustomers" |
| 39 |
CloudChannelService_GetCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetCustomer" |
| 40 |
CloudChannelService_CheckCloudIdentityAccountsExist_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CheckCloudIdentityAccountsExist" |
| 41 |
CloudChannelService_CreateCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateCustomer" |
| 42 |
CloudChannelService_UpdateCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateCustomer" |
| 43 |
CloudChannelService_DeleteCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/DeleteCustomer" |
| 44 |
CloudChannelService_ImportCustomer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ImportCustomer" |
| 45 |
CloudChannelService_ProvisionCloudIdentity_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ProvisionCloudIdentity" |
| 46 |
CloudChannelService_ListEntitlements_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListEntitlements" |
| 47 |
CloudChannelService_ListTransferableSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListTransferableSkus" |
| 48 |
CloudChannelService_ListTransferableOffers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListTransferableOffers" |
| 49 |
CloudChannelService_GetEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetEntitlement" |
| 50 |
CloudChannelService_CreateEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateEntitlement" |
| 51 |
CloudChannelService_ChangeParameters_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ChangeParameters" |
| 52 |
CloudChannelService_ChangeRenewalSettings_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ChangeRenewalSettings" |
| 53 |
CloudChannelService_ChangeOffer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ChangeOffer" |
| 54 |
CloudChannelService_StartPaidService_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/StartPaidService" |
| 55 |
CloudChannelService_SuspendEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/SuspendEntitlement" |
| 56 |
CloudChannelService_CancelEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CancelEntitlement" |
| 57 |
CloudChannelService_ActivateEntitlement_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ActivateEntitlement" |
| 58 |
CloudChannelService_TransferEntitlements_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/TransferEntitlements" |
| 59 |
CloudChannelService_TransferEntitlementsToGoogle_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/TransferEntitlementsToGoogle" |
| 60 |
CloudChannelService_ListChannelPartnerLinks_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListChannelPartnerLinks" |
| 61 |
CloudChannelService_GetChannelPartnerLink_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetChannelPartnerLink" |
| 62 |
CloudChannelService_CreateChannelPartnerLink_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateChannelPartnerLink" |
| 63 |
CloudChannelService_UpdateChannelPartnerLink_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateChannelPartnerLink" |
| 64 |
CloudChannelService_GetCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetCustomerRepricingConfig" |
| 65 |
CloudChannelService_ListCustomerRepricingConfigs_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListCustomerRepricingConfigs" |
| 66 |
CloudChannelService_CreateCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateCustomerRepricingConfig" |
| 67 |
CloudChannelService_UpdateCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateCustomerRepricingConfig" |
| 68 |
CloudChannelService_DeleteCustomerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/DeleteCustomerRepricingConfig" |
| 69 |
CloudChannelService_GetChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/GetChannelPartnerRepricingConfig" |
| 70 |
CloudChannelService_ListChannelPartnerRepricingConfigs_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListChannelPartnerRepricingConfigs" |
| 71 |
CloudChannelService_CreateChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/CreateChannelPartnerRepricingConfig" |
| 72 |
CloudChannelService_UpdateChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UpdateChannelPartnerRepricingConfig" |
| 73 |
CloudChannelService_DeleteChannelPartnerRepricingConfig_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/DeleteChannelPartnerRepricingConfig" |
| 74 |
CloudChannelService_ListSkuGroups_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSkuGroups" |
| 75 |
CloudChannelService_ListSkuGroupBillableSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSkuGroupBillableSkus" |
| 76 |
CloudChannelService_LookupOffer_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/LookupOffer" |
| 77 |
CloudChannelService_ListProducts_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListProducts" |
| 78 |
CloudChannelService_ListSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSkus" |
| 79 |
CloudChannelService_ListOffers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListOffers" |
| 80 |
CloudChannelService_ListPurchasableSkus_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListPurchasableSkus" |
| 81 |
CloudChannelService_ListPurchasableOffers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListPurchasableOffers" |
| 82 |
CloudChannelService_QueryEligibleBillingAccounts_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/QueryEligibleBillingAccounts" |
| 83 |
CloudChannelService_RegisterSubscriber_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/RegisterSubscriber" |
| 84 |
CloudChannelService_UnregisterSubscriber_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/UnregisterSubscriber" |
| 85 |
CloudChannelService_ListSubscribers_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListSubscribers" |
| 86 |
CloudChannelService_ListEntitlementChanges_FullMethodName = "/google.cloud.channel.v1.CloudChannelService/ListEntitlementChanges" |
| 87 |
) |
| 88 |
|
| 89 |
// CloudChannelServiceClient is the client API for CloudChannelService service. |
| 90 |
// |
| 91 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 92 |
type CloudChannelServiceClient interface { |
| 93 |
// List [Customer][google.cloud.channel.v1.Customer]s. |
| 94 |
// |
| 95 |
// Possible error codes: |
| 96 |
// |
| 97 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 98 |
// from the reseller account in the API request. |
| 99 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 100 |
// |
| 101 |
// Return value: |
| 102 |
// List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if |
| 103 |
// there are no customers. |
| 104 |
ListCustomers(ctx context.Context, in *ListCustomersRequest, opts ...grpc.CallOption) (*ListCustomersResponse, error) |
| 105 |
// Returns the requested [Customer][google.cloud.channel.v1.Customer] |
| 106 |
// resource. |
| 107 |
// |
| 108 |
// Possible error codes: |
| 109 |
// |
| 110 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 111 |
// from the reseller account in the API request. |
| 112 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 113 |
// * NOT_FOUND: The customer resource doesn't exist. Usually the result of an |
| 114 |
// invalid name parameter. |
| 115 |
// |
| 116 |
// Return value: |
| 117 |
// The [Customer][google.cloud.channel.v1.Customer] resource. |
| 118 |
GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*Customer, error) |
| 119 |
// Confirms the existence of Cloud Identity accounts based on the domain and |
| 120 |
// if the Cloud Identity accounts are owned by the reseller. |
| 121 |
// |
| 122 |
// Possible error codes: |
| 123 |
// |
| 124 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 125 |
// from the reseller account in the API request. |
| 126 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 127 |
// * INVALID_VALUE: Invalid domain value in the request. |
| 128 |
// |
| 129 |
// Return value: |
| 130 |
// A list of |
| 131 |
// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] |
| 132 |
// resources for the domain (may be empty) |
| 133 |
// |
| 134 |
// Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if |
| 135 |
// no |
| 136 |
// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] |
| 137 |
// resources match the domain. |
| 138 |
CheckCloudIdentityAccountsExist(ctx context.Context, in *CheckCloudIdentityAccountsExistRequest, opts ...grpc.CallOption) (*CheckCloudIdentityAccountsExistResponse, error) |
| 139 |
// Creates a new [Customer][google.cloud.channel.v1.Customer] resource under |
| 140 |
// the reseller or distributor account. |
| 141 |
// |
| 142 |
// Possible error codes: |
| 143 |
// |
| 144 |
// * PERMISSION_DENIED: |
| 145 |
// - The reseller account making the request is different from the |
| 146 |
// reseller account in the API request. |
| 147 |
// - You are not authorized to create a customer. See |
| 148 |
// https://support.google.com/channelservices/answer/9759265 |
| 149 |
// |
| 150 |
// * INVALID_ARGUMENT: |
| 151 |
// - Required request parameters are missing or invalid. |
| 152 |
// - Domain field value doesn't match the primary email domain. |
| 153 |
// |
| 154 |
// Return value: |
| 155 |
// The newly created [Customer][google.cloud.channel.v1.Customer] resource. |
| 156 |
CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*Customer, error) |
| 157 |
// Updates an existing [Customer][google.cloud.channel.v1.Customer] resource |
| 158 |
// for the reseller or distributor. |
| 159 |
// |
| 160 |
// Possible error codes: |
| 161 |
// |
| 162 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 163 |
// from the reseller account in the API request. |
| 164 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 165 |
// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found |
| 166 |
// for the name in the request. |
| 167 |
// |
| 168 |
// Return value: |
| 169 |
// The updated [Customer][google.cloud.channel.v1.Customer] resource. |
| 170 |
UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*Customer, error) |
| 171 |
// Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently. |
| 172 |
// |
| 173 |
// Possible error codes: |
| 174 |
// |
| 175 |
// * PERMISSION_DENIED: The account making the request does not own |
| 176 |
// this customer. |
| 177 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 178 |
// * FAILED_PRECONDITION: The customer has existing entitlements. |
| 179 |
// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found |
| 180 |
// for the name in the request. |
| 181 |
DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 182 |
// Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud |
| 183 |
// Identity associated with the provided Cloud Identity ID or domain before a |
| 184 |
// TransferEntitlements call. If a linked Customer already exists and |
| 185 |
// overwrite_if_exists is true, it will update that Customer's data. |
| 186 |
// |
| 187 |
// Possible error codes: |
| 188 |
// |
| 189 |
// * PERMISSION_DENIED: |
| 190 |
// - The reseller account making the request is different from the |
| 191 |
// reseller account in the API request. |
| 192 |
// - You are not authorized to import the customer. See |
| 193 |
// https://support.google.com/channelservices/answer/9759265 |
| 194 |
// |
| 195 |
// * NOT_FOUND: Cloud Identity doesn't exist or was deleted. |
| 196 |
// * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is |
| 197 |
// expired or invalid. |
| 198 |
// * ALREADY_EXISTS: A customer already exists and has conflicting critical |
| 199 |
// fields. Requires an overwrite. |
| 200 |
// |
| 201 |
// Return value: |
| 202 |
// The [Customer][google.cloud.channel.v1.Customer]. |
| 203 |
ImportCustomer(ctx context.Context, in *ImportCustomerRequest, opts ...grpc.CallOption) (*Customer, error) |
| 204 |
// Creates a Cloud Identity for the given customer using the customer's |
| 205 |
// information, or the information provided here. |
| 206 |
// |
| 207 |
// Possible error codes: |
| 208 |
// |
| 209 |
// * PERMISSION_DENIED: |
| 210 |
// - The customer doesn't belong to the reseller. |
| 211 |
// - You are not authorized to provision cloud identity id. See |
| 212 |
// https://support.google.com/channelservices/answer/9759265 |
| 213 |
// - INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 214 |
// - NOT_FOUND: The customer was not found. |
| 215 |
// - ALREADY_EXISTS: The customer's primary email already exists. Retry |
| 216 |
// after changing the customer's primary contact email. |
| 217 |
// - INTERNAL: Any non-user error related to a technical issue in the |
| 218 |
// |
| 219 |
// backend. Contact Cloud Channel support. |
| 220 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 221 |
// Contact Cloud Channel support. |
| 222 |
// |
| 223 |
// Return value: |
| 224 |
// The ID of a long-running operation. |
| 225 |
// |
| 226 |
// To get the results of the operation, call the GetOperation method of |
| 227 |
// CloudChannelOperationsService. The Operation metadata contains an |
| 228 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 229 |
ProvisionCloudIdentity(ctx context.Context, in *ProvisionCloudIdentityRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 230 |
// Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a |
| 231 |
// customer. |
| 232 |
// |
| 233 |
// Possible error codes: |
| 234 |
// |
| 235 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 236 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 237 |
// |
| 238 |
// Return value: |
| 239 |
// A list of the customer's |
| 240 |
// [Entitlement][google.cloud.channel.v1.Entitlement]s. |
| 241 |
ListEntitlements(ctx context.Context, in *ListEntitlementsRequest, opts ...grpc.CallOption) (*ListEntitlementsResponse, error) |
| 242 |
// List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a |
| 243 |
// customer based on the Cloud Identity ID or Customer Name in the request. |
| 244 |
// |
| 245 |
// Use this method to list the entitlements information of an |
| 246 |
// unowned customer. You should provide the customer's |
| 247 |
// Cloud Identity ID or Customer Name. |
| 248 |
// |
| 249 |
// Possible error codes: |
| 250 |
// |
| 251 |
// * PERMISSION_DENIED: |
| 252 |
// - The customer doesn't belong to the reseller and has no auth token. |
| 253 |
// - The supplied auth token is invalid. |
| 254 |
// - The reseller account making the request is different |
| 255 |
// from the reseller account in the query. |
| 256 |
// |
| 257 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 258 |
// |
| 259 |
// Return value: |
| 260 |
// A list of the customer's |
| 261 |
// [TransferableSku][google.cloud.channel.v1.TransferableSku]. |
| 262 |
ListTransferableSkus(ctx context.Context, in *ListTransferableSkusRequest, opts ...grpc.CallOption) (*ListTransferableSkusResponse, error) |
| 263 |
// List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a |
| 264 |
// customer based on Cloud Identity ID or Customer Name in the request. |
| 265 |
// |
| 266 |
// Use this method when a reseller gets the entitlement information of an |
| 267 |
// unowned customer. The reseller should provide the customer's |
| 268 |
// Cloud Identity ID or Customer Name. |
| 269 |
// |
| 270 |
// Possible error codes: |
| 271 |
// |
| 272 |
// * PERMISSION_DENIED: |
| 273 |
// - The customer doesn't belong to the reseller and has no auth token. |
| 274 |
// - The customer provided incorrect reseller information when generating |
| 275 |
// auth token. |
| 276 |
// - The reseller account making the request is different |
| 277 |
// from the reseller account in the query. |
| 278 |
// - The reseller is not authorized to transact on this Product. See |
| 279 |
// https://support.google.com/channelservices/answer/9759265 |
| 280 |
// |
| 281 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 282 |
// |
| 283 |
// Return value: |
| 284 |
// List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for |
| 285 |
// the given customer and SKU. |
| 286 |
ListTransferableOffers(ctx context.Context, in *ListTransferableOffersRequest, opts ...grpc.CallOption) (*ListTransferableOffersResponse, error) |
| 287 |
// Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] |
| 288 |
// resource. |
| 289 |
// |
| 290 |
// Possible error codes: |
| 291 |
// |
| 292 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 293 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 294 |
// * NOT_FOUND: The customer entitlement was not found. |
| 295 |
// |
| 296 |
// Return value: |
| 297 |
// The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. |
| 298 |
GetEntitlement(ctx context.Context, in *GetEntitlementRequest, opts ...grpc.CallOption) (*Entitlement, error) |
| 299 |
// Creates an entitlement for a customer. |
| 300 |
// |
| 301 |
// Possible error codes: |
| 302 |
// |
| 303 |
// * PERMISSION_DENIED: |
| 304 |
// - The customer doesn't belong to the reseller. |
| 305 |
// - The reseller is not authorized to transact on this Product. See |
| 306 |
// https://support.google.com/channelservices/answer/9759265 |
| 307 |
// |
| 308 |
// * INVALID_ARGUMENT: |
| 309 |
// - Required request parameters are missing or invalid. |
| 310 |
// - There is already a customer entitlement for a SKU from the same |
| 311 |
// product family. |
| 312 |
// |
| 313 |
// * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact |
| 314 |
// Google Channel support for further troubleshooting. |
| 315 |
// * NOT_FOUND: The customer or offer resource was not found. |
| 316 |
// * ALREADY_EXISTS: |
| 317 |
// - The SKU was already purchased for the customer. |
| 318 |
// - The customer's primary email already exists. Retry |
| 319 |
// after changing the customer's primary contact email. |
| 320 |
// |
| 321 |
// * CONDITION_NOT_MET or FAILED_PRECONDITION: |
| 322 |
// - The domain required for purchasing a SKU has not been verified. |
| 323 |
// - A pre-requisite SKU required to purchase an Add-On SKU is missing. |
| 324 |
// For example, Google Workspace Business Starter is required to purchase |
| 325 |
// Vault or Drive. |
| 326 |
// - (Developer accounts only) Reseller and resold domain must meet the |
| 327 |
// following naming requirements: |
| 328 |
// - Domain names must start with goog-test. |
| 329 |
// - Domain names must include the reseller domain. |
| 330 |
// |
| 331 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 332 |
// backend. Contact Cloud Channel support. |
| 333 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 334 |
// Contact Cloud Channel support. |
| 335 |
// |
| 336 |
// Return value: |
| 337 |
// The ID of a long-running operation. |
| 338 |
// |
| 339 |
// To get the results of the operation, call the GetOperation method of |
| 340 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 341 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 342 |
CreateEntitlement(ctx context.Context, in *CreateEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 343 |
// Change parameters of the entitlement. |
| 344 |
// |
| 345 |
// An entitlement update is a long-running operation and it updates the |
| 346 |
// entitlement as a result of fulfillment. |
| 347 |
// |
| 348 |
// Possible error codes: |
| 349 |
// |
| 350 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 351 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 352 |
// For example, the number of seats being changed is greater than the allowed |
| 353 |
// number of max seats, or decreasing seats for a commitment based plan. |
| 354 |
// * NOT_FOUND: Entitlement resource not found. |
| 355 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 356 |
// backend. Contact Cloud Channel support. |
| 357 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 358 |
// Contact Cloud Channel support. |
| 359 |
// |
| 360 |
// Return value: |
| 361 |
// The ID of a long-running operation. |
| 362 |
// |
| 363 |
// To get the results of the operation, call the GetOperation method of |
| 364 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 365 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 366 |
ChangeParameters(ctx context.Context, in *ChangeParametersRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 367 |
// Updates the renewal settings for an existing customer entitlement. |
| 368 |
// |
| 369 |
// An entitlement update is a long-running operation and it updates the |
| 370 |
// entitlement as a result of fulfillment. |
| 371 |
// |
| 372 |
// Possible error codes: |
| 373 |
// |
| 374 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 375 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 376 |
// * NOT_FOUND: Entitlement resource not found. |
| 377 |
// * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a |
| 378 |
// commitment plan. Can't enable or disable renewals for non-commitment plans. |
| 379 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 380 |
// backend. Contact Cloud Channel support. |
| 381 |
// - UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 382 |
// Contact Cloud Channel support. |
| 383 |
// |
| 384 |
// Return value: |
| 385 |
// The ID of a long-running operation. |
| 386 |
// |
| 387 |
// To get the results of the operation, call the GetOperation method of |
| 388 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 389 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 390 |
ChangeRenewalSettings(ctx context.Context, in *ChangeRenewalSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 391 |
// Updates the Offer for an existing customer entitlement. |
| 392 |
// |
| 393 |
// An entitlement update is a long-running operation and it updates the |
| 394 |
// entitlement as a result of fulfillment. |
| 395 |
// |
| 396 |
// Possible error codes: |
| 397 |
// |
| 398 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 399 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 400 |
// * NOT_FOUND: Offer or Entitlement resource not found. |
| 401 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 402 |
// backend. Contact Cloud Channel support. |
| 403 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 404 |
// Contact Cloud Channel support. |
| 405 |
// |
| 406 |
// Return value: |
| 407 |
// The ID of a long-running operation. |
| 408 |
// |
| 409 |
// To get the results of the operation, call the GetOperation method of |
| 410 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 411 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 412 |
ChangeOffer(ctx context.Context, in *ChangeOfferRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 413 |
// Starts paid service for a trial entitlement. |
| 414 |
// |
| 415 |
// Starts paid service for a trial entitlement immediately. This method is |
| 416 |
// only applicable if a plan is set up for a trial entitlement but has some |
| 417 |
// trial days remaining. |
| 418 |
// |
| 419 |
// Possible error codes: |
| 420 |
// |
| 421 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 422 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 423 |
// * NOT_FOUND: Entitlement resource not found. |
| 424 |
// * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for |
| 425 |
// entitlement on trial plans. |
| 426 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 427 |
// backend. Contact Cloud Channel support. |
| 428 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 429 |
// Contact Cloud Channel support. |
| 430 |
// |
| 431 |
// Return value: |
| 432 |
// The ID of a long-running operation. |
| 433 |
// |
| 434 |
// To get the results of the operation, call the GetOperation method of |
| 435 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 436 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 437 |
StartPaidService(ctx context.Context, in *StartPaidServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 438 |
// Suspends a previously fulfilled entitlement. |
| 439 |
// |
| 440 |
// An entitlement suspension is a long-running operation. |
| 441 |
// |
| 442 |
// Possible error codes: |
| 443 |
// |
| 444 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 445 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 446 |
// * NOT_FOUND: Entitlement resource not found. |
| 447 |
// * NOT_ACTIVE: Entitlement is not active. |
| 448 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 449 |
// backend. Contact Cloud Channel support. |
| 450 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 451 |
// Contact Cloud Channel support. |
| 452 |
// |
| 453 |
// Return value: |
| 454 |
// The ID of a long-running operation. |
| 455 |
// |
| 456 |
// To get the results of the operation, call the GetOperation method of |
| 457 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 458 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 459 |
SuspendEntitlement(ctx context.Context, in *SuspendEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 460 |
// Cancels a previously fulfilled entitlement. |
| 461 |
// |
| 462 |
// An entitlement cancellation is a long-running operation. |
| 463 |
// |
| 464 |
// Possible error codes: |
| 465 |
// |
| 466 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 467 |
// from the reseller account in the API request. |
| 468 |
// * FAILED_PRECONDITION: There are Google Cloud projects linked to the |
| 469 |
// Google Cloud entitlement's Cloud Billing subaccount. |
| 470 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 471 |
// * NOT_FOUND: Entitlement resource not found. |
| 472 |
// * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace |
| 473 |
// add-ons, or entitlements for Google Cloud's development platform. |
| 474 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 475 |
// backend. Contact Cloud Channel support. |
| 476 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 477 |
// Contact Cloud Channel support. |
| 478 |
// |
| 479 |
// Return value: |
| 480 |
// The ID of a long-running operation. |
| 481 |
// |
| 482 |
// To get the results of the operation, call the GetOperation method of |
| 483 |
// CloudChannelOperationsService. The response will contain |
| 484 |
// google.protobuf.Empty on success. The Operation metadata will contain an |
| 485 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 486 |
CancelEntitlement(ctx context.Context, in *CancelEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 487 |
// Activates a previously suspended entitlement. Entitlements suspended for |
| 488 |
// pending ToS acceptance can't be activated using this method. |
| 489 |
// |
| 490 |
// An entitlement activation is a long-running operation and it updates |
| 491 |
// the state of the customer entitlement. |
| 492 |
// |
| 493 |
// Possible error codes: |
| 494 |
// |
| 495 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 496 |
// from the reseller account in the API request. |
| 497 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 498 |
// * NOT_FOUND: Entitlement resource not found. |
| 499 |
// * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated |
| 500 |
// suspensions and entitlements that have accepted the TOS. |
| 501 |
// * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE |
| 502 |
// state. |
| 503 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 504 |
// backend. Contact Cloud Channel support. |
| 505 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 506 |
// Contact Cloud Channel support. |
| 507 |
// |
| 508 |
// Return value: |
| 509 |
// The ID of a long-running operation. |
| 510 |
// |
| 511 |
// To get the results of the operation, call the GetOperation method of |
| 512 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 513 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 514 |
ActivateEntitlement(ctx context.Context, in *ActivateEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 515 |
// Transfers customer entitlements to new reseller. |
| 516 |
// |
| 517 |
// Possible error codes: |
| 518 |
// |
| 519 |
// * PERMISSION_DENIED: |
| 520 |
// - The customer doesn't belong to the reseller. |
| 521 |
// - The reseller is not authorized to transact on this Product. See |
| 522 |
// https://support.google.com/channelservices/answer/9759265 |
| 523 |
// |
| 524 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 525 |
// * NOT_FOUND: The customer or offer resource was not found. |
| 526 |
// * ALREADY_EXISTS: The SKU was already transferred for the customer. |
| 527 |
// * CONDITION_NOT_MET or FAILED_PRECONDITION: |
| 528 |
// - The SKU requires domain verification to transfer, but the domain is |
| 529 |
// not verified. |
| 530 |
// - An Add-On SKU (example, Vault or Drive) is missing the |
| 531 |
// pre-requisite SKU (example, G Suite Basic). |
| 532 |
// - (Developer accounts only) Reseller and resold domain must meet the |
| 533 |
// following naming requirements: |
| 534 |
// - Domain names must start with goog-test. |
| 535 |
// - Domain names must include the reseller domain. |
| 536 |
// - Specify all transferring entitlements. |
| 537 |
// |
| 538 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 539 |
// backend. Contact Cloud Channel support. |
| 540 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 541 |
// Contact Cloud Channel support. |
| 542 |
// |
| 543 |
// Return value: |
| 544 |
// The ID of a long-running operation. |
| 545 |
// |
| 546 |
// To get the results of the operation, call the GetOperation method of |
| 547 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 548 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 549 |
TransferEntitlements(ctx context.Context, in *TransferEntitlementsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 550 |
// Transfers customer entitlements from their current reseller to Google. |
| 551 |
// |
| 552 |
// Possible error codes: |
| 553 |
// |
| 554 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 555 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 556 |
// * NOT_FOUND: The customer or offer resource was not found. |
| 557 |
// * ALREADY_EXISTS: The SKU was already transferred for the customer. |
| 558 |
// * CONDITION_NOT_MET or FAILED_PRECONDITION: |
| 559 |
// - The SKU requires domain verification to transfer, but the domain is |
| 560 |
// not verified. |
| 561 |
// - An Add-On SKU (example, Vault or Drive) is missing the |
| 562 |
// pre-requisite SKU (example, G Suite Basic). |
| 563 |
// - (Developer accounts only) Reseller and resold domain must meet the |
| 564 |
// following naming requirements: |
| 565 |
// - Domain names must start with goog-test. |
| 566 |
// - Domain names must include the reseller domain. |
| 567 |
// |
| 568 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 569 |
// backend. Contact Cloud Channel support. |
| 570 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 571 |
// Contact Cloud Channel support. |
| 572 |
// |
| 573 |
// Return value: |
| 574 |
// The ID of a long-running operation. |
| 575 |
// |
| 576 |
// To get the results of the operation, call the GetOperation method of |
| 577 |
// CloudChannelOperationsService. The response will contain |
| 578 |
// google.protobuf.Empty on success. The Operation metadata will contain an |
| 579 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 580 |
TransferEntitlementsToGoogle(ctx context.Context, in *TransferEntitlementsToGoogleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 581 |
// List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s |
| 582 |
// belonging to a distributor. You must be a distributor to call this method. |
| 583 |
// |
| 584 |
// Possible error codes: |
| 585 |
// |
| 586 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 587 |
// from the reseller account in the API request. |
| 588 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 589 |
// |
| 590 |
// Return value: |
| 591 |
// The list of the distributor account's |
| 592 |
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources. |
| 593 |
ListChannelPartnerLinks(ctx context.Context, in *ListChannelPartnerLinksRequest, opts ...grpc.CallOption) (*ListChannelPartnerLinksResponse, error) |
| 594 |
// Returns the requested |
| 595 |
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. |
| 596 |
// You must be a distributor to call this method. |
| 597 |
// |
| 598 |
// Possible error codes: |
| 599 |
// |
| 600 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 601 |
// from the reseller account in the API request. |
| 602 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 603 |
// * NOT_FOUND: ChannelPartnerLink resource not found because of an |
| 604 |
// invalid channel partner link name. |
| 605 |
// |
| 606 |
// Return value: |
| 607 |
// The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] |
| 608 |
// resource. |
| 609 |
GetChannelPartnerLink(ctx context.Context, in *GetChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) |
| 610 |
// Initiates a channel partner link between a distributor and a reseller, or |
| 611 |
// between resellers in an n-tier reseller channel. |
| 612 |
// Invited partners need to follow the invite_link_uri provided in the |
| 613 |
// response to accept. After accepting the invitation, a link is set up |
| 614 |
// between the two parties. |
| 615 |
// You must be a distributor to call this method. |
| 616 |
// |
| 617 |
// Possible error codes: |
| 618 |
// |
| 619 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 620 |
// from the reseller account in the API request. |
| 621 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 622 |
// * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already |
| 623 |
// exists. |
| 624 |
// * NOT_FOUND: No Cloud Identity customer exists for provided domain. |
| 625 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 626 |
// backend. Contact Cloud Channel support. |
| 627 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 628 |
// Contact Cloud Channel support. |
| 629 |
// |
| 630 |
// Return value: |
| 631 |
// The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] |
| 632 |
// resource. |
| 633 |
CreateChannelPartnerLink(ctx context.Context, in *CreateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) |
| 634 |
// Updates a channel partner link. Distributors call this method to change a |
| 635 |
// link's status. For example, to suspend a partner link. |
| 636 |
// You must be a distributor to call this method. |
| 637 |
// |
| 638 |
// Possible error codes: |
| 639 |
// |
| 640 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 641 |
// from the reseller account in the API request. |
| 642 |
// * INVALID_ARGUMENT: |
| 643 |
// - Required request parameters are missing or invalid. |
| 644 |
// - Link state cannot change from invited to active or suspended. |
| 645 |
// - Cannot send reseller_cloud_identity_id, invite_url, or name in update |
| 646 |
// mask. |
| 647 |
// |
| 648 |
// * NOT_FOUND: ChannelPartnerLink resource not found. |
| 649 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 650 |
// backend. Contact Cloud Channel support. |
| 651 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 652 |
// Contact Cloud Channel support. |
| 653 |
// |
| 654 |
// Return value: |
| 655 |
// The updated |
| 656 |
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. |
| 657 |
UpdateChannelPartnerLink(ctx context.Context, in *UpdateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) |
| 658 |
// Gets information about how a Reseller modifies their bill before sending |
| 659 |
// it to a Customer. |
| 660 |
// |
| 661 |
// Possible Error Codes: |
| 662 |
// |
| 663 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 664 |
// being queried are different. |
| 665 |
// * NOT_FOUND: The |
| 666 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 667 |
// was not found. |
| 668 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 669 |
// backend. In this case, contact Cloud Channel support. |
| 670 |
// |
| 671 |
// Return Value: |
| 672 |
// If successful, the |
| 673 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 674 |
// resource, otherwise returns an error. |
| 675 |
GetCustomerRepricingConfig(ctx context.Context, in *GetCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error) |
| 676 |
// Lists information about how a Reseller modifies their bill before sending |
| 677 |
// it to a Customer. |
| 678 |
// |
| 679 |
// Possible Error Codes: |
| 680 |
// |
| 681 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 682 |
// being queried are different. |
| 683 |
// * NOT_FOUND: The |
| 684 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 685 |
// specified does not exist or is not associated with the given account. |
| 686 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 687 |
// backend. In this case, contact Cloud Channel support. |
| 688 |
// |
| 689 |
// Return Value: |
| 690 |
// If successful, the |
| 691 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 692 |
// resources. The data for each resource is displayed in the ascending order |
| 693 |
// of: |
| 694 |
// |
| 695 |
// * Customer ID |
| 696 |
// * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement] |
| 697 |
// * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 698 |
// * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time] |
| 699 |
// |
| 700 |
// If unsuccessful, returns an error. |
| 701 |
ListCustomerRepricingConfigs(ctx context.Context, in *ListCustomerRepricingConfigsRequest, opts ...grpc.CallOption) (*ListCustomerRepricingConfigsResponse, error) |
| 702 |
// Creates a CustomerRepricingConfig. Call this method to set modifications |
| 703 |
// for a specific customer's bill. You can only create configs if the |
| 704 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 705 |
// is a future month. If needed, you can create a config for the current |
| 706 |
// month, with some restrictions. |
| 707 |
// |
| 708 |
// When creating a config for a future month, make sure there are no existing |
| 709 |
// configs for that |
| 710 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 711 |
// |
| 712 |
// The following restrictions are for creating configs in the current month. |
| 713 |
// |
| 714 |
// * This functionality is reserved for recovering from an erroneous config, |
| 715 |
// and should not be used for regular business cases. |
| 716 |
// * The new config will not modify exports used with other configs. |
| 717 |
// Changes to the config may be immediate, but may take up to 24 hours. |
| 718 |
// * There is a limit of ten configs for any |
| 719 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement], |
| 720 |
// for any |
| 721 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 722 |
// * The contained |
| 723 |
// [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] |
| 724 |
// value must be different from the value used in the current config for a |
| 725 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. |
| 726 |
// |
| 727 |
// Possible Error Codes: |
| 728 |
// |
| 729 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 730 |
// being queried are different. |
| 731 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 732 |
// request. Also displays if the updated config is for the current month or |
| 733 |
// past months. |
| 734 |
// * NOT_FOUND: The |
| 735 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 736 |
// specified does not exist or is not associated with the given account. |
| 737 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 738 |
// backend. In this case, contact Cloud Channel support. |
| 739 |
// |
| 740 |
// Return Value: |
| 741 |
// If successful, the updated |
| 742 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 743 |
// resource, otherwise returns an error. |
| 744 |
CreateCustomerRepricingConfig(ctx context.Context, in *CreateCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error) |
| 745 |
// Updates a CustomerRepricingConfig. Call this method to set modifications |
| 746 |
// for a specific customer's bill. This method overwrites the existing |
| 747 |
// CustomerRepricingConfig. |
| 748 |
// |
| 749 |
// You can only update configs if the |
| 750 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 751 |
// is a future month. To make changes to configs for the current month, use |
| 752 |
// [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], |
| 753 |
// taking note of its restrictions. You cannot update the |
| 754 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 755 |
// |
| 756 |
// When updating a config in the future: |
| 757 |
// |
| 758 |
// * This config must already exist. |
| 759 |
// |
| 760 |
// Possible Error Codes: |
| 761 |
// |
| 762 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 763 |
// being queried are different. |
| 764 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 765 |
// request. Also displays if the updated config is for the current month or |
| 766 |
// past months. |
| 767 |
// * NOT_FOUND: The |
| 768 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 769 |
// specified does not exist or is not associated with the given account. |
| 770 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 771 |
// backend. In this case, contact Cloud Channel support. |
| 772 |
// |
| 773 |
// Return Value: |
| 774 |
// If successful, the updated |
| 775 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 776 |
// resource, otherwise returns an error. |
| 777 |
UpdateCustomerRepricingConfig(ctx context.Context, in *UpdateCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error) |
| 778 |
// Deletes the given |
| 779 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 780 |
// permanently. You can only delete configs if their |
| 781 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 782 |
// is set to a date after the current month. |
| 783 |
// |
| 784 |
// Possible error codes: |
| 785 |
// |
| 786 |
// * PERMISSION_DENIED: The account making the request does not own |
| 787 |
// this customer. |
| 788 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 789 |
// * FAILED_PRECONDITION: The |
| 790 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 791 |
// is active or in the past. |
| 792 |
// * NOT_FOUND: No |
| 793 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 794 |
// found for the name in the request. |
| 795 |
DeleteCustomerRepricingConfig(ctx context.Context, in *DeleteCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 796 |
// Gets information about how a Distributor modifies their bill before sending |
| 797 |
// it to a ChannelPartner. |
| 798 |
// |
| 799 |
// Possible Error Codes: |
| 800 |
// |
| 801 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 802 |
// being queried are different. |
| 803 |
// * NOT_FOUND: The |
| 804 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 805 |
// was not found. |
| 806 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 807 |
// backend. In this case, contact Cloud Channel support. |
| 808 |
// |
| 809 |
// Return Value: |
| 810 |
// If successful, the |
| 811 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 812 |
// resource, otherwise returns an error. |
| 813 |
GetChannelPartnerRepricingConfig(ctx context.Context, in *GetChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error) |
| 814 |
// Lists information about how a Reseller modifies their bill before sending |
| 815 |
// it to a ChannelPartner. |
| 816 |
// |
| 817 |
// Possible Error Codes: |
| 818 |
// |
| 819 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 820 |
// being queried are different. |
| 821 |
// * NOT_FOUND: The |
| 822 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 823 |
// specified does not exist or is not associated with the given account. |
| 824 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 825 |
// backend. In this case, contact Cloud Channel support. |
| 826 |
// |
| 827 |
// Return Value: |
| 828 |
// If successful, the |
| 829 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 830 |
// resources. The data for each resource is displayed in the ascending order |
| 831 |
// of: |
| 832 |
// |
| 833 |
// * Channel Partner ID |
| 834 |
// * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 835 |
// * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time] |
| 836 |
// |
| 837 |
// If unsuccessful, returns an error. |
| 838 |
ListChannelPartnerRepricingConfigs(ctx context.Context, in *ListChannelPartnerRepricingConfigsRequest, opts ...grpc.CallOption) (*ListChannelPartnerRepricingConfigsResponse, error) |
| 839 |
// Creates a ChannelPartnerRepricingConfig. Call this method to set |
| 840 |
// modifications for a specific ChannelPartner's bill. You can only create |
| 841 |
// configs if the |
| 842 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 843 |
// is a future month. If needed, you can create a config for the current |
| 844 |
// month, with some restrictions. |
| 845 |
// |
| 846 |
// When creating a config for a future month, make sure there are no existing |
| 847 |
// configs for that |
| 848 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 849 |
// |
| 850 |
// The following restrictions are for creating configs in the current month. |
| 851 |
// |
| 852 |
// * This functionality is reserved for recovering from an erroneous config, |
| 853 |
// and should not be used for regular business cases. |
| 854 |
// * The new config will not modify exports used with other configs. |
| 855 |
// Changes to the config may be immediate, but may take up to 24 hours. |
| 856 |
// * There is a limit of ten configs for any ChannelPartner or |
| 857 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement], |
| 858 |
// for any |
| 859 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 860 |
// * The contained |
| 861 |
// [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] |
| 862 |
// value must be different from the value used in the current config for a |
| 863 |
// ChannelPartner. |
| 864 |
// |
| 865 |
// Possible Error Codes: |
| 866 |
// |
| 867 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 868 |
// being queried are different. |
| 869 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 870 |
// request. Also displays if the updated config is for the current month or |
| 871 |
// past months. |
| 872 |
// * NOT_FOUND: The |
| 873 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 874 |
// specified does not exist or is not associated with the given account. |
| 875 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 876 |
// backend. In this case, contact Cloud Channel support. |
| 877 |
// |
| 878 |
// Return Value: |
| 879 |
// If successful, the updated |
| 880 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 881 |
// resource, otherwise returns an error. |
| 882 |
CreateChannelPartnerRepricingConfig(ctx context.Context, in *CreateChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error) |
| 883 |
// Updates a ChannelPartnerRepricingConfig. Call this method to set |
| 884 |
// modifications for a specific ChannelPartner's bill. This method overwrites |
| 885 |
// the existing CustomerRepricingConfig. |
| 886 |
// |
| 887 |
// You can only update configs if the |
| 888 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 889 |
// is a future month. To make changes to configs for the current month, use |
| 890 |
// [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], |
| 891 |
// taking note of its restrictions. You cannot update the |
| 892 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 893 |
// |
| 894 |
// When updating a config in the future: |
| 895 |
// |
| 896 |
// * This config must already exist. |
| 897 |
// |
| 898 |
// Possible Error Codes: |
| 899 |
// |
| 900 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 901 |
// being queried are different. |
| 902 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 903 |
// request. Also displays if the updated config is for the current month or |
| 904 |
// past months. |
| 905 |
// * NOT_FOUND: The |
| 906 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 907 |
// specified does not exist or is not associated with the given account. |
| 908 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 909 |
// backend. In this case, contact Cloud Channel support. |
| 910 |
// |
| 911 |
// Return Value: |
| 912 |
// If successful, the updated |
| 913 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 914 |
// resource, otherwise returns an error. |
| 915 |
UpdateChannelPartnerRepricingConfig(ctx context.Context, in *UpdateChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error) |
| 916 |
// Deletes the given |
| 917 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 918 |
// permanently. You can only delete configs if their |
| 919 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 920 |
// is set to a date after the current month. |
| 921 |
// |
| 922 |
// Possible error codes: |
| 923 |
// |
| 924 |
// * PERMISSION_DENIED: The account making the request does not own |
| 925 |
// this customer. |
| 926 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 927 |
// * FAILED_PRECONDITION: The |
| 928 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 929 |
// is active or in the past. |
| 930 |
// * NOT_FOUND: No |
| 931 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 932 |
// found for the name in the request. |
| 933 |
DeleteChannelPartnerRepricingConfig(ctx context.Context, in *DeleteChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 934 |
// Lists the Rebilling supported SKU groups the account is authorized to |
| 935 |
// sell. |
| 936 |
// Reference: https://cloud.google.com/skus/sku-groups |
| 937 |
// |
| 938 |
// Possible Error Codes: |
| 939 |
// |
| 940 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 941 |
// being queried are different, or the account doesn't exist. |
| 942 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 943 |
// backend. In this case, contact Cloud Channel support. |
| 944 |
// |
| 945 |
// Return Value: |
| 946 |
// If successful, the [SkuGroup][google.cloud.channel.v1.SkuGroup] resources. |
| 947 |
// The data for each resource is displayed in the alphabetical order of SKU |
| 948 |
// group display name. |
| 949 |
// The data for each resource is displayed in the ascending order of |
| 950 |
// [SkuGroup.display_name][google.cloud.channel.v1.SkuGroup.display_name] |
| 951 |
// |
| 952 |
// If unsuccessful, returns an error. |
| 953 |
ListSkuGroups(ctx context.Context, in *ListSkuGroupsRequest, opts ...grpc.CallOption) (*ListSkuGroupsResponse, error) |
| 954 |
// Lists the Billable SKUs in a given SKU group. |
| 955 |
// |
| 956 |
// Possible error codes: |
| 957 |
// PERMISSION_DENIED: If the account making the request and the account |
| 958 |
// being queried for are different, or the account doesn't exist. |
| 959 |
// INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 960 |
// request. |
| 961 |
// INTERNAL: Any non-user error related to technical issue in the |
| 962 |
// backend. In this case, contact cloud channel support. |
| 963 |
// |
| 964 |
// Return Value: |
| 965 |
// If successful, the [BillableSku][google.cloud.channel.v1.BillableSku] |
| 966 |
// resources. The data for each resource is displayed in the ascending order |
| 967 |
// of: |
| 968 |
// |
| 969 |
// * [BillableSku.service_display_name][google.cloud.channel.v1.BillableSku.service_display_name] |
| 970 |
// * [BillableSku.sku_display_name][google.cloud.channel.v1.BillableSku.sku_display_name] |
| 971 |
// |
| 972 |
// If unsuccessful, returns an error. |
| 973 |
ListSkuGroupBillableSkus(ctx context.Context, in *ListSkuGroupBillableSkusRequest, opts ...grpc.CallOption) (*ListSkuGroupBillableSkusResponse, error) |
| 974 |
// Returns the requested [Offer][google.cloud.channel.v1.Offer] resource. |
| 975 |
// |
| 976 |
// Possible error codes: |
| 977 |
// |
| 978 |
// * PERMISSION_DENIED: The entitlement doesn't belong to the reseller. |
| 979 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 980 |
// * NOT_FOUND: Entitlement or offer was not found. |
| 981 |
// |
| 982 |
// Return value: |
| 983 |
// The [Offer][google.cloud.channel.v1.Offer] resource. |
| 984 |
LookupOffer(ctx context.Context, in *LookupOfferRequest, opts ...grpc.CallOption) (*Offer, error) |
| 985 |
// Lists the Products the reseller is authorized to sell. |
| 986 |
// |
| 987 |
// Possible error codes: |
| 988 |
// |
| 989 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 990 |
ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) |
| 991 |
// Lists the SKUs for a product the reseller is authorized to sell. |
| 992 |
// |
| 993 |
// Possible error codes: |
| 994 |
// |
| 995 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 996 |
ListSkus(ctx context.Context, in *ListSkusRequest, opts ...grpc.CallOption) (*ListSkusResponse, error) |
| 997 |
// Lists the Offers the reseller can sell. |
| 998 |
// |
| 999 |
// Possible error codes: |
| 1000 |
// |
| 1001 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1002 |
ListOffers(ctx context.Context, in *ListOffersRequest, opts ...grpc.CallOption) (*ListOffersResponse, error) |
| 1003 |
// Lists the following: |
| 1004 |
// |
| 1005 |
// * SKUs that you can purchase for a customer |
| 1006 |
// * SKUs that you can upgrade or downgrade for an entitlement. |
| 1007 |
// |
| 1008 |
// Possible error codes: |
| 1009 |
// |
| 1010 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1011 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1012 |
ListPurchasableSkus(ctx context.Context, in *ListPurchasableSkusRequest, opts ...grpc.CallOption) (*ListPurchasableSkusResponse, error) |
| 1013 |
// Lists the following: |
| 1014 |
// |
| 1015 |
// * Offers that you can purchase for a customer. |
| 1016 |
// * Offers that you can change for an entitlement. |
| 1017 |
// |
| 1018 |
// Possible error codes: |
| 1019 |
// |
| 1020 |
// * PERMISSION_DENIED: |
| 1021 |
// - The customer doesn't belong to the reseller |
| 1022 |
// - The reseller is not authorized to transact on this Product. See |
| 1023 |
// https://support.google.com/channelservices/answer/9759265 |
| 1024 |
// |
| 1025 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1026 |
ListPurchasableOffers(ctx context.Context, in *ListPurchasableOffersRequest, opts ...grpc.CallOption) (*ListPurchasableOffersResponse, error) |
| 1027 |
// Lists the billing accounts that are eligible to purchase particular SKUs |
| 1028 |
// for a given customer. |
| 1029 |
// |
| 1030 |
// Possible error codes: |
| 1031 |
// |
| 1032 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1033 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1034 |
// |
| 1035 |
// Return value: |
| 1036 |
// Based on the provided list of SKUs, returns a list of SKU groups that must |
| 1037 |
// be purchased using the same billing account and the billing accounts |
| 1038 |
// eligible to purchase each SKU group. |
| 1039 |
QueryEligibleBillingAccounts(ctx context.Context, in *QueryEligibleBillingAccountsRequest, opts ...grpc.CallOption) (*QueryEligibleBillingAccountsResponse, error) |
| 1040 |
// Registers a service account with subscriber privileges on the Cloud Pub/Sub |
| 1041 |
// topic for this Channel Services account. After you create a |
| 1042 |
// subscriber, you get the events through |
| 1043 |
// [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent] |
| 1044 |
// |
| 1045 |
// Possible error codes: |
| 1046 |
// |
| 1047 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 1048 |
// provided reseller account are different, or the impersonated user |
| 1049 |
// is not a super admin. |
| 1050 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1051 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1052 |
// backend. Contact Cloud Channel support. |
| 1053 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1054 |
// Contact Cloud Channel support. |
| 1055 |
// |
| 1056 |
// Return value: |
| 1057 |
// The topic name with the registered service email address. |
| 1058 |
RegisterSubscriber(ctx context.Context, in *RegisterSubscriberRequest, opts ...grpc.CallOption) (*RegisterSubscriberResponse, error) |
| 1059 |
// Unregisters a service account with subscriber privileges on the Cloud |
| 1060 |
// Pub/Sub topic created for this Channel Services account. If there are no |
| 1061 |
// service accounts left with subscriber privileges, this deletes the topic. |
| 1062 |
// You can call ListSubscribers to check for these accounts. |
| 1063 |
// |
| 1064 |
// Possible error codes: |
| 1065 |
// |
| 1066 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 1067 |
// provided reseller account are different, or the impersonated user |
| 1068 |
// is not a super admin. |
| 1069 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1070 |
// * NOT_FOUND: The topic resource doesn't exist. |
| 1071 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1072 |
// backend. Contact Cloud Channel support. |
| 1073 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1074 |
// Contact Cloud Channel support. |
| 1075 |
// |
| 1076 |
// Return value: |
| 1077 |
// The topic name that unregistered the service email address. |
| 1078 |
// Returns a success response if the service email address wasn't registered |
| 1079 |
// with the topic. |
| 1080 |
UnregisterSubscriber(ctx context.Context, in *UnregisterSubscriberRequest, opts ...grpc.CallOption) (*UnregisterSubscriberResponse, error) |
| 1081 |
// Lists service accounts with subscriber privileges on the Cloud Pub/Sub |
| 1082 |
// topic created for this Channel Services account. |
| 1083 |
// |
| 1084 |
// Possible error codes: |
| 1085 |
// |
| 1086 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 1087 |
// provided reseller account are different, or the impersonated user |
| 1088 |
// is not a super admin. |
| 1089 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1090 |
// * NOT_FOUND: The topic resource doesn't exist. |
| 1091 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1092 |
// backend. Contact Cloud Channel support. |
| 1093 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1094 |
// Contact Cloud Channel support. |
| 1095 |
// |
| 1096 |
// Return value: |
| 1097 |
// A list of service email addresses. |
| 1098 |
ListSubscribers(ctx context.Context, in *ListSubscribersRequest, opts ...grpc.CallOption) (*ListSubscribersResponse, error) |
| 1099 |
// List entitlement history. |
| 1100 |
// |
| 1101 |
// Possible error codes: |
| 1102 |
// |
| 1103 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 1104 |
// provided reseller account are different. |
| 1105 |
// * INVALID_ARGUMENT: Missing or invalid required fields in the request. |
| 1106 |
// * NOT_FOUND: The parent resource doesn't exist. Usually the result of an |
| 1107 |
// invalid name parameter. |
| 1108 |
// * INTERNAL: Any non-user error related to a technical issue in the backend. |
| 1109 |
// In this case, contact CloudChannel support. |
| 1110 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1111 |
// In this case, contact Cloud Channel support. |
| 1112 |
// |
| 1113 |
// Return value: |
| 1114 |
// List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s. |
| 1115 |
ListEntitlementChanges(ctx context.Context, in *ListEntitlementChangesRequest, opts ...grpc.CallOption) (*ListEntitlementChangesResponse, error) |
| 1116 |
} |
| 1117 |
|
| 1118 |
type cloudChannelServiceClient struct { |
| 1119 |
cc grpc.ClientConnInterface |
| 1120 |
} |
| 1121 |
|
| 1122 |
func NewCloudChannelServiceClient(cc grpc.ClientConnInterface) CloudChannelServiceClient { |
| 1123 |
return &cloudChannelServiceClient{cc} |
| 1124 |
} |
| 1125 |
|
| 1126 |
func (c *cloudChannelServiceClient) ListCustomers(ctx context.Context, in *ListCustomersRequest, opts ...grpc.CallOption) (*ListCustomersResponse, error) { |
| 1127 |
out := new(ListCustomersResponse) |
| 1128 |
err := c.cc.Invoke(ctx, CloudChannelService_ListCustomers_FullMethodName, in, out, opts...) |
| 1129 |
if err != nil { |
| 1130 |
return nil, err |
| 1131 |
} |
| 1132 |
return out, nil |
| 1133 |
} |
| 1134 |
|
| 1135 |
func (c *cloudChannelServiceClient) GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*Customer, error) { |
| 1136 |
out := new(Customer) |
| 1137 |
err := c.cc.Invoke(ctx, CloudChannelService_GetCustomer_FullMethodName, in, out, opts...) |
| 1138 |
if err != nil { |
| 1139 |
return nil, err |
| 1140 |
} |
| 1141 |
return out, nil |
| 1142 |
} |
| 1143 |
|
| 1144 |
func (c *cloudChannelServiceClient) CheckCloudIdentityAccountsExist(ctx context.Context, in *CheckCloudIdentityAccountsExistRequest, opts ...grpc.CallOption) (*CheckCloudIdentityAccountsExistResponse, error) { |
| 1145 |
out := new(CheckCloudIdentityAccountsExistResponse) |
| 1146 |
err := c.cc.Invoke(ctx, CloudChannelService_CheckCloudIdentityAccountsExist_FullMethodName, in, out, opts...) |
| 1147 |
if err != nil { |
| 1148 |
return nil, err |
| 1149 |
} |
| 1150 |
return out, nil |
| 1151 |
} |
| 1152 |
|
| 1153 |
func (c *cloudChannelServiceClient) CreateCustomer(ctx context.Context, in *CreateCustomerRequest, opts ...grpc.CallOption) (*Customer, error) { |
| 1154 |
out := new(Customer) |
| 1155 |
err := c.cc.Invoke(ctx, CloudChannelService_CreateCustomer_FullMethodName, in, out, opts...) |
| 1156 |
if err != nil { |
| 1157 |
return nil, err |
| 1158 |
} |
| 1159 |
return out, nil |
| 1160 |
} |
| 1161 |
|
| 1162 |
func (c *cloudChannelServiceClient) UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*Customer, error) { |
| 1163 |
out := new(Customer) |
| 1164 |
err := c.cc.Invoke(ctx, CloudChannelService_UpdateCustomer_FullMethodName, in, out, opts...) |
| 1165 |
if err != nil { |
| 1166 |
return nil, err |
| 1167 |
} |
| 1168 |
return out, nil |
| 1169 |
} |
| 1170 |
|
| 1171 |
func (c *cloudChannelServiceClient) DeleteCustomer(ctx context.Context, in *DeleteCustomerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 1172 |
out := new(emptypb.Empty) |
| 1173 |
err := c.cc.Invoke(ctx, CloudChannelService_DeleteCustomer_FullMethodName, in, out, opts...) |
| 1174 |
if err != nil { |
| 1175 |
return nil, err |
| 1176 |
} |
| 1177 |
return out, nil |
| 1178 |
} |
| 1179 |
|
| 1180 |
func (c *cloudChannelServiceClient) ImportCustomer(ctx context.Context, in *ImportCustomerRequest, opts ...grpc.CallOption) (*Customer, error) { |
| 1181 |
out := new(Customer) |
| 1182 |
err := c.cc.Invoke(ctx, CloudChannelService_ImportCustomer_FullMethodName, in, out, opts...) |
| 1183 |
if err != nil { |
| 1184 |
return nil, err |
| 1185 |
} |
| 1186 |
return out, nil |
| 1187 |
} |
| 1188 |
|
| 1189 |
func (c *cloudChannelServiceClient) ProvisionCloudIdentity(ctx context.Context, in *ProvisionCloudIdentityRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1190 |
out := new(longrunningpb.Operation) |
| 1191 |
err := c.cc.Invoke(ctx, CloudChannelService_ProvisionCloudIdentity_FullMethodName, in, out, opts...) |
| 1192 |
if err != nil { |
| 1193 |
return nil, err |
| 1194 |
} |
| 1195 |
return out, nil |
| 1196 |
} |
| 1197 |
|
| 1198 |
func (c *cloudChannelServiceClient) ListEntitlements(ctx context.Context, in *ListEntitlementsRequest, opts ...grpc.CallOption) (*ListEntitlementsResponse, error) { |
| 1199 |
out := new(ListEntitlementsResponse) |
| 1200 |
err := c.cc.Invoke(ctx, CloudChannelService_ListEntitlements_FullMethodName, in, out, opts...) |
| 1201 |
if err != nil { |
| 1202 |
return nil, err |
| 1203 |
} |
| 1204 |
return out, nil |
| 1205 |
} |
| 1206 |
|
| 1207 |
func (c *cloudChannelServiceClient) ListTransferableSkus(ctx context.Context, in *ListTransferableSkusRequest, opts ...grpc.CallOption) (*ListTransferableSkusResponse, error) { |
| 1208 |
out := new(ListTransferableSkusResponse) |
| 1209 |
err := c.cc.Invoke(ctx, CloudChannelService_ListTransferableSkus_FullMethodName, in, out, opts...) |
| 1210 |
if err != nil { |
| 1211 |
return nil, err |
| 1212 |
} |
| 1213 |
return out, nil |
| 1214 |
} |
| 1215 |
|
| 1216 |
func (c *cloudChannelServiceClient) ListTransferableOffers(ctx context.Context, in *ListTransferableOffersRequest, opts ...grpc.CallOption) (*ListTransferableOffersResponse, error) { |
| 1217 |
out := new(ListTransferableOffersResponse) |
| 1218 |
err := c.cc.Invoke(ctx, CloudChannelService_ListTransferableOffers_FullMethodName, in, out, opts...) |
| 1219 |
if err != nil { |
| 1220 |
return nil, err |
| 1221 |
} |
| 1222 |
return out, nil |
| 1223 |
} |
| 1224 |
|
| 1225 |
func (c *cloudChannelServiceClient) GetEntitlement(ctx context.Context, in *GetEntitlementRequest, opts ...grpc.CallOption) (*Entitlement, error) { |
| 1226 |
out := new(Entitlement) |
| 1227 |
err := c.cc.Invoke(ctx, CloudChannelService_GetEntitlement_FullMethodName, in, out, opts...) |
| 1228 |
if err != nil { |
| 1229 |
return nil, err |
| 1230 |
} |
| 1231 |
return out, nil |
| 1232 |
} |
| 1233 |
|
| 1234 |
func (c *cloudChannelServiceClient) CreateEntitlement(ctx context.Context, in *CreateEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1235 |
out := new(longrunningpb.Operation) |
| 1236 |
err := c.cc.Invoke(ctx, CloudChannelService_CreateEntitlement_FullMethodName, in, out, opts...) |
| 1237 |
if err != nil { |
| 1238 |
return nil, err |
| 1239 |
} |
| 1240 |
return out, nil |
| 1241 |
} |
| 1242 |
|
| 1243 |
func (c *cloudChannelServiceClient) ChangeParameters(ctx context.Context, in *ChangeParametersRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1244 |
out := new(longrunningpb.Operation) |
| 1245 |
err := c.cc.Invoke(ctx, CloudChannelService_ChangeParameters_FullMethodName, in, out, opts...) |
| 1246 |
if err != nil { |
| 1247 |
return nil, err |
| 1248 |
} |
| 1249 |
return out, nil |
| 1250 |
} |
| 1251 |
|
| 1252 |
func (c *cloudChannelServiceClient) ChangeRenewalSettings(ctx context.Context, in *ChangeRenewalSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1253 |
out := new(longrunningpb.Operation) |
| 1254 |
err := c.cc.Invoke(ctx, CloudChannelService_ChangeRenewalSettings_FullMethodName, in, out, opts...) |
| 1255 |
if err != nil { |
| 1256 |
return nil, err |
| 1257 |
} |
| 1258 |
return out, nil |
| 1259 |
} |
| 1260 |
|
| 1261 |
func (c *cloudChannelServiceClient) ChangeOffer(ctx context.Context, in *ChangeOfferRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1262 |
out := new(longrunningpb.Operation) |
| 1263 |
err := c.cc.Invoke(ctx, CloudChannelService_ChangeOffer_FullMethodName, in, out, opts...) |
| 1264 |
if err != nil { |
| 1265 |
return nil, err |
| 1266 |
} |
| 1267 |
return out, nil |
| 1268 |
} |
| 1269 |
|
| 1270 |
func (c *cloudChannelServiceClient) StartPaidService(ctx context.Context, in *StartPaidServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1271 |
out := new(longrunningpb.Operation) |
| 1272 |
err := c.cc.Invoke(ctx, CloudChannelService_StartPaidService_FullMethodName, in, out, opts...) |
| 1273 |
if err != nil { |
| 1274 |
return nil, err |
| 1275 |
} |
| 1276 |
return out, nil |
| 1277 |
} |
| 1278 |
|
| 1279 |
func (c *cloudChannelServiceClient) SuspendEntitlement(ctx context.Context, in *SuspendEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1280 |
out := new(longrunningpb.Operation) |
| 1281 |
err := c.cc.Invoke(ctx, CloudChannelService_SuspendEntitlement_FullMethodName, in, out, opts...) |
| 1282 |
if err != nil { |
| 1283 |
return nil, err |
| 1284 |
} |
| 1285 |
return out, nil |
| 1286 |
} |
| 1287 |
|
| 1288 |
func (c *cloudChannelServiceClient) CancelEntitlement(ctx context.Context, in *CancelEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1289 |
out := new(longrunningpb.Operation) |
| 1290 |
err := c.cc.Invoke(ctx, CloudChannelService_CancelEntitlement_FullMethodName, in, out, opts...) |
| 1291 |
if err != nil { |
| 1292 |
return nil, err |
| 1293 |
} |
| 1294 |
return out, nil |
| 1295 |
} |
| 1296 |
|
| 1297 |
func (c *cloudChannelServiceClient) ActivateEntitlement(ctx context.Context, in *ActivateEntitlementRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1298 |
out := new(longrunningpb.Operation) |
| 1299 |
err := c.cc.Invoke(ctx, CloudChannelService_ActivateEntitlement_FullMethodName, in, out, opts...) |
| 1300 |
if err != nil { |
| 1301 |
return nil, err |
| 1302 |
} |
| 1303 |
return out, nil |
| 1304 |
} |
| 1305 |
|
| 1306 |
func (c *cloudChannelServiceClient) TransferEntitlements(ctx context.Context, in *TransferEntitlementsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1307 |
out := new(longrunningpb.Operation) |
| 1308 |
err := c.cc.Invoke(ctx, CloudChannelService_TransferEntitlements_FullMethodName, in, out, opts...) |
| 1309 |
if err != nil { |
| 1310 |
return nil, err |
| 1311 |
} |
| 1312 |
return out, nil |
| 1313 |
} |
| 1314 |
|
| 1315 |
func (c *cloudChannelServiceClient) TransferEntitlementsToGoogle(ctx context.Context, in *TransferEntitlementsToGoogleRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 1316 |
out := new(longrunningpb.Operation) |
| 1317 |
err := c.cc.Invoke(ctx, CloudChannelService_TransferEntitlementsToGoogle_FullMethodName, in, out, opts...) |
| 1318 |
if err != nil { |
| 1319 |
return nil, err |
| 1320 |
} |
| 1321 |
return out, nil |
| 1322 |
} |
| 1323 |
|
| 1324 |
func (c *cloudChannelServiceClient) ListChannelPartnerLinks(ctx context.Context, in *ListChannelPartnerLinksRequest, opts ...grpc.CallOption) (*ListChannelPartnerLinksResponse, error) { |
| 1325 |
out := new(ListChannelPartnerLinksResponse) |
| 1326 |
err := c.cc.Invoke(ctx, CloudChannelService_ListChannelPartnerLinks_FullMethodName, in, out, opts...) |
| 1327 |
if err != nil { |
| 1328 |
return nil, err |
| 1329 |
} |
| 1330 |
return out, nil |
| 1331 |
} |
| 1332 |
|
| 1333 |
func (c *cloudChannelServiceClient) GetChannelPartnerLink(ctx context.Context, in *GetChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) { |
| 1334 |
out := new(ChannelPartnerLink) |
| 1335 |
err := c.cc.Invoke(ctx, CloudChannelService_GetChannelPartnerLink_FullMethodName, in, out, opts...) |
| 1336 |
if err != nil { |
| 1337 |
return nil, err |
| 1338 |
} |
| 1339 |
return out, nil |
| 1340 |
} |
| 1341 |
|
| 1342 |
func (c *cloudChannelServiceClient) CreateChannelPartnerLink(ctx context.Context, in *CreateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) { |
| 1343 |
out := new(ChannelPartnerLink) |
| 1344 |
err := c.cc.Invoke(ctx, CloudChannelService_CreateChannelPartnerLink_FullMethodName, in, out, opts...) |
| 1345 |
if err != nil { |
| 1346 |
return nil, err |
| 1347 |
} |
| 1348 |
return out, nil |
| 1349 |
} |
| 1350 |
|
| 1351 |
func (c *cloudChannelServiceClient) UpdateChannelPartnerLink(ctx context.Context, in *UpdateChannelPartnerLinkRequest, opts ...grpc.CallOption) (*ChannelPartnerLink, error) { |
| 1352 |
out := new(ChannelPartnerLink) |
| 1353 |
err := c.cc.Invoke(ctx, CloudChannelService_UpdateChannelPartnerLink_FullMethodName, in, out, opts...) |
| 1354 |
if err != nil { |
| 1355 |
return nil, err |
| 1356 |
} |
| 1357 |
return out, nil |
| 1358 |
} |
| 1359 |
|
| 1360 |
func (c *cloudChannelServiceClient) GetCustomerRepricingConfig(ctx context.Context, in *GetCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error) { |
| 1361 |
out := new(CustomerRepricingConfig) |
| 1362 |
err := c.cc.Invoke(ctx, CloudChannelService_GetCustomerRepricingConfig_FullMethodName, in, out, opts...) |
| 1363 |
if err != nil { |
| 1364 |
return nil, err |
| 1365 |
} |
| 1366 |
return out, nil |
| 1367 |
} |
| 1368 |
|
| 1369 |
func (c *cloudChannelServiceClient) ListCustomerRepricingConfigs(ctx context.Context, in *ListCustomerRepricingConfigsRequest, opts ...grpc.CallOption) (*ListCustomerRepricingConfigsResponse, error) { |
| 1370 |
out := new(ListCustomerRepricingConfigsResponse) |
| 1371 |
err := c.cc.Invoke(ctx, CloudChannelService_ListCustomerRepricingConfigs_FullMethodName, in, out, opts...) |
| 1372 |
if err != nil { |
| 1373 |
return nil, err |
| 1374 |
} |
| 1375 |
return out, nil |
| 1376 |
} |
| 1377 |
|
| 1378 |
func (c *cloudChannelServiceClient) CreateCustomerRepricingConfig(ctx context.Context, in *CreateCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error) { |
| 1379 |
out := new(CustomerRepricingConfig) |
| 1380 |
err := c.cc.Invoke(ctx, CloudChannelService_CreateCustomerRepricingConfig_FullMethodName, in, out, opts...) |
| 1381 |
if err != nil { |
| 1382 |
return nil, err |
| 1383 |
} |
| 1384 |
return out, nil |
| 1385 |
} |
| 1386 |
|
| 1387 |
func (c *cloudChannelServiceClient) UpdateCustomerRepricingConfig(ctx context.Context, in *UpdateCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*CustomerRepricingConfig, error) { |
| 1388 |
out := new(CustomerRepricingConfig) |
| 1389 |
err := c.cc.Invoke(ctx, CloudChannelService_UpdateCustomerRepricingConfig_FullMethodName, in, out, opts...) |
| 1390 |
if err != nil { |
| 1391 |
return nil, err |
| 1392 |
} |
| 1393 |
return out, nil |
| 1394 |
} |
| 1395 |
|
| 1396 |
func (c *cloudChannelServiceClient) DeleteCustomerRepricingConfig(ctx context.Context, in *DeleteCustomerRepricingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 1397 |
out := new(emptypb.Empty) |
| 1398 |
err := c.cc.Invoke(ctx, CloudChannelService_DeleteCustomerRepricingConfig_FullMethodName, in, out, opts...) |
| 1399 |
if err != nil { |
| 1400 |
return nil, err |
| 1401 |
} |
| 1402 |
return out, nil |
| 1403 |
} |
| 1404 |
|
| 1405 |
func (c *cloudChannelServiceClient) GetChannelPartnerRepricingConfig(ctx context.Context, in *GetChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error) { |
| 1406 |
out := new(ChannelPartnerRepricingConfig) |
| 1407 |
err := c.cc.Invoke(ctx, CloudChannelService_GetChannelPartnerRepricingConfig_FullMethodName, in, out, opts...) |
| 1408 |
if err != nil { |
| 1409 |
return nil, err |
| 1410 |
} |
| 1411 |
return out, nil |
| 1412 |
} |
| 1413 |
|
| 1414 |
func (c *cloudChannelServiceClient) ListChannelPartnerRepricingConfigs(ctx context.Context, in *ListChannelPartnerRepricingConfigsRequest, opts ...grpc.CallOption) (*ListChannelPartnerRepricingConfigsResponse, error) { |
| 1415 |
out := new(ListChannelPartnerRepricingConfigsResponse) |
| 1416 |
err := c.cc.Invoke(ctx, CloudChannelService_ListChannelPartnerRepricingConfigs_FullMethodName, in, out, opts...) |
| 1417 |
if err != nil { |
| 1418 |
return nil, err |
| 1419 |
} |
| 1420 |
return out, nil |
| 1421 |
} |
| 1422 |
|
| 1423 |
func (c *cloudChannelServiceClient) CreateChannelPartnerRepricingConfig(ctx context.Context, in *CreateChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error) { |
| 1424 |
out := new(ChannelPartnerRepricingConfig) |
| 1425 |
err := c.cc.Invoke(ctx, CloudChannelService_CreateChannelPartnerRepricingConfig_FullMethodName, in, out, opts...) |
| 1426 |
if err != nil { |
| 1427 |
return nil, err |
| 1428 |
} |
| 1429 |
return out, nil |
| 1430 |
} |
| 1431 |
|
| 1432 |
func (c *cloudChannelServiceClient) UpdateChannelPartnerRepricingConfig(ctx context.Context, in *UpdateChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*ChannelPartnerRepricingConfig, error) { |
| 1433 |
out := new(ChannelPartnerRepricingConfig) |
| 1434 |
err := c.cc.Invoke(ctx, CloudChannelService_UpdateChannelPartnerRepricingConfig_FullMethodName, in, out, opts...) |
| 1435 |
if err != nil { |
| 1436 |
return nil, err |
| 1437 |
} |
| 1438 |
return out, nil |
| 1439 |
} |
| 1440 |
|
| 1441 |
func (c *cloudChannelServiceClient) DeleteChannelPartnerRepricingConfig(ctx context.Context, in *DeleteChannelPartnerRepricingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 1442 |
out := new(emptypb.Empty) |
| 1443 |
err := c.cc.Invoke(ctx, CloudChannelService_DeleteChannelPartnerRepricingConfig_FullMethodName, in, out, opts...) |
| 1444 |
if err != nil { |
| 1445 |
return nil, err |
| 1446 |
} |
| 1447 |
return out, nil |
| 1448 |
} |
| 1449 |
|
| 1450 |
func (c *cloudChannelServiceClient) ListSkuGroups(ctx context.Context, in *ListSkuGroupsRequest, opts ...grpc.CallOption) (*ListSkuGroupsResponse, error) { |
| 1451 |
out := new(ListSkuGroupsResponse) |
| 1452 |
err := c.cc.Invoke(ctx, CloudChannelService_ListSkuGroups_FullMethodName, in, out, opts...) |
| 1453 |
if err != nil { |
| 1454 |
return nil, err |
| 1455 |
} |
| 1456 |
return out, nil |
| 1457 |
} |
| 1458 |
|
| 1459 |
func (c *cloudChannelServiceClient) ListSkuGroupBillableSkus(ctx context.Context, in *ListSkuGroupBillableSkusRequest, opts ...grpc.CallOption) (*ListSkuGroupBillableSkusResponse, error) { |
| 1460 |
out := new(ListSkuGroupBillableSkusResponse) |
| 1461 |
err := c.cc.Invoke(ctx, CloudChannelService_ListSkuGroupBillableSkus_FullMethodName, in, out, opts...) |
| 1462 |
if err != nil { |
| 1463 |
return nil, err |
| 1464 |
} |
| 1465 |
return out, nil |
| 1466 |
} |
| 1467 |
|
| 1468 |
func (c *cloudChannelServiceClient) LookupOffer(ctx context.Context, in *LookupOfferRequest, opts ...grpc.CallOption) (*Offer, error) { |
| 1469 |
out := new(Offer) |
| 1470 |
err := c.cc.Invoke(ctx, CloudChannelService_LookupOffer_FullMethodName, in, out, opts...) |
| 1471 |
if err != nil { |
| 1472 |
return nil, err |
| 1473 |
} |
| 1474 |
return out, nil |
| 1475 |
} |
| 1476 |
|
| 1477 |
func (c *cloudChannelServiceClient) ListProducts(ctx context.Context, in *ListProductsRequest, opts ...grpc.CallOption) (*ListProductsResponse, error) { |
| 1478 |
out := new(ListProductsResponse) |
| 1479 |
err := c.cc.Invoke(ctx, CloudChannelService_ListProducts_FullMethodName, in, out, opts...) |
| 1480 |
if err != nil { |
| 1481 |
return nil, err |
| 1482 |
} |
| 1483 |
return out, nil |
| 1484 |
} |
| 1485 |
|
| 1486 |
func (c *cloudChannelServiceClient) ListSkus(ctx context.Context, in *ListSkusRequest, opts ...grpc.CallOption) (*ListSkusResponse, error) { |
| 1487 |
out := new(ListSkusResponse) |
| 1488 |
err := c.cc.Invoke(ctx, CloudChannelService_ListSkus_FullMethodName, in, out, opts...) |
| 1489 |
if err != nil { |
| 1490 |
return nil, err |
| 1491 |
} |
| 1492 |
return out, nil |
| 1493 |
} |
| 1494 |
|
| 1495 |
func (c *cloudChannelServiceClient) ListOffers(ctx context.Context, in *ListOffersRequest, opts ...grpc.CallOption) (*ListOffersResponse, error) { |
| 1496 |
out := new(ListOffersResponse) |
| 1497 |
err := c.cc.Invoke(ctx, CloudChannelService_ListOffers_FullMethodName, in, out, opts...) |
| 1498 |
if err != nil { |
| 1499 |
return nil, err |
| 1500 |
} |
| 1501 |
return out, nil |
| 1502 |
} |
| 1503 |
|
| 1504 |
func (c *cloudChannelServiceClient) ListPurchasableSkus(ctx context.Context, in *ListPurchasableSkusRequest, opts ...grpc.CallOption) (*ListPurchasableSkusResponse, error) { |
| 1505 |
out := new(ListPurchasableSkusResponse) |
| 1506 |
err := c.cc.Invoke(ctx, CloudChannelService_ListPurchasableSkus_FullMethodName, in, out, opts...) |
| 1507 |
if err != nil { |
| 1508 |
return nil, err |
| 1509 |
} |
| 1510 |
return out, nil |
| 1511 |
} |
| 1512 |
|
| 1513 |
func (c *cloudChannelServiceClient) ListPurchasableOffers(ctx context.Context, in *ListPurchasableOffersRequest, opts ...grpc.CallOption) (*ListPurchasableOffersResponse, error) { |
| 1514 |
out := new(ListPurchasableOffersResponse) |
| 1515 |
err := c.cc.Invoke(ctx, CloudChannelService_ListPurchasableOffers_FullMethodName, in, out, opts...) |
| 1516 |
if err != nil { |
| 1517 |
return nil, err |
| 1518 |
} |
| 1519 |
return out, nil |
| 1520 |
} |
| 1521 |
|
| 1522 |
func (c *cloudChannelServiceClient) QueryEligibleBillingAccounts(ctx context.Context, in *QueryEligibleBillingAccountsRequest, opts ...grpc.CallOption) (*QueryEligibleBillingAccountsResponse, error) { |
| 1523 |
out := new(QueryEligibleBillingAccountsResponse) |
| 1524 |
err := c.cc.Invoke(ctx, CloudChannelService_QueryEligibleBillingAccounts_FullMethodName, in, out, opts...) |
| 1525 |
if err != nil { |
| 1526 |
return nil, err |
| 1527 |
} |
| 1528 |
return out, nil |
| 1529 |
} |
| 1530 |
|
| 1531 |
func (c *cloudChannelServiceClient) RegisterSubscriber(ctx context.Context, in *RegisterSubscriberRequest, opts ...grpc.CallOption) (*RegisterSubscriberResponse, error) { |
| 1532 |
out := new(RegisterSubscriberResponse) |
| 1533 |
err := c.cc.Invoke(ctx, CloudChannelService_RegisterSubscriber_FullMethodName, in, out, opts...) |
| 1534 |
if err != nil { |
| 1535 |
return nil, err |
| 1536 |
} |
| 1537 |
return out, nil |
| 1538 |
} |
| 1539 |
|
| 1540 |
func (c *cloudChannelServiceClient) UnregisterSubscriber(ctx context.Context, in *UnregisterSubscriberRequest, opts ...grpc.CallOption) (*UnregisterSubscriberResponse, error) { |
| 1541 |
out := new(UnregisterSubscriberResponse) |
| 1542 |
err := c.cc.Invoke(ctx, CloudChannelService_UnregisterSubscriber_FullMethodName, in, out, opts...) |
| 1543 |
if err != nil { |
| 1544 |
return nil, err |
| 1545 |
} |
| 1546 |
return out, nil |
| 1547 |
} |
| 1548 |
|
| 1549 |
func (c *cloudChannelServiceClient) ListSubscribers(ctx context.Context, in *ListSubscribersRequest, opts ...grpc.CallOption) (*ListSubscribersResponse, error) { |
| 1550 |
out := new(ListSubscribersResponse) |
| 1551 |
err := c.cc.Invoke(ctx, CloudChannelService_ListSubscribers_FullMethodName, in, out, opts...) |
| 1552 |
if err != nil { |
| 1553 |
return nil, err |
| 1554 |
} |
| 1555 |
return out, nil |
| 1556 |
} |
| 1557 |
|
| 1558 |
func (c *cloudChannelServiceClient) ListEntitlementChanges(ctx context.Context, in *ListEntitlementChangesRequest, opts ...grpc.CallOption) (*ListEntitlementChangesResponse, error) { |
| 1559 |
out := new(ListEntitlementChangesResponse) |
| 1560 |
err := c.cc.Invoke(ctx, CloudChannelService_ListEntitlementChanges_FullMethodName, in, out, opts...) |
| 1561 |
if err != nil { |
| 1562 |
return nil, err |
| 1563 |
} |
| 1564 |
return out, nil |
| 1565 |
} |
| 1566 |
|
| 1567 |
// CloudChannelServiceServer is the server API for CloudChannelService service. |
| 1568 |
// All implementations should embed UnimplementedCloudChannelServiceServer |
| 1569 |
// for forward compatibility |
| 1570 |
type CloudChannelServiceServer interface { |
| 1571 |
// List [Customer][google.cloud.channel.v1.Customer]s. |
| 1572 |
// |
| 1573 |
// Possible error codes: |
| 1574 |
// |
| 1575 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 1576 |
// from the reseller account in the API request. |
| 1577 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1578 |
// |
| 1579 |
// Return value: |
| 1580 |
// List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if |
| 1581 |
// there are no customers. |
| 1582 |
ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error) |
| 1583 |
// Returns the requested [Customer][google.cloud.channel.v1.Customer] |
| 1584 |
// resource. |
| 1585 |
// |
| 1586 |
// Possible error codes: |
| 1587 |
// |
| 1588 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 1589 |
// from the reseller account in the API request. |
| 1590 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1591 |
// * NOT_FOUND: The customer resource doesn't exist. Usually the result of an |
| 1592 |
// invalid name parameter. |
| 1593 |
// |
| 1594 |
// Return value: |
| 1595 |
// The [Customer][google.cloud.channel.v1.Customer] resource. |
| 1596 |
GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error) |
| 1597 |
// Confirms the existence of Cloud Identity accounts based on the domain and |
| 1598 |
// if the Cloud Identity accounts are owned by the reseller. |
| 1599 |
// |
| 1600 |
// Possible error codes: |
| 1601 |
// |
| 1602 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 1603 |
// from the reseller account in the API request. |
| 1604 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1605 |
// * INVALID_VALUE: Invalid domain value in the request. |
| 1606 |
// |
| 1607 |
// Return value: |
| 1608 |
// A list of |
| 1609 |
// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] |
| 1610 |
// resources for the domain (may be empty) |
| 1611 |
// |
| 1612 |
// Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if |
| 1613 |
// no |
| 1614 |
// [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] |
| 1615 |
// resources match the domain. |
| 1616 |
CheckCloudIdentityAccountsExist(context.Context, *CheckCloudIdentityAccountsExistRequest) (*CheckCloudIdentityAccountsExistResponse, error) |
| 1617 |
// Creates a new [Customer][google.cloud.channel.v1.Customer] resource under |
| 1618 |
// the reseller or distributor account. |
| 1619 |
// |
| 1620 |
// Possible error codes: |
| 1621 |
// |
| 1622 |
// * PERMISSION_DENIED: |
| 1623 |
// - The reseller account making the request is different from the |
| 1624 |
// reseller account in the API request. |
| 1625 |
// - You are not authorized to create a customer. See |
| 1626 |
// https://support.google.com/channelservices/answer/9759265 |
| 1627 |
// |
| 1628 |
// * INVALID_ARGUMENT: |
| 1629 |
// - Required request parameters are missing or invalid. |
| 1630 |
// - Domain field value doesn't match the primary email domain. |
| 1631 |
// |
| 1632 |
// Return value: |
| 1633 |
// The newly created [Customer][google.cloud.channel.v1.Customer] resource. |
| 1634 |
CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error) |
| 1635 |
// Updates an existing [Customer][google.cloud.channel.v1.Customer] resource |
| 1636 |
// for the reseller or distributor. |
| 1637 |
// |
| 1638 |
// Possible error codes: |
| 1639 |
// |
| 1640 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 1641 |
// from the reseller account in the API request. |
| 1642 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1643 |
// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found |
| 1644 |
// for the name in the request. |
| 1645 |
// |
| 1646 |
// Return value: |
| 1647 |
// The updated [Customer][google.cloud.channel.v1.Customer] resource. |
| 1648 |
UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error) |
| 1649 |
// Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently. |
| 1650 |
// |
| 1651 |
// Possible error codes: |
| 1652 |
// |
| 1653 |
// * PERMISSION_DENIED: The account making the request does not own |
| 1654 |
// this customer. |
| 1655 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1656 |
// * FAILED_PRECONDITION: The customer has existing entitlements. |
| 1657 |
// * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found |
| 1658 |
// for the name in the request. |
| 1659 |
DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error) |
| 1660 |
// Imports a [Customer][google.cloud.channel.v1.Customer] from the Cloud |
| 1661 |
// Identity associated with the provided Cloud Identity ID or domain before a |
| 1662 |
// TransferEntitlements call. If a linked Customer already exists and |
| 1663 |
// overwrite_if_exists is true, it will update that Customer's data. |
| 1664 |
// |
| 1665 |
// Possible error codes: |
| 1666 |
// |
| 1667 |
// * PERMISSION_DENIED: |
| 1668 |
// - The reseller account making the request is different from the |
| 1669 |
// reseller account in the API request. |
| 1670 |
// - You are not authorized to import the customer. See |
| 1671 |
// https://support.google.com/channelservices/answer/9759265 |
| 1672 |
// |
| 1673 |
// * NOT_FOUND: Cloud Identity doesn't exist or was deleted. |
| 1674 |
// * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is |
| 1675 |
// expired or invalid. |
| 1676 |
// * ALREADY_EXISTS: A customer already exists and has conflicting critical |
| 1677 |
// fields. Requires an overwrite. |
| 1678 |
// |
| 1679 |
// Return value: |
| 1680 |
// The [Customer][google.cloud.channel.v1.Customer]. |
| 1681 |
ImportCustomer(context.Context, *ImportCustomerRequest) (*Customer, error) |
| 1682 |
// Creates a Cloud Identity for the given customer using the customer's |
| 1683 |
// information, or the information provided here. |
| 1684 |
// |
| 1685 |
// Possible error codes: |
| 1686 |
// |
| 1687 |
// * PERMISSION_DENIED: |
| 1688 |
// - The customer doesn't belong to the reseller. |
| 1689 |
// - You are not authorized to provision cloud identity id. See |
| 1690 |
// https://support.google.com/channelservices/answer/9759265 |
| 1691 |
// - INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1692 |
// - NOT_FOUND: The customer was not found. |
| 1693 |
// - ALREADY_EXISTS: The customer's primary email already exists. Retry |
| 1694 |
// after changing the customer's primary contact email. |
| 1695 |
// - INTERNAL: Any non-user error related to a technical issue in the |
| 1696 |
// |
| 1697 |
// backend. Contact Cloud Channel support. |
| 1698 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1699 |
// Contact Cloud Channel support. |
| 1700 |
// |
| 1701 |
// Return value: |
| 1702 |
// The ID of a long-running operation. |
| 1703 |
// |
| 1704 |
// To get the results of the operation, call the GetOperation method of |
| 1705 |
// CloudChannelOperationsService. The Operation metadata contains an |
| 1706 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1707 |
ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunningpb.Operation, error) |
| 1708 |
// Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a |
| 1709 |
// customer. |
| 1710 |
// |
| 1711 |
// Possible error codes: |
| 1712 |
// |
| 1713 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1714 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1715 |
// |
| 1716 |
// Return value: |
| 1717 |
// A list of the customer's |
| 1718 |
// [Entitlement][google.cloud.channel.v1.Entitlement]s. |
| 1719 |
ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error) |
| 1720 |
// List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a |
| 1721 |
// customer based on the Cloud Identity ID or Customer Name in the request. |
| 1722 |
// |
| 1723 |
// Use this method to list the entitlements information of an |
| 1724 |
// unowned customer. You should provide the customer's |
| 1725 |
// Cloud Identity ID or Customer Name. |
| 1726 |
// |
| 1727 |
// Possible error codes: |
| 1728 |
// |
| 1729 |
// * PERMISSION_DENIED: |
| 1730 |
// - The customer doesn't belong to the reseller and has no auth token. |
| 1731 |
// - The supplied auth token is invalid. |
| 1732 |
// - The reseller account making the request is different |
| 1733 |
// from the reseller account in the query. |
| 1734 |
// |
| 1735 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1736 |
// |
| 1737 |
// Return value: |
| 1738 |
// A list of the customer's |
| 1739 |
// [TransferableSku][google.cloud.channel.v1.TransferableSku]. |
| 1740 |
ListTransferableSkus(context.Context, *ListTransferableSkusRequest) (*ListTransferableSkusResponse, error) |
| 1741 |
// List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a |
| 1742 |
// customer based on Cloud Identity ID or Customer Name in the request. |
| 1743 |
// |
| 1744 |
// Use this method when a reseller gets the entitlement information of an |
| 1745 |
// unowned customer. The reseller should provide the customer's |
| 1746 |
// Cloud Identity ID or Customer Name. |
| 1747 |
// |
| 1748 |
// Possible error codes: |
| 1749 |
// |
| 1750 |
// * PERMISSION_DENIED: |
| 1751 |
// - The customer doesn't belong to the reseller and has no auth token. |
| 1752 |
// - The customer provided incorrect reseller information when generating |
| 1753 |
// auth token. |
| 1754 |
// - The reseller account making the request is different |
| 1755 |
// from the reseller account in the query. |
| 1756 |
// - The reseller is not authorized to transact on this Product. See |
| 1757 |
// https://support.google.com/channelservices/answer/9759265 |
| 1758 |
// |
| 1759 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1760 |
// |
| 1761 |
// Return value: |
| 1762 |
// List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for |
| 1763 |
// the given customer and SKU. |
| 1764 |
ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error) |
| 1765 |
// Returns the requested [Entitlement][google.cloud.channel.v1.Entitlement] |
| 1766 |
// resource. |
| 1767 |
// |
| 1768 |
// Possible error codes: |
| 1769 |
// |
| 1770 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1771 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1772 |
// * NOT_FOUND: The customer entitlement was not found. |
| 1773 |
// |
| 1774 |
// Return value: |
| 1775 |
// The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource. |
| 1776 |
GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error) |
| 1777 |
// Creates an entitlement for a customer. |
| 1778 |
// |
| 1779 |
// Possible error codes: |
| 1780 |
// |
| 1781 |
// * PERMISSION_DENIED: |
| 1782 |
// - The customer doesn't belong to the reseller. |
| 1783 |
// - The reseller is not authorized to transact on this Product. See |
| 1784 |
// https://support.google.com/channelservices/answer/9759265 |
| 1785 |
// |
| 1786 |
// * INVALID_ARGUMENT: |
| 1787 |
// - Required request parameters are missing or invalid. |
| 1788 |
// - There is already a customer entitlement for a SKU from the same |
| 1789 |
// product family. |
| 1790 |
// |
| 1791 |
// * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact |
| 1792 |
// Google Channel support for further troubleshooting. |
| 1793 |
// * NOT_FOUND: The customer or offer resource was not found. |
| 1794 |
// * ALREADY_EXISTS: |
| 1795 |
// - The SKU was already purchased for the customer. |
| 1796 |
// - The customer's primary email already exists. Retry |
| 1797 |
// after changing the customer's primary contact email. |
| 1798 |
// |
| 1799 |
// * CONDITION_NOT_MET or FAILED_PRECONDITION: |
| 1800 |
// - The domain required for purchasing a SKU has not been verified. |
| 1801 |
// - A pre-requisite SKU required to purchase an Add-On SKU is missing. |
| 1802 |
// For example, Google Workspace Business Starter is required to purchase |
| 1803 |
// Vault or Drive. |
| 1804 |
// - (Developer accounts only) Reseller and resold domain must meet the |
| 1805 |
// following naming requirements: |
| 1806 |
// - Domain names must start with goog-test. |
| 1807 |
// - Domain names must include the reseller domain. |
| 1808 |
// |
| 1809 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1810 |
// backend. Contact Cloud Channel support. |
| 1811 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1812 |
// Contact Cloud Channel support. |
| 1813 |
// |
| 1814 |
// Return value: |
| 1815 |
// The ID of a long-running operation. |
| 1816 |
// |
| 1817 |
// To get the results of the operation, call the GetOperation method of |
| 1818 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1819 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1820 |
CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunningpb.Operation, error) |
| 1821 |
// Change parameters of the entitlement. |
| 1822 |
// |
| 1823 |
// An entitlement update is a long-running operation and it updates the |
| 1824 |
// entitlement as a result of fulfillment. |
| 1825 |
// |
| 1826 |
// Possible error codes: |
| 1827 |
// |
| 1828 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1829 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1830 |
// For example, the number of seats being changed is greater than the allowed |
| 1831 |
// number of max seats, or decreasing seats for a commitment based plan. |
| 1832 |
// * NOT_FOUND: Entitlement resource not found. |
| 1833 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1834 |
// backend. Contact Cloud Channel support. |
| 1835 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1836 |
// Contact Cloud Channel support. |
| 1837 |
// |
| 1838 |
// Return value: |
| 1839 |
// The ID of a long-running operation. |
| 1840 |
// |
| 1841 |
// To get the results of the operation, call the GetOperation method of |
| 1842 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1843 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1844 |
ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunningpb.Operation, error) |
| 1845 |
// Updates the renewal settings for an existing customer entitlement. |
| 1846 |
// |
| 1847 |
// An entitlement update is a long-running operation and it updates the |
| 1848 |
// entitlement as a result of fulfillment. |
| 1849 |
// |
| 1850 |
// Possible error codes: |
| 1851 |
// |
| 1852 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1853 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1854 |
// * NOT_FOUND: Entitlement resource not found. |
| 1855 |
// * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a |
| 1856 |
// commitment plan. Can't enable or disable renewals for non-commitment plans. |
| 1857 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1858 |
// backend. Contact Cloud Channel support. |
| 1859 |
// - UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1860 |
// Contact Cloud Channel support. |
| 1861 |
// |
| 1862 |
// Return value: |
| 1863 |
// The ID of a long-running operation. |
| 1864 |
// |
| 1865 |
// To get the results of the operation, call the GetOperation method of |
| 1866 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1867 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1868 |
ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunningpb.Operation, error) |
| 1869 |
// Updates the Offer for an existing customer entitlement. |
| 1870 |
// |
| 1871 |
// An entitlement update is a long-running operation and it updates the |
| 1872 |
// entitlement as a result of fulfillment. |
| 1873 |
// |
| 1874 |
// Possible error codes: |
| 1875 |
// |
| 1876 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1877 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1878 |
// * NOT_FOUND: Offer or Entitlement resource not found. |
| 1879 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1880 |
// backend. Contact Cloud Channel support. |
| 1881 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1882 |
// Contact Cloud Channel support. |
| 1883 |
// |
| 1884 |
// Return value: |
| 1885 |
// The ID of a long-running operation. |
| 1886 |
// |
| 1887 |
// To get the results of the operation, call the GetOperation method of |
| 1888 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1889 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1890 |
ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunningpb.Operation, error) |
| 1891 |
// Starts paid service for a trial entitlement. |
| 1892 |
// |
| 1893 |
// Starts paid service for a trial entitlement immediately. This method is |
| 1894 |
// only applicable if a plan is set up for a trial entitlement but has some |
| 1895 |
// trial days remaining. |
| 1896 |
// |
| 1897 |
// Possible error codes: |
| 1898 |
// |
| 1899 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1900 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1901 |
// * NOT_FOUND: Entitlement resource not found. |
| 1902 |
// * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for |
| 1903 |
// entitlement on trial plans. |
| 1904 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1905 |
// backend. Contact Cloud Channel support. |
| 1906 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1907 |
// Contact Cloud Channel support. |
| 1908 |
// |
| 1909 |
// Return value: |
| 1910 |
// The ID of a long-running operation. |
| 1911 |
// |
| 1912 |
// To get the results of the operation, call the GetOperation method of |
| 1913 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1914 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1915 |
StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunningpb.Operation, error) |
| 1916 |
// Suspends a previously fulfilled entitlement. |
| 1917 |
// |
| 1918 |
// An entitlement suspension is a long-running operation. |
| 1919 |
// |
| 1920 |
// Possible error codes: |
| 1921 |
// |
| 1922 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 1923 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1924 |
// * NOT_FOUND: Entitlement resource not found. |
| 1925 |
// * NOT_ACTIVE: Entitlement is not active. |
| 1926 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1927 |
// backend. Contact Cloud Channel support. |
| 1928 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1929 |
// Contact Cloud Channel support. |
| 1930 |
// |
| 1931 |
// Return value: |
| 1932 |
// The ID of a long-running operation. |
| 1933 |
// |
| 1934 |
// To get the results of the operation, call the GetOperation method of |
| 1935 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1936 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1937 |
SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunningpb.Operation, error) |
| 1938 |
// Cancels a previously fulfilled entitlement. |
| 1939 |
// |
| 1940 |
// An entitlement cancellation is a long-running operation. |
| 1941 |
// |
| 1942 |
// Possible error codes: |
| 1943 |
// |
| 1944 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 1945 |
// from the reseller account in the API request. |
| 1946 |
// * FAILED_PRECONDITION: There are Google Cloud projects linked to the |
| 1947 |
// Google Cloud entitlement's Cloud Billing subaccount. |
| 1948 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1949 |
// * NOT_FOUND: Entitlement resource not found. |
| 1950 |
// * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace |
| 1951 |
// add-ons, or entitlements for Google Cloud's development platform. |
| 1952 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1953 |
// backend. Contact Cloud Channel support. |
| 1954 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1955 |
// Contact Cloud Channel support. |
| 1956 |
// |
| 1957 |
// Return value: |
| 1958 |
// The ID of a long-running operation. |
| 1959 |
// |
| 1960 |
// To get the results of the operation, call the GetOperation method of |
| 1961 |
// CloudChannelOperationsService. The response will contain |
| 1962 |
// google.protobuf.Empty on success. The Operation metadata will contain an |
| 1963 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1964 |
CancelEntitlement(context.Context, *CancelEntitlementRequest) (*longrunningpb.Operation, error) |
| 1965 |
// Activates a previously suspended entitlement. Entitlements suspended for |
| 1966 |
// pending ToS acceptance can't be activated using this method. |
| 1967 |
// |
| 1968 |
// An entitlement activation is a long-running operation and it updates |
| 1969 |
// the state of the customer entitlement. |
| 1970 |
// |
| 1971 |
// Possible error codes: |
| 1972 |
// |
| 1973 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 1974 |
// from the reseller account in the API request. |
| 1975 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 1976 |
// * NOT_FOUND: Entitlement resource not found. |
| 1977 |
// * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated |
| 1978 |
// suspensions and entitlements that have accepted the TOS. |
| 1979 |
// * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE |
| 1980 |
// state. |
| 1981 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 1982 |
// backend. Contact Cloud Channel support. |
| 1983 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 1984 |
// Contact Cloud Channel support. |
| 1985 |
// |
| 1986 |
// Return value: |
| 1987 |
// The ID of a long-running operation. |
| 1988 |
// |
| 1989 |
// To get the results of the operation, call the GetOperation method of |
| 1990 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 1991 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 1992 |
ActivateEntitlement(context.Context, *ActivateEntitlementRequest) (*longrunningpb.Operation, error) |
| 1993 |
// Transfers customer entitlements to new reseller. |
| 1994 |
// |
| 1995 |
// Possible error codes: |
| 1996 |
// |
| 1997 |
// * PERMISSION_DENIED: |
| 1998 |
// - The customer doesn't belong to the reseller. |
| 1999 |
// - The reseller is not authorized to transact on this Product. See |
| 2000 |
// https://support.google.com/channelservices/answer/9759265 |
| 2001 |
// |
| 2002 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2003 |
// * NOT_FOUND: The customer or offer resource was not found. |
| 2004 |
// * ALREADY_EXISTS: The SKU was already transferred for the customer. |
| 2005 |
// * CONDITION_NOT_MET or FAILED_PRECONDITION: |
| 2006 |
// - The SKU requires domain verification to transfer, but the domain is |
| 2007 |
// not verified. |
| 2008 |
// - An Add-On SKU (example, Vault or Drive) is missing the |
| 2009 |
// pre-requisite SKU (example, G Suite Basic). |
| 2010 |
// - (Developer accounts only) Reseller and resold domain must meet the |
| 2011 |
// following naming requirements: |
| 2012 |
// - Domain names must start with goog-test. |
| 2013 |
// - Domain names must include the reseller domain. |
| 2014 |
// - Specify all transferring entitlements. |
| 2015 |
// |
| 2016 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2017 |
// backend. Contact Cloud Channel support. |
| 2018 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2019 |
// Contact Cloud Channel support. |
| 2020 |
// |
| 2021 |
// Return value: |
| 2022 |
// The ID of a long-running operation. |
| 2023 |
// |
| 2024 |
// To get the results of the operation, call the GetOperation method of |
| 2025 |
// CloudChannelOperationsService. The Operation metadata will contain an |
| 2026 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 2027 |
TransferEntitlements(context.Context, *TransferEntitlementsRequest) (*longrunningpb.Operation, error) |
| 2028 |
// Transfers customer entitlements from their current reseller to Google. |
| 2029 |
// |
| 2030 |
// Possible error codes: |
| 2031 |
// |
| 2032 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 2033 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2034 |
// * NOT_FOUND: The customer or offer resource was not found. |
| 2035 |
// * ALREADY_EXISTS: The SKU was already transferred for the customer. |
| 2036 |
// * CONDITION_NOT_MET or FAILED_PRECONDITION: |
| 2037 |
// - The SKU requires domain verification to transfer, but the domain is |
| 2038 |
// not verified. |
| 2039 |
// - An Add-On SKU (example, Vault or Drive) is missing the |
| 2040 |
// pre-requisite SKU (example, G Suite Basic). |
| 2041 |
// - (Developer accounts only) Reseller and resold domain must meet the |
| 2042 |
// following naming requirements: |
| 2043 |
// - Domain names must start with goog-test. |
| 2044 |
// - Domain names must include the reseller domain. |
| 2045 |
// |
| 2046 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2047 |
// backend. Contact Cloud Channel support. |
| 2048 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2049 |
// Contact Cloud Channel support. |
| 2050 |
// |
| 2051 |
// Return value: |
| 2052 |
// The ID of a long-running operation. |
| 2053 |
// |
| 2054 |
// To get the results of the operation, call the GetOperation method of |
| 2055 |
// CloudChannelOperationsService. The response will contain |
| 2056 |
// google.protobuf.Empty on success. The Operation metadata will contain an |
| 2057 |
// instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata]. |
| 2058 |
TransferEntitlementsToGoogle(context.Context, *TransferEntitlementsToGoogleRequest) (*longrunningpb.Operation, error) |
| 2059 |
// List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s |
| 2060 |
// belonging to a distributor. You must be a distributor to call this method. |
| 2061 |
// |
| 2062 |
// Possible error codes: |
| 2063 |
// |
| 2064 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 2065 |
// from the reseller account in the API request. |
| 2066 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2067 |
// |
| 2068 |
// Return value: |
| 2069 |
// The list of the distributor account's |
| 2070 |
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources. |
| 2071 |
ListChannelPartnerLinks(context.Context, *ListChannelPartnerLinksRequest) (*ListChannelPartnerLinksResponse, error) |
| 2072 |
// Returns the requested |
| 2073 |
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. |
| 2074 |
// You must be a distributor to call this method. |
| 2075 |
// |
| 2076 |
// Possible error codes: |
| 2077 |
// |
| 2078 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 2079 |
// from the reseller account in the API request. |
| 2080 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2081 |
// * NOT_FOUND: ChannelPartnerLink resource not found because of an |
| 2082 |
// invalid channel partner link name. |
| 2083 |
// |
| 2084 |
// Return value: |
| 2085 |
// The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] |
| 2086 |
// resource. |
| 2087 |
GetChannelPartnerLink(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error) |
| 2088 |
// Initiates a channel partner link between a distributor and a reseller, or |
| 2089 |
// between resellers in an n-tier reseller channel. |
| 2090 |
// Invited partners need to follow the invite_link_uri provided in the |
| 2091 |
// response to accept. After accepting the invitation, a link is set up |
| 2092 |
// between the two parties. |
| 2093 |
// You must be a distributor to call this method. |
| 2094 |
// |
| 2095 |
// Possible error codes: |
| 2096 |
// |
| 2097 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 2098 |
// from the reseller account in the API request. |
| 2099 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2100 |
// * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already |
| 2101 |
// exists. |
| 2102 |
// * NOT_FOUND: No Cloud Identity customer exists for provided domain. |
| 2103 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2104 |
// backend. Contact Cloud Channel support. |
| 2105 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2106 |
// Contact Cloud Channel support. |
| 2107 |
// |
| 2108 |
// Return value: |
| 2109 |
// The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] |
| 2110 |
// resource. |
| 2111 |
CreateChannelPartnerLink(context.Context, *CreateChannelPartnerLinkRequest) (*ChannelPartnerLink, error) |
| 2112 |
// Updates a channel partner link. Distributors call this method to change a |
| 2113 |
// link's status. For example, to suspend a partner link. |
| 2114 |
// You must be a distributor to call this method. |
| 2115 |
// |
| 2116 |
// Possible error codes: |
| 2117 |
// |
| 2118 |
// * PERMISSION_DENIED: The reseller account making the request is different |
| 2119 |
// from the reseller account in the API request. |
| 2120 |
// * INVALID_ARGUMENT: |
| 2121 |
// - Required request parameters are missing or invalid. |
| 2122 |
// - Link state cannot change from invited to active or suspended. |
| 2123 |
// - Cannot send reseller_cloud_identity_id, invite_url, or name in update |
| 2124 |
// mask. |
| 2125 |
// |
| 2126 |
// * NOT_FOUND: ChannelPartnerLink resource not found. |
| 2127 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2128 |
// backend. Contact Cloud Channel support. |
| 2129 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2130 |
// Contact Cloud Channel support. |
| 2131 |
// |
| 2132 |
// Return value: |
| 2133 |
// The updated |
| 2134 |
// [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource. |
| 2135 |
UpdateChannelPartnerLink(context.Context, *UpdateChannelPartnerLinkRequest) (*ChannelPartnerLink, error) |
| 2136 |
// Gets information about how a Reseller modifies their bill before sending |
| 2137 |
// it to a Customer. |
| 2138 |
// |
| 2139 |
// Possible Error Codes: |
| 2140 |
// |
| 2141 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2142 |
// being queried are different. |
| 2143 |
// * NOT_FOUND: The |
| 2144 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2145 |
// was not found. |
| 2146 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2147 |
// backend. In this case, contact Cloud Channel support. |
| 2148 |
// |
| 2149 |
// Return Value: |
| 2150 |
// If successful, the |
| 2151 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2152 |
// resource, otherwise returns an error. |
| 2153 |
GetCustomerRepricingConfig(context.Context, *GetCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error) |
| 2154 |
// Lists information about how a Reseller modifies their bill before sending |
| 2155 |
// it to a Customer. |
| 2156 |
// |
| 2157 |
// Possible Error Codes: |
| 2158 |
// |
| 2159 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2160 |
// being queried are different. |
| 2161 |
// * NOT_FOUND: The |
| 2162 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2163 |
// specified does not exist or is not associated with the given account. |
| 2164 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2165 |
// backend. In this case, contact Cloud Channel support. |
| 2166 |
// |
| 2167 |
// Return Value: |
| 2168 |
// If successful, the |
| 2169 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2170 |
// resources. The data for each resource is displayed in the ascending order |
| 2171 |
// of: |
| 2172 |
// |
| 2173 |
// * Customer ID |
| 2174 |
// * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement] |
| 2175 |
// * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2176 |
// * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time] |
| 2177 |
// |
| 2178 |
// If unsuccessful, returns an error. |
| 2179 |
ListCustomerRepricingConfigs(context.Context, *ListCustomerRepricingConfigsRequest) (*ListCustomerRepricingConfigsResponse, error) |
| 2180 |
// Creates a CustomerRepricingConfig. Call this method to set modifications |
| 2181 |
// for a specific customer's bill. You can only create configs if the |
| 2182 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2183 |
// is a future month. If needed, you can create a config for the current |
| 2184 |
// month, with some restrictions. |
| 2185 |
// |
| 2186 |
// When creating a config for a future month, make sure there are no existing |
| 2187 |
// configs for that |
| 2188 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 2189 |
// |
| 2190 |
// The following restrictions are for creating configs in the current month. |
| 2191 |
// |
| 2192 |
// * This functionality is reserved for recovering from an erroneous config, |
| 2193 |
// and should not be used for regular business cases. |
| 2194 |
// * The new config will not modify exports used with other configs. |
| 2195 |
// Changes to the config may be immediate, but may take up to 24 hours. |
| 2196 |
// * There is a limit of ten configs for any |
| 2197 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement], |
| 2198 |
// for any |
| 2199 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 2200 |
// * The contained |
| 2201 |
// [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] |
| 2202 |
// value must be different from the value used in the current config for a |
| 2203 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. |
| 2204 |
// |
| 2205 |
// Possible Error Codes: |
| 2206 |
// |
| 2207 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2208 |
// being queried are different. |
| 2209 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 2210 |
// request. Also displays if the updated config is for the current month or |
| 2211 |
// past months. |
| 2212 |
// * NOT_FOUND: The |
| 2213 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2214 |
// specified does not exist or is not associated with the given account. |
| 2215 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2216 |
// backend. In this case, contact Cloud Channel support. |
| 2217 |
// |
| 2218 |
// Return Value: |
| 2219 |
// If successful, the updated |
| 2220 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2221 |
// resource, otherwise returns an error. |
| 2222 |
CreateCustomerRepricingConfig(context.Context, *CreateCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error) |
| 2223 |
// Updates a CustomerRepricingConfig. Call this method to set modifications |
| 2224 |
// for a specific customer's bill. This method overwrites the existing |
| 2225 |
// CustomerRepricingConfig. |
| 2226 |
// |
| 2227 |
// You can only update configs if the |
| 2228 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2229 |
// is a future month. To make changes to configs for the current month, use |
| 2230 |
// [CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig], |
| 2231 |
// taking note of its restrictions. You cannot update the |
| 2232 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 2233 |
// |
| 2234 |
// When updating a config in the future: |
| 2235 |
// |
| 2236 |
// * This config must already exist. |
| 2237 |
// |
| 2238 |
// Possible Error Codes: |
| 2239 |
// |
| 2240 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2241 |
// being queried are different. |
| 2242 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 2243 |
// request. Also displays if the updated config is for the current month or |
| 2244 |
// past months. |
| 2245 |
// * NOT_FOUND: The |
| 2246 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2247 |
// specified does not exist or is not associated with the given account. |
| 2248 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2249 |
// backend. In this case, contact Cloud Channel support. |
| 2250 |
// |
| 2251 |
// Return Value: |
| 2252 |
// If successful, the updated |
| 2253 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2254 |
// resource, otherwise returns an error. |
| 2255 |
UpdateCustomerRepricingConfig(context.Context, *UpdateCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error) |
| 2256 |
// Deletes the given |
| 2257 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2258 |
// permanently. You can only delete configs if their |
| 2259 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2260 |
// is set to a date after the current month. |
| 2261 |
// |
| 2262 |
// Possible error codes: |
| 2263 |
// |
| 2264 |
// * PERMISSION_DENIED: The account making the request does not own |
| 2265 |
// this customer. |
| 2266 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2267 |
// * FAILED_PRECONDITION: The |
| 2268 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2269 |
// is active or in the past. |
| 2270 |
// * NOT_FOUND: No |
| 2271 |
// [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] |
| 2272 |
// found for the name in the request. |
| 2273 |
DeleteCustomerRepricingConfig(context.Context, *DeleteCustomerRepricingConfigRequest) (*emptypb.Empty, error) |
| 2274 |
// Gets information about how a Distributor modifies their bill before sending |
| 2275 |
// it to a ChannelPartner. |
| 2276 |
// |
| 2277 |
// Possible Error Codes: |
| 2278 |
// |
| 2279 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2280 |
// being queried are different. |
| 2281 |
// * NOT_FOUND: The |
| 2282 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2283 |
// was not found. |
| 2284 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2285 |
// backend. In this case, contact Cloud Channel support. |
| 2286 |
// |
| 2287 |
// Return Value: |
| 2288 |
// If successful, the |
| 2289 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2290 |
// resource, otherwise returns an error. |
| 2291 |
GetChannelPartnerRepricingConfig(context.Context, *GetChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error) |
| 2292 |
// Lists information about how a Reseller modifies their bill before sending |
| 2293 |
// it to a ChannelPartner. |
| 2294 |
// |
| 2295 |
// Possible Error Codes: |
| 2296 |
// |
| 2297 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2298 |
// being queried are different. |
| 2299 |
// * NOT_FOUND: The |
| 2300 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2301 |
// specified does not exist or is not associated with the given account. |
| 2302 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2303 |
// backend. In this case, contact Cloud Channel support. |
| 2304 |
// |
| 2305 |
// Return Value: |
| 2306 |
// If successful, the |
| 2307 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2308 |
// resources. The data for each resource is displayed in the ascending order |
| 2309 |
// of: |
| 2310 |
// |
| 2311 |
// * Channel Partner ID |
| 2312 |
// * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2313 |
// * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time] |
| 2314 |
// |
| 2315 |
// If unsuccessful, returns an error. |
| 2316 |
ListChannelPartnerRepricingConfigs(context.Context, *ListChannelPartnerRepricingConfigsRequest) (*ListChannelPartnerRepricingConfigsResponse, error) |
| 2317 |
// Creates a ChannelPartnerRepricingConfig. Call this method to set |
| 2318 |
// modifications for a specific ChannelPartner's bill. You can only create |
| 2319 |
// configs if the |
| 2320 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2321 |
// is a future month. If needed, you can create a config for the current |
| 2322 |
// month, with some restrictions. |
| 2323 |
// |
| 2324 |
// When creating a config for a future month, make sure there are no existing |
| 2325 |
// configs for that |
| 2326 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 2327 |
// |
| 2328 |
// The following restrictions are for creating configs in the current month. |
| 2329 |
// |
| 2330 |
// * This functionality is reserved for recovering from an erroneous config, |
| 2331 |
// and should not be used for regular business cases. |
| 2332 |
// * The new config will not modify exports used with other configs. |
| 2333 |
// Changes to the config may be immediate, but may take up to 24 hours. |
| 2334 |
// * There is a limit of ten configs for any ChannelPartner or |
| 2335 |
// [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement], |
| 2336 |
// for any |
| 2337 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 2338 |
// * The contained |
| 2339 |
// [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] |
| 2340 |
// value must be different from the value used in the current config for a |
| 2341 |
// ChannelPartner. |
| 2342 |
// |
| 2343 |
// Possible Error Codes: |
| 2344 |
// |
| 2345 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2346 |
// being queried are different. |
| 2347 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 2348 |
// request. Also displays if the updated config is for the current month or |
| 2349 |
// past months. |
| 2350 |
// * NOT_FOUND: The |
| 2351 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2352 |
// specified does not exist or is not associated with the given account. |
| 2353 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2354 |
// backend. In this case, contact Cloud Channel support. |
| 2355 |
// |
| 2356 |
// Return Value: |
| 2357 |
// If successful, the updated |
| 2358 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2359 |
// resource, otherwise returns an error. |
| 2360 |
CreateChannelPartnerRepricingConfig(context.Context, *CreateChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error) |
| 2361 |
// Updates a ChannelPartnerRepricingConfig. Call this method to set |
| 2362 |
// modifications for a specific ChannelPartner's bill. This method overwrites |
| 2363 |
// the existing CustomerRepricingConfig. |
| 2364 |
// |
| 2365 |
// You can only update configs if the |
| 2366 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2367 |
// is a future month. To make changes to configs for the current month, use |
| 2368 |
// [CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig], |
| 2369 |
// taking note of its restrictions. You cannot update the |
| 2370 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. |
| 2371 |
// |
| 2372 |
// When updating a config in the future: |
| 2373 |
// |
| 2374 |
// * This config must already exist. |
| 2375 |
// |
| 2376 |
// Possible Error Codes: |
| 2377 |
// |
| 2378 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2379 |
// being queried are different. |
| 2380 |
// * INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 2381 |
// request. Also displays if the updated config is for the current month or |
| 2382 |
// past months. |
| 2383 |
// * NOT_FOUND: The |
| 2384 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2385 |
// specified does not exist or is not associated with the given account. |
| 2386 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2387 |
// backend. In this case, contact Cloud Channel support. |
| 2388 |
// |
| 2389 |
// Return Value: |
| 2390 |
// If successful, the updated |
| 2391 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2392 |
// resource, otherwise returns an error. |
| 2393 |
UpdateChannelPartnerRepricingConfig(context.Context, *UpdateChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error) |
| 2394 |
// Deletes the given |
| 2395 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2396 |
// permanently. You can only delete configs if their |
| 2397 |
// [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] |
| 2398 |
// is set to a date after the current month. |
| 2399 |
// |
| 2400 |
// Possible error codes: |
| 2401 |
// |
| 2402 |
// * PERMISSION_DENIED: The account making the request does not own |
| 2403 |
// this customer. |
| 2404 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2405 |
// * FAILED_PRECONDITION: The |
| 2406 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2407 |
// is active or in the past. |
| 2408 |
// * NOT_FOUND: No |
| 2409 |
// [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] |
| 2410 |
// found for the name in the request. |
| 2411 |
DeleteChannelPartnerRepricingConfig(context.Context, *DeleteChannelPartnerRepricingConfigRequest) (*emptypb.Empty, error) |
| 2412 |
// Lists the Rebilling supported SKU groups the account is authorized to |
| 2413 |
// sell. |
| 2414 |
// Reference: https://cloud.google.com/skus/sku-groups |
| 2415 |
// |
| 2416 |
// Possible Error Codes: |
| 2417 |
// |
| 2418 |
// * PERMISSION_DENIED: If the account making the request and the account |
| 2419 |
// being queried are different, or the account doesn't exist. |
| 2420 |
// * INTERNAL: Any non-user error related to technical issues in the |
| 2421 |
// backend. In this case, contact Cloud Channel support. |
| 2422 |
// |
| 2423 |
// Return Value: |
| 2424 |
// If successful, the [SkuGroup][google.cloud.channel.v1.SkuGroup] resources. |
| 2425 |
// The data for each resource is displayed in the alphabetical order of SKU |
| 2426 |
// group display name. |
| 2427 |
// The data for each resource is displayed in the ascending order of |
| 2428 |
// [SkuGroup.display_name][google.cloud.channel.v1.SkuGroup.display_name] |
| 2429 |
// |
| 2430 |
// If unsuccessful, returns an error. |
| 2431 |
ListSkuGroups(context.Context, *ListSkuGroupsRequest) (*ListSkuGroupsResponse, error) |
| 2432 |
// Lists the Billable SKUs in a given SKU group. |
| 2433 |
// |
| 2434 |
// Possible error codes: |
| 2435 |
// PERMISSION_DENIED: If the account making the request and the account |
| 2436 |
// being queried for are different, or the account doesn't exist. |
| 2437 |
// INVALID_ARGUMENT: Missing or invalid required parameters in the |
| 2438 |
// request. |
| 2439 |
// INTERNAL: Any non-user error related to technical issue in the |
| 2440 |
// backend. In this case, contact cloud channel support. |
| 2441 |
// |
| 2442 |
// Return Value: |
| 2443 |
// If successful, the [BillableSku][google.cloud.channel.v1.BillableSku] |
| 2444 |
// resources. The data for each resource is displayed in the ascending order |
| 2445 |
// of: |
| 2446 |
// |
| 2447 |
// * [BillableSku.service_display_name][google.cloud.channel.v1.BillableSku.service_display_name] |
| 2448 |
// * [BillableSku.sku_display_name][google.cloud.channel.v1.BillableSku.sku_display_name] |
| 2449 |
// |
| 2450 |
// If unsuccessful, returns an error. |
| 2451 |
ListSkuGroupBillableSkus(context.Context, *ListSkuGroupBillableSkusRequest) (*ListSkuGroupBillableSkusResponse, error) |
| 2452 |
// Returns the requested [Offer][google.cloud.channel.v1.Offer] resource. |
| 2453 |
// |
| 2454 |
// Possible error codes: |
| 2455 |
// |
| 2456 |
// * PERMISSION_DENIED: The entitlement doesn't belong to the reseller. |
| 2457 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2458 |
// * NOT_FOUND: Entitlement or offer was not found. |
| 2459 |
// |
| 2460 |
// Return value: |
| 2461 |
// The [Offer][google.cloud.channel.v1.Offer] resource. |
| 2462 |
LookupOffer(context.Context, *LookupOfferRequest) (*Offer, error) |
| 2463 |
// Lists the Products the reseller is authorized to sell. |
| 2464 |
// |
| 2465 |
// Possible error codes: |
| 2466 |
// |
| 2467 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2468 |
ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error) |
| 2469 |
// Lists the SKUs for a product the reseller is authorized to sell. |
| 2470 |
// |
| 2471 |
// Possible error codes: |
| 2472 |
// |
| 2473 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2474 |
ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error) |
| 2475 |
// Lists the Offers the reseller can sell. |
| 2476 |
// |
| 2477 |
// Possible error codes: |
| 2478 |
// |
| 2479 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2480 |
ListOffers(context.Context, *ListOffersRequest) (*ListOffersResponse, error) |
| 2481 |
// Lists the following: |
| 2482 |
// |
| 2483 |
// * SKUs that you can purchase for a customer |
| 2484 |
// * SKUs that you can upgrade or downgrade for an entitlement. |
| 2485 |
// |
| 2486 |
// Possible error codes: |
| 2487 |
// |
| 2488 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 2489 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2490 |
ListPurchasableSkus(context.Context, *ListPurchasableSkusRequest) (*ListPurchasableSkusResponse, error) |
| 2491 |
// Lists the following: |
| 2492 |
// |
| 2493 |
// * Offers that you can purchase for a customer. |
| 2494 |
// * Offers that you can change for an entitlement. |
| 2495 |
// |
| 2496 |
// Possible error codes: |
| 2497 |
// |
| 2498 |
// * PERMISSION_DENIED: |
| 2499 |
// - The customer doesn't belong to the reseller |
| 2500 |
// - The reseller is not authorized to transact on this Product. See |
| 2501 |
// https://support.google.com/channelservices/answer/9759265 |
| 2502 |
// |
| 2503 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2504 |
ListPurchasableOffers(context.Context, *ListPurchasableOffersRequest) (*ListPurchasableOffersResponse, error) |
| 2505 |
// Lists the billing accounts that are eligible to purchase particular SKUs |
| 2506 |
// for a given customer. |
| 2507 |
// |
| 2508 |
// Possible error codes: |
| 2509 |
// |
| 2510 |
// * PERMISSION_DENIED: The customer doesn't belong to the reseller. |
| 2511 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2512 |
// |
| 2513 |
// Return value: |
| 2514 |
// Based on the provided list of SKUs, returns a list of SKU groups that must |
| 2515 |
// be purchased using the same billing account and the billing accounts |
| 2516 |
// eligible to purchase each SKU group. |
| 2517 |
QueryEligibleBillingAccounts(context.Context, *QueryEligibleBillingAccountsRequest) (*QueryEligibleBillingAccountsResponse, error) |
| 2518 |
// Registers a service account with subscriber privileges on the Cloud Pub/Sub |
| 2519 |
// topic for this Channel Services account. After you create a |
| 2520 |
// subscriber, you get the events through |
| 2521 |
// [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent] |
| 2522 |
// |
| 2523 |
// Possible error codes: |
| 2524 |
// |
| 2525 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 2526 |
// provided reseller account are different, or the impersonated user |
| 2527 |
// is not a super admin. |
| 2528 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2529 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2530 |
// backend. Contact Cloud Channel support. |
| 2531 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2532 |
// Contact Cloud Channel support. |
| 2533 |
// |
| 2534 |
// Return value: |
| 2535 |
// The topic name with the registered service email address. |
| 2536 |
RegisterSubscriber(context.Context, *RegisterSubscriberRequest) (*RegisterSubscriberResponse, error) |
| 2537 |
// Unregisters a service account with subscriber privileges on the Cloud |
| 2538 |
// Pub/Sub topic created for this Channel Services account. If there are no |
| 2539 |
// service accounts left with subscriber privileges, this deletes the topic. |
| 2540 |
// You can call ListSubscribers to check for these accounts. |
| 2541 |
// |
| 2542 |
// Possible error codes: |
| 2543 |
// |
| 2544 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 2545 |
// provided reseller account are different, or the impersonated user |
| 2546 |
// is not a super admin. |
| 2547 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2548 |
// * NOT_FOUND: The topic resource doesn't exist. |
| 2549 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2550 |
// backend. Contact Cloud Channel support. |
| 2551 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2552 |
// Contact Cloud Channel support. |
| 2553 |
// |
| 2554 |
// Return value: |
| 2555 |
// The topic name that unregistered the service email address. |
| 2556 |
// Returns a success response if the service email address wasn't registered |
| 2557 |
// with the topic. |
| 2558 |
UnregisterSubscriber(context.Context, *UnregisterSubscriberRequest) (*UnregisterSubscriberResponse, error) |
| 2559 |
// Lists service accounts with subscriber privileges on the Cloud Pub/Sub |
| 2560 |
// topic created for this Channel Services account. |
| 2561 |
// |
| 2562 |
// Possible error codes: |
| 2563 |
// |
| 2564 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 2565 |
// provided reseller account are different, or the impersonated user |
| 2566 |
// is not a super admin. |
| 2567 |
// * INVALID_ARGUMENT: Required request parameters are missing or invalid. |
| 2568 |
// * NOT_FOUND: The topic resource doesn't exist. |
| 2569 |
// * INTERNAL: Any non-user error related to a technical issue in the |
| 2570 |
// backend. Contact Cloud Channel support. |
| 2571 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2572 |
// Contact Cloud Channel support. |
| 2573 |
// |
| 2574 |
// Return value: |
| 2575 |
// A list of service email addresses. |
| 2576 |
ListSubscribers(context.Context, *ListSubscribersRequest) (*ListSubscribersResponse, error) |
| 2577 |
// List entitlement history. |
| 2578 |
// |
| 2579 |
// Possible error codes: |
| 2580 |
// |
| 2581 |
// * PERMISSION_DENIED: The reseller account making the request and the |
| 2582 |
// provided reseller account are different. |
| 2583 |
// * INVALID_ARGUMENT: Missing or invalid required fields in the request. |
| 2584 |
// * NOT_FOUND: The parent resource doesn't exist. Usually the result of an |
| 2585 |
// invalid name parameter. |
| 2586 |
// * INTERNAL: Any non-user error related to a technical issue in the backend. |
| 2587 |
// In this case, contact CloudChannel support. |
| 2588 |
// * UNKNOWN: Any non-user error related to a technical issue in the backend. |
| 2589 |
// In this case, contact Cloud Channel support. |
| 2590 |
// |
| 2591 |
// Return value: |
| 2592 |
// List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s. |
| 2593 |
ListEntitlementChanges(context.Context, *ListEntitlementChangesRequest) (*ListEntitlementChangesResponse, error) |
| 2594 |
} |
| 2595 |
|
| 2596 |
// UnimplementedCloudChannelServiceServer should be embedded to have forward compatible implementations. |
| 2597 |
type UnimplementedCloudChannelServiceServer struct { |
| 2598 |
} |
| 2599 |
|
| 2600 |
func (UnimplementedCloudChannelServiceServer) ListCustomers(context.Context, *ListCustomersRequest) (*ListCustomersResponse, error) { |
| 2601 |
return nil, status.Errorf(codes.Unimplemented, "method ListCustomers not implemented") |
| 2602 |
} |
| 2603 |
func (UnimplementedCloudChannelServiceServer) GetCustomer(context.Context, *GetCustomerRequest) (*Customer, error) { |
| 2604 |
return nil, status.Errorf(codes.Unimplemented, "method GetCustomer not implemented") |
| 2605 |
} |
| 2606 |
func (UnimplementedCloudChannelServiceServer) CheckCloudIdentityAccountsExist(context.Context, *CheckCloudIdentityAccountsExistRequest) (*CheckCloudIdentityAccountsExistResponse, error) { |
| 2607 |
return nil, status.Errorf(codes.Unimplemented, "method CheckCloudIdentityAccountsExist not implemented") |
| 2608 |
} |
| 2609 |
func (UnimplementedCloudChannelServiceServer) CreateCustomer(context.Context, *CreateCustomerRequest) (*Customer, error) { |
| 2610 |
return nil, status.Errorf(codes.Unimplemented, "method CreateCustomer not implemented") |
| 2611 |
} |
| 2612 |
func (UnimplementedCloudChannelServiceServer) UpdateCustomer(context.Context, *UpdateCustomerRequest) (*Customer, error) { |
| 2613 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomer not implemented") |
| 2614 |
} |
| 2615 |
func (UnimplementedCloudChannelServiceServer) DeleteCustomer(context.Context, *DeleteCustomerRequest) (*emptypb.Empty, error) { |
| 2616 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomer not implemented") |
| 2617 |
} |
| 2618 |
func (UnimplementedCloudChannelServiceServer) ImportCustomer(context.Context, *ImportCustomerRequest) (*Customer, error) { |
| 2619 |
return nil, status.Errorf(codes.Unimplemented, "method ImportCustomer not implemented") |
| 2620 |
} |
| 2621 |
func (UnimplementedCloudChannelServiceServer) ProvisionCloudIdentity(context.Context, *ProvisionCloudIdentityRequest) (*longrunningpb.Operation, error) { |
| 2622 |
return nil, status.Errorf(codes.Unimplemented, "method ProvisionCloudIdentity not implemented") |
| 2623 |
} |
| 2624 |
func (UnimplementedCloudChannelServiceServer) ListEntitlements(context.Context, *ListEntitlementsRequest) (*ListEntitlementsResponse, error) { |
| 2625 |
return nil, status.Errorf(codes.Unimplemented, "method ListEntitlements not implemented") |
| 2626 |
} |
| 2627 |
func (UnimplementedCloudChannelServiceServer) ListTransferableSkus(context.Context, *ListTransferableSkusRequest) (*ListTransferableSkusResponse, error) { |
| 2628 |
return nil, status.Errorf(codes.Unimplemented, "method ListTransferableSkus not implemented") |
| 2629 |
} |
| 2630 |
func (UnimplementedCloudChannelServiceServer) ListTransferableOffers(context.Context, *ListTransferableOffersRequest) (*ListTransferableOffersResponse, error) { |
| 2631 |
return nil, status.Errorf(codes.Unimplemented, "method ListTransferableOffers not implemented") |
| 2632 |
} |
| 2633 |
func (UnimplementedCloudChannelServiceServer) GetEntitlement(context.Context, *GetEntitlementRequest) (*Entitlement, error) { |
| 2634 |
return nil, status.Errorf(codes.Unimplemented, "method GetEntitlement not implemented") |
| 2635 |
} |
| 2636 |
func (UnimplementedCloudChannelServiceServer) CreateEntitlement(context.Context, *CreateEntitlementRequest) (*longrunningpb.Operation, error) { |
| 2637 |
return nil, status.Errorf(codes.Unimplemented, "method CreateEntitlement not implemented") |
| 2638 |
} |
| 2639 |
func (UnimplementedCloudChannelServiceServer) ChangeParameters(context.Context, *ChangeParametersRequest) (*longrunningpb.Operation, error) { |
| 2640 |
return nil, status.Errorf(codes.Unimplemented, "method ChangeParameters not implemented") |
| 2641 |
} |
| 2642 |
func (UnimplementedCloudChannelServiceServer) ChangeRenewalSettings(context.Context, *ChangeRenewalSettingsRequest) (*longrunningpb.Operation, error) { |
| 2643 |
return nil, status.Errorf(codes.Unimplemented, "method ChangeRenewalSettings not implemented") |
| 2644 |
} |
| 2645 |
func (UnimplementedCloudChannelServiceServer) ChangeOffer(context.Context, *ChangeOfferRequest) (*longrunningpb.Operation, error) { |
| 2646 |
return nil, status.Errorf(codes.Unimplemented, "method ChangeOffer not implemented") |
| 2647 |
} |
| 2648 |
func (UnimplementedCloudChannelServiceServer) StartPaidService(context.Context, *StartPaidServiceRequest) (*longrunningpb.Operation, error) { |
| 2649 |
return nil, status.Errorf(codes.Unimplemented, "method StartPaidService not implemented") |
| 2650 |
} |
| 2651 |
func (UnimplementedCloudChannelServiceServer) SuspendEntitlement(context.Context, *SuspendEntitlementRequest) (*longrunningpb.Operation, error) { |
| 2652 |
return nil, status.Errorf(codes.Unimplemented, "method SuspendEntitlement not implemented") |
| 2653 |
} |
| 2654 |
func (UnimplementedCloudChannelServiceServer) CancelEntitlement(context.Context, *CancelEntitlementRequest) (*longrunningpb.Operation, error) { |
| 2655 |
return nil, status.Errorf(codes.Unimplemented, "method CancelEntitlement not implemented") |
| 2656 |
} |
| 2657 |
func (UnimplementedCloudChannelServiceServer) ActivateEntitlement(context.Context, *ActivateEntitlementRequest) (*longrunningpb.Operation, error) { |
| 2658 |
return nil, status.Errorf(codes.Unimplemented, "method ActivateEntitlement not implemented") |
| 2659 |
} |
| 2660 |
func (UnimplementedCloudChannelServiceServer) TransferEntitlements(context.Context, *TransferEntitlementsRequest) (*longrunningpb.Operation, error) { |
| 2661 |
return nil, status.Errorf(codes.Unimplemented, "method TransferEntitlements not implemented") |
| 2662 |
} |
| 2663 |
func (UnimplementedCloudChannelServiceServer) TransferEntitlementsToGoogle(context.Context, *TransferEntitlementsToGoogleRequest) (*longrunningpb.Operation, error) { |
| 2664 |
return nil, status.Errorf(codes.Unimplemented, "method TransferEntitlementsToGoogle not implemented") |
| 2665 |
} |
| 2666 |
func (UnimplementedCloudChannelServiceServer) ListChannelPartnerLinks(context.Context, *ListChannelPartnerLinksRequest) (*ListChannelPartnerLinksResponse, error) { |
| 2667 |
return nil, status.Errorf(codes.Unimplemented, "method ListChannelPartnerLinks not implemented") |
| 2668 |
} |
| 2669 |
func (UnimplementedCloudChannelServiceServer) GetChannelPartnerLink(context.Context, *GetChannelPartnerLinkRequest) (*ChannelPartnerLink, error) { |
| 2670 |
return nil, status.Errorf(codes.Unimplemented, "method GetChannelPartnerLink not implemented") |
| 2671 |
} |
| 2672 |
func (UnimplementedCloudChannelServiceServer) CreateChannelPartnerLink(context.Context, *CreateChannelPartnerLinkRequest) (*ChannelPartnerLink, error) { |
| 2673 |
return nil, status.Errorf(codes.Unimplemented, "method CreateChannelPartnerLink not implemented") |
| 2674 |
} |
| 2675 |
func (UnimplementedCloudChannelServiceServer) UpdateChannelPartnerLink(context.Context, *UpdateChannelPartnerLinkRequest) (*ChannelPartnerLink, error) { |
| 2676 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateChannelPartnerLink not implemented") |
| 2677 |
} |
| 2678 |
func (UnimplementedCloudChannelServiceServer) GetCustomerRepricingConfig(context.Context, *GetCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error) { |
| 2679 |
return nil, status.Errorf(codes.Unimplemented, "method GetCustomerRepricingConfig not implemented") |
| 2680 |
} |
| 2681 |
func (UnimplementedCloudChannelServiceServer) ListCustomerRepricingConfigs(context.Context, *ListCustomerRepricingConfigsRequest) (*ListCustomerRepricingConfigsResponse, error) { |
| 2682 |
return nil, status.Errorf(codes.Unimplemented, "method ListCustomerRepricingConfigs not implemented") |
| 2683 |
} |
| 2684 |
func (UnimplementedCloudChannelServiceServer) CreateCustomerRepricingConfig(context.Context, *CreateCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error) { |
| 2685 |
return nil, status.Errorf(codes.Unimplemented, "method CreateCustomerRepricingConfig not implemented") |
| 2686 |
} |
| 2687 |
func (UnimplementedCloudChannelServiceServer) UpdateCustomerRepricingConfig(context.Context, *UpdateCustomerRepricingConfigRequest) (*CustomerRepricingConfig, error) { |
| 2688 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomerRepricingConfig not implemented") |
| 2689 |
} |
| 2690 |
func (UnimplementedCloudChannelServiceServer) DeleteCustomerRepricingConfig(context.Context, *DeleteCustomerRepricingConfigRequest) (*emptypb.Empty, error) { |
| 2691 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomerRepricingConfig not implemented") |
| 2692 |
} |
| 2693 |
func (UnimplementedCloudChannelServiceServer) GetChannelPartnerRepricingConfig(context.Context, *GetChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error) { |
| 2694 |
return nil, status.Errorf(codes.Unimplemented, "method GetChannelPartnerRepricingConfig not implemented") |
| 2695 |
} |
| 2696 |
func (UnimplementedCloudChannelServiceServer) ListChannelPartnerRepricingConfigs(context.Context, *ListChannelPartnerRepricingConfigsRequest) (*ListChannelPartnerRepricingConfigsResponse, error) { |
| 2697 |
return nil, status.Errorf(codes.Unimplemented, "method ListChannelPartnerRepricingConfigs not implemented") |
| 2698 |
} |
| 2699 |
func (UnimplementedCloudChannelServiceServer) CreateChannelPartnerRepricingConfig(context.Context, *CreateChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error) { |
| 2700 |
return nil, status.Errorf(codes.Unimplemented, "method CreateChannelPartnerRepricingConfig not implemented") |
| 2701 |
} |
| 2702 |
func (UnimplementedCloudChannelServiceServer) UpdateChannelPartnerRepricingConfig(context.Context, *UpdateChannelPartnerRepricingConfigRequest) (*ChannelPartnerRepricingConfig, error) { |
| 2703 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateChannelPartnerRepricingConfig not implemented") |
| 2704 |
} |
| 2705 |
func (UnimplementedCloudChannelServiceServer) DeleteChannelPartnerRepricingConfig(context.Context, *DeleteChannelPartnerRepricingConfigRequest) (*emptypb.Empty, error) { |
| 2706 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteChannelPartnerRepricingConfig not implemented") |
| 2707 |
} |
| 2708 |
func (UnimplementedCloudChannelServiceServer) ListSkuGroups(context.Context, *ListSkuGroupsRequest) (*ListSkuGroupsResponse, error) { |
| 2709 |
return nil, status.Errorf(codes.Unimplemented, "method ListSkuGroups not implemented") |
| 2710 |
} |
| 2711 |
func (UnimplementedCloudChannelServiceServer) ListSkuGroupBillableSkus(context.Context, *ListSkuGroupBillableSkusRequest) (*ListSkuGroupBillableSkusResponse, error) { |
| 2712 |
return nil, status.Errorf(codes.Unimplemented, "method ListSkuGroupBillableSkus not implemented") |
| 2713 |
} |
| 2714 |
func (UnimplementedCloudChannelServiceServer) LookupOffer(context.Context, *LookupOfferRequest) (*Offer, error) { |
| 2715 |
return nil, status.Errorf(codes.Unimplemented, "method LookupOffer not implemented") |
| 2716 |
} |
| 2717 |
func (UnimplementedCloudChannelServiceServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error) { |
| 2718 |
return nil, status.Errorf(codes.Unimplemented, "method ListProducts not implemented") |
| 2719 |
} |
| 2720 |
func (UnimplementedCloudChannelServiceServer) ListSkus(context.Context, *ListSkusRequest) (*ListSkusResponse, error) { |
| 2721 |
return nil, status.Errorf(codes.Unimplemented, "method ListSkus not implemented") |
| 2722 |
} |
| 2723 |
func (UnimplementedCloudChannelServiceServer) ListOffers(context.Context, *ListOffersRequest) (*ListOffersResponse, error) { |
| 2724 |
return nil, status.Errorf(codes.Unimplemented, "method ListOffers not implemented") |
| 2725 |
} |
| 2726 |
func (UnimplementedCloudChannelServiceServer) ListPurchasableSkus(context.Context, *ListPurchasableSkusRequest) (*ListPurchasableSkusResponse, error) { |
| 2727 |
return nil, status.Errorf(codes.Unimplemented, "method ListPurchasableSkus not implemented") |
| 2728 |
} |
| 2729 |
func (UnimplementedCloudChannelServiceServer) ListPurchasableOffers(context.Context, *ListPurchasableOffersRequest) (*ListPurchasableOffersResponse, error) { |
| 2730 |
return nil, status.Errorf(codes.Unimplemented, "method ListPurchasableOffers not implemented") |
| 2731 |
} |
| 2732 |
func (UnimplementedCloudChannelServiceServer) QueryEligibleBillingAccounts(context.Context, *QueryEligibleBillingAccountsRequest) (*QueryEligibleBillingAccountsResponse, error) { |
| 2733 |
return nil, status.Errorf(codes.Unimplemented, "method QueryEligibleBillingAccounts not implemented") |
| 2734 |
} |
| 2735 |
func (UnimplementedCloudChannelServiceServer) RegisterSubscriber(context.Context, *RegisterSubscriberRequest) (*RegisterSubscriberResponse, error) { |
| 2736 |
return nil, status.Errorf(codes.Unimplemented, "method RegisterSubscriber not implemented") |
| 2737 |
} |
| 2738 |
func (UnimplementedCloudChannelServiceServer) UnregisterSubscriber(context.Context, *UnregisterSubscriberRequest) (*UnregisterSubscriberResponse, error) { |
| 2739 |
return nil, status.Errorf(codes.Unimplemented, "method UnregisterSubscriber not implemented") |
| 2740 |
} |
| 2741 |
func (UnimplementedCloudChannelServiceServer) ListSubscribers(context.Context, *ListSubscribersRequest) (*ListSubscribersResponse, error) { |
| 2742 |
return nil, status.Errorf(codes.Unimplemented, "method ListSubscribers not implemented") |
| 2743 |
} |
| 2744 |
func (UnimplementedCloudChannelServiceServer) ListEntitlementChanges(context.Context, *ListEntitlementChangesRequest) (*ListEntitlementChangesResponse, error) { |
| 2745 |
return nil, status.Errorf(codes.Unimplemented, "method ListEntitlementChanges not implemented") |
| 2746 |
} |
| 2747 |
|
| 2748 |
// UnsafeCloudChannelServiceServer may be embedded to opt out of forward compatibility for this service. |
| 2749 |
// Use of this interface is not recommended, as added methods to CloudChannelServiceServer will |
| 2750 |
// result in compilation errors. |
| 2751 |
type UnsafeCloudChannelServiceServer interface { |
| 2752 |
mustEmbedUnimplementedCloudChannelServiceServer() |
| 2753 |
} |
| 2754 |
|
| 2755 |
func RegisterCloudChannelServiceServer(s grpc.ServiceRegistrar, srv CloudChannelServiceServer) { |
| 2756 |
s.RegisterService(&CloudChannelService_ServiceDesc, srv) |
| 2757 |
} |
| 2758 |
|
| 2759 |
func _CloudChannelService_ListCustomers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2760 |
in := new(ListCustomersRequest) |
| 2761 |
if err := dec(in); err != nil { |
| 2762 |
return nil, err |
| 2763 |
} |
| 2764 |
if interceptor == nil { |
| 2765 |
return srv.(CloudChannelServiceServer).ListCustomers(ctx, in) |
| 2766 |
} |
| 2767 |
info := &grpc.UnaryServerInfo{ |
| 2768 |
Server: srv, |
| 2769 |
FullMethod: CloudChannelService_ListCustomers_FullMethodName, |
| 2770 |
} |
| 2771 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2772 |
return srv.(CloudChannelServiceServer).ListCustomers(ctx, req.(*ListCustomersRequest)) |
| 2773 |
} |
| 2774 |
return interceptor(ctx, in, info, handler) |
| 2775 |
} |
| 2776 |
|
| 2777 |
func _CloudChannelService_GetCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2778 |
in := new(GetCustomerRequest) |
| 2779 |
if err := dec(in); err != nil { |
| 2780 |
return nil, err |
| 2781 |
} |
| 2782 |
if interceptor == nil { |
| 2783 |
return srv.(CloudChannelServiceServer).GetCustomer(ctx, in) |
| 2784 |
} |
| 2785 |
info := &grpc.UnaryServerInfo{ |
| 2786 |
Server: srv, |
| 2787 |
FullMethod: CloudChannelService_GetCustomer_FullMethodName, |
| 2788 |
} |
| 2789 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2790 |
return srv.(CloudChannelServiceServer).GetCustomer(ctx, req.(*GetCustomerRequest)) |
| 2791 |
} |
| 2792 |
return interceptor(ctx, in, info, handler) |
| 2793 |
} |
| 2794 |
|
| 2795 |
func _CloudChannelService_CheckCloudIdentityAccountsExist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2796 |
in := new(CheckCloudIdentityAccountsExistRequest) |
| 2797 |
if err := dec(in); err != nil { |
| 2798 |
return nil, err |
| 2799 |
} |
| 2800 |
if interceptor == nil { |
| 2801 |
return srv.(CloudChannelServiceServer).CheckCloudIdentityAccountsExist(ctx, in) |
| 2802 |
} |
| 2803 |
info := &grpc.UnaryServerInfo{ |
| 2804 |
Server: srv, |
| 2805 |
FullMethod: CloudChannelService_CheckCloudIdentityAccountsExist_FullMethodName, |
| 2806 |
} |
| 2807 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2808 |
return srv.(CloudChannelServiceServer).CheckCloudIdentityAccountsExist(ctx, req.(*CheckCloudIdentityAccountsExistRequest)) |
| 2809 |
} |
| 2810 |
return interceptor(ctx, in, info, handler) |
| 2811 |
} |
| 2812 |
|
| 2813 |
func _CloudChannelService_CreateCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2814 |
in := new(CreateCustomerRequest) |
| 2815 |
if err := dec(in); err != nil { |
| 2816 |
return nil, err |
| 2817 |
} |
| 2818 |
if interceptor == nil { |
| 2819 |
return srv.(CloudChannelServiceServer).CreateCustomer(ctx, in) |
| 2820 |
} |
| 2821 |
info := &grpc.UnaryServerInfo{ |
| 2822 |
Server: srv, |
| 2823 |
FullMethod: CloudChannelService_CreateCustomer_FullMethodName, |
| 2824 |
} |
| 2825 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2826 |
return srv.(CloudChannelServiceServer).CreateCustomer(ctx, req.(*CreateCustomerRequest)) |
| 2827 |
} |
| 2828 |
return interceptor(ctx, in, info, handler) |
| 2829 |
} |
| 2830 |
|
| 2831 |
func _CloudChannelService_UpdateCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2832 |
in := new(UpdateCustomerRequest) |
| 2833 |
if err := dec(in); err != nil { |
| 2834 |
return nil, err |
| 2835 |
} |
| 2836 |
if interceptor == nil { |
| 2837 |
return srv.(CloudChannelServiceServer).UpdateCustomer(ctx, in) |
| 2838 |
} |
| 2839 |
info := &grpc.UnaryServerInfo{ |
| 2840 |
Server: srv, |
| 2841 |
FullMethod: CloudChannelService_UpdateCustomer_FullMethodName, |
| 2842 |
} |
| 2843 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2844 |
return srv.(CloudChannelServiceServer).UpdateCustomer(ctx, req.(*UpdateCustomerRequest)) |
| 2845 |
} |
| 2846 |
return interceptor(ctx, in, info, handler) |
| 2847 |
} |
| 2848 |
|
| 2849 |
func _CloudChannelService_DeleteCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2850 |
in := new(DeleteCustomerRequest) |
| 2851 |
if err := dec(in); err != nil { |
| 2852 |
return nil, err |
| 2853 |
} |
| 2854 |
if interceptor == nil { |
| 2855 |
return srv.(CloudChannelServiceServer).DeleteCustomer(ctx, in) |
| 2856 |
} |
| 2857 |
info := &grpc.UnaryServerInfo{ |
| 2858 |
Server: srv, |
| 2859 |
FullMethod: CloudChannelService_DeleteCustomer_FullMethodName, |
| 2860 |
} |
| 2861 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2862 |
return srv.(CloudChannelServiceServer).DeleteCustomer(ctx, req.(*DeleteCustomerRequest)) |
| 2863 |
} |
| 2864 |
return interceptor(ctx, in, info, handler) |
| 2865 |
} |
| 2866 |
|
| 2867 |
func _CloudChannelService_ImportCustomer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2868 |
in := new(ImportCustomerRequest) |
| 2869 |
if err := dec(in); err != nil { |
| 2870 |
return nil, err |
| 2871 |
} |
| 2872 |
if interceptor == nil { |
| 2873 |
return srv.(CloudChannelServiceServer).ImportCustomer(ctx, in) |
| 2874 |
} |
| 2875 |
info := &grpc.UnaryServerInfo{ |
| 2876 |
Server: srv, |
| 2877 |
FullMethod: CloudChannelService_ImportCustomer_FullMethodName, |
| 2878 |
} |
| 2879 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2880 |
return srv.(CloudChannelServiceServer).ImportCustomer(ctx, req.(*ImportCustomerRequest)) |
| 2881 |
} |
| 2882 |
return interceptor(ctx, in, info, handler) |
| 2883 |
} |
| 2884 |
|
| 2885 |
func _CloudChannelService_ProvisionCloudIdentity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2886 |
in := new(ProvisionCloudIdentityRequest) |
| 2887 |
if err := dec(in); err != nil { |
| 2888 |
return nil, err |
| 2889 |
} |
| 2890 |
if interceptor == nil { |
| 2891 |
return srv.(CloudChannelServiceServer).ProvisionCloudIdentity(ctx, in) |
| 2892 |
} |
| 2893 |
info := &grpc.UnaryServerInfo{ |
| 2894 |
Server: srv, |
| 2895 |
FullMethod: CloudChannelService_ProvisionCloudIdentity_FullMethodName, |
| 2896 |
} |
| 2897 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2898 |
return srv.(CloudChannelServiceServer).ProvisionCloudIdentity(ctx, req.(*ProvisionCloudIdentityRequest)) |
| 2899 |
} |
| 2900 |
return interceptor(ctx, in, info, handler) |
| 2901 |
} |
| 2902 |
|
| 2903 |
func _CloudChannelService_ListEntitlements_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2904 |
in := new(ListEntitlementsRequest) |
| 2905 |
if err := dec(in); err != nil { |
| 2906 |
return nil, err |
| 2907 |
} |
| 2908 |
if interceptor == nil { |
| 2909 |
return srv.(CloudChannelServiceServer).ListEntitlements(ctx, in) |
| 2910 |
} |
| 2911 |
info := &grpc.UnaryServerInfo{ |
| 2912 |
Server: srv, |
| 2913 |
FullMethod: CloudChannelService_ListEntitlements_FullMethodName, |
| 2914 |
} |
| 2915 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2916 |
return srv.(CloudChannelServiceServer).ListEntitlements(ctx, req.(*ListEntitlementsRequest)) |
| 2917 |
} |
| 2918 |
return interceptor(ctx, in, info, handler) |
| 2919 |
} |
| 2920 |
|
| 2921 |
func _CloudChannelService_ListTransferableSkus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2922 |
in := new(ListTransferableSkusRequest) |
| 2923 |
if err := dec(in); err != nil { |
| 2924 |
return nil, err |
| 2925 |
} |
| 2926 |
if interceptor == nil { |
| 2927 |
return srv.(CloudChannelServiceServer).ListTransferableSkus(ctx, in) |
| 2928 |
} |
| 2929 |
info := &grpc.UnaryServerInfo{ |
| 2930 |
Server: srv, |
| 2931 |
FullMethod: CloudChannelService_ListTransferableSkus_FullMethodName, |
| 2932 |
} |
| 2933 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2934 |
return srv.(CloudChannelServiceServer).ListTransferableSkus(ctx, req.(*ListTransferableSkusRequest)) |
| 2935 |
} |
| 2936 |
return interceptor(ctx, in, info, handler) |
| 2937 |
} |
| 2938 |
|
| 2939 |
func _CloudChannelService_ListTransferableOffers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2940 |
in := new(ListTransferableOffersRequest) |
| 2941 |
if err := dec(in); err != nil { |
| 2942 |
return nil, err |
| 2943 |
} |
| 2944 |
if interceptor == nil { |
| 2945 |
return srv.(CloudChannelServiceServer).ListTransferableOffers(ctx, in) |
| 2946 |
} |
| 2947 |
info := &grpc.UnaryServerInfo{ |
| 2948 |
Server: srv, |
| 2949 |
FullMethod: CloudChannelService_ListTransferableOffers_FullMethodName, |
| 2950 |
} |
| 2951 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2952 |
return srv.(CloudChannelServiceServer).ListTransferableOffers(ctx, req.(*ListTransferableOffersRequest)) |
| 2953 |
} |
| 2954 |
return interceptor(ctx, in, info, handler) |
| 2955 |
} |
| 2956 |
|
| 2957 |
func _CloudChannelService_GetEntitlement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2958 |
in := new(GetEntitlementRequest) |
| 2959 |
if err := dec(in); err != nil { |
| 2960 |
return nil, err |
| 2961 |
} |
| 2962 |
if interceptor == nil { |
| 2963 |
return srv.(CloudChannelServiceServer).GetEntitlement(ctx, in) |
| 2964 |
} |
| 2965 |
info := &grpc.UnaryServerInfo{ |
| 2966 |
Server: srv, |
| 2967 |
FullMethod: CloudChannelService_GetEntitlement_FullMethodName, |
| 2968 |
} |
| 2969 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2970 |
return srv.(CloudChannelServiceServer).GetEntitlement(ctx, req.(*GetEntitlementRequest)) |
| 2971 |
} |
| 2972 |
return interceptor(ctx, in, info, handler) |
| 2973 |
} |
| 2974 |
|
| 2975 |
func _CloudChannelService_CreateEntitlement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2976 |
in := new(CreateEntitlementRequest) |
| 2977 |
if err := dec(in); err != nil { |
| 2978 |
return nil, err |
| 2979 |
} |
| 2980 |
if interceptor == nil { |
| 2981 |
return srv.(CloudChannelServiceServer).CreateEntitlement(ctx, in) |
| 2982 |
} |
| 2983 |
info := &grpc.UnaryServerInfo{ |
| 2984 |
Server: srv, |
| 2985 |
FullMethod: CloudChannelService_CreateEntitlement_FullMethodName, |
| 2986 |
} |
| 2987 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 2988 |
return srv.(CloudChannelServiceServer).CreateEntitlement(ctx, req.(*CreateEntitlementRequest)) |
| 2989 |
} |
| 2990 |
return interceptor(ctx, in, info, handler) |
| 2991 |
} |
| 2992 |
|
| 2993 |
func _CloudChannelService_ChangeParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 2994 |
in := new(ChangeParametersRequest) |
| 2995 |
if err := dec(in); err != nil { |
| 2996 |
return nil, err |
| 2997 |
} |
| 2998 |
if interceptor == nil { |
| 2999 |
return srv.(CloudChannelServiceServer).ChangeParameters(ctx, in) |
| 3000 |
} |
| 3001 |
info := &grpc.UnaryServerInfo{ |
| 3002 |
Server: srv, |
| 3003 |
FullMethod: CloudChannelService_ChangeParameters_FullMethodName, |
| 3004 |
} |
| 3005 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3006 |
return srv.(CloudChannelServiceServer).ChangeParameters(ctx, req.(*ChangeParametersRequest)) |
| 3007 |
} |
| 3008 |
return interceptor(ctx, in, info, handler) |
| 3009 |
} |
| 3010 |
|
| 3011 |
func _CloudChannelService_ChangeRenewalSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3012 |
in := new(ChangeRenewalSettingsRequest) |
| 3013 |
if err := dec(in); err != nil { |
| 3014 |
return nil, err |
| 3015 |
} |
| 3016 |
if interceptor == nil { |
| 3017 |
return srv.(CloudChannelServiceServer).ChangeRenewalSettings(ctx, in) |
| 3018 |
} |
| 3019 |
info := &grpc.UnaryServerInfo{ |
| 3020 |
Server: srv, |
| 3021 |
FullMethod: CloudChannelService_ChangeRenewalSettings_FullMethodName, |
| 3022 |
} |
| 3023 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3024 |
return srv.(CloudChannelServiceServer).ChangeRenewalSettings(ctx, req.(*ChangeRenewalSettingsRequest)) |
| 3025 |
} |
| 3026 |
return interceptor(ctx, in, info, handler) |
| 3027 |
} |
| 3028 |
|
| 3029 |
func _CloudChannelService_ChangeOffer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3030 |
in := new(ChangeOfferRequest) |
| 3031 |
if err := dec(in); err != nil { |
| 3032 |
return nil, err |
| 3033 |
} |
| 3034 |
if interceptor == nil { |
| 3035 |
return srv.(CloudChannelServiceServer).ChangeOffer(ctx, in) |
| 3036 |
} |
| 3037 |
info := &grpc.UnaryServerInfo{ |
| 3038 |
Server: srv, |
| 3039 |
FullMethod: CloudChannelService_ChangeOffer_FullMethodName, |
| 3040 |
} |
| 3041 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3042 |
return srv.(CloudChannelServiceServer).ChangeOffer(ctx, req.(*ChangeOfferRequest)) |
| 3043 |
} |
| 3044 |
return interceptor(ctx, in, info, handler) |
| 3045 |
} |
| 3046 |
|
| 3047 |
func _CloudChannelService_StartPaidService_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3048 |
in := new(StartPaidServiceRequest) |
| 3049 |
if err := dec(in); err != nil { |
| 3050 |
return nil, err |
| 3051 |
} |
| 3052 |
if interceptor == nil { |
| 3053 |
return srv.(CloudChannelServiceServer).StartPaidService(ctx, in) |
| 3054 |
} |
| 3055 |
info := &grpc.UnaryServerInfo{ |
| 3056 |
Server: srv, |
| 3057 |
FullMethod: CloudChannelService_StartPaidService_FullMethodName, |
| 3058 |
} |
| 3059 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3060 |
return srv.(CloudChannelServiceServer).StartPaidService(ctx, req.(*StartPaidServiceRequest)) |
| 3061 |
} |
| 3062 |
return interceptor(ctx, in, info, handler) |
| 3063 |
} |
| 3064 |
|
| 3065 |
func _CloudChannelService_SuspendEntitlement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3066 |
in := new(SuspendEntitlementRequest) |
| 3067 |
if err := dec(in); err != nil { |
| 3068 |
return nil, err |
| 3069 |
} |
| 3070 |
if interceptor == nil { |
| 3071 |
return srv.(CloudChannelServiceServer).SuspendEntitlement(ctx, in) |
| 3072 |
} |
| 3073 |
info := &grpc.UnaryServerInfo{ |
| 3074 |
Server: srv, |
| 3075 |
FullMethod: CloudChannelService_SuspendEntitlement_FullMethodName, |
| 3076 |
} |
| 3077 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3078 |
return srv.(CloudChannelServiceServer).SuspendEntitlement(ctx, req.(*SuspendEntitlementRequest)) |
| 3079 |
} |
| 3080 |
return interceptor(ctx, in, info, handler) |
| 3081 |
} |
| 3082 |
|
| 3083 |
func _CloudChannelService_CancelEntitlement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3084 |
in := new(CancelEntitlementRequest) |
| 3085 |
if err := dec(in); err != nil { |
| 3086 |
return nil, err |
| 3087 |
} |
| 3088 |
if interceptor == nil { |
| 3089 |
return srv.(CloudChannelServiceServer).CancelEntitlement(ctx, in) |
| 3090 |
} |
| 3091 |
info := &grpc.UnaryServerInfo{ |
| 3092 |
Server: srv, |
| 3093 |
FullMethod: CloudChannelService_CancelEntitlement_FullMethodName, |
| 3094 |
} |
| 3095 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3096 |
return srv.(CloudChannelServiceServer).CancelEntitlement(ctx, req.(*CancelEntitlementRequest)) |
| 3097 |
} |
| 3098 |
return interceptor(ctx, in, info, handler) |
| 3099 |
} |
| 3100 |
|
| 3101 |
func _CloudChannelService_ActivateEntitlement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3102 |
in := new(ActivateEntitlementRequest) |
| 3103 |
if err := dec(in); err != nil { |
| 3104 |
return nil, err |
| 3105 |
} |
| 3106 |
if interceptor == nil { |
| 3107 |
return srv.(CloudChannelServiceServer).ActivateEntitlement(ctx, in) |
| 3108 |
} |
| 3109 |
info := &grpc.UnaryServerInfo{ |
| 3110 |
Server: srv, |
| 3111 |
FullMethod: CloudChannelService_ActivateEntitlement_FullMethodName, |
| 3112 |
} |
| 3113 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3114 |
return srv.(CloudChannelServiceServer).ActivateEntitlement(ctx, req.(*ActivateEntitlementRequest)) |
| 3115 |
} |
| 3116 |
return interceptor(ctx, in, info, handler) |
| 3117 |
} |
| 3118 |
|
| 3119 |
func _CloudChannelService_TransferEntitlements_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3120 |
in := new(TransferEntitlementsRequest) |
| 3121 |
if err := dec(in); err != nil { |
| 3122 |
return nil, err |
| 3123 |
} |
| 3124 |
if interceptor == nil { |
| 3125 |
return srv.(CloudChannelServiceServer).TransferEntitlements(ctx, in) |
| 3126 |
} |
| 3127 |
info := &grpc.UnaryServerInfo{ |
| 3128 |
Server: srv, |
| 3129 |
FullMethod: CloudChannelService_TransferEntitlements_FullMethodName, |
| 3130 |
} |
| 3131 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3132 |
return srv.(CloudChannelServiceServer).TransferEntitlements(ctx, req.(*TransferEntitlementsRequest)) |
| 3133 |
} |
| 3134 |
return interceptor(ctx, in, info, handler) |
| 3135 |
} |
| 3136 |
|
| 3137 |
func _CloudChannelService_TransferEntitlementsToGoogle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3138 |
in := new(TransferEntitlementsToGoogleRequest) |
| 3139 |
if err := dec(in); err != nil { |
| 3140 |
return nil, err |
| 3141 |
} |
| 3142 |
if interceptor == nil { |
| 3143 |
return srv.(CloudChannelServiceServer).TransferEntitlementsToGoogle(ctx, in) |
| 3144 |
} |
| 3145 |
info := &grpc.UnaryServerInfo{ |
| 3146 |
Server: srv, |
| 3147 |
FullMethod: CloudChannelService_TransferEntitlementsToGoogle_FullMethodName, |
| 3148 |
} |
| 3149 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3150 |
return srv.(CloudChannelServiceServer).TransferEntitlementsToGoogle(ctx, req.(*TransferEntitlementsToGoogleRequest)) |
| 3151 |
} |
| 3152 |
return interceptor(ctx, in, info, handler) |
| 3153 |
} |
| 3154 |
|
| 3155 |
func _CloudChannelService_ListChannelPartnerLinks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3156 |
in := new(ListChannelPartnerLinksRequest) |
| 3157 |
if err := dec(in); err != nil { |
| 3158 |
return nil, err |
| 3159 |
} |
| 3160 |
if interceptor == nil { |
| 3161 |
return srv.(CloudChannelServiceServer).ListChannelPartnerLinks(ctx, in) |
| 3162 |
} |
| 3163 |
info := &grpc.UnaryServerInfo{ |
| 3164 |
Server: srv, |
| 3165 |
FullMethod: CloudChannelService_ListChannelPartnerLinks_FullMethodName, |
| 3166 |
} |
| 3167 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3168 |
return srv.(CloudChannelServiceServer).ListChannelPartnerLinks(ctx, req.(*ListChannelPartnerLinksRequest)) |
| 3169 |
} |
| 3170 |
return interceptor(ctx, in, info, handler) |
| 3171 |
} |
| 3172 |
|
| 3173 |
func _CloudChannelService_GetChannelPartnerLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3174 |
in := new(GetChannelPartnerLinkRequest) |
| 3175 |
if err := dec(in); err != nil { |
| 3176 |
return nil, err |
| 3177 |
} |
| 3178 |
if interceptor == nil { |
| 3179 |
return srv.(CloudChannelServiceServer).GetChannelPartnerLink(ctx, in) |
| 3180 |
} |
| 3181 |
info := &grpc.UnaryServerInfo{ |
| 3182 |
Server: srv, |
| 3183 |
FullMethod: CloudChannelService_GetChannelPartnerLink_FullMethodName, |
| 3184 |
} |
| 3185 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3186 |
return srv.(CloudChannelServiceServer).GetChannelPartnerLink(ctx, req.(*GetChannelPartnerLinkRequest)) |
| 3187 |
} |
| 3188 |
return interceptor(ctx, in, info, handler) |
| 3189 |
} |
| 3190 |
|
| 3191 |
func _CloudChannelService_CreateChannelPartnerLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3192 |
in := new(CreateChannelPartnerLinkRequest) |
| 3193 |
if err := dec(in); err != nil { |
| 3194 |
return nil, err |
| 3195 |
} |
| 3196 |
if interceptor == nil { |
| 3197 |
return srv.(CloudChannelServiceServer).CreateChannelPartnerLink(ctx, in) |
| 3198 |
} |
| 3199 |
info := &grpc.UnaryServerInfo{ |
| 3200 |
Server: srv, |
| 3201 |
FullMethod: CloudChannelService_CreateChannelPartnerLink_FullMethodName, |
| 3202 |
} |
| 3203 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3204 |
return srv.(CloudChannelServiceServer).CreateChannelPartnerLink(ctx, req.(*CreateChannelPartnerLinkRequest)) |
| 3205 |
} |
| 3206 |
return interceptor(ctx, in, info, handler) |
| 3207 |
} |
| 3208 |
|
| 3209 |
func _CloudChannelService_UpdateChannelPartnerLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3210 |
in := new(UpdateChannelPartnerLinkRequest) |
| 3211 |
if err := dec(in); err != nil { |
| 3212 |
return nil, err |
| 3213 |
} |
| 3214 |
if interceptor == nil { |
| 3215 |
return srv.(CloudChannelServiceServer).UpdateChannelPartnerLink(ctx, in) |
| 3216 |
} |
| 3217 |
info := &grpc.UnaryServerInfo{ |
| 3218 |
Server: srv, |
| 3219 |
FullMethod: CloudChannelService_UpdateChannelPartnerLink_FullMethodName, |
| 3220 |
} |
| 3221 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3222 |
return srv.(CloudChannelServiceServer).UpdateChannelPartnerLink(ctx, req.(*UpdateChannelPartnerLinkRequest)) |
| 3223 |
} |
| 3224 |
return interceptor(ctx, in, info, handler) |
| 3225 |
} |
| 3226 |
|
| 3227 |
func _CloudChannelService_GetCustomerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3228 |
in := new(GetCustomerRepricingConfigRequest) |
| 3229 |
if err := dec(in); err != nil { |
| 3230 |
return nil, err |
| 3231 |
} |
| 3232 |
if interceptor == nil { |
| 3233 |
return srv.(CloudChannelServiceServer).GetCustomerRepricingConfig(ctx, in) |
| 3234 |
} |
| 3235 |
info := &grpc.UnaryServerInfo{ |
| 3236 |
Server: srv, |
| 3237 |
FullMethod: CloudChannelService_GetCustomerRepricingConfig_FullMethodName, |
| 3238 |
} |
| 3239 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3240 |
return srv.(CloudChannelServiceServer).GetCustomerRepricingConfig(ctx, req.(*GetCustomerRepricingConfigRequest)) |
| 3241 |
} |
| 3242 |
return interceptor(ctx, in, info, handler) |
| 3243 |
} |
| 3244 |
|
| 3245 |
func _CloudChannelService_ListCustomerRepricingConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3246 |
in := new(ListCustomerRepricingConfigsRequest) |
| 3247 |
if err := dec(in); err != nil { |
| 3248 |
return nil, err |
| 3249 |
} |
| 3250 |
if interceptor == nil { |
| 3251 |
return srv.(CloudChannelServiceServer).ListCustomerRepricingConfigs(ctx, in) |
| 3252 |
} |
| 3253 |
info := &grpc.UnaryServerInfo{ |
| 3254 |
Server: srv, |
| 3255 |
FullMethod: CloudChannelService_ListCustomerRepricingConfigs_FullMethodName, |
| 3256 |
} |
| 3257 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3258 |
return srv.(CloudChannelServiceServer).ListCustomerRepricingConfigs(ctx, req.(*ListCustomerRepricingConfigsRequest)) |
| 3259 |
} |
| 3260 |
return interceptor(ctx, in, info, handler) |
| 3261 |
} |
| 3262 |
|
| 3263 |
func _CloudChannelService_CreateCustomerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3264 |
in := new(CreateCustomerRepricingConfigRequest) |
| 3265 |
if err := dec(in); err != nil { |
| 3266 |
return nil, err |
| 3267 |
} |
| 3268 |
if interceptor == nil { |
| 3269 |
return srv.(CloudChannelServiceServer).CreateCustomerRepricingConfig(ctx, in) |
| 3270 |
} |
| 3271 |
info := &grpc.UnaryServerInfo{ |
| 3272 |
Server: srv, |
| 3273 |
FullMethod: CloudChannelService_CreateCustomerRepricingConfig_FullMethodName, |
| 3274 |
} |
| 3275 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3276 |
return srv.(CloudChannelServiceServer).CreateCustomerRepricingConfig(ctx, req.(*CreateCustomerRepricingConfigRequest)) |
| 3277 |
} |
| 3278 |
return interceptor(ctx, in, info, handler) |
| 3279 |
} |
| 3280 |
|
| 3281 |
func _CloudChannelService_UpdateCustomerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3282 |
in := new(UpdateCustomerRepricingConfigRequest) |
| 3283 |
if err := dec(in); err != nil { |
| 3284 |
return nil, err |
| 3285 |
} |
| 3286 |
if interceptor == nil { |
| 3287 |
return srv.(CloudChannelServiceServer).UpdateCustomerRepricingConfig(ctx, in) |
| 3288 |
} |
| 3289 |
info := &grpc.UnaryServerInfo{ |
| 3290 |
Server: srv, |
| 3291 |
FullMethod: CloudChannelService_UpdateCustomerRepricingConfig_FullMethodName, |
| 3292 |
} |
| 3293 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3294 |
return srv.(CloudChannelServiceServer).UpdateCustomerRepricingConfig(ctx, req.(*UpdateCustomerRepricingConfigRequest)) |
| 3295 |
} |
| 3296 |
return interceptor(ctx, in, info, handler) |
| 3297 |
} |
| 3298 |
|
| 3299 |
func _CloudChannelService_DeleteCustomerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3300 |
in := new(DeleteCustomerRepricingConfigRequest) |
| 3301 |
if err := dec(in); err != nil { |
| 3302 |
return nil, err |
| 3303 |
} |
| 3304 |
if interceptor == nil { |
| 3305 |
return srv.(CloudChannelServiceServer).DeleteCustomerRepricingConfig(ctx, in) |
| 3306 |
} |
| 3307 |
info := &grpc.UnaryServerInfo{ |
| 3308 |
Server: srv, |
| 3309 |
FullMethod: CloudChannelService_DeleteCustomerRepricingConfig_FullMethodName, |
| 3310 |
} |
| 3311 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3312 |
return srv.(CloudChannelServiceServer).DeleteCustomerRepricingConfig(ctx, req.(*DeleteCustomerRepricingConfigRequest)) |
| 3313 |
} |
| 3314 |
return interceptor(ctx, in, info, handler) |
| 3315 |
} |
| 3316 |
|
| 3317 |
func _CloudChannelService_GetChannelPartnerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3318 |
in := new(GetChannelPartnerRepricingConfigRequest) |
| 3319 |
if err := dec(in); err != nil { |
| 3320 |
return nil, err |
| 3321 |
} |
| 3322 |
if interceptor == nil { |
| 3323 |
return srv.(CloudChannelServiceServer).GetChannelPartnerRepricingConfig(ctx, in) |
| 3324 |
} |
| 3325 |
info := &grpc.UnaryServerInfo{ |
| 3326 |
Server: srv, |
| 3327 |
FullMethod: CloudChannelService_GetChannelPartnerRepricingConfig_FullMethodName, |
| 3328 |
} |
| 3329 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3330 |
return srv.(CloudChannelServiceServer).GetChannelPartnerRepricingConfig(ctx, req.(*GetChannelPartnerRepricingConfigRequest)) |
| 3331 |
} |
| 3332 |
return interceptor(ctx, in, info, handler) |
| 3333 |
} |
| 3334 |
|
| 3335 |
func _CloudChannelService_ListChannelPartnerRepricingConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3336 |
in := new(ListChannelPartnerRepricingConfigsRequest) |
| 3337 |
if err := dec(in); err != nil { |
| 3338 |
return nil, err |
| 3339 |
} |
| 3340 |
if interceptor == nil { |
| 3341 |
return srv.(CloudChannelServiceServer).ListChannelPartnerRepricingConfigs(ctx, in) |
| 3342 |
} |
| 3343 |
info := &grpc.UnaryServerInfo{ |
| 3344 |
Server: srv, |
| 3345 |
FullMethod: CloudChannelService_ListChannelPartnerRepricingConfigs_FullMethodName, |
| 3346 |
} |
| 3347 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3348 |
return srv.(CloudChannelServiceServer).ListChannelPartnerRepricingConfigs(ctx, req.(*ListChannelPartnerRepricingConfigsRequest)) |
| 3349 |
} |
| 3350 |
return interceptor(ctx, in, info, handler) |
| 3351 |
} |
| 3352 |
|
| 3353 |
func _CloudChannelService_CreateChannelPartnerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3354 |
in := new(CreateChannelPartnerRepricingConfigRequest) |
| 3355 |
if err := dec(in); err != nil { |
| 3356 |
return nil, err |
| 3357 |
} |
| 3358 |
if interceptor == nil { |
| 3359 |
return srv.(CloudChannelServiceServer).CreateChannelPartnerRepricingConfig(ctx, in) |
| 3360 |
} |
| 3361 |
info := &grpc.UnaryServerInfo{ |
| 3362 |
Server: srv, |
| 3363 |
FullMethod: CloudChannelService_CreateChannelPartnerRepricingConfig_FullMethodName, |
| 3364 |
} |
| 3365 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3366 |
return srv.(CloudChannelServiceServer).CreateChannelPartnerRepricingConfig(ctx, req.(*CreateChannelPartnerRepricingConfigRequest)) |
| 3367 |
} |
| 3368 |
return interceptor(ctx, in, info, handler) |
| 3369 |
} |
| 3370 |
|
| 3371 |
func _CloudChannelService_UpdateChannelPartnerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3372 |
in := new(UpdateChannelPartnerRepricingConfigRequest) |
| 3373 |
if err := dec(in); err != nil { |
| 3374 |
return nil, err |
| 3375 |
} |
| 3376 |
if interceptor == nil { |
| 3377 |
return srv.(CloudChannelServiceServer).UpdateChannelPartnerRepricingConfig(ctx, in) |
| 3378 |
} |
| 3379 |
info := &grpc.UnaryServerInfo{ |
| 3380 |
Server: srv, |
| 3381 |
FullMethod: CloudChannelService_UpdateChannelPartnerRepricingConfig_FullMethodName, |
| 3382 |
} |
| 3383 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3384 |
return srv.(CloudChannelServiceServer).UpdateChannelPartnerRepricingConfig(ctx, req.(*UpdateChannelPartnerRepricingConfigRequest)) |
| 3385 |
} |
| 3386 |
return interceptor(ctx, in, info, handler) |
| 3387 |
} |
| 3388 |
|
| 3389 |
func _CloudChannelService_DeleteChannelPartnerRepricingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3390 |
in := new(DeleteChannelPartnerRepricingConfigRequest) |
| 3391 |
if err := dec(in); err != nil { |
| 3392 |
return nil, err |
| 3393 |
} |
| 3394 |
if interceptor == nil { |
| 3395 |
return srv.(CloudChannelServiceServer).DeleteChannelPartnerRepricingConfig(ctx, in) |
| 3396 |
} |
| 3397 |
info := &grpc.UnaryServerInfo{ |
| 3398 |
Server: srv, |
| 3399 |
FullMethod: CloudChannelService_DeleteChannelPartnerRepricingConfig_FullMethodName, |
| 3400 |
} |
| 3401 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3402 |
return srv.(CloudChannelServiceServer).DeleteChannelPartnerRepricingConfig(ctx, req.(*DeleteChannelPartnerRepricingConfigRequest)) |
| 3403 |
} |
| 3404 |
return interceptor(ctx, in, info, handler) |
| 3405 |
} |
| 3406 |
|
| 3407 |
func _CloudChannelService_ListSkuGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3408 |
in := new(ListSkuGroupsRequest) |
| 3409 |
if err := dec(in); err != nil { |
| 3410 |
return nil, err |
| 3411 |
} |
| 3412 |
if interceptor == nil { |
| 3413 |
return srv.(CloudChannelServiceServer).ListSkuGroups(ctx, in) |
| 3414 |
} |
| 3415 |
info := &grpc.UnaryServerInfo{ |
| 3416 |
Server: srv, |
| 3417 |
FullMethod: CloudChannelService_ListSkuGroups_FullMethodName, |
| 3418 |
} |
| 3419 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3420 |
return srv.(CloudChannelServiceServer).ListSkuGroups(ctx, req.(*ListSkuGroupsRequest)) |
| 3421 |
} |
| 3422 |
return interceptor(ctx, in, info, handler) |
| 3423 |
} |
| 3424 |
|
| 3425 |
func _CloudChannelService_ListSkuGroupBillableSkus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3426 |
in := new(ListSkuGroupBillableSkusRequest) |
| 3427 |
if err := dec(in); err != nil { |
| 3428 |
return nil, err |
| 3429 |
} |
| 3430 |
if interceptor == nil { |
| 3431 |
return srv.(CloudChannelServiceServer).ListSkuGroupBillableSkus(ctx, in) |
| 3432 |
} |
| 3433 |
info := &grpc.UnaryServerInfo{ |
| 3434 |
Server: srv, |
| 3435 |
FullMethod: CloudChannelService_ListSkuGroupBillableSkus_FullMethodName, |
| 3436 |
} |
| 3437 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3438 |
return srv.(CloudChannelServiceServer).ListSkuGroupBillableSkus(ctx, req.(*ListSkuGroupBillableSkusRequest)) |
| 3439 |
} |
| 3440 |
return interceptor(ctx, in, info, handler) |
| 3441 |
} |
| 3442 |
|
| 3443 |
func _CloudChannelService_LookupOffer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3444 |
in := new(LookupOfferRequest) |
| 3445 |
if err := dec(in); err != nil { |
| 3446 |
return nil, err |
| 3447 |
} |
| 3448 |
if interceptor == nil { |
| 3449 |
return srv.(CloudChannelServiceServer).LookupOffer(ctx, in) |
| 3450 |
} |
| 3451 |
info := &grpc.UnaryServerInfo{ |
| 3452 |
Server: srv, |
| 3453 |
FullMethod: CloudChannelService_LookupOffer_FullMethodName, |
| 3454 |
} |
| 3455 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3456 |
return srv.(CloudChannelServiceServer).LookupOffer(ctx, req.(*LookupOfferRequest)) |
| 3457 |
} |
| 3458 |
return interceptor(ctx, in, info, handler) |
| 3459 |
} |
| 3460 |
|
| 3461 |
func _CloudChannelService_ListProducts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3462 |
in := new(ListProductsRequest) |
| 3463 |
if err := dec(in); err != nil { |
| 3464 |
return nil, err |
| 3465 |
} |
| 3466 |
if interceptor == nil { |
| 3467 |
return srv.(CloudChannelServiceServer).ListProducts(ctx, in) |
| 3468 |
} |
| 3469 |
info := &grpc.UnaryServerInfo{ |
| 3470 |
Server: srv, |
| 3471 |
FullMethod: CloudChannelService_ListProducts_FullMethodName, |
| 3472 |
} |
| 3473 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3474 |
return srv.(CloudChannelServiceServer).ListProducts(ctx, req.(*ListProductsRequest)) |
| 3475 |
} |
| 3476 |
return interceptor(ctx, in, info, handler) |
| 3477 |
} |
| 3478 |
|
| 3479 |
func _CloudChannelService_ListSkus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3480 |
in := new(ListSkusRequest) |
| 3481 |
if err := dec(in); err != nil { |
| 3482 |
return nil, err |
| 3483 |
} |
| 3484 |
if interceptor == nil { |
| 3485 |
return srv.(CloudChannelServiceServer).ListSkus(ctx, in) |
| 3486 |
} |
| 3487 |
info := &grpc.UnaryServerInfo{ |
| 3488 |
Server: srv, |
| 3489 |
FullMethod: CloudChannelService_ListSkus_FullMethodName, |
| 3490 |
} |
| 3491 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3492 |
return srv.(CloudChannelServiceServer).ListSkus(ctx, req.(*ListSkusRequest)) |
| 3493 |
} |
| 3494 |
return interceptor(ctx, in, info, handler) |
| 3495 |
} |
| 3496 |
|
| 3497 |
func _CloudChannelService_ListOffers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3498 |
in := new(ListOffersRequest) |
| 3499 |
if err := dec(in); err != nil { |
| 3500 |
return nil, err |
| 3501 |
} |
| 3502 |
if interceptor == nil { |
| 3503 |
return srv.(CloudChannelServiceServer).ListOffers(ctx, in) |
| 3504 |
} |
| 3505 |
info := &grpc.UnaryServerInfo{ |
| 3506 |
Server: srv, |
| 3507 |
FullMethod: CloudChannelService_ListOffers_FullMethodName, |
| 3508 |
} |
| 3509 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3510 |
return srv.(CloudChannelServiceServer).ListOffers(ctx, req.(*ListOffersRequest)) |
| 3511 |
} |
| 3512 |
return interceptor(ctx, in, info, handler) |
| 3513 |
} |
| 3514 |
|
| 3515 |
func _CloudChannelService_ListPurchasableSkus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3516 |
in := new(ListPurchasableSkusRequest) |
| 3517 |
if err := dec(in); err != nil { |
| 3518 |
return nil, err |
| 3519 |
} |
| 3520 |
if interceptor == nil { |
| 3521 |
return srv.(CloudChannelServiceServer).ListPurchasableSkus(ctx, in) |
| 3522 |
} |
| 3523 |
info := &grpc.UnaryServerInfo{ |
| 3524 |
Server: srv, |
| 3525 |
FullMethod: CloudChannelService_ListPurchasableSkus_FullMethodName, |
| 3526 |
} |
| 3527 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3528 |
return srv.(CloudChannelServiceServer).ListPurchasableSkus(ctx, req.(*ListPurchasableSkusRequest)) |
| 3529 |
} |
| 3530 |
return interceptor(ctx, in, info, handler) |
| 3531 |
} |
| 3532 |
|
| 3533 |
func _CloudChannelService_ListPurchasableOffers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3534 |
in := new(ListPurchasableOffersRequest) |
| 3535 |
if err := dec(in); err != nil { |
| 3536 |
return nil, err |
| 3537 |
} |
| 3538 |
if interceptor == nil { |
| 3539 |
return srv.(CloudChannelServiceServer).ListPurchasableOffers(ctx, in) |
| 3540 |
} |
| 3541 |
info := &grpc.UnaryServerInfo{ |
| 3542 |
Server: srv, |
| 3543 |
FullMethod: CloudChannelService_ListPurchasableOffers_FullMethodName, |
| 3544 |
} |
| 3545 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3546 |
return srv.(CloudChannelServiceServer).ListPurchasableOffers(ctx, req.(*ListPurchasableOffersRequest)) |
| 3547 |
} |
| 3548 |
return interceptor(ctx, in, info, handler) |
| 3549 |
} |
| 3550 |
|
| 3551 |
func _CloudChannelService_QueryEligibleBillingAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3552 |
in := new(QueryEligibleBillingAccountsRequest) |
| 3553 |
if err := dec(in); err != nil { |
| 3554 |
return nil, err |
| 3555 |
} |
| 3556 |
if interceptor == nil { |
| 3557 |
return srv.(CloudChannelServiceServer).QueryEligibleBillingAccounts(ctx, in) |
| 3558 |
} |
| 3559 |
info := &grpc.UnaryServerInfo{ |
| 3560 |
Server: srv, |
| 3561 |
FullMethod: CloudChannelService_QueryEligibleBillingAccounts_FullMethodName, |
| 3562 |
} |
| 3563 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3564 |
return srv.(CloudChannelServiceServer).QueryEligibleBillingAccounts(ctx, req.(*QueryEligibleBillingAccountsRequest)) |
| 3565 |
} |
| 3566 |
return interceptor(ctx, in, info, handler) |
| 3567 |
} |
| 3568 |
|
| 3569 |
func _CloudChannelService_RegisterSubscriber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3570 |
in := new(RegisterSubscriberRequest) |
| 3571 |
if err := dec(in); err != nil { |
| 3572 |
return nil, err |
| 3573 |
} |
| 3574 |
if interceptor == nil { |
| 3575 |
return srv.(CloudChannelServiceServer).RegisterSubscriber(ctx, in) |
| 3576 |
} |
| 3577 |
info := &grpc.UnaryServerInfo{ |
| 3578 |
Server: srv, |
| 3579 |
FullMethod: CloudChannelService_RegisterSubscriber_FullMethodName, |
| 3580 |
} |
| 3581 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3582 |
return srv.(CloudChannelServiceServer).RegisterSubscriber(ctx, req.(*RegisterSubscriberRequest)) |
| 3583 |
} |
| 3584 |
return interceptor(ctx, in, info, handler) |
| 3585 |
} |
| 3586 |
|
| 3587 |
func _CloudChannelService_UnregisterSubscriber_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3588 |
in := new(UnregisterSubscriberRequest) |
| 3589 |
if err := dec(in); err != nil { |
| 3590 |
return nil, err |
| 3591 |
} |
| 3592 |
if interceptor == nil { |
| 3593 |
return srv.(CloudChannelServiceServer).UnregisterSubscriber(ctx, in) |
| 3594 |
} |
| 3595 |
info := &grpc.UnaryServerInfo{ |
| 3596 |
Server: srv, |
| 3597 |
FullMethod: CloudChannelService_UnregisterSubscriber_FullMethodName, |
| 3598 |
} |
| 3599 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3600 |
return srv.(CloudChannelServiceServer).UnregisterSubscriber(ctx, req.(*UnregisterSubscriberRequest)) |
| 3601 |
} |
| 3602 |
return interceptor(ctx, in, info, handler) |
| 3603 |
} |
| 3604 |
|
| 3605 |
func _CloudChannelService_ListSubscribers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3606 |
in := new(ListSubscribersRequest) |
| 3607 |
if err := dec(in); err != nil { |
| 3608 |
return nil, err |
| 3609 |
} |
| 3610 |
if interceptor == nil { |
| 3611 |
return srv.(CloudChannelServiceServer).ListSubscribers(ctx, in) |
| 3612 |
} |
| 3613 |
info := &grpc.UnaryServerInfo{ |
| 3614 |
Server: srv, |
| 3615 |
FullMethod: CloudChannelService_ListSubscribers_FullMethodName, |
| 3616 |
} |
| 3617 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3618 |
return srv.(CloudChannelServiceServer).ListSubscribers(ctx, req.(*ListSubscribersRequest)) |
| 3619 |
} |
| 3620 |
return interceptor(ctx, in, info, handler) |
| 3621 |
} |
| 3622 |
|
| 3623 |
func _CloudChannelService_ListEntitlementChanges_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3624 |
in := new(ListEntitlementChangesRequest) |
| 3625 |
if err := dec(in); err != nil { |
| 3626 |
return nil, err |
| 3627 |
} |
| 3628 |
if interceptor == nil { |
| 3629 |
return srv.(CloudChannelServiceServer).ListEntitlementChanges(ctx, in) |
| 3630 |
} |
| 3631 |
info := &grpc.UnaryServerInfo{ |
| 3632 |
Server: srv, |
| 3633 |
FullMethod: CloudChannelService_ListEntitlementChanges_FullMethodName, |
| 3634 |
} |
| 3635 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3636 |
return srv.(CloudChannelServiceServer).ListEntitlementChanges(ctx, req.(*ListEntitlementChangesRequest)) |
| 3637 |
} |
| 3638 |
return interceptor(ctx, in, info, handler) |
| 3639 |
} |
| 3640 |
|
| 3641 |
// CloudChannelService_ServiceDesc is the grpc.ServiceDesc for CloudChannelService service. |
| 3642 |
// It's only intended for direct use with grpc.RegisterService, |
| 3643 |
// and not to be introspected or modified (even as a copy) |
| 3644 |
var CloudChannelService_ServiceDesc = grpc.ServiceDesc{ |
| 3645 |
ServiceName: "google.cloud.channel.v1.CloudChannelService", |
| 3646 |
HandlerType: (*CloudChannelServiceServer)(nil), |
| 3647 |
Methods: []grpc.MethodDesc{ |
| 3648 |
{ |
| 3649 |
MethodName: "ListCustomers", |
| 3650 |
Handler: _CloudChannelService_ListCustomers_Handler, |
| 3651 |
}, |
| 3652 |
{ |
| 3653 |
MethodName: "GetCustomer", |
| 3654 |
Handler: _CloudChannelService_GetCustomer_Handler, |
| 3655 |
}, |
| 3656 |
{ |
| 3657 |
MethodName: "CheckCloudIdentityAccountsExist", |
| 3658 |
Handler: _CloudChannelService_CheckCloudIdentityAccountsExist_Handler, |
| 3659 |
}, |
| 3660 |
{ |
| 3661 |
MethodName: "CreateCustomer", |
| 3662 |
Handler: _CloudChannelService_CreateCustomer_Handler, |
| 3663 |
}, |
| 3664 |
{ |
| 3665 |
MethodName: "UpdateCustomer", |
| 3666 |
Handler: _CloudChannelService_UpdateCustomer_Handler, |
| 3667 |
}, |
| 3668 |
{ |
| 3669 |
MethodName: "DeleteCustomer", |
| 3670 |
Handler: _CloudChannelService_DeleteCustomer_Handler, |
| 3671 |
}, |
| 3672 |
{ |
| 3673 |
MethodName: "ImportCustomer", |
| 3674 |
Handler: _CloudChannelService_ImportCustomer_Handler, |
| 3675 |
}, |
| 3676 |
{ |
| 3677 |
MethodName: "ProvisionCloudIdentity", |
| 3678 |
Handler: _CloudChannelService_ProvisionCloudIdentity_Handler, |
| 3679 |
}, |
| 3680 |
{ |
| 3681 |
MethodName: "ListEntitlements", |
| 3682 |
Handler: _CloudChannelService_ListEntitlements_Handler, |
| 3683 |
}, |
| 3684 |
{ |
| 3685 |
MethodName: "ListTransferableSkus", |
| 3686 |
Handler: _CloudChannelService_ListTransferableSkus_Handler, |
| 3687 |
}, |
| 3688 |
{ |
| 3689 |
MethodName: "ListTransferableOffers", |
| 3690 |
Handler: _CloudChannelService_ListTransferableOffers_Handler, |
| 3691 |
}, |
| 3692 |
{ |
| 3693 |
MethodName: "GetEntitlement", |
| 3694 |
Handler: _CloudChannelService_GetEntitlement_Handler, |
| 3695 |
}, |
| 3696 |
{ |
| 3697 |
MethodName: "CreateEntitlement", |
| 3698 |
Handler: _CloudChannelService_CreateEntitlement_Handler, |
| 3699 |
}, |
| 3700 |
{ |
| 3701 |
MethodName: "ChangeParameters", |
| 3702 |
Handler: _CloudChannelService_ChangeParameters_Handler, |
| 3703 |
}, |
| 3704 |
{ |
| 3705 |
MethodName: "ChangeRenewalSettings", |
| 3706 |
Handler: _CloudChannelService_ChangeRenewalSettings_Handler, |
| 3707 |
}, |
| 3708 |
{ |
| 3709 |
MethodName: "ChangeOffer", |
| 3710 |
Handler: _CloudChannelService_ChangeOffer_Handler, |
| 3711 |
}, |
| 3712 |
{ |
| 3713 |
MethodName: "StartPaidService", |
| 3714 |
Handler: _CloudChannelService_StartPaidService_Handler, |
| 3715 |
}, |
| 3716 |
{ |
| 3717 |
MethodName: "SuspendEntitlement", |
| 3718 |
Handler: _CloudChannelService_SuspendEntitlement_Handler, |
| 3719 |
}, |
| 3720 |
{ |
| 3721 |
MethodName: "CancelEntitlement", |
| 3722 |
Handler: _CloudChannelService_CancelEntitlement_Handler, |
| 3723 |
}, |
| 3724 |
{ |
| 3725 |
MethodName: "ActivateEntitlement", |
| 3726 |
Handler: _CloudChannelService_ActivateEntitlement_Handler, |
| 3727 |
}, |
| 3728 |
{ |
| 3729 |
MethodName: "TransferEntitlements", |
| 3730 |
Handler: _CloudChannelService_TransferEntitlements_Handler, |
| 3731 |
}, |
| 3732 |
{ |
| 3733 |
MethodName: "TransferEntitlementsToGoogle", |
| 3734 |
Handler: _CloudChannelService_TransferEntitlementsToGoogle_Handler, |
| 3735 |
}, |
| 3736 |
{ |
| 3737 |
MethodName: "ListChannelPartnerLinks", |
| 3738 |
Handler: _CloudChannelService_ListChannelPartnerLinks_Handler, |
| 3739 |
}, |
| 3740 |
{ |
| 3741 |
MethodName: "GetChannelPartnerLink", |
| 3742 |
Handler: _CloudChannelService_GetChannelPartnerLink_Handler, |
| 3743 |
}, |
| 3744 |
{ |
| 3745 |
MethodName: "CreateChannelPartnerLink", |
| 3746 |
Handler: _CloudChannelService_CreateChannelPartnerLink_Handler, |
| 3747 |
}, |
| 3748 |
{ |
| 3749 |
MethodName: "UpdateChannelPartnerLink", |
| 3750 |
Handler: _CloudChannelService_UpdateChannelPartnerLink_Handler, |
| 3751 |
}, |
| 3752 |
{ |
| 3753 |
MethodName: "GetCustomerRepricingConfig", |
| 3754 |
Handler: _CloudChannelService_GetCustomerRepricingConfig_Handler, |
| 3755 |
}, |
| 3756 |
{ |
| 3757 |
MethodName: "ListCustomerRepricingConfigs", |
| 3758 |
Handler: _CloudChannelService_ListCustomerRepricingConfigs_Handler, |
| 3759 |
}, |
| 3760 |
{ |
| 3761 |
MethodName: "CreateCustomerRepricingConfig", |
| 3762 |
Handler: _CloudChannelService_CreateCustomerRepricingConfig_Handler, |
| 3763 |
}, |
| 3764 |
{ |
| 3765 |
MethodName: "UpdateCustomerRepricingConfig", |
| 3766 |
Handler: _CloudChannelService_UpdateCustomerRepricingConfig_Handler, |
| 3767 |
}, |
| 3768 |
{ |
| 3769 |
MethodName: "DeleteCustomerRepricingConfig", |
| 3770 |
Handler: _CloudChannelService_DeleteCustomerRepricingConfig_Handler, |
| 3771 |
}, |
| 3772 |
{ |
| 3773 |
MethodName: "GetChannelPartnerRepricingConfig", |
| 3774 |
Handler: _CloudChannelService_GetChannelPartnerRepricingConfig_Handler, |
| 3775 |
}, |
| 3776 |
{ |
| 3777 |
MethodName: "ListChannelPartnerRepricingConfigs", |
| 3778 |
Handler: _CloudChannelService_ListChannelPartnerRepricingConfigs_Handler, |
| 3779 |
}, |
| 3780 |
{ |
| 3781 |
MethodName: "CreateChannelPartnerRepricingConfig", |
| 3782 |
Handler: _CloudChannelService_CreateChannelPartnerRepricingConfig_Handler, |
| 3783 |
}, |
| 3784 |
{ |
| 3785 |
MethodName: "UpdateChannelPartnerRepricingConfig", |
| 3786 |
Handler: _CloudChannelService_UpdateChannelPartnerRepricingConfig_Handler, |
| 3787 |
}, |
| 3788 |
{ |
| 3789 |
MethodName: "DeleteChannelPartnerRepricingConfig", |
| 3790 |
Handler: _CloudChannelService_DeleteChannelPartnerRepricingConfig_Handler, |
| 3791 |
}, |
| 3792 |
{ |
| 3793 |
MethodName: "ListSkuGroups", |
| 3794 |
Handler: _CloudChannelService_ListSkuGroups_Handler, |
| 3795 |
}, |
| 3796 |
{ |
| 3797 |
MethodName: "ListSkuGroupBillableSkus", |
| 3798 |
Handler: _CloudChannelService_ListSkuGroupBillableSkus_Handler, |
| 3799 |
}, |
| 3800 |
{ |
| 3801 |
MethodName: "LookupOffer", |
| 3802 |
Handler: _CloudChannelService_LookupOffer_Handler, |
| 3803 |
}, |
| 3804 |
{ |
| 3805 |
MethodName: "ListProducts", |
| 3806 |
Handler: _CloudChannelService_ListProducts_Handler, |
| 3807 |
}, |
| 3808 |
{ |
| 3809 |
MethodName: "ListSkus", |
| 3810 |
Handler: _CloudChannelService_ListSkus_Handler, |
| 3811 |
}, |
| 3812 |
{ |
| 3813 |
MethodName: "ListOffers", |
| 3814 |
Handler: _CloudChannelService_ListOffers_Handler, |
| 3815 |
}, |
| 3816 |
{ |
| 3817 |
MethodName: "ListPurchasableSkus", |
| 3818 |
Handler: _CloudChannelService_ListPurchasableSkus_Handler, |
| 3819 |
}, |
| 3820 |
{ |
| 3821 |
MethodName: "ListPurchasableOffers", |
| 3822 |
Handler: _CloudChannelService_ListPurchasableOffers_Handler, |
| 3823 |
}, |
| 3824 |
{ |
| 3825 |
MethodName: "QueryEligibleBillingAccounts", |
| 3826 |
Handler: _CloudChannelService_QueryEligibleBillingAccounts_Handler, |
| 3827 |
}, |
| 3828 |
{ |
| 3829 |
MethodName: "RegisterSubscriber", |
| 3830 |
Handler: _CloudChannelService_RegisterSubscriber_Handler, |
| 3831 |
}, |
| 3832 |
{ |
| 3833 |
MethodName: "UnregisterSubscriber", |
| 3834 |
Handler: _CloudChannelService_UnregisterSubscriber_Handler, |
| 3835 |
}, |
| 3836 |
{ |
| 3837 |
MethodName: "ListSubscribers", |
| 3838 |
Handler: _CloudChannelService_ListSubscribers_Handler, |
| 3839 |
}, |
| 3840 |
{ |
| 3841 |
MethodName: "ListEntitlementChanges", |
| 3842 |
Handler: _CloudChannelService_ListEntitlementChanges_Handler, |
| 3843 |
}, |
| 3844 |
}, |
| 3845 |
Streams: []grpc.StreamDesc{}, |
| 3846 |
Metadata: "google/cloud/channel/v1/service.proto", |
| 3847 |
} |