Skip to content

Commit 0713340

Browse files
Regenerate reseller client
1 parent c9fa9d7 commit 0713340

File tree

2 files changed

+47
-41
lines changed

2 files changed

+47
-41
lines changed

src/Reseller/Resource/Customers.php

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ class Customers extends \Google\Service\Resource
3333
* Gets a customer account. Use this operation to see a customer account already
3434
* in your reseller management, or to see the minimal account information for an
3535
* existing customer that you do not manage. For more information about the API
36-
* response for existing customers, see [retrieving a customer account](/admin-
37-
* sdk/reseller/v1/how-tos/manage_customers#get_customer). (customers.get)
36+
* response for existing customers, see [retrieving a customer
37+
* account](https://developers.google.com/workspace/admin/reseller/v1/how-
38+
* tos/manage_customers#get_customer). (customers.get)
3839
*
3940
* @param string $customerId This can be either the customer's primary domain
4041
* name or the customer's unique identifier. If the domain name for a customer
@@ -53,20 +54,23 @@ public function get($customerId, $optParams = [])
5354
}
5455
/**
5556
* Orders a new customer's account. Before ordering a new customer account,
56-
* establish whether the customer account already exists using the
57-
* [`customers.get`](/admin-sdk/reseller/v1/reference/customers/get) If the
58-
* customer account exists as a direct Google account or as a resold customer
59-
* account from another reseller, use the `customerAuthToken\` as described in
60-
* [order a resold account for an existing customer](/admin-sdk/reseller/v1/how-
57+
* establish whether the customer account already exists using the [`customers.g
58+
* et`](https://developers.google.com/workspace/admin/reseller/v1/reference/cust
59+
* omers/get) If the customer account exists as a direct Google account or as a
60+
* resold customer account from another reseller, use the `customerAuthToken\`
61+
* as described in [order a resold account for an existing
62+
* customer](https://developers.google.com/workspace/admin/reseller/v1/how-
6163
* tos/manage_customers#create_existing_customer). For more information about
62-
* ordering a new customer account, see [order a new customer account](/admin-
63-
* sdk/reseller/v1/how-tos/manage_customers#create_customer). After creating a
64-
* new customer account, you must provision a user as an administrator. The
65-
* customer's administrator is required to sign in to the Admin console and sign
66-
* the G Suite via Reseller agreement to activate the account. Resellers are
67-
* prohibited from signing the G Suite via Reseller agreement on the customer's
68-
* behalf. For more information, see [order a new customer account](/admin-
69-
* sdk/reseller/v1/how-tos/manage_customers#tos). (customers.insert)
64+
* ordering a new customer account, see [order a new customer
65+
* account](https://developers.google.com/workspace/admin/reseller/v1/how-
66+
* tos/manage_customers#create_customer). After creating a new customer account,
67+
* you must provision a user as an administrator. The customer's administrator
68+
* is required to sign in to the Admin console and sign the G Suite via Reseller
69+
* agreement to activate the account. Resellers are prohibited from signing the
70+
* G Suite via Reseller agreement on the customer's behalf. For more
71+
* information, see [order a new customer
72+
* account](https://developers.google.com/workspace/admin/reseller/v1/how-
73+
* tos/manage_customers#tos). (customers.insert)
7074
*
7175
* @param Customer $postBody
7276
* @param array $optParams Optional parameters.
@@ -113,8 +117,8 @@ public function patch($customerId, Customer $postBody, $optParams = [])
113117
* Updates a customer account's settings. You cannot update `customerType` via
114118
* the Reseller API, but a `"team"` customer can verify their domain and become
115119
* `customerType = "domain"`. For more information, see [update a customer's
116-
* settings](/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer).
117-
* (customers.update)
120+
* settings](https://developers.google.com/workspace/admin/reseller/v1/how-
121+
* tos/manage_customers#update_customer). (customers.update)
118122
*
119123
* @param string $customerId This can be either the customer's primary domain
120124
* name or the customer's unique identifier. If the domain name for a customer

src/Reseller/Resource/Subscriptions.php

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function activate($customerId, $subscriptionId, $optParams = [])
6565
* trial or a flexible plan subscription to an annual commitment plan with
6666
* monthly or yearly payments. How a plan is updated differs depending on the
6767
* plan and the products. For more information, see the description in [manage
68-
* subscriptions](/admin-sdk/reseller/v1/how-
68+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
6969
* tos/manage_subscriptions#update_subscription_plan).
7070
* (subscriptions.changePlan)
7171
*
@@ -94,7 +94,8 @@ public function changePlan($customerId, $subscriptionId, ChangePlanRequest $post
9494
/**
9595
* Updates a user license's renewal settings. This is applicable for accounts
9696
* with annual commitment plans only. For more information, see the description
97-
* in [manage subscriptions](/admin-sdk/reseller/v1/how-
97+
* in [manage
98+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
9899
* tos/manage_subscriptions#update_renewal).
99100
* (subscriptions.changeRenewalSettings)
100101
*
@@ -123,7 +124,8 @@ public function changeRenewalSettings($customerId, $subscriptionId, RenewalSetti
123124
/**
124125
* Updates a subscription's user license settings. For more information about
125126
* updating an annual commitment plan or a flexible plan subscription’s
126-
* licenses, see [Manage Subscriptions](/admin-sdk/reseller/v1/how-
127+
* licenses, see [Manage
128+
* Subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
127129
* tos/manage_subscriptions#update_subscription_seat).
128130
* (subscriptions.changeSeats)
129131
*
@@ -177,10 +179,12 @@ public function delete($customerId, $subscriptionId, $deletionType, $optParams =
177179
}
178180
/**
179181
* Gets a specific subscription. The `subscriptionId` can be found using the
180-
* [Retrieve all reseller subscriptions](/admin-sdk/reseller/v1/how-
182+
* [Retrieve all reseller
183+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
181184
* tos/manage_subscriptions#get_all_subscriptions) method. For more information
182185
* about retrieving a specific subscription, see the information descrived in
183-
* [manage subscriptions](/admin-sdk/reseller/v1/how-
186+
* [manage
187+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
184188
* tos/manage_subscriptions#get_subscription). (subscriptions.get)
185189
*
186190
* @param string $customerId This can be either the customer's primary domain
@@ -206,17 +210,20 @@ public function get($customerId, $subscriptionId, $optParams = [])
206210
}
207211
/**
208212
* Creates or transfer a subscription. Create a subscription for a customer's
209-
* account that you ordered using the [Order a new customer account](/admin-
210-
* sdk/reseller/v1/reference/customers/insert.html) method. For more information
211-
* about creating a subscription for different payment plans, see [manage
212-
* subscriptions](/admin-sdk/reseller/v1/how-
213+
* account that you ordered using the [Order a new customer account](https://dev
214+
* elopers.google.com/workspace/admin/reseller/v1/reference/customers/insert.htm
215+
* l) method. For more information about creating a subscription for different
216+
* payment plans, see [manage
217+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
213218
* tos/manage_subscriptions#create_subscription).\ If you did not order the
214219
* customer's account using the customer insert method, use the customer's
215220
* `customerAuthToken` when creating a subscription for that customer. If
216221
* transferring a G Suite subscription with an associated Google Drive or Google
217-
* Vault subscription, use the [batch operation](/admin-sdk/reseller/v1/how-
222+
* Vault subscription, use the [batch
223+
* operation](https://developers.google.com/workspace/admin/reseller/v1/how-
218224
* tos/batch.html) to transfer all of these subscriptions. For more information,
219-
* see how to [transfer subscriptions](/admin-sdk/reseller/v1/how-
225+
* see how to [transfer
226+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
220227
* tos/manage_subscriptions#transfer_a_subscription). (subscriptions.insert)
221228
*
222229
* @param string $customerId This can be either the customer's primary domain
@@ -227,23 +234,17 @@ public function get($customerId, $subscriptionId, $optParams = [])
227234
* @param Subscription $postBody
228235
* @param array $optParams Optional parameters.
229236
*
230-
* @opt_param string action The intented insert action. The usage of this field
231-
* is governed by certain policies which are being developed & tested currently.
232-
* Hence, these might not work as intended. Once this is fully tested &
233-
* available to consume, we will share more information about its usage,
234-
* limitations and policy documentation.
237+
* @opt_param string action The intented insert action. Advised to set this when
238+
* the customer already has a subscription for a different SKU in the same
239+
* product.
235240
* @opt_param string customerAuthToken The `customerAuthToken` query string is
236241
* required when creating a resold account that transfers a direct customer's
237242
* subscription or transfers another reseller customer's subscription to your
238243
* reseller management. This is a hexadecimal authentication token needed to
239244
* complete the subscription transfer. For more information, see the
240245
* administrator help center.
241246
* @opt_param string sourceSkuId The sku_id of the existing subscription to be
242-
* upgraded or downgraded. This is required when action is SWITCH. The usage of
243-
* this field is governed by certain policies which are being developed & tested
244-
* currently. Hence, these might not work as intended. Once this is fully tested
245-
* & available to consume, we will share more information about its usage,
246-
* limitations and policy documentation.
247+
* upgraded or downgraded. This is required when action is SWITCH.
247248
* @return Subscription
248249
* @throws \Google\Service\Exception
249250
*/
@@ -258,8 +259,8 @@ public function insert($customerId, Subscription $postBody, $optParams = [])
258259
* subscriptions, all of a customer's subscriptions, or all of a customer's
259260
* transferable subscriptions. Optionally, this method can filter the response
260261
* by a `customerNamePrefix`. For more information, see [manage
261-
* subscriptions](/admin-sdk/reseller/v1/how-tos/manage_subscriptions).
262-
* (subscriptions.listSubscriptions)
262+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
263+
* tos/manage_subscriptions). (subscriptions.listSubscriptions)
263264
*
264265
* @param array $optParams Optional parameters.
265266
*
@@ -299,7 +300,8 @@ public function listSubscriptions($optParams = [])
299300
* Immediately move a 30-day free trial subscription to a paid service
300301
* subscription. This method is only applicable if a payment plan has already
301302
* been set up for the 30-day trial subscription. For more information, see
302-
* [manage subscriptions](/admin-sdk/reseller/v1/how-
303+
* [manage
304+
* subscriptions](https://developers.google.com/workspace/admin/reseller/v1/how-
303305
* tos/manage_subscriptions#paid_service). (subscriptions.startPaidService)
304306
*
305307
* @param string $customerId This can be either the customer's primary domain

0 commit comments

Comments
 (0)