google-cloud-channel-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +188 -190
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +128 -172
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +0 -2
- data/lib/google/cloud/channel/v1/service_pb.rb +0 -1
- data/lib/google/cloud/channel/v1/service_services_pb.rb +127 -167
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +0 -6
- data/proto_docs/google/cloud/channel/v1/service.rb +0 -5
- metadata +2 -2
@@ -69,8 +69,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
69
69
|
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
70
70
|
end
|
71
71
|
add_message "google.cloud.channel.v1.TransferableSku" do
|
72
|
-
optional :is_commitment, :message, 6, "google.protobuf.BoolValue"
|
73
|
-
optional :commitment_end_timestamp, :message, 7, "google.protobuf.Timestamp"
|
74
72
|
optional :transfer_eligibility, :message, 9, "google.cloud.channel.v1.TransferEligibility"
|
75
73
|
optional :sku, :message, 11, "google.cloud.channel.v1.Sku"
|
76
74
|
end
|
@@ -122,7 +122,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
122
122
|
add_message "google.cloud.channel.v1.CreateChannelPartnerLinkRequest" do
|
123
123
|
optional :parent, :string, 1
|
124
124
|
optional :channel_partner_link, :message, 2, "google.cloud.channel.v1.ChannelPartnerLink"
|
125
|
-
optional :domain, :string, 3
|
126
125
|
end
|
127
126
|
add_message "google.cloud.channel.v1.UpdateChannelPartnerLinkRequest" do
|
128
127
|
optional :name, :string, 1
|
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
# request.
|
64
64
|
#
|
65
65
|
# Return Value:
|
66
|
-
#
|
66
|
+
# List of [Customer][google.cloud.channel.v1.Customer]s pertaining to the reseller or empty list if
|
67
67
|
# there are none.
|
68
68
|
rpc :ListCustomers, ::Google::Cloud::Channel::V1::ListCustomersRequest, ::Google::Cloud::Channel::V1::ListCustomersResponse
|
69
69
|
# Returns a requested [Customer][google.cloud.channel.v1.Customer] resource.
|
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# the result of an invalid name parameter.
|
79
79
|
#
|
80
80
|
# Return Value:
|
81
|
-
#
|
81
|
+
# [Customer][google.cloud.channel.v1.Customer] resource if found, error otherwise.
|
82
82
|
rpc :GetCustomer, ::Google::Cloud::Channel::V1::GetCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
83
83
|
# Confirms the existence of Cloud Identity accounts, based on the domain and
|
84
84
|
# whether the Cloud Identity accounts are owned by the reseller.
|
@@ -90,31 +90,27 @@ module Google
|
|
90
90
|
# * INVALID_ARGUMENT: Missing or invalid required parameters in the
|
91
91
|
# request.
|
92
92
|
# * INVALID_VALUE: Invalid domain value in the request.
|
93
|
-
# * NOT_FOUND: If there is no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] customer
|
94
|
-
# for the domain specified in the request.
|
95
93
|
#
|
96
94
|
# Return Value:
|
97
|
-
#
|
98
|
-
#
|
95
|
+
# List of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain.
|
96
|
+
# List may be empty.
|
97
|
+
# Note: in the v1alpha1 version of the API, a NOT_FOUND error is returned if
|
98
|
+
# no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resource match the domain.
|
99
99
|
rpc :CheckCloudIdentityAccountsExist, ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest, ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistResponse
|
100
100
|
# Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
|
101
101
|
# account.
|
102
102
|
#
|
103
103
|
# Possible Error Codes:
|
104
|
-
#
|
105
|
-
#
|
106
|
-
# reseller account being queried for are different
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
# email.</li>
|
112
|
-
# </ul>
|
113
|
-
# </li>
|
114
|
-
# </ul>
|
104
|
+
#
|
105
|
+
# * PERMISSION_DENIED: If the reseller account making the request and the
|
106
|
+
# reseller account being queried for are different.
|
107
|
+
# * INVALID_ARGUMENT: It can happen in following scenarios -
|
108
|
+
# * Missing or invalid required parameters in the request.
|
109
|
+
# * Domain field value doesn't match the domain specified in primary
|
110
|
+
# email.
|
115
111
|
#
|
116
112
|
# Return Value:
|
117
|
-
#
|
113
|
+
# If successful, the newly created [Customer][google.cloud.channel.v1.Customer] resource, otherwise
|
118
114
|
# returns an error.
|
119
115
|
rpc :CreateCustomer, ::Google::Cloud::Channel::V1::CreateCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
120
116
|
# Updates an existing [Customer][google.cloud.channel.v1.Customer] resource belonging to the reseller or
|
@@ -130,7 +126,7 @@ module Google
|
|
130
126
|
# specified in the request.
|
131
127
|
#
|
132
128
|
# Return Value:
|
133
|
-
#
|
129
|
+
# If successful, the updated [Customer][google.cloud.channel.v1.Customer] resource, otherwise returns
|
134
130
|
# an error.
|
135
131
|
rpc :UpdateCustomer, ::Google::Cloud::Channel::V1::UpdateCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
136
132
|
# Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently and irreversibly.
|
@@ -161,7 +157,7 @@ module Google
|
|
161
157
|
# Contact Cloud Channel support in this case.
|
162
158
|
#
|
163
159
|
# Return Value:
|
164
|
-
#
|
160
|
+
# Long Running Operation ID.
|
165
161
|
#
|
166
162
|
# To get the results of the operation, call the GetOperation method of
|
167
163
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -175,7 +171,7 @@ module Google
|
|
175
171
|
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
176
172
|
#
|
177
173
|
# Return Value:
|
178
|
-
#
|
174
|
+
# List of [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to the customer, or empty list if
|
179
175
|
# there are none.
|
180
176
|
rpc :ListEntitlements, ::Google::Cloud::Channel::V1::ListEntitlementsRequest, ::Google::Cloud::Channel::V1::ListEntitlementsResponse
|
181
177
|
# List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on Cloud Identity ID or
|
@@ -186,21 +182,16 @@ module Google
|
|
186
182
|
# the customer's Cloud Identity ID or Customer Name.
|
187
183
|
#
|
188
184
|
# Possible Error Codes:
|
189
|
-
#
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# </ul>
|
197
|
-
# </li>
|
198
|
-
# <li> INVALID_ARGUMENT: Missing or invalid required parameters in the
|
199
|
-
# request.</li>
|
200
|
-
# </ul>
|
185
|
+
#
|
186
|
+
# * PERMISSION_DENIED: Appears because of one of the following -
|
187
|
+
# * The customer doesn't belong to the reseller and no auth token.
|
188
|
+
# * The supplied auth token is invalid.
|
189
|
+
# * The reseller account making the request and the queries reseller
|
190
|
+
# account are different.
|
191
|
+
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
201
192
|
#
|
202
193
|
# Return Value:
|
203
|
-
#
|
194
|
+
# List of [TransferableSku][google.cloud.channel.v1.TransferableSku] for the given customer.
|
204
195
|
rpc :ListTransferableSkus, ::Google::Cloud::Channel::V1::ListTransferableSkusRequest, ::Google::Cloud::Channel::V1::ListTransferableSkusResponse
|
205
196
|
# List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
|
206
197
|
# Customer Name in the request.
|
@@ -211,10 +202,11 @@ module Google
|
|
211
202
|
#
|
212
203
|
# Possible Error Codes:
|
213
204
|
#
|
214
|
-
# * PERMISSION_DENIED
|
215
|
-
# customer doesn't belong to the reseller and no auth token or
|
216
|
-
# token is supplied.
|
217
|
-
# reseller account
|
205
|
+
# * PERMISSION_DENIED: Appears because of one of the following:
|
206
|
+
# * If the customer doesn't belong to the reseller and no auth token or
|
207
|
+
# invalid auth token is supplied.
|
208
|
+
# * If the reseller account making the request and the reseller account
|
209
|
+
# being queried for are different.
|
218
210
|
# * INVALID_ARGUMENT: Missing or invalid required parameters in the
|
219
211
|
# request.
|
220
212
|
#
|
@@ -231,57 +223,44 @@ module Google
|
|
231
223
|
# * NOT_FOUND: If the entitlement is not found for the customer.
|
232
224
|
#
|
233
225
|
# Return Value:
|
234
|
-
#
|
226
|
+
# If found, the requested [Entitlement][google.cloud.channel.v1.Entitlement] resource, otherwise returns
|
235
227
|
# an error.
|
236
228
|
rpc :GetEntitlement, ::Google::Cloud::Channel::V1::GetEntitlementRequest, ::Google::Cloud::Channel::V1::Entitlement
|
237
229
|
# Creates an entitlement for a customer.
|
238
230
|
#
|
239
231
|
# Possible Error Codes:
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
#
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
#
|
267
|
-
#
|
268
|
-
#
|
269
|
-
# domain. Must meet the following domain naming requirements:
|
270
|
-
# <ul>
|
271
|
-
# <li> Domain names must start with goog-test. </li>
|
272
|
-
# <li> Resold domain names must include the reseller domain. </li>
|
273
|
-
# </ul>
|
274
|
-
# </li>
|
275
|
-
# </ul>
|
276
|
-
# </li>
|
277
|
-
# <li> INTERNAL: Any non-user error related to a technical issue in the
|
278
|
-
# backend. Contact Cloud Channel Support in this case. </li>
|
279
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
280
|
-
# backend. Contact Cloud Channel Support in this case. </li>
|
281
|
-
# </ul>
|
232
|
+
#
|
233
|
+
# * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
|
234
|
+
# * INVALID_ARGUMENT: It can happen in below scenarios -
|
235
|
+
# * Missing or invalid required parameters in the request.
|
236
|
+
# * Cannot purchase an entitlement if there is already an entitlement for
|
237
|
+
# customer, for a SKU from the same product family.
|
238
|
+
# * INVALID_VALUE: Offer passed in isn't valid. Make sure OfferId is
|
239
|
+
# valid. If it is valid, then contact Google Channel support for further
|
240
|
+
# troubleshooting.
|
241
|
+
# * NOT_FOUND: If the customer or offer resource is not found for the
|
242
|
+
# reseller.
|
243
|
+
# * ALREADY_EXISTS: This failure can happen in the following cases:
|
244
|
+
# * If the SKU has been already purchased for the customer.
|
245
|
+
# * If the customer's primary email already exists. In this case retry
|
246
|
+
# after changing the customer's primary contact email.
|
247
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
|
248
|
+
# following cases:
|
249
|
+
# * Purchasing a SKU that requires domain verification and the domain has
|
250
|
+
# not been verified.
|
251
|
+
# * Purchasing an Add-On SKU like Vault or Drive without purchasing the
|
252
|
+
# pre-requisite SKU, such as Google Workspace Business Starter.
|
253
|
+
# * Applicable only for developer accounts: reseller and resold domain.
|
254
|
+
# Must meet the following domain naming requirements:
|
255
|
+
# * Domain names must start with goog-test.
|
256
|
+
# * Resold domain names must include the reseller domain.
|
257
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
258
|
+
# backend. Contact Cloud Channel Support in this case.
|
259
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the
|
260
|
+
# backend. Contact Cloud Channel Support in this case.
|
282
261
|
#
|
283
262
|
# Return Value:
|
284
|
-
#
|
263
|
+
# Long Running Operation ID.
|
285
264
|
#
|
286
265
|
# To get the results of the operation, call the GetOperation method of
|
287
266
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -306,7 +285,7 @@ module Google
|
|
306
285
|
# In this case, contact Cloud Channel support.
|
307
286
|
#
|
308
287
|
# Return Value:
|
309
|
-
#
|
288
|
+
# Long Running Operation ID.
|
310
289
|
#
|
311
290
|
# To get the results of the operation, call the GetOperation method of
|
312
291
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -331,7 +310,7 @@ module Google
|
|
331
310
|
# In this case, contact Cloud Channel support.
|
332
311
|
#
|
333
312
|
# Return Value:
|
334
|
-
#
|
313
|
+
# Long Running Operation ID.
|
335
314
|
#
|
336
315
|
# To get the results of the operation, call the GetOperation method of
|
337
316
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -354,7 +333,7 @@ module Google
|
|
354
333
|
# In this case, contact Cloud Channel support.
|
355
334
|
#
|
356
335
|
# Return Value:
|
357
|
-
#
|
336
|
+
# Long Running Operation ID.
|
358
337
|
#
|
359
338
|
# To get the results of the operation, call the GetOperation method of
|
360
339
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -380,7 +359,7 @@ module Google
|
|
380
359
|
# in the backend. In this case, contact Cloud Channel support.
|
381
360
|
#
|
382
361
|
# Return Value:
|
383
|
-
#
|
362
|
+
# Long Running Operation ID.
|
384
363
|
#
|
385
364
|
# To get the results of the operation, call the GetOperation method of
|
386
365
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -402,7 +381,7 @@ module Google
|
|
402
381
|
# In this case, contact Cloud Channel support.
|
403
382
|
#
|
404
383
|
# Return Value:
|
405
|
-
#
|
384
|
+
# Long Running Operation ID.
|
406
385
|
#
|
407
386
|
# To get the results of the operation, call the GetOperation method of
|
408
387
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -429,7 +408,7 @@ module Google
|
|
429
408
|
# In this case, contact Cloud Channel support.
|
430
409
|
#
|
431
410
|
# Return Value:
|
432
|
-
#
|
411
|
+
# Long Running Operation ID.
|
433
412
|
#
|
434
413
|
# To get the results of the operation, call the GetOperation method of
|
435
414
|
# CloudChannelOperationsService. The response will contain
|
@@ -461,7 +440,7 @@ module Google
|
|
461
440
|
# In this case, contact Cloud Channel support.
|
462
441
|
#
|
463
442
|
# Return Value:
|
464
|
-
#
|
443
|
+
# Long Running Operation ID.
|
465
444
|
#
|
466
445
|
# To get the results of the operation, call the GetOperation method of
|
467
446
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -470,36 +449,30 @@ module Google
|
|
470
449
|
# Transfers customer entitlements to new reseller.
|
471
450
|
#
|
472
451
|
# Possible Error Codes:
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
# SKU has been already transferred for the customer.
|
479
|
-
# CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
|
480
|
-
# following cases:
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
#
|
485
|
-
# developer accounts: reseller and resold domain
|
486
|
-
# naming convention as follows:
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
# </li>
|
495
|
-
# <li> INTERNAL: Any non-user error related to a technical issue in the
|
496
|
-
# backend. Please contact Cloud Channel Support in this case. </li>
|
497
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
498
|
-
# backend. Please contact Cloud Channel Support in this case. </li>
|
499
|
-
# </ul>
|
452
|
+
#
|
453
|
+
# * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
|
454
|
+
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
455
|
+
# * NOT_FOUND: If the customer or offer resource is not found for the
|
456
|
+
# reseller.
|
457
|
+
# * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
|
458
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in the
|
459
|
+
# following cases:
|
460
|
+
# * Transferring a SKU that requires domain verification and the domain
|
461
|
+
# has not been verified.
|
462
|
+
# * Transferring an Add-On SKU like Vault or Drive without transferring
|
463
|
+
# the pre-requisite SKU, such as G Suite Basic.
|
464
|
+
# * Applicable only for developer accounts: reseller and resold domain
|
465
|
+
# must follow the domain naming convention as follows:
|
466
|
+
# * Domain names must start with goog-test.
|
467
|
+
# * Resold domain names must include the reseller domain.
|
468
|
+
# * All transferring entitlements must be specified.
|
469
|
+
# * INTERNAL: Any non-user error related to a technical issue in the backend.
|
470
|
+
# Please contact Cloud Channel Support in this case.
|
471
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
472
|
+
# Please contact Cloud Channel Support in this case.
|
500
473
|
#
|
501
474
|
# Return Value:
|
502
|
-
#
|
475
|
+
# Long Running Operation ID.
|
503
476
|
#
|
504
477
|
# To get the results of the operation, call the GetOperation method of
|
505
478
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -508,38 +481,29 @@ module Google
|
|
508
481
|
# Transfers customer entitlements from current reseller to Google.
|
509
482
|
#
|
510
483
|
# Possible Error Codes:
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
#
|
515
|
-
#
|
516
|
-
# for the
|
517
|
-
#
|
518
|
-
# transferred for the customer. </li>
|
519
|
-
# <li> CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
|
484
|
+
#
|
485
|
+
# * PERMISSION_DENIED: If the customer doesn't belong to the reseller.
|
486
|
+
# * INVALID_ARGUMENT: Missing or invalid required parameters in the request.
|
487
|
+
# * NOT_FOUND: If the customer or offer resource is not found for the
|
488
|
+
# reseller.
|
489
|
+
# * ALREADY_EXISTS: If the SKU has been already transferred for the customer.
|
490
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION: This failure can happen in
|
520
491
|
# the following cases:
|
521
|
-
#
|
522
|
-
#
|
523
|
-
#
|
524
|
-
#
|
525
|
-
#
|
526
|
-
#
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
533
|
-
# </ul>
|
534
|
-
# </li>
|
535
|
-
# <li> INTERNAL: Any non-user error related to a technical issue in the
|
536
|
-
# backend. Please contact Cloud Channel Support in this case. </li>
|
537
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
538
|
-
# backend. Please contact Cloud Channel Support in this case.</li>
|
539
|
-
# </ul>
|
492
|
+
# * Transferring a SKU that requires domain verification and the domain
|
493
|
+
# has not been verified.
|
494
|
+
# * Transferring an Add-On SKU like Vault or Drive without purchasing the
|
495
|
+
# pre-requisite SKU, such as G Suite Basic.
|
496
|
+
# * Applicable only for developer accounts: reseller and resold domain
|
497
|
+
# must follow the domain naming convention as follows:
|
498
|
+
# * Domain names must start with goog-test.
|
499
|
+
# * Resold domain names must include the reseller domain.
|
500
|
+
# * INTERNAL: Any non-user error related to a technical issue in the backend.
|
501
|
+
# Please contact Cloud Channel Support in this case.
|
502
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
503
|
+
# Please contact Cloud Channel Support in this case.
|
540
504
|
#
|
541
505
|
# Return Value:
|
542
|
-
#
|
506
|
+
# Long Running Operation ID.
|
543
507
|
#
|
544
508
|
# To get the results of the operation, call the GetOperation method of
|
545
509
|
# CloudChannelOperationsService. The response will contain
|
@@ -557,7 +521,7 @@ module Google
|
|
557
521
|
# request.
|
558
522
|
#
|
559
523
|
# Return Value:
|
560
|
-
#
|
524
|
+
# If successful, returns the list of [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources
|
561
525
|
# for the distributor account, otherwise returns an error.
|
562
526
|
rpc :ListChannelPartnerLinks, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksRequest, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksResponse
|
563
527
|
# Returns a requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
@@ -573,7 +537,7 @@ module Google
|
|
573
537
|
# due invalid channel partner link name.
|
574
538
|
#
|
575
539
|
# Return Value:
|
576
|
-
#
|
540
|
+
# [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if found, otherwise returns an error.
|
577
541
|
rpc :GetChannelPartnerLink, ::Google::Cloud::Channel::V1::GetChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
578
542
|
# Initiates a channel partner link between a distributor and a reseller or
|
579
543
|
# between resellers in an n-tier reseller channel.
|
@@ -597,7 +561,7 @@ module Google
|
|
597
561
|
# the backend. In this case, contact Cloud Channel support.
|
598
562
|
#
|
599
563
|
# Return Value:
|
600
|
-
#
|
564
|
+
# Newly created [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource if successful,
|
601
565
|
# otherwise error is returned.
|
602
566
|
rpc :CreateChannelPartnerLink, ::Google::Cloud::Channel::V1::CreateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
603
567
|
# Updates a channel partner link. A distributor calls this method to change a
|
@@ -605,26 +569,22 @@ module Google
|
|
605
569
|
# To call this method, you must be a distributor.
|
606
570
|
#
|
607
571
|
# Possible Error Codes:
|
608
|
-
#
|
609
|
-
#
|
610
|
-
# reseller account being queried for are different.
|
611
|
-
#
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
616
|
-
#
|
617
|
-
#
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
# backend. In this case, contact Cloud Channel support. </li>
|
622
|
-
# <li> UNKNOWN: Any non-user error related to a technical issue in the
|
623
|
-
# backend. In this case, contact Cloud Channel support.</li>
|
624
|
-
# </ul>
|
572
|
+
#
|
573
|
+
# * PERMISSION_DENIED: If the reseller account making the request and the
|
574
|
+
# reseller account being queried for are different.
|
575
|
+
# * INVALID_ARGUMENT: It can happen in following scenarios -
|
576
|
+
# * Missing or invalid required parameters in the request.
|
577
|
+
# * Updating link state from invited to active or suspended.
|
578
|
+
# * Sending reseller_cloud_identity_id, invite_url or name in update
|
579
|
+
# mask.
|
580
|
+
# * NOT_FOUND: ChannelPartnerLink resource not found.
|
581
|
+
# * INTERNAL: Any non-user error related to a technical issue in the backend.
|
582
|
+
# In this case, contact Cloud Channel support.
|
583
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
584
|
+
# In this case, contact Cloud Channel support.
|
625
585
|
#
|
626
586
|
# Return Value:
|
627
|
-
#
|
587
|
+
# If successful, the updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource, otherwise
|
628
588
|
# returns an error.
|
629
589
|
rpc :UpdateChannelPartnerLink, ::Google::Cloud::Channel::V1::UpdateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
630
590
|
# Lists the Products the reseller is authorized to sell.
|