google-cloud-channel-v1 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/channel/v1/cloud_channel_service.rb +14 -16
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +547 -612
- data/lib/google/cloud/channel/v1/common_pb.rb +1 -0
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +1 -0
- data/lib/google/cloud/channel/v1/service_services_pb.rb +365 -413
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +2 -0
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/common.rb +9 -2
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +3 -0
- data/proto_docs/google/cloud/channel/v1/service.rb +200 -220
- data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +6 -0
- metadata +4 -4
@@ -49,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
49
49
|
optional :string_value, :string, 2
|
50
50
|
optional :double_value, :double, 3
|
51
51
|
optional :proto_value, :message, 4, "google.protobuf.Any"
|
52
|
+
optional :bool_value, :bool, 5
|
52
53
|
end
|
53
54
|
end
|
54
55
|
add_message "google.cloud.channel.v1.AdminUser" do
|
@@ -71,6 +71,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
71
71
|
add_message "google.cloud.channel.v1.TransferableSku" do
|
72
72
|
optional :transfer_eligibility, :message, 9, "google.cloud.channel.v1.TransferEligibility"
|
73
73
|
optional :sku, :message, 11, "google.cloud.channel.v1.Sku"
|
74
|
+
optional :legacy_sku, :message, 12, "google.cloud.channel.v1.Sku"
|
74
75
|
end
|
75
76
|
add_message "google.cloud.channel.v1.TransferEligibility" do
|
76
77
|
optional :is_eligible, :bool, 1
|
@@ -24,27 +24,25 @@ module Google
|
|
24
24
|
module Channel
|
25
25
|
module V1
|
26
26
|
module CloudChannelService
|
27
|
-
# CloudChannelService
|
28
|
-
# their customers, channel partners, entitlements and reports.
|
27
|
+
# CloudChannelService lets Google cloud resellers and distributors manage
|
28
|
+
# their customers, channel partners, entitlements, and reports.
|
29
29
|
#
|
30
30
|
# Using this service:
|
31
|
-
# 1. Resellers
|
32
|
-
# 2. Distributors can register an authorized reseller in their channel and
|
33
|
-
#
|
34
|
-
# 3. Resellers
|
31
|
+
# 1. Resellers and distributors can manage a customer entity.
|
32
|
+
# 2. Distributors can register an authorized reseller in their channel and
|
33
|
+
# provide them with delegated admin access.
|
34
|
+
# 3. Resellers and distributors can manage customer entitlements.
|
35
35
|
#
|
36
|
-
#
|
37
|
-
# - [Customer][google.cloud.channel.v1.Customer]s:
|
38
|
-
# distributor.
|
39
|
-
# resale channel hierarchy, customers are generally represented as leaf nodes.
|
40
|
-
# Customers primarily have an Entitlement sub-resource discussed below.
|
36
|
+
# CloudChannelService exposes the following resources:
|
37
|
+
# - [Customer][google.cloud.channel.v1.Customer]s: An entity—usually an enterprise—managed by a reseller or
|
38
|
+
# distributor.
|
41
39
|
#
|
42
|
-
# - [Entitlement][google.cloud.channel.v1.Entitlement]s: An
|
43
|
-
#
|
44
|
-
#
|
40
|
+
# - [Entitlement][google.cloud.channel.v1.Entitlement]s: An entity that provides a customer with the means to use
|
41
|
+
# a service. Entitlements are created or updated as a result of a successful
|
42
|
+
# fulfillment.
|
45
43
|
#
|
46
|
-
# - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s:
|
47
|
-
#
|
44
|
+
# - [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s: An entity that identifies links between
|
45
|
+
# distributors and their indirect resellers in a channel.
|
48
46
|
class Service
|
49
47
|
|
50
48
|
include GRPC::GenericService
|
@@ -53,240 +51,221 @@ module Google
|
|
53
51
|
self.unmarshal_class_method = :decode
|
54
52
|
self.service_name = 'google.cloud.channel.v1.CloudChannelService'
|
55
53
|
|
56
|
-
# List
|
54
|
+
# List [Customer][google.cloud.channel.v1.Customer]s.
|
57
55
|
#
|
58
|
-
# Possible
|
56
|
+
# Possible error codes:
|
59
57
|
#
|
60
|
-
# * PERMISSION_DENIED:
|
61
|
-
# reseller account
|
62
|
-
# * INVALID_ARGUMENT:
|
63
|
-
# request.
|
58
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
59
|
+
# from the reseller account in the API request.
|
60
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
64
61
|
#
|
65
|
-
# Return
|
66
|
-
# List of [Customer][google.cloud.channel.v1.Customer]s
|
67
|
-
# there are none.
|
62
|
+
# Return value:
|
63
|
+
# List of [Customer][google.cloud.channel.v1.Customer]s, or an empty list if there are no customers.
|
68
64
|
rpc :ListCustomers, ::Google::Cloud::Channel::V1::ListCustomersRequest, ::Google::Cloud::Channel::V1::ListCustomersResponse
|
69
65
|
# Returns a requested [Customer][google.cloud.channel.v1.Customer] resource.
|
70
66
|
#
|
71
|
-
# Possible
|
67
|
+
# Possible error codes:
|
72
68
|
#
|
73
|
-
# * PERMISSION_DENIED:
|
74
|
-
# reseller account
|
75
|
-
# * INVALID_ARGUMENT:
|
76
|
-
#
|
77
|
-
#
|
78
|
-
# the result of an invalid name parameter.
|
69
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
70
|
+
# from the reseller account in the API request.
|
71
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
72
|
+
# * NOT_FOUND: The customer resource doesn't exist. Usually the result of an
|
73
|
+
# invalid name parameter.
|
79
74
|
#
|
80
|
-
# Return
|
81
|
-
# [Customer][google.cloud.channel.v1.Customer] resource
|
75
|
+
# Return value:
|
76
|
+
# The [Customer][google.cloud.channel.v1.Customer] resource.
|
82
77
|
rpc :GetCustomer, ::Google::Cloud::Channel::V1::GetCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
83
|
-
# Confirms the existence of Cloud Identity accounts
|
84
|
-
#
|
78
|
+
# Confirms the existence of Cloud Identity accounts based on the domain and
|
79
|
+
# if the Cloud Identity accounts are owned by the reseller.
|
85
80
|
#
|
86
|
-
# Possible
|
81
|
+
# Possible error codes:
|
87
82
|
#
|
88
|
-
# * PERMISSION_DENIED:
|
89
|
-
# reseller account
|
90
|
-
# * INVALID_ARGUMENT:
|
91
|
-
# request.
|
83
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
84
|
+
# from the reseller account in the API request.
|
85
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
92
86
|
# * INVALID_VALUE: Invalid domain value in the request.
|
93
87
|
#
|
94
|
-
# Return
|
95
|
-
#
|
96
|
-
#
|
88
|
+
# Return value:
|
89
|
+
# A list of [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources for the domain (may be
|
90
|
+
# empty)
|
97
91
|
#
|
98
|
-
# Note: in the v1alpha1 version of the API, a NOT_FOUND error
|
92
|
+
# Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if
|
99
93
|
# no [CloudIdentityCustomerAccount][google.cloud.channel.v1.CloudIdentityCustomerAccount] resources match the domain.
|
100
94
|
rpc :CheckCloudIdentityAccountsExist, ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistRequest, ::Google::Cloud::Channel::V1::CheckCloudIdentityAccountsExistResponse
|
101
95
|
# Creates a new [Customer][google.cloud.channel.v1.Customer] resource under the reseller or distributor
|
102
96
|
# account.
|
103
97
|
#
|
104
|
-
# Possible
|
98
|
+
# Possible error codes:
|
105
99
|
#
|
106
|
-
# * PERMISSION_DENIED:
|
107
|
-
# reseller account
|
108
|
-
# * INVALID_ARGUMENT:
|
109
|
-
# *
|
110
|
-
# * Domain field value doesn't match the
|
111
|
-
# email.
|
100
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
101
|
+
# from the reseller account in the API request.
|
102
|
+
# * INVALID_ARGUMENT:
|
103
|
+
# * Required request parameters are missing or invalid.
|
104
|
+
# * Domain field value doesn't match the primary email domain.
|
112
105
|
#
|
113
|
-
# Return
|
114
|
-
#
|
115
|
-
# returns an error.
|
106
|
+
# Return value:
|
107
|
+
# The newly created [Customer][google.cloud.channel.v1.Customer] resource.
|
116
108
|
rpc :CreateCustomer, ::Google::Cloud::Channel::V1::CreateCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
117
|
-
# Updates an existing [Customer][google.cloud.channel.v1.Customer] resource
|
109
|
+
# Updates an existing [Customer][google.cloud.channel.v1.Customer] resource for the reseller or
|
118
110
|
# distributor.
|
119
111
|
#
|
120
|
-
# Possible
|
112
|
+
# Possible error codes:
|
121
113
|
#
|
122
|
-
# * PERMISSION_DENIED:
|
123
|
-
# reseller account
|
124
|
-
# * INVALID_ARGUMENT:
|
125
|
-
# request.
|
126
|
-
# * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name
|
127
|
-
# specified in the request.
|
114
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
115
|
+
# from the reseller account in the API request.
|
116
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
117
|
+
# * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
|
128
118
|
#
|
129
|
-
# Return
|
130
|
-
#
|
131
|
-
# an error.
|
119
|
+
# Return value:
|
120
|
+
# The updated [Customer][google.cloud.channel.v1.Customer] resource.
|
132
121
|
rpc :UpdateCustomer, ::Google::Cloud::Channel::V1::UpdateCustomerRequest, ::Google::Cloud::Channel::V1::Customer
|
133
122
|
# Deletes the given [Customer][google.cloud.channel.v1.Customer] permanently and irreversibly.
|
134
123
|
#
|
135
|
-
# Possible
|
124
|
+
# Possible error codes:
|
136
125
|
#
|
137
|
-
# * PERMISSION_DENIED:
|
126
|
+
# * PERMISSION_DENIED: The account making the request does not own
|
138
127
|
# this customer.
|
139
|
-
# * INVALID_ARGUMENT:
|
140
|
-
#
|
141
|
-
# *
|
142
|
-
# * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name
|
143
|
-
# specified in the request.
|
128
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
129
|
+
# * FAILED_PRECONDITION: The customer has existing entitlements.
|
130
|
+
# * NOT_FOUND: No [Customer][google.cloud.channel.v1.Customer] resource found for the name in the request.
|
144
131
|
rpc :DeleteCustomer, ::Google::Cloud::Channel::V1::DeleteCustomerRequest, ::Google::Protobuf::Empty
|
145
132
|
# Creates a Cloud Identity for the given customer using the customer's
|
146
|
-
# information or the information provided here
|
133
|
+
# information, or the information provided here.
|
147
134
|
#
|
148
|
-
# Possible
|
135
|
+
# Possible error codes:
|
149
136
|
#
|
150
|
-
# * PERMISSION_DENIED:
|
151
|
-
# * INVALID_ARGUMENT:
|
152
|
-
# * NOT_FOUND:
|
153
|
-
# * ALREADY_EXISTS:
|
154
|
-
#
|
155
|
-
# *
|
156
|
-
#
|
157
|
-
# *
|
158
|
-
#
|
137
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
138
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
139
|
+
# * NOT_FOUND: The customer was not found.
|
140
|
+
# * ALREADY_EXISTS: The customer's primary email already exists. Retry
|
141
|
+
# after changing the customer's primary contact email.
|
142
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
143
|
+
# backend. Contact Cloud Channel support.
|
144
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
145
|
+
# Contact Cloud Channel support.
|
159
146
|
#
|
160
|
-
# Return
|
161
|
-
#
|
147
|
+
# Return value:
|
148
|
+
# The ID of a long-running operation.
|
162
149
|
#
|
163
150
|
# To get the results of the operation, call the GetOperation method of
|
164
|
-
# CloudChannelOperationsService. The Operation metadata
|
151
|
+
# CloudChannelOperationsService. The Operation metadata contains an
|
165
152
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
166
153
|
rpc :ProvisionCloudIdentity, ::Google::Cloud::Channel::V1::ProvisionCloudIdentityRequest, ::Google::Longrunning::Operation
|
167
|
-
#
|
154
|
+
# Lists [Entitlement][google.cloud.channel.v1.Entitlement]s belonging to a customer.
|
168
155
|
#
|
169
|
-
# Possible
|
156
|
+
# Possible error codes:
|
170
157
|
#
|
171
|
-
# * PERMISSION_DENIED:
|
172
|
-
# * INVALID_ARGUMENT:
|
158
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
159
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
173
160
|
#
|
174
|
-
# Return
|
175
|
-
#
|
176
|
-
# there are none.
|
161
|
+
# Return value:
|
162
|
+
# A list of the customer's [Entitlement][google.cloud.channel.v1.Entitlement]s.
|
177
163
|
rpc :ListEntitlements, ::Google::Cloud::Channel::V1::ListEntitlementsRequest, ::Google::Cloud::Channel::V1::ListEntitlementsResponse
|
178
|
-
# List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on Cloud Identity ID or
|
164
|
+
# List [TransferableSku][google.cloud.channel.v1.TransferableSku]s of a customer based on the Cloud Identity ID or
|
179
165
|
# Customer Name in the request.
|
180
166
|
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
167
|
+
# Use this method to list the entitlements information of an
|
168
|
+
# unowned customer. You should provide the customer's
|
169
|
+
# Cloud Identity ID or Customer Name.
|
184
170
|
#
|
185
|
-
# Possible
|
171
|
+
# Possible error codes:
|
186
172
|
#
|
187
|
-
# * PERMISSION_DENIED:
|
188
|
-
# * The customer doesn't belong to the reseller and no auth token.
|
173
|
+
# * PERMISSION_DENIED:
|
174
|
+
# * The customer doesn't belong to the reseller and has no auth token.
|
189
175
|
# * The supplied auth token is invalid.
|
190
|
-
# * The reseller account making the request
|
191
|
-
# account
|
192
|
-
# * INVALID_ARGUMENT:
|
176
|
+
# * The reseller account making the request is different
|
177
|
+
# from the reseller account in the query.
|
178
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
193
179
|
#
|
194
|
-
# Return
|
195
|
-
#
|
180
|
+
# Return value:
|
181
|
+
# A list of the customer's [TransferableSku][google.cloud.channel.v1.TransferableSku].
|
196
182
|
rpc :ListTransferableSkus, ::Google::Cloud::Channel::V1::ListTransferableSkusRequest, ::Google::Cloud::Channel::V1::ListTransferableSkusResponse
|
197
183
|
# List [TransferableOffer][google.cloud.channel.v1.TransferableOffer]s of a customer based on Cloud Identity ID or
|
198
184
|
# Customer Name in the request.
|
199
185
|
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
186
|
+
# Use this method when a reseller gets the entitlement information of an
|
187
|
+
# unowned customer. The reseller should provide the customer's
|
188
|
+
# Cloud Identity ID or Customer Name.
|
203
189
|
#
|
204
|
-
# Possible
|
190
|
+
# Possible error codes:
|
205
191
|
#
|
206
|
-
# * PERMISSION_DENIED:
|
207
|
-
# *
|
208
|
-
#
|
209
|
-
# *
|
210
|
-
#
|
211
|
-
# * INVALID_ARGUMENT:
|
212
|
-
# request.
|
192
|
+
# * PERMISSION_DENIED:
|
193
|
+
# * The customer doesn't belong to the reseller and has no auth token.
|
194
|
+
# * The supplied auth token is invalid.
|
195
|
+
# * The reseller account making the request is different
|
196
|
+
# from the reseller account in the query.
|
197
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
213
198
|
#
|
214
|
-
# Return
|
199
|
+
# Return value:
|
215
200
|
# List of [TransferableOffer][google.cloud.channel.v1.TransferableOffer] for the given customer and SKU.
|
216
201
|
rpc :ListTransferableOffers, ::Google::Cloud::Channel::V1::ListTransferableOffersRequest, ::Google::Cloud::Channel::V1::ListTransferableOffersResponse
|
217
202
|
# Returns a requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
|
218
203
|
#
|
219
|
-
# Possible
|
204
|
+
# Possible error codes:
|
220
205
|
#
|
221
|
-
# * PERMISSION_DENIED:
|
222
|
-
# * INVALID_ARGUMENT:
|
223
|
-
#
|
224
|
-
# * NOT_FOUND: If the entitlement is not found for the customer.
|
206
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
207
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
208
|
+
# * NOT_FOUND: The customer entitlement was not found.
|
225
209
|
#
|
226
|
-
# Return
|
227
|
-
#
|
228
|
-
# an error.
|
210
|
+
# Return value:
|
211
|
+
# The requested [Entitlement][google.cloud.channel.v1.Entitlement] resource.
|
229
212
|
rpc :GetEntitlement, ::Google::Cloud::Channel::V1::GetEntitlementRequest, ::Google::Cloud::Channel::V1::Entitlement
|
230
213
|
# Creates an entitlement for a customer.
|
231
214
|
#
|
232
|
-
# Possible
|
233
|
-
#
|
234
|
-
# * PERMISSION_DENIED:
|
235
|
-
# * INVALID_ARGUMENT:
|
236
|
-
# *
|
237
|
-
# *
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
# *
|
243
|
-
#
|
244
|
-
#
|
245
|
-
# * If the SKU has been already purchased for the customer.
|
246
|
-
# * If the customer's primary email already exists. In this case retry
|
215
|
+
# Possible error codes:
|
216
|
+
#
|
217
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
218
|
+
# * INVALID_ARGUMENT:
|
219
|
+
# * Required request parameters are missing or invalid.
|
220
|
+
# * There is already a customer entitlement for a SKU from the same
|
221
|
+
# product family.
|
222
|
+
# * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact
|
223
|
+
# Google Channel support for further troubleshooting.
|
224
|
+
# * NOT_FOUND: The customer or offer resource was not found.
|
225
|
+
# * ALREADY_EXISTS:
|
226
|
+
# * The SKU was already purchased for the customer.
|
227
|
+
# * The customer's primary email already exists. Retry
|
247
228
|
# after changing the customer's primary contact email.
|
248
|
-
# * CONDITION_NOT_MET or FAILED_PRECONDITION:
|
249
|
-
#
|
250
|
-
# *
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
#
|
255
|
-
# Must meet the following domain naming requirements:
|
229
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION:
|
230
|
+
# * The domain required for purchasing a SKU has not been verified.
|
231
|
+
# * A pre-requisite SKU required to purchase an Add-On SKU is missing.
|
232
|
+
# For example, Google Workspace Business Starter is required to purchase
|
233
|
+
# Vault or Drive.
|
234
|
+
# * (Developer accounts only) Reseller and resold domain must meet the
|
235
|
+
# following naming requirements:
|
256
236
|
# * Domain names must start with goog-test.
|
257
|
-
# *
|
237
|
+
# * Domain names must include the reseller domain.
|
258
238
|
# * INTERNAL: Any non-user error related to a technical issue in the
|
259
|
-
# backend. Contact Cloud Channel
|
260
|
-
# * UNKNOWN: Any non-user error related to a technical issue in the
|
261
|
-
#
|
239
|
+
# backend. Contact Cloud Channel support.
|
240
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
241
|
+
# Contact Cloud Channel support.
|
262
242
|
#
|
263
|
-
# Return
|
264
|
-
#
|
243
|
+
# Return value:
|
244
|
+
# The ID of a long-running operation.
|
265
245
|
#
|
266
246
|
# To get the results of the operation, call the GetOperation method of
|
267
247
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
268
248
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
269
249
|
rpc :CreateEntitlement, ::Google::Cloud::Channel::V1::CreateEntitlementRequest, ::Google::Longrunning::Operation
|
270
|
-
# Change parameters of the entitlement
|
250
|
+
# Change parameters of the entitlement.
|
271
251
|
#
|
272
|
-
# An entitlement
|
273
|
-
#
|
252
|
+
# An entitlement update is a long-running operation and it updates the
|
253
|
+
# entitlement as a result of fulfillment.
|
274
254
|
#
|
275
|
-
# Possible
|
255
|
+
# Possible error codes:
|
276
256
|
#
|
277
|
-
# * PERMISSION_DENIED:
|
278
|
-
# * INVALID_ARGUMENT:
|
279
|
-
#
|
280
|
-
#
|
281
|
-
# for a commitment based plan.
|
257
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
258
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
259
|
+
# For example, the number of seats being changed is greater than the allowed
|
260
|
+
# number of max seats, or decreasing seats for a commitment based plan.
|
282
261
|
# * NOT_FOUND: Entitlement resource not found.
|
283
|
-
# * INTERNAL: Any non-user error related to a technical issue
|
284
|
-
#
|
262
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
263
|
+
# backend. Contact Cloud Channel support.
|
285
264
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
286
|
-
#
|
265
|
+
# Contact Cloud Channel support.
|
287
266
|
#
|
288
|
-
# Return
|
289
|
-
#
|
267
|
+
# Return value:
|
268
|
+
# The ID of a long-running operation.
|
290
269
|
#
|
291
270
|
# To get the results of the operation, call the GetOperation method of
|
292
271
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -294,24 +273,23 @@ module Google
|
|
294
273
|
rpc :ChangeParameters, ::Google::Cloud::Channel::V1::ChangeParametersRequest, ::Google::Longrunning::Operation
|
295
274
|
# Updates the renewal settings for an existing customer entitlement.
|
296
275
|
#
|
297
|
-
# An entitlement update is a long-running operation and
|
298
|
-
#
|
276
|
+
# An entitlement update is a long-running operation and it updates the
|
277
|
+
# entitlement as a result of fulfillment.
|
299
278
|
#
|
300
|
-
# Possible
|
279
|
+
# Possible error codes:
|
301
280
|
#
|
302
|
-
# * PERMISSION_DENIED:
|
303
|
-
# * INVALID_ARGUMENT:
|
304
|
-
# request.
|
281
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
282
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
305
283
|
# * NOT_FOUND: Entitlement resource not found.
|
306
284
|
# * NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a
|
307
|
-
# commitment plan. Can't enable or disable
|
308
|
-
# * INTERNAL: Any non
|
309
|
-
# backend.
|
310
|
-
# * UNKNOWN: Any non
|
311
|
-
#
|
285
|
+
# commitment plan. Can't enable or disable renewals for non-commitment plans.
|
286
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
287
|
+
# backend. Contact Cloud Channel support.
|
288
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
289
|
+
# Contact Cloud Channel support.
|
312
290
|
#
|
313
|
-
# Return
|
314
|
-
#
|
291
|
+
# Return value:
|
292
|
+
# The ID of a long-running operation.
|
315
293
|
#
|
316
294
|
# To get the results of the operation, call the GetOperation method of
|
317
295
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -319,22 +297,21 @@ module Google
|
|
319
297
|
rpc :ChangeRenewalSettings, ::Google::Cloud::Channel::V1::ChangeRenewalSettingsRequest, ::Google::Longrunning::Operation
|
320
298
|
# Updates the Offer for an existing customer entitlement.
|
321
299
|
#
|
322
|
-
# An entitlement update is a long-running operation and
|
323
|
-
#
|
300
|
+
# An entitlement update is a long-running operation and it updates the
|
301
|
+
# entitlement as a result of fulfillment.
|
324
302
|
#
|
325
|
-
# Possible
|
303
|
+
# Possible error codes:
|
326
304
|
#
|
327
|
-
# * PERMISSION_DENIED:
|
328
|
-
# * INVALID_ARGUMENT:
|
329
|
-
# request.
|
305
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
306
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
330
307
|
# * NOT_FOUND: Offer or Entitlement resource not found.
|
331
|
-
# * INTERNAL: Any non-user error related to a technical issue in the
|
332
|
-
#
|
308
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
309
|
+
# backend. Contact Cloud Channel support.
|
333
310
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
334
|
-
#
|
311
|
+
# Contact Cloud Channel support.
|
335
312
|
#
|
336
|
-
# Return
|
337
|
-
#
|
313
|
+
# Return value:
|
314
|
+
# The ID of a long-running operation.
|
338
315
|
#
|
339
316
|
# To get the results of the operation, call the GetOperation method of
|
340
317
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -343,105 +320,100 @@ module Google
|
|
343
320
|
# Starts paid service for a trial entitlement.
|
344
321
|
#
|
345
322
|
# Starts paid service for a trial entitlement immediately. This method is
|
346
|
-
# only applicable if a plan
|
347
|
-
#
|
323
|
+
# only applicable if a plan is set up for a trial entitlement but has some
|
324
|
+
# trial days remaining.
|
348
325
|
#
|
349
|
-
# Possible
|
326
|
+
# Possible error codes:
|
350
327
|
#
|
351
|
-
# * PERMISSION_DENIED:
|
352
|
-
# * INVALID_ARGUMENT:
|
353
|
-
# request.
|
328
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
329
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
354
330
|
# * NOT_FOUND: Entitlement resource not found.
|
355
331
|
# * FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for
|
356
332
|
# entitlement on trial plans.
|
357
|
-
# * INTERNAL: Any non-user error related to a technical issue in the
|
358
|
-
#
|
359
|
-
# * UNKNOWN: Any non-user error related to a technical issue
|
360
|
-
#
|
333
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
334
|
+
# backend. Contact Cloud Channel support.
|
335
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
336
|
+
# Contact Cloud Channel support.
|
361
337
|
#
|
362
|
-
# Return
|
363
|
-
#
|
338
|
+
# Return value:
|
339
|
+
# The ID of a long-running operation.
|
364
340
|
#
|
365
341
|
# To get the results of the operation, call the GetOperation method of
|
366
342
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
367
343
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
368
344
|
rpc :StartPaidService, ::Google::Cloud::Channel::V1::StartPaidServiceRequest, ::Google::Longrunning::Operation
|
369
345
|
# Suspends a previously fulfilled entitlement.
|
346
|
+
#
|
370
347
|
# An entitlement suspension is a long-running operation.
|
371
348
|
#
|
372
|
-
# Possible
|
349
|
+
# Possible error codes:
|
373
350
|
#
|
374
|
-
# * PERMISSION_DENIED:
|
375
|
-
# * INVALID_ARGUMENT:
|
376
|
-
# request.
|
351
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
352
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
377
353
|
# * NOT_FOUND: Entitlement resource not found.
|
378
354
|
# * NOT_ACTIVE: Entitlement is not active.
|
379
|
-
# * INTERNAL: Any non-user error related to a technical issue in the
|
380
|
-
#
|
355
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
356
|
+
# backend. Contact Cloud Channel support.
|
381
357
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
382
|
-
#
|
358
|
+
# Contact Cloud Channel support.
|
383
359
|
#
|
384
|
-
# Return
|
385
|
-
#
|
360
|
+
# Return value:
|
361
|
+
# The ID of a long-running operation.
|
386
362
|
#
|
387
363
|
# To get the results of the operation, call the GetOperation method of
|
388
364
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
389
365
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
390
366
|
rpc :SuspendEntitlement, ::Google::Cloud::Channel::V1::SuspendEntitlementRequest, ::Google::Longrunning::Operation
|
391
367
|
# Cancels a previously fulfilled entitlement.
|
368
|
+
#
|
392
369
|
# An entitlement cancellation is a long-running operation.
|
393
370
|
#
|
394
|
-
# Possible
|
371
|
+
# Possible error codes:
|
395
372
|
#
|
396
|
-
# * PERMISSION_DENIED:
|
397
|
-
#
|
398
|
-
#
|
399
|
-
# * FAILED_PRECONDITION: If there are any Google Cloud projects linked to the
|
373
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
374
|
+
# from the reseller account in the API request.
|
375
|
+
# * FAILED_PRECONDITION: There are Google Cloud projects linked to the
|
400
376
|
# Google Cloud entitlement's Cloud Billing subaccount.
|
401
|
-
# * INVALID_ARGUMENT:
|
402
|
-
# request.
|
377
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
403
378
|
# * NOT_FOUND: Entitlement resource not found.
|
404
379
|
# * DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace
|
405
|
-
# add-ons or entitlements for Google Cloud's development platform.
|
380
|
+
# add-ons, or entitlements for Google Cloud's development platform.
|
406
381
|
# * INTERNAL: Any non-user error related to a technical issue in the
|
407
|
-
# backend.
|
382
|
+
# backend. Contact Cloud Channel support.
|
408
383
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
409
|
-
#
|
384
|
+
# Contact Cloud Channel support.
|
410
385
|
#
|
411
|
-
# Return
|
412
|
-
#
|
386
|
+
# Return value:
|
387
|
+
# The ID of a long-running operation.
|
413
388
|
#
|
414
389
|
# To get the results of the operation, call the GetOperation method of
|
415
390
|
# CloudChannelOperationsService. The response will contain
|
416
391
|
# google.protobuf.Empty on success. The Operation metadata will contain an
|
417
392
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
418
393
|
rpc :CancelEntitlement, ::Google::Cloud::Channel::V1::CancelEntitlementRequest, ::Google::Longrunning::Operation
|
419
|
-
# Activates a previously suspended entitlement.
|
420
|
-
#
|
421
|
-
#
|
422
|
-
# activation is a long-running operation and
|
394
|
+
# Activates a previously suspended entitlement. Entitlements suspended for
|
395
|
+
# pending ToS acceptance can't be activated using this method.
|
396
|
+
#
|
397
|
+
# An entitlement activation is a long-running operation and it updates
|
423
398
|
# the state of the customer entitlement.
|
424
399
|
#
|
425
|
-
# Possible
|
400
|
+
# Possible error codes:
|
426
401
|
#
|
427
|
-
# * PERMISSION_DENIED:
|
428
|
-
#
|
429
|
-
#
|
430
|
-
# * INVALID_ARGUMENT: Missing or invalid required parameters in the
|
431
|
-
# request.
|
402
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
403
|
+
# from the reseller account in the API request.
|
404
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
432
405
|
# * NOT_FOUND: Entitlement resource not found.
|
433
|
-
# * SUSPENSION_NOT_RESELLER_INITIATED: Can
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
#
|
439
|
-
# in the backend. In this case, contact Cloud Channel support.
|
406
|
+
# * SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated
|
407
|
+
# suspensions and entitlements that have accepted the TOS.
|
408
|
+
# * NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE
|
409
|
+
# state.
|
410
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
411
|
+
# backend. Contact Cloud Channel support.
|
440
412
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
441
|
-
#
|
413
|
+
# Contact Cloud Channel support.
|
442
414
|
#
|
443
|
-
# Return
|
444
|
-
#
|
415
|
+
# Return value:
|
416
|
+
# The ID of a long-running operation.
|
445
417
|
#
|
446
418
|
# To get the results of the operation, call the GetOperation method of
|
447
419
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
@@ -449,62 +421,58 @@ module Google
|
|
449
421
|
rpc :ActivateEntitlement, ::Google::Cloud::Channel::V1::ActivateEntitlementRequest, ::Google::Longrunning::Operation
|
450
422
|
# Transfers customer entitlements to new reseller.
|
451
423
|
#
|
452
|
-
# Possible
|
453
|
-
#
|
454
|
-
# * PERMISSION_DENIED:
|
455
|
-
# * INVALID_ARGUMENT:
|
456
|
-
# * NOT_FOUND:
|
457
|
-
#
|
458
|
-
# *
|
459
|
-
#
|
460
|
-
#
|
461
|
-
# *
|
462
|
-
#
|
463
|
-
# *
|
464
|
-
#
|
465
|
-
# * Applicable only for developer accounts: reseller and resold domain
|
466
|
-
# must follow the domain naming convention as follows:
|
424
|
+
# Possible error codes:
|
425
|
+
#
|
426
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
427
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
428
|
+
# * NOT_FOUND: The customer or offer resource was not found.
|
429
|
+
# * ALREADY_EXISTS: The SKU was already transferred for the customer.
|
430
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION:
|
431
|
+
# * The SKU requires domain verification to transfer, but the domain is
|
432
|
+
# not verified.
|
433
|
+
# * An Add-On SKU (example, Vault or Drive) is missing the
|
434
|
+
# pre-requisite SKU (example, G Suite Basic).
|
435
|
+
# * (Developer accounts only) Reseller and resold domain must meet the
|
436
|
+
# following naming requirements:
|
467
437
|
# * Domain names must start with goog-test.
|
468
|
-
# *
|
469
|
-
# *
|
470
|
-
# * INTERNAL: Any non-user error related to a technical issue in the
|
471
|
-
#
|
438
|
+
# * Domain names must include the reseller domain.
|
439
|
+
# * Specify all transferring entitlements.
|
440
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
441
|
+
# backend. Contact Cloud Channel support.
|
472
442
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
473
|
-
#
|
443
|
+
# Contact Cloud Channel support.
|
474
444
|
#
|
475
|
-
# Return
|
476
|
-
#
|
445
|
+
# Return value:
|
446
|
+
# The ID of a long-running operation.
|
477
447
|
#
|
478
448
|
# To get the results of the operation, call the GetOperation method of
|
479
449
|
# CloudChannelOperationsService. The Operation metadata will contain an
|
480
450
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
481
451
|
rpc :TransferEntitlements, ::Google::Cloud::Channel::V1::TransferEntitlementsRequest, ::Google::Longrunning::Operation
|
482
|
-
# Transfers customer entitlements from current reseller to Google.
|
483
|
-
#
|
484
|
-
# Possible
|
485
|
-
#
|
486
|
-
# * PERMISSION_DENIED:
|
487
|
-
# * INVALID_ARGUMENT:
|
488
|
-
# * NOT_FOUND:
|
489
|
-
#
|
490
|
-
# *
|
491
|
-
#
|
492
|
-
#
|
493
|
-
# *
|
494
|
-
#
|
495
|
-
# *
|
496
|
-
#
|
497
|
-
# * Applicable only for developer accounts: reseller and resold domain
|
498
|
-
# must follow the domain naming convention as follows:
|
452
|
+
# Transfers customer entitlements from their current reseller to Google.
|
453
|
+
#
|
454
|
+
# Possible error codes:
|
455
|
+
#
|
456
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
457
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
458
|
+
# * NOT_FOUND: The customer or offer resource was not found.
|
459
|
+
# * ALREADY_EXISTS: The SKU was already transferred for the customer.
|
460
|
+
# * CONDITION_NOT_MET or FAILED_PRECONDITION:
|
461
|
+
# * The SKU requires domain verification to transfer, but the domain is
|
462
|
+
# not verified.
|
463
|
+
# * An Add-On SKU (example, Vault or Drive) is missing the
|
464
|
+
# pre-requisite SKU (example, G Suite Basic).
|
465
|
+
# * (Developer accounts only) Reseller and resold domain must meet the
|
466
|
+
# following naming requirements:
|
499
467
|
# * Domain names must start with goog-test.
|
500
|
-
# *
|
501
|
-
# * INTERNAL: Any non-user error related to a technical issue in the
|
502
|
-
#
|
468
|
+
# * Domain names must include the reseller domain.
|
469
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
470
|
+
# backend. Contact Cloud Channel support.
|
503
471
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
504
|
-
#
|
472
|
+
# Contact Cloud Channel support.
|
505
473
|
#
|
506
|
-
# Return
|
507
|
-
#
|
474
|
+
# Return value:
|
475
|
+
# The ID of a long-running operation.
|
508
476
|
#
|
509
477
|
# To get the results of the operation, call the GetOperation method of
|
510
478
|
# CloudChannelOperationsService. The response will contain
|
@@ -512,187 +480,171 @@ module Google
|
|
512
480
|
# instance of [OperationMetadata][google.cloud.channel.v1.OperationMetadata].
|
513
481
|
rpc :TransferEntitlementsToGoogle, ::Google::Cloud::Channel::V1::TransferEntitlementsToGoogleRequest, ::Google::Longrunning::Operation
|
514
482
|
# List [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]s belonging to a distributor.
|
515
|
-
#
|
483
|
+
# You must be a distributor to call this method.
|
516
484
|
#
|
517
|
-
# Possible
|
485
|
+
# Possible error codes:
|
518
486
|
#
|
519
|
-
# * PERMISSION_DENIED:
|
520
|
-
# reseller account
|
521
|
-
# * INVALID_ARGUMENT:
|
522
|
-
# request.
|
487
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
488
|
+
# from the reseller account in the API request.
|
489
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
523
490
|
#
|
524
|
-
# Return
|
525
|
-
#
|
526
|
-
# for the distributor account, otherwise returns an error.
|
491
|
+
# Return value:
|
492
|
+
# The list of the distributor account's [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resources.
|
527
493
|
rpc :ListChannelPartnerLinks, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksRequest, ::Google::Cloud::Channel::V1::ListChannelPartnerLinksResponse
|
528
494
|
# Returns a requested [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
529
|
-
#
|
495
|
+
# You must be a distributor to call this method.
|
530
496
|
#
|
531
|
-
# Possible
|
497
|
+
# Possible error codes:
|
532
498
|
#
|
533
|
-
# * PERMISSION_DENIED:
|
534
|
-
# reseller account
|
535
|
-
# * INVALID_ARGUMENT:
|
536
|
-
#
|
537
|
-
#
|
538
|
-
# due invalid channel partner link name.
|
499
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
500
|
+
# from the reseller account in the API request.
|
501
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
502
|
+
# * NOT_FOUND: ChannelPartnerLink resource not found because of an
|
503
|
+
# invalid channel partner link name.
|
539
504
|
#
|
540
|
-
# Return
|
541
|
-
# [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource
|
505
|
+
# Return value:
|
506
|
+
# The [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
542
507
|
rpc :GetChannelPartnerLink, ::Google::Cloud::Channel::V1::GetChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
543
|
-
# Initiates a channel partner link between a distributor and a reseller or
|
508
|
+
# Initiates a channel partner link between a distributor and a reseller, or
|
544
509
|
# between resellers in an n-tier reseller channel.
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
# Possible
|
551
|
-
#
|
552
|
-
# * PERMISSION_DENIED:
|
553
|
-
# reseller account
|
554
|
-
# * INVALID_ARGUMENT:
|
555
|
-
# request
|
556
|
-
# * ALREADY_EXISTS: If the ChannelPartnerLink sent in the request already
|
510
|
+
# Invited partners need to follow the invite_link_uri provided in the
|
511
|
+
# response to accept. After accepting the invitation, a link is set up
|
512
|
+
# between the two parties.
|
513
|
+
# You must be a distributor to call this method.
|
514
|
+
#
|
515
|
+
# Possible error codes:
|
516
|
+
#
|
517
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
518
|
+
# from the reseller account in the API request.
|
519
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
520
|
+
# * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already
|
557
521
|
# exists.
|
558
|
-
# * NOT_FOUND:
|
522
|
+
# * NOT_FOUND: No Cloud Identity customer exists for provided domain.
|
559
523
|
# * INTERNAL: Any non-user error related to a technical issue in the
|
560
|
-
# backend.
|
561
|
-
# * UNKNOWN: Any non-user error related to a technical issue in
|
562
|
-
#
|
524
|
+
# backend. Contact Cloud Channel support.
|
525
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
526
|
+
# Contact Cloud Channel support.
|
563
527
|
#
|
564
|
-
# Return
|
565
|
-
#
|
566
|
-
# otherwise error is returned.
|
528
|
+
# Return value:
|
529
|
+
# The new [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
567
530
|
rpc :CreateChannelPartnerLink, ::Google::Cloud::Channel::V1::CreateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
568
|
-
# Updates a channel partner link.
|
569
|
-
# link's status. For example, suspend a partner link.
|
570
|
-
#
|
571
|
-
#
|
572
|
-
# Possible
|
573
|
-
#
|
574
|
-
# * PERMISSION_DENIED:
|
575
|
-
# reseller account
|
576
|
-
# * INVALID_ARGUMENT:
|
577
|
-
# *
|
578
|
-
# *
|
579
|
-
# *
|
531
|
+
# Updates a channel partner link. Distributors call this method to change a
|
532
|
+
# link's status. For example, to suspend a partner link.
|
533
|
+
# You must be a distributor to call this method.
|
534
|
+
#
|
535
|
+
# Possible error codes:
|
536
|
+
#
|
537
|
+
# * PERMISSION_DENIED: The reseller account making the request is different
|
538
|
+
# from the reseller account in the API request.
|
539
|
+
# * INVALID_ARGUMENT:
|
540
|
+
# * Required request parameters are missing or invalid.
|
541
|
+
# * Link state cannot change from invited to active or suspended.
|
542
|
+
# * Cannot send reseller_cloud_identity_id, invite_url, or name in update
|
580
543
|
# mask.
|
581
544
|
# * NOT_FOUND: ChannelPartnerLink resource not found.
|
582
|
-
# * INTERNAL: Any non-user error related to a technical issue in the
|
583
|
-
#
|
545
|
+
# * INTERNAL: Any non-user error related to a technical issue in the
|
546
|
+
# backend. Contact Cloud Channel support.
|
584
547
|
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
585
|
-
#
|
548
|
+
# Contact Cloud Channel support.
|
586
549
|
#
|
587
|
-
# Return
|
588
|
-
#
|
589
|
-
# returns an error.
|
550
|
+
# Return value:
|
551
|
+
# The updated [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink] resource.
|
590
552
|
rpc :UpdateChannelPartnerLink, ::Google::Cloud::Channel::V1::UpdateChannelPartnerLinkRequest, ::Google::Cloud::Channel::V1::ChannelPartnerLink
|
591
553
|
# Lists the Products the reseller is authorized to sell.
|
592
554
|
#
|
593
|
-
# Possible
|
555
|
+
# Possible error codes:
|
594
556
|
#
|
595
|
-
# * INVALID_ARGUMENT:
|
596
|
-
# request.
|
557
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
597
558
|
rpc :ListProducts, ::Google::Cloud::Channel::V1::ListProductsRequest, ::Google::Cloud::Channel::V1::ListProductsResponse
|
598
559
|
# Lists the SKUs for a product the reseller is authorized to sell.
|
599
560
|
#
|
600
|
-
# Possible
|
561
|
+
# Possible error codes:
|
601
562
|
#
|
602
|
-
# * INVALID_ARGUMENT:
|
603
|
-
# request.
|
563
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
604
564
|
rpc :ListSkus, ::Google::Cloud::Channel::V1::ListSkusRequest, ::Google::Cloud::Channel::V1::ListSkusResponse
|
605
565
|
# Lists the Offers the reseller can sell.
|
606
566
|
#
|
607
|
-
# Possible
|
567
|
+
# Possible error codes:
|
608
568
|
#
|
609
|
-
# * INVALID_ARGUMENT:
|
610
|
-
# request.
|
569
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
611
570
|
rpc :ListOffers, ::Google::Cloud::Channel::V1::ListOffersRequest, ::Google::Cloud::Channel::V1::ListOffersResponse
|
612
|
-
# Lists the
|
571
|
+
# Lists the following:
|
613
572
|
#
|
614
|
-
# * SKUs that can
|
615
|
-
# * SKUs that can
|
573
|
+
# * SKUs that you can purchase for a customer
|
574
|
+
# * SKUs that you can upgrade or downgrade for an entitlement.
|
616
575
|
#
|
617
|
-
# Possible
|
576
|
+
# Possible error codes:
|
618
577
|
#
|
619
|
-
# * PERMISSION_DENIED:
|
620
|
-
# * INVALID_ARGUMENT:
|
621
|
-
# request.
|
578
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller.
|
579
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
622
580
|
rpc :ListPurchasableSkus, ::Google::Cloud::Channel::V1::ListPurchasableSkusRequest, ::Google::Cloud::Channel::V1::ListPurchasableSkusResponse
|
623
|
-
# Lists the
|
581
|
+
# Lists the following:
|
624
582
|
#
|
625
|
-
# * Offers that can
|
626
|
-
# * Offers that can
|
583
|
+
# * Offers that you can purchase for a customer.
|
584
|
+
# * Offers that you can change for an entitlement.
|
627
585
|
#
|
628
|
-
# Possible
|
586
|
+
# Possible error codes:
|
629
587
|
#
|
630
|
-
# * PERMISSION_DENIED:
|
631
|
-
# * INVALID_ARGUMENT:
|
632
|
-
# request.
|
588
|
+
# * PERMISSION_DENIED: The customer doesn't belong to the reseller
|
589
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
633
590
|
rpc :ListPurchasableOffers, ::Google::Cloud::Channel::V1::ListPurchasableOffersRequest, ::Google::Cloud::Channel::V1::ListPurchasableOffersResponse
|
634
591
|
# Registers a service account with subscriber privileges on the Cloud Pub/Sub
|
635
|
-
# topic
|
636
|
-
# subscriber, you
|
592
|
+
# topic for this Channel Services account. After you create a
|
593
|
+
# subscriber, you get the events through [SubscriberEvent][google.cloud.channel.v1.SubscriberEvent]
|
637
594
|
#
|
638
|
-
# Possible
|
595
|
+
# Possible error codes:
|
639
596
|
#
|
640
|
-
# * PERMISSION_DENIED:
|
641
|
-
# reseller account
|
597
|
+
# * PERMISSION_DENIED: The reseller account making the request and the
|
598
|
+
# provided reseller account are different, or the impersonated user
|
642
599
|
# is not a super admin.
|
643
|
-
# * INVALID_ARGUMENT:
|
644
|
-
# request.
|
600
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
645
601
|
# * INTERNAL: Any non-user error related to a technical issue in the
|
646
|
-
# backend.
|
647
|
-
# * UNKNOWN: Any non-user error related to a technical issue in
|
648
|
-
#
|
602
|
+
# backend. Contact Cloud Channel support.
|
603
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
604
|
+
# Contact Cloud Channel support.
|
649
605
|
#
|
650
|
-
# Return
|
651
|
-
#
|
652
|
-
# otherwise error is returned.
|
606
|
+
# Return value:
|
607
|
+
# The topic name with the registered service email address.
|
653
608
|
rpc :RegisterSubscriber, ::Google::Cloud::Channel::V1::RegisterSubscriberRequest, ::Google::Cloud::Channel::V1::RegisterSubscriberResponse
|
654
609
|
# Unregisters a service account with subscriber privileges on the Cloud
|
655
610
|
# Pub/Sub topic created for this Channel Services account. If there are no
|
656
|
-
#
|
657
|
-
#
|
611
|
+
# service accounts left with subscriber privileges, this deletes the topic.
|
612
|
+
# You can call ListSubscribers to check for these accounts.
|
658
613
|
#
|
659
|
-
# Possible
|
614
|
+
# Possible error codes:
|
660
615
|
#
|
661
|
-
# * PERMISSION_DENIED:
|
662
|
-
# reseller account
|
616
|
+
# * PERMISSION_DENIED: The reseller account making the request and the
|
617
|
+
# provided reseller account are different, or the impersonated user
|
663
618
|
# is not a super admin.
|
664
|
-
# * INVALID_ARGUMENT:
|
665
|
-
#
|
666
|
-
# * NOT_FOUND: If the topic resource doesn't exist.
|
619
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
620
|
+
# * NOT_FOUND: The topic resource doesn't exist.
|
667
621
|
# * INTERNAL: Any non-user error related to a technical issue in the
|
668
|
-
# backend.
|
669
|
-
# * UNKNOWN: Any non-user error related to a technical issue in
|
670
|
-
#
|
671
|
-
#
|
672
|
-
# Return
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
622
|
+
# backend. Contact Cloud Channel support.
|
623
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
624
|
+
# Contact Cloud Channel support.
|
625
|
+
#
|
626
|
+
# Return value:
|
627
|
+
# The topic name that unregistered the service email address.
|
628
|
+
# Returns a success response if the service email address wasn't registered
|
629
|
+
# with the topic.
|
676
630
|
rpc :UnregisterSubscriber, ::Google::Cloud::Channel::V1::UnregisterSubscriberRequest, ::Google::Cloud::Channel::V1::UnregisterSubscriberResponse
|
677
631
|
# Lists service accounts with subscriber privileges on the Cloud Pub/Sub
|
678
632
|
# topic created for this Channel Services account.
|
679
633
|
#
|
680
|
-
# Possible
|
634
|
+
# Possible error codes:
|
681
635
|
#
|
682
|
-
# * PERMISSION_DENIED:
|
683
|
-
# reseller account
|
684
|
-
# a super admin.
|
685
|
-
# * INVALID_ARGUMENT:
|
686
|
-
#
|
687
|
-
# * NOT_FOUND: If the topic resource doesn't exist.
|
636
|
+
# * PERMISSION_DENIED: The reseller account making the request and the
|
637
|
+
# provided reseller account are different, or the impersonated user
|
638
|
+
# is not a super admin.
|
639
|
+
# * INVALID_ARGUMENT: Required request parameters are missing or invalid.
|
640
|
+
# * NOT_FOUND: The topic resource doesn't exist.
|
688
641
|
# * INTERNAL: Any non-user error related to a technical issue in the
|
689
|
-
# backend.
|
690
|
-
# * UNKNOWN: Any non-user error related to a technical issue in
|
691
|
-
#
|
642
|
+
# backend. Contact Cloud Channel support.
|
643
|
+
# * UNKNOWN: Any non-user error related to a technical issue in the backend.
|
644
|
+
# Contact Cloud Channel support.
|
692
645
|
#
|
693
|
-
# Return
|
694
|
-
#
|
695
|
-
# returned.
|
646
|
+
# Return value:
|
647
|
+
# A list of service email addresses.
|
696
648
|
rpc :ListSubscribers, ::Google::Cloud::Channel::V1::ListSubscribersRequest, ::Google::Cloud::Channel::V1::ListSubscribersResponse
|
697
649
|
end
|
698
650
|
|