@maxim_mazurok/gapi.client.cloudchannel-v1 0.0.20230729 → 0.0.20230801

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.
Files changed (4) hide show
  1. package/index.d.ts +41 -32
  2. package/package.json +1 -1
  3. package/readme.md +1 -1
  4. package/tests.ts +39 -32
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudchannel.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230729
12
+ // Revision: 20230801
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2206,8 +2206,9 @@ declare namespace gapi.client {
2206
2206
  interface CustomersResource {
2207
2207
  /**
2208
2208
  * Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
2209
- * reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return
2210
- * value: The newly created Customer resource.
2209
+ * reseller account in the API request. * PERMISSION_DENIED: You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 *
2210
+ * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer
2211
+ * resource.
2211
2212
  */
2212
2213
  create(request: {
2213
2214
  /** V1 error format. */
@@ -2377,8 +2378,9 @@ declare namespace gapi.client {
2377
2378
  /**
2378
2379
  * Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
2379
2380
  * overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
2380
- * account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
2381
- * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
2381
+ * account in the API request. * PERMISSION_DENIED: You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud
2382
+ * Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and
2383
+ * has conflicting critical fields. Requires an overwrite. Return value: The Customer.
2382
2384
  */
2383
2385
  import(request: {
2384
2386
  /** V1 error format. */
@@ -3681,15 +3683,16 @@ declare namespace gapi.client {
3681
3683
  },
3682
3684
  body: GoogleCloudChannelV1ChangeRenewalSettingsRequest): Request<GoogleLongrunningOperation>;
3683
3685
  /**
3684
- * Creates an entitlement for a customer. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: * Required request parameters are
3685
- * missing or invalid. * There is already a customer entitlement for a SKU from the same product family. * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google
3686
- * Channel support for further troubleshooting. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: * The SKU was already purchased for the customer. * The
3687
- * customer's primary email already exists. Retry after changing the customer's primary contact email. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing
3688
- * a SKU has not been verified. * A pre-requisite SKU required to purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or
3689
- * Drive. * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the
3690
- * reseller domain. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical
3691
- * issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of
3692
- * CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.
3686
+ * Creates an entitlement for a customer. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * The reseller is not authorized to transact on this
3687
+ * Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There is already a customer
3688
+ * entitlement for a SKU from the same product family. * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support for further troubleshooting. *
3689
+ * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: * The SKU was already purchased for the customer. * The customer's primary email already exists. Retry
3690
+ * after changing the customer's primary contact email. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU has not been verified. * A pre-requisite
3691
+ * SKU required to purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or Drive. * (Developer accounts only) Reseller and
3692
+ * resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * INTERNAL: Any non-user error
3693
+ * related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
3694
+ * Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will
3695
+ * contain an instance of OperationMetadata.
3693
3696
  */
3694
3697
  create(request: {
3695
3698
  /** V1 error format. */
@@ -4150,8 +4153,9 @@ declare namespace gapi.client {
4150
4153
  interface CustomersResource {
4151
4154
  /**
4152
4155
  * Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
4153
- * reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return
4154
- * value: The newly created Customer resource.
4156
+ * reseller account in the API request. * PERMISSION_DENIED: You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 *
4157
+ * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer
4158
+ * resource.
4155
4159
  */
4156
4160
  create(request: {
4157
4161
  /** V1 error format. */
@@ -4321,8 +4325,9 @@ declare namespace gapi.client {
4321
4325
  /**
4322
4326
  * Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
4323
4327
  * overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
4324
- * account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
4325
- * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
4328
+ * account in the API request. * PERMISSION_DENIED: You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud
4329
+ * Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and
4330
+ * has conflicting critical fields. Requires an overwrite. Return value: The Customer.
4326
4331
  */
4327
4332
  import(request: {
4328
4333
  /** V1 error format. */
@@ -4462,8 +4467,9 @@ declare namespace gapi.client {
4462
4467
  string;
4463
4468
  }): Request<GoogleCloudChannelV1ListCustomersResponse>;
4464
4469
  /**
4465
- * Lists the following: * Offers that you can purchase for a customer. * Offers that you can change for an entitlement. Possible error codes: * PERMISSION_DENIED: The customer doesn't
4466
- * belong to the reseller * INVALID_ARGUMENT: Required request parameters are missing or invalid.
4470
+ * Lists the following: * Offers that you can purchase for a customer. * Offers that you can change for an entitlement. Possible error codes: * PERMISSION_DENIED: * The customer
4471
+ * doesn't belong to the reseller * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT:
4472
+ * Required request parameters are missing or invalid.
4467
4473
  */
4468
4474
  listPurchasableOffers(request?: {
4469
4475
  /** V1 error format. */
@@ -4689,10 +4695,11 @@ declare namespace gapi.client {
4689
4695
  body: GoogleCloudChannelV1Customer): Request<GoogleCloudChannelV1Customer>;
4690
4696
  /**
4691
4697
  * Creates a Cloud Identity for the given customer using the customer's information, or the information provided here. Possible error codes: * PERMISSION_DENIED: The customer doesn't
4692
- * belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary
4693
- * email already exists. Retry after changing the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel
4694
- * support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the
4695
- * results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
4698
+ * belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * PERMISSION_DENIED: You are not authorized to provision cloud identity id. See
4699
+ * https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary email already exists. Retry after
4700
+ * changing the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user
4701
+ * error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the
4702
+ * GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
4696
4703
  */
4697
4704
  provisionCloudIdentity(request: {
4698
4705
  /** V1 error format. */
@@ -4821,13 +4828,14 @@ declare namespace gapi.client {
4821
4828
  string;
4822
4829
  }): Request<GoogleCloudChannelV1QueryEligibleBillingAccountsResponse>;
4823
4830
  /**
4824
- * Transfers customer entitlements to new reseller. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request
4825
- * parameters are missing or invalid. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: The SKU was already transferred for the customer. * CONDITION_NOT_MET
4826
- * or FAILED_PRECONDITION: * The SKU requires domain verification to transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) is missing the pre-requisite
4827
- * SKU (example, G Suite Basic). * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain
4828
- * names must include the reseller domain. * Specify all transferring entitlements. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel
4829
- * support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the
4830
- * results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.
4831
+ * Transfers customer entitlements to new reseller. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * The reseller is not authorized to
4832
+ * transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The
4833
+ * customer or offer resource was not found. * ALREADY_EXISTS: The SKU was already transferred for the customer. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain
4834
+ * verification to transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts
4835
+ * only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * Specify
4836
+ * all transferring entitlements. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a
4837
+ * technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of
4838
+ * CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.
4831
4839
  */
4832
4840
  transferEntitlements(request: {
4833
4841
  /** V1 error format. */
@@ -5563,7 +5571,8 @@ declare namespace gapi.client {
5563
5571
  * List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned
5564
5572
  * customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and
5565
5573
  * has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller
5566
- * account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
5574
+ * account in the query. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required
5575
+ * request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
5567
5576
  */
5568
5577
  listTransferableOffers(request: {
5569
5578
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudchannel-v1",
3
- "version": "0.0.20230729",
3
+ "version": "0.0.20230801",
4
4
  "description": "TypeScript typings for Cloud Channel API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -80,7 +80,7 @@ Lists service accounts with subscriber privileges on the Cloud Pub/Sub topic cre
80
80
  await gapi.client.cloudchannel.accounts.listSubscribers({ account: "account", });
81
81
 
82
82
  /*
83
- List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
83
+ List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the query. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
84
84
  */
85
85
  await gapi.client.cloudchannel.accounts.listTransferableOffers({ parent: "parent", });
86
86
 
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230729
6
+ // Revision: 20230801
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -57,7 +57,8 @@ gapi.load('client', async () => {
57
57
  * List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request. Use this method when a reseller gets the entitlement information of an unowned
58
58
  * customer. The reseller should provide the customer's Cloud Identity ID or Customer Name. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller and has
59
59
  * no auth token. * The customer provided incorrect reseller information when generating auth token. * The reseller account making the request is different from the reseller account in the
60
- * query. * INVALID_ARGUMENT: Required request parameters are missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
60
+ * query. * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are
61
+ * missing or invalid. Return value: List of TransferableOffer for the given customer and SKU.
61
62
  */
62
63
  await gapi.client.cloudchannel.accounts.listTransferableOffers({
63
64
  parent: "Test string",
@@ -337,8 +338,8 @@ gapi.load('client', async () => {
337
338
  });
338
339
  /**
339
340
  * Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
340
- * reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value:
341
- * The newly created Customer resource.
341
+ * reseller account in the API request. * PERMISSION_DENIED: You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT:
342
+ * * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer resource.
342
343
  */
343
344
  await gapi.client.cloudchannel.accounts.channelPartnerLinks.customers.create({
344
345
  parent: "Test string",
@@ -411,8 +412,9 @@ gapi.load('client', async () => {
411
412
  /**
412
413
  * Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
413
414
  * overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
414
- * account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
415
- * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
415
+ * account in the API request. * PERMISSION_DENIED: You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud Identity
416
+ * doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has
417
+ * conflicting critical fields. Requires an overwrite. Return value: The Customer.
416
418
  */
417
419
  await gapi.client.cloudchannel.accounts.channelPartnerLinks.customers.import({
418
420
  parent: "Test string",
@@ -495,8 +497,8 @@ gapi.load('client', async () => {
495
497
  });
496
498
  /**
497
499
  * Creates a new Customer resource under the reseller or distributor account. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the
498
- * reseller account in the API request. * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value:
499
- * The newly created Customer resource.
500
+ * reseller account in the API request. * PERMISSION_DENIED: You are not authorized to create a customer. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT:
501
+ * * Required request parameters are missing or invalid. * Domain field value doesn't match the primary email domain. Return value: The newly created Customer resource.
500
502
  */
501
503
  await gapi.client.cloudchannel.accounts.customers.create({
502
504
  parent: "Test string",
@@ -569,8 +571,9 @@ gapi.load('client', async () => {
569
571
  /**
570
572
  * Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and
571
573
  * overwrite_if_exists is true, it will update that Customer's data. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller
572
- * account in the API request. * NOT_FOUND: Cloud Identity doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. *
573
- * ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite. Return value: The Customer.
574
+ * account in the API request. * PERMISSION_DENIED: You are not authorized to import the customer. See https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud Identity
575
+ * doesn't exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid. * ALREADY_EXISTS: A customer already exists and has
576
+ * conflicting critical fields. Requires an overwrite. Return value: The Customer.
574
577
  */
575
578
  await gapi.client.cloudchannel.accounts.customers.import({
576
579
  parent: "Test string",
@@ -593,8 +596,9 @@ gapi.load('client', async () => {
593
596
  parent: "Test string",
594
597
  });
595
598
  /**
596
- * Lists the following: * Offers that you can purchase for a customer. * Offers that you can change for an entitlement. Possible error codes: * PERMISSION_DENIED: The customer doesn't
597
- * belong to the reseller * INVALID_ARGUMENT: Required request parameters are missing or invalid.
599
+ * Lists the following: * Offers that you can purchase for a customer. * Offers that you can change for an entitlement. Possible error codes: * PERMISSION_DENIED: * The customer doesn't
600
+ * belong to the reseller * The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request
601
+ * parameters are missing or invalid.
598
602
  */
599
603
  await gapi.client.cloudchannel.accounts.customers.listPurchasableOffers({
600
604
  "changeOfferPurchase.billingAccount": "Test string",
@@ -681,10 +685,11 @@ gapi.load('client', async () => {
681
685
  });
682
686
  /**
683
687
  * Creates a Cloud Identity for the given customer using the customer's information, or the information provided here. Possible error codes: * PERMISSION_DENIED: The customer doesn't
684
- * belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary email
685
- * already exists. Retry after changing the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. *
686
- * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the
687
- * operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
688
+ * belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * PERMISSION_DENIED: You are not authorized to provision cloud identity id. See
689
+ * https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: The customer was not found. * ALREADY_EXISTS: The customer's primary email already exists. Retry after changing
690
+ * the customer's primary contact email. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to
691
+ * a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of
692
+ * CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.
688
693
  */
689
694
  await gapi.client.cloudchannel.accounts.customers.provisionCloudIdentity({
690
695
  customer: "Test string",
@@ -720,13 +725,14 @@ gapi.load('client', async () => {
720
725
  skus: "Test string",
721
726
  });
722
727
  /**
723
- * Transfers customer entitlements to new reseller. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters
724
- * are missing or invalid. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: The SKU was already transferred for the customer. * CONDITION_NOT_MET or
725
- * FAILED_PRECONDITION: * The SKU requires domain verification to transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU
726
- * (example, G Suite Basic). * (Developer accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names
727
- * must include the reseller domain. * Specify all transferring entitlements. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. *
728
- * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the
729
- * operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.
728
+ * Transfers customer entitlements to new reseller. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * The reseller is not authorized to transact
729
+ * on this Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer or offer
730
+ * resource was not found. * ALREADY_EXISTS: The SKU was already transferred for the customer. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The SKU requires domain verification to
731
+ * transfer, but the domain is not verified. * An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU (example, G Suite Basic). * (Developer accounts only) Reseller and
732
+ * resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * Specify all transferring
733
+ * entitlements. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in
734
+ * the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of
735
+ * CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.
730
736
  */
731
737
  await gapi.client.cloudchannel.accounts.customers.transferEntitlements({
732
738
  parent: "Test string",
@@ -1102,15 +1108,16 @@ gapi.load('client', async () => {
1102
1108
  requestId: "Test string",
1103
1109
  });
1104
1110
  /**
1105
- * Creates an entitlement for a customer. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: * Required request parameters are
1106
- * missing or invalid. * There is already a customer entitlement for a SKU from the same product family. * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel
1107
- * support for further troubleshooting. * NOT_FOUND: The customer or offer resource was not found. * ALREADY_EXISTS: * The SKU was already purchased for the customer. * The customer's
1108
- * primary email already exists. Retry after changing the customer's primary contact email. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU has not
1109
- * been verified. * A pre-requisite SKU required to purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or Drive. * (Developer
1110
- * accounts only) Reseller and resold domain must meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. *
1111
- * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend.
1112
- * Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The
1113
- * Operation metadata will contain an instance of OperationMetadata.
1111
+ * Creates an entitlement for a customer. Possible error codes: * PERMISSION_DENIED: * The customer doesn't belong to the reseller. * The reseller is not authorized to transact on this
1112
+ * Product. See https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request parameters are missing or invalid. * There is already a customer
1113
+ * entitlement for a SKU from the same product family. * INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support for further troubleshooting. * NOT_FOUND:
1114
+ * The customer or offer resource was not found. * ALREADY_EXISTS: * The SKU was already purchased for the customer. * The customer's primary email already exists. Retry after changing the
1115
+ * customer's primary contact email. * CONDITION_NOT_MET or FAILED_PRECONDITION: * The domain required for purchasing a SKU has not been verified. * A pre-requisite SKU required to
1116
+ * purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or Drive. * (Developer accounts only) Reseller and resold domain must
1117
+ * meet the following naming requirements: * Domain names must start with goog-test. * Domain names must include the reseller domain. * INTERNAL: Any non-user error related to a technical
1118
+ * issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a
1119
+ * long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of
1120
+ * OperationMetadata.
1114
1121
  */
1115
1122
  await gapi.client.cloudchannel.accounts.customers.entitlements.create({
1116
1123
  parent: "Test string",